1.1.1.2 Field Oriented Control
The Field Oriented Control (FOC) is the conventional control scheme for permanent-magnet synchronous motors. It generally results in smoother torque, slightly higher efficiency, and higher torque-speed curve, compared to six-step control, but requires a measurement or estimate of rotor position, and is more computationally intensive.
This section introduces the field oriented control.
Torque Production in three-phase AC motor
A three-phase AC has a stationary part called the stator; a rotating part called the rotor. The stator consists of three-phase windings. When the stator is excited with a balanced three-phase voltage, it generates a rotating magnetic field. The rotor has generates its own magnetic field either using implanted magnets (in Permanent Magnet Synchronous Motors) or using electromagnets (Synchronous or Asynchronous AC motors). The rotor's magnetic field interacts with the stator's rotating magnetic field to produce the rotor torque.
Electromagnetic torque is proportional to the cross product of stator currents and rotor flux linkage. Here is a unit vector along the axis of rotation, and are components of a two-dimensional plane perpendicular to , and the current vector is an equivalent vector sum of currents based on how the resulting fields are aligned with these and axes.
Figure 1-4 Flux linkage vector, current vector, and the angle between them, in an arbitrary coordinate frame.
It is important to note that these and axes are arbitrary — we can pick any unit basis vectors and that form a mutually perpendicular set with the axis of rotation , such that their cross product .
There are two common choices for these basis vectors. One is the stationary frame, commonly aligned with one of the stator phases. Pictured on the left of Figure Current Vector Coils is a three-phase stator with windings positioned 120° apart. This is equivalent — at least in terms of magnetic flux linkage — to a two-phase stator with orthogonal windings α and β, pictured on the right. For any combination of currents , , in the three-phase stator winding, the same magnetic field seen by the rotor can be produced by an appropriate combination of currents and through two “virtual” coils used to create the horizontal and vertical components of the stator field. The mathematical conversion of projecting three-phase quantities onto these virtual orthogonal coils is called the Clarke transform, after one of its originators, Edith Clarke. [2].
Figure 1-5 Use of Clarke transform to convert between per-phase quantities and the frame The angle reference is commonly aligned with the first motor phase and the winding. The rotor’s position is some electrical angle relative to these angle references.
The Clarke transform is a linear transformation, shown in following equation, which can apply to any vector quantity , although typical examples are voltage , current , or flux linkage .
We can substitute in above equation to get the following equation describing torque based on stationary-frame quantities:
In the stationary reference frame, the flux vector and current vector are not fixed, but rotate along with the rotor’s magnetic field.
The other common choice of basis vectors is the rotating reference frame, aligned with the electrical angle of excitation as it increases with electrical frequency . This reference frame has components denoted dd (“direct”) and qq (“quadrature”). The transformation from to axes is a rotation by an angle . This is known as the Park transform, named for Robert Park, who developed it in the late 1920s, while working at General Electric to analyze the dynamics of synchronous motors. [1] [3] With permanent-magnet synchronous motors, this reference frame is known as the synchronous reference frame. Correct alignment for a PMSM occurs when the -axis is aligned with the rotor flux, and the electrical angle is identical to the rotor’s electrical angle .
We can substitute in Torque Equation to below Equation, describing torque based on synchronous-frame quantities:
The advantage of using the synchronous frame is that for steady-state rotation, to produce constant electromagnetic torque , the flux linkage vector and the current vector are constants. This allows current controllers with an integrator term to operate with zero steady-state error. It also allows for independent torque and flux control.
It is worth noting that for different motor types, the angle of the reference frame and the electrical angle of the rotor may or may not be identical. For permanent-magnet synchronous motors, the reference frame should be aligned with the permanent magnet flux of the rotor, so that . For induction motors ; the electrical frequency where is the rotor speed expressed as an electrical frequency, and is the slip frequency needed to produce rotor current.
FOC block diagram
The general structure of an FOC controller is an inner vector current loop, and an outer velocity loop, as shown in below figure.
The inner vector current loop has a current controller that operates in the synchronous frame. Park and Clarke transforms are used in the feedback path to convert measured phase currents to the synchronous frame as inputs to the current controller, and in the forward path to convert desired synchronous-frame voltages to realizable PWM duty cycles in a three-phase bridge.
In its linear range, there is nothing particularly special about the vector current loop, and it is often realized as two PI controllers, one for the d axis and the other for the q axis. Saturation and anti-windup should be designed carefully, keeping in mind the overall vector controller, rather than as two independent axis controllers.
The following steps summarize the basic sensorless FOC operation:
-
Measure the current flowing in the motor. There are several ways to measure the three-phase currents flowing in the motor. Some popular options include measurement using hall-effect or transformer-based magnetic sensors or using strategically placed one, two or three shunt resistors.
-
Estimate the rotor flux angle. The rotor flux angle can be estimated by either back EMF-based algorithms or by high-frequency pulse injection.
-
Transform the measured current to reference frame. The measured phase currents of the motor are transformed to two orthogonal components in reference frame by Clarke Transformation.
-
Transform the current to current. The are transformed to two orthogonal components in reference frame using the estimated rotor flux angle by Park Transformation.
-
Compare the measured current with the desired current and generate an error signal. The desired -axis reference current for controlling the torque, and desired -axis current for controlling the flux are compared with their corresponding measured quantities to generate respective error signals.
-
Estimate the rotor flux angle. The rotor flux angle can be estimated by either back EMF-based algorithms or by high-frequency pulse injection.
-
Calculate control voltage from the error signal. The error signals are used to calculate correction voltage. Conventionally a closed-loop feedback mechanism using a PI regulator is used for the task.
-
Apply control voltage to motor terminals. The correction voltage in reference frame is transformed back to voltages in reference frame. These voltages are applied to the motor terminals by some power switching techniques. Conventionally in MCU-based systems, PWM modulation techniques like Space Vector modulation are used for the task.
References
Some of the material in this section was adapted from the section “FOC in Fifteen Minutes” from the 2016 MASTERS presentation How to Succeed in Motor Control.
-
R. H. Park, “Two-reaction theory of synchronous machines generalized method of analysis-part I,”, Transactions of the American Institute of Electrical Engineers, vol. 48, no. 3, pp. 716-727, July 1929.
-
W. C. Duesterhoeft, M. W. Schulz and E. Clarke, “Determination of Instantaneous Currents and Voltages by Means of Alpha, Beta, and Zero Components,”, Transactions of the American Institute of Electrical Engineers, vol. 70, no. 2, pp. 1248-1255, July 1951.
-
C. J. O’Rourke, M. M. Qasim, M. R. Overlin and J. L. Kirtley, “A Geometric Interpretation of Reference Frames and Transformations: dq0, Clarke, and Park,”, IEEE Transactions on Energy Conversion, vol. 34, no. 4, pp. 2070-2083, Dec. 2019. Also available via MIT Open Access.
-
D. Busse, J. Erdman, R. J. Kerkman, D. Schlegel and G. Skibinski, “Bearing currents and their relationship to PWM drives,”, IEEE Transactions on Power Electronics, vol. 12, no. 2, pp. 243-252, March 1997.
-
Annette von Jouanne and Haoran Zhang, “Bearing Currents: A Major Source of Mechanical Failure for Motors in Adjustable Speed Drive Applications”, Turning Point (US Department of Energy), p. 3, Sep 1998.
-
IEC 60034-8 Rotating electrical machines, Part 8: Terminal markings and direction of rotation
-
For copper temperature coefficient, see the two sources below. The figure 0.00393/°C is bandied about quite a lot, but this was decided by convention in 1913, based on data available at the time. (See [8], page 4.) The 1979 article by Matula [9] identifies and re-publishes numerous datasets for copper resistivity measurements and proposes an interpolated table of Recommended Values for the Electrical Resistivity of Copper (see table 2) vs. temperature.
-
“Copper Wire Tables”, National Bureau of Standards Handbook 100, February 1966.
-
“Electrical resistivity of copper, gold, palladium, and silver”, R. A. Matula, Journal of Physical and Chemical Reference Data, vol. 8, no. 4, pp. 1147-1298, Oct 1979.