Decentralized control Sigurd Skogestad Department of Chemical - - PowerPoint PPT Presentation

decentralized control
SMART_READER_LITE
LIVE PREVIEW

Decentralized control Sigurd Skogestad Department of Chemical - - PowerPoint PPT Presentation

Decentralized control Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim, Norway 1 Outline Multivariable plants RGA Decentralized control Pairing rules


slide-1
SLIDE 1

1

Decentralized control

Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim, Norway

slide-2
SLIDE 2

2

Outline

  • Multivariable plants
  • RGA
  • Decentralized control
  • Pairing rules
  • Examples
slide-3
SLIDE 3

3

MIMO (multivariable case)

Distillation column “Increasing L from 1.0 to 1.1 changes yD from 0.95 to 0.97, and xB from 0.02 to 0.03” “Increasing V from 1.5 to 1.6 changes yD from 0.95 to 0.94, and xB from 0.02 to 0.01” Steady-State Gain Matrix

( ) ( ) ( ) ( ) ( ) ( )

B 22 21 12 11 B D

∆x 2

  • utput
  • n

∆L 1 input

  • f

Effect 0.1 0.1 0.1 0.2 1.5 1.6 0.02 0.01 1.0 1.1 0.02 0.03 1.5 1.6 0.95 0.94 1.0 1.1 0.95 0.97 g g g g G ∆V ∆L G ∆x ∆Y ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ − − = ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ − − − − − − − − = ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ = ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛

( )

⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ + − + + − + = 40s 1 0.1 40s 1 0.1 50s 1 0.1 50s 1 2 0. G : dynamics include also Can

s

B D

x y ∆ → ∆ →

(Time constant 50 min for yD) (time constant 40 min for xB)

slide-4
SLIDE 4

4

Analysis of Multivariable processes

What is different with MIMO processes to SISO:

The concept of “directions” (components in u and y have different magnitude” Interaction between loops when single-loop control is used INTERACTIONS Process Model

G

y1 g12 g21 g11 g22

u2 u1 ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )

1 11 1 12 2 2 21 1 22 2

" " ( ) ( ) Open loop y s g s u s g s u s y s g s u s g s u s − = + = + y2

slide-5
SLIDE 5

5

Consider Effect of u1 on y1

1) “Open-loop” (C2 = 0): y1 = g11(s)·u1 2) Closed-loop” (close loop 2, C2≠0)

Change caused by “interactions”

( )

u ⎛ ⎞ ⋅ ⎟ ⎜ ⎟ = − ⎜ ⎟ ⎜ ⎟ ⎜ + ⋅ ⎝ ⎠

12 21 2 1 11 1 22 2

g g C y g s 1 g C

slide-6
SLIDE 6

6

Limiting Case C2→∞ (perfect control of y2)

( )

u ⎛ ⎞ ⎟ ⎜ ⎟ = − ⎜ ⎟ ⎜ ⎟ ⎜ ⎝ ⎠

12 21 1 11 1 22

g g y g s g

How much has “gain” from u1 to y1 changed by closing loop 2 with perfect control? ( ) ( )CL

⋅ = = = = − −

def 1 1 RGA OL 11 11 12 21 12 21 1 1 11 22 11 22

y /µ g 1 Relative Gain λ g g g g y /µ g 1 g g g

( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )

u ⎡ ⎤ ⎢ ⎥ ⎢ ⎥ ⎡ ⎤ ⎢ ⎥ ⎢ ⎥ = = = ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎣ ⎦ ⎢ ⎥ ⎢ ⎥ ⎣ ⎦

1 1 1 2 OL OL 1 1 1 2 11 12 CL CL 21 22 2 1 2 2 OL OL 2 1 2 2 CL CL

y /u y /u y /u y /u λ λ RGA Λ λ λ y y /u y u y /u

The relative Gain Array (RGA) is the matrix formed by considering all the relative gains

⎥ ⎦ ⎤ ⎢ ⎣ ⎡ − − = = − = ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ − − = 2 1 1 2 RGA 2 0.1 0.2 0.1 0.1 1 1 λ , 0.1 0.1 0.1 0.2 G

0.5 11

  • Example from before
slide-7
SLIDE 7

7

Property of RGA: Columns and rows always sum to 1 RGA independent of scaling (units) for u and y.

Note: RGA as a function of frequency is the most important for control!

slide-8
SLIDE 8

8

Use of RGA:

(1) Interactions From derivation: Interactions are small if relative gains are close to 1 Choose pairings corresponding to RGA elements close to 1 Traditional: Consider Steady-state Better: Consider frequency corresponding to closed- loop time constant But: Avoid pairing on negative steady-state relative gain – otherwise you get instability if one of the loops become inactive (e.g. because of saturation)

slide-9
SLIDE 9

9

( )

Example: 0.2 0.1 G o 0.1 0.1 − ⎡ ⎤ = ⎢ ⎥ − ⎣ ⎦

1 1 2 2 1 2

y =0.2 u -0.1 u y =0.1u -0.1u ⋅ ⋅

u u u u

1 1 2 2 1 2 2 1

2

  • 1

RGA = -1 2 Onlyacceptablepairings : y y Not recommended : y y ⎡ ⎤ ⎢ ⎥ ⎢ ⎥ ⎣ ⎦ ↔ ↔ ↔ ↔

⇒ W ith integral action: Negative RGA individual loop unstable + overall system unstable when loops saturate

slide-10
SLIDE 10

10

(2) Sensitivity measure But RGA is not only an interaction measure: Large RGA-elements signifies a process that is very sensitive to small changes (errors) and therefore fundamentally difficult to control example 1 1 91 90 G= RGA 0.9 0.91 90 91 − ⎡ ⎤ ⎡ ⎤ = ⎢ ⎥ ⎢ ⎥ − ⎣ ⎦ ⎣ ⎦ Large (BAD!) 1 1.1% 90 + = +

  • 21

12 12 0.9

1 Relativechange

  • makesmatrixsingular!

1 ˆ Then g g 1 0.91 90 λ = ⎛ ⎞ ⎟ ⎜ = + = ⎟ ⎜ ⎟ ⎜ ⎝ ⎠

slide-11
SLIDE 11

11

Singular Matrix: Cannot take inverse, that is, decoupler hopeless. Control difficult

slide-12
SLIDE 12

12

  • Exercise. Blending process

sugar u1=F1 water u2=F2 y1 = F (given flowrate) y2 = x (given sugar fraction)

  • Mass balances (no dynamics)

– Total: F1 + F2 = F – Sugar: F1 = x F

(a) Linearize balances and introduce: u1=dF1, u2=dF2, y1=F1, y2=x, (b) Obtain gain matrix G (y = G u) (c) Nominal values are x=0.2 [kg/kg] and F=2 [kg/s]. Find G (d) Compute RGA and suggest pairings (e) Does the pairing choice agree with “common sense”?

slide-13
SLIDE 13

13

Decentralized control

slide-14
SLIDE 14

14

Two main steps

  • Choice of pairings (control configuration selection)
  • Design (tuning) of each controller
slide-15
SLIDE 15

15

Design (tuning) of each controller ki(s)

  • Fully coordinated design

– can give optimal – BUT: requires full model – not used in practice

  • Independent design

– Base design on “paired element” – Can get failure tolerance – Not possible for interactive plants (which fail to satisfy our three pairing rules – see later)

  • Sequential design

– Each design a SISO design – Can use “partial control theory” – Depends on inner loop being closed – Works on interactive plants where we may have time scale separation

slide-16
SLIDE 16

16

Effective use of decentralized control requires some “natural” decomposition

  • Decomposition in space

– Interactions are small – G close to diagonal – Independent design can be used

  • Decomposition in time

– Different response times for the outputs – Sequential design can be used

slide-17
SLIDE 17

17

Independent design: Pairing rules

Pairing rule 1. RGA at crossover frequencies. Prefer pairings such that the rearranged system, with the selected pairings along the diagonal, has an RGA matrix close to identity at frequencies around the closed- loop bandwidth. Pairing rule 2. For a stable plant avoid pairings ij that correspond to negative steady-state RGA elements, ij(0)· 0. Pairing rule 3. Prefer a pairing ij where gij puts minimal restrictions on the achievable bandwidth. Specifically, its effective delay ij should be small.

slide-18
SLIDE 18

18

Example 1: Diagonal plant

  • Simulations (and for tuning): Add delay 0.5 in each input
  • Simulations setpoint changes: r1=1 at t=0 and r2=1 at t=20
  • Performance: Want |y1-r1| and |y2-r2| less than 1
  • G (and RGA): Clear that diagonal pairings are preferred
slide-19
SLIDE 19

19

Diagonal pairings

Get two independent subsystems:

slide-20
SLIDE 20

20

Diagonal pairings....

Simulation with delay included:

slide-21
SLIDE 21

21

Off-diagonal pairings (!!?)

Pair on two zero elements !! Loops do not work independently! But there is some effect when both loops are closed:

slide-22
SLIDE 22

22

Off- diagonal pairings for diagonal plant

  • Example: Want to control temperature in two completely different

rooms (which may even be located in different countries). BUT:

– Room 1 is controlled using heat input in room 2 (?!) – Room 2 is controlled using heat input in room 1 (?!)

TC TC

??

1 2

slide-23
SLIDE 23

23

Off-diagonal pairings....

Controller design difficult. After some trial and error:

– Performance quite poor, but it works because of the “hidden” feedback loop g12 g21 k1 k2!! – No failure tolerance

slide-24
SLIDE 24

24

Example 2: One-way interactive (triangular) plant

  • Simulations (and for tuning): Add delay 0.5 in each input
  • RGA: Seems that diagonal pairings are preferred
  • BUT: RGA is not able to detect the strong one-way interactions (g12=5)
slide-25
SLIDE 25

25

Diagonal pairings

One-way interactive:

slide-26
SLIDE 26

26

Diagonal pairings....

Closed-loop response (delay neglected): With 1 = 2 the “interaction” term (from r1 to y2) is about 2.5 Need loop 1 to be “slow” to reduce interactions: Need 1 ≥ 5 2

slide-27
SLIDE 27

27

Diagonal pairings.....

slide-28
SLIDE 28

28

Off-diagonal pairings

Pair on one zero element (g12=g11

*=0)

BUT pair on g21=g

* 22=5: may use sequential design: Start by tuning k2 *

slide-29
SLIDE 29

29

slide-30
SLIDE 30

30

Comparison of diagonal and off-diagonal pairings

– OK performance, – but no failure tolerance if loop 2 fails

slide-31
SLIDE 31

31

Example 3: Two-way interactive plant

  • Already considered case g12=0 (RGA=I)
  • g12=0.2: plant is singular (RGA=∞)
  • will consider diagonal parings for: (a) g12 = 0.17, (b) g12 = -0.2, (c) g12 = -1

Controller: with 1=5 and 2=1

slide-32
SLIDE 32

32

slide-33
SLIDE 33

33

slide-34
SLIDE 34

34

slide-35
SLIDE 35

35

Conclusions decentralized examples

  • Performance is OK with decentralized control (even with wrong

pairings!)

  • However, controller design becomes difficult for interactive plants

– and independent design may not be possible – and failure tolerance may not be guaranteed

slide-36
SLIDE 36

36

Example 3.10: Separator (pressure vessel)

u1 = V Feed (d) y1 = pressure (p) y2 = level (h) u2 = L

  • Pairings? Would expect y1/u1 and y2/u2
  • But process is strongly coupled at

intermediate frequencies. Why?

  • Frequency-dependent RGA suggests
  • pposite pairing at intermediate

frequencies

slide-37
SLIDE 37

37

Separator example....

slide-38
SLIDE 38

38

Separator example: Simulations (delay = 1)

20 40 60 80 100 120 140 160 180 200

  • 0.5

0.5 1 1.5 2 2.5 Time y 20 40 60 80 100 120 140 160 180 200

  • 0.5

0.5 1 1.5 Time y

Diagonal Off-Diagonal y1 y2 y1 y2

slide-39
SLIDE 39

39

Separator example: Simulations (delay = 5)

100 200 300 400 500 600 700 800 900 1000

  • 4
  • 2

2 Time y

Diagonal y1 y2

100 200 300 400 500 600 700 800 900 1000

  • 1

1 2 3 Time y

Off-Diagonal y1 y2

slide-40
SLIDE 40

40

Separator example

  • BUT NOTE: May easily eliminate interactions to y2 (level) by simply

closing a flow controller on u2 (liquid flow)

slide-41
SLIDE 41

41

Iterative RGA

  • For large processes, lots of pairing alternatives
  • RGA evaluated iteratively is helpful for quick screening
  • Converges to “Permuted Identity” matrix (correct pairings) for

generalized diagonally dominant processes.

  • Can converge to incorrect pairings, when no alternatives are dominant.
  • Usually converges in 5-6 iterations
slide-42
SLIDE 42

42

Example of Iterative RGA

Correct pairing

slide-43
SLIDE 43

43

Stability of Decentralized control systems

  • Question: If we stabilize individual loops, will the overall closed-loop

system be stable?

  • E is relative uncertainty
  • is complementary sensitivity for diagonal plant
slide-44
SLIDE 44

44

Stability of Decentralized control systems

  • Question: If we stabilize individual loops, will overall closed-loop

system be stable? Let G and have same unstable poles, then closed-loop system stable if Let G and have same unstable zeros, then closed-loop system stable if

slide-45
SLIDE 45

45

Mu-Interaction measure

Closed-loop stability if At low frequencies, for integral control

slide-46
SLIDE 46

46

Decentralized Integral Controllability

  • Question: If we detune individual loops arbitrarily or take them out of

service, will the overall closed-loop system be stable with integral controller?

  • Addresses “Ease of tuning”
  • When DIC - Can start with low gains in individual loops and increase

gains for performance improvements

  • Not DIC if
  • DIC if
slide-47
SLIDE 47

47

Performance RGA

  • Motivation: RGA measures two-way interactions only
  • Example 2 (Triangular plant)
  • Performance Relative Gain Array
  • Also measures one-way interactions, but need to be calculated for

every pairing alternative.

slide-48
SLIDE 48

48

Example PRGA: Distillation

  • see book