che / met 433

38
1 ChE / MET 433 11 Apr 12 Process Linearity, Integral Windup, PID Controllers Linearity, Windup, & PID

Upload: buffy

Post on 12-Feb-2016

63 views

Category:

Documents


0 download

DESCRIPTION

ChE / MET 433. Linearity, Windup, & PID. 11 Apr 12 Process Linearity, Integral Windup, PID Controllers. Quiz Solutions. ChE / MET 433. Process Linearity. Test the Heat Exchanger process linearity by: Starting Loop Pro trainer Set %CO to 80% Make steps down (say 10% down) to the %CO - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ChE  / MET 433

1

ChE / MET 43311 Apr 12

Process Linearity, Integral Windup, PID Controllers

Linearity, Windup, & PID

Page 2: ChE  / MET 433

2

ChE / MET 433 Quiz Solutions

Page 3: ChE  / MET 433

Process LinearityTest the Heat Exchanger process linearity by:• Starting Loop Pro trainer• Set %CO to 80%• Make steps down (say 10% down) to the %CO• Measure the response • Calculate the process gain

3

SCK

Page 4: ChE  / MET 433

4

K = -0.15

K = -1.09

K = -0.69

K = -0.26

K = 0.-45K = -0.33

Adaptive Control ?

Page 5: ChE  / MET 433

Integral (Reset) Windup

5

• “Windup” can occur if integral action present• Most modern controllers have anti-windup protection• If doesn’t have windup protection, set to manual when reach point

of saturation, then switch back to auto, when drops below sat. level

• IE: LoopPro Trainer, select Heat Exchanger• Set %CO to 90%; SP to 126; Kc to 1 %/deg C; Tau I to 1.0 min• Set Integral with Anti-Reset Windup ON• Change Set Point to 120 deg. C. (~10 min); then change back to

126 deg. C• Repeat with controller at ON: (Integral with Windup)

Page 6: ChE  / MET 433

Integral (Reset) Windup

6

Page 7: ChE  / MET 433

In-Class PID Controller Exercise

Tune the Heat Exchanger for a PID Controller:• Use the built in IMC, and choose Moderately Aggressive• Start Loop Pro trainer• Tune at the initial %CO and exit temperature• Compare PI with PID• Compare PID with PID with filter

7

Page 8: ChE  / MET 433

8

ChE / MET 433

11 Apr 12Cascade Control: Ch

9

Advanced control schemes

Page 9: ChE  / MET 433

Improve Feedback Control

Feedback control:• Disturbance must be measured before action taken• ~ 80% of control strategies are simple FB control• Reacts to disturbances that were not expected

9

We’ll look at:• Cascade Control (Master – Slave)• Ratio Control• Feed Forward

Page 10: ChE  / MET 433

Cascade Control• Control w/ multiple loops• Used to better reject specific disturbances

10

Take slow process:

PGcG-

sE+ sR sC)(sM

??PG

Split into 2 “processes” that can measure intermediate variable?

2PGcG-

sE+ sR sC

A-

+1PG

2TK

2CG

Gp2 must be quicker responding than GP1. • Inner (2nd-dary) loop faster

than primary loop• Outer loop is primary loop

Page 11: ChE  / MET 433

11

Material Dryer Example

PGcG-

sE+ sR sCmoisture%

Heat Exchger

T

airblower

MC

spMT

steam

% moisture

VG TK

Page 12: ChE  / MET 433

12

Separate Gp into 2 blocks

Heat Exchger

T

airblower

MC

spMT

steam

% moisture

sp

TTTC

TPG1cG

-

sE+ sR sC

A-

+MPG

TTK

2CG VGMTK

Page 13: ChE  / MET 433

primaryset point Secondary

Controller

secondary process variable

primary process variable

Final ControlElement

SecondaryProcess

PrimaryController

Primary Process

secondaryset point

DisturbanceProcess I

–+ ++–+

DisturbanceProcess II

secondaryprocessvariable

++

primaryprocessvariable

disturbancevariable I

disturbancevariable II

cascade control can improve rejection of this disturbance

but can not help rejection of this disturbance

13

Page 14: ChE  / MET 433

14

Problem Solving Exercise: Heat

Exchanger

Heat Exchger

T

Hot water

TC

sp

TTsteam

Single feedback loop.Suppose known there will be steam

pressure fluctuations…

Design cascade system that measures (uses) the steam pressure in the HX shell.

Heat Exchger

T

Hot water

TTsteamPT

Page 15: ChE  / MET 433

Temperature Control of a Well-Mixed Reactor (CSTR)

Responds quicker to Tichanges than coolant temperature changes.

Ti

15

Page 16: ChE  / MET 433

Temperature Control of a Well-Mixed Reactor (CSTR)

Ti

If Tout (jacket) changes it is sensed and controlled before “seen” by primary T sensor.

Use Cascade Control to improve control.

Secondary Loop• Measures Tout (jacket)• Faster loop• SP by output primary loop

Primary Loop:• Measures controlled var.• SP by operator

16

Page 17: ChE  / MET 433

Cascade Control

• Disturbances in secondary loop corrected by 2ndary loop controller• Flowrate loops are frequently cascaded with another control loop• Improves regulatory control, but doesn’t affect set point tracking • Can address different disturbances, as long as they impact the

secondary loop before it significantly impacts the primary (outer loop).

Benefits:

• Secondary loop must be faster than primary loop• Bit more complex to tune• Requires additional sensor and controller

Challenges:

17

Page 18: ChE  / MET 433

18

Cascade Control

Examples

Objective:

Regulate temperature (composition)

at top and bottom of

column

Distillation Columns

Page 19: ChE  / MET 433

19

Objective:

Keep T2 outat the

set point

T2 out

Objective:

Keep TP

outat the

set point

TP out

Heat Exchanger

Furnace

Page 20: ChE  / MET 433

20

In-Class Exercise: Cascade Control System Design

What affects flowrate?• Valve position• Height of liquid• P (delta P across valve)

Design a cascade system to control level (note overhead P can’t be controlled)

Page 21: ChE  / MET 433

21

In-Class Exercise: Cascade Control System Design

Does this design reject P changes in the overhead vapor space?

Page 22: ChE  / MET 433

Tuning a Cascade System

22

• Both controllers in manual• Secondary controller set as P-only (could be PI, but this might slow

sys)• Tune secondary controller for set point tracking• Check secondary loop for satisfactory set point tracking

performance• Leave secondary controller in Auto• Tune primary controller for disturbance rejection (PI or PID)• Both controllers in Auto now• Verify acceptable performance

Page 23: ChE  / MET 433

23

In-Class Exercise: Tuning Cascade Controllers

• Select Jacketed Reactor• Set T cooling inlet at 46 oC (normal operation temperature; sometimes it drops to 40 oC)• Set output of controller at 50%.• Desired Tout set point is 86 oC (this is steady state temperature)

• Tune the single loop PI control• Criteria: IMC aggressive tuning• Use doublet test with +/- 5 %CO• Test your tuning with disturbance from 46 oC to 40 oC

Page 24: ChE  / MET 433

24

In-Class Exercise: Tuning Cascade Controllers• Select Cascade Jacketed Reactor• Set T cooling inlet at 46 oC (again)• Set output of controller (secondary) at 50%.• Desired Tout set point is 86 oC (as before)

• Note the secondary outlet temperature (69 oC) is the SP of the secondary controller

• Tune the secondary loop; use 5 %CO doublet open loop• Criteria: ITAE for set point tracking (P only)• Use doublet test with +/- 5 %CO• Test your tuning with 3 oC setpoint changes• Tune the primary loop for PI control; make 3 oC set point changes (2nd-dary controller)• Note: MV = sp signal; and PV = T out of reactor• Criteria: IAE for aggressive tuning (PI)• Implement and with both controllers in Auto… change disturbance from 46 to 40 oC.• How does response compare to single PI feedback loop?

Page 25: ChE  / MET 433

25

ChE / MET 433

13 Apr 12Ratio Control: Ch 10

Advanced control schemes

Page 26: ChE  / MET 433

Ratio Control• Special type of feed forward control

•Blending/Reaction/Flocculation

•A and B must be in certain ratio to each other

A B

26

Page 27: ChE  / MET 433

Ratio ControlPossible control system:

•What if one stream could not be controlled?

• i.e., suppose stream A was “wild”; or it came from an upstream process and couldn’t be controlled.

A B

27

FT

FC

sp

FY

FT

FC

sp

FY

Page 28: ChE  / MET 433

Ratio ControlPossible cascade control systems:

“wild” stream

A

B

28

FT

FT

FY FC

sp

A

B

AB

Desired Ratio

A

BFT

FT

FY

FCBsp

A

B

AB

Desired RatioThis unit multiplies A by the desired ratio; so output = A

BA

“wild” stream

AB

Page 29: ChE  / MET 433

Ratio Control Uses:

29

• Constant ratio between feed flowrate and steam in reboiler of distillation column

• Constant reflux ratio

• Ratio of reactants entering reactor

• Ratio for blending two streams

• Flocculent addition dependent on feed stream

• Purge stream ratio

• Fuel/air ratio in burner

• Neutralization/pH

Page 30: ChE  / MET 433

30

In-Class Exercise: Furnace Air/Fuel Ratio• Furnace Air/Fuel Ratio model• disturbance: liquid flowrate• “wild” stream: air flowrate• ratioed stream: fuel flowrate

• Minimum Air/Fuel Ratio 10/1• Fuel-rich undesired (enviro, econ, safety)• If air fails; fuel is shut down

Independent MV

PV

Ratio set point

Dependent MV

Disturbance var.

TC

TC output

Desired 2 – 5% excess O2

Check TC tuning to disturbance & SP changes.

Page 31: ChE  / MET 433

31

ChE / MET 433

16 Apr 12Feed Forward Control: Ch 11

Advanced control schemes

Page 32: ChE  / MET 433

Feed Forward ControlSuppose qi is primary disturbance

32

Heat Exchanger

TC

TT)(tqi

)(tTi

? What is a drawback to this feedback control loop?? Is there a potentially better way?

Heat ExchangerTTFT

FF

)(tTi

)(tqi

? What if Ti changes?

FF must be done with FB control!

steam

steam

Page 33: ChE  / MET 433

Feed Forward and Feedback Control

33

Heat ExchangerTTFT

TY

)(tTi)(tqi

steamTC

FF?

TYP

I)(tM FF )(tM

)(tM

FFFF MtMtMtM )()()(

Block diagram:

TPGCG

sE sT++

FFG

TTK

VG

DTKLG

sQi

++

M

FFM

M-

+ sR

FFCGFF

Page 34: ChE  / MET 433

Feed Forward Control

No change; perfect compensation!

34

PGCG-

sE+ sR sT++

FFG

TTK

VG

DTKLG

sQi

++

M

FFM

M

t0

DT

PT

tT

PT

MFF

DT

tqi

Response to MFF

Page 35: ChE  / MET 433

Feed Forward Control

Examine FFC T.F.

35

MGCG-

sE+ sR sC++

FFC

DTKDG

sQi

++FFM

M

MG sC

FFC

DTKDG

sQi

++

FFM

gpm

TO%

DTO%

FFCO%

)()( sQKFFCGsQGsC iTMiD D

For “perfect” FF control: 0sC

)()(0 sQKFFCGsQG iTMiD D

MT

D

GKGFFCD

TO%

TO%

Page 36: ChE  / MET 433

Feed Forward Control: FFC Identification

Set by traditional means:

36

DTKMT

D

GKGFFCD

Model fit to FOPDT equation: MD GG &

1

seKG

D

stD

D

Do

1

seKG

M

stM

M

Mo

gpmTO%

COTO

%%

gpmTOD%

stt

D

M

MT

D oMDo

D

ess

KKKFFC

11

FF Gain

Lead/lag unit

Dead time compensator

{ FFC ss }steady state FF control

{ FFC dyn }dynamic FF control

Accounts for time differences in 2 legs

Often ignored; if set term to 1

oMo ttD

Page 37: ChE  / MET 433

37

ChE / MET 433

Page 38: ChE  / MET 433

38

Problem Solving Exercise: Heat Exchanger

Draw the block diagram: what is the primary and what is the secondary loop?

Heat Exchger

T

Hot water

TC

sp

TTsteamPT

PC

PPGTcG

-

sE+ sR sT

-

+TPG

PTK

PCG VG

TTK

sP