Beruflich Dokumente
Kultur Dokumente
Hardware Software
Circuit drawing Flow chart
Pattern drawing List
Circuit explanation Processing explanation
Parts explanation Assembly
Adjustment
Circuit explanation
for DC motor speed controller
Control voltage input circuit
This is the circuit which inputs the control voltage which was created by the turning of the motor in PIC.
The input voltage to PIC is converted by A/D converter. Changed voltage is used for the PWM function of
the CCP to control the motor drive. At the circuit this time, a small motor is used as the generator to detect
the number of rotations of the motor. The input voltage (the control voltage) to PIC is changed by the
fluctuation of the number of rotations of the motor. The other way can be used to detect the number of
rotations of the motor. It is need to change control voltage to proportional to the number of rotations of the
motor. PIC controls the drive electric current of the motor for the control voltage to become a regulation
value. When the revolution of the motor slows down, i.e. control voltage goes down, the drive electric current
of the motor is increased and number of rotations is raised. When the control voltage reaches a regulation
value, an drive electric current at the point is held. Oppositely, when the number of rotations of the motor is
high, i.e. the control voltage is high, the drive electric current of the motor is reduced and number of
rotations is lowered. When the control voltage reaches a regulation value, an drive electric current at the
point is held.
DB1 is used to make not conscious of the polarity of the motor. When never making a mistake in the
connection, to use isn't necessary. When the voltage of the motor for the speed detection is small, it is better
not to put.
D1 is used to protect PIC when the voltage of the detection motor is high. C1 is to make bypass the noise of
the detection motor. VR1 is the variable resistor to set the number of rotations of the main motor. The input
voltage of PIC becomes low when bringing VR1 close to the side 1 and
PIC increases the drive electric current of the motor. That is, the
revolution of the motor rises. The input voltage of PIC becomes high
when bringing VR1 close to the side 3 and PIC reduces the drive
electric current of the motor. That is, the revolution of the motor slows
down.
Because the output of the motor which was used this time is big, there is a gravity that the motor for the
speed detection breaks. Therefore, an electric current is suppressed by the resistor to have put in series.
LEDs are made to light up to monitor the drive situation of the motor. 3 bits of higher ranks of the control
data of PWM are used for the lighting-up of LEDs. In the condition that a motor isn't driven, all LEDs are
turned off. The number of the lighting-up is increased in the order from LED1 as the drive electric current
increases. When the motor is in the maximum drive condition, all LEDs become a lighting-up condition.
At the equipment this time, the LED of the bar type with seven LEDs is used. The circuit can control eight
LEDs. However, at the equipment this time, LED1 isn't used and seven LEDs from LED2 to LED8 are used.
An LED is lit up when RBx is H level.
Parts explanation
for DC motor speed controller
PIC16F873
In the circuit this time, PIC16F873 is used.
At the circuit this time, the control of the drive electric current of the
motor is done using the PWM function of the CCP. The voltage according
to the number of rotations of the motor is taken in to the analog-to-digital
converter and has the control of the drive electric current. This time, it is
using a motor for the speed detection. Also, LEDs for the monitor are lit
up to know the situation of the motor drive.
This transistor is used to drive MOS FET by the output of PIC. It is converting the output of PIC (0V to 5V)
into the voltage to control an FET (0V to 12V).
The voltage which is applied to the terminal of PIC is a maximum of +5V. This diode prevents the
destruction of PIC when the speed detection voltage of the motor exceeds 5V. When more than +5V voltage
be applied never from outside, it is unnecessary.
IC socket
PIC16F873 is 28 pins of the slim type. When you can not get a slim-type 28 pin socket, two sockets of 14 pins
can be used. In the circuit this time, I used two 14 pin sockets.
Resonator
Resistor
It is to be OK at 1/8 W.
These capacitors are used to bypass the high frequency noise of the input and output of the power supply.
Printed board
This is an universal printed board with 15 x 25 halls.
Connector for LEDs and variable resistor for motor speed setting
At first, I planned to use connectors to install LEDs and a variable resistor for the motor speed setting at the
lid of the case. However, because it isn't possible to house in the case, I decide to use wiring terminals.
Wiring terminal
Stud
This is the motor which drives with the circuit this time. I use RS-380PH made by MABUCHI MOTOR Inc.
in Japan. The specification of this motor is shown below.
Voltage Range: 12V Speed at Normal Load: 14,200rpm
Normal Voltage: 7.2V Current at Normal Load: 2.90A
Normal Load: 100g·cm Shaft Diameter: 2.30mm
Speed at No Load: 16,400rpm
At the circuit this time, speed detection of the main motor is done with the motor for the detection. I use RE-
280 made by MABUCHI MOTOR Inc. in Japan. The specification of this motor is shown below.
Voltage Range: 1.5V - 4.5V Speed at Normal Load: 6,850rpm
Normal Voltage: 3.0V Current at Normal Load: 750mA
Normal Load: 17.7g·cm Shaft Diameter: 2.0mm
Speed at No Load: 9,000rpm
When making turn at the speed which is the same as the main motor, it exceeds above-mentioned
specification. The generated voltage exceeds a specification but I think that there is no problem because the
electric current flows hardly. Strictly, there is a problem of the insulation because it becomes above the
specification voltage. However, I seem not to be in the hinderance because it is not high voltage.
Gear
These gears are used for the connection between the main motor and the motor for the speed detection. This
time, because it is for the operation confirmation of the speed control of the motor, the main motor is turning
only a motor for the speed detection.
This is the LED for the bar graph displaying which seven LEDs were incorporated into. The control circuit
can control eight LEDs. Because the indicator with eight LEDs could not be gotten, I decided to use the
indicator which had seven LEDs. However, when using as the level meter, the needed LED is seven.
AC adapter
At first, I planned to share the power of the main motor. However, the power of
the motor separated from the control unit because it depended on the kind of
the motor. This adapter is for the control unit.
Case
I used the case which is made from metal for MOS-FET for the motor drive. In case of the motor which
drives this time, the consumption electric power in MOS-FET for the drive is little. So, I think that it is OK
even if it puts or it doesn't put a small heat sink depending on the size of the drive electric current.
I used TC-4 which is made by the TEISHIN electronics Inc. in Japan. It is made from aluminum with 75mm
width, 95mm depth, 20mm height.
Back panel
I made a panel to display the name of the power connector and the motor connection terminal. I printed a
panel to the OHP sheet. Then, I put white paper behind the OHP sheet for the character to be able to be well
seen.
Name plate
This is the leg to put to the case which was made of rubber. This leg is the attachment of the case.
Terminal cover
I put a terminal cover to the drain terminal (center) of the FET. It is to prevent from touch with the terminal
next.
The holes are made which install a motor connection terminal, a variable resistor for the motor speed setting
and a power suupply connector on the side of the case. Also, the holes are opened which installs control unit
and an FET at the bottom. These holes are made while the size of the parts are measured.
The confirmation is needed that the variable resistor and the power suupply connector don't touch to the
control unit.
Installation and wiring for variable resistor and power suupply connector
The back panel is installed with these parts. I removed the stopper of the variable resistor used the needle
plier. A knob is installed so as not touch with the screw part of the variable resistor. When the axis of
variable resistor is long, it makes short.
Because the wiring part of these parts is narrow too, wiring to the terminals are done before installing
control unit.
Wiring with the LED bar to have put to the lid is done. Because there are many numbers of the wires, it pays
attention so as not to make a mistake. I wired in order of 8 7 6 5 4 3 2 GL. As for the length
of the wiring, it considers a situation which opened a lid. To prevent the touch of the wiring with the FET
when closing a lid, wiring is put under the control unit.
Installation of rubber legs
The equipment is complete when installing rubber legs at the bottom.