
What Is FOC? Field-Oriented Motor Control Explained
FOC (field-oriented control) drives a BLDC or PMSM motor by controlling torque and flux separately. Clarke and Park transforms, Id/Iq, SVPWM, sensors and tuning, explained step by step.

FOC — field-oriented control, also called vector control — is a way of driving a brushless motor in which the controller regulates the motor’s torque and its magnetic flux as two separate quantities. Instead of switching phases on and off in fixed steps, a FOC driver keeps the stator’s magnetic field at exactly 90° to the rotor magnets at every instant. The result is the smoothest torque, the best low-speed control and the highest efficiency a BLDC or PMSM motor can deliver. This guide explains what FOC means, how it works step by step and when it is worth using.
FOC meaning: what does field-oriented control do?
A permanent-magnet motor produces the most torque when the stator field leads the rotor field by 90 electrical degrees. Any component of stator current that points along the magnet axis produces no useful torque — it only heats the windings or weakens the field. FOC measures the phase currents, works out where the rotor is, and splits the current into those two parts so each can be controlled on its own.
- Iq — the quadrature current, at 90° to the magnet axis, which produces torque
- Id — the direct current, along the magnet axis, which is normally held at zero (or made negative for field weakening at high speed)
Because Id and Iq are constant values in steady state, ordinary PI controllers can regulate them precisely — just like the current in a brushed DC motor. That is the key idea behind FOC: it makes a three-phase AC machine behave like a simple DC motor from the controller’s point of view.
How FOC works, step by step
A FOC driver repeats the same cycle at the PWM rate, typically tens of thousands of times per second:
- Measure — two or three phase currents are sampled, together with the rotor angle from an encoder, Hall sensors or a sensorless observer.
- Clarke transform — the three phase currents (Ia, Ib, Ic) are converted into two stationary axes, α and β.
- Park transform — using the rotor angle, α/β are rotated into the rotor frame to give Id and Iq.
- Regulate — two PI controllers compare Id and Iq with their set-points and calculate the voltages Vd and Vq.
- Inverse Park — Vd and Vq are rotated back to the stationary α/β frame.
- Modulate — space vector PWM (SVPWM) turns the voltage vector into switching times for the six transistors of the inverter.
Around this current loop, a speed loop and a position loop can be added, which is how a FOC driver works in torque, speed or position mode. Our BLDC motor driver guide explains these cascaded loops in more detail.
FOC vs six-step (trapezoidal) control
- Torque ripple — six-step: noticeable at every commutation step; FOC: very low across the full revolution
- Low-speed behaviour — six-step: jerky near standstill; FOC: smooth down to zero speed and holding torque
- Acoustic noise — six-step: audible at low speed; FOC: quiet, especially with PWM above the audible band
- Efficiency — FOC uses current only where it produces torque
- Complexity — six-step is simpler and cheaper; FOC needs current sensing, a rotor angle and more processing
Sinusoidal control sits in between: it applies sine-shaped voltages but does not close the loop on Id and Iq, so it loses accuracy as speed and load change. FOC is the method of choice wherever motion quality matters.
Rotor position: encoder, Hall or sensorless FOC
FOC needs to know the rotor angle accurately, because the Park transform depends on it. An incremental encoder gives the best result and is required for precise positioning and stabilisation at very low speed. Hall sensors give a coarse angle that is interpolated, which suits speed control. Sensorless FOC estimates the angle from the back-EMF using an observer; it removes sensor wiring but needs some speed before the estimate is reliable, so start-up and holding torque are weaker.
Where FOC is used
- Gimbals and electro-optical stabilisation, where torque ripple shows up directly as image jitter
- Radar and antenna positioners that scan or point smoothly
- Remote weapon stations and turret drives on armoured vehicles
- Flight-control actuators and mechanisms on UAVs and UGVs
- Industrial servo drives, robots, e-mobility and drones
Tuning a FOC drive: what to get right
- Motor parameters — phase resistance, inductance and pole-pair count set the current-loop gains
- Current sensing — offset and gain errors appear as torque ripple, so calibration matters
- Encoder alignment — the electrical zero of the encoder must match the rotor magnets
- PWM frequency — higher switching (16 kHz and above) moves noise out of the audible band and smooths current
- Protection — current limits, stall detection and a safe stop when feedback is lost
Sağlamtek’s FOC motor driver
The SGT-FDMSCK-YKD-AA FOC motor driver is designed and manufactured by Sağlamtek in Ankara for BLDC and DC servo motors. It runs torque, speed and position modes with a cascaded position PID and current PI loop, works with A/B/Z encoder, Hall or sensorless back-EMF feedback, delivers 12 A continuous and 24 A peak, switches at 16–24 kHz for a low acoustic signature and communicates over RS-422 and CAN. Conformal coating and a −40 … +85 °C rating make it suitable for military mechanisms, and it stops safely if the encoder signal is lost.
Need a FOC driver for a gimbal, positioner or weapon station? Send us your motor and load data and our engineers will check the fit.
