Simple DC motor PWM speed control
- Jonathan Filippi
- jonathan.filippi@virgilio.it
- 25.916 Views
- easy
- Non tested
The 555 is ubiquitous and can be used as simple PWM speed control
Description
The 555 Ic is wired as an astable and the frequency is constant and independent of the duty cycle, as the total resistance (R charge + R discharge, notice the diode) is constant and equal to 22Kohm (giving a frequency of about 1Khz, notice the hum).
When the potentiometer is all up, the Rcharge resistance is 1,0 Kohm (the diode prevents the capacitor to charge through the second potentiometer section and the other 1,0 Kohm resistor), and Rdischarge is 21 Kohm, giving a 5% on duty cycle and a 1Khz frequency.
When the potentiometer is all down, the Rcharge resistance is 21,0 Kohm (the diode prevents the capacitor to charge through the second potentiometer section and the other 1,0 Kohm resistor), and Rdischarge is 1 Kohm, giving a 95% on duty cycle and a 1Khz frequency.
When the potentiometer is at 50% , the Rcharge resistance is 11,0 Kohm (the diode prevents the capacitor to charge through the second potentiometer section and the other 1,0 Kohm resistor), and Rdischarge is 11 Kohm, giving a 50% on duty cycle and a 1Khz frequency.
The 555 provides a good current capability to drive the MOSFET fast and to drive a bipolar transistor.
I actually use this system to drive the DC motor of my small Rotary spark gap Tesla coil at variable speed
If you are disgusted by the 1Khz hum of the motor try to rise the frequency out of the audible range (replacing the potentiometer), but remember that at higher frequency inductive reactance of motor rises so the efficiency would drop.
Important
Obviously the MOSFET (or bipolar) must have enough current capability to drive the motor, so the drain (or collector) current must be equal to maximum motor current (at power supply voltage, when it is blocked). The snubber diode too, because it shorts the motor on the off cycle. Both MOSFET (or bipolar) and diode have to be hooked (if you don’t want them cooked ;-)) to a heatsink
if the max motor current is more than 100 or 200mA. I suggest to not stress too much the motor with too much work because it overheats both motor, transistor and diode.
If you don’t want braking in the off-cycle just place a resistor in series with the snubber diode, it should raise a bit efficiency but have more inertia when slowing the motor down. The value of the resistor must be R=V(breakdown transistor) / Imax, and the power should be 5W. Mosfets have internal Zener diode, but don’t count on it 😉
Use of a Schottky diode will GREATLY reduce the heating of the diode, given sufficient voltage and amperage rating. (try a 1N5819 diode)
Use of a TO-220 style Schottky diode, will provide a heat sink tab
Note: the heat sink tabs need electrical isolation (from each other), if connected to a common heat sink.
Instead of a diode, you can use a second, MOSFET (same as the driver MOSFET) as the “snubber” (a.k.a. “freewheel”) diode, by connecting Gate to Source, Source = Anode, Drain = Cathode. This will effectively ONLY use the parasitic/body diode of the MOSFET and providing a heat sink tab, just like the driver MOSFET. The body diode has a low barrier potential (e.g. that of a Schottky diode).
Note: the freewheel diode allows motor current to continue flowing in the same direction, as when the driver MOSFET is ON. This allows for much smoother and more linear speed control over 0% to 100% speed. (the DC motor is also a generator – you want that during MOSFET OFF time, else you get a “high-voltage” inductive spike and crappy operation. The name “freewheel diode” is better describes its purpose in the circuit, than “snubber”.