46
To Cascade, Ratio, and Feed forward Control An introduction By Ashvani shukla Dy. Manager (C&I) BGR Energy

Control configuration in digital control

Embed Size (px)

Citation preview

Page 1: Control configuration in digital control

To Cascade, Ratio, and Feed forward Control

An introduction

ByAshvani shukla

Dy. Manager (C&I)BGR Energy

Page 2: Control configuration in digital control

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

Tuning loopsControl loop designControl loop troubleshootingCommand of the terminology

Fundamental understandingProcess dynamicsFeedback control

Overall Course Objectives

Page 3: Control configuration in digital 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

changesFeedforward control is a general methodology

for compensating for measured disturbances.

Cascade, Ratio, and Feedforward Control

Page 4: Control configuration in digital control

-6

-3

0

3

6

0 10 20 30 40 50Time (seconds)

T' (

K)

FB-only

Compensatingfor disturbances

Compensating for Disturbances Reduces Deviations from Set point and Settling Time

Page 5: Control configuration in digital control

F in

FC

LT

RSP

FT

F out

L sp

LC

Level Controller on a Tank With and Without Cascade Control

F in

LT

F out

L sp

LC

Page 6: Control configuration in digital control

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.

Analysis of Cascade Example

Page 7: Control configuration in digital control

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.

Key Features for Cascade Control to be Successful

Page 8: Control configuration in digital control

Feed

Product

TT

Coolingwater

TC

Cascade Reactor Temperature Control

Feed

Product

TT

Coolingwater

TCTT

TC

RSP

Page 9: Control configuration in digital control

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.

Analysis of Example

Page 10: Control configuration in digital control

Multiple Cascade Example

FT

AC

AT

TCTT

FC

RSP

RSP

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.

Page 11: Control configuration in digital 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: Control configuration in digital control

TT

PTPCTC

Condensate

Steam

RSP

Feed

Solution

Page 13: Control configuration in digital 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.

Ratio Control

Page 14: Control configuration in digital control

Time

Impu

rity

Con

cent

rati

on

w/ ratio control

w/o ratio control

Typical Performance Improvements using Ratio Control

Page 15: Control configuration in digital control

Ratio Control for Wastewater Neutralization

NaOHSolutionAcid

Wastewater

Effluent

FTFT

FC

pHTpHC

RSP

Page 16: Control configuration in digital control

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.

Analysis of Ratio Control Example

Page 17: Control configuration in digital control

Steam

Feed

Product

TT

FT

FCFT AT

AC

Vent

×

Ratio Control Applied for Vent Composition Control

Page 18: Control configuration in digital control

FT

AC

AT

FC

RSP

FT

Feed

DC

Ratio Control Requiring Dynamic Compensation

Page 19: Control configuration in digital 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: Control configuration in digital control

FT

FC

FT TT

× TC

RSPFlueGas

ProcessFluid

Fuel

Ratio

Solution

Page 21: Control configuration in digital control

Make-upWater

To SteamUsers

LT

LC

Feedforward and Feedback Level Control

Make-upWater

To Steam Users

LT

FT

FF

To SteamUsers

LT

FT FF

LC +

Make-up Water

Page 22: Control configuration in digital 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.

Analysis of Feedforward and Feedback Level Control

Page 23: Control configuration in digital control

C ff (s)Y(s)

G d(s)

D(s)

++G a(s)

G ff (s)

G p(s)

G ds (s)

Derivation of FF Controller

)()()(

)()(

)(forSolving

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

sGsGsG

sGsG

sG

sGsDsGsGsGsGsDsY

pads

dff

ff

dpaffds

Page 24: Control configuration in digital 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

Lead/Lag Element for Implementing FF Control

Page 25: Control configuration in digital control

Time

c ff

ld/ lg = ½

ld/ lg = 1

ld/ lg = 2

Effect of Lead/Lag Ratio

Page 26: Control configuration in digital 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: Control configuration in digital control

FF

FeedFT

CoolantOutlet

CoolantInlet

TT

FT

FC

Feedforward When tp«td

1)(

ld

s

s

eKsG

ff

ffff

Page 28: Control configuration in digital control

Q

T oT i

Example of Feedforward Control for td<tp

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: Control configuration in digital 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: Control configuration in digital 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: Control configuration in digital 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: Control configuration in digital control

-4

0

4

8

12

0 2 4 6 8 10Time (minutes)

T' (

C)

w/o DC

w/ DC

Results with Dynamic Compensation

Page 33: Control configuration in digital control

0 5 10 15 20Time (minutes)

Q

w/o DC

w/ DC

Feedforward Control Action

Page 34: Control configuration in digital control

Time

c ff

ld/ lg = ½

ld/ lg = 1

ld/ lg = 2

Effect of Lead/Lag Ratio

Page 35: Control configuration in digital control

Tuning a FF ControllerMake 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: Control configuration in digital control

Tuning a FF ControllerAnalyzing the dynamic mismatch, adjust

qff.

Time

y

Page 37: Control configuration in digital control

Tuning a FF ControllerFinally, adjust (tld - tlg) until approximately

equal areas above and below the setpoint result.

Time

y

Page 38: Control configuration in digital 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.

Feedback Control

Page 39: Control configuration in digital 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.

Feedforward Control

Page 40: Control configuration in digital 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)

Combined FF and FB Control

Page 41: Control configuration in digital control

Steam

Feed

Product

TT

FT

FC

+

TC

TT

FF

RSP

Combined FF and FB for the CSTR

Page 42: Control configuration in digital control

-6

-3

0

3

6

0 10 20 30 40 50Time (seconds)

T' (

K)

FB-only

FF+FBFF-only

Results for CSTR

Page 43: Control configuration in digital control

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.

Analysis of Results for CSTR

Page 44: Control configuration in digital 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 45: Control configuration in digital control

TT PT

PCTC

Condensate

Steam

RSP

FeedTT

FF

+

Solution

Page 46: Control configuration in digital control

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.

Overview