Induction-Motor Drives: V/f, Field-Oriented Control and Sensors
Most of the world's industrial motors are cage induction motors: pumps, fans, conveyors, compressors, hoists. Bolted straight to the mains they run at one speed and draw six times their rated current when they start (Starting Methods and Speed Control). Fed from a variable-frequency drive (VFD) they start gently, run at any speed and, with field-oriented control, deliver full torque at standstill with a torque response almost as fast as a servo motor's. This lesson builds the drive around the same three-phase inverter and space-vector PWM as the PMSM drive (Clarke and Park Transforms and FOC) and asks what changes when the rotor has no magnets: the drive must create the rotor flux itself, and it can only steer that flux if it knows the rotor's time constant.
Safety: industrial drives rectify three-phase mains to a DC bus near , which stays charged for minutes after switch-off. Everything about mains drives in this lesson is calculation and simulation only. The bench part uses a three-phase inverter board and passive loads.
The drive
The rectifier is the six-pulse bridge of Diode Rectifiers: average, close to the peak with a capacitor. A diode rectifier cannot return power to the mains, so when the motor brakes, its energy charges the DC link; the brake chopper switches a resistor across the link above a threshold. Drives that brake often (lifts, centrifuges) use an active front end instead, which is a grid-tied inverter run backwards (Grid-Tied Inverters).
V/f control in a drive
The machines course derives the V/f law and the low-speed boost that compensates the stator resistance drop (V/f control). A real V/f drive adds four things around it:
- Ramps. Frequency changes at a set rate (for example in ) so the slip, and so the current, stays small.
- Slip compensation. At rated torque the example motor runs below synchronous speed. The drive estimates the torque from the active part of the measured current and raises the output frequency by about , so the speed barely droops with load.
- Current limit. If the current exceeds a limit, the drive holds or lowers the frequency instead of tripping.
- Field weakening above rated frequency, where the bus cannot supply more voltage.
V/f needs no speed sensor and no motor model beyond the nameplate, which is why most pump and fan drives use it. Its weakness is dynamics: torque is produced through the slip, and the rotor flux takes a time of order (hundreds of milliseconds) to settle after any change.
Field-oriented control
In a synchronous frame aligned with the rotor flux (so that ), the induction motor's rotor equations reduce to a first-order lag and a slip relation:
with the magnetising inductance, the rotor self-inductance, the pole pairs and the amplitude-invariant transforms of the PMSM lesson. The stator current splits into a flux-producing part , which plays the role of the PMSM's magnet, and a torque-producing part . Hold constant and the torque follows instantly, exactly as in a DC motor or a PMSM. The current loops, decoupling and SVPWM are those of the PMSM drive.
The difficulty is the angle. A PMSM's flux is fixed to the rotor, so an encoder gives directly. An induction motor's rotor flux slips behind the stator field and ahead of the rotor, at . Indirect FOC computes the slip from the equation above and integrates from a measured rotor speed. That needs , and rises by about 30 to 40 % between a cold and a hot rotor. Direct FOC estimates the flux from a model of the stator instead: the "voltage model" integrates (good at speed, drifts near zero frequency), the "current model" uses the rotor equations (good at low speed, needs ), and practical observers blend the two. Sensorless drives estimate the speed too, with model-reference adaptive systems (MRAS) or observers, and lose accuracy near zero stator frequency. Direct torque control (DTC) skips the current loops and picks inverter states from a table driven by flux and torque hysteresis comparators.
Worked example: the rated point in the rotor-flux frame
Given: the example motor of the machines course (equivalent circuit): star equivalent, , , , , , , ; air-gap torque at , stator current rms.
Find: , , , the FOC currents and , the rotor flux and the slip frequency.
Solve:
Check: , the same slip as the equivalent circuit. And rms, the rated current. The flux-producing part is almost half of the current's magnitude (a fifth of its ): an induction motor pays for its flux with stator copper loss and a lagging power factor, which a PMSM's magnets give for free. The code finds and by projecting the stator current phasor onto the rotor flux phasor.
import numpy as np
from scipy.optimize import brentq
# example motor of ee-machines: 7.5 kW, 400 V star equivalent, 50 Hz, 4 poles (p = 2 pole pairs)
R1, X1, Xm, R2, X2 = 0.55, 1.0, 32.0, 0.45, 1.4
w = 2*np.pi*50
Lm, Ls, Lr = Xm/w, (X1 + Xm)/w, (X2 + Xm)/w
p, V1 = 2, 400/np.sqrt(3)
tau_r = Lr/R2
print(f"Lm = {Lm*1e3:.2f} mH, Ls = {Ls*1e3:.2f} mH, Lr = {Lr*1e3:.2f} mH, tau_r = Lr/R2' = {tau_r*1e3:.1f} ms")
def circuit(s):
"""Per-phase rms phasors at slip s: stator current, rotor current, rotor flux linkage."""
Z2 = R2/s + 1j*X2
Zp = 1j*Xm*Z2/(1j*Xm + Z2)
I1 = V1/(R1 + 1j*X1 + Zp)
I2 = -I1*1j*Xm/(1j*Xm + Z2) # rotor current, same reference direction as I1
psi_r = Lm*I1 + Lr*I2 # rotor flux linkage (rms phasor)
T = 3*abs(I2)**2*R2/s/(w/p)
return I1, I2, psi_r, T
s = brentq(lambda s: circuit(s)[3] - 50.35, 1e-4, 0.2)
I1, I2, psi, T = circuit(s)
u = psi/abs(psi) # unit vector along the rotor flux
i_d = np.sqrt(2)*(I1/u).real # amplitude-invariant dq values are peak values
i_q = np.sqrt(2)*(I1/u).imag
psi_pk = np.sqrt(2)*abs(psi)
print(f"rated point: s = {s:.4f}, n = {1500*(1-s):.0f} rpm, T = {T:.2f} N m, |I1| = {abs(I1):.2f} A rms")
print(f"rotor-flux frame: id = {i_d:.2f} A, iq = {i_q:.2f} A (peak), psi_r = {psi_pk:.4f} Wb")
print(f"check id = psi_r/Lm: {psi_pk/Lm:.2f} A")
print(f"torque 1.5 p (Lm/Lr) psi_r iq = {1.5*p*Lm/Lr*psi_pk*i_q:.2f} N m")
w_sl = R2*i_q/(Lr*i_d)
print(f"slip frequency R2' iq/(Lr id) = {w_sl:.3f} rad/s = {w_sl/(2*np.pi):.3f} Hz; s*f = {s*50:.3f} Hz")Lm = 101.86 mH, Ls = 105.04 mH, Lr = 106.32 mH, tau_r = Lr/R2' = 236.3 ms
rated point: s = 0.0255, n = 1462 rpm, T = 50.35 N m, |I1| = 14.43 A rms
rotor-flux frame: id = 9.53 A, iq = 18.04 A (peak), psi_r = 0.9710 Wb
check id = psi_r/Lm: 9.53 A
torque 1.5 p (Lm/Lr) psi_r iq = 50.35 N m
slip frequency R2' iq/(Lr id) = 8.011 rad/s = 1.275 Hz; s*f = 1.275 Hz
Simulation: a torque step, and a detuned rotor time constant
The next cell assumes ideal current loops (the inverter imposes and in the controller's frame) and a speed held constant by a large inertia. It magnetises the motor for (more than six ), then steps to rated. The controller computes the slip from its own ; when that differs from the motor's, its frame no longer lines up with the real flux and appears.
import numpy as np
# Indirect FOC of the example motor, ideal current control: the inverter imposes id, iq in the
# controller's frame. Rotor flux equations in that frame; constant speed, so only the slip matters.
Lm, Lr, R2, p = 0.10186, 0.10632, 0.45, 2
tau = Lr / R2 # true rotor time constant
id_ref, iq_ref = 9.53, 18.04 # rated flux and rated torque currents, peak A
def run(tau_est, h=1e-4):
pd = pq = 0.0 # the motor's rotor flux, d and q in the controller's frame
pe = 0.0 # the controller's model of the flux
out = []
for n in range(30000): # 3 s
t = n * h
iq = iq_ref if t >= 1.5 else 0.0 # magnetise for 1.5 s, then step to rated torque
w_sl = Lm * iq / (tau_est * pe) if pe > 1e-3 else 0.0 # slip command from the model
dpd = (Lm * id_ref - pd) / tau + w_sl * pq
dpq = (Lm * iq - pq) / tau - w_sl * pd
pe += h * (Lm * id_ref - pe) / tau_est
pd += h * dpd
pq += h * dpq
if n + 1 in (15000, 15050, 16000, 20000, 30000):
out.append(((n + 1) * h, pd, round(pq, 4) + 0.0, 1.5 * p * Lm / Lr * (pd * iq - pq * id_ref)))
return out
print(f"tau_r = {tau*1e3:.1f} ms, target torque {1.5*p*Lm/Lr*Lm*id_ref*iq_ref:.2f} N m")
for k, label in ((1.0, "model matches the motor"),
(1.3, "motor hot: true R2' 30 % above the model's"),
(1/1.3, "model's R2' 30 % above the true value")):
print(f"\ntau_est = {k:.2f} tau_r ({label})")
for t, d, q, T in run(k * tau):
print(f" t = {t:5.3f} s: psi_d = {d:6.4f} Wb, psi_q = {q:7.4f} Wb, T = {T:6.2f} N m")tau_r = 236.3 ms, target torque 50.33 N m
tau_est = 1.00 tau_r (model matches the motor)
t = 1.500 s: psi_d = 0.9690 Wb, psi_q = 0.0000 Wb, T = 0.00 N m
t = 1.505 s: psi_d = 0.9691 Wb, psi_q = 0.0000 Wb, T = 50.25 N m
t = 1.600 s: psi_d = 0.9696 Wb, psi_q = 0.0000 Wb, T = 50.27 N m
t = 2.000 s: psi_d = 0.9705 Wb, psi_q = 0.0000 Wb, T = 50.32 N m
t = 3.000 s: psi_d = 0.9707 Wb, psi_q = 0.0000 Wb, T = 50.33 N m
tau_est = 1.30 tau_r (motor hot: true R2' 30 % above the model's)
t = 1.500 s: psi_d = 0.9690 Wb, psi_q = 0.0000 Wb, T = 0.00 N m
t = 1.505 s: psi_d = 0.9692 Wb, psi_q = 0.0087 Wb, T = 50.01 N m
t = 1.600 s: psi_d = 1.0098 Wb, psi_q = 0.1358 Wb, T = 48.64 N m
t = 2.000 s: psi_d = 1.1892 Wb, psi_q = 0.1526 Wb, T = 57.48 N m
t = 3.000 s: psi_d = 1.1688 Wb, psi_q = 0.1362 Wb, T = 56.87 N m
tau_est = 0.77 tau_r (model's R2' 30 % above the true value)
t = 1.500 s: psi_d = 0.9690 Wb, psi_q = 0.0000 Wb, T = 0.00 N m
t = 1.505 s: psi_d = 0.9688 Wb, psi_q = -0.0115 Wb, T = 50.54 N m
t = 1.600 s: psi_d = 0.8856 Wb, psi_q = -0.1602 Wb, T = 50.31 N m
t = 2.000 s: psi_d = 0.7812 Wb, psi_q = -0.0534 Wb, T = 41.97 N m
t = 3.000 s: psi_d = 0.7781 Wb, psi_q = -0.0783 Wb, T = 42.49 N m
Tuned, the torque reaches within of the step (in a real drive the current loop's millisecond or so sets the limit) while the flux does not move: torque and flux are decoupled. With a hot rotor the slip command is too small, the flux grows to (20 % over rated, where a real core saturates) and the torque settles 13 % high; with the opposite error the motor is under-fluxed and gives 16 % less torque for the same current. Both errors settle with time constants of order , so they show up as slow torque drift, not as instability. Drives track with a temperature model or an online estimator for this reason.
Interactive: the per-phase circuit seen by the drive (calculation only)
The netlist lab holds the example motor's equivalent circuit at , with the rotor branch on a slider ( is rated slip). At the default it reads a stator current at and a magnetising current , which is peak, close to the above (the T circuit's magnetising current is the air-gap flux's current, not exactly the rotor flux's). Slide down to (standstill, ): the stator current jumps to while the magnetising current falls to . Up at (nearly no load) the stator current is , most of it magnetising current ( in ). A drive keeps the motor near the right-hand end at every speed by choosing the frequency so that the slip frequency stays near at rated torque.
Sensors
| Quantity | Sensor | Notes |
|---|---|---|
| phase currents | shunts in the low-side legs (low-voltage drives), or isolated Hall-effect or fluxgate sensors (mains drives) | two are enough for a three-wire motor; sample at the PWM carrier's peak, when the ripple crosses its average |
| DC-link voltage | resistive divider and an isolated amplifier | feeds the modulator (duty cycle = volts wanted / volts available) and the brake chopper |
| angle and speed | incremental encoder (for example 2048 lines, 8192 counts per revolution in quadrature), resolver (rugged, analogue, needs a resolver-to-digital converter), or none (sensorless) | counting edges over gives a resolution of ; low speeds use the time between edges instead |
| temperature | NTC in the power module, often a winding sensor (PTC, KTY or PT1000) | protects the module and corrects |
FOC with an encoder (or a resolver) holds torque at zero speed, so it is used in cranes, hoists and servo axes. Sensorless FOC covers fans, pumps and compressors.
Guided lab: checking a V/f profile at 24 V
Hand calculation. Scale a V/f profile to a bus. At full modulation with SVPWM the phase fundamental can reach peak, rms; make that the point, add a boost of rms at rising linearly to it, and tabulate the phase voltage at , , and .
Simulation. Change the first cell to (halve V1, X1, Xm and X2, and use for w) and check that and the slip frequency at rated torque barely change: constant V/f is nearly constant flux, except for the drop that the boost corrects.
What you would measure. A three-phase inverter evaluation board rated for 24 V or less with V/f firmware, from a current-limited bench supply, feeding three equal series RL loads in star (for example , with ), or a small low-voltage three-phase motor from a teaching machine set if your lab has one. Measure a line voltage with a differential probe and the scope's low-pass or FFT math. Expect the fundamental within 5 % of your table above ; at dead time and switch drops take a few percent more (Inverter Harmonics). A tachometer on a motor shows the slip growing with load and shrinking again when slip compensation is switched on.
Hazards and safe setup. At most , current-limited. The outputs are switched nodes: never connect a single-ended scope ground to them. Load resistors get hot; a motor must be clamped and its shaft guarded. A decelerating motor pushes energy back into the bus: use a supply that can absorb it or a bus clamp. Mains drives and their motors are calculation and simulation only.
Pitfalls
- Mixing pole pairs and poles. This course writes for pole pairs; the machines course uses for poles in .
- Commanding torque before the flux exists. With , a drive must magnetise for several hundred milliseconds before a hoist releases its brake.
- Trusting the nameplate . It changes with temperature (and with saturation): indirect FOC drifts unless it is tracked.
- Expecting sensorless control at zero frequency. Model-based estimators lose the flux there; hoists and cranes keep an encoder.
Practice
- Find the torque of the example motor with and , and the slip frequency.
- The drive runs the example motor at stator frequency with rated flux and rated torque. Estimate the shaft speed.
- Half the rated flux is used to save magnetising losses at light load. What gives the same torque as in question 1?
Answer
- ; ().
- With rated flux and torque the slip frequency stays , so the rotor's electrical frequency is and .
- Torque is proportional to , so : twice the torque current, which costs more copper loss than it saves in the core at that load.
Test yourself
In rotor-flux-oriented control of an induction motor, the torque is proportional to…
- alone
- the slip squared
- the DC-link voltage
Why does indirect FOC need the rotor time constant ?
- to set the PWM frequency
- to compute the slip , which places the rotating frame on the rotor flux
- to size the brake resistor
- it does not
A V/f drive's main limitation compared with FOC is…
- it needs an encoder
- it cannot run above rated frequency
- slow, coupled torque response, since torque is set through the slip and the rotor flux settles with
- it cannot use PWM
A drive with a diode rectifier brakes a large flywheel. Where does the energy go?
- back into the mains through the diodes
- into the DC-link capacitor, and then into a brake chopper resistor
- into the motor's magnets
- nowhere: braking needs no energy path