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

S12 · Lesson 43 · Sensorless control

Finding a rotor's position from the motor's own voltages and currents

Field-oriented control (lessons 41 and 42) needs the rotor's angle, and lesson 32's brushless motors need it to know when to switch phases. An encoder or Hall sensors provide it, but they cost money, add wires, and fail in hot or dirty places: drones, compressors, washing machines and fans mostly run sensorless, reading the rotor's position from the electrical behavior of the motor itself. Two signals carry it: the back-EMF, whose phase follows the rotor and whose size is proportional to speed, and the magnetic saliency of some rotors, which can be probed with a small injected signal even at standstill. Each has a speed range where it works and a reason it fails outside it.

  • The relative error in a back-EMF speed estimate caused by a 10% error in the assumed winding resistance, against speed, for a motor with R = 0.5 Ω carrying 10 A and a flux linkage of 0.05 V·s.
  • The resistance error makes a fixed voltage error, ΔR⋅I; the back-EMF grows with speed, so the relative error falls as 1/ω. Below a few percent of rated speed, the estimate is useless.

Predict

A brushless motor with 4 pole pairs spins at 3000 rpm in six-step commutation. How often must the controller commutate?

Name it

Back-EMF methods

A spinning permanent-magnet rotor induces a back-EMF e=ωλpm (electrical speed ω, flux linkage λpm) whose phase marks the rotor's position.

  • Six-step BLDC: one phase floats in each 60° step; its terminal voltage crosses the midpoint (the back-EMF's zero) halfway through, 30° before the next commutation. Detect the crossing, wait 30°, commutate.
  • Observers for FOC: estimate the back-EMF vector from the model, 𝐞=𝐯−R𝐢−Ld𝐢/dt, and take its angle; or run a flux observer, 𝝀=∫(𝐯−R𝐢)dt. A phase-locked loop on the estimate gives a smooth angle and speed.

All back-EMF methods fail at low speed: the EMF shrinks to zero, while errors in R, voltage measurement and inverter dead time stay fixed. A motor starts open-loop, ramping a rotating field until the speed is high enough for the estimator.

Saliency methods

An interior-PM or reluctance rotor has different inductances along its d and q axes (Ld<Lq, typically). Injecting a high-frequency voltage vh at ωh gives currents of size vh/(ωhL) that depend on the rotor's angle through the varying inductance. Demodulating them reveals the position even at standstill, at the cost of audible noise, extra loss and a sign ambiguity (north and south look alike) that a magnetic-polarity test resolves.

Speed and position

Electrical frequency fe=np/60 for n rpm and p pole pairs; mechanical angle is electrical angle divided by p.

Worked example

A drone motor with 7 pole pairs runs at 12 000 rpm. Find the electrical frequency, the time between six-step commutations, and the delay from a zero crossing to the next commutation.

Show the solution
  1. Electrical frequency. fe=12000×760=1400Hz a period of 714 µs.
  2. Time between commutations. Commutations come every 60°: 119 µs.
  3. Zero crossing to commutation. That's 30°: 59.5 µs.
  4. Timing resolution. At those intervals the controller's comparator and timer resolution matter: a 10 µs error is 5° of commutation timing.

Answer the electrical frequency is 1400 Hz, commutations come every 119 µs, and the next commutation follows a zero crossing by 59.5 µs.

Worked example

A PMSM has λpm = 0.05 V·s and R = 0.5 Ω. The controller's resistance estimate is 10% off while 10 A flows. What speed error results at 100 rad/s and at 10 rad/s (electrical)?

Show the solution
  1. Voltage error. A 10% error in 0.5 Ω, with 10 A flowing, gives 0.05×10=0.5V
  2. At 100 rad/s. The EMF is 0.05×100 = 5 V, so the error is 10%.
  3. At 10 rad/s. The EMF is 0.5 V, equal to the error: 100%, and the estimate is meaningless.
  4. What drives do about it. Hence the open-loop start, and why resistance is often estimated online as the motor warms.

Answer a 10% speed error at 100 rad/s, and 100% at 10 rad/s.

Worked example

An interior-PM motor has Ld = 2 mH and Lq = 5 mH. A 10 V, 1 kHz injection: what current amplitudes result along each axis?

Show the solution
  1. Current along d. With I=vh/(ωhL), Id=102π×1000×0.002=0.80A
  2. Current along q. The same with 5 mH gives 0.32 A.
  3. Reading the position. As the rotor turns, the current response swings between these, at twice the electrical angle; the controller demodulates that variation into a position estimate.
  4. Surface-mount motors. With Ld=Lq (a surface-mount PM motor) there's no variation, and the method doesn't work.

Answer 0.80 A along d and 0.32 A along q.

Check

A 2-pole-pair motor spins at 3000 rpm. What is its electrical frequency?

Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.

Check

In six-step drive, how often does a 2-pole-pair motor at 3000 rpm commutate?

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

Check

A PMSM's flux linkage is 0.05 V·s. Its resistance estimate (0.5 Ω) is 5% off with 20 A flowing. What percentage speed error results at 10 rad/s electrical?

Check

An IPM motor (Ld = 2 mH, Lq = 3 mH) receives a 10 V high-frequency injection at 2 kHz.

(a)

What current flows along the d axis?

Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.

(b)

What is the ratio of the d-axis current to the q-axis current?

Check

A back-EMF estimator is usable once the resistive voltage 0.3 Ω × 15 A is at most 10% of the EMF. Above what electrical speed is that, for a flux linkage of 0.02 V·s?

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

Check

Why can't a surface-mount permanent-magnet motor be tracked at standstill by high-frequency injection?

Check

Detect zero crossings. A floating phase's back-EMF is e(t)=Esin⁡(2πfet) with E = 1 V, fe from rpm = 600 and p = 2 pole pairs, sampled at 100 kHz for one second, plus Gaussian noise of RMS noise = 0.1 V (numpy.random.default_rng(1)). Detect rising zero crossings with hysteresis: a crossing occurs when the signal rises above +0.5 V after having been below −0.5 V. Set fe_est, the electrical frequency from the mean interval between detected crossings, and n_cross, the number detected.

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

Explain why

A sensorless ceiling-fan controller sometimes fails to start under load, spinning backward briefly or stalling, though it runs perfectly once moving. Explain why, and how the starting sequence handles it.

Practice

Keep practicing

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