Professional Documents
Culture Documents
applications of these models: to adaptive torque ripple of the nonsinusoidal stator winding and rotor magnet
minimization via
ux harmonic estimation, to globally distribution. Finally, Rabc = diagf Rs ; Rs ; Rs g and
stabilizing energy{shaping control, and to saliency{ Labc are the stator resistance and inductance matrices.
based sensorless control (i.e., operation without a me- In the case of the most common stator winding distri-
chanical position sensor). bution, inductance matrix takes the following form:
2 3
L s ( ) Lm (; 23 ) Lm (; - 23 )
2 A Complete PMSM Model in the abc Frame Labc =4Lm( , 223; -223 ) Ls( ,223 )2 Lm( , 232; 23 )5
The model presented in this section includes nonsinu- Lm ( + 3 ; 3 ) Lm ( + 3 ; - 3 ) Ls ( + 3 )
soidal stator winding and rotor magnet distribution (7)
0-7803-7061-9/01/$10.00 © 2001 IEEE 2229
where where xe = [xd ; xq ]> ; x 2 fv; i; ; r g, and:
e e
1
X
Ls () = Ls cos(2k) ; and
k
Le = LLdqd LLdqq ; R = R0s R0s ; Y = 01 ,01
e e
k=0 e e
1
X Keeping all the harmonics in the stator inductance ma-
Lm (; ) = Lm cos(2k , k)
k
trix (7), transformed inductance matrix elements are:
= (Lss0 , Lsm0 ) + ( Lss
k=0
^
2 + Lsm1 ) cos 2( , )
k=3;6;:::
6
Ld e
1
dard Blondel{Park (dq) coordinate transformation by pressions and equations for the mechanical subsystem,
setting ^ = . In position sensorless control, rotor po- dene the general PMSM model in the transformed
sition is not measured but rather estimated using cur- frame. The explicit expressions for model equations are
rent, and possibly voltage, measurements, and ^ in (8) rather complex due to the innite number of
ux and
is the most recent value of position estimate. inductance harmonics. However, harmonic magnitudes
decay with harmonic number, and usual approximation
In the following, we will present the general PMSM in practical applications is to keep only certain num-
model resulting from transformation of the original ber of harmonics necessary to capture motor behavior
model (1){(5) with (8). Immediate application of (8) of interest. For example, standard approximation for
to (1) and (2) yields the following equations: salient motor inductances is truncation of innite sums
in (7) to only DC and second harmonic, yielding
v = Ri + de + !^ Y L ^ L ^
e e dt
(9)
e
Le = L,+L2 sincos2(2(^,,)) L,, 2Lsincos2(2( ^,,)) (11)
e = Le ie + r e
(10) 2 2
2230
where L = Lss0 , Lsm0 = L +2 L and L = Lss1 +
d q
4 Applications
2Lsm1 = Ld , Lq . With such approximation, and keep-
ing
ux harmonics up to 13th, the following explicit 4.1 Adaptive Torque Ripple Minimization
PMSM model in the transformed frame is obtained: Many PMSMs are manufactured with an isotropic (or
almost isotropic) rotor, which results in negligible in-
Rs 0 + !~ L , sin(2~) , cos(2) ~ ductance harmonics (i.e., reluctance torque). With
ve = 0 Rs , cos(2~) sin(2~) such construction, Ld = Lq = L and PMSM devel-
L ops only the mutual torque (DC and higher harmon-
+ !^ 2 sin(2 ~) ,L + 2L cos(2~) i
L + L cos(2~) , L sin(2~) e ics). Having the position feedback available (^ = ),
L 2 ~ L 2 ~ di the model now reduces to
+ L + 2 cos(2) , 2 sin(2) e
, 2L sin(2~) L , 2L cos(2~) dt di
L d = ,Rs id + !Liq , !d() + vd (12)
~) sin(~) dt
+ cos( diq
!
, sin(~) cos(~) () L
dt
= ,Rs iq , !Lid , !q () + vq (13)
L m = P (idd () + iq q ())
m = P i > sin(2~) cos(2~) ie (14)
2 e cos(2~) , sin(2~) J
d!
= m , B! , l (15)
~) sin(~) dt
+ > cos(
ie , sin(~) cos(~) ()
d! This model can be further used to design the adap-
J
dt
= m , B! , l tive controller for minimization of mutual torque rip-
d ple components. For the purpose of control design, the
dt
= ! model (12){(15) is compressed into two equations in
vector notation:
d^
dt
= !^ di
L dt = ,Ri , !YLi , !()? + v (16)
where ~ = ^,, !~ = !^ ,!, and () = [d(); q ()]> , J
d!
= P ?> >()i , B! , l (17)
dt
d() = d6 sin(6) + d12 sin(12) where L = diagf L; Lg, R = diagf Rs ; Rs g,
q () = q0 + q6 cos(6) + q12 cos(12)
with coecients dk , qk formed as linear combina-
Y = 01 ,01 ; i = iidq ; v = vvdq ;
tions of
ux coecients 2n,1 . Although some har-
monics were omitted, the above model is detailed () is a known 2 5 matrix whose entries are periodic
enough to be suitable for a broad class of PMSM con- functions of the rotor position, and ? is the unknown
trol and estimation applications. vector of the actual
ux coecients:
When the rotor saliency is negligible (which is reason- ? = [d6; d12 ; q0 ; q6 ; q12 ]> ;
able to assume in the back{emf based position estima-
tion) and torque ripple is not considered, the above
model further reduces to: () = sin(6
0
) sin(12) 0
0
0 0
1 cos(6) cos(12) :
di
L d e
= ,Rs id + !^ Liq , q0 ! sin(~) + vd
dt e e e
Construction of the incremental error system, deni-
diq tion of its energy as Lyapunov function, and further
L e
= ,Rs iq , !^ Lid , q0 ! cos(~) + vq
dt e e e
Lyapunov analysis are presented in [5]. The resulting
m = P q0 (id sin(~) + iq cos(~))
e e
current loop controller is dened with
d!
J
dt
= m , B! , l i? =
0
(18)
P (;^)
?
d
= !
q
dt
d^ di
v = L ? + Ri? + !YLi? + !()^ + (i? , i) (19)
dt
= !^ dt
which is suitable for back{emf based sensorless control,
e.g, [4]. ^_ = ,!>()L~i (20)
2231
th th
Zoom on the 6 and 12 harmonic where the state vector is dened as
2 3 2 3
id Ld 0 0
x = D 4 iq 5 ; D = 4 0 Lq 0 5 (22)
−30
! 0 0 J
−35
P
The system (21) can then be rewritten as
@H @H
Magnitude [dB]
−40
x_1 = ,Rs @x + x2 @x + vd
1 3
−45
@H @H
x_2 = ,Rs , (x1 + q0 ) @x + vq
@x2 3
@H @H 1
x_3 = ,x2 @x + (x1 + q0 ) @x , l
−50
1 2 P
which is so called port{controlled Hamiltonian (PCH)
−55
100 100
80 80
rad/s
rad/s
60 60
40 40
20 20
0 0
0.5 1 1.5 2 2.5 3 0 0.5 1 1.5 2 2.5 3
Controller command: vq (solid) and vd (dash−dotted) Controller command: vq (solid) and vd (dash−dotted)
30 30
20 20
Volts
Volts
10 10
0 0
−10 −10
1.2 1.2
Nm
Nm
1.15 1.15
1.1 1.1
1.05 1.05
0.5 1 1.5 2 2.5 3 0 0.5 1 1.5 2 2.5 3
Time [s] Time [s]
Figure 2: Comparison of simulations (plots on the left) and experimental results (on the right) for the constant load torque
l = 1:09Nm and speed reference steps.
R = Rs2,!L2!L 1 sin(2)
1 cos(2)
2!L1 cos(2)
Rs + 2!L1 sin(2)
form Cp = w, where C is a 2(N , 1) 3 matrix con-
taining current slope measurements, w is a 2(N , 1){
dimensional vector containing voltage dierences, and
are inductance and eective resistance matrices (L0 = p = [L0; L1 cos(2); L1 sin(2)]> is parameter vec-
Ld+Lq ; L1 = Ld,Lq ; speed dependent terms in R are
2 2 tor to be determined. The parameter estimates can
due to ddtL ). Again, since inductance harmonics decay then be calculated as a linear least{squares solution
rapidly, the stator inductances are approximated only [7]: p^ = (C> C),1 C> w.
with DC and second harmonics.
To extract position and speed information from param-
Current and voltage waveforms in one PWM period eter estimates, an observer of mechanical variables can
can be used to determine position (and speed) depen- be used, e.g., [8]. A nonlinear observation error is con-
dent electrical parameters. At the PWM frequencies, structed from inductance parameters as
it is reasonable to assume that the resistive term (and
thus parameters of R) has negligible eect on system = p^3 cos(2^) , p^2 sin(2^) L1 sin(2~)
behavior, compared to the inductive term. Thus, the
model simplies to where ~ = , ^, and is used in observer to drive
the variable estimates to their true values. The experi-
v = L di + ! dr
dt d
(23) mental results of the above algorithm are shown in Fig.
3.
In each PWM subinterval (tn ; tn+1 ), a constant voltage
vector vn is supplied to the system, and the current
vector changes approximately linearly. To describe lin- 5 Conclusions
ear changes in currents, it is sucient to sample them
at the subinterval boundaries. The discretized system In this paper we rst presented a general PMSM model
(23) then becomes with linear magnetics. Next, we described a family of
transformations that are of interest in various appli-
vn = L tin+1 ,, itn + ! ddr cations. Finally, we presented three applications that
n+1 n
illustrate dierent facets of the general model. These
where n = 1; 2; : : : N , and N is a number of subin- applications include topics of practical (torque ripple
tervals in one PWM period. Under the assumption minimization), and theoretical interest (global speed
that mechanical variables are approximately constant regulation), as well as the emerging problem of shaft{
during one PWM period, the above equations can be sensorless operation that demonstrates the model util-
combined to yield an over{determined system of the ity in estimation{based control.
2233
Measured rotor position Measured rotor speed
20 600
400
Rad
Rad/s
200
−20
0
0 1 2 3 4 5 6 7
Estimated rotor position
−200
20 −400
0 1 2 3 4 5 6 7
Rad
0
Estimated rotor speed
−20
600
0 1 2 3 4 5 6 7
Position estimation error 400
Rad/s
0.2 200
0.1
Rad
0
0
−0.1
−200
−0.2
−400
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
Time [s] Time [s]
Figure 3: Experimental results. On the left from top to bottom: actual position, position estimate, and position estimation
error. On the right from top to bottom: actual speed, and speed estimate.
References
[1] T. M. Jahns, \Variable frequency permanent
magnet AC machine drives," in B. K. Bose (ed.),
Power Electronics and Variable Frequency Drives,
IEEE Press, Piscataway, NJ, 1997.
[2] H. Zijlstra, \Application of permanent magnets
in electromechanical power converters: The impact of
Nd-Fe-B magnets," Journal de Physique, vol. 46, no. 9,
pp. C6-3{C6-8, 1985.
[3] G.{H. Kang, J.{P. Hong, G.{T. Kim, and J.{W.
Park, \Improved parameter modeling of interior per-
manent magnet synchronous motor based on nite el-
ement analysis," IEEE Trans. on Magnetics, vol. 36,
no. 4, pp. 1867{1870, 2000.
[4] J.{S. Kim and S.{K. Sul, \New approach for
high{performance PMSM drives without rotational po-
sition sensors," IEEE Trans. on Power Electronics, vol.
12, no. 5, pp. 904{911, 1997.
[5] V. Petrovic, R. Ortega, A. M. Stankovic, and G.
Tadmor, \Design and implementation of an adaptive
controller for torque ripple minimization in PM syn-
chronous motors," IEEE Trans. on Power Electronics,
vol. 15, no. 5, pp. 871{879, 2000.
[6] V. Petrovic, R. Ortega, and A. M. Stankovic,
\A globally convergent energy{based controller for PM
synchronous motors," Proc. of IEEE CDC, Phoenix,
AZ, Dec. 1999, pp. 334{340.
[7] G. H. Golub and C. F. Van Loan, Matrix Com-
putations, 3rd ed., Johns Hopkins, Baltimore{London,
1996.
[8] L. Harnefors and H.{P. Nee, \A general algo-
rithm for speed and position estimation of AC motors,"
IEEE Trans. on Industrial Electronics, vol. 47, no. 1,
pp. 77{83, 2000.
2234