ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1....

38
1 ME 233 Advanced Control II Lecture 22 Indirect Adaptive Pole Placement, Disturbance Rejection and Tracking Control

Transcript of ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1....

Page 1: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

1

ME 233 Advanced Control II

Lecture 22

Indirect Adaptive Pole Placement,

Disturbance Rejection and Tracking

Control

Page 2: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

2

Adaptive Control

Adaptive Control Principle

Controller parameters are not constant, rather,

they are adjusted in an online fashion by a

Parameter Adaptation Algorithm (PAA)

When is adaptive control used?

• Plant parameters are unknown

• Plant parameters are slowly time varying

Page 3: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

3

Self-Tuning Regulator (STR):

u(t) y(t)plant

adjustablecontroller

modelidentification

controllerdesign

reference

performancespecification

plantparameters

Page 4: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

4

Self-tuning Regulator Approach

• Control Design Procedure:

– Pole-placement, tracking control and deterministic disturbance rejection for ARMA models (Lecture 16).

• Model Identification:

– Series-parallel with Recursive Least Squares (RLS) identification with or without forgetting factor.

Page 5: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

5

Certainty Equivalence Principle

Use pole-placement, tracking control and deterministic

disturbance rejection controller synthesis methodology.

1. Estimate plant parameters using RLS PAA.

2. Controller parameters are re-calculated at every

sample instance by assuming that the latest plant

parameters estimates are the real parameters.

Page 6: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

6

Direct vs. Indirect Adaptive Control• Both use pole-placement, tracking control and deterministic

disturbance rejection controller synthesis methodology.

• Indirect adaptive control:

1. Plant parameters are estimated using a RLS PAA.

2. Controller parameters are calculated using the certainty equivalence principle.

– Use with plants that have non-minimum phase zeros. (Plant unstable zeros are not cancelled).

• Direct adaptive control:

1. Controller parameters are updated directly using a RLS PAA.

– Use with plants that do not have non-minimum phase zeros. (Plant zeros are cancelled).

Page 7: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

7

Outline

1. Review lecture 16: Pole-placement, tracking

control and deterministic disturbance

rejection for ARMA models.

2. Formulate the plant’s Parameter Adaptation

Algorithm (PAA).

3. Implement an indirect adaptive controller,

using the certainty equivalence principle.

4. For plants with minimum phase zeros, we

will simplify the indirect adaptive controller.

Page 8: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

8

Deterministic SISO ARMA models

SISO ARMA model

Where all inputs and outputs are scalars:

• control input

• deterministic but unknown disturbance

• output

Page 9: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

9

Deterministic SISO ARMA models

Where polynomials:

are co-prime and d is the known pure time delay

Page 10: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

10

Deterministic SISO ARMA models

We factor the zero polynomial as:

where

is anti-Schur

has the zeros that we

do not want to cancel

Page 11: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

11

Control Objectives1. Pole Placement: The poles of the closed-loop

system must be placed at specific locations in the

complex plane.

• Closed-loop polynomial:

Where:

• cancelable plant zeros

• anti-Schur polynomial of the form

chosen by

the designer

Page 12: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

12

Control Objectives

2. Tracking: The output sequence must follow

a reference sequence which is known

In general, yd(k) can be generated by a reference model of

the form

The design of Am(q -1) and Bm(q -1) is not a part of this

control design technique and these polynomials do not

enter into the analysis

anti-Schur polynomial

Page 13: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

13

Control Objectives

3. Disturbance rejection: The closed-loop system

must reject a class of persistent disturbances

• Disturbance model:

Where

• is a known annihilating polynomial

with zeros on the unit circle

• are co-prime

Page 14: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

14

Control Law• Feedback and feedforward actions:

Feedforward action

(a-causal)

r(k) u(k) y(k)u (k) -dq B( )-1q

A( )-1qR( )

-1q

1

S( )-1q

-1qT( )

d(k)

+

-

+,q

reference output

Page 15: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

15

Feedback Controller

Diophantine equation: Obtain polynomials

that satisfy:

Unstable plant zerosPlant poles

Disturbance annihilating polynomial

Close loop

poles minus

cancelled zeros

Page 16: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

Feedback Controller16

Page 17: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

17

Zero-phase error feedforward

Page 18: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

18

Outline

1. Review lecture 16: Pole-placement, tracking

control and deterministic disturbance

rejection for ARMA models.

2. Formulate the plant’s Parameter Adaptation

Algorithm (PAA).

3. Implement an indirect adaptive controller,

using the certainty equivalence principle.

4. For plants with minimum phase zeros, we

will simplify the indirect adaptive controller.

Page 19: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

19

Certainty Equivalence Principle

Use pole-placement, tracking control and deterministic

disturbance rejection controller synthesis methodology.

1. Estimate plant parameters using RLS PAA:

• Polynomial estimates:

2. Controller polynomials

Feedforward compensator

are computed using

Page 20: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

20

Parameter Adaptation Algorithm (PAA)

1. Use a series-parallel RLS algorithm to estimate plant

parameters.

2. Pre-filter input u(k) and output y(k) using the

disturbance annihilating polynomial, to prevent

parameter biasing.

3. Use “parameter projection” to prevent unbounded

control input

Page 21: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

21

PAA: sequence pre-filtering

Plant dynamics:

Disturbance:

Filtered input and output sequences:

Page 22: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

22

PAA: sequence pre-filtering

Multiply plant dynamics by annihilating polynomial:

Page 23: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

23

PAA: series parallel RLS

Filtered plant dynamics

Can be written as

Where:

Page 24: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

24

PAA: parameter projection

Assume that we know:

1. Minimum magnitude of DC gain of

2. Sign and minimum value of leading coefficient of

Page 25: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

25

Series parallel RL with projection

PAA:

A-priori parameter estimate (prior to projection)

Page 26: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

26

Series parallel RL with projection

PAA: Projection

Replace by if it becomes too

small.

Page 27: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

27

Outline

1. Review lecture 16: Pole-placement, tracking

control and deterministic disturbance

rejection for ARMA models.

2. Formulate the plant’s Parameter Adaptation

Algorithm (PAA).

3. Implement an indirect adaptive controller,

using the certainty equivalence principle.

4. For plants with minimum phase zeros, we

will simplify the indirect adaptive controller.

Page 28: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

28

Indirect Adaptive Controller

After each PAA iteration:

1) Update polynomials:

2) Factorize polynomial:

: has constant coefficient 1

Page 29: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

29

Indirect Adaptive Controller

3) Calculate controller polynomials:

by solving the Diophantine equation:

Plant parameter polynomial estimates are used

instead of actual polynomials

Page 30: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

30

Indirect Adaptive Controller

4) Calculate feedforward filter:

Where:

Replace by

if it becomes too small.

Page 31: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

31

Indirect Adaptive Controller

5) Calculate polynomial:

Notice that and

each have constant coefficient 1

Thus,

has constant coefficient

Page 32: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

32

Indirect Adaptive Controller

6) Adaptive control law is given by:

r(k) u(k) y(k)u (k) -dq B( )-1q

A( )-1qR( )

-1q

1

S( )-1q

-1qT( )

d(k)

+

-

+,q

Page 33: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

33

Outline

1. Review lecture 16: Pole-placement, tracking

control and deterministic disturbance

rejection for ARMA models.

2. Formulate the plant’s Parameter Adaptation

Algorithm (PAA).

3. Implement an indirect adaptive controller,

using the certainty equivalence principle.

4. For plants with minimum phase zeros, we

will simplify the indirect adaptive controller.

Page 34: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

34

Indirect Adaptive Controller with Stable Zeros

After each PAA iteration:

1) Update polynomials:

• (no need to factorize )

Page 35: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

35

Indirect Adaptive Controller with Stable Zeros

2) Calculate controller polynomials:

by solving the Diophantine equation:

Plant parameter polynomial estimates are used

instead of actual polynomials

Page 36: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

36

Indirect Adaptive Controller with Stable Zeros

• Feedforward filter is constant and known

Thus, there is no need to update it at every sample step.

Page 37: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

37

Indirect Adaptive Controller with Stable Zeros

3) Calculate polynomial:

Notice that both and

have constant coefficient 1

Thus,

This coefficient is always

Page 38: ME 233 Review - ME233 Advanced Control Systems II, UC … · • Direct adaptive control: 1. Controller parameters are updated directly using a RLS PAA. – Use with plants that do

38

Indirect Adaptive Controller with Stable Zeros

4) Adaptive control law is given by:

r(k) u(k) y(k)u (k) -dq B( )-1q

A( )-1qR( )

-1q

1

S( )-1q

-1B (q )

d(k)

+

-

+

^

^