me 233 review · me 233 advanced control ii lecture 15 deterministic input/output approach to siso...

43
1 ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control

Upload: others

Post on 06-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

1

ME 233 Advanced Control II

Lecture 15

Deterministic Input/Output Approach to

SISO Discrete-Time Systems

Repetitive Control

Page 2: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

2

Deterministic SISO ARMA models

SISO ARMA model

Where all inputs and outputs are scalars:

• control input

• is a periodic disturbance of period N

• output

Page 3: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

3

Repetitive control assumptions

Both the disturbance and the reference model

output are periodic sequences,

where N is a known and large number

Page 4: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

4

Deterministic SISO ARMA models

Where the polynomials

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

Also, the polynomials B(q-1) and (1-q -N) are co-prime

Page 5: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

5

Deterministic SISO ARMA modelsThe zero polynomial:

has

• mu zeros that we do not want to cancel.

• ms zeros inside the unit circle (asymptotically stable)

that we do want to cancel.

is anti-Schur

has the zeros (in q) that we

do not want to cancel

Page 6: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

6

Deterministic SISO ARMA modelsThe zero polynomial:

Without loss of generality, we will assume that

Page 7: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

7

Block Diagram

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

A( )-1qR( )

-1q

1

S( )-1q

d(k)

-

+C ( )

-1qR

+ +e(k) u (k)r

-

dy (k)

Control strategy: We design the controller in two stages

1. Minor-loop pole placement: Place minor-loop poles

(these will be cancelled later)

2. Repetitive compensator: Reject periodic disturbance

Follow periodic reference

Page 8: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

8

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

minor-loop system are placed at specific locations in

the complex plane. They will be cancelled later.

• Minor-loop pole polynomial:

Where:

• cancelable plant zeros

• anti-Schur polynomial chosen by the designer

Page 9: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

9

Control Objectives

2. Tracking: The output sequence must

asymptotically follow a reference sequence

which is periodic

• Error signal:

3. Disturbance rejection: The closed loop system

must reject a class of deterministic disturbances

which satisfy

Page 10: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

10

Step1: Minor-loop pole placement

Diophantine equation: Obtain polynomials

that satisfy:

plant zerosPlant polesClosed-loop poles

We will factor

out the

polynomial next

The disturbance annihilating polynomial has not been included

Page 11: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

11

Minor-loop pole placement

Diophantine equation: Obtain polynomials

which satisfy:

Unstable plant zerosPlant poles

The disturbance annihilating polynomial has not been included

Closed-loop

poles

Page 12: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

12

Diophantine equation

Solution:

Page 13: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

13

Minor-loop pole placement

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

A( )-1qR( )

-1q

1

S( )-1q

d(k)

+

-

+u (k)r

Page 14: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

14

Minor-loop pole placement

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

A( )-1qR( )

-1q

1

S( )-1q

d(k)

+

-

+u (k)r

Closed-loop dynamics

filtered repetitive disturbance

Page 15: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

15

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

A ( )-1q

d(k)

-

++ u (k)r

C ( )-1qR

dy (k) u

c

-dq B( )-1q

A ( )-1qc

R ( )q-1d (k)f

e(k)

,

,

,

Equivalent Block Diagram

Notice that is still a periodic disturbance

repetitive

compensator

Page 16: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

16

Equivalent Block Diagram

where

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

repetitive

compensator

Page 17: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

17

Repetitive Compensator

Repetitive compensator strategy:

1. Cancel stable poles and delay

2. Zero-phase error compensation for

3. Include annihilating polynomial in the

denominator

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

repetitive

compensator

Not q -1

Page 18: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

18

Repetitive Compensator

Repetitive compensator :

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

so that CR is implementable

Page 19: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

19

Repetitive Compensator

• Closed-loop dynamics

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Page 20: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

20

Repetitive Controller

Closed-loop dynamics: doing a bit of algebra, we

obtain,

Where the closed-loop poles are the zeros of

Page 21: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

21

Repetitive Controller

since,

Where

we obtain

Page 22: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

22

Repetitive Controller

Theorem

The tracking error if the gains

are selected as follows:

1.

2.

Page 23: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

23

Closed-loop poles for minimum phase zeros

Consider now the case when there are no unstable zeros,

e.g.

Then the closed-loop poles are given by

choose b = 1 so that

Page 24: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

24

Closed-loop poles for minimum phase zeros

For the case when the are no unstable zeros,

the closed-loop poles are given by the roots of

When 0 < kr < 2, we have

N asymptotically stable closed-loop poles

Case 1: 0 < kr · 1

Case 1: 1 < kr < 2

Page 25: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

25

Repetitive control example

Assume that N = 4y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Choose

Page 26: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

26

Repetitive control example

Open-loop TF

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Closed-loop poles:

Root Locus

Real Axis

Imag

Axis

-1.5 -1 -0.5 0 0.5 1 1.5-1.5

-1

-0.5

0

0.5

1

1.5

Page 27: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

27

Closed-loop poles for non-minimum phase zeros

Now consider the general case, i.e. there are unstable zeros

Assume that we have chosen b such that

The closed-loop poles are the roots of

Page 28: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

28

Closed-loop poles for non-minimum phase zeros

The closed-loop poles are the roots of

Page 29: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

29

Closed-loop poles for non-minimum phase zeros

Therefore is equivalent to

B ( )-1z

Nz

uB ( )z

u- 1

-

r(k /b)

Page 30: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

30

Closed-loop poles for non-minimum phase zeros

By Nyquist’s theorem, the closed-loop system is asymptotically stable if

there are no encirclements around –1.

B ( )-1z

Nz

uB ( )z

u- 1

-

r(k /b)

This is guaranteed if the following hold for

1-1

Page 31: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

31

Closed-loop poles for non-minimum phase zeros

Case 1:

We have

Page 32: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

32

Closed-loop poles for non-minimum phase zeros

Case 2:

We have

Since Bu(q-1) and 1-q -N are co-prime, we have that

Closed-loop stability

Page 33: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

33

Repetitive Compensator

Repetitive compensator:

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

The controller has N open-loop poles

on the unit circle

Page 34: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

34

Repetitive control example

Assume that N = 4y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Choose

Page 35: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

35

Repetitive control example

Open-loop TF

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Closed-loop poles:

Root Locus

Real Axis

Imag

Axis

-1.5 -1 -0.5 0 0.5 1 1.5-1.5

-1

-0.5

0

0.5

1

1.5

Page 36: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

36

Repetitive control, inexact cancellation

Assume that N = 4 y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

But, unmodeled dynamics are not cancelled

Plant:

therefore,

Page 37: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

37

Repetitive control, inexact cancellation

Open loop TF

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Closed-loop poles:

Root Locus

Real Axis

Imag

Axis

-1.5 -1 -0.5 0 0.5 1 1.5-1.5

-1

-0.5

0

0.5

1

1.5

Page 38: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

38

Repetitive control, inexact cancellation

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Closed-loop poles:

Repetitive control is not robust to unmodeled dynamicsRoot Locus

Real Axis

Imag

Axis

-1.5 -1 -0.5 0 0.5 1 1.5-1.5

-1

-0.5

0

0.5

1

1.5

Page 39: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

39

Robust Repetitive Compensator

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Controller’s N open-loop poles are no longer on the unit circle

moving average filter with zero-phase shift

characteristics

Add Q-filter

Page 40: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

40

Robust Repetitive Compensator

moving average filter with zero-phase shift

characteristics

has unit DC gain and gain decreases as

frequency increases

Page 41: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

41

Robust Repetitive Compensator

Notice that the disturbance d(k) is no longer completely

annihilated, since

However, with a proper choice of Q filter,

Page 42: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

42

Robust Rep. control, inexact cancellation

Assume that N = 4 y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

But, unmodeled dynamics are not cancelled

Plant:

where,

Page 43: ME 233 Review · ME 233 Advanced Control II Lecture 15 Deterministic Input/Output Approach to SISO Discrete-Time Systems Repetitive Control. 2 Deterministic SISO ARMA models SISO

43

Robust Rep. control, inexact cancellation

y(k)

-

++ u (k)r

C ( )-1qR

dy (k) e(k)

d (k)f

G ( )-1qc

Closed-loop poles:

Root Locus

Real Axis

Imag

Axis

-1.5 -1 -0.5 0 0.5 1 1.5-1.5

-1

-0.5

0

0.5

1

1.5

Closed-loop system is

asymptotically stable for

a finite range of kr