Sub topic 1
How a Brushed DC Motor Responds to Voltage and Load
Prerequisites
This chapter assumes you know Ohm's law (V = I × R), can read a simple wiring diagram, and understand that a transistor can act as an electronic switch.
How a brushed DC motor responds to voltage and load
A brushed DC motor is a motor whose coil receives current through brushes that contact a spinning commutator. Its speed rises roughly with supply voltage. As the shaft turns, the coil generates a back-EMF, a voltage that opposes the supply. Speed settles where the supply voltage minus back-EMF produces the current the load requires.
Under load, the motor draws more current and produces more torque. At stall, the shaft cannot turn, so back-EMF drops to zero and current reaches its maximum, called stall current. Stall current can be several times the running current. A driver must be rated for it.
The H-bridge: four switches around a motor
An H-bridge is a circuit of four switches arranged in an H shape. The motor sits across the middle bar. Each side has a high-side switch connected to the motor supply and a low-side switch connected to ground.
Reversing the motor by choosing which switches close
Current must flow through the motor in one direction or the other. Closing A and D sends current from terminal 1 to terminal 2, so the motor turns forward. Closing B and C sends current the other way, so the motor turns in reverse. Opening all four switches lets the motor coast.
Shoot-through: the one switch combination to avoid
Closing A and C together connects the supply directly to ground through two switches. The motor is bypassed, so resistance is very low and current can reach many amps within milliseconds. This is called shoot-through, and it destroys switches. Driver ICs prevent it with dead time, a short pause between turning one switch off and the other on. Your code must never command both switches of one leg at once.
::: callout warning Never close switches on the same leg together. Shoot-through can burn out a driver in less than a second. :::
Inductive kickback and flyback paths
A motor coil stores energy in its magnetic field. When the driver cuts the current, the coil pushes current forward and creates a voltage spike that can exceed the supply voltage. Flyback diodes, often built into the driver, give this current a safe path back to the supply. Without them, the spike can damage switches.
Q: Which two switches close to drive the motor forward? A: Switch A and switch D.