You are on page 1of 3

Beyond Bits Motor Control Edition

Permanent Magnet Synchronous


Motor Control
High-performance and power-efficient motor control
Introduction Figure 1: Field-Oriented Control Vector Explanation
Permanent magnet synchronous
motors (PMSM) are typically used for The “d” axis refers
Axis of phase B to the “direct” axis
high-performance and high-efficiency of the rotor flux
motor drives. High-performance motor
The “q” axis is the axis of Rotor position
control is characterized by smooth motor torque along against phase A
which the stator field (measured by
rotation over the entire speed range must be developed position sensor)
of the motor, full torque control at N
zero speed, and fast acceleration and Rotation Axis of phase A

deceleration. To achieve such control, S


vector control techniques are used for
PM synchronous motors. The vector
Stator windings
control techniques are usually also
referred to as field-oriented control
(FOC). The basic idea of the vector maximal, when they are perpendicular How to Simplify Control
control algorithm is to decompose to each other. It means that we want of Phase Currents to
a stator current into a magnetic to control stator current in such a
field-generating part and a torque-
Achieve Maximum Torque
way that creates a stator vector
generating part. Both components DC motor control is simple because
perpendicular to rotor magnets. As
can be controlled separately after all controlled quantities are DC values
the rotor spins we must update the
decomposition. Then, the structure in a steady state and current phase/
stator currents to keep the stator flux
of the motor controller (vector control angle is controlled by a mechanical
vector at 90 degrees to rotor magnets
controller) is almost the same as a commutator. How can we achieve that
at all times. The reactance torque of
separately excited DC motor, which in PMSM control?
an interior PM type PMSM (IPMSM)
simplifies the control of a permanent is as follows, when stator and rotor DC Values/Angle Control
magnet synchronous motor. magnetic fields are perpendicular. First, we need to know the rotor
Let’s start with some basic Torque = 32pplPMIqs position. The position is typically
FOC principles. related to phase A. We can use
pp – Number of pole pairs
an absolute position sensor (e.g.,
Torque Generation lPM – Magnetic flux of the permanent resolver) or a relative position sensor
A reactance torque of PMSM is magnets (e.g., encoder) and process called
generated by an interaction of two Iqs – Amplitude of the current in alignment. During the alignment, the
magnetic fields (one on the stator and quadrature axis rotor is aligned with phase A and we
one on the rotor). The stator magnetic know that phase A is aligned with
As shown in the previous equation, the direct (flux producing) axis. In
field is represented by the magnetic
reactance torque is proportional to the this state, the rotor position is set to
flux/stator current. The magnetic field
amplitude of the q-axis current, when zero (required voltage in d-axis and
of the rotor is represented by the
magnetic fields are perpendicular. rotor position is set to zero, static
magnetic flux of permanent magnets
that is constant, except for the field MCUs must regulate the phase stator voltage vector, which causes that rotor
weakening operation. We can imagine current magnitude and at the same attracted by stator magnetic field and
those two magnetic fields as two bar time in phase/angle, which is not such to align with them [with direct axis]).
magnets, as we know a force, which an easy task as DC motor control.
tries to attract/repel those magnets, is
Beyond Bits Motor Control Edition

1. Three-phase quantities can


Figure 2: Basic Principle of Field-Oriented Control
transform into equivalent two-phase
quantities (stationary reference Measured Current Generated Voltage
frame) by Clarke transformation.
2. Then, we transform two-phase
quantities into DC quantities by rotor Phase A α d d α Phase A
electrical position into DC values Three-Phase Stationary Rotating

Process
Control
Phase B Phase B
to β to q q to β SVM
(rotating reference frame) by Phase C Two-Phase Rotating Stationary Phase C

Park transformation.
The electrical rotor position is a Electrical rotor Electrical rotor
position position
mechanical rotor position divided by
numbers of magnetic pole pairs pp.
7. Using the space vector modulation, voltage. The calculation of the BEMF
After a control process we should
the output three-phase voltage observer requires math computation
generate three-phase AC voltages
is generated as multiply accumulation, division,
on motor terminals, so DC values
A complete FOC speed PMSM control sin/cos, sqrt which is suited for DSCs,
of the required/generated voltage
structure with Freescale motor control Kinetis ARM core-based MCUs or the
should be transformed by inverse
library functions is shown in the Beyond Power Architecture family.
Park/Clarke transformations.
Bits: Motor Control Edition article titled,
Amplitude Control “Industrial/Appliance PMSM Drive.” Field/Flux Weakening
All quantities are now DC values, Control
which are easy to control, but how do Sensorless Control The operation beyond the machine
we control them in magnitude? The rotor position information is base speed requires the PWM inverter
For magnitude control we use PI needed to efficiently perform the to provide output voltages higher than
controllers in the cascade structure. control of the PMS motor, but a rotor its output capability limited by its DC
We can control many state variables position sensor on the shaft decreases link voltage. To overcome the base
as phase current (torque loop), speed the robustness and reliability of the speed limitation, a field-weakening
or position as with DC motors. overall system in some applications. algorithm can be implemented. A
Therefore, the aim is not to use this negative d-axis required current will
FOC in Steps mechanical sensor to measure the increase the speed range, but the
To perform vector control: position directly but instead to employ applicable torque is reduced because
some indirect techniques to estimate of a stator current limit. Manipulating
1. Measure the motor phase currents
the rotor position. These estimation the d-axis current into the machine
2. Transform them into the two- techniques differ greatly in approach has the desired effect of weakening
phase system (a, b) using Clarke for estimating the position or the type the rotor field, which decreases the
transformation of motor to which they can be applied. BEMF voltage, allowing the higher
3. Calculate the rotor position angle stator current to flow into the motor
At low speed, special techniques like
4. Transform stator currents into the with the same voltage limit given by
high frequency injection or open-loop
d,q-coordinate system using the DC link voltage.
start-up (not very efficient) are needed
Park transformation to spin the motor over the speed
Freescale Enablement
5. The stator current torque (isq) and where BEMF is sufficiently high for the
Reference designs, application notes
flux (isd) producing components BEMF observer. Usually, 5 percent of
and software solutions for PMSM
are controlled separately by the base speed is enough for proper
control applications are available at
the controllers operation in sensorless mode.
freescale.com/motorcontrol.
6. The output stator voltage space- At medium/high speed, a BEMF
vector is transformed back from the observer in d/q reference frame is
d,q-coordinate system into the two- used. The PWM frequency and
phase system fixed with the stator control loop must be sufficiently
by inverse Park transformation high to get a reasonable number of
samples of phase current and DC bus
Beyond Bits Motor Control Edition

How to Reach Us:


Information in this document is provided solely to enable system and software implementers to
Home Page:
use Freescale Semiconductor products. There are no express or implied copyright license granted
freescale.com
hereunder to design or fabricate any integrated circuits or integrated circuits based on the information
in this document.
Motor Control
Portfolio Information: Freescale Semiconductor reserves the right to make changes without further notice to any products
freescale.com/motorcontrol herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the
suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any
e-mail: liability arising out of the application or use of any product or circuit, and specifically disclaims any
support@freescale.com and all liability, including without limitation consequential or incidental damages. “Typical” parameters
which may be provided in Freescale Semiconductor data sheets and/or specifications can and do
USA/Europe or Locations Not Listed: vary in different applications and actual performance may vary over time. All operating parameters,
Freescale Semiconductor including “Typicals” must be validated for each customer application by customer’s technical experts.
Technical Information Center, CH370 Freescale Semiconductor does not convey any license under its patent rights nor the rights of others.
1300 N. Alma School Road Freescale Semiconductor products are not designed, intended, or authorized for use as components
Chandler, Arizona 85224 in systems intended for surgical implant into the body, or other applications intended to support or
1-800-521-6274 sustain life, or for any other application in which the failure of the Freescale Semiconductor product
480-768-2130
could create a situation where personal injury or death may occur. Should Buyer purchase or use
support@freescale.com
Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall
indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and
Europe, Middle East, and Africa:
distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney
Freescale Halbleiter Deutschland GmbH
fees arising out of, directly or indirectly, any claim of personal injury or death associated with such
Technical Information Center
Schatzbogen 7 unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was
81829 Muenchen, Germany negligent regarding the design or manufacture of the part.
+44 1296 380 456 (English)
+46 8 52200080 (English)
+49 89 92103 559 (German)
+33 1 69 35 48 48 (French)
support@freescale.com

Japan:
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064, Japan
0120 191014
+81 3 5437 9125
support.japan@freescale.com

Asia/Pacific:
Freescale Semiconductor Hong Kong Ltd.
Technical Information Center
2 Dai King Street
Tai Po Industrial Estate,
Tai Po, N.T., Hong Kong
+800 2666 8080
support.asia@freescale.com

For more information, visit freescale.com/motorcontrol


Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off.
All other product or service names are the property of their respective owners.
© 2012 Freescale Semiconductor, Inc.
Document Number: BBPRMMAGSYNART REV 0

You might also like