Setpoint Tracking in SS Systems 1. Setpoint Tracking in SS Systems - - PowerPoint PPT Presentation

setpoint tracking in ss systems
SMART_READER_LITE
LIVE PREVIEW

Setpoint Tracking in SS Systems 1. Setpoint Tracking in SS Systems - - PowerPoint PPT Presentation

Setpoint Tracking in SS Systems 1. Setpoint Tracking in SS Systems 1. In addition to the standard state space model, x ( k + 1) = Ax ( k ) + Bu ( k ) y ( k ) = Cx ( k ) Setpoint Tracking in SS Systems 1. In addition to the standard state


slide-1
SLIDE 1

1.

Setpoint Tracking in SS Systems

slide-2
SLIDE 2

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k)

slide-3
SLIDE 3

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action:

slide-4
SLIDE 4

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k)

slide-5
SLIDE 5

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error,

slide-6
SLIDE 6

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error, given by r − y(k),

slide-7
SLIDE 7

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error, given by r − y(k), resulting in, xI(k + 1) = xI(k) + r − y(k) =

slide-8
SLIDE 8

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error, given by r − y(k), resulting in, xI(k + 1) = xI(k) + r − y(k) = xI(k) + r − Cx(k)

slide-9
SLIDE 9

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error, given by r − y(k), resulting in, xI(k + 1) = xI(k) + r − y(k) = xI(k) + r − Cx(k) Combine the two and form an augmented state equation:

slide-10
SLIDE 10

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error, given by r − y(k), resulting in, xI(k + 1) = xI(k) + r − y(k) = xI(k) + r − Cx(k) Combine the two and form an augmented state equation: x(k + 1) xI(k + 1)

  • =
slide-11
SLIDE 11

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error, given by r − y(k), resulting in, xI(k + 1) = xI(k) + r − y(k) = xI(k) + r − Cx(k) Combine the two and form an augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +
slide-12
SLIDE 12

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error, given by r − y(k), resulting in, xI(k + 1) = xI(k) + r − y(k) = xI(k) + r − Cx(k) Combine the two and form an augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +
slide-13
SLIDE 13

1.

Setpoint Tracking in SS Systems In addition to the standard state space model, x(k + 1) = Ax(k) + Bu(k) y(k) = Cx(k) consider including an integral action: xI(k + 1) = xI(k) + e(k) e is the error, given by r − y(k), resulting in, xI(k + 1) = xI(k) + r − y(k) = xI(k) + r − Cx(k) Combine the two and form an augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Digital Control

1

Kannan M. Moudgalya, Autumn 2007

slide-14
SLIDE 14

2.

Setpoint Tracking with Integral Mode

slide-15
SLIDE 15

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =
slide-16
SLIDE 16

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +
slide-17
SLIDE 17

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +
slide-18
SLIDE 18

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

slide-19
SLIDE 19

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

  • Closing the loop, the state equation becomes
slide-20
SLIDE 20

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

  • Closing the loop, the state equation becomes

= A −C 1 x(k) xI(k)

slide-21
SLIDE 21

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

  • Closing the loop, the state equation becomes

= A −C 1 x(k) xI(k)

B Kp KI x(k) xI(k)

  • +
slide-22
SLIDE 22

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

  • Closing the loop, the state equation becomes

= A −C 1 x(k) xI(k)

B Kp KI x(k) xI(k)

  • +

1

  • r(k)
slide-23
SLIDE 23

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

  • Closing the loop, the state equation becomes

= A −C 1 x(k) xI(k)

B Kp KI x(k) xI(k)

  • +

1

  • r(k)

= A −C 1

B Kp KI x(k) xI(k)

  • +
slide-24
SLIDE 24

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

  • Closing the loop, the state equation becomes

= A −C 1 x(k) xI(k)

B Kp KI x(k) xI(k)

  • +

1

  • r(k)

= A −C 1

B Kp KI x(k) xI(k)

  • +

1

  • r(k)
slide-25
SLIDE 25

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

  • Closing the loop, the state equation becomes

= A −C 1 x(k) xI(k)

B Kp KI x(k) xI(k)

  • +

1

  • r(k)

= A −C 1

B Kp KI x(k) xI(k)

  • +

1

  • r(k)

A − BK form.

slide-26
SLIDE 26

2.

Setpoint Tracking with Integral Mode Consider the augmented state equation: x(k + 1) xI(k + 1)

  • =

A −C 1 x(k) xI(k)

  • +

B

  • u(k) +

1

  • r(k)

Introduce control law: u(k) = −

  • Kp KI

x(k) xI(k)

  • Closing the loop, the state equation becomes

= A −C 1 x(k) xI(k)

B Kp KI x(k) xI(k)

  • +

1

  • r(k)

= A −C 1

B Kp KI x(k) xI(k)

  • +

1

  • r(k)

A − BK form. Recall condition for pole placement.

Digital Control

2

Kannan M. Moudgalya, Autumn 2007

slide-27
SLIDE 27

3.

Linear Quadratic Regulator - Formulation

slide-28
SLIDE 28

3.

Linear Quadratic Regulator - Formulation When can we place the poles of A −C 1

B Kp KI

  • ?
slide-29
SLIDE 29

3.

Linear Quadratic Regulator - Formulation When can we place the poles of A −C 1

B Kp KI

  • ?

When A −C 1

  • ,

B

  • is controllable!
slide-30
SLIDE 30

3.

Linear Quadratic Regulator - Formulation When can we place the poles of A −C 1

B Kp KI

  • ?

When A −C 1

  • ,

B

  • is controllable!

Controllability matrix consists of B

  • ,
slide-31
SLIDE 31

3.

Linear Quadratic Regulator - Formulation When can we place the poles of A −C 1

B Kp KI

  • ?

When A −C 1

  • ,

B

  • is controllable!

Controllability matrix consists of B

  • ,

AB −cB

  • ,
slide-32
SLIDE 32

3.

Linear Quadratic Regulator - Formulation When can we place the poles of A −C 1

B Kp KI

  • ?

When A −C 1

  • ,

B

  • is controllable!

Controllability matrix consists of B

  • ,

AB −cB

  • ,

A2B −cAB

  • ,
slide-33
SLIDE 33

3.

Linear Quadratic Regulator - Formulation When can we place the poles of A −C 1

B Kp KI

  • ?

When A −C 1

  • ,

B

  • is controllable!

Controllability matrix consists of B

  • ,

AB −cB

  • ,

A2B −cAB

  • ,

A3B −cA2B

  • ,
slide-34
SLIDE 34

3.

Linear Quadratic Regulator - Formulation When can we place the poles of A −C 1

B Kp KI

  • ?

When A −C 1

  • ,

B

  • is controllable!

Controllability matrix consists of B

  • ,

AB −cB

  • ,

A2B −cAB

  • ,

A3B −cA2B

  • , · · · ,

An−1B −cAn−2B

slide-35
SLIDE 35

3.

Linear Quadratic Regulator - Formulation When can we place the poles of A −C 1

B Kp KI

  • ?

When A −C 1

  • ,

B

  • is controllable!

Controllability matrix consists of B

  • ,

AB −cB

  • ,

A2B −cAB

  • ,

A3B −cA2B

  • , · · · ,

An−1B −cAn−2B

  • This can be written as,

I 0 −C B AB A2B A3B · · · An−1B B AB A2B · · · An−2B

  • Controllable if (A, B) is controllable.

Digital Control

3

Kannan M. Moudgalya, Autumn 2007

slide-36
SLIDE 36

4.

Tandem Queue System

slide-37
SLIDE 37

4.

Tandem Queue System

  • Computing systems can be modelled as queueing

systesms.

slide-38
SLIDE 38

4.

Tandem Queue System

  • Computing systems can be modelled as queueing

systesms.

  • Let us consider two such queues.
slide-39
SLIDE 39

4.

Tandem Queue System

  • Computing systems can be modelled as queueing

systesms.

  • Let us consider two such queues.

Total response time = R1 + R2 = R Queueing System 1 Queueing System 2 Buffer size (K) Response time (R1) Response time (R2)

Digital Control

4

Kannan M. Moudgalya, Autumn 2007

slide-40
SLIDE 40

5.

Tandem Queue System

slide-41
SLIDE 41

5.

Tandem Queue System

Total response time = R1 + R2 = R Queueing System 1 Queueing System 2 Buffer size (K) Response time (R1) Response time (R2)

  • Sequence of two queueing systems.
slide-42
SLIDE 42

5.

Tandem Queue System

Total response time = R1 + R2 = R Queueing System 1 Queueing System 2 Buffer size (K) Response time (R1) Response time (R2)

  • Sequence of two queueing systems.
  • Total time to complete a request (R) to be made small. R

is a sum of the two responses (R1, R2) in two queues.

slide-43
SLIDE 43

5.

Tandem Queue System

Total response time = R1 + R2 = R Queueing System 1 Queueing System 2 Buffer size (K) Response time (R1) Response time (R2)

  • Sequence of two queueing systems.
  • Total time to complete a request (R) to be made small. R

is a sum of the two responses (R1, R2) in two queues.

  • Possible to regulate the response time by manipulating the

buffer size (K).

slide-44
SLIDE 44

5.

Tandem Queue System

Total response time = R1 + R2 = R Queueing System 1 Queueing System 2 Buffer size (K) Response time (R1) Response time (R2)

  • Sequence of two queueing systems.
  • Total time to complete a request (R) to be made small. R

is a sum of the two responses (R1, R2) in two queues.

  • Possible to regulate the response time by manipulating the

buffer size (K).

  • If buffer size is made small, response time will become small;

but some requests may not be honoured, owing to overflow.

Digital Control

5

Kannan M. Moudgalya, Autumn 2007

slide-45
SLIDE 45

6.

Tandem Queue System

slide-46
SLIDE 46

6.

Tandem Queue System

Total response time = R1 + R2 = R Queueing System 1 Queueing System 2 Buffer size (K) Response time (R1) Response time (R2)

  • Define states:
slide-47
SLIDE 47

6.

Tandem Queue System

Total response time = R1 + R2 = R Queueing System 1 Queueing System 2 Buffer size (K) Response time (R1) Response time (R2)

  • Define states: x1(k)

x2(k)

  • =

R1(k) − R1 R2(k) − R2

  • Linearise. Nominal operating point: R1 = 2.5, R2 = 6.5
slide-48
SLIDE 48

6.

Tandem Queue System

Total response time = R1 + R2 = R Queueing System 1 Queueing System 2 Buffer size (K) Response time (R1) Response time (R2)

  • Define states: x1(k)

x2(k)

  • =

R1(k) − R1 R2(k) − R2

  • Linearise. Nominal operating point: R1 = 2.5, R2 = 6.5

A = 0.13 0.46 0.63

  • ,

B = 0.069

  • ,

C =

  • 1 1
  • Digital Control

6

Kannan M. Moudgalya, Autumn 2007

slide-49
SLIDE 49

7.

Tandem Queue System

slide-50
SLIDE 50

7.

Tandem Queue System A = 0.13 0.46 0.63

  • ,

B = 0.069

  • ,

C =

  • 1 1
slide-51
SLIDE 51

7.

Tandem Queue System A = 0.13 0.46 0.63

  • ,

B = 0.069

  • ,

C =

  • 1 1
  • Place poles of

A −C 1

B Kp KI

  • at desired loca-

tions

Digital Control

7

Kannan M. Moudgalya, Autumn 2007

slide-52
SLIDE 52

8.

Steady State Solution to LQR Problem

slide-53
SLIDE 53

8.

Steady State Solution to LQR Problem Recall the Discrete Riccati equation: S(k) = AT[S(k + 1) − S(k + 1)BR−1BTS(k + 1)]A + Q1

slide-54
SLIDE 54

8.

Steady State Solution to LQR Problem Recall the Discrete Riccati equation: S(k) = AT[S(k + 1) − S(k + 1)BR−1BTS(k + 1)]A + Q1 Steady state solution: S(k) = S(k + 1) = S∞

slide-55
SLIDE 55

8.

Steady State Solution to LQR Problem Recall the Discrete Riccati equation: S(k) = AT[S(k + 1) − S(k + 1)BR−1BTS(k + 1)]A + Q1 Steady state solution: S(k) = S(k + 1) = S∞ Substituting S∞ = AT[S∞ − S∞BR−1BTS∞]A + Q1

slide-56
SLIDE 56

8.

Steady State Solution to LQR Problem Recall the Discrete Riccati equation: S(k) = AT[S(k + 1) − S(k + 1)BR−1BTS(k + 1)]A + Q1 Steady state solution: S(k) = S(k + 1) = S∞ Substituting S∞ = AT[S∞ − S∞BR−1BTS∞]A + Q1 Although we can solve this by iteration, it is not an easy problem.

Digital Control

8

Kannan M. Moudgalya, Autumn 2007

slide-57
SLIDE 57

9.

Steady State Solution to LQR Problem

slide-58
SLIDE 58

9.

Steady State Solution to LQR Problem Construct the control Hamiltonian matrix, Hc, given by Hc =

  • A + BQ−1

2 BTA−TQ1 −BQ−1 2 BTA−T

−A−TQ1 A−T

slide-59
SLIDE 59

9.

Steady State Solution to LQR Problem Construct the control Hamiltonian matrix, Hc, given by Hc =

  • A + BQ−1

2 BTA−TQ1 −BQ−1 2 BTA−T

−A−TQ1 A−T

  • Steady state solution to the Riccati equation:
slide-60
SLIDE 60

9.

Steady State Solution to LQR Problem Construct the control Hamiltonian matrix, Hc, given by Hc =

  • A + BQ−1

2 BTA−TQ1 −BQ−1 2 BTA−T

−A−TQ1 A−T

  • Steady state solution to the Riccati equation:

S∞ = ΛIX−1

I

where

  • XI ΛI

T is the eigenvector of Hc corresponding to the stable eigenvalues.

slide-61
SLIDE 61

9.

Steady State Solution to LQR Problem Construct the control Hamiltonian matrix, Hc, given by Hc =

  • A + BQ−1

2 BTA−TQ1 −BQ−1 2 BTA−T

−A−TQ1 A−T

  • Steady state solution to the Riccati equation:

S∞ = ΛIX−1

I

where

  • XI ΛI

T is the eigenvector of Hc corresponding to the stable eigenvalues. The steady state control law is given by u(k) = −K∞x(k)

slide-62
SLIDE 62

9.

Steady State Solution to LQR Problem Construct the control Hamiltonian matrix, Hc, given by Hc =

  • A + BQ−1

2 BTA−TQ1 −BQ−1 2 BTA−T

−A−TQ1 A−T

  • Steady state solution to the Riccati equation:

S∞ = ΛIX−1

I

where

  • XI ΛI

T is the eigenvector of Hc corresponding to the stable eigenvalues. The steady state control law is given by u(k) = −K∞x(k) where K∞ = (Q2 + BTS∞B)−1BTS∞A

Digital Control

9

Kannan M. Moudgalya, Autumn 2007

slide-63
SLIDE 63

10.

Performance Index of Steady State LQR Prob- lem

slide-64
SLIDE 64

10.

Performance Index of Steady State LQR Prob- lem

The performance index for the steady state control problem is J∞ = 1 2xT (0)S∞x(0)

slide-65
SLIDE 65

10.

Performance Index of Steady State LQR Prob- lem

The performance index for the steady state control problem is J∞ = 1 2xT (0)S∞x(0) Notice that this control law K∞ can be calculated

  • nce and for all at the very beginning.

Digital Control

10

Kannan M. Moudgalya, Autumn 2007