Вы находитесь на странице: 1из 5

PMSM Servo System With Speed And Torque Observer

Xu Dianguo, Wang Hong, Shi Jingzhuo


Department of Electrical Engineering
Harbin Institute of Technology
Harbin CHINA, 150001

Abstract - A compact state observer on PMSM for velocity This paper proposes a compact and state observer model of
estimation and rejection of torque ripple is proposed in this PMSM drives. The instantaneous speed and disturbing torque
paper. By means of the field orientation principle of PMSM, a can be estimated through this observer. These estimated
linear model is used in this state observer. A PID regulator is
values are used as the speed feedback signal and
tuned in it to reject parameter variation. Since the instantaneous
velocity can't be estimated truly when speed is very low because compensation of load torque ripple in the speed regulator. It
too little position pulses from optical encoder can be gotten in is practical by using this method to improve the dynamical
one time interval, a sliding compensation scheme is merged in performance of PMSM servo system.
this state observer to compensate the low estimated velocity This paper is organized as follows. Section 2 gives the
error. Simulation and experimental results verify the validity of mathematic model of PMSM on the field orientation and the
this scheme. The servo performance can be improved observer is based on this model. In section 3, the state
dramatically and this hybrid observer can be easily used in the observer that estimates velocity and rejects disturbance
PMSM servo system. torque is designed. In section 4, simulation and experiment
0 Keyword- State observer, Velocity estimation, PMSM, are done to verify the validity of this method. Some
Torque Rejection.
concluding remarks are given in section 5.

I. INTRODUCTION
11. MODELOF PMSM
Precision speed control systems are crucial in the
numerous industrial applications. With the development of The optical encoder is a position detector that generates a
magnetic materials, microprocessor, semiconductor devices pulse when it is displaced by one unit distance. The backward
difference popularly is used to estimate the velocity [2].
and control theories, PMSM permanent-Magnet
- e ( ( k - I)T)
Synchronous Motor) servo systems have become o ( k )= (1)
advantageous for adjustable speed and high performance T
applications. Different from other motors, PMSM drives need Where W is rotor velocity, 8 is rotor position, and T is
the information of rotor position and velocity for vector sampling time.
control and servo implement. Optical encoder often is used in
PMSM servo systems now as feedback transducer. Since r e a l soead
optical encoder is inherently position transducer, the velocity
has to be estimated from discrete position versus time
information. This backward difference approach results in
delay and quantization noise that would limit the fast
dynamic response of the servo application.
At present there are three approaches are applied to address
this problem: phase lock loop (PLL) [1][2], digital filter [3]-
[5] and velocity observer [S]-[Il]. The technology of the
phase lock loop is introduced in [I]. The PLL normally needs
hardware to achieve and its effect is the same as a frequency
,
I I
I
I
I
I
w
filter. Many velocity estimation algorithms of digital filter are tj-* ti&, ti ti+, t
provided in [3] and [4], but these methods that use older Fig.I Relation between actual speed and defected speed
samples has to compromise the instantaneous accuracy of the
speed estimated. Compared with the former two methods, the Suppose that the motor velocity U varies as shown in
velocity observer is more promising to estimate velocity. Fig.1. The estimated velocity w(k) is the mean value that
Lorenz et al. proposed a speed observer on measured position bas evident error with the instantaneous value. It is difficult
in [SI. An instantaneous speed can be estimated from the to obtain a higher velocity response with these values.
closed loop Observer. However, the scheme did not work well Therefore it is essential to estimate velocity through a
at low speed. So some improved schemes are provided in [9]- velocity observer.
[II]. These methods use nonlinear or adaptive theories to In this paper, the electrical and mechanical equations ofthe
improve performance of speed measurement. But they need a PMSM are as follows [6]:
floating point DSP to implement much calculation tasks.

0-7803-7754-0/03/$17.00 02003 IEEE 241


px=Ax+Bu
y=cx
d@Y
uq =R,iq +-+qbd where
dt x= [e, 0, T,Y
u = i7
(3) Y =e,

Where u d ,U, , i d ,i, ,I,,,L, , ed and @, are respectively


dq frame stator voltages, currents, inductances and flux
linkages. @, is rotor flux, Rais stator resistance and W is
inverter frequency.
The electromagnetic torque T, , on the other hand, is given
hY
Te =Pn(@Jiq+ ( L d -Lq)idiq) (4)
and the equations for the motor dynamics are 111. DESIGN
OF STATE OBSERVER

A state observer [7] for the system described by (8) can be


T, -T, = J * + B ~ ,
dt constructed as follows:
dB der -
_
--' - w , - a,
dt
~~~
dt
Where J is rotor inertia, B is viscous friction coefficient,
p n is number of pole pairs, e, is rotor position and w, is
mtor velocity.
For simplicity, several assumptions are made in the
derivation of this model. Magnetic saturation is neglected and
the motor is assumed to have a smooth rotor and no saliency
effect is considered, thus L, = L, = L . The induced EMF is The block diagram in Fig2 can he given by (9) and the
sinusoidal and the eddy current and hysteresis losses are feedback loop consists of PID regulator. The estimated states
are adjusted by the difference between the estimation of
assumed to he negligible. As the field excitation is from
permanent magnets, there are no field current dynamics and position 9 and the measurement of position y . The
there is no cage on the rotor. magnitude I, determines how fast or slow the estimates will
The load torque vanes very slowly; therefore it can be follow the true states. Larger gain will speed up the process
reasonably supposed to be a constant in one sampling period. and smaller gain will slow it down. The integral gain can
The eauation is as follows: reduce the steady-state tracking error of the observer. The
variation of parameters can be partly rejected by this PID
(7)
. . regulator which can be tuned easily by usual method. The
dt
From above equations, we know the motor model is state space equation of (9) is:
p i = A i + Bu + L(x - i) (10)

i %]
nonlinear, as it contains product terms such as speed with id
and i, . Based on the field orientation principle and current
feed hack control, the direct axis current id is forced to zero L = l
in order to orientation all the linkage flux in the d-axis and to
achieve maximum torque per ampere. This implies that Where 2 is the estimated state vector, and L is the
- - 0 . It is assumed that the measurement of the rotor
i -i'- proportional gain matrix to be chosen so as to achieve
prespecified error characteristics. The error dynamics for the
position 8, and the currents i, , ib and i, be available. By observer is obtained from (8) and (IO) as:.
choosing (e,,
U , , i", ) as state variables, the simplified state pe = (A -L)e (1 1)
space equation is given by: where e = x - i ;

242
compensation which is decided by a second order filter
provided in 141.
..

v, =
43, - 3Gi_, +
2
~

The velocity can he estimated smoothly by this method


when the speed is a constant. But it inevitably exists a delay
to the velocity estimation when the speed is changed since the
previous values are used.
I,Js t I, J -2
IV. SIMULATION AND EXPERIMENTALRESULTS
The servo system is constructed as shown in Fig. 3. A
750W eight-pole permanent magnet synchronous servo motor
is used with the 250Cppr incremental optical encoder. The
three-phase voltage source inverter is composed of IPM with
State Observer B a switching frequency of lo&. The controller is based on
DSP, TMS320F240, which implements the whole velocity
Fig.2 The block diagram of observer
and current modulation algorithm. The sampling frequency of
the current loop is IO& and that of the velocity loop is
To ensure that the observer (9) is stable, the error dynamics I=.
(11) must be stable. The instantaneous eigenvalues of the
observer have to be placed in the left-half side in the complex
or s plane. The characteristic equation of the error dynamics
is given by
det[Ls -(A - L)] = 0 (12)
then
B
f ( s ) = s 3+ ( l , +-)s2
J
B 1
+(12 --l,)s---ll = o
J J
t is needed to place poles for confining the eigenvalues of
(13) to a region far away from the origin in left-half plane.
Select the suited locations of eigenvalues of the observer p I,

Fig. 3 Structure of PMSM servo system

We can get the values of 1, from the equation (14). The Parameters of PMSM experimented in this paper are
Input voltage U=llOV
error e can converge quickly with poles place. Thus, the
rated velocity n=3000rpm
estimated values can be forced to converge on reasonable
Self-inductance L=5.2mH
estimation of the actual values.
Phase resistance R=l.ZOhm
When speed is very low, very little even no position pulses
Moment of inertia J=2.48*104kgm2
can be detected in one sampling period. The velocity values
estimated by state observer have ripple due to discontinuous The measured real values are O r , i, and ib which are
measured position pulses. The ripple will cause oscillation in assumed to be accurate. The quadrature current i, can be
the actual motor speed and torque. For this problem we use a given by the coordinating transform Thus, the instantaneous
sliding compensation method to rectify the instantaneous velocity can be estimated by the observer without the past
velocity estimation while the motor speed is low. The
position values. The matrix L determines the speed and
algorithm of this method is as follow:
accuracy of convergence of the state Observer. The disturbing
v = sG+ (1-s)v, (15) torque can be estimated from this observer too. So the
Where s is the sliding variable between 0 and 1, while the compensation can be added on the controller to minimize the
speed is lower, the value is larger. When the position pulse is torque ripple.
less than one pulse in one period, the value of s is equal to 1. In this implementation, a series of simulations was
3 is estimated by observer and v, is the low velocity previously performed. The waveforms of the various estimate
methods are shown in Fig.4, Fig.5 and Fig.6. Fig.4 is the

243
waveform of velocity derived from differential method further more. The load torque estimate is directly fed back to
without a filter. Fig.5 is as the same as Fig.4 but with a first compensate for the load, while removing steady-state errors
order filter. The values in Fig.6 are estimated from the state quickly. The performance of the PMSM servo system can he
observer and are the most smoothing and instantaneous. improved by feed hack with this state observer.
E-,,, 1. , I . ,[, I , ,, I ,,
I

,,II I ?, , I , , , 1 , .

E
3
I...:
1 ;. . . I ....
.
....
.
.... f. . . . I . . I. ..: . . . . ;...j

Tme 0.05ddev
Fig.4 Speed responseestimated from encoder 1 ...:... I .... I. . . ; . . . $ . . . . . . . . [. . . . ; . . . .
~ ;...j
...................... ............... .......
. .
1) Ctd&Z].Ckl 20i mV 1W mS 1
I.,,,,,,#,,-,*, 1 1 1 1 1 1 , , , 1 , , , 1 1 , , , , 1 , , 1

Tvnc lOOmJdcv
Fig.7 Speed response with a first filter
[ I

0 0.1 0.2 0.3 0.4


Time 0.05sldev
FFig.5 Speed responseestimated from a filter
I

. . . .

. . . . . .
Time 0.05rldev
Fig.6 Speed response estimated fobserver T- lOOmrldrr
Fig.8 Speed response with proposed observer
The waveforms of the experiment are shown as Fig. 7 and
Fig. 8. The step speed signal is added and varied from 20rpm REFERENCES
to 50rpm. The velocities are estimated by DSP and are
outputted by D/A converter. Figures indicate that the noise of Guan-Chyun Hsieh and James C. Hung, Phase-Locked
velocity estimated by observer is less than that estimated by Loop Techniques - A Survey, IEEE Trans. Ind.
one order filter. The time lap of system with observer is less Electron., vol. 43, No. 6, December 1996, pp609-615
than that without observer too. The velocity estimated by Carlos F. Christiansen, Roberto Battaiomo et al.
filter is lower tan the real velocity while the velocity Digital Measurement of Angular Velocity for Speed
estimated by observer equals it Control, IEEE Trans. Ind. Electron., vol. 36, No. I,
Februaly 1989, pp79-83
VCONCLUSION Ronald H. Brown, Susan C. Schneider, and Michael G .
Mulligan Analysis of Algorithms for Velocity
The state observer proposed in this paper incorporates Estimation from Discrete Position Versus Time Data,
estimates of the position, velocity and load torque. A sliding IEEE Trans. Ind. Electron., vol. 39, No.1, Feb. 1992,
compensation scheme is merged in it when speed is low. It ppll-18
uses the h e a r equations of PMSM, so a compact structure Keiji Saito, Kenzo Kamiyama et al. A Microprocessor-
can be implemented easily by fixed point DSP. If a float point Controlled Speed Regulator with Instantaneous Speed
DSP is used, the intelligent adaptive algorithm can be added Estimation for Motor Drives, IEEE Trans. Ind.
on it. Thus the capability of the observer can be improved Electron., vol. 35, No. 1, February 1988, pp95-99

244
[ 5 ] Seppo J. Ovaska, Improving the Velocity Sensing Drives, IEEE Trans. Ind. App., vol. 27, No. 4,
Resolution of Pulse Encoders by FIR Prediction, IEEE July/August 1991, pp 701-705
Trans. Instrum. Meas., vol. 40. No. 3, June 1991, pp657- [9] Taeg-Joon Kweon and Dong-Seok Hyun, High-
658 Performance Speed Control of Electric Machine Using
[6] Teck-Seng Low, Tong-Heng Lee, and Kuan-Teck Low-Precision Shaft Encoder, IEEE Trans. Power
Chang, A Nonlinear Speed Observer for Permanent- Electron., vol. 14, No. 5 , September 1999,838-849
Magnet Synchronous Motors, IEEE Trans. Ind. [lo] Guchuan Zhu, Louis-A. Dessaint et al., Speed Tracking
Electron., vol. 40, No. 3, June 1993, pp 307-316 Control of a Permanent-Magnet Synchronous Motor
[7] Jawence A. Jones and Jeffrey H. Lang, A State with State and Load Torque Observer, IEEE Trans. Ind
Observer for the Permanent-Magnet Synchronous Electron., vol. 47, No.2, April. 2000, 346-355
Motor, IEEE Trans. Ind. Electron., vol. 36, No. 3, [ l l ] Sheng-Ming Yang and Shuenn-Jenn Ke, Performance
August 1989, pp 374-382 Evaluation of a Velocity Observer for Accurate Velocity
[8] Robert D. Lorenz, and Keith W. Van Patteq High- Estimation of Servo Motor Drives, IEEE Trans. Ind.
Resolution Velocity Estimation for All-Digital, ac Servo App., vol. 36, No. 1, JanuaryiFebruary 2000, pp98-104

245

Вам также может понравиться