topic 18: sensorless and adaptive vector control of induction motor drives spring 2004 ece 8830 -...

85
Topic 18 : Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Upload: walter-mccarthy

Post on 13-Jan-2016

245 views

Category:

Documents


17 download

TRANSCRIPT

Page 1: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Topic 18: Sensorless and Adaptive Vector

Control of Induction Motor Drives

Spring 2004

ECE 8830 - Electric Drives

Page 2: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Introduction

Position encoders/resolvers are expensive and introduce reliability concerns for vector controlled ac motor drives. It is therefore desirable to have a vector control scheme that does not require this type of sensor.

The concept of sensorless control is to use estimation techniques to estimate the position of the rotor from motor terminal voltage and current signals. These signal processing methods are then implemented into ac motor drives using DSP chips.

Page 3: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Introduction (cont’d)

For drives where only moderate dynamic performance is required, three types of open loop control approaches may be used:

Back emf-based estimation Constant V/Hz control Space harmonics-based speed estimation These are discussed in the Holtz paper in

some detail.

Page 4: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Introduction (cont’d)

For high performance drives, vector control based systems can be used. These methods include:

Rotor field orientation Model reference adaptive systems Feedforward control of stator voltages Stator flux orientation Estimation of rotor flux and torque current

Page 5: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Introduction (cont’d)

As the rotor speed drops, the open loop estimation models lose accuracy. At lower speeds, closed loop approaches provide improved performance. Also, adaptive/self-tuning approaches are useful when machine parameters are not fully known. We will consider various adaptive approaches in this discussion. Finally, rotor speed estimation is not possible at motor start up and so special techniques to start the motor must be used. These are not described here.

Page 6: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Rotor Speed Estimation Methods

Rotor speed estimation methods for an ac induction motor may be classified as follows:

Slip calculation Direct synthesis from state equations Model referencing adaptive system Speed adaptive flux observer Extended Kalman filtering Slot harmonics Injection of auxiliary signal on salient rotor

Page 7: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Slip Calculation

If we know the slip frequency sl then we can calculate the rotor speed from the relation, r= e- sl. How can we determine sl and e ?

;

where and .

1

( )r s qs

slr ds s ds

ST L i

L i

2

( ) ( )s s s s s sqs qs s ds ds ds s qs

e

s

v i R v i R

2

1 m

s r

L

L L r

rr

L

R

Page 8: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Slip Calculation (cont’d)

Accurate calculation of sl is difficult for high efficiency motors, especially near synchronous speed because the signal amplitude is small and strongly dependent on motor parameters. Also, at low speeds, direct integration of the motor terminal voltages is problematic to obtain sl and e.

Page 9: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Direct Synthesis from State Equations

The state equations in the ds-qs reference frame can be manipulated to yield the rotor speed.

The stator voltage in the ds-qs reference frame is given by:

But

where

s ss ds dm

ds ds s ls

di dv i R L

dt dt

s s srdr dm lr ds

m

LL i

L

( )s

s sm drds s s ds

r

L dv R L s i

L dt

2

1 m

r s

L

L L

Page 10: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Direct Synthesis from State Equations (cont’d)

This equation can be rewritten as:

A similar expression can be derived for qrs as:

The rotor flux equations in a stationary ds-qs reference frame can be written as:

and

( )s

s sdr r rds s s ds

m m

d L Lv R L s i

dt L L

( )sqr s sr r

qs s s qsm m

d L Lv R L s i

dt L L

1ss s sdr mds r qr dr

r r

d Li

dt

1sqr s s sm

qs r dr qrr r

d Li

dt

Page 11: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Direct Synthesis from State Equations (cont’d)

The angle e between de and ds is given by:

But

Ignoring higher order terms, we can write

arctansqr

e sdr

ds

qs

drs

qrs

r

de

e

3 5

arctan( ) ...3 5

x xx x

sqr

e sdr

Page 12: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Direct Synthesis from State Equations (cont’d)

Combining these equations and some algebra gives:

2

s s s sdr qr qr dre

sdr

d

dt

2

s s s sdr qs qr dse m

r sr dr

i id L

dt

2

1 s s s s s s s smdr qr qr dr dr qs qr dss

dr r

Li i

Page 13: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Direct Synthesis from State Equations (cont’d)

A block diagram of this method is shown below:

Note: This approach is highly sensitive to motor parameter values.

Page 14: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Model Reference Adaptive System (MRAS)

In the model reference adaptive system (MRAS) approach, the output of a reference model is compared to the output of an adjustable/adaptive model until the errors between the two models converge. The reference model is based on stator equations and the adaptive model is based on the rotor equations. A figure showing speed estimation using the MRAS scheme is shown on the next slide.

Page 15: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Model Reference Adaptive System (MRAS) (cont’d)

Page 16: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Model Reference Adaptive System (MRAS) (cont’d)

The stator-side equations are given by:

where vdss and ids

s are the stator-side d-axis voltage and currents in the stationary reference frame and vqs

s and iqss are the stator-side q-axis voltage and

currents in the stationary reference frame.

( )sqr s sr r

qs s s qsm m

d L Lv R L s i

dt L L

( )s

s sdr r rds s s ds

m m

d L Lv R L s i

dt L L

Page 17: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Model Reference Adaptive System (MRAS) (cont’d)

Thus the rotor fluxes and can be obtained by integration of these equations.

The adaptive model is developed from the rotor-side current flux equations given by:

sdr s

qr

1s ss sdr m ds

r qr drr r

d L i

dt

1s sqr m qs s s

r dr qrr r

d L i

dt

Page 18: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Model Reference Adaptive System (MRAS) (cont’d)

With the correct value of rotor speed, the fluxes determined from the two models should match. An adaptation algorithm with P-I control can be used to tune the speed value until the two flux values match.

Three issues are important regarding this approach: 1) Stability of the adaptation control loop 2) Convergence of the adaptation algorithm. 3) Integrator drift/inaccuracy

Page 19: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Model Reference Adaptive System (MRAS) (cont’d)

The overall stability of the system can be achieved using Popov’s criteria for hyperstability (see Bose text).

Accuracy and drift problems inherent to the integration process in the reference model at low speed are alleviated by using a delay element (low pass filter) instead of an integrator in the stator model (see Holtz’s paper for details).

Page 20: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Slot Harmonics

This is one of the simplest methods for rotor speed estimation. The slots on the surface of the rotor of an induction motor provide reluctance modulation which creates harmonics in the airgap flux. These in turn modulate the stator flux linkage with a frequency proportional to the rotor speed. Thus, induced stator voltage waves will contain a ripple voltage component whose frequency and magnitude are proportional to the rotor speed.

Page 21: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Slot Harmonics (cont’d)

If the number of rotor slots is not a multiple of 3, the desired slot harmonic signals can be separated from the much larger fundamental emf by taking the sum of the 3 phase voltages in a wye connected winding. This eliminates all nontriplen harmonic voltage components (including the fundamental) and the slot harmonic voltages add up. Their frequency is proportional to the rotor speed.

Page 22: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Slot Harmonics (cont’d)

The slot harmonic frequency is locked onto using a PLL while other harmonics are filtered using an adaptive BPF. The output of the PLL gives the rotor speed.

Because of the low number of rotor slots, the speed resolution of this approach is poor at low speeds. Nevertheless, it is a useful method for high speed sensorless drive applications.

Page 23: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Adaptive Observers

The accuracy of open loop estimation methods decreases as the rotor speed decreases. The performance of these techniques depends on how closely the machine parameters match those used in the models.

The robustness of sensorless control to parameter mismatch and noise can be improved using closed loop estimation methods. Such closed loop estimators are referred to as observers (as opposed to estimators) and are described next.

Page 24: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Full Order Nonlinear Observers

A signal flow diagram for a full order nonlinear observer is shown below:

Page 25: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Full Order Nonlinear Observers (cont’d)

The addition of the error compensator makes it an observer. The error between the model current and the motor current is . The error signal is used to correct the inputs to the dynamic subsystems of the stator and rotor. These corrections are based on the following observer equations (derived from the motor model - see Holtz’s paper):

si s e i i

' '

1(1 ) ( )s r

s e s r r s r sr

d kj j G

dt r r

i

i i ψ v e

( ) ( )rr r e r r h s r s

dj l G

dt

ψψ ψ i e

Page 26: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Full Order Nonlinear Observers (cont’d)

The complex gain factors G() are selected so as to ensure good dynamic response of the control system. It should also be recognized that the gain factors themselves are dependent on the estimated angular mechanical rotor speed since the system is nonlinear.

This type of full order nonlinear observer has demonstrated performance down to speeds as low as 0.034 p.u. or 50 rpm.

Page 27: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control

The effective gains of the error compensator can be increased by using a sliding mode controller to tune the observer for both speed adaptation and for rotor flux estimation. It provides robust performance for a drive with respect to variations in motor parameters as well as rapid changes in load torque.

This control approach is nonlinear where the drive response is forced to “slide” along a predefined trajectory in a phase plane by a switching algorithm despite parameter variations or load disturbances.

Page 28: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

The control DSP detects any deviation from the predefined trajectory and changes the switching strategy to get the system back on track.

The general principle of sliding mode control will be reviewed and then its application to vector control of induction motors studied.

Page 29: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Consider a sliding mode controller (SMC) for a simple second-order undamped linear system with a variable plant gain, K. The SMC controller comprises two switches with the option of positive or negative feedback as shown in the figure below.

Page 30: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

In either the positive or negative feedback case, the system can be shown to be unstable. However, when switched between the two states, not only can stability be achieved but the system can be made robust against variations in K.

Page 31: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Consider first the case of negative feedback, i.e. switch 1 closed. In this case,

X1=R-C

or R-X1=C where X1=loop error

Differentiating this expression gives:

or

1 2( )d dCR X X

dt dt

12

dXX

dt

Page 32: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

To satisfy the loop relation, we can also write:

Combining these equations gives:

The general solution to this equation is:

21

dXKX

dt

21

1 0d X

KXdt

1

12

sin( )

cos( )

X A Kt

dXX K A Kt

dt

Page 33: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Combining these equations gives:

This is the equation of an ellipse as shown below:

2 2

1 222

1X X

A K A

Page 34: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Similarly, in the positive feedback mode, (switch 2 closed) the equations become:

and

Combining these equations gives:

12

dXX

dt

21

dXKX

dt

21

120

d XKX

dt

Page 35: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

The general solution to this equation is:

Squaring and combining these equations gives:

This equation describes a set of hyperbolas as shown on the next slide.

1 1 2

12 1 2

Kt Kt

Kt Kt

X B e B e

dXX KB e KB e

dt

2 21 2

1 2 1 2

14 4

X X

B B B B

Page 36: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

The straight line asymptote equations are obtained by setting B1B2=0 which gives:

=> 2 21 2 1 24 0KX X KB B

2 1X K X

Page 37: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d) The system can be switched back and forth between

these two modes. The superposition of the two phase plane diagrams results in the figure shown below:

The hyperbolic asymptote line is described by: where =0 is on the line.

1 2K X X

Page 38: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Assume that system at t=0 is in -ve feedback mode at pt. X10. It moves along the ellipse until the +ve feedback mode is invoked at pt. B. It will then (ideally) move along B0 to settle at 0 at steady state, where X1 and X1 are zero. Let us define a straight line reference trajectory by the equation:

where C< so that the line slope is lower than and beyond the range of the variation in K.

1 2 0CX X

K

Page 39: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Notice that the +ve and -ve feedback ellipses and hyperbolas cross the reference trajectory in opposite directions. This results in a zigzag variation about the reference trajectory until steady state is reached (as the operating condition is switched back and forth between +ve and -ve feedback).

Page 40: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

The time domain response is given by:

where t0 is the time to reach the sliding line. This equation represents a deceleration to the steady state point with an exponential decay of X1.

0( )1 1 0( ) ( ) C t tX t X t e

Page 41: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Note the polarities of , X1 and X2 above and below the sliding line shown in the previous figure. The strategy of switching control is defined by these polarities.

In order to ensure that the reference trajectory is crossed on each switching action, a reaching equation must be satisfied as given below:

for 0lim 0

d

dt

Page 42: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

We now consider how to apply SMC to a vector-controlled induction motor drive. A block diagram of such a drive is shown below:

Page 43: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d) We want to make the drive response robust to

variations in the following parameters: Torque constant, Kt, Moment of inertia, J

Friction damping coeff., B and load torque disturbance, TL.

If we have a step command of r*, we can write down the

following equations:

; ;

; .1e t qs tT K i K KU *

1 r rX

*1

2r r

m

dX d dX

dt dt dt

2

1( )e LT T X

Js B

Page 44: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

The second-order plant model can be expressed in state-space form in terms of the state variables X1 and X2 as follows:

where b=B/J, a=KtK1/J, and d=1/J.

2 2 1t LJsX BX K KU T

122

1tL

K KdX BX U T

dt J J J

1

1

22

0 1 0 0

0 L

dXXdt U TXdX b a d

dt

Page 45: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

The proposed sliding mode control is shown in detail in the figure below:

Page 46: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Three main loops in this control system:1) Primary loop receives position loop error X1 and

generates U1with gains i and i.

2) Secondary loop takes X2 input (from the speed input m) and generates U2 with gains i and i.

3) An auxiliary loop injects a constant signal A and generates output U0 to eliminate steady state error due to coulomb friction and load torque TL.

All the loops contribute to the resultant signal U which is the sum of U0, U1 and U2.

Page 47: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

The sliding trajectory during acceleration, deceleration and constant speed is shown below:

Page 48: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

The sliding trajectory may be defined as follows for the three segments:

Acceleration segment:

where X10 = initial position error

Constant speed segment:

where -X20 = max. +ve speed

21 2 1 10( )X X X

2 2 20X X

Page 49: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Deceleration segment:

Note: In all cases, =0 => reference trajectory.

Only the primary loop is required but the secondary loop improves system performance.

The control parameters for each of the loops is derived for each segment in the Bose text. The resulting control rules are presented in the next three slides.

3 1 2CX X

Page 50: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Acceleration Segment:

In the primary loop, 1<0 and 1>0.

In the secondary loop,

; 2

12

1 2 2

2LdT b X

a X

21

2

1 2 2

2LdT b X

a X

Page 51: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Deceleration Segment:

In the primary loop, 3>0 and 3<0.

In the secondary loop,

;

3

C b

a

3

C b

a

Page 52: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Constant Speed Segment:

In the primary loop, 2>0 and 2<0.

In the secondary loop,

;2LdT b

a

2

LdT b

a

Page 53: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sliding Mode Control (cont’d)

Practical implementation of sliding mode control requires a fast signal processor and Holtz reports running such a controller down to 0.036 p.u. minimum speed.

Recently, SMC’s combined with fuzzy logic have been reported in the literature.

Page 54: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters

Extended Kalman filters (EKFs) can also be used for rotor speed estimation and motor control. The EKF is a full-order stochastic observer that allows estimation of a nonlinear dynamic system corrupted by noise (due to measurement and modeling inaccuracies).

A block diagram of the EKF algorithm is shown on the next slide.

Page 55: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters (cont’d)

Page 56: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters (cont’d)

The EKF algorithm uses the full motor dynamic model. The augmented motor model can be expressed as:

where , ,

and

s

dXAX BV

dt

Y CX

Ts s s sds qs dr qr rX i i

Ts sds qsY i i

1 0 0 0 0

0 1 0 0 0C

Ts ss ds qsV v v

Page 57: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters (cont’d)

2 2

2 2

2 2

2 2

0 0

0 0

0 0

0 0

0 0 0 0 0

m r r s m r m r

s r s r s r

m r r s m r m r

s r s r s r

m r rr

r r

m r rr

r r

L R L R L R L

L L L L L L

L R L R L L R

L L L L L LA L R R

L L

L R R

L L

10

10

0 0

0 0

0 0

s

s

L

LB

and

Page 58: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters (cont’d)

These equations are of 5th order. Assuming a constant rotor speed, the motor model is linear. For DSP implementation of the EKF algorithm, the model must be expressed in a discrete form as:

X(k+1)=AdX(k)+BdU(k)+V(k)

Y(k) = CdX(k)+W(k)

where V(k) and W(k) are zero mean, Gaussian white noise vectors of X(k) and Y(k).

Page 59: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters (cont’d)

The statistical variations due to noise and errors in measurements are incorporated into three covariance matrices, expressed as Q, R and P. Q is a 5x5 covariance matrix that is associated with system noise, R is a 2x2 covariant matrix associated with fluctuations in the measurements, and P is a system state vector covariance matrix that is also 5x5.

Page 60: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters (cont’d)

A detailed flow diagram is shown below:

Page 61: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters (cont’d)

There are two main stages - a prediction stage and a filtering stage.

In the prediction stage, the next predicted values of states X*(k+1) are calculated by the motor model and the previous estimated values. Also, the predicted P*(k+1) is calculated using the covariance vector Q.

Page 62: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Extended Kalman Filters (cont’d)

In the filtering stage, the next estimated states

(k+1) are obtained from X*(k+1) by adding a correction term eK, where e=Y(k+1) -Y(k+1) and K=Kalman filter gain. The EKF computations are performed iteratively until e approaches 0.

This is a rather complex approach and is rather slow because of the extensive computation required. It is therefore not suitable for high speed applications. Lower order models (3rd and 4th order) requiring less extensive computation have been demonstrated (see Holtz’s paper).

X

Page 63: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control

Fuzzy logic control emulates fuzzy human thinking. It is one of a set of techniques referred to as “intelligent control” which also include expert systems and neural networks.

Fuzzy logic control is a powerful technique for modeling complex, nonlinear systems. The dynamic d-q model of an ac motor is an example of a multivariable, complex, nonlinear system that is well suited to fuzzy logic control.

Page 64: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic vs. Aristotelian Logic

In Aristotelian logic, a quantity is either a member of a set or is not a member of a set. The set has sharp (or crisp) boundaries.

In fuzzy logic, a quantity may be a member of a set to some degree or not be a member of a set to some degree. The boundaries of the set are fuzzy rather than crisp.

Page 65: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Systems

A fuzzy system is a rule-based mapping of inputs to outputs for a system.

It can be theoretically proven that a fuzzy system is a universal approximator*.

* see “Fuzzy Engineering” by Bart Kosko

Page 66: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Membership Functions

Courtesy Jim Sibigtroth, Motorola

Page 67: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzifier RulesProcessor

Defuzzifier

KnowledgeDatabase

Complete Fuzzy System

Input Output

Page 68: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy System Block Diagram

Courtesy Jim Sibigtroth, Motorola

Page 69: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Rule Activation over Control Surface

Courtesy Jim Sibigtroth, Motorola

Page 70: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

3-D Control Surface

Courtesy Jim Sibigtroth, Motorola

Page 71: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

m1

n1

F1

m2

n2 F2

S1

S2

Example: Two input, two rule Fuzzy Model

A1

A2

Rule1

Rule2

Page 72: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Mamdani Implication: F1 = min (m1, n1) F2 = min (m2, n2)

Defuzzification Conversion: Weighted Average

SystemOutpu tS A F

A F

i i ii

n

i ii

n

1

1

A1, A2: areas of output membership functionsS1, S2: singletons of output membership functions.

Techniques for Inference

Page 73: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Mamdani Approach

Most commonly used approach to developing fuzzy logic models for control applications.

Uses expert knowledge to generate rule set.

Uses membership functions for both input and output variables.

Computationally intensive compared to Sugeno approach.

Page 74: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Sugeno Approach

Output membership functions are “singletons” (zero order) or polynomials (first order).

The rule in a first order Sugeno model may be expressed as:if x is A and y is B then z=p*x+q*y+r

where p, q, and r are constants. Computationally efficient. Well suited to optimization/adaptation.

Page 75: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Supervised Learning

In supervised learning, an initial set of membership functions and rules are generated. The model is then optimizedusing neural network algorithms (e.g. back propagation) to minimize the error betweentraining data and model-generated data.

Page 76: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Unsupervised Learning

In unsupervised learning, the initial set ofmembership functions and rule set are self-generated using clustering algorithms.Optimization can then be performed using neural network algorithms.

Page 77: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example

Consider the fuzzy speed controller shown below for a vector-controlled drive system. The controller observes the pattern of the speed loop error signal and updates the output DU so that r= r

*.

Page 78: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example (cont’d)

Two input signals to the fuzzy controller - error E= r- r

* and CE ~ dE/dt. Based on the physical operation of the controller, we can write the simple control rule:

“IF E is near zero (ZE) AND CE is slightly positive (PS) THEN the controller output DU is slightly negative”.

This is implemented as shown:

Page 79: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example (cont’d)

A two rule control is shown below with rules:Rule 1: IF E=ZE AND CE=NS THEN DU=NSRule 2: IF E=PS AND CE=NS THEN DU=ZE

Page 80: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example (cont’d)

Now consider a more detailed fuzzy logic model for speed control of a vector-controlled induction motor drive. The membership functions for e, ce and du in per unit values are shown on the next slide with the following definitions of terms:

NB=-ve big NM=-ve medium NS=-ve small

NVS=-ve very small Z=Zero PVS=+ve very small PS=+ve small PM=+ve medium PB=+ve big

Page 81: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example (cont’d)

Page 82: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example (cont’d)

The rule matrix for fuzzy speed control is shown in the table below with the rules in the form:

“IF e(pu)=PS AND ce(pu)=NM THEN du(pu)=NS”

Page 83: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example (cont’d)

The general design control guidelines are:1. If both e(pu) and ce(pu) are zero, maintain the

present control setting du(pu)=0.2. If e(pu) 0 but is approaching zero at a satisfactory

rate, then maintain the present control setting.3. If e(pu) is growing the change the control signal

du(pu) depending on the magnitude and sign of e(pu) and ce(pu) to force e(pu) towards zero.

See pp. 584 Bose for detailed fuzzy control algorithm description.

Page 84: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example (cont’d)

The response of the fuzzy controller for a particular motor with steps of speed command and load torque with nominal inertia (J) is shown below:

Page 85: Topic 18: Sensorless and Adaptive Vector Control of Induction Motor Drives Spring 2004 ECE 8830 - Electric Drives

Fuzzy Logic Control of Induction Motor Drive Example (cont’d)

The response of the fuzzy controller for the same motor with steps of speed command and load torque with 4x nominal inertia (4J) is shown below: