DC motor
A DC motor turns direct current into rotation: current through coils between magnets makes a force that spins the shaft, and a commutator keeps reversing the current so the turn never stops. Spinning, it also makes a back-EMF that limits its current, so a motor draws the most current when it is stalled.
I = (V − E) ÷ R
where V is the supply, E the back-EMF, which rises with speed, and R the resistance of the winding.
Its speed follows the voltage, its direction the polarity, and it draws the most current when stalled, with no back-EMF at all.
What is a DC motor?
A DC motor is an electric motor that turns direct current into rotation, using the force between a current-carrying coil and a magnetic field.
Small brushed motors like the lab’s spin fans, toys, pumps and car windows. In Figure 1, raise the supply and it speeds up; swap its leads and it turns the other way.
3 V: the motor runs free at about 100% of its 3 V speed, turning forward.
How does a DC motor work?
A DC motor works by passing current through coils on its rotor, between permanent magnets: each coil feels a sideways force that turns the rotor, and every half-turn the commutator reverses the current so the push keeps going.
The commutator is a split ring on the shaft, fed by two carbon or metal brushes, which is why these are called brushed motors. The brushes wear, and they spark slightly, which makes electrical noise.
Why does a DC motor draw more current under load?
A DC motor draws more current under load because the load slows it, and a slower motor makes less back-EMF, the voltage its spinning coils generate against the supply, leaving more voltage to drive current.
Running free, the back-EMF nearly matches the supply and little current flows; stalled, there is none, and the current jumps to V ÷ R. That stall current is what the switch, the wiring and any transistor driving it must handle.
No load: spinning fast, the motor makes 2.7 V of back-EMF, leaving 0.3 V ÷ 2 Ω = 150 mA to flow.
How do you control a DC motor’s speed?
To control a DC motor’s speed, change its voltage or, more efficiently, switch a full supply on and off with PWM, so the share of time it is on sets the average: 50% of 12 V averages 6 V.
A transistor or MOSFET switches the motor thousands of times a second, and the motor’s inertia smooths the pulses. A diode across the motor catches the spike each time it switches off.
50% duty: the supply is fully on 50% of each cycle, so the motor sees an average of 3 V × 50% = 1.5 V, and runs at about 44% of full speed.
How do you reverse a DC motor?
To reverse a DC motor, reverse the voltage across it: swap its two leads by hand, or let a motor driver’s H-bridge connect it either way round from a microcontroller’s pins.
Motor drivers explains the H-bridge and compares the L298N, L293D and TB6612FNG.
What is the difference between brushed and brushless DC motors?
A brushed motor switches its coils mechanically, with brushes and a commutator; a brushless motor switches them electronically, so nothing rubs.
Brushless motors are more efficient, quieter and longer-lived, but need a controller to time the switching. They run drones, computer fans and electric vehicles; brushed motors remain cheap and simple to drive. Servo and stepper motors add control of position.
How do you work out a DC motor’s current and speed?
To work out a DC motor’s current, divide the supply by its winding resistance for the stall current, and with PWM, multiply the supply by the duty for its average voltage.
Example 1: find a motor’s stall current
A meter reads 2 Ω across a motor’s terminals, and it runs from 6 V. What is the most current it can draw?
- Given
- a 6 V supply and a motor whose winding measures 2 Ω
- Find
- the stall current, the most it can draw
- Solution
- Stalled, the motor makes no back-EMF, so only its winding limits the currentI = V ÷ R = 6 V ÷ 2 Ω = 3 A, and it heats at 6 V × 3 A = 18 W
- Answer
- Up to 3 A: the switch, transistor and wiring must all handle it
Example 2: work out a PWM average
A microcontroller switches a 12 V motor supply at 25% duty. What average voltage does the motor see?
- Given
- a 12 V supply switched at 25% duty
- Find
- the average voltage the motor sees
- Solution
- Vavg = V × duty = 12 V × 25% = 3 V
- Answer
- About 3 V, so roughly 25% of its full-voltage speed, less a little for friction
Summary
Key equations
- I = (V − E) ÷ R the current, with back-EMF E
- Istall = V ÷ R the most it draws
- Vavg = V × duty PWM
Key terms
- Commutator
- The rotary switch that flips the coil’s current.
- Back-EMF
- The voltage a spinning motor makes against its supply.
- Stall current
- The current when it can’t turn.
- PWM
- Fast on-off switching that sets an average.
Practice problems
-
How do you make a DC motor spin the other way?
Reversing the polarity reverses the current in the coils, and so the force and the direction.
-
When does a DC motor draw the most current?
Not turning, it makes no back-EMF, so only the winding’s resistance limits the current.
-
A motor’s winding measures 4 Ω. What is its stall current on 12 V?
I = V ÷ R = 12 V ÷ 4 Ω = 3 A.
-
A 12 V motor supply is switched at 50% duty. What average voltage does the motor see?
V_avg = 12 V × 50% = 6 V.
-
What makes a spinning motor’s current fall as it speeds up?
Spinning, its coils cut the magnetic field and make a voltage against the supply, leaving less to drive current.
FAQ
How does a DC motor work in simple terms?
Current through coils between magnets makes a force that turns the shaft, and a commutator keeps flipping the current so it keeps turning the same way.
Does a DC motor have polarity?
It works either way round, but the direction depends on it: swap the leads and a brushed DC motor turns the other way.
Why does a DC motor need a diode?
Its coil makes a voltage spike when the current is switched off. A flyback diode across it gives that current a safe path, protecting the transistor or switch.
Can you run a DC motor directly from an Arduino pin?
No. A pin supplies only about 20 to 40 mA, far below a motor’s running and stall current; drive it through a transistor, MOSFET or motor driver.
What is back-EMF?
The voltage a spinning motor generates against its supply. It rises with speed, which is why a motor draws little current running free and a lot when stalled.
What is a 130 motor?
A common small brushed DC motor size, about 20 mm across, run from about 3 V in toys and kits. The lab’s motor is one.
What is the difference between a DC motor and a stepper motor?
A DC motor spins freely while powered; a stepper moves in fixed steps as its coils are switched in sequence, so it can hold a position without feedback.