Presented at 49TH Annual Session of Orissa Engineering Congress, 2004, Bhubaneswar, pp. EECS-6--EECS-12, Prize Wining Paper ORISSA ENGINEERING CONGRESS – 2004 EECS- 6
Archived in Dspace@NITR, http://dspace.nitrkl.ac.in/dspace
A CLOSED LOOP OBSERVER FOR ROTOR FLUX ESTIMATION IN INDUCTION MACHINES K. Barada Mohanty Electrical Engineering Department National Institute of Technology, Rourkela E-mail:
[email protected],
[email protected] ABSRACT: Flux estimation in induction machines is presented using observer theory. It is pointed out that estimators presently used in connection with schemes such as field oriented control are typically real time simulation of machine equations, without feedback of any corrective prediction error. Design steps in a closed loop observer with prediction error correction term are presented. It is shown that corrective feedback in closed loop observer speeds up convergence of the flux estimate. 1.
INTRODUCTION
Field Oriented control has emerged as an important approach to the control of AC machines, and continues to be discussed and developed in the literature [1]. There are two basic forms of rotor flux field orientation: direct field orientation, which relies on direct measurement or estimation of the rotor flux, and indirect field orientation, which utilizes an inherent slip relation. Though indirect field orientation essentially uses the command (reference) rotor flux, some recent work using the actual rotor flux has been reported to achieve perfect decoupling. The implementation of direct field orientation via airgap flux measurement has typically been plagued by the complexities and lack of mechanical robustness associated with intrusive sensors located within machine airgap. Furthermore, a correction is required for the rotor leakage flux if rotor flux field orientation is to be achieved. Estimation rather than measurement of the rotor flux is an alternative approach for both direct and indirect field orientation that has received considerable attention [2-7]. In many popular implementations of field oriented induction machine drives, rotor flux is estimated from the terminal variables such as stator voltage and current, and rotor speed. The task of rotor flux estimation may also be expected to arise in other approaches to control and monitoring of induction machines. Even though observers in general have been around for several decades [8-9], most of the estimation schemes in use for rotor flux field orientation of induction machine are typically real-time simulations of the dynamic equations governing rotor flux. Technically, the word “Observer” implies an estimator that employs both inputs to the system and feedback control for error correction. In this sense, real-time flux simulators can be termed as “Open loop Observers”. Closed loop observers are the estimators using feedback for prediction error correction to improve estimation accuracy and for defining the error correction dynamics. Though present field oriented control schemes based on real-time flux simulators demonstrate high performance, it is believed that there will be situations where improved convergence of the closed loop flux observers itself will be called for. Some of the present flux estimators are, apart from real-time flux simulators, based solely upon Gopinath’s minimal order observer theory [8]. But, such observers have also certain shortcomings in the methodology. A method for evaluating the accuracy implications of parameter errors is also lacking in the literature.
ORISSA ENGINEERING CONGRESS – 2004
EECS-
7
In this paper, Section 2 examines the real-time flux simulator based on the equations governing the rotor circuit. The faster convergence of the closed loop flux observers is shown analytically in Section 3 and verified by numerical simulations in Section 4. It should be kept in mind that the basic methodology of observer design is applicable to a much broader class of problems than the particular (and important) one addressed here, and the analysis presented here can be extended to other situations involving estimation and control for electrical machine systems. 2.
A REAL TIME FLUX SIMULATOR
Most of the field orientation control schemes, and some other approaches to control and monitoring of induction machine require the rotor flux to be estimated. Most of the existing rotor flux estimation schemes are open loop estimation scheme having no correction term derived from the prediction error. This is essentially real-time simulation of the rotor circuit equations. So, they are called real-time flux simulator or open loop flux observer. Consider the idealized two-axis model of a squirrel cage induction machine that is used throughout the literature on field-oriented control. The rotor flux dynamics in this model satisfies λr′ = [ (−1 / Tr ) I + ωr J ] λr + ( M / Tr ) i s
(1)
where λr and i s are two component vectors that constitute the two-axis representations (in stator reference frame) of rotor flux and stator current, respectively. ωr is the angular velocity of the rotor. Tr is the rotor time constant. M is the mutual inductance between rotor and stator. ⎡1 0 ⎤ I=⎢ ⎥, ⎣0 1 ⎦
⎡0 − 1⎤ J=⎢ ⎥ ⎣1 0 ⎦
(2)
The model (1) motivates the following real-time simulation for open loop rotor flux estimation.
λˆr′ = [ ( − 1 / Tr ) I + ωr J ] λˆr + ( M / Tr ) i s
(3)
It is assumed that rotor speed and stator current are known quantities, so that the state space model (3) is in principle simply implemented, with analog or digital hardware to perform the required real-time integration of (3). The error in the flux estimate produced by (3) is e = λˆr − λr
(4)
and is governed by the following state space equation, obtained by subtracting (1) from (3)
e ′ = [ ( − 1 / Tr ) I + ωr J ] e
(5)
For a given speed waveform ωr , (5) is a linear system. However, since ωr is in general a time-varying function, the convergence properties of (5) cannot in general be studied by simply taking the eigenvalues of the matrix in brackets. When the speed ωr is constant, this matrix becomes constant. Since the eigenvalues of this matrix are (−1 / Tr ) ± j ωr , the two scalar components of e display an oscillation at the frequency ωr (the constant rotor speed) that is damped with a time constant Tr (the rotor time constant).
ORISSA ENGINEERING CONGRESS – 2004
EECS-
8
In the case of general, time varying ωr the error analysis can be done as follows. Premultiplying both sides of (5) by 2 e* , where e* denotes transposition of e, and using the facts that 2 e* e ′ = ( e* e )′ and e* J e = 0 , we see that ( e* e )′ = − 2 (e* e ) / Tr
(6)
The magnitude of the error thus decays with the time constant of the rotor. This analysis is really the Lyapunov function analysis, with e* e as Lyapunov function. 3.
A CLOSED LOOP FLUX OBSERVER
Suppose now it is desired to have a rotor flux estimation that converges faster than the real-time simulator given above. The philosophy underlying observer theory naturally suggests that a corrective signal derived from a prediction error should be added to the estimator in (3). So, this is essentially a closed loop observer. The companion equation to (1), which completes the idealized description of the electromagnetic variables, and which relates stator voltage vs (a two component vector) to stator current and rotor flux is v s = ( M / L r ) λr′ + ( σ L s ) i s′ + R s i s
(7)
where σ = 1 − ( M 2 / L s L r ) is the leakage coefficient. Ls, Lr and Rs are stator and rotor self inductances, and the stator resistance, respectively. Rotor time constant, Tr = Lr / Rr , where Rr is the rotor resistance. If the stator voltage is measured, it can be compared with the stator voltage predicted on the basis of (7), but using λˆr′ instead of λr′ .
vˆ s = ( M / L r ) λˆr′ + ( σ L s ) i ′s + R s i s
(8)
The resulting observer then takes the form
λˆr′ = [ ( − 1 / Tr ) I + ωr J ] λˆr + ( M / Tr ) i s + G ( vˆ s − v s )
(9)
where vs is measured stator voltage and vˆ s is the stator voltage computed from (8). G is a 2×2 matrix of observer gains. A straight forward calculation shows that the system (5) that governed error dynamics of the real-time simulation is now replaced by
or
e ′ = [ ( − 1 / Tr ) I + ωr J ] e + ( M / L r ) G e ′
(10)
e ′ = [ I − (M / L r ) G ]-1 [ ( − 1 / Tr ) I + ωr J ] e
(11)
It is evident that different choices of the observer gain matrix G will lead to different error dynamics. For illustration purpose, let us assume G = g I
(12)
where g is a scalar observer gain parameter. If the rotor speed ωr is constant, then (11) is a time-invariant linear system, and the eigenvalues that govern it are: ( 1 – g M / Lr ) –1 ( (−1 / Tr ) ± j ωr )
(13)
Thus the eigenvalues of the error dynamics are scaled up by the factor ( 1 – g M / Lr ) –1, i.e., the time constant that governs the error decay is scaled down from that of the real-time
ORISSA ENGINEERING CONGRESS – 2004
EECS-
9
simulator by this factor, while the frequency of oscillation in the error decay waveform is scaled up by the same factor. For the more general time varying rotor speed case, we proceed as earlier to find that (6) is replaced by ( e* e )′ = − 2 (1 − g M / L r ) -1 (1 / Tr ) ( e* e )
(14)
so that the error magnitude now decays with a time constant of ( 1 – g M / Lr ) Tr
(15)
It is evident that g can be chosen to make this time constant considerably smaller that Tr .In implementing the closed loop flux observer given by (8) and (9), it is necessary to avoid taking derivatives. For this purpose, let us define the auxiliary variable
z = [ I − (M / L r ) G ] λˆr − G ( σ L s ) i s
(16)
Then z ′ is obtained by grouping together all the terms of (9) that contain derivatives (after substituting for vˆ s from (8)) so that
z ′ = [ ( − 1 / Tr ) I + ωr J ] λˆr + ( M / Tr ) i s + G ( R s i s − v s )
(17)
Now (16) shows that λˆr = [ I − (M / L r ) G ]-1 [ z + G ( σ L s ) i s ]
(18)
Expression for λˆr given by (18) is substituted in (17) to get a state equation for the vector z , as follows: z′ = F z + H is − G v s
(19)
where F = [ ( − 1 / Tr ) I + ωr J ] [ I − (M / L r ) G ]-1
(20)
H = F G ( σ L s ) + ( M / Tr ) I + G R s
(21)
The differential equation (19) is solved forward from the initial condition z (0) obtained from (16), through the choice of λˆr (0). Then to find λˆr from z , only (18) is used. Thus the observer is implemented without differentiating any signal. 3.1 Extension of The Closed loop Observer The particular gain in (12) was chosen for ease of illustration. However, the case of a more general gain is G = g1 I + g2 J
(22)
If the rotor speed ωr is constant, the corresponding error dynamic system is again a time invariant linear system. By proper choice of g1 and g2 , the eigenvalues of the error dynamic system can be placed at any specified pair of conjugate locations. For example, if it is desired to have the eigenvalues of the error dynamic system at ( − a ± j b ) (i.e., the error components should display an oscillation at the frequency b rad/sec and damped with a time constant of 1/a sec), then the scalar gains g1 and g2 in the observer gain matrix must be:
ORISSA ENGINEERING CONGRESS – 2004
EECS- 10
g1 =
L r ( a − (1 / Tr )) (1 / Tr ) + ( b − ωr ) ωr M ωr2 + (1 / Tr2 )
(23)
g2 =
L r ( a − (1 / Tr )) ωr + ( b − ωr ) (1 / Tr ) M ωr2 + (1 / Tr2 )
(24)
When the rotor speed ωr is varying slowly, g1 and g2 can also be varied as given above to control the variation of error dynamics. 4.
SIMULATION RESULTS AND DISCUSSIONS
Above observer design theory is verified by numerical simulations. The induction motor whose rating and parameters are given in Table 1, having a rotor time constant of 0.06 sec is considered for simulation study. The trace in Fig. 1 (a) shows the speed waveform after the motor is started from standstill with a 220 V, 50 Hz, 3 – Phase supply. The trace in (b) is the actual rotor flux component along axis 1. The rotor flux component along axis 2, is very similar to that along axis 1, being approximately phase sifted by 90 degrees. So, rotor flux along axis 2 is not shown. The trace in Fig. 1 (c) is the estimated rotor flux using conventional real time simulator given by eqn (3). The trace in (d) shows the flux estimate produced by the closed loop observer with prediction error correction, given by eqns (8) and (9), with the choice G = (Lr / 2 M) I to give an error time constant of Tr / 2, according to (14). Fig. 1 (e) plots the error in the conventional real time simulator, and (f) shows error with the closed loop observer. Comparing the plots in (e) and (f), it can be verified that in the later case time constant of error decay is half while frequency of oscillation is twice that in former case. Fig. 2 shows the traces of flux estimation error with another closed loop observer whose gain is given by eqns (22) to (24). The fixed eigenvalues of the error dynamic system are located at ( − 80 ± j120 ). The trace of error when z (0) = [0.2; 0.2] is shown in Fig. 2 (a), and when z (0) = [1.0; 1.0] is shown in Fig. 2 (b). It is seen from Fig. 2 that the plot of error is of same nature in both the cases, irrespective of initial estimation error. This is because the eigenvalues of the error dynamic system are the same in both the cases. Table – 1 Rating and Parameters of the Induction Motor Three phase, 50 Hz, 0.75 kW, 220V, 3A, 1440 rpm Stator and rotor resistances: Rs = 6.37 Ω, Rr = 4.3 Ω Stator and rotor self inductances: Ls = Lr = 0.26 H Mutual inductance between stator and rotor: M = 0.24 H Moment of Inertia of rotor and load: J = 0.0088 Kg ·m2 Viscous friction coefficient: β = 0.003 N ·m ·s/rad 5.
CONCLUSIONS
Real-time simulator for rotor flux estimation has been discussed. Design methodology for closed loop observer based on prediction error feedback has been presented. It is shown analytically as well as by numerical simulation that the closed loop observer leads to faster convergence. It is also shown that with closed loop observer, the gain matrix can be designed to give the desired error dynamics. There are several interesting directions in which the present study can be extended. Among these are the development of adaptive observers, and nonlinear observers for estimation of flux as well as rotor speed.
ORISSA ENGINEERING CONGRESS – 2004
0.6
Rotor Flux (Wb)
Speed (rev/min)
1500
1000
500
0
EECS- 11
0
0.1
0.2
0.3
0.4
0.4 0.2 0 -0.2 -0.4 -0.6
0.5
0
0.1
0.6 0.4 0.2 0 -0.2 -0.4 -0.6
0
0.1
0.2
0.3
0.4
0.5
0.5
0.4
0.5
0.4
0.5
0.4 0.2 0 -0.2 -0.4 -0.6
0
0.1
0.2
0.3
Time (sec) (d) 0.4
Error in Estimated Flux (Wb)
0.4
Error in Estimated Flux (Wb)
0.4
0.6
Time (sec) (c) 0.3 0.2 0.1 0 -0.1 -0.2
0.3
Time (sec) (b) Estimated Flux (Wb)
Estimated Flux (Wb)
Time (sec) (a)
0.2
0
0.1
0.2
0.3
Time (sec) (e)
0.4
0.5
0.35 0.3 0.25 0.2 0.15 0.1 0.05 0 -0.05 -0.1
0
0.1
0.2
0.3
Time (sec) (f)
Fig. 1 (a) Rotor speed staring from standstill, (b) Rotor flux along axis 1, (c) Flux estimate based on real time simulator, (d) Flux estimate of a closed loop observer making error decay time constant half of the rotor time constant, (e) estimation error for real-time simulator, (f) estimation error with the closed loop observer
ORISSA ENGINEERING CONGRESS – 2004
0.8 0.7
0.4 0.3 0.2 0.1 0 -0.1
0
0.1
0.2
0.3
Time (sec) (a)
0.4
0.5
Error in Estimated Flux (Wb)
Error in Estimated Flux (Wb)
0.5
EECS- 12
0.6 0.5 0.4 0.3 0.2 0.1 0 -0.1
0
0.1
0.2
0.3
0.4
0.5
Time (sec) (b)
Fig. 2 Estimation error with closed loop observer having fixed eigenvalues of the error dynamic matrix (a) for z (0) = [0.2; 0.2], (b) for z (0) = [1.0; 1.0] REFERENCES 1. D. W. Novotny, and R. D. Lorenz (eds.), “Introduction to Field Orientation and High Performance AC Drives”, Tutorial book from 1985 & 1986, IEEE-IAS Annual Meetings. 2. Y. Hori, V. Cotter, and Y. Kaya, “A novel induction machine flux observer and its application to a high performance ac drive system”, 10th IFAC World Congress on Automatic Control, Munich, Germany, July 1987. 3. G. C. Verghese, and S. R. Sanders, “Observers for flux estimation in induction machines”, IEEE Trans. on Indust. Elect., vol. 35, no. 1, Feb. 1988, pp. 85-94. 4. P. L. Jansen, and R. D. Lorenz, “A physically insightful approach to the design and accuracy assessment of flux observers for field oriented induction machine drives”, IEEE Trans. on Ind. Appl., vol. IA-30, no. 1, Jan./Feb. 1994, pp. 101-110. 5. H. Kubota, and K. Matsuse, “Flux observer of induction motor with parameter adaption for wide speed range motor drives”, Proc. IPEC – Tokyo, 1990, pp. 1213-1218. 6. Y. Hori, and T. Umeno, “Flux observer based field orientation (FOFO) controller for high performance torque control”, Proc. IPEC –Tokyo, 1990, pp. 1219-1226. 7. K. B. Mohanty, “Study of Different Controllers and Implementation for an Inverter Fed Induction Motor Drive”, Ph. D. Thesis, IIT Kharagpur, May 2001. 8. B. Gopinath, “On the control of linear multiple input-output systems”, The Bell System Technical Journal, vol. 50, no. 3, March 1971, pp. 1063-1081. 9. D. G. Luenberger, “An introduction to observers”, IEEE Trans. on Automatic Control, vol. 16, no. 6, Dec. 1971, pp. 596-602.