S12 · Lesson 36 · DC and PM motor lab
Speed–torque characteristics of shunt and series DC motors, a PM motor's efficiency curve and its peak, the electrical and mechanical step response by simulation, and the torque ripple of six-step brushless commutation
DC and permanent-magnet motors are the easiest machines to model, which makes them the best place to see a machine's equations turn into behavior: a series motor's torque soaring as it slows, an efficiency curve with a sharp peak at a fraction of stall current, a speed that responds to a voltage step with the mechanical time constant, and a brushless motor whose torque ripples by 14% if its back-EMF is sinusoidal but its drive is six-step. You'll compute each and check it against lessons 31 to 33.
- The curve is a PM motor's efficiency against its current, for the 24 V motor of lesson 32 (R = 0.5 Ω, no-load current on the slider): .
- Efficiency peaks at , a small fraction of the 48 A stall current.
- Lower friction (smaller ) raises the peak and moves it to lower current.
Predict
A 24 V PM motor with 0.5 Ω of resistance draws 0.4 A at no load. At what current is it most efficient?
Efficiency peaks where the copper loss, growing as , balances the fixed friction loss: at A, with 82.6% efficiency. Maximum power, at 24 A, comes at only 49% efficiency. Motors are chosen to run near their efficiency peak and sized so that peak power is a brief excursion.
Name it
What the lab computes
- Shunt motor (constant flux): and .
- Series motor (unsaturated): , so and .
- PM efficiency: with stall current and no-load current standing for friction, , peaking at with .
- Dynamics: and . When L/R is much shorter than , the speed rises with the mechanical time constant.
- Six-step torque: the torque at angle θ is ; with 120° current blocks, a trapezoidal back-EMF gives constant torque, a sinusoidal one ripples between and (per unit EMF and current).
Check
Write shunt_speed(V, k, Ra, T) and series_speed(V, R, K, T), each returning (current, speed in rpm).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write pm_efficiency(V, R, I0, I) and pm_peak(V, R, I0) returning (current, efficiency) at the peak by the closed form.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write pm_step(V, R, L, k, J, T, dt): simulate a PM motor (no load torque) from rest after a voltage step V, by RK4 on current and speed, returning the speeds; and time_to_fraction(speeds, final, fraction, dt).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write six_step_ripple(shape): for 120° current blocks centered on each phase's positive and negative back-EMF peaks, the torque's (max − min)/average over a revolution, with shape "sin" for a sinusoidal back-EMF or "trap" for one flat across 120° (rising linearly over 60° between).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why does a PM motor's efficiency peak at a current far below the current for maximum power?
Two losses compete. Friction and core loss, represented by the no-load current, take a roughly fixed power, so at light loads they are a large share of a small output. Copper loss grows as the square of the current, so at heavy loads it dominates, and at the maximum-power point, half the stall current, half of the electrical input is burned in the winding. Efficiency peaks between, where the two losses are comparable, which for a good motor is a small fraction of stall current: the geometric mean of the no-load and stall currents.