D139 of 14
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

D13 · Lesson 9 · Motor controller

The DC motor as two coupled first-order systems, electrical and mechanical, the back-EMF and torque constant that link them, steady speed and current under load, stall current, the two time constants and the poles they become, and a simulation to check them against

To control a motor's speed you need to know how it responds, and a brushed DC motor is one of the most predictable machines there is. Its winding is a resistor and an inductor in series with a back-EMF proportional to speed; its rotor is an inertia turned by a torque proportional to current. Two equations, five constants from the datasheet, and you can predict the current surge at start-up, the top speed, how far it slows under load and how fast it gets there.

  • A motor (1 Ω, 0.05 V·s/rad, friction 10⁻⁵ N·m·s/rad) switched onto V volts from rest, with rotor inertia J (in units of 10⁻⁵ kg·m²) and winding inductance L.
  • The current leaps toward the stall current V/R, then falls as the rotor speeds up and its back-EMF opposes the supply. Speed settles at about 4570 rpm for 24 V.
  • Lower J or raise L and the two parts start to interact: the current's peak drops, and with very little inertia the speed overshoots and rings.

Predict

A motor with 1 Ω of winding resistance is switched onto 24 V from rest. What current flows at the instant it starts turning?

Name it

The equations

Ldidt=v−Ri−Kω,Jdωdt=Ki−Bω−TL

The same constant K is the back-EMF constant (V·s/rad) and the torque constant (N·m/A), since the motor converts power without loss between Ki torque at speed ω and back-EMF Kω times current i.

Steady state

Setting both derivatives to zero:

ω=KV−RTLK2+RB,i=Bω+TLK

so speed falls in a straight line with load, by R/K2 rad/s per N·m when friction is small. The stall current is V/R and the stall torque KV/R.

Dynamics

The mechanical time constant τm=JR/(K2+RB) sets how fast speed responds; the electrical one, τe=L/R, how fast current responds. When τe≪τm they act separately; here (1 ms against 8 ms) they interact, and the poles are the eigenvalues of

A=(−R/L−K/LK/J−B/J)

−853 and −147 s⁻¹ for the motor above. Small inertia or large inductance can make the poles complex, and the speed then overshoots. Lesson 10 controls the current fast enough to hide the electrical dynamics, then controls speed around it.

Worked example

What are the motor's no-load speed and current at 24 V, and how far does 0.05 N·m of load slow it?

Show the solution
  1. No-load speed. ω=24×0.050.0025+10−5=478.1rad/s=4565rpm
  2. No-load current. I=BωK=0.096A
  3. Speed with 0.05 N·m. ω=1.2−0.050.00251=458.2rad/s
  4. The drop. It's 19.9 rad/s, close to RTLK2=20rad/s
  5. Loaded current. The current rises to 1.09 A.

Answer 478.1 rad/s (4565 rpm) at 0.096 A with no load; 0.05 N·m slows it by 19.9 rad/s to 458.2 rad/s, at 1.09 A.

Worked example

What are its time constants and poles?

Show the solution
  1. Electrical time constant. τe=1mH1Ω=1ms
  2. Mechanical time constant. τm=2×10−50.00251s=7.97ms
  3. Poles. The characteristic polynomial is s2+1000.5s+125,500 with roots −853.4 and −147.1 s⁻¹.
  4. Compare with the mechanical time constant. The slow pole is near 1/τm = 125 s⁻¹ but not equal to it, since the inductance delays the torque.

Answer τe = 1 ms and τm = 7.97 ms, with poles at −853.4 and −147.1 s⁻¹.

Check

Model the motor: its equations, steady state, poles and a simulated start.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

A motor with 1 Ω of resistance, friction 10⁻⁵ N·m·s/rad and K = 0.02 V·s/rad runs unloaded from 24 V. What's its steady speed?

Check

A motor with resistance 1 Ω and K = 0.02 V·s/rad takes on a load of 0.1 N·m. Ignoring friction, how much does its speed drop?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

Check

Ignoring friction, what's the mechanical time constant of a motor with inertia 2 × 10⁻⁵ kg·m², resistance 0.5 Ω and K = 0.1?

Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.

Check

A DC motor has R = 0.5 Ω, L = 0.5 mH and k = 0.05 V·s/rad (or N·m/A), on 24 V.

(a)

What is its electrical time constant?

Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.

(b)

What is its stall torque?

Check

A motor with rotor and load inertia 5 × 10⁻⁶ kg·m², resistance 0.5 Ω and constant 0.05 N·m/A has what mechanical time constant, JR/k2?

Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.

Explain why

Why does a DC motor draw so much more current when starting or stalled than when running freely?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.