Explore motor drivers that control motor operation, including their types, control methods, and applications in automation.
A microcontroller provides signals of a few milliamperes, while a motor requires hundreds or thousands. The motor driver is the intermediate circuit: it translates low-power control signals into power signals capable of driving the motor windings, and allows control of speed, direction, and torque [1][2][3][4].
For a brushed DC motor, the most used circuit is the H-bridge: four switches (bipolar transistors or MOSFETs) arranged to form the letter H, with the motor on the central bar. The two diagonal pairs of switches are closed to reverse the current direction:
- Top-left and bottom-right closed: current flows through the motor in one direction and the motor runs forward.
- Top-right and bottom-left closed: the current direction reverses and the motor runs backward.
- Both bottom switches closed (or both top): the motor terminals are shorted and the motor brakes, because the back electromotive force generates a current opposing the motion.
- All open: the motor is freewheeling (neutral).
The two switches in the same column, top and bottom, must never be closed simultaneously: they would connect the power supply to ground (shoot-through) and destroy the transistors [1][3][4].
The speed of a DC motor is roughly proportional to the average applied voltage. Instead of reducing the voltage with a linear regulator, which would dissipate power, the switches are switched in PWM at a fixed frequency (typically from $1$ to $30\ \mathrm{kHz}$, above the audible threshold to avoid whistling): the average voltage is $V_{med} = D\,V_{alim}$, with $D$ the duty cycle. The inductance of the windings smooths current oscillations. Current is proportional to torque, and a control loop with current measurement (shunt resistor) allows limiting it [1][2][4].
Motors are inductive loads: when a switch turns off, the magnetic energy of the inductance produces an overvoltage. Flyback diodes are used in parallel with each switch, or the internal diode of MOSFETs, to allow current circulation. Other protections include current limiting, dead time control between turning off one switch and turning on the other in the same column, thermal protection, lockout in case of too low supply voltage, and protection against supply overvoltages (regenerative braking) [1][2][3].
- With bipolar transistors or traditional integrated circuits: simple, but with saturation drops of one or two volts that produce a lot of heat.
- With MOSFETs: drops of $R_{DS(on)}$ of a few milliohms; for high-side N-channel MOSFETs a gate voltage higher than the supply is required, obtained with a bootstrap circuit or a charge pump.
- Integrated drivers that include bridge, control logic, protections, and digital interface; half-bridge modules are combined in pairs to obtain an H-bridge.
- Drivers for stepper and brushless motors: use multiple half-bridges (two H-bridges for a bipolar stepper, three half-bridges for a three-phase brushless) with switching sequences synchronized to the rotor position [2][3].
In the ideal model, switches are perfect. Real switches have on-resistance and switching times that cause losses and limit the PWM frequency. At startup or with the rotor locked, the current is much higher than at steady state because the back electromotive force is zero ($I_{avv} = V/R_a$): the driver must be rated for this current, or the current must be limited. Regenerative braking can feed energy back to the power supply and raise its voltage.
A DC motor at $12\ \mathrm{V}$ with armature resistance $R_a = 4\ \Omega$ and inductance $L_a = 2\ \mathrm{mH}$, driven by an H-bridge with MOSFETs with $R_{DS(on)} = 20\ \mathrm{m\Omega}$ at $20\ \mathrm{kHz}$ (assumed values).
1. Starting current with rotor locked: $12/4 = 3\ \mathrm{A}$ (neglecting transistor resistance).
2. With $D = 50\ \%$, average voltage of $6\ \mathrm{V}$ and approximately halved speed.
3. Current oscillation in the inductance: $\Delta I = V\,D\,(1 - D)/(L_a f) = 12\cdot0.25/(2\cdot10^{-3}\cdot2\cdot10^{4}) = 0.075\ \mathrm{A}$, small compared to the average current.
4. At $2\ \mathrm{A}$ load current, the back electromotive force is $12 - 2\cdot4 = 4\ \mathrm{V}$ (at full voltage).
5. Conduction loss in the two MOSFETs carrying current: $2\cdot2^{2}\cdot0.02 = 0.16\ \mathrm{W}$; with bipolar transistors with overall drops of about $2.8\ \mathrm{V}$ the loss would be $2.8\cdot2 = 5.6\ \mathrm{W}$, requiring a heatsink.
Motor drivers are used in robots and radio-controlled vehicles, printers and CNC machines, drones and household appliances, automobiles (power windows, windshield wipers, power steering), and industrial drives.
[1] Wikipedia (it): Ponte H
[2] Wikipedia (en): Motor controller
[3] Wikipedia (en): H-bridge
[4] Wikipedia (fr): Pont en H
Generating summary…