Speed and Current Observer for Induction Motor using Extended Kalman Filter

DOI : 10.17577/IJERTV3IS070881

Download Full-Text PDF Cite this Publication

Text Only Version

Speed and Current Observer for Induction Motor using Extended Kalman Filter

Anwin John

MTech Research Scholar Electrical and Electronics Engineering

Govt.Engineering College,Idukki Idukki, India

Dr.Jayanand B

Professor

Electrical and Electronics Engineering Govt.Engineering College,Thrissur

Abstract- This paper deals with the estimation of rotor currents and speed of an induction motor using Extended Kalman Filter Algorithm(EKF).Kalman filter in its basic form its an state estimator which can be used to estimate the rotor currents.By using extended kalman filter we can estimate other parameters along with rotor currents.In this paper we are estimating the rotor currents as well as speed using EKF.Simulation results using MATLAB software is analysed in this paper.

Index TermsInduction motor,Kalaman Filter,Extended Kalman filter(EKF)

NOMENCLATURE

  1. INDUCTION MOTOR MODEL

    Estimation is based on a discrete time varying linear model of induction motor.

    x(k+1) = F(k)x(k) + G(k)u(k)

    (1)

    y(k) = Hx(k)

    (2)

    where

    11 12 13 14

    Vds, Vqs Stator voltages in a fixed reference frame [V].

    ids, iqs Stator currents in fixed reference frame [A].

    Vdr, Vqr Rotor voltages in a fixed reference frame [V].

    idr, iqr Rotor currents in fixed reference frame [A].

    Ls(Lr) Stator (rotor) inductance [H].

    Lm Mutual inductance [H].

    Rs(Rr) Stator (rotor) resistance [].

    W Electrical angular rotor speed [el.rad/s].

    (3)

    (4)

    21 22 23 24

    F(k) =

    31 32 33 34

    41 42 43 44

    15 0

    G(k) = 0 25

    35 0

    0 45

    Wr Mechanical angular rotor speed [rad/s].

    ts Sampling t .

    (5)

    x(k) = [i

    ds(k) i

    qs(k) i

    dr(k) i

    qr(k)]T

    I.INTRODUCTION

    In the recent years speed estimation have got great interest in induction motor control researches.Elimination of speed sensors and associated cables reduces the cost and it has got good reliability.Kalman filter is a linear filter,compared to other nonlinear filters[1] it has got good dynamic behaviour.Kalman filter provided optimal filtering of noises

    (6)

    u(k) = [vds(k) vqs(k)]T

    where the coefficients

    m

    a12 = L 2t /a

    a = L R t /a

    a14 = LmL2ts/a0

    a15 = L2ts/a0

    a21 = – a12

    a22 = a11

    a23 = – a14

    a24 = a13

    a25 = a15

    a31 = LmR1ts/a0

    a32 = -LmL1ts/a0

    a33 = 1-(R2L1ts/a0)

    a34 = -L1L2ts/a0

    a35 = -Lmts/a0

    a0 = L1L2-L 2 a11 = 1-(R1L2ts/a0)

    in the measurement and inside the system.The EKF is based on the nonlinear extended induction motor model that includes the rotor speed as a state variable

    In this paper we are modeling the induction motor as a discrete time varying system and analyses are carried out.

    m s 0

    13 m 2 s 0

    a41 = LmL1ts/a0 a42 = LmR1ts/a0 a43 = L1L2ts/a0 a44 = 1-(R2L1ts/a0) a45 = a35

    ts = discrete sampling interval

    Output is required and stator currents are taken as output in practical case.

    y(k) = [ids iqs]T (7)

    which gives output matrix

    H= 1 0 0 0 (8)

    0 1 0 0

    In the above representation the plant is assumed to be perfect but in actual case it is not.So for handling plant uncertainties a stochastic model is used which is give by

    x(k+1) = F(k)x(k)+G(k)u(k)+w(k) (9)

    y(k) = Hx(k)+v(k) (10)

    where w(k) and v(k) are characterized by E{w(k)}=0, E{v(k)}=0

    E{w(k)w(j)T}=Q Q 0

    E{v(k)v(j)T}=R R 0

    Initial state is characterized by

    A. Simulation Results

    The application of KF for current estimation is illustrated by a computor simulation in MATLAB software as shown in fig.1

    Fig.1 Matlab simulation set up for KF

    The measurement noise covariance is

    R = 0.0001 0 (16)

    0 0.0001

    The process noise covariance is

    0.0001 0 0 0

    E{x(0)= 0

    T

    Q =

    0 0.0001 0 0

    (17)

    E{(x(0)- 0)( x(0)- 0) }= P0

  2. KALMAN FILTER

    The main advantage of Kalman filter is its ability to measure the states which are not measurabale.In cage induction motor the rotor parameters are very difficult to measure.So we can estimate the rotor parameters using Kalman filter.The Kalman filter algorithm is as follows.

    Prediction :

    (k+1/k) = F(k) (k/k) + G(k)u(k) (11)

    P(k+1/k)= F(k)P(k/k)F(k)T+Q (12)

    Kalman gain: K(k+1)=P(k+1/k)H(k+1)T[H(k)P(k+1/k)H(k)T+R]-1 (13)

    Time Update :

    (k+1/k+1) = (k+1/k) + K(k+1)[y(k+1)-H(k+1) (k+1/k)]

    (14) P(k+1/k+1) = P(k+1/k)-K(k+1)H(k+1) P(k+1/k) (15)

    Where K(.) is the kalman gain matrix

    (.) is the state estimate

    k/k denotes the prediction at time k based on data upto and including time k. (k+1)/k denotes the prediction at time k+1 based on data upto and including time k.

  3. ROTOR CURRENT ESTIMATION

    In this section the application of Kalman filter for the estimation of rotor current is described.The KF requires the measurement of plant input ,plant output and rotor speed.The output.The output of KF are the estimates of stator and rotor currents.

    0 0 0.0001 0

    0 0 0 0.0001

    This covariance is chosen primarily to force the KF to use the stator current measurements by specifying that the model is not perfect. Selection of Q matrix is based on trial and error.

    Fig 2.(a)Measured value of rotor d-axis current (b)Estimated value of rotor d-axis current.

    Fig 3.(a)Measured value of rotor q-axis current (b)Estimated value of rotor q-axis current.

    From fig 2-3 it is clear that the estimated value follows the actual/measured value. Thus using KF we are getting an optimal estmate of rotor currents.

  4. THE EXTENDED KALMAN FILTER(EKF) The EKF is a non-linear version of Kalman filter which

    linearizes about an estimate of current mean and covariance. The EKF can be used for state estimation and parameter estimation by treating the parameter to be estimated as an extra state and thus forming augmented model.This augmented model is nonlinear because there is multiplication of states.This can be directly used in EKF.

    To use the KF with nolinear model we have to first linearize the model about a nominal or auxillary state to produce a liner perturbation model.

    Consider the nonlinear state space model[2]

    x(k+1) = f(x(k),u(k)) + w(k) (18) y(k) = Hx(k)+v(k) (19)

    the associated EKF algorithm is

    (K+1)= f( (k),u(k))+K(k)[y(k)-H ()] (20)

    K(k)= F(k)P(k)HT[HP(k)HT+R]-1 (21)

    P(k+1)=F(k)P(k)F(k)T+Q-K(k)[HP(k)HT+R]K(k)T (22)

    F(k)= (.) (k),u(k) (23)

    ()

    1. Rotor Speed Estimation

      Here EKF theory is applied for the simultaneous estimation of stator and rotor currents together with rotor speed.

      x(k) = [x1(k) x2(k) x3(k) x4(k) x5(k)]T

      [ids(k) iqs(k) idr(k) iqr(k) Wr(k)]T x1(k+1) = a11x1(k)+a12x2(k)x5(k)+a13x3(k)+

      a14x4(k)x5(k)+a15u1(k)+w1(k) (20) x2(k+1) = a21x1(k)x5(k)+a22x2(k)+a23x3(k)x5(k)+a24x4(k)+

      a25u2(k)+w2(k) (21)

      x3(k+1) = a31x1(k)+a32x2(k)x5(k)+a33x3(k)+a34x4(k)x5(k)+

      a35u1(k)+w3(k) (22)

      x4(k+1) = a41x1(k)x5(k)+a42x2(k)+a43x3(k)x5(k)+a44x4(k)+

      a45u2(k)+w4(k) (23)

      x5(k+1) = x5(k)+n(k) (24)

      Terms w1()k-w4(k) and n(k) are the zero mean process oise sequences.

      The partial or jacobian derivative matrix for the induction motor is

      F(k) =

    2. Simulation Results

    Fig 4 shows the simulation set up for estimation of rotor speed along with rotor currents.

    Fig.4 Matlab simulation set up for estimation of rotor speed

    Fig 5.(a)Measured value of rotor speed (b)Estimated value of rotor speed

    From the fig.5 it is clear that the estimated value follows the actual value.By using EKF we are getting an optimal filtering. In fig 6 -7 the rotor currents are plotted. From fig 6- 7 it is clear that the estimated value follows the actual value. During the initial stage(transient state) the estimation of currents is optimal.

    Fig 6.(a)Measured value of rotor d-axis current (b)Estimated value of rotor d-axis current.

    11

    12 5()

    13

    14 5()

    31

    32 5()

    33

    34 5()

    12 2 + 14 4()

    21 5() 22 23 5() 24 21 1 + 233()

    32 2 + 34 4()

    41 5() 42 43 5() 44 41 1 + 433()

    0 0 0 0 1

    Fig 7.(a)Measured value of rotor q-axis current (b)Estimated value of rotor q-axis current.

    REFERENCES

    1. C. Manes, F. Parasiliti, and M. Tursini, A comparative study of rotor flux estimation in induction motors with a nonlinear observer and the extended Kalman filter, in Proc. IEEE IECON94, 1994, pp. 2149 2154

    2. D. J. Atkinson, P. P. Acarnley, and J. W. Finch, Parameter identification techniques for induction motor drives, presented at the European Power Electron. Conf., Aachen, Germany, 1989, pp 307 -3 12.

  5. CONCLUSION

This paper shows how Kalman filter can be used to estimate the rotor currents by combining informations from the plant model along with output measurements to produce an optimal state of the motor. Extended Kalman filter is used to estimate the rotor speed along with rotor currents.

Leave a Reply