TExcelTAD
Home › Electrical Machines & Transformers › BLDC and Permanent-Magnet Synchronous Motors

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 90∘90^\circ 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 90∘90^\circ 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 pp poles, one mechanical revolution is p/2p/2 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

ea eb ec ia 101 100 110 010 011 001 Hall 0 180 360 electrical degrees

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 120∘120^\circ electrical give a 3-bit code that changes every 60∘60^\circ electrical; each code selects one of six switch states. When each phase conducts during the flat 120∘120^\circ of its back-EMF, the power eaia+ebib+ecice_a i_a + e_b i_b + e_c i_c is constant, and so is the torque. Seen from the supply the motor is a DC motor with line-to-line constants:

V=kωm+IRLL,T=kIV = k\omega_m + I R_{LL}, \qquad T = k I

where kk is the line-to-line back-EMF constant (V·s/rad, equal to N·m/A) and RLLR_{LL} 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 idi_d (along the magnet flux) and iqi_q (at 90∘90^\circ electrical, producing torque). For a surface-magnet PMSM with p/2p/2 pole pairs and magnet flux linkage λm\lambda_m (peak, per phase):

T=32 p2 λm iqT = \frac{3}{2}\,\frac{p}{2}\,\lambda_m\, i_q

with iqi_q the peak phase current when the currents are aligned with the back-EMF. Interior-magnet motors add a reluctance term 32p2(Ld−Lq)idiq\tfrac{3}{2}\tfrac{p}{2}(L_d - L_q) i_d i_q, and use negative idi_d 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 k=0.03 V s/radk = 0.03\ \text{V s/rad}, line-to-line resistance RLL=0.6 ΩR_{LL} = 0.6\ \Omega, six-step drive from 24 V24\ \text{V} (switch drops neglected), load torque 0.15 N m0.15\ \text{N m}.

Find: current, speed, electrical frequency and the time between Hall edges.

Solve:

I=Tk=0.15 N m0.03 N m/A=5.00 Aωm=24−5.00⋅0.60.03=700.0 rad/s=6685 rpmfe=p2⋅n60=2⋅111.4 Hz=222.8 HztHall=16fe=0.748 ms\begin{aligned} I &= \frac{T}{k} = \frac{0.15\ \text{N m}}{0.03\ \text{N m/A}} = 5.00\ \text{A} \\ \omega_m &= \frac{24 - 5.00 \cdot 0.6}{0.03} = 700.0\ \text{rad/s} = 6685\ \text{rpm} \\ f_e &= \frac{p}{2} \cdot \frac{n}{60} = 2 \cdot 111.4\ \text{Hz} = 222.8\ \text{Hz} \\ t_\text{Hall} &= \frac{1}{6 f_e} = 0.748\ \text{ms} \end{aligned}

Check: electrical input at least 24⋅5=120 W24 \cdot 5 = 120\ \text{W}; mechanical 0.15⋅700=105 W0.15 \cdot 700 = 105\ \text{W}; the 15 W15\ \text{W} difference is I2RLL=25⋅0.6=15 WI^2 R_{LL} = 25 \cdot 0.6 = 15\ \text{W}. 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

python · try it yourself
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 1.51.5 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 12 V12\ \text{V} PC fan rated at, say, 0.15 A0.15\ \text{A} and 2000 rpm2000\ \text{rpm} takes 1.8 W1.8\ \text{W}. Its tachometer output typically gives two pulses per revolution (a 4-pole motor with one Hall sensor): 2000 rpm2000\ \text{rpm} gives 66.7 Hz66.7\ \text{Hz}.

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 0.5 A0.5\ \text{A}). Pull the tach line up to 5 V5\ \text{V} through 10 kΩ10\ \text{k}\Omega (it is open-collector) and read its frequency with a counter or scope. Step the supply from 55 to 12 V12\ \text{V}: the fan starts somewhere between 44 and 7 V7\ \text{V} (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 ±5 %\pm 5\ \% fan-to-fan spread. With a scope across a 1 Ω1\ \Omega 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 2000 rpm2000\ \text{rpm} 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 3\sqrt{3} 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 (p/2)(p/2) times the mechanical; a 14-pole drone motor at 10 000 rpm10\,000\ \text{rpm} runs at 1167 Hz1167\ \text{Hz} 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

  1. A 4-pole BLDC motor has k=0.05 V s/radk = 0.05\ \text{V s/rad} and RLL=1 ΩR_{LL} = 1\ \Omega. Find its no-load speed (in rpm) at 36 V36\ \text{V} and its stall torque.
  2. A PMSM with 8 poles and λm=0.02 Wb\lambda_m = 0.02\ \text{Wb} needs 1.2 N m1.2\ \text{N m}. Find iqi_q.
  3. A PC fan's tach reads 80 Hz80\ \text{Hz} (2 pulses/rev). Find its speed.
Answer
  1. ω0=36/0.05=720 rad/s=6875 rpm\omega_0 = 36/0.05 = 720\ \text{rad/s} = 6875\ \text{rpm}; stall current 36 A36\ \text{A}, T=0.05⋅36=1.8 N mT = 0.05 \cdot 36 = 1.8\ \text{N m} (the drive limits the current long before that).
  2. iq=1.2/(1.5⋅4⋅0.02)=10 Ai_q = 1.2/(1.5 \cdot 4 \cdot 0.02) = 10\ \text{A} (peak).
  3. 80/2=4080/2 = 40 rev/s =2400 rpm= 2400\ \text{rpm}.

Test yourself

In a BLDC motor, what replaces the commutator?

  1. slip rings
  2. an inverter switching the stator phases according to rotor position
  3. a centrifugal switch
  4. a second winding

Six-step drive of a trapezoidal BLDC motor gives constant torque because…

  1. the currents are sinusoidal
  2. each phase carries current only during the flat 120 degrees of its back-EMF
  3. the inductance filters the torque
  4. the rotor has no magnets

Driving a sinusoidal-back-EMF PMSM with six-step current gives…

  1. no torque
  2. constant torque
  3. about 14 % torque ripple at six times the electrical frequency
  4. reverse rotation

An 8-pole motor turns at 3000 rpm. Its electrical frequency is…

  1. 50 Hz
  2. 100 Hz
  3. 200 Hz
  4. 400 Hz