Professional Documents
Culture Documents
Sae Technical Paper Series: Honeywell Engines, Systems and Services
Sae Technical Paper Series: Honeywell Engines, Systems and Services
Licensed from the SAE Digital Library Copyright 2011 SAE International
E-mailing, copying and internet posting are prohibited
Downloaded Wednesday, July 20, 2011 1:31:20 PM
SAE TECHNICAL
PAPER SERIES 2002-01-3253
Bin Wu
Department of Electrical and Computer Engineering, Ryerson Polytechnic University
400 Commonwealth Drive, Warrendale, PA 15096-0001 U.S.A. Tel: (724) 776-4841 Fax: (724) 776-5760 Web: www.sae.org
Author:Gilligan-SID:13591-GUID:59413614-129.93.16.3
Licensed to University of Nebraska
Licensed from the SAE Digital Library Copyright 2011 SAE International
E-mailing, copying and internet posting are prohibited
Downloaded Wednesday, July 20, 2011 1:31:20 PM
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise,
without the prior written permission of SAE.
SAE Permissions
400 Commonwealth Drive
Warrendale, PA 15096-0001-USA
Email: permissions@sae.org
Fax: 724-772-4028
Tel: 724-772-4891
ISSN 0148-7191
Copyright © 2002 Society of Automotive Engineers, Inc.
Positions and opinions advanced in this paper are those of the author(s) and not necessarily those of SAE.
The author is solely responsible for the content of the paper. A process is available by which discussions
will be printed with the paper if it is published in SAE Transactions.
Persons wishing to submit papers to be considered for presentation or publication by SAE should send the
manuscript or a 300 word abstract of a proposed manuscript to: Secretary, Engineering Meetings Board, SAE.
Printed in USA
Author:Gilligan-SID:13591-GUID:59413614-129.93.16.3
Licensed to University of Nebraska
Licensed from the SAE Digital Library Copyright 2011 SAE International
E-mailing, copying and internet posting are prohibited
Downloaded Wednesday, July 20, 2011 1:31:20 PM
2002-01-3253
Bin Wu
Department of Electrical and Computer Engineering, Ryerson Polytechnic University
where
where E{.} denotes expected value.
n +1
x&ˆ = ( A − KC ) xˆ + Bu + Ky (5)
In Eq.(7) and (8), Kn is the feedback matrix of the
The matrix of the Kalman filter is denoted by K. This will Kalman filter. This matrix determines how the state
be done based on the covariance of the noises. We will vector of the Kalman filter is modified after the output of
first assess the effectiveness of the observation method, the model is compared with the actual output of the
which is defined as: system.
n
The Kalman filter algorithm is also capable of handling
J x = ∑ E{[ x(t1 ) − xˆ (t1 | t )]T [ x(t1 ) − xˆ (t1 | t )]} = min (6)
i =1 nonlinear systems, such as a PMSM drive. To
implement the recursive algorithm of the extended
Kalman filter, a model of PMSM is employed. After the
K has to be chosen in order to make Jx minimal. The matrices An, Bn, and Cn are known, the matrices Φ (state
solution of K is a recursive algorithm for the discrete time prediction) and H (output prediction) can be calculated.
case. The recursive calculation of Kalman filter may be
expressed by the following system of equations, where
all symbols in the formulations denote matrices or
vectors [7]:
Author:Gilligan-SID:13591-GUID:59413614-129.93.16.3
Licensed to University of Nebraska
Licensed from the SAE Digital Library Copyright 2011 SAE International
E-mailing, copying and internet posting are prohibited
Downloaded Wednesday, July 20, 2011 1:31:20 PM
3. DESIGN OF EXTENDED KALMAN FILTER module, a PMSM module, a load module, and an EKF
module.
Electrical model of a permanent magnet synchronous
motor in a two-axis stationary reference frame (α, β) may load
be described as follows, w* id* id* dq2abc
Speed vd Vd*
w iq* iq* Vaf
reference
λ
Speed controller
diα R V (14)
w Vq*
= − s iα + ω sin(θ ) + α
speed
Vbet PMSM
id
dt Ls Ls Ls
the
vq
iq
diβ R λ V iaf
= − s iβ + ω cos(θ ) + β (15) id
dt Ls Ls Ls
ibt
iq
the
dθ
=ω (16)
dt
speed voltage
EKF
If the rotor speed is included in the electrical model angle current
R λ 1
− 0 P sin θ 0 0
iα Ls Ls iα Ls A proportional integral (PI) speed controller is
i implemented to regulate rotor speed by comparing the
d β R λ i 1 Vα
= 0 − −P cosθ 0 β + 0
Ls Vβ
θ
reference speed with estimated speed from EKF. The PI
dt θ Ls Ls
controller delivers an output current reference iq*, while
ω 0 0 1 0 ω 0
0
the direct current reference id* is set to zero to obtain the
0 0 0 0 0 0 maximum torque-to-current ratio. The current controller
(17) employs two PIs to regulate stator current and employs
feed forward control to decouple the dynamics between
the applied voltages and the currents [2]. Inputs of the
iα current controller are current reference and estimated
(18)
iα 1 0 0 0 iβ rotor speed, while its output is reference voltage. The
i =
β 0 1 0 0 θ simulation module of the current controller is shown in
ω Fig.4.
vα iα 4 Ls
vβ iβ
id
iα Kalman ω Flux
iβ θ
S-Function
N.m. 200
100
Voltage (V)
An extended Kalman filter algorithm used to estimate the
0
rotor speed of a PMSM contains 446 products, 311
additions and 8 divisions [1]. Because the algorithm -100
400
5. SIMULATION STUDIES AND RESULTS 300
200
The permanent magnet synchronous motor used for the
Current (A)
100
simulation studies has the following parameters: 0
-100
Base speed = 1250 rad/s, 90kW, 250V; -200
-50
-100
-150
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4
Time (sec)
Author:Gilligan-SID:13591-GUID:59413614-129.93.16.3
Licensed to University of Nebraska
Licensed from the SAE Digital Library Copyright 2011 SAE International
E-mailing, copying and internet posting are prohibited
Downloaded Wednesday, July 20, 2011 1:31:20 PM
12 60
0.3
12 55
0.25
12 50
12 45 0.2
Angle (rad)
12 40 0.15
Speed
12 35 0.1
12 30
0.05
12 25
0
12 20
0.06 0.0 65 0.07 0.0 75 0.08
-0.05
Time (sec) 0.019 0.02 0.021 0.022 0.023 0.024 0.025
Time (sec)
Fig.12 Detailed rotor angle trace at startup stage
Fig.9 Details of rotor speed and estimated speed
Fig.11 shows the rotor angle response of the sensorless Absolute estimation error of angle ∆θˆ = θ − θˆ rad/sec
PMSM drive. The solid line is the rotor angle, and the
dotted line is the estimated rotor angle. Fig.12 shows
details of the rotor angle trace at startup stage.
6. EFFECT OF MACHINE PARAMETER
CHANGES
2
Fig.13 shows the rotor speed responses of the
1.5
sensorless PMSM drive and the estimated speed of the
1
EKF when the motor resistance Rs is changed to 3.5Rs,
Angle (rad)
0.5
while the EKF resistance is kept as Rs.
0
-0.5
1500
-1
-1.5 1000
-2
0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05 500
Time (sec)
0
Speed
-1000
-1500
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4
Time (sec)
Author:Gilligan-SID:13591-GUID:59413614-129.93.16.3
Licensed to University of Nebraska
Licensed from the SAE Digital Library Copyright 2011 SAE International
E-mailing, copying and internet posting are prohibited
Downloaded Wednesday, July 20, 2011 1:31:20 PM
1500
Fig.14 shows that the torque is still controlled even if the
motor stator resistance is largely increased (caused by 1000
Speed
150
-500
100
-1000
Torque (N.m)
50
-1500
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4
0
Time (sec)
-50
Fig.16 Speed response with flux linkage weakened to 0.9λ
-100
-150
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4
Time (sec)
Fig.14 Torque response with motor resistance changed to 3.5Rs From the simulation results, the flux linkage variations of
PMSM are very sensitive for speed estimation in a
prototype Kalman estimator[4]. To overcome this
weakness, an online flux linkage correction method [4] is
improved and implemented by Matlab as shown in
When the flux linkage is decreased to 0.9λ (λ is rated Fig.17. The online flux linkage correction consists of a
value of flux linkage), Fig.16 shows the torque response derivative of the estimated angle and a flux linkage
of the sensorless PMSM drive. Because the flux linkage corrector. In order to eliminate the superimposed noise,
decreased, the electrical torque is proportionally a rate limiter is employed to replace a conventional low-
decreased according to a torque equation of PMSM. pass filter which will incur an excessive delay in
response.
150
100
S-Function 1
1
va
Torque (N.m)
50 m EKF
speed 2
2
0
angle vb
Rate Limiter
3
-50
du/dt d/dt ia
-100 f lux 4
w
ib
-150
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4
Time (sec) flux estimator
Author:Gilligan-SID:13591-GUID:59413614-129.93.16.3
Licensed to University of Nebraska
Licensed from the SAE Digital Library Copyright 2011 SAE International
E-mailing, copying and internet posting are prohibited
Downloaded Wednesday, July 20, 2011 1:31:20 PM
0.22
An, Bn, Cn input and output matrices of discrete system
Flux linkage (V.S)
0.2
G weighting matrix of noise
0.18
H matrix of output prediction
0.16
id, iq, stator current vector in stationary frame, A
0.14 iα, iβ stator current vector in synchronous frame, A
0.12 JM moment of inertia of the rotor, kg.m2
0.1
0 0.02 0.04 0.06 0.08 0.1
JL moment of inertia of the load, kg.m2
Time (sec) Kn Kalman filter gain
Ls stator inductance, H/ph
P number of poles
Fig.19 Online flux linkage correction Pn error covariance matrix
Q covariance matrix of system noise
R covariance matrix of measurement noise
Rs stator resistance, Ω/ph
TL load torque, N.m
Although motor flux linkage has been decreased 20%, the sensorless
u control function, vector
PMSM with the online flux linkage correction may be controlled with
small static speed error (about 4 rad/sec or 0.3% of rotor speed).
v(t) noise matrix of output model
Fig.20 shows speed response of sensorless PMSM drive with motor Vd,Vq, stator voltage vector in stationary frame, V
flux linkage weakened by 20% of the rated value. Vα,Vβ stator voltage vector in synchronous frame, V
w(t) noise matrix of state model
1400
x system state
1200
y system output
1000 ω ω* rotor speed and speed command, rad/sec
Speed (rad/sec)
200 REFERENCE
0
-200
0 0.02 0.04 0.06 0.08 0.1
[1]. G. Henneberger, B.J. Brunsbach, Th. Klepsch, "Field-oriented
Time (sec) Control of Synchronous and Asynchronous Drives without
Mechanical Sensors using a Kalman Filter", Sensorless Control
of AC Motro Drives, IEEE Press, 1996, pp.207~214
Fig.20 Speed response of sensorless PMSM drive with motor flux
[2]. K.L. Shi, T.F. Chan, Y.K. Wong, S. L. Ho, "Speed Estimation of
linkage reduction of 20%. an Induction Motor Drive Using an Optimized Extended Kalman
Filter", IEEE Transactions on Industrial Electronics. Vol.49, No.1,
February 2002, pp.124-134
[3]. S. Bolognani, R. Oboe, and M. Zigliotto, "Sensorless Full-Digital
PMSM Drive With EKF Estimation of Speed and Rotor Position",
IEEE Transactions on Industrial Electronics, vol.46, No.1, 1999,
Although electrical parameters are employed in the pp.184-191
speed estimation computations, the extended Kalman [4]. S. Bolognani, M. Zigliotto, and M. Zordan, "Extended-Range
PMSM Sensorless Speed Drive Based on Stochastic Filtering",
filter is not sensitive to the machine parameter IEEE Transactions on Power Electronics, vol.16, No.1, 2001,
variations, e.g. changes in the stator resistance, pp.110-117
Author:Gilligan-SID:13591-GUID:59413614-129.93.16.3
Licensed to University of Nebraska
Licensed from the SAE Digital Library Copyright 2011 SAE International
E-mailing, copying and internet posting are prohibited
Downloaded Wednesday, July 20, 2011 1:31:20 PM
[5]. Jun Hu; Dong-qi Zhu; Bin Wu, "Permanent magnet synchronous
motor drive without mechanical sensors Electrical and Computer
Engineering", 1996. Canadian Conference on , Volume: 2 , 1996
pp. 603 –606
[6]. Dhaouadi, R.; Mohan, N.; Norum, L., "Design and
implementation of an extended Kalman filter for the state
estimation of a permanent magnet synchronous motor", Power
Electronics, IEEE Transactions on , Volume: 6 Issue: 3 , July
1991, pp. 491 -497
[7]. F. L. Lewis, Applied Optimal Control & Estimation, Prentice-Hall,
Inc., 1992
Author:Gilligan-SID:13591-GUID:59413614-129.93.16.3