chapter 12 cascade, ratio, and feedforward control

47
Chapter 12 Cascade, Ratio, and Feedforward Control

Upload: lily-haynes

Post on 24-Dec-2015

727 views

Category:

Documents


45 download

TRANSCRIPT

Page 1: Chapter 12 Cascade, Ratio, and Feedforward Control

Chapter 12

Cascade, Ratio, and Feedforward Control

Page 2: Chapter 12 Cascade, Ratio, and Feedforward Control

Overall Course Objectives

• Develop the skills necessary to function as an industrial process control engineer.– Skills

• Tuning loops

• Control loop design

• Control loop troubleshooting

• Command of the terminology

– Fundamental understanding• Process dynamics

• Feedback control

Page 3: Chapter 12 Cascade, Ratio, and Feedforward Control

Cascade, Ratio, and Feedforward Control

• Each of these techniques offers advantages with respect to disturbance rejection:– Cascade reduces the effect of specific types of

disturbances.– Ratio reduces the effect of feed flow rates

changes– Feedforward control is a general methodology

for compensating for measured disturbances.

Page 4: Chapter 12 Cascade, Ratio, and Feedforward Control

Compensating for Disturbances Reduces Deviations from

Setpoint and Settling Time

-6

-3

0

3

6

0 10 20 30 40 50Time (seconds)

T' (

K)

FB-only

Compensatingfor disturbances

Page 5: Chapter 12 Cascade, Ratio, and Feedforward Control

Level Controller on a Tank With and Without Cascade Control

F in

FC

LT

RSP

FT

F out

L sp

LC

F in

LT

F out

L sp

LC

Page 6: Chapter 12 Cascade, Ratio, and Feedforward Control

Analysis of Cascade Example

• Without a cascade level controller, changes in downstream pressure will disturb the tank level.

• With cascade level controller, changes in downstream pressure will be absorbed by the flow controller before they can significantly affect tank level because the flow controller responds faster to this disturbance than the tank level process.

Page 7: Chapter 12 Cascade, Ratio, and Feedforward Control

Key Features for Cascade Control to be Successful

• Secondary loop should reduce the effect of one or more disturbances.

• Secondary loop must be at least 3 times faster than master loop.

• The CV for the secondary loop should have a direct effect on the CV for the primary loop.

• The secondary loop should be tuned tightly.

Page 8: Chapter 12 Cascade, Ratio, and Feedforward Control

Cascade Reactor Temperature Control

Feed

Product

TT

Coolingwater

TC

Feed

Product

TT

Coolingwater

TCTT

TC

RSP

Page 9: Chapter 12 Cascade, Ratio, and Feedforward Control

Analysis of Example

• Without cascade, changes in the cooling water temperature will create a significant upset for the reactor temperature.

• With cascade, changes in the cooling water temperature will be absorbed by the slave loop before they can significantly affect the reactor temperature.

Page 10: Chapter 12 Cascade, Ratio, and Feedforward Control

Multiple Cascade Example

• This approach works because the flow control loop is much faster than the temperature control loop which is much faster than the composition control loop.

FT

AC

AT

TCTT

FC

RSP

RSP

Page 11: Chapter 12 Cascade, Ratio, and Feedforward Control

Example

TT

PT

Condensate

Steam

Feed

• Draw schematic: A temperature controller on the outlet stream is cascaded to a pressure controller on the steam which is cascaded to a control valve on the condensate.

Page 12: Chapter 12 Cascade, Ratio, and Feedforward Control

Solution

TT

PTPCTC

Condensate

Steam

RSP

Feed

Page 13: Chapter 12 Cascade, Ratio, and Feedforward Control

Ratio Control

• Useful when the manipulated variable scales directly with the feed rate to the process.

• Dynamic compensation is required when the controlled variable responds dynamically different to feed rate changes than it does to a changes in the manipulated variable.

Page 14: Chapter 12 Cascade, Ratio, and Feedforward Control

Typical Performance Improvements using Ratio Control

Time

Impu

rity

Con

cent

rati

on

w/ ratio control

w/o ratio control

Page 15: Chapter 12 Cascade, Ratio, and Feedforward Control

Ratio Control for Wastewater Neutralization

NaOHSolutionAcid

Wastewater

Effluent

FTFT

FC

pHTpHC

RSP

Page 16: Chapter 12 Cascade, Ratio, and Feedforward Control

Analysis of Ratio Control Example

• The flow rate of base scales directly with the flow rate of the acidic wastewater.

• The output of the pH controller is the ratio of NaOH flow rate to acid wastewater flow rate; therefore, the product of the controller output and the measured acid wastewater flow rate become the setpoint for the flow controller on the NaOH addition.

Page 17: Chapter 12 Cascade, Ratio, and Feedforward Control

Ratio Control Applied for Vent Composition Control

Steam

Feed

Product

TT

FT

FCFT AT

AC

Vent

×

Page 18: Chapter 12 Cascade, Ratio, and Feedforward Control

Ratio Control Requiring Dynamic Compensation

FT

AC

AT

FC

RSP

FT

Feed

DC

Page 19: Chapter 12 Cascade, Ratio, and Feedforward Control

Example

FT

FT TT

FlueGas

ProcessFluid

Fuel

• Draw schematic: For a control system that adjusts the ratio of fuel flow to the flow rate of the process fluid to control the outlet temperature of the process fluid. Use a flow controller on the fuel.

Page 20: Chapter 12 Cascade, Ratio, and Feedforward Control

Solution

FT

FC

FT TT

× TC

RSPFlueGas

ProcessFluid

Fuel

Ratio

Page 21: Chapter 12 Cascade, Ratio, and Feedforward Control

Feedforward and Feedback Level Control

Make-upWater

To SteamUsers

LT

LC

Make-upWater

To Steam Users

LT

FT

FF

To SteamUsers

LT

FT FF

LC +

Make-up Water

Page 22: Chapter 12 Cascade, Ratio, and Feedforward Control

Analysis of Feedforward and Feedback Level Control

• Feedback-only must absorb the variations in steam usage by feedback action only.

• Feedforward-only handle variation in steam usage but small errors in metering will eventually empty or fill the tank.

• Combined feedforward and feedback has best features of both controllers.

Page 23: Chapter 12 Cascade, Ratio, and Feedforward Control

Derivation of FF Controller

C ff (s)Y(s)

G d(s)

D(s)

++G a(s)

G ff (s)

G p(s)

G ds (s)

)()()(

)()(

)(forSolving

0)()()()()()()()(

sGsGsG

sGsG

sG

sGsDsGsGsGsGsDsY

pads

dff

ff

dpaffds

Page 24: Chapter 12 Cascade, Ratio, and Feedforward Control

Lead/Lag Element for Implementing FF Control

ffldff

sldff

sdp

spd

ff

d

sd

d

p

sp

pads

K

s

esK

esK

esKsG

s

eKsG

s

eKsGsGsG

ff

p

d

d

p

,,,:parametersLead/Lag

)1(

)1(

)1(

)1()(

1)(

1)()()(

lg

lg

Page 25: Chapter 12 Cascade, Ratio, and Feedforward Control

Effect of Lead/Lag Ratio

Time

c ff

ld/ lg = ½

ld/ lg = 1

ld/ lg = 2

Page 26: Chapter 12 Cascade, Ratio, and Feedforward Control

Static Feedforward Controller

ffff KsG )(

• A static feedforward controller make a correction that is directly proportional to the disturbance change.

• A static feedforward controller is used when the process responds in a similar fashion to a change in the disturbance and the manipulated variable.

Page 27: Chapter 12 Cascade, Ratio, and Feedforward Control

Feedforward When p«d

FF

FeedFT

CoolantOutlet

CoolantInlet

TT

FT

FC

1)(

ld

s

s

eKsG

ff

ffff

Page 28: Chapter 12 Cascade, Ratio, and Feedforward Control

Example of Feedforward Control for d<p

Q

T oT i

0 2 4 6 8 10Time (minutes)

To

2

Ti

10ºC

10ºC

0 2 4 6 8 10Time (minutes)

10ºC

10 kW Q

To

Page 29: Chapter 12 Cascade, Ratio, and Feedforward Control

Static Feedforward Results

-4

0

4

8

12

0 2 4 6 8 10Time

T' (

ºC)

6.5 ºC

• When the inlet temperature drops by 20ºC, Q is immediately increased by 20 kW.

• Deviations from setpoint result from dynamic mismatch

Page 30: Chapter 12 Cascade, Ratio, and Feedforward Control

Perfect Feedforward Control

-30

-15

0

15

30

0 2 4 6 8 10Time (minutes)

T' (

ºC)

Ti effect

Net resultFF Effect

• FF correction is mirror image of disturbance effect.• Net effect is no change in controlled variable.

Page 31: Chapter 12 Cascade, Ratio, and Feedforward Control

Required Dynamic Compensation

0

10

20

0 2 4 6 8 10Time (minutes)

T(º

C)

Q=20kW

Perfect FF

• Since the Q affects the process slower than Ti , initially overcompensation in Q is required followed by cutting back on Q to 20 kW.

Page 32: Chapter 12 Cascade, Ratio, and Feedforward Control

Results with Dynamic Compensation

-4

0

4

8

12

0 2 4 6 8 10Time (minutes)

T' (

C)

w/o DC

w/ DC

Page 33: Chapter 12 Cascade, Ratio, and Feedforward Control

Feedforward Control Action

0 5 10 15 20Time (minutes)

Q

w/o DC

w/ DC

Page 34: Chapter 12 Cascade, Ratio, and Feedforward Control

Effect of Lead/Lag Ratio

Time

c ff

ld/ lg = ½

ld/ lg = 1

ld/ lg = 2

Page 35: Chapter 12 Cascade, Ratio, and Feedforward Control

Tuning a FF Controller

• Make initial estimates of lead/lag parameters based on process knowledge.

• Under open loop conditions, adjust Kff until steady-state deviation from setpoint is minimized.

Time

y

Page 36: Chapter 12 Cascade, Ratio, and Feedforward Control

Tuning a FF Controller

• Analyzing the dynamic mismatch, adjust ff.

Time

y

Page 37: Chapter 12 Cascade, Ratio, and Feedforward Control

Tuning a FF Controller

• Finally, adjust (ld - lg) until approximately equal areas above and below the setpoint result.

Time

y

Page 38: Chapter 12 Cascade, Ratio, and Feedforward Control

Demonstration: Visual Basic Simulator

Tuning a FF Controller

Page 39: Chapter 12 Cascade, Ratio, and Feedforward Control

Feedback Control

• Can effectively eliminate disturbances for fast responding processes.

• But it waits until the disturbance upsets the process before taking corrective action.

• Can become unstable due to nonlinearity and disturbance upsets.

Page 40: Chapter 12 Cascade, Ratio, and Feedforward Control

Feedforward Control

• Compensates for d’s before process is affected

• Most effective for slow processes and for processes with significant deadtime.

• Can improve reliability of the feedback controller by reducing the deviation from setpoint.

• Since it is a linear controller, its performance will deteriorate with nonlinearity.

Page 41: Chapter 12 Cascade, Ratio, and Feedforward Control

Combined FF and FB Control

C fb (s)Y sp (s)G p(s)

Y(s)+++++ -

G c(s)

D(s)

G d(s)

G ff (s)C ff (s)

Page 42: Chapter 12 Cascade, Ratio, and Feedforward Control

Combined FF and FB for the CSTR

Steam

Feed

Product

TT

FT

FC

+

TC

TT

FF

RSP

Page 43: Chapter 12 Cascade, Ratio, and Feedforward Control

Results for CSTR

-6

-3

0

3

6

0 10 20 30 40 50Time (seconds)

T' (

K)

FB-only

FF+FBFF-only

Page 44: Chapter 12 Cascade, Ratio, and Feedforward Control

Analysis of Results for CSTR

• FB-only returns to setpoint quickly but has large deviation from setpoint.

• FF-only reduces the deviation from setpoint but is slow to return to setpoint.

• FF+FB reduces deviation from setpoint and provides fast return to setpoint.

Page 45: Chapter 12 Cascade, Ratio, and Feedforward Control

Example

TT PT

Condensate

Steam

FeedTT

• Draw schematic: For a combined feedforward and feedback controller in which the inlet feed temperature is the feedforward variable and the outlet temperature is the feedback variable. The combined controller output is the setpoint for a steam pressure controller.

Page 46: Chapter 12 Cascade, Ratio, and Feedforward Control

Solution

TT PT

PCTC

Condensate

Steam

RSP

FeedTT

FF

+

Page 47: Chapter 12 Cascade, Ratio, and Feedforward Control

Overview• Cascade can effectively remove certain

disturbances if the slave loop is at least 3 times faster than the master loop.

• Ratio control is effective for processes that scale with the feed rate.

• Feedforward can be effective for measured disturbances for slow responding processes as long as the process nonlinearity is not too great.