- Introduced by
- Flemming Blaschke
- Year
- 1972
- Type
- algorithm
- Family
- Motor Control
What does it do?
Field-Oriented Control (FOC), also called Vector Control, is a method for controlling AC induction and permanent magnet motors.
It separates the stator current into a torque-producing component and a flux-producing component and regulates each with a PI controller. The principle is associated with Blaschke's 1972 work on the transvector closed-loop control of rotating-field machines, and the method is now widely used in high-performance variable-speed drives that need smooth, precise torque and speed control.
The intuition behind the method
FOC rewrites three-phase motor currents and voltages in a two-axis rotating reference frame, the d-q frame, chosen so that one axis lines up with a magnetic flux linkage of the machine (rotor or stator flux, depending on the implementation). In this frame the current components that set flux and torque are separated. For an induction machine in rotor-flux orientation, the d-axis current sets the flux and the q-axis current sets the torque. For a permanent magnet machine the flux is supplied by the magnets, so the d-axis current is typically held at zero or used for flux weakening. In either case the two components can be regulated separately, which is what makes the control problem simpler. Two PI controllers compute the d and q voltage commands, which are transformed back to three-phase quantities and turned into PWM switching signals for the inverter. Because torque and flux can be commanded this way, an AC machine can be controlled in a manner similar to a DC machine, with fast and smooth torque and speed response.
History
Field orientation is associated with Flemming Blaschke, whose 1972 paper described the transvector closed-loop control system for rotating-field machines. An earlier related paper, Hasse (1969), dealt with the dynamics of speed-controlled drives with converter-fed induction machines. The cited sources do not establish which of the two introduced the principle first. Later developments include predictive FOC, sensorless FOC for low-speed operation, and model-predictive current control.
When to use it
Choose FOC for AC induction or permanent magnet motor drives that need smooth torque, accurate speed regulation and good efficiency, such as the fan, pump, compressor and precision motion systems listed under applications. It requires a rotor angle, either sensed or estimated, and a digital controller fast enough to run the transformations and current loops. Avoid FOC when the controller hardware cannot run these loops at the required rate, or when another torque-control scheme is preferred; direct torque control, listed as a related method, is one alternative.
Limitations and considerations
- Needs a rotor or flux angle in every control cycle, from a sensor or an estimator; if the angle is wrong, the d and q components are wrong.
- The current-loop design depends on motor parameters such as inductance and resistance; parameter mismatch degrades performance.
- Sensorless operation requires a position or flux observer, which adds design complexity and limits accuracy at low speed.
- PI gains must be tuned for the drive; poor gains cause instability or slow response.
- The basic design assumes balanced three-phase operation, a current loop much faster than the speed loop, and known machine parameters. Unbalanced phases, insufficient bandwidth separation or parameter error each degrade the decoupling and the current tracking.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Flux and torque are set through separate current components (d and q axes), so each can be regulated with its own PI loop.
- In steady state the d and q currents are constant in the rotating frame, which lets simple PI controllers track them.
- Torque follows the q-axis current directly, so torque response is governed by a fast current loop rather than by slower speed dynamics.
- The same frame-based structure can be extended to other machine types, such as salient-pole and multi-phase machines.
Applications
- Industrial drives: Pump and fan motor control, air compressor variable-speed operation.
- Electric vehicles: Traction motor control for smooth power delivery.
- Machine tools: Spindle motor control, precise speed synchronization for multiple axes.
- HVAC systems: Centrifugal fan and compressor control with energy optimization.
- Conveyor systems: Belt speed control for material handling.
How it works
How it works
Sample the three-phase motor currents and voltages, and obtain the rotor position angle θ_r from an encoder or from an observer.
Map the three-phase currents into the rotating d-q frame using the Park transformation at angle θ. The expression i_d = (2/3)(i_a cos θ + i_b cos(θ−2π/3) + i_c cos(θ−4π/3)) gives the d-axis (flux-aligned) component. The q-axis component is the projection of the same currents onto the perpendicular axis, obtained with sine terms; its sign depends on the Park convention in use, so it should be checked against the reference for the implementation before use. θ must be the angle that defines the frame, which is the rotor or flux angle depending on the implementation.
Run one PI controller on the d-axis current error and one on the q-axis current error. Each produces a voltage command; for example, v_d = K_p(i_d* − i_d) + K_i ∫(i_d* − i_d) dt for the d-axis, with the q-axis handled analogously. These basic loops treat the two axes independently. Cross-coupling between the axes (terms that depend on electrical speed and on the machine inductances) and the back-EMF are not compensated unless decoupling and feedforward terms are added; without them the coupling errors listed under pitfalls appear.
Apply the inverse transformation to convert the d and q voltage commands back to three-phase voltage references, then generate PWM signals for the inverter switches.
Common pitfalls
- Incorrect transformation matrices or sign conventions; check each one against a reference implementation before tuning.
- Using the wrong angle for the frame (rotor angle where the frame is flux-based, or the reverse) misaligns the d and q axes, so flux and torque commands mix.
- Gains tuned at one operating point may not hold across other speeds and loads.
- Ignoring cross-coupling between the d and q axes, or not compensating for inverter dead time and voltage drops, distorts the currents and can destabilise the loop.
Frequently asked questions
What is the d-q rotating frame and why is it useful?
The d-q frame is a two-axis reference frame that rotates in step with a chosen flux linkage of the machine. In this frame, time-varying three-phase quantities appear as nearly constant values in steady state, which allows PI control. The d-axis is aligned with the flux, so the d-axis current governs flux magnitude and the perpendicular q-axis current governs torque magnitude. This decoupling is what makes the control straightforward.
How do I estimate rotor position without a sensor?
Sensorless FOC estimates rotor position from measured currents and voltages. Common approaches are (1) a current-model observer, which estimates flux from measured currents and motor parameters, (2) a voltage model, which integrates back-EMF, and (3) hybrid schemes that combine both. Estimation accuracy directly affects control quality; a poor estimate causes torque ripple and can lead to instability.
How are PI controllers tuned for FOC?
In the common current-loop design, the proportional gain is set to the winding inductance multiplied by the chosen current-loop bandwidth (in rad/s), and the integral gain to the winding resistance multiplied by the same bandwidth. This assumes that cross-coupling and back-EMF are compensated and that the bandwidth is well below the switching or sampling frequency. Gains derived this way should then be adjusted against the measured step response of the drive.
What should I check after tuning an FOC drive?
Check three things: the tracking of the d and q current commands, the torque ripple, and the speed response. Persistent d-q current errors, or flux and torque commands that mix, point to a wrong frame angle or a wrong sign convention. Oscillation or a sluggish current response points to gains that are too high or too low for the chosen bandwidth. A steady offset that changes with load or temperature often indicates parameter mismatch, such as an inaccurate winding resistance or inductance. If the rotor angle is estimated, large torque ripple at low speed can also come from estimator error.
Related methods
Sources
Blaschke, F. (1972). The principle of field orientation as applied to the new transvector closed-loop control system for rotating field machines. Siemens Review, 34(5), 217-220.
Open publication referenceHasse, K. (1969). Zur Dynamik drehzahlgeregelter Antriebe mit stromrichtergespeisten Asynchronmaschinen. ETZ-A, 90, 77-81.
Open publication reference