BLDC and Permanent-Magnet Synchronous Motors
Open a computer fan, a drone, a cordless vacuum cleaner or the compressor of a modern air conditioner and you find no brushes. The magnets are on the rotor, the windings on the stator, and the commutator has been replaced by transistors that switch the stator currents according to the rotor position. Without brushes there is nothing to wear, no sparks, and the heat is generated in the stator where it is easy to remove. Two families share this construction. The brushless DC (BLDC) motor has a trapezoidal back-EMF and is driven with blocks of current, six steps per electrical cycle, so it behaves like a DC motor. The permanent-magnet synchronous motor (PMSM) has a sinusoidal back-EMF and is driven with sinusoidal currents, usually by field-oriented control, and is the motor of electric cars. This lesson explains both, and why matching the current shape to the back-EMF shape matters.
The DC motor turned inside out
In a brushed motor the field stands still and the commutator keeps the armature current pattern fixed in space, at electrical to the field. In a brushless motor the field (the magnet rotor) turns, so the stator current pattern must turn with it, staying about electrical ahead. That needs to know where the rotor is, from Hall sensors, an encoder or resolver, or "sensorless" estimates from the back-EMF of the unpowered phase. With poles, one mechanical revolution is electrical cycles.
Two rotor styles: surface-mounted magnets (smooth torque, little reluctance torque; most BLDC and servo motors) and interior magnets (IPM; the rotor iron gives extra reluctance torque and allows field weakening at high speed; most traction motors). An outrunner puts the magnet rotor outside the stator (fans, drones): large diameter, high torque for its size.
Six-step (trapezoidal) drive
A three-phase inverter (six transistors) connects two phases at a time, one to the positive rail and one to the negative, leaving the third open. Three Hall sensors spaced electrical give a 3-bit code that changes every electrical; each code selects one of six switch states. When each phase conducts during the flat of its back-EMF, the power is constant, and so is the torque. Seen from the supply the motor is a DC motor with line-to-line constants:
where is the line-to-line back-EMF constant (V·s/rad, equal to N·m/A) and the resistance of two phases in series. Real BLDC motors have rounded back-EMF and the current cannot change instantly at each step, so some commutation torque ripple remains at six times the electrical frequency; you can hear it in cheap drives.
Sinusoidal drive and the PMSM
A PMSM has a sinusoidally distributed winding and a sinusoidal back-EMF. Driven with three sinusoidal currents in phase with the back-EMFs, it produces a perfectly constant torque, like a synchronous machine whose field comes from magnets. Field-oriented control expresses the stator current in rotor coordinates as (along the magnet flux) and (at electrical, producing torque). For a surface-magnet PMSM with pole pairs and magnet flux linkage (peak, per phase):
with the peak phase current when the currents are aligned with the back-EMF. Interior-magnet motors add a reluctance term , and use negative to weaken the field above base speed. The current controllers, PWM and the coordinate transformations belong to drives: Power Electronics & Motor Drives.
Worked example: a 24 V BLDC motor
Given: a 4-pole BLDC motor, line-to-line constant , line-to-line resistance , six-step drive from (switch drops neglected), load torque .
Find: current, speed, electrical frequency and the time between Hall edges.
Solve:
Check: electrical input at least ; mechanical ; the difference is . The equations are exactly those of a PMDC motor, which is why the BLDC motor is "DC".
In Python: torque ripple of three drive schemes
import numpy as np
th = np.radians(np.arange(0, 360, 0.01) + 0.005) # electrical angle, off the switching instants
def trap(x): # unit trapezoid: flat for 120 deg, ramps over 60 deg
x = np.mod(x, 2 * np.pi)
d = np.degrees(x)
return np.select([d < 30, d < 150, d < 210, d < 330], [d / 30, 1.0, (180 - d) / 30, -1.0], (d - 360) / 30)
def block(x): # six-step current: +1 for 120 deg, 0, -1 for 120 deg, 0
d = np.degrees(np.mod(x, 2 * np.pi))
return np.select([(d >= 30) & (d < 150), (d >= 210) & (d < 330)], [1.0, -1.0], 0.0)
shift = [0, -2 * np.pi / 3, 2 * np.pi / 3] # phases a, b, c
cases = {
"trapezoidal EMF, six-step current ": (trap, block),
"sinusoidal EMF, six-step current ": (np.sin, block),
"sinusoidal EMF, sinusoidal current": (np.sin, np.sin),
}
print("case mean torque ripple (pk-pk / mean)")
for name, (emf, cur) in cases.items():
T = sum(emf(th + s) * cur(th + s) for s in shift) # torque = sum(e_k i_k)/w, unit k and I
print(f"{name} {T.mean():8.3f} {(T.max() - T.min()) / T.mean() * 100:6.1f} %")
# worked example: a 24 V, 4-pole BLDC motor, two phases conducting at a time
V, kLL, RLL, p, TL = 24.0, 0.03, 0.6, 4, 0.15 # line-line constant V s/rad, line-line resistance
I = TL / kLL
w = (V - I * RLL) / kLL
n = w * 60 / (2 * np.pi)
fe = p / 2 * n / 60
print(f"BLDC: I = {I:.2f} A, speed {w:.1f} rad/s = {n:.0f} rpm, electrical {fe:.1f} Hz, "
f"{6*fe:.0f} commutations/s, Hall edges every {1e3/(6*fe):.3f} ms")
# PMSM in dq terms: T = 3/2 * pole pairs * lambda_m * i_q (amplitude-invariant transform)
pp, lam, iq = 4, 0.01, 10.0
print(f"PMSM: T = 1.5 * {pp} * {lam} Wb * {iq} A = {1.5*pp*lam*iq:.2f} N m")case mean torque ripple (pk-pk / mean)
trapezoidal EMF, six-step current 2.000 0.0 %
sinusoidal EMF, six-step current 1.654 14.0 %
sinusoidal EMF, sinusoidal current 1.500 0.0 %
BLDC: I = 5.00 A, speed 700.0 rad/s = 6685 rpm, electrical 222.8 Hz, 1337 commutations/s, Hall edges every 0.748 ms
PMSM: T = 1.5 * 4 * 0.01 Wb * 10.0 A = 0.60 N m
Matched pairs give constant torque: trapezoidal EMF with six-step current, or sinusoidal EMF with sinusoidal current (the sinusoidal case's mean is because amplitude, not rms, is used). Driving a sinusoidal-EMF motor with six-step blocks works but leaves 14 % torque ripple at six times the electrical frequency. That is why servo and traction drives with PMSMs use sinusoidal (field-oriented) control, while fans and pumps, where a little ripple is harmless, use cheap six-step controllers.
Guided lab: a PC fan as a BLDC motor
Hand calculation. A PC fan rated at, say, and takes . Its tachometer output typically gives two pulses per revolution (a 4-pole motor with one Hall sensor): gives .
Simulation. Treat the fan as a PMDC motor in the DC Motors netlist lab; the fan's air load torque grows roughly with speed squared.
What you would measure. Power a 3- or 4-wire fan from a current-limited bench supply (limit ). Pull the tach line up to through (it is open-collector) and read its frequency with a counter or scope. Step the supply from to : the fan starts somewhere between and (its controller IC needs a minimum supply), then speed rises roughly in proportion to voltage and current roughly with speed squared (the air load). Expect fan-to-fan spread. With a scope across a resistor in the supply lead you can see current pulses at the commutation rate. Do not exceed the fan's rated voltage.
Hazards and safe setup. Low voltage only. Keep the fan in its frame with a finger guard; blades at can cut, and hair and cables get pulled in. Clamp the fan so it cannot walk across the bench. Do not open the fan's driver or connect a fan to anything but a current-limited supply.
Pitfalls
- Per-phase versus line-to-line constants. Datasheets use both; a star-connected motor's line-to-line back-EMF constant is times the phase rms constant for sinusoidal motors, and exactly twice the phase flat-top value for trapezoidal ones.
- Mechanical versus electrical speed. Electrical frequency is times the mechanical; a 14-pole drone motor at runs at electrical.
- Spinning a PM motor by hand. Its terminals are live; a fast-spun traction motor generates hazardous voltage even with the drive off.
- Hall sensors in the wrong order. The motor jerks, runs rough or draws high current: the sequence must match the winding.
Practice
- A 4-pole BLDC motor has and . Find its no-load speed (in rpm) at and its stall torque.
- A PMSM with 8 poles and needs . Find .
- A PC fan's tach reads (2 pulses/rev). Find its speed.
Answer
- ; stall current , (the drive limits the current long before that).
- (peak).
- rev/s .
Test yourself
In a BLDC motor, what replaces the commutator?
- slip rings
- an inverter switching the stator phases according to rotor position
- a centrifugal switch
- a second winding
Six-step drive of a trapezoidal BLDC motor gives constant torque because…
- the currents are sinusoidal
- each phase carries current only during the flat 120 degrees of its back-EMF
- the inductance filters the torque
- the rotor has no magnets
Driving a sinusoidal-back-EMF PMSM with six-step current gives…
- no torque
- constant torque
- about 14 % torque ripple at six times the electrical frequency
- reverse rotation
An 8-pole motor turns at 3000 rpm. Its electrical frequency is…
- 50 Hz
- 100 Hz
- 200 Hz
- 400 Hz