Sub topic 1
How a Brushed DC Motor Responds to Voltage and Load
Prerequisites
This chapter assumes you can do the following:
- Use Ohm's law (V = I × R) and compute electrical power (P = V × I).
- Read a simple wiring diagram.
- Write basic Arduino code with
pinMode,digitalWrite, andanalogWrite.
You do not need to know how an H-bridge works yet. The next chapters cover it. This chapter builds the motor model that explains why drivers must be chosen and powered the way they are.
What a brushed DC motor is
A brushed DC motor has a rotor (the spinning part) with wire coils, and a stator (the fixed part) with permanent magnets. Carbon brushes slide against a segmented ring called the commutator. As the rotor turns, the commutator switches current from one coil to the next, so the magnetic force keeps pushing the rotor in the same direction.
For driver design, you can ignore most of this mechanism. Electrically, the motor behaves like three things in series:
- A winding resistance, R, usually between a fraction of an ohm and a few ohms for small hobby motors.
- A winding inductance, L, usually hundreds of microhenries to a few millihenries.
- A voltage source that opposes the supply, called back-EMF.
Voltage sets speed
When you apply a voltage, current flows through the windings and produces torque. The rotor accelerates. As it spins, the windings cut through the magnetic field and generate a voltage of their own. This is the back-EMF (E). Its polarity opposes the supply.
Back-EMF is proportional to speed:
E = Ke × ω
Here ω is the angular speed and Ke is the motor's back-EMF constant, set by its construction.
The current that actually flows depends on the difference between the supply and the back-EMF:
I = (V − E) / R
This equation explains most motor behavior:
- At standstill, E is zero, so the current is at its maximum, V / R.
- As the motor speeds up, E rises and the current falls.
- The motor stops accelerating when its torque matches the load torque.
With no load, the motor spins until E is only slightly below V. The remaining small difference drives just enough current to overcome friction. So the no-load speed is roughly proportional to the applied voltage. Doubling the voltage roughly doubles the speed.
Current sets torque
Torque is proportional to current:
T = Kt × I
Kt is the torque constant. In SI units (V·s/rad and N·m/A), Kt and Ke have the same numeric value. You can use either one to estimate the other.
This gives you two rules of thumb for a brushed motor:
- Voltage controls speed.
- Current controls torque.
When a load increases, the rotor slows slightly. Back-EMF drops, so more current flows, so torque rises until it balances the load again. The motor regulates itself this way. A heavier load means a lower speed and a higher current at the same supply voltage.
The speed-torque relationship
For a fixed supply voltage, speed falls in a straight line as load torque rises. Two points define the line:
- No-load speed: high speed, almost zero current (only the no-load current).
- Stall torque: zero speed, maximum torque, maximum current.
| Operating point | Speed | Current | Torque | Back-EMF |
|---|---|---|---|---|
| Free running (no load) | Maximum | Minimum | Near zero | Close to V |
| Normal loaded | Reduced | Moderate | Matches load | Below V |
| Stall | Zero | V / R (maximum) | Maximum | Zero |
Mechanical output power is torque times speed. It is zero at both extremes and highest near the middle of the line. Efficiency peaks at a different point, usually at fairly high speed and light load. Datasheets often list a "rated" point that balances these.
Stall current
Stall happens when the load holds the shaft still. It also happens for a moment at every start. The current is then limited only by the winding resistance:
I_stall = V / R
Suppose a 12 V motor has a winding resistance of 2 Ω. Its stall current is 12 V / 2 Ω = 6 A. That may be ten or more times its running current. Datasheets list this value as "stall current."
Stall is the most important number for choosing and protecting a driver, for three reasons:
- The driver and the power supply must survive this current, at least briefly.
- The winding dissipates I² × R as heat. In this example, 6 A through 2 Ω is 72 W, which is far more than a small motor can shed. A stalled motor can burn out in seconds to minutes.
- A weak supply may sag under this current. Then the voltage dips and can reset the Arduino, which a later chapter covers.
You can measure R with a multimeter, but the result is only approximate. The brushes make contact at different points as you turn the shaft by hand, so read it at several rotor positions and take the average. Use the datasheet's stall current when it is available.
Starting current and acceleration
At start, back-EMF is zero. The motor draws close to its stall current until it speeds up. The inductance slows the rise of current, but only over a few milliseconds. For a small motor, the start-up surge lasts from tens of milliseconds to a fraction of a second, depending on the rotor and load inertia.
Heavy loads, such as a wheel on a heavy robot, produce longer surges. A driver rated only for the running current can fail during this surge. That is why the specification for current should always include the starting and stall values, not only the running current.
Reversing: back-EMF as a generator
A motor is also a generator. If something spins the shaft, the motor produces a voltage. This matters when you reverse direction or cut power:
- If you cut the supply, the spinning motor still generates E. The rotor coasts to a stop slowly.
- If you reverse the supply while the rotor is still spinning forward, the supply voltage and back-EMF now point the same way. The current becomes (V + E) / R. At full speed, E is close to V, so the current can reach about twice the stall current.
This is the electrical reason to slow down before changing direction. A later chapter covers safe reversal and ramping in code.
Back-EMF also matters for regenerative situations. If a load pushes the motor faster than the supply would (for example, a robot rolling downhill), E exceeds V and current flows back into the supply. A battery can accept this charge. A simple power supply often cannot, and its output voltage may rise.
Effects of the load that you must plan for
Three loads change how the motor draws current:
- Friction: Static friction (stiction) is higher than moving friction. A motor that does not start at low PWM may run once it is turning. Several chapters later this appears as stuttering at low speed.
- Inertia: A heavy rotor or wheel takes time to speed up, so the surge lasts longer.
- Gears: A gearbox trades speed for torque. The motor turns faster than the output shaft and sees a smaller torque. The stall current is the same, but the output stall torque is multiplied by the gear ratio, so a geared motor can break parts when it stalls.
Worked example
A hobby motor has these datasheet values: rated 6 V, winding resistance 3 Ω, no-load current 0.1 A, no-load speed 9000 rpm.
- Stall current at 6 V: 6 V / 3 Ω = 2 A.
- Back-EMF at no load: The motor draws 0.1 A. The voltage lost across the resistance is 0.1 A × 3 Ω = 0.3 V. So E = 6 V − 0.3 V = 5.7 V.
- Back-EMF constant: 9000 rpm is about 942 rad/s. Ke = 5.7 V / 942 rad/s ≈ 0.0061 V·s/rad. Kt has the same value in SI units.
- Stall torque: T = 0.0061 N·m/A × 2 A ≈ 0.012 N·m, or about 12 mN·m.
- Running at half speed: E ≈ 2.85 V, so I ≈ (6 − 2.85) / 3 ≈ 1.05 A at that speed.
- Reversal at full speed: I ≈ (6 + 5.7) / 3 = 3.9 A, almost twice the stall current.
The numbers are approximate because the no-load current includes friction losses that the simple model does not capture. They are good enough to pick a driver rating and a supply.
You can compute the same values in code on any board or computer. This sketch runs on an Arduino and prints the numbers to the serial monitor:
const float V = 6.0; // supply voltage in volts
const float R = 3.0; // winding resistance in ohms
const float I_NOLOAD = 0.1; // no-load current in amps
const float RPM_NOLOAD = 9000.0;
void setup() {
Serial.begin(9600);
float omega = RPM_NOLOAD * 2.0 * PI / 60.0; // rad/s
float eNoLoad = V - I_NOLOAD * R; // back-EMF at no load
float ke = eNoLoad / omega; // V*s/rad (equals Kt in SI)
float iStall = V / R;
float tStall = ke * iStall; // N*m
float iReverse = (V + eNoLoad) / R;
Serial.print("Stall current (A): ");
Serial.println(iStall);
Serial.print("Ke = Kt (V*s/rad): ");
Serial.println(ke, 5);
Serial.print("Stall torque (mN*m): ");
Serial.println(tStall * 1000.0);
Serial.print("Reversal peak current (A): ");
Serial.println(iReverse);
}
void loop() {
}Common mistakes
- Sizing a driver from the running current. The stall and start currents are the real limit.
- Trusting a multimeter resistance reading from a single rotor position. Measure at several positions.
- Assuming speed depends on load only. At a fixed voltage, speed depends on both voltage and load.
- Reversing at full speed. The peak current nearly doubles, and the mechanical shock can damage gears.
- Forgetting that a stalled motor heats quickly. A motor held at stall for a few seconds can get hot enough to damage the windings or melt plastic parts.
What comes next
The motor needs a way to receive current in either direction from a microcontroller that can only output a few milliamps. The next chapter introduces the H-bridge, which does this with four switches.
Exercise
A 12 V brushed motor has a winding resistance of 4 Ω. (a) What is its stall current? (b) What is the approximate peak current if you reverse the supply while the motor is spinning at a speed where its back-EMF is 10 V? (c) Which of these two currents should you use to compare against a driver's peak current rating?
Show answer
(a) I_stall = 12 V / 4 Ω = 3 A. (b) After reversal the supply and back-EMF add: I = (12 V + 10 V) / 4 Ω = 5.5 A. (c) Use the larger one, 5.5 A, and add margin. A driver rated for only 3 A could fail during the reversal. Slowing down before reversing keeps the peak close to the stall value.
Exercise
At a fixed supply voltage, a motor's load increases and the shaft slows down. Explain what happens to the back-EMF, the current, and the torque, and why the motor settles at a new speed.
Show answer
The slower rotor produces less back-EMF. Since I = (V − E) / R, the lower E increases the current. Torque is proportional to current, so torque rises. The speed stops falling when the motor torque equals the new load torque. That is the new steady state, with lower speed and higher current.