+ All Categories
Home > Documents > PROCESS CONTROL DESIGN PASI 2005

PROCESS CONTROL DESIGN PASI 2005

Date post: 06-Feb-2017
Category:
Upload: phammien
View: 219 times
Download: 0 times
Share this document with a friend
205
McMASTER U N I V E R S I T Y 1280 Main Street West, Hamilton, ON, Canada L8S 4L7 Thomas E. Marlin Department of Chemical Engineering And McMaster Advanced Control Consortium www.macc.mcmaster.ca Copyright © 2005 by Thomas Marlin PROCESS CONTROL DESIGN PASI 2005 Pan American Advanced Studies Institute Program on Process Systems Engineering August 16-25, 2005, Iguazu Falls
Transcript
Page 1: PROCESS CONTROL DESIGN PASI 2005

McMASTERU N I V E R S I T Y

1280 Main Street West, Hamilton, ON, Canada L8S 4L7

Thomas E. MarlinDepartment of Chemical Engineering

And McMaster Advanced Control Consortiumwww.macc.mcmaster.ca

Copyright © 2005 by Thomas Marlin

PROCESS CONTROL DESIGNPASI 2005

Pan American Advanced Studies Institute Program on Process Systems Engineering

August 16-25, 2005, Iguazu Falls

Page 2: PROCESS CONTROL DESIGN PASI 2005

v1

Hot Oil

v2

v3

L1

v7

v5 v6

Hot Oil

F1 T1 T3

T2

F2

T4T5

F3 T6

T8

F4

L2

v8

T7

P1F5

F6T9

Where do we start?

When are we finished?

Design is a challenging task. We must use all of our technical and problem-solving skills.

Page 3: PROCESS CONTROL DESIGN PASI 2005

You need to know

• The process needs, independent of PSE technology

• The current best practices, strengths and gaps

• Principles informing research and practice

• Key breakthroughs in associated technologies

v1

Hot Oil

v2

v3

L1

v7

v5 v6

Hot Oil

F1 T1 T3

T2

F2

T4T5

F3 T6

T8

F4

L2

v8

T7

P1F5

F6T9

You will be the leaders in the PSE community; practitioners, educators, and researchers.

Page 4: PROCESS CONTROL DESIGN PASI 2005

Course Goals

• Be able to define the control objectives for this goal-driven engineering task.

• Evaluate unique features of multivariable dynamic systems resulting from interaction

• Design simple control strategies using process insights and performance metrics

• Design challenging problems using a systematic, optimization method

• Become enthusiastic and investigate further

Page 5: PROCESS CONTROL DESIGN PASI 2005

Course Resources

• Lecture Notes

• Annotated Reading List

• Solutions to Workshops (38 problems, 73 Pages)

• WEB sitesUndergraduate Control: www.pc-education.mcmaster.caGraduate Control Design:http://www.chemeng.mcmaster.ca/graduate/CourseOutlines/764Course_WEB_Page/764_Course_WEB_Table.doc

This course will be a success if you study, apply, and improve good control design techniques

Page 6: PROCESS CONTROL DESIGN PASI 2005

Course Content

• Defining the Control Design Problem & Workshop

• Single-Loop Control Concepts & Workshop

• Multivariable Principles- Interaction & Workshop- Controllability & Workshop- Integrity & Workshop- Directionality & Workshop

• Short-cut Design Procedure & Workshop

• Optimization-Based Control Design

Slides provided but not covered because of limited me.

Theory &

Practice

This is a small subset of the topics in the graduate course noted on the previous slide.

Page 7: PROCESS CONTROL DESIGN PASI 2005

Course EmphasisSo many great topics!

A Foss: Key Challenge is “which variables to measure, which inputs to manipulate, and what links should be made between these two sets”

CONTROL STRUCTURE!

C. Nett: Objective “minimize control system complexity subject to achievement of accuracy specifications”

SIMPLICITY!

PERFORMANCE!

Page 8: PROCESS CONTROL DESIGN PASI 2005

v1

Hot Oil

v2

v3

L1

v7

v5 v6

Hot Oil

F1 T1 T3

T2

F2

T4T5

F3 T6

T8

F4

L2

v8

T7

P1F5

F6T9

Control Design is a Goal-Driven Problem

The problem is defined based on knowledge of safety, process technology, sales, market demands, legal requirements, etc.

Process systems technology is applied to achieve these goals.

CONTROL DESIGN: DEFINING THE PROBLEM

Page 9: PROCESS CONTROL DESIGN PASI 2005

Outline of the Topic.

• Defining the control design problem

- Categories

• Measures of control performance

- Controlled variable- Manipulated variable

• Benefits of reduced variation

- Class exercise

• Workshop

CONTROL DESIGN: DEFINING THE PROBLEM

Page 10: PROCESS CONTROL DESIGN PASI 2005

_____________________________ CONTROL DESIGN FORM____________________________TITLE: |ORGANIZATION:PROCESS UNIT: |DESIGNER:DRAWING |ORIGINAL DATE: PROCESS FLOW: |REVISION No. DATE: PIPING AND INSTR.: |PAGE No. OF____________________CONTROL OBJECTIVES:

1) SAFETY OF PERSONNEL2) ENVIRONMENTAL PROTECTION3) EQUIPMENT PROTECTION4) SMOOTH, EASY OPERATION5) PRODUCT QUALITY6) EFFICIENCY AND OPTIMIZATION

7) MONITORING AND DIAGNOSIS[Define the control performance required by specifying standard deviations, approach to constraint,response to major upset, or other relevant, quantitative performance measure for each objective.]

_______________________________________________________________________________MEASUREMENTS:

VAR. SENSOR RANGE ACCURACY&DYNAMICS RELIABILITY PRINCIPLE LOCATION REPRODUCIBILITY

_______________________________________________________________________________MANIPULATED VARIABLES:

VAR. AUTO/ LOCAL/ CONTIN. RANGE PRECISION DYNAMICS RELIABIL.___ MANUAL REMOTE DISCRETE ____ _________ ________ ________

_______________________________________________________________________________CONSTRAINTS:

VARIABLE LIMIT VALUES MEASURED/ PENALTY FOR VIOLATION INFERRED _____________________

_______________________________________________________________________________DISTURBANCES:

SOURCE MAGNITUDE FREQUENCY MEASURED?

_______________________________________________________________________________DYNAMIC RESPONSES: (ALL INPUTS, MANIPULATED AND DISTURBANCE)

INPUT OUTPUT GAIN DYNAMIC MODEL

_______________________________________________________________________________ADDITIONAL CONSIDERATIONS:

_______________________________________________________________________________CURRENT OPERATION:

_______________________________________________________________________________CONTROL DESIGN: (INCLUDE DRAWING)

_______________________________________________________________________________BENEFITS:

_______________________________________________________________________________COSTS:

_______________________________________________________________________________

The Control Design Form

The form provides a useful check list for items that should be considered.

It also provides a concise yet complete presentation of the important decisions that must be reviewed by all stake holders.

The objectives and performance descriptions must be stated in process terms, not limited by anticipated control performance.

See Marlin (2000), Chapter 24

CONTROL DESIGN: DEFINING THE PROBLEM

Page 11: PROCESS CONTROL DESIGN PASI 2005

Let’s design controls for this process• How do we start?• What are the common steps?• When are we finished?

Feed

MethaneEthane (LK)PropaneButanePentane

VaporProduct, mostly C1 and C2 (L. Key)

Liquidproduct

Processfluid

Steam

F1

F2 F3

T1 T2

T3

T5

T4

T6 P1

L1

A1

L. Key

P ≈ 1000 kPa

T ≈ 298 K

CONTROL DESIGN: DEFINING THE PROBLEM

Page 12: PROCESS CONTROL DESIGN PASI 2005

Control Design Form

Objectives

Measurements

Manipulated variables

Constraints

Disturbances

Dynamic responses

Additional considerations

1. Safety

2. Environmental protection

3. Equipment protection

4. Smooth operation

5. Product quality

6. Profit

7. Monitoring and diagnosis

WORKSHOP: Complete a Control Design Form

Vaporproduct

LiquidproductProcess

fluidSteam

F1

F2 F3

T1 T2T5

T5

T6 P1

L1

A1

L. Key

T3

T4

CONTROL DESIGN: DEFINING THE PROBLEM

Page 13: PROCESS CONTROL DESIGN PASI 2005

CONTROL OBJECTIVES:1) SAFETY OF PERSONNEL

a) the maximum pressure of 1200 kPa must not be exceeded under any (conceivable)circumstances

2) ENVIRONMENTAL PROTECTIONa) material must not be vented to the atmosphere under any circumstances

3) EQUIPMENT PROTECTIONa) the flow through the pump should always be greater than or equal to a minimum

4) SMOOTH, EASY OPERATIONa) the feed flow should have small variability

5) PRODUCT QUALITYa) the steady-state value of the ethane in the liquid product should maintained at itstarget of 10 mole% for operating condition changes of +20 to -25% feed flow, 5 mole%changes in the ethane and propane in the feed, and -10 to +50 C in the feed temperature.b) the ethane in the liquid product should not deviate more than ±1 mole % from its setpoint during transient responses for the following disturbances

i) the feed temperature experiences a step from 0 to 30 C ii) the feed composition experiences steps of +5 mole% ethane and -5 mole% ofpropaneiii) the feed flow set point changes 5% in a step

6) EFFICIENCY AND OPTIMIZATIONa) the heat transferred should be maximized from the process integration exchanger beforeusing the more expensive steam utility exchanger

7) MONITORING AND DIAGNOSISa) sensors and displays needed to monitor the normal and upset conditions of the unit mustbe provided to the plant operatorb) sensors and calculated variables required to monitor the product quality and thermalefficiency of the unit should be provided for longer term monitoring

CONTROL DESIGN: DEFINING THE PROBLEMEntries must be specific and measurable to guide design

Page 14: PROCESS CONTROL DESIGN PASI 2005

CONTROL DESIGN: DEFINING THE PROBLEM

CONSTRAINTS:

VARIABLE LIMIT VALUES MEASURED/ HARD/ PENALTY FOR VIOLATION INFERRED SOFT ________________

drum pressure 1200 kPa, high P1, measured hard personnel injury

drum level 15%, low L1, measured hard pump damage

Ethane in F5 ± 1 mole%, A1, measured & soft reduced selectivity inproduct (max deviation) T6, inferred downstream reactor DISTURBANCES:

SOURCE MAGNITUDE DYNAMICS

feed temperature (T1) -10 to 55 C infrequent step changes of 20 C magnitude

feed rate (F1) 70 to 180 set point changes of 5% at one time

feed composition ±5 mole% feed ethane frequent step changes (every 1-3 hr)

Entries must be specific and measurable to guide design

For an excellent problem definition, see the Tennessee Eastman design challenge problem.Downs, J. and E. Vogel (1993) “A Plant-wide Industrial Process Control Problem”, Comp. Chem. Engr., 17, 245-255.

Page 15: PROCESS CONTROL DESIGN PASI 2005

CONTROL DESIGN: DEFINING THE PROBLEM

0 5 10 15 20 25 30 35 40 45 500

0.5

1

1.5

2

Time

Man

ipul

ated

Var

iabl

e

0 5 10 15 20 25 30 35 40 45 500

0.5

1

1.5

Time

Con

trolle

d V

aria

ble

What measures of controlperformance would we use?

Page 16: PROCESS CONTROL DESIGN PASI 2005

CONTROL DESIGN: DEFINING THE PROBLEM

0 5 10 15 20 25 30 35 40 45 500

0.5

1

1.5

Time

0 5 10 15 20 25 30 35 40 45 500

0.5

1

1.5

2

Time

= IAE = |SP(t)-CV(t)| dt

Return to set point, “zero offset

Rise time

D

B

B/A = Decay ratio

C/D = Maximum overshoot of manipulated variable

C

A

Page 17: PROCESS CONTROL DESIGN PASI 2005

0 5 10 15 20 25 30 35 40 45 50-0.2

0

0.2

0.4

0.6

0.8

Time

0 5 10 15 20 25 30 35 40 45 50-1.5

-1

-0.5

0

Time

= IAE = |SP(t)-CV(t)| dt

Maximum CV deviation from set point

CONTROL DESIGN: DEFINING THE PROBLEM

Page 18: PROCESS CONTROL DESIGN PASI 2005

CONTROL DESIGN: DEFINING THE PROBLEM

A

A

An important, but often overlooked, factor

All objectives and CVs are not of equal importance!

recycle

product

CV Priority Ranking

Page 19: PROCESS CONTROL DESIGN PASI 2005

Our primary goal is to maintain the CV nearthe set point. Besides not wearing out

the valve, why do we have goals for the MV?

AC

Time0 5 10 15 20 25 30 35 40

0

5

10

15

20

Man

ipul

ated

Var

iabl

e

Steam flow

CONTROL DESIGN: DEFINING THE PROBLEM

An important, but often overlooked, factor

Page 20: PROCESS CONTROL DESIGN PASI 2005

0 5 10 15 20 25 30 35 40

0

5

10

15

20

Time

Man

ipul

ated

Var

iabl

e

Fuel flowFT

1

FT

2

PT

1

PI

1

AT

1

TI

1

TI

2

TI

3

TI

4

PI

2

PI

3

PI

4

TI

5

TI

6

TI

7

TI

8FI

3

TI

10

TI

11

PI

5

PI

6

TC

Fuel

Our primary goal is to maintain the CV nearthe set point. Besides not wearing out

the valve, why do we have goals for the MV?

CONTROL DESIGN: DEFINING THE PROBLEM

For more on Life Extending Control, see Li, Chen, and Marquez (2003)

Page 21: PROCESS CONTROL DESIGN PASI 2005

CONTROL DESIGN: DEFINING THE PROBLEM

0 100 200 300 400 500 600 700 800 900 1000-20

-10

0

10

20

Time

Con

trolle

d V

aria

ble

0 100 200 300 400 500 600 700 800 900 1000-20

-10

0

10

20

Time

Man

ipul

ated

Var

iabl

e

What measures of controlperformance would we use?

Page 22: PROCESS CONTROL DESIGN PASI 2005

0 100 200 300 400 500 600 700 800 900 1000-20

-10

0

10

20

Time

Con

trolle

d Va

riabl

e

0 100 200 300 400 500 600 700 800 900 1000-20

-10

0

10

20

Time

Man

ipul

ated

Var

iabl

e

Variance or standard deviation of CV

Variance or standard deviation of MV

CONTROL DESIGN: DEFINING THE PROBLEM

Often, the process is subject to many large and small disturbances and sensor noise. The performance measure characterizes the variability.

Page 23: PROCESS CONTROL DESIGN PASI 2005

Calculate the process performance using the CVdistribution, not the average value of the key variable!

Process performance = efficiency, yield, production rate, etc. It measures performance for a control objective.

CONTROL DESIGN: DEFINING THE PROBLEM

Page 24: PROCESS CONTROL DESIGN PASI 2005

Class Exercise: Benefits for reduced variability for chemical reactorGoal: Maximize conversion of feed ethane but do not exceed 864C

Which operation, A or B, is better and explain why.

A

B

Page 25: PROCESS CONTROL DESIGN PASI 2005

Class Exercise: Benefits for reduced variability for boiler

Goal: Maximize efficiency and prevent fuel-rich flue gas

Which operation, A or B, is better and explain why.

A

B

Page 26: PROCESS CONTROL DESIGN PASI 2005

DEFINING THE PROBLEM: Workshop 1

Complete a control design form for a typical 2-product distillation tower.

Make reasonable assumptions and note questions you would ask to verify your assumptions.

Note that the figure is not complete; you are allowed to make changes to sensors and final elements.

Page 27: PROCESS CONTROL DESIGN PASI 2005

DEFINING THE PROBLEM: Workshop 2

Complete a control design form for a typical fired heater.

Make reasonable assumptions and note questions you would ask to verify your assumptions.

Note that the figure is not complete; you are allowed to make changes to sensors and final elements.

Page 28: PROCESS CONTROL DESIGN PASI 2005

DEFINING THE PROBLEM: Workshop 3

Typically, we have only a steady-state flowsheet (if that) when designing a plant.

• Discuss the information in the Control Design Form that can be determined at this stage of the design.

• Discuss the information in the Control Design Form that is not known at this stage of the design.

Page 29: PROCESS CONTROL DESIGN PASI 2005

Two process examples show the benefit of reduced variability, the fired heater reactor and the boiler. Discuss the differencebetween the two examples. Can you think of another example that shows the principle of each?

0

0.1

0.2

0.3

0.4

frequency of occurrence

-3 -2 -1 0 1 2 3 deviation from mean

Squeeze down the variability

DEFINING THE PROBLEM: Workshop 4

Page 30: PROCESS CONTROL DESIGN PASI 2005

DEFINING THE PROBLEM: Workshop 5

Discuss an important assumption that is made on the procedure proposed for calculating the average process performance. (Hint: consider dynamics)

How would you evaluate the assumption?

Page 31: PROCESS CONTROL DESIGN PASI 2005

DEFINING THE PROBLEM: Workshop 6

The following performance vs. process variable correlations are provided. All applications require the same average valuefor the process variable (see arrow). What is the best distribute for each case? (Sketch histogram as your answer.)

Process variable

Dis

trib

utio

n Pr

oces

s per

form

ance

Process variable

Dis

trib

utio

n Pr

oces

s per

form

ance

BA

Process variableD

istr

ibut

ion

Proc

ess p

erfo

rman

ce

C

Page 32: PROCESS CONTROL DESIGN PASI 2005

Vaporproduct, C2-

Liquidproduct, C3+Steam

F3

T3

T5

TC6 PC1

LC1

A1

L. Key

Principles of Single-Loop Feedback Control

Multiloop control contains many single-loop systems.

Conclusion: We need to understand single-loop principles.

Lesson Outline

• Ten observations on what affects single-loop feedback

• Workshop

? ?

?

Page 33: PROCESS CONTROL DESIGN PASI 2005

Performance Observations #0. Very obvious, but not so obvious for multivariable systems.

Process gain must not be zero (Kp ≠ 0). Gain should not be too small (range) or too large (sensitivity).

L

F1

T

A

Product concentration

F2

• Which valves can be used to control each measured variable?

• Would the answer change if many single-loops were implemented at the same time?

Principles of Single-Loop Feedback Control

Page 34: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #1. Feedback dead time limits best possible performance

0 10 20 30 40 50 600

0.5

1

1.5S-LOOP plots deviation variables (IAE = 9.7091)

Time

Con

trolle

d Va

riabl

e

0 10 20 30 40 50 600

0.5

1

1.5

Time

Man

ipul

ated

Var

iabl

e

θp, feedback dead time

Discuss why the red area definesdeviation fromset point that

cannot bereduced by any

feedback.

TC

v1

v2

Tin

Principles of Single-Loop Feedback Control

Page 35: PROCESS CONTROL DESIGN PASI 2005

0 20 30 40 50 60-0.2

0

0.2

0.4

0.6

0.8S-LOOP plots deviation variables (IAE = 7.8324)

Time

Con

trolle

d V

aria

ble

0 10 20 30 40 50 60-1.4

-1.2

-1

-0.8

-0.6

-0.4

-0.2

0

Time

Man

ipul

ated

Var

iabl

e

θp, feedback dead time

Performance Observation #1. Feedback dead time limits best possible performance

Discuss why the red area definesdeviation fromset point that

cannot bereduced by any

feedback.

TC

v1

v2

Tin

Principles of Single-Loop Feedback Control

Page 36: PROCESS CONTROL DESIGN PASI 2005

0 10 20 30 40 50 60 70 80 90 100-0.2

0

0.2

0.4

0.6

0.8

Time

Con

trolle

d Va

riabl

e

0 10 20 30 40 50 60 70 80 90 100-0.2

0

0.2

0.4

0.6

0.8

Time

Con

trolle

d Va

riabl

e

Performance Observation #2. Large disturbance time constants slow disturbances and improve performance.

TC

v1

v2

Tin

Pleasediscuss

TC

v1

v2

Tin

Smaller maximum deviation

Principles of Single-Loop Feedback Control

Page 37: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #3. Feedback must change the MV aggressively to improve performance.

Kc = 1.3, TI = 7, Td = 1.5

0 10 20 30 40 50 60-2

0

2

4

6

8S-LOOP plots deviation variables (IAE = 57.1395)

Time

Con

trolle

d V

aria

ble

0 10 20 30 40 50 60-15

-10

-5

0

5

Time

Man

ipul

ated

Var

iabl

e

0 10 20 30 40 50 60-2

0

2

4

6

8S-LOOP plots deviation variables (IAE = 154.0641)

Time

Con

trolle

d V

aria

ble

0 10 20 30 40 50 60-10

-5

0

5

Time

Man

ipul

ated

Var

iabl

e

Kc = 0.6, TI = 10, Td = 0

Pleasediscuss

Principles of Single-Loop Feedback Control

Page 38: PROCESS CONTROL DESIGN PASI 2005

0 10 20 30 40 50 60-2

0

2

4

6

8S-LOOP plots deviation variables (IAE = 88.3857)

Time

Con

trolle

d Va

riabl

e

0 10 20 30 40 50 60-15

-10

-5

0

5

Time

Man

ipul

ated

Var

iabl

e

IAE = 88

0055 ==== valvesensorpp τττθ ,,,

0 10 20 30 40 50 60-2

0

2

4

6

8S-LOOP plots deviation variables (IAE = 113.0941)

Time

Con

trolle

d Va

riabl

e

0 10 20 30 40 50 60-15

-10

-5

0

5

Time

Man

ipul

ated

Var

iabl

e

IAE = 113

1155 ==== valvesensorpp τττθ ,,,

retuned

Performance Observation #4. Sensor and final element dynamics are in feedback loop, slow responses degrade performance.

Principles of Single-Loop Feedback Control

Page 39: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #5. Inverse response (RHP zero) degrades feedback control performance.

Process reaction curve for the effect of solvent flow rate on the reactor effluent concentration.

Two, isothermal CSTRs with reaction A → B and FS >> FA

FA

CA0

V1CA1V2CA2FS

CAS=0

reactant

solvent

Principles of Single-Loop Feedback Control

Page 40: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #5. Inverse response degrades feedback control performance.

PARALLEL STRUCTURES

G1(s)

G2(s)

X(s) Y(s)

Inverse response occurs when parallel paths have different signs for their steady-state gains and the path with the “smaller” magnitude gain is faster.

Principles of Single-Loop Feedback Control

Page 41: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #6. Disturbance frequencies around and higher than the critical frequency cannot be controlled .

TCv1

v2

Tin

Slow

medium

fast

A

B

C

Behavior of the tank temperature for three cases?

Principles of Single-Loop Feedback Control

Page 42: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #6: Frequency Response

10-3

10-2

10-1

100

101

102

103

10-3

10-2

10-1

100

101

Frequency, w (rad/time)

Ampl

itude

Rat

io, |

CV|

/ |D

|

A

B

C

Region I:Control is needed,and it is effective

Region II:Control is needed,but it is not effective

Region III:Control is not needed,and it is not effective

Recall, this is the disturbance frequency, low frequency = long period

This is |CV|/|D|,

small is good.

Principles of Single-Loop Feedback Control

Page 43: PROCESS CONTROL DESIGN PASI 2005

Let’s apply frequency response concepts to a practical example. Can we reduce this open-loop variation?

v1

v2

Tin

A

Feedback dynamics are: We note that the variation hasmany frequencies, some much

slower than the feedback dynamics.12

01 2

+=

se.

)s(v)s(A s

Performance Observation #6. Disturbance frequencies around and higher than the critical frequency cannot be controlled .

Page 44: PROCESS CONTROL DESIGN PASI 2005

Yes, we can we reduce the variation substantially because of the dominant low frequency of the disturbance effects.

Feedback dynamics are:

1201 2

+=

se.

)s(v)s(A s Low frequencies reduced a lot.

Higher frequencies remain!

AC

v1

v2

Tin

Performance Observation #6. Disturbance frequencies around and higher than the critical frequency cannot be controlled .

Page 45: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #7. Long controller execution periods degrade feedback control performance.

0 10 20 30 40 50 60 70 80 90 100-0.2

0

0.2

0.4

0.6

0.8S-LOOP plots deviation variables (IAE = 11.8359)

Time

Con

trolle

d V

aria

ble

0 10 20 30 40 50 60 70 80 90 100-1.4

-1.2

-1

-0.8

-0.6

-0.4

-0.2

0

Time

Man

ipul

ated

Var

iabl

e

TC

v1

v2

Tin

Principles of Single-Loop Feedback Control

Page 46: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #8. Use process understanding to provide a CV-MV pairing with good steady-state and dynamic behavior.

AC

v1

v2

cooling

feed CSTR with A → B

A

Which valve Should be

adjusted for good control

performance?

Principles of Single-Loop Feedback Control

Page 47: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #8. Use process understanding to provide a CV-MV paring with good steady-state and dynamic behavior.

AC

v1

v2

cooling

A

v1 gives faster feedback dynamics

v1 Component material balance

v2 Energy balance

Component material balance

CSTR with A → B

Principles of Single-Loop Feedback Control

Page 48: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #9. Some designs require a loop to adjust two valves to achieve the desired range and precision.

Principles of Single-Loop Feedback Control

Vaporproduct

Liquidproduct

Processfluid

Steam

FC-1

F2 F3

T1 T2

T3

T5

TC PC-1

LC-1

AC-1

L. Key

Split range

Two heating valves are available for manipulation.

Adjust only one at a time.

Page 49: PROCESS CONTROL DESIGN PASI 2005

Performance Observation #10. Some designs require several loops to adjust the same manipulated variable to ensure that the highest priority objective is achieved.

Principles of Single-Loop Feedback Control

Control the effluent concentration of A but do not exceed a maximum reactor temperature.

Only the cooling medium may be adjusted.

signal select

Page 50: PROCESS CONTROL DESIGN PASI 2005

Feed

MethaneEthane (LK)PropaneButanePentane

Vaporproduct, C2-

Liquidproduct, C3+Steam

F3

T3

T5

TC6 PC1

LC1

A1

L. Key

What if the % ethaneis sometimes 2%

and other times 50%?

Single-loop Control, Workshop #1

Page 51: PROCESS CONTROL DESIGN PASI 2005

Single-loop Control, Workshop #2

The consumers vary and we must satisfy them by purchasing fuel gas. Therefore, we want to control the pressure in the gas distribution network. Design a control system. By the way, fuel A is less expensive.

Page 52: PROCESS CONTROL DESIGN PASI 2005

Single-loop Control, Workshop #3

Design a controller that will control the level in the bottom ofthe distillation tower and send as much flow as possible to Stream A

Page 53: PROCESS CONTROL DESIGN PASI 2005

Freedom to adjust flows

Stream A Stream B

1. Constant Adjustable

2. Adjustable Constant

3. Constant Constant

Stream A(cold)

Stream B(hot)

TC1

Stream A(cold)

Stream B(hot)

TC

3

Stream A(cold)

Stream B(hot)

TC

2

Single-loop Control, Workshop #4

You can add valve(s) and piping.

Page 54: PROCESS CONTROL DESIGN PASI 2005

CW

NC

Class exercise: Distillation overhead system. Design a pressure controller. (Think about affecting U, A and ∆T)

Single-loop Control, Workshop #5

PC

No vapor product

You can add valve(s) and piping.

Page 55: PROCESS CONTROL DESIGN PASI 2005

Class exercise: Distillation overhead system. Design a pressure controller. (Think about affecting U, A and ∆T)

Single-loop Control, Workshop #6

Refrigerant

NCLC

PC

You can add valve(s) and piping.

Page 56: PROCESS CONTROL DESIGN PASI 2005

L

A1C

Strong base

F1

Strongacid

The following control system has a very large gain near pH = 7. For a strong acid/base, performance is likely to be poor. How can we improve the situation?

pH

Single-loop Control, Workshop #7

Page 57: PROCESS CONTROL DESIGN PASI 2005

Basically, multiloop designs are simply many single-loop (PID) controllers. Then, what is new? ** INTERACTION **

Principles of Multivariable Dynamic Processes and MultiLoop Control

v1

Hot Oil

v2

v3

L1

v7

v5 v6

Hot Oil

F1 T1 T3

T2

F2

T4T5

F3 T6

T8

F4

L2

v8

T7

P1F5

F6T9

Step valve

When we adjust one valve, how many measurements change and what are responses?

Page 58: PROCESS CONTROL DESIGN PASI 2005

** INTERACTION **

Principles of Multivariable Dynamic Processes and MultiLoop Control

LESSON OUTLINE

• Interaction – A brief definition

• Controllability – Can desired performance be achieved?

• Integrity – What happens to the system when a controller stops functioning?

• Directionality – A key factor in control performance

Class Exercises and Workshops throughout

Page 59: PROCESS CONTROL DESIGN PASI 2005

0 20 40 60 80 100 1200.98

0.982

0.984

0.986

0.988

0.99

Time (min)

XD

(mol

frac)

0 20 40 60 80 100 1200.02

0.025

0.03

0.035

0.04

Time (min)

XB

(mol

frac)

0 20 40 60 80 100 1201.12

1.125

1.13

1.135x 10

4

Time (min)

R (m

ol/m

in)

0 20 40 60 80 100 1201.5613

1.5613

1.5614

1.5614

1.5615

1.5615x 10

4

Time (min)

V (m

ol/m

in)

Step change to reflux with constant reboiler

Definition: A multivariable process has interaction when input (manipulated) variables affect more than one output (controlled)variable.

INTERACTION: The difference in multivariable control

Page 60: PROCESS CONTROL DESIGN PASI 2005

Multivariable Interaction, Workshop #1

0

10

20

30

40

50

60

70

80

90

100

0.00 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.00

Composition (fraction A), xAM

Tota

l flo

w, F

M

The ranges of the two mixing flows are given in the figure.

Sketch the feasible steady-state operating window in the Figure.

Note:

You may assume no disturbances for this exercise.

FA, xA=1FS, xAS = 0 FM, xAM

0-30 m3/h

0-60 m3/h

Page 61: PROCESS CONTROL DESIGN PASI 2005

Control Design Form

1. Safety2. Environmental

protection3. Equipment protection4. Smooth operation5. Product quality6. Profit7. Monitoring and

diagnosis

Vaporproduct

Processfluid

F1

F2 F3

T1 T2T5

T5

T6 P1

L1

T3

T4

Manipulated

variables

Controlled

variables

Controllability: Is the desired performance achievable?

Disturbances

If the required performance is not achievable, fix the process; don’t design controllers!

Can we control the CVs with the MVs?

Page 62: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

CONTROLLABILITY - A characteristic of the processthat determines whether a specified dynamic behavior can be achieved with a defined set of controlled and manipulated variables and a defined scenario.

We seek a fundamental property of the process independent of a specific control design or structure.

Various specifications for dynamic behavior are possible; we will review a few commonly used.

Page 63: PROCESS CONTROL DESIGN PASI 2005

T2Stream A(cold)

Stream B(hot)

T1

Is this behavior possible?

Goals: Maintain cold effluent T1 andMaintain hot effluent at T2final steady-states = set pointsFreedom to adjust flows

Stream A Stream B

Adjustable Adjustable

Interaction influences Controllability.

Controllability: Is the desired performance achievable?

Page 64: PROCESS CONTROL DESIGN PASI 2005

T2

Stream A(cold)

Stream B (hot)

T1v1

v2

Quick check foreach loop

• Can we control T2 with v2?

• Can we control T1 with v1?

YES

YES

Interaction influences Controllability.

Controllability: Is the desired performance achievable?

Since each individual loop is OK, both loops are OK?

Page 65: PROCESS CONTROL DESIGN PASI 2005

)(

)(

CinCoutpColdCold

HinHoutpHotHot

TTCFQ

TTCFQ

C

H

−=

−=

Energy balance on each streamT2

Stream A(cold)

Stream B (hot)

T1

v1

v2

Interaction influences Controllability.

Controllability: Is the desired performance achievable?

Page 66: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

A few typical controllability performance specifications

• Steady-state: Achieve desired steady-state when disturbances occur

• Point-wise state (output): Move to specified initial values of states (or CVs) to final values in finite time

• Functional: Strictly follow any defined trajectory for CVs

For processes that operate at steady-state, but no information about transition.

Useful for transition control between steady states and for batch processes. However, likely too restrictive (strictly, any).

Often in textbooks. Perhaps, useful for batch end-point control.

Page 67: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

Steady-state Controllable: A mathematical test.

The system will be deemed controllable if the steady-state I/O gain matrix can be inverted, i.e.,

Det [ G(0) ] ≠ 0

[G(0)] -1 exists

This is only applicable to open-loop stable plants. It is a point-wise test that gives no (definitive) information about other conditions.

No information about the transient behavior or the changes to MV’sto achieve the desired CV’s (set points).

Page 68: PROCESS CONTROL DESIGN PASI 2005

Pointwise State Controllable: A process example for p.s. controllability.

u =T0

T1 = x1 T2 = x2 T3 = x3 T4 = x4From Skogestad & Postlethwaite, 1996

One MV and four CVs.The control performance can be achieved!

Nothing is specified for MV at any time or for CV between t0 and t1 or after the time t1.

Controllability: Is the desired performance achievable?

Page 69: PROCESS CONTROL DESIGN PASI 2005

Functional Controllable* - A system is controllable if it is possible to adjust the manipulated variables MV(t) so that the system will follow a (smooth) defined path from CV(t0) to CV(t1) in a finite time.

A system G(s) is (output) functionally controllable when dimensions of CV and MV are the same (say n)

The rank of G(jω) = n

Stated differently, G-1(jω ) exists for all ω

Stated again, σmin(G(jω)) > 0 [minimum singular value]

Unfortunately, dead times and RHP zeros prevent the controller from implementing the inverse for most process. Also, no specification on the MV’s.

Controllability: Is the desired performance achievable?

Page 70: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

Class Exercise: Let’s define controllability with a test that is computable.

+ +

+ +

G11(s)

G21(s)

G12(s)

G22(s)

Gd2(s)

Gd1(s)

D

CV1

CV2

MV1

MV2

Page 71: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

Controllability Test: Solve as open-loop optimization problem, which can be an LP or convex QP.

If all violation slacks (s2n) on the performance specifications are zero,

i.e. if f = 0, the system is controllable!

,

f u

noo

nn

nn

nn

nnnn

nnn

nSPnnn

nSPnnn

nn

nnnn

nn

dyxugivenss

ss

ss

uuuuuuu

yssy

yssy

CxyDdBuAxx

ts

ss

0

22

max11

max11

max1min

maxmin

21

21

1

22

,,0,0

)(0

)(0

)()()()(

)(

)(

..

)(min

+−

−−

++−

−−

++

−+

≤≤

≤≤

≤≤

∆≤−≤∆≤≤

≥++

≤−−

=++=

+=∑

Note that in the formulation, slacks s1ndefine allowable deviation from desired output, and s2n are violations for excessive deviation.

Page 72: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

Example of controllability test for 2x2 Fluidized Catalytic Cracking Reactor

T

T

regenerator

riser

Large fluidizedvessel

Tubular reactorWith short space time

Tris

Trgn

Fair

Fcat

Must be tightly controlled

Keep in safe range

Feed

Product

Page 73: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

Example of controllability test for 2x2 Fluidized Catalytic Cracking Reactor

0 20 40 601252

1254

1256

1258

1260

Trgn

(F)

time (sec)

0 20 40 601000

1002

1004

1006

1008

1010

1012

Tris

(F)

time (sec)

0 20 40 600.45

0.5

0.55

0.6

0.65

0.7

Fair

(lb a

ir/lb

feed

)

time (sec)

0 20 40 60

6.5

6.6

6.7

6.8

6.9

Fcat

(lb

cat/l

b fe

ed)

time (sec)

FCC Case 1Tris ∆SP = +10 °F at t=0

With no bounds on the speed of adjustment, the set points can be tracked exactly.

Is the system controllable?

Page 74: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

Example of controllability test for 2x2 Fluidized Catalytic Cracking Reactor

FCC Case 2Tris ∆SP = +10 °F at t=0

With bounds on the speed of adjustment, ∆Fair ≤ 0.01 (lb air/lb feed)/2sec

∆Fcat ≤ 0.1 (lb cat/lb feed)/2sec

Is the system controllable?

0 20 40 601252

1254

1256

1258

1260

Trgn

(F)

time (sec)

0 20 40 601000

1002

1004

1006

1008

1010

1012

Tris

(F)

time (sec)

0 20 40 600.45

0.5

0.55

0.6

0.65

0.7

Fair

(lb a

ir/lb

feed

)

time (sec)

0 20 40 60

6.5

6.6

6.7

6.8

6.9

Fcat

(lb

cat/l

b fe

ed)

time (sec)

Page 75: PROCESS CONTROL DESIGN PASI 2005

Controllability: Is the desired performance achievable?

Evaluation of the proposed approach

GOOD ASPECTS• Can define relevant time-

domain performance specifications

- on CVs (or states)- on MVs

• Great flexibility on form of specifications

• Easily computed

• No limitation on disturbance

• Includes most other definitions/tests as special cases

SHORTCOMINGS• Linear Model

• No robustness measure

• No guarantee that any controller will achieve the performance

• Finite horizon Tru

e fo

r al

l con

trol

labi

lity

test

s

Page 76: PROCESS CONTROL DESIGN PASI 2005

Determining controllability from process sight

1. One CV cannot be effected by any valve

2. One MV has no effect on CVs

3. Lack of independent effects.Look for “contractions”

These are generallyeasy to determine.

This requires care andprocess insight to

determine.

Lack of controllability when

Controllability: Is the desired performance achievable?

Page 77: PROCESS CONTROL DESIGN PASI 2005

We need to control the mixing tank effluent temperature and concentration.

You have been asked to evaluate the steady-state controllability of the process in the figure.

Discuss good and poor aspects and decide whether you would recommend the design.

F1T1CA1

F2T2CA2

T

A

CONTROLLABILITY : Workshop 1

Controlled variables are the temperature and concentration in the tank effluent.

Page 78: PROCESS CONTROL DESIGN PASI 2005

The sketch describes a simplified boiler for the production of steam. The boiler has two fuels that can be manipulated independently. We want to control the steam temperature and pressure. Analyze thecontrollability of this system and determine the loop pairing.

CONTROLLABILITY : Workshop 2

Page 79: PROCESS CONTROL DESIGN PASI 2005

The sketch describes a simplified flash drum. A design is proposed to control the temperature and pressure of the vapor section. Analyze the controllability of this system and determine if the loop pairing is correct.

vapor

liquid

Hot streams

CONTROLLABILITY : Workshop 3

Feed

MethaneEthane (LK)PropaneButanePentane

Page 80: PROCESS CONTROL DESIGN PASI 2005

A non-isothermal CSTR

• Does interaction exist?

• Are the CVs (concentrations) independently controllable?

A → B + 2C-rA = k0 e -E/RT CA

A

ACB

CC

+ +

+ +

G11(s)

G21(s)

G12(s)

G22(s)

Gd2(s)

Gd1(s)v1

v2

CONTROLLABILITY : Workshop 4

Page 81: PROCESS CONTROL DESIGN PASI 2005

LC

FC

TC

AC

Integrity: Is the design “robust” to changes in controller status?

What is the effect of turning

“off” AC (placing in manual)?

We will first introduce the Relative Gain; then, we will apply it to the Integrity Question

Page 82: PROCESS CONTROL DESIGN PASI 2005

RELATIVE GAIN: Definition+ +

+ +

G11(s)

G21(s)

G12(s)

G22(s)

Gd2(s)

Gd1(s)

D(s)

CV1(s)

CV2(s)MV2(s)

MV1(s)The relative gain between MVj and CVi is λij . It is defined in the following equation.

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

kλ What have we assumed about the other controllers?

Explain in words.

Page 83: PROCESS CONTROL DESIGN PASI 2005

RELATIVE GAIN: Properties

[ ] [ ][ ]

[ ] [ ] [ ]j

i

CVji

MVji

CVMVCVKMV

MVCVMVKCV

⎟⎠⎞

⎜⎝⎛

∂∂==

⎟⎠⎞

⎜⎝⎛

∂∂==

−ij

1

ij

kI

k

The relative gain array is the element-by-element product of K with K-1. ( = product of ij elements)

( ) ( )( )jiijij kIkKK ==Λ −⊗ λ T

1

1. The RGA can be calculated from open-loop gains (only).

Open-loop

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

Closed-loop

Page 84: PROCESS CONTROL DESIGN PASI 2005

2. In some cases, the RGA is very sensitive to small errors in the gains, Kij.

2211

211211

1

1

KKKK

−=λ

When is this equation very sensitive to errors in the individual gains?

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

When this term is nearly equal 1.0

RELATIVE GAIN: Properties

Page 85: PROCESS CONTROL DESIGN PASI 2005

2. In some cases, the RGA is very sensitive to small errors in the gains, Kij.

Change in FD used infinite difference for

derivative

λ11 for a positivechange in FD

λ11 for a negativechange in FD

Average λ11 forpositive and negative

changes in FD2% .796 .301 .548

0.5% .673 .508 .5900.2% .629 .562 .5960.05% .605 .588 .597

We must perform a thorough study to ensure that numerical derivatives are sufficiently accurate!

The δx must be sufficiently small (be careful about roundoff).

constant

constant

=

=

⎟⎟⎠

⎞⎜⎜⎝

∆∆

⎟⎟⎠

⎞⎜⎜⎝

∆∆

=

k

k

CVj

i

MVj

i

ij

MVCV

MVCV

λ

Results for a distillation tower, from McAvoy, 1983

RELATIVE GAIN: Properties

Page 86: PROCESS CONTROL DESIGN PASI 2005

2. In some cases, the RGA is very sensitive to small errors in the gains, Kij.

We must perform a thorough study to ensure that numerical derivatives are sufficiently accurate!

The convergence tolerance must be sufficiently small.

Convergencetolerance of

equations (some ofall errors squared)

λ11 for a positivechange in FD

λ11 for a negativechange in FD

Average λ11 forpositive and negative

changes in FD

10-4 -4.605 8.080 -.88710-6 -.096 1.068 .50310-8 .556 .615 .58610-10 .622 .568 .59510-16 .629 .562 .596

constant

constant

=

=

⎟⎟⎠

⎞⎜⎜⎝

∆∆

⎟⎟⎠

⎞⎜⎜⎝

∆∆

=

k

k

CVj

i

MVj

i

ij

MVCV

MVCV

λ

Average gains from +/-

Results for a distillation tower, from McAvoy, 1983

RELATIVE GAIN: Properties

Page 87: PROCESS CONTROL DESIGN PASI 2005

3. We can evaluate the RGA of a system with integrating processes, such as levels.

Redefine the output as the derivative of the level; then, calculate as normal.

ρρρρ

/)/1()/1(//

21

DDDDDdtdLmm

−−

m2m1m

L

A

ρ = density

D = density

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

RELATIVE GAIN: Properties

solvent

Page 88: PROCESS CONTROL DESIGN PASI 2005

RELATIVE GAIN: Properties

Additional Properties, stated but not proved here

4. Rows and column of RGA sum to 1.0

5. Elements in RGA are independent of variable scalings

6. Permutations of variables results in same permutation in RGA

7. RGA is independent of a specific I/O pairing – it need be evaluated only once

Page 89: PROCESS CONTROL DESIGN PASI 2005

MVj → CVi

λij < 0 In this case, the steady-state gains have different signs depending on the status (auto/manual) of the other loops.

A1

A2

CA0

CA

CSTR with

A → BSolvent

ADiscuss interaction

What sign is process gain of A2 loop with A1

(a) in automatic

(b) in manual.

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

RELATIVE GAIN: Interpretations

vA

vS

Page 90: PROCESS CONTROL DESIGN PASI 2005

MVj → CVi

λij < 0 In this case, the steady-state gains have different signs depending on the status (auto/manual) of other loops!

We can achieve stable multiloop feedback by using the sign of the controller gain that stabilizes the multiloop system.

Discuss what happens when the other interacting loop is placed in manual!

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

RELATIVE GAIN: Interpretations

Page 91: PROCESS CONTROL DESIGN PASI 2005

MVj → CVi

λij < 0 the steady-state gains have different signs

For λij < 0 , one of three BAD situations occurs

1. Multiloop is unstable with all in automatic.

2. Single-loop ij is unstable when others are in manual.

3. Multiloop is unstable when loop ij is manual and other loops are in automatic

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

RELATIVE GAIN: Interpretations

Page 92: PROCESS CONTROL DESIGN PASI 2005

MVj → CVi

λij = 0 In this case, the steady-state gain is zero when all other loops are open, in manual.

LC

Could this control system work?

What would happen if one controller were in manual?

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

FC

RELATIVE GAIN: Interpretations

Page 93: PROCESS CONTROL DESIGN PASI 2005

MVj → CVi

0<λij<1 In this case, the multiloop (ML) steady-state gain is larger than the single-loop (SL) gain.

What would be the effect on tuning of opening/closing the other loop?

Discuss the case of a 2x2 system paired on λij = 0.1

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

RELATIVE GAIN: Interpretations

Page 94: PROCESS CONTROL DESIGN PASI 2005

MVj → CVi

λij= 1 In this case, the steady-state gains are identical in both the ML and the SL conditions.

+ +

+ +

G11(s)

G21(s)

G12(s)

G22(s)

Gd2(s)

Gd1(s)D(s)

CV1(s)

CV2(s)MV2(s)

MV1(s)

What is generally true when λij= 1 ?

Does λij= 1 indicate no interaction?

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

RELATIVE GAIN: Interpretations

Page 95: PROCESS CONTROL DESIGN PASI 2005

λij= 1 In this case, the steady-state gains are identical in both the ML and the SL conditions.

⎥⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢⎢

=

....

..k

k

K22

11

⎥⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢⎢

=

........k....

....kk

k

K

n1

2221

11

0

0

0IRGA =

⎥⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢⎢

=

11

11

1

0

0Lower diagonal gainmatrix

Diagonal gainmatrixDiagonal gainmatrix

Both give an RGA that is diagonal!

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

RELATIVE GAIN: Interpretations

Page 96: PROCESS CONTROL DESIGN PASI 2005

MVj → CVi

1<λij In this case, the steady-state multiloop (ML) gain is smaller than the single-loop (SL) gain.

If a ML process has a smaller process gain, why not just increase the associated controller gain by λij ?

What would be the effect on tuning of opening/closing the other loop?

Discuss a the case of a 2x2 system paired on λij = 10.

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

RELATIVE GAIN: Interpretations

Page 97: PROCESS CONTROL DESIGN PASI 2005

MVj → CVi

λij= ∞ In this case, the gain in the ML situation is zero. We conclude that ML control is not possible.

closed loopsother

open loopsother

constant

constant

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

⎟⎟⎠

⎞⎜⎜⎝

∂∂

⎟⎟⎠

⎞⎜⎜⎝

∂∂

=

=

=

j

i

j

i

CVj

i

MVj

i

ij

MVCV

MVCV

MVCV

MVCV

k

Have we seen this result before?

RELATIVE GAIN: Interpretations

Page 98: PROCESS CONTROL DESIGN PASI 2005

• Integral Stabilizability

• Integral Controllability

• Integral Controllability with Integrity

• Decentralized Integral Controllability

- Can be stabilized with feedback using same sign of controller gains as single-loop

- Can be stabilized with feedback using same sign of controller gains as single-loop and all controllers can be detuned “equally”

- Can be stabilized with feedback using same sign of controller gains as single-loop and some controllers can be placed off, on “manual” while retaining stability (with retuning)

- Can be stabilized with feedback using same sign of controller gains as single-loop and any controller(s) can be detuned any amount

INTEGRITYIncreasingly restrictive

Page 99: PROCESS CONTROL DESIGN PASI 2005

INTEGRITY is strongly desired for a control design.

SOME ASSUMPTIONS FOR RESULTS PRESENTED

• Limited to stable plants; if open-loop unstable plants, extensions to analysis are available

• All controllers have “integral modes”. They provide zero steady-state offset for asymptotically constant (“step-like”) inputs

• All “simple loops” ; variable structure (split range and signal select) are not considered unless explicitly noted.

• See references (Campo and Morari, Skogestad and Postlethwaite, etc.) for limitations on the transfer functions.

INTEGRITY

Page 100: PROCESS CONTROL DESIGN PASI 2005

• Integral Stabilizability

• Integral Controllability

• Integral Controllability with Integrity

• Decentralized Integral Controllability

- Can be stabilized with feedback using same sign of controller gains as single-loop

- Can be stabilized with feedback using same sign of controller gains as single-loop and all controllers can be detuned “equally”

- Can be stabilized with feedback using same sign of controller gains as single-loop and some controllers can be off (“manual”) while retaining stability (with retuning)

- Can be stabilized with single-loop feedback using same sign of controller gains as any individual controller(s) can be detuned any amount

INTEGRITY

NiederlinskiIndex

Relative Gain Array*

Not very important

Important, no short-cut

test

* All possible sub-systems with controller(s) off

Page 101: PROCESS CONTROL DESIGN PASI 2005

The process in the figure is a simplified head box for a paper making process. The control objectives are to control the pressure at the bottom of the head box (P1) tightly and to control the slurry level (L) within a range. The manipulated variables are the slurry flow rate in (Flin) and the air vent valve opening.

Integrity Workshop 1

1. Determine the integrity of the two possible pairings based process insight.

2. Recommend which pairing should be used.

3. Discuss the integrity of the resulting system.

Pulp and water slurry

Paper mat on wire mesh

Air

Page 102: PROCESS CONTROL DESIGN PASI 2005

AC

AC

The following transfer function matrix and RGA are given for a binary distillation tower. Discuss the integrity for the two loop pairings.

⎥⎦

⎤⎢⎣

⎥⎥⎥⎥

⎢⎢⎢⎢

+−

+

+−

+=⎥⎦

⎤⎢⎣

⎡−−

−−

)()(

12.101253.0

175.111173.0

1150667.0

1120747.0

)()(

23.3

23

sFsF

se

se

se

se

sXBsXD

V

Rss

ss

1.61.5 1.51.6

−−

XBXD

FVFR

Integrity Workshop 2

Page 103: PROCESS CONTROL DESIGN PASI 2005

The following transfer function matrix and RGA are given for a binary distillation tower. Discuss the integrity for the two loop pairings.

AC

AC

XD

XB

FD

FV

XF

⎥⎦

⎤⎢⎣

⎥⎥⎥⎥

⎢⎢⎢⎢

+−

+−

++−

=⎥⎦

⎤⎢⎣

⎡−−

−−

)()(

13008.0

175.111173.0

15008.0

1120747.0

)()(

23.3

23

sFsF

se

se

se

se

sXBsXD

V

Dss

ss

39.061.0 61.039.0

XBXD

FVFD

Integrity Workshop 3

Page 104: PROCESS CONTROL DESIGN PASI 2005

0100483.10083.383.0083.12

001014321

CVCVCVCV

mvmvmvmv

−−

Integrity Workshop 4

We will consider a hypothetical 4 input, 4 output process.

• How many possible combinations are possible for the square mutliloop system?

• For the system with the RGA below, how many loop pairings have good integrity?

Page 105: PROCESS CONTROL DESIGN PASI 2005

XD, XB FeedComp.

RGA RGA

.998,.02 .25 46.4 .07

.998,.02 .50 45.4 .113

.998,.02 .75 66.5 .233

.98, .02 .25 36.5 .344

.98, .02 .50 30.8 .5

.98, .02 .75 37.8 .65

.98, .002 .25 66.1 .787

.98, .002 .50 46 .887

.98, .002 .75 48.8 .939

Small distillation column

Rel. vol = 1.2, R = 1.2 Rmin

From McAvoy, 1983

Integrity Workshop 5

AC

AC

XD

XB

FR

FV

XF

AC

AC

XD

XB

FD

FV

XF

The table presents RGA(1,1) for the same 2x2 process with different level controllers (considered “part of the process”) and different operation conditions. What do you conclude about the effects of regulatory level controls and operating conditions on the RGA?

Page 106: PROCESS CONTROL DESIGN PASI 2005

Directionality: Its effect on Control Performance

AC

AC

AC

AC

XD

XB

FD

FV

XF

Let’s gain insight about control performance and learn one short-cut metric

Do we need more than

• Controllability• Integrity (RGA)

Before we design controls?

λ(1,1) = 6.1 λ(1,1) = 0.39

Page 107: PROCESS CONTROL DESIGN PASI 2005

Important Observation: Case 1

FR → XD

FRB → XB

0 50 100 150 2000.98

0.982

0.984

0.986

0.988IAE = 0.26687 ISE = 0.00052456

XD

, lig

ht k

ey

0 50 100 150 2000.02

0.021

0.022

0.023

0.024IAE = 0.25454 ISE = 0.0004554

XB,

ligh

t key

0 50 100 150 2008.5

8.6

8.7

8.8

8.9

9SAM = 0.31512 SSM = 0.011905

Time

Ref

lux

flow

0 50 100 150 20013.5

13.6

13.7

13.8

13.9

14SAM = 0.28826 SSM = 0.00064734

Time

Reb

oile

dva

por

RGA = 6.09 AC

AC

Design A

0 50 100 150 2000.98

0.982

0.984

0.986

0.988IAE = 0.059056 ISE = 0.00017124

XD

, lig

ht k

ey

0 50 100 150 2000.019

0.02

0.021

0.022

0.023IAE = 0.045707 ISE = 8.4564e-005

XB,

ligh

t key

0 50 100 150 2008.46

8.48

8.5

8.52

8.54SAM = 0.10303 SSM = 0.0093095

Time

Ref

lux

flow

0 50 100 150 20013.5

13.6

13.7

13.8

13.9

14SAM = 0.55128 SSM = 0.017408

Time

Reb

oile

dva

por

RGA = 0.39

FD → XD

FRB → XB

AC

AC

Design B

Page 108: PROCESS CONTROL DESIGN PASI 2005

Important Observation: Case 2

0 50 100 150 200

0.975

0.98

IAE = 0.14463 ISE = 0.00051677

XD

, lig

ht k

ey

0 50 100 150 2000

0.005

0.01

0.015

0.02

0.025IAE = 0.32334 ISE = 0.0038309

XB,

ligh

t key

0 50 100 150 2008.5

8.55

8.6

8.65

8.7SAM = 0.21116 SSM = 0.0020517

Time

Ref

lux

flow

0 50 100 150 20013.1

13.2

13.3

13.4

13.5

13.6SAM = 0.38988 SSM = 0.0085339

Time

Reb

oile

dva

por

RGA = 6.09

FR → XD

FRB → XB

AC

AC

Design A

0 50 100 150 2000.95

0.96

0.97

0.98

0.99IAE = 0.45265 ISE = 0.0070806

XD

, lig

ht k

ey

0 50 100 150 2000

0.005

0.01

0.015

0.02

0.025

0.03IAE = 0.31352 ISE = 0.0027774

XB,

ligh

t key

0 50 100 150 2008

8.1

8.2

8.3

8.4

8.5

8.6SAM = 0.51504 SSM = 0.011985

Time

Ref

lux

flow

0 50 100 150 20011

11.5

12

12.5

13

13.5

14SAM = 4.0285 SSM = 0.6871

TimeR

eboi

led

vapo

r

FD → XD

FRB → XB

RGA = 0.39

AC

AC

Design B

Page 109: PROCESS CONTROL DESIGN PASI 2005

Conclusion from the two observations (and much more evidence)

The best performing loop pairing is not always the pairing with

• Relative gains elements nearest 1.0

• The “least interaction”

This should not be surprising; we have not established a direct connection between RGA and performance.

So, what is going on?

Directionality: Its effect on Control Performance

Page 110: PROCESS CONTROL DESIGN PASI 2005

• The best multivariable control design depends on the feedback and input!

• A key factor is the relationship between the feedback and disturbance directions.

Disturbances in this direction are easily corrected.

Disturbances in this direction are difficult to correct.

Strong directionality is a result of Interaction

Directionality: Its effect on Control Performance

Page 111: PROCESS CONTROL DESIGN PASI 2005

A

A

Distillation with “energy balance”

Disturbance direction easily controlled

Disturbance direction not easily controlled

Directionality: Its effect on Control Performance

Strong directionality is a result of Interaction

Page 112: PROCESS CONTROL DESIGN PASI 2005

KEY MATHEMATICAL INSIGHTFor Short-cut Metric

Definition of the Laplace transform and take lim as s → 0

∫ ∫==∞ ∞

0 00dttEsEdtetEsE

s

st )()(lim )()(Measure of control performance,

Large value = BAD

By the way, this is an application of the method for evaluating the moment of a dynamic variable.

00

th )()1()( :moment n=

⎥⎦

⎤⎢⎣

⎡−=∫

sn

nnn sY

dsddttYt

Directionality: Its effect on Control Performance

Page 113: PROCESS CONTROL DESIGN PASI 2005

KEY MATHEMATICAL INSIGHTAPPLIED FIRST TO A SINGLE-LOOP SYSTEM

Apply this concept to a single-loop control system

cp

IDSL

cp

d

KKTKdttEsD

sGsGsGsE −=

+= ∫

0

)( )()()(1

)()(

Gd(s)

GP(s)Gv(s)GC(s)

GS(s)

D(s)

CV(s)

CVm(s)

SP(s) E(s) MV(s) ++

+-

1/sPI Controller

Please verify

Directionality: Its effect on Control Performance

Page 114: PROCESS CONTROL DESIGN PASI 2005

+-

++

+ +-

+

Gc1(s)

Gc2(s)

G11(s)

G21(s)

G12(s)

G22(s)

Gd2(s)

Gd1(s)D(s)

CV1(s)

CV2(s)

MV2(s)

MV1(s)SP1(s)

SP2(s)

• Apply the approach just introduced to a 2x2 multiloop system

• Identify the key aspects - group terms!

∫ ∫∞ ∞

=0 0

)( )( dttEfRDGdttE iSLtuneijiML

Directionality: Its effect on Control Performance

Page 115: PROCESS CONTROL DESIGN PASI 2005

∫ ∫∞ ∞

=0 0

)( )( dttEfRDGdttE iSLtuneijiML

Single-loop performance (dead times, large disturbances, etc. are bad)

Tune Factor

Change in tuning for multi-loop

Relative Disturbance Gain• dimensionless• only s-s gains• can be +/- and > or < 1.0• different for each

disturbance• Usually the dominant term

for interaction

Directionality: Its effect on Control Performance

Page 116: PROCESS CONTROL DESIGN PASI 2005

cp

ID

KKTK

MLIc

SLIc

TK

TK

⎟⎠⎞

⎜⎝⎛

⎟⎠⎞

⎜⎝⎛

⎟⎟⎠

⎞⎜⎜⎝

⎛−

⎟⎟⎟⎟

⎜⎜⎜⎜

⎟⎠⎞⎜

⎝⎛− 221

122

22112112

11

1KKKK

KKKK d

d

What is this term?What unique information is here?

Typical range 0.5 – 2.0.

Relative disturbance gain

∫ ∫∞ ∞

=0 0

)( )( dttEfRDGdttE iSLtuneijiML

Directionality: Its effect on Control Performance

Page 117: PROCESS CONTROL DESIGN PASI 2005

∫ ∫∞ ∞

=0 0

tuneijiSLiML fRDGdttEdttE / )()(

The change in performance due to interaction in multiloop system

The dominant factor!

RDG include feedback interaction (RGA) and disturbance direction

Directionality: Its effect on Control Performance

Page 118: PROCESS CONTROL DESIGN PASI 2005

RDG is easily calculated

⎟⎟⎠

⎞⎜⎜⎝

⎛−

⎟⎟⎟⎟

⎜⎜⎜⎜

⎟⎠⎞⎜

⎝⎛− 221

122

22112112

11

1KKKK

KKKK d

d

2x2 Multiloop General Square Multiloop

[ ][ ]

( )( )

D

MVD

MV

RDG

KKMVloopSingle

KKMVMultiloop

SLj

MLj

ij

dPSL

dpML

diagonal

∆∆

=

−=∆−

−=∆−

1

1

)(:

:

∫ ∫∞ ∞

=0 0

)( )( dttEfRDGdttE iSLtuneijiML

Directionality: Its effect on Control Performance

Page 119: PROCESS CONTROL DESIGN PASI 2005

Relative Disturbance Gain (RDG)Gives effects of Interaction on Performance

Advantages Shortcomings

∫ ∫∞ ∞

=0 0

tuneijiSLiML fRDGdttEdttE / )()(

• Steady-state information

• Includes feedback and disturbance directions

• Direct measure of CV performance

• Allows +/- cancellation- large is bad performance- small might be good performance

• Represents only CV performance

• Measures only one aspect of CV behavior

Directionality: Its effect on Control Performance

Page 120: PROCESS CONTROL DESIGN PASI 2005

Some important results. You can prove them yourself.

• For a single set point change, RDG = RGA

• For a disturbance with same effect as an MV, the |RDG| = 0 to 2.0 (depending on the output variable)

• For one-way interaction, RDG = 1

• Decouple only for unfavorable directionality, i.e., large |RDG|

Directionality: Its effect on Control Performance

Large RGA indicates poor performance for ∆SP

For these common disturbances, interaction is favorable and performance similar to SL!

Performance similar to SL!

Decoupling can make performance worse!

Page 121: PROCESS CONTROL DESIGN PASI 2005

Process Example: FOSS packed bed chemical reactorO2 H2

TCFC

AT

C

FQ

TQ

1. Calculate the RGA and tuning

2. Select pairings and predict performanceA. Temperature set point change (single ∆SP)

B. Quench pressure change (disturbance same as MV)

⎥⎦

⎤⎢⎣

⎥⎥⎥⎥

⎢⎢⎢⎢

+−

+

++−

=⎥⎦

⎤⎢⎣

⎡−−

−−

)()(

..

..

..

..

)()(

..

..

sTsF

se

se

se

se

sCsT

Q

Qss

ss

187006540

191708411

109207460

178602652

78604450

53823261

A

B

Directionality: Its effect on Control Performance

Page 122: PROCESS CONTROL DESIGN PASI 2005

O2 H2

TCFC

AT

C

FQ

TQ

1. Calculate the RGA and tuning

For T - FQ and C - TQ pairing

RGA = 13.7, Detune factor = 2.0

KcT = -0.115, TIT = 1.37

KcC = -0.61, TIC = 1.19

2. Select pairings and predict performance

A. For set point change, RDG = RGA = large!! Predict poor performance!

B. For disturbance, RDG small (between 0 and 2)!Predict good performance, near single-loop

Directionality: Its effect on Control Performance

Page 123: PROCESS CONTROL DESIGN PASI 2005

Set point change.

Discuss the performance

∫∫ ≈ dtEfRGAdtE SLML detune)( ∫∫ ≈ dtEfKiiKijRGAdtE SLML detune)/)((

0 50 100-0.5

0

0.5

1IAE = 21.96 ISE = 6.957

0 50 100-0.4

-0.3

-0.2

-0.1

0IAE = 9.922 ISE = 1.27

0 50 100-2

-1.5

-1

-0.5

0

Time0 50 100

-6

-4

-2

0

Time

Looks like poor

tuning!

Directionality: Its effect on Control Performance

Page 124: PROCESS CONTROL DESIGN PASI 2005

0 50 100-2

-1

0

1IAE = 9.793 ISE = 10.24

0 50 100-0.5

0

0.5

1

1.5IAE = 5.159 ISE = 3.342

0 50 100-1

-0.5

0

0.5

Time0 50 100

0

0.5

1

1.5

2

Time

Disturbance in quench pressure, which is through MV dynamics.

Discuss the performance

∫∫ ≈ dtEfdtE SLML detune ∫ = 0dtEML

How can this good

performance occur with

high interaction?

Directionality: Its effect on Control Performance

Page 125: PROCESS CONTROL DESIGN PASI 2005

)(..

.

)()(

..

..

..

)()(

. sX

sese

sFsF

se

se

se

se

sXBsXD

Fs

s

V

Rss

ss

⎥⎥⎥⎥

⎢⎢⎢⎢

+

++⎥⎦

⎤⎢⎣

⎥⎥⎥⎥

⎢⎢⎢⎢

+−

+

+−

+=⎥⎦

⎤⎢⎣

⎡−

−−

−−

11231

1414700

121012530

1751111730

11506670

11207470

3

5

233

23

AC

AC

Process Example: Binary distillation shown in figure.

1. Calculate the RGA, RDG and tuning

2. Predict performanceA. XD set point change

B. Feed composition disturbanceXD

XB

FR

FV

XF

Directionality: Its effect on Control Performance

Page 126: PROCESS CONTROL DESIGN PASI 2005

0 50 100 150 2000.98

0.982

0.984

0.986

0.988IAE = 0.26687 ISE = 0.00052456X

D, l

ight

key

0 50 100 150 2000.02

0.021

0.022

0.023

0.024IAE = 0.25454 ISE = 0.0004554

XB, l

ight

key

0 50 100 150 2008.5

8.6

8.7

8.8

8.9

9SAM = 0.31512 SSM = 0.011905

Time

Ref

lux

flow

0 50 100 150 20013.5

13.6

13.7

13.8

13.9

14SAM = 0.28826 SSM = 0.00064734

Time

Reb

oile

dva

por

Distillation tower (R,V) with both controllers in automatic for XD set point change

For input = ∆SPXD,

RDG = RGA = 6

RDG large indicates much worse than single-loop

Transient confirms the short-cut prediction

Looks like poor

tuning!

Directionality: Its effect on Control Performance

XD XB

Page 127: PROCESS CONTROL DESIGN PASI 2005

Distillation for XD set point changeLet’s explain why the interaction is unfavorable

From ∆SP XD

From FR XB

ACFR

AC

FV

From ∆FV XD

Note that the interaction from the bottom loop tends to counteract the action of the XD controller!

Unfavorable interaction, poor performance

Directionality: Its effect on Control Performance

Page 128: PROCESS CONTROL DESIGN PASI 2005

Distillation tower (R,V) with both controllers in automatic for feed composition disturbance

0 50 100 150 2000.97

0.975

0.98

0.985IAE = 0.14463 ISE = 0.00051677C

V 1

0 50 100 150 2000

0.005

0.01

0.015

0.02

0.025IAE = 0.32334 ISE = 0.0038309

CV

2

0 50 100 150 2008.5

8.55

8.6

8.65

8.7SAM = 0.21116 SSM = 0.0020517

Time

MV

1

0 50 100 150 20013.1

13.2

13.3

13.4

13.5

13.6SAM = 0.38988 SSM = 0.0085339

Time

MV

2

XD XBFor input = ∆XF,

|RDGXD| = 0.07|RDGXB| = 0.90

(RGA = 6)

RDG small indicates multiloopcan be as good as single-loop

Transient confirms the short-cut prediction

Good performance

without MPC!

Directionality: Its effect on Control Performance

Page 129: PROCESS CONTROL DESIGN PASI 2005

Distillation tower (R,V) with only XD controller in automatic for feed composition disturbance

Favorable interaction results in small XB deviation although XB is not controlled!

0 50 100 150 200

0.97

0.98

0.99IAE = 0.3252 ISE = 0.0027029

CV

1

0 50 100 150 200-0.01

0

0.01

0.02IAE = 2.0211 ISE = 0.030442

CV

2

0 50 100 150 2008.5

8.6

8.7

8.8

8.9

9SAM = 0.38091 SSM = 0.0057519

Time

MV

1

0 50 100 150 20012.5

13

13.5

14

14.5

15SAM = 0 SSM = 0

Time

MV

2

No control!

XD XB

XB not controlled!

Directionality: Its effect on Control Performance

Page 130: PROCESS CONTROL DESIGN PASI 2005

AC

XF

From feed XD

FR

From feed XB

From FR XB

AC

FV

From FV XD

Note that the interaction tends to compensate for the disturbance!

Distillation for XD set point changeLet’s explain why the interaction is unfavorable

Directionality: Its effect on Control Performance

Page 131: PROCESS CONTROL DESIGN PASI 2005

We have a short-cut measure that

• Is dimensionless

• Indicates CV performance for each disturbance (relative to single-loop performance)

- But is not definitive! Large is always bad, small might be good.

• Gives general insights for - SP changes, - one-way interaction, - disturbances with MV model, and - decoupling

Directionality: Its effect on Control Performance

Page 132: PROCESS CONTROL DESIGN PASI 2005

We have two short-cut measures, and many more exist. Which do we use?

I need to know integrity, I want

RGA!

I need to know performance, I

want RDG!

• Use them both (and other relevant short-cut metrics)

• They are especially useful for eliminating candidates

• Do not design based solely on short-cut metrics

Directionality: Its effect on Control Performance

Page 133: PROCESS CONTROL DESIGN PASI 2005

Directionality & Performance Workshop 1

Prove the following important results.

A. For a single set point change, RDG = RGA

B. For a disturbance with same effect as an MV, the |RDG| = 0 to 2.0 (depending on the output variable)

C. For one-way interaction, RDG = 1

D. Decouple only for unfavorable directionality, i.e., large |RDG|

Page 134: PROCESS CONTROL DESIGN PASI 2005

T4

Directionality & Performance Workshop 2

The following model for a two-product distillation tower was presented by Waller et. al. (1987).

Determine the following.

a. Is the system controllable in the steady state?

b. What loop pairings have good integrity?

c. For the pairings with good integrity, is the interaction favorable or unfavorable?

d. Do you recommend decoupling for the disturbance response?

)(

12.965.0

15.8004.0

)()(

12.1055.0

11.823.0

111048.0

11.8045.0

)(14)(4

5.5.1

5.05.0

sX

se

se

sFsF

se

se

se

se

sTsT

Fs

s

V

Rss

ss

⎥⎥⎥⎥

⎢⎢⎢⎢

+−

++⎥⎦

⎤⎢⎣

⎥⎥⎥⎥

⎢⎢⎢⎢

++−

++−

=⎥⎦

⎤⎢⎣

⎡−

−−

−−

T14

Page 135: PROCESS CONTROL DESIGN PASI 2005

Structured, Short-cut Control Design

v1

Hot Oil

v2

v3

L1

v7

v5 v6

Hot Oil

F1 T1 T3

T2

F2

T4T5

F3 T6

T8

F4

L2

v8

T7

P1F5

F6T9

This is a conventional process plant

We should be able to design controls using our process insights and principles

of multivariable processes

Page 136: PROCESS CONTROL DESIGN PASI 2005

Short-cut Methods

• Several metrics, each addresses one objective

• Does not yield final design, but eliminates candidates

• Limited information and simple calculations

• Finds “conventional”designs

• Verify with simulation

Optimization-based Methods

• More general definition of desired behavior

• Address all criteria simultaneously

• Evaluates full transient behavior

• Calculations can be extensive, but must be computable

• Finds “unconventional”

Structured, Short-cut Control Design

Page 137: PROCESS CONTROL DESIGN PASI 2005

Before moving on to systematic use of dynamic simulation and optimization, we will develop some guidelines for a complete short-cut control design method. Why?

• Most control design is done this way!

• Integrate short-cut metrics introduced to this point

• Identify challenges needing a more systematic and complete analysis. i.e, optimization-based

Structured, Short-cut Control Design

Page 138: PROCESS CONTROL DESIGN PASI 2005

For a square (nxn variable) process, there are n! potential candidate designs. We need to reduce this number!

nxn system

Control design definition

Single-loop guidelines

Short-cut metrics for multivariable systems

A few viable candidates to be evaluated further

Structured, Short-cut Control Design

Page 139: PROCESS CONTROL DESIGN PASI 2005

• Provide good control performance for typical process systems

• Require limited information, e.g., process flowsheet, steady-state design, steady-state gains, qualitative dynamics

• Can be applied without dynamic simulation or plant tests

• Recognize that essentially every guideline will be violated for special conditions

Engineers need good guidelines based on principles and experience to solve the “easy” problems.

Structured, Short-cut Control Design

Page 140: PROCESS CONTROL DESIGN PASI 2005

Class Workshop 1: Develop a comprehensive set of control design guidelines

Some hints:

• Define the objectives first! Consider the seven categories of design objectives

• Insure that the goals are possible for the process!

• Integrate principles from single-loop and interaction topics

• Use all process insights!

Structured, Short-cut Control Design

Page 141: PROCESS CONTROL DESIGN PASI 2005

1. Process analysis and control objectives

2. Select measurements and sensors

3. Select manipulated variables and final elements

4. Check whether goals are achievable for the process

5. Eliminate clearly unacceptable loop pairings

6. Define one or a few acceptable loop pairings

Short-cut Approach Completed

Further study required, e.g.,

dynamic simulation or

plant tests

Structured, Short-cut Control Design

A.

B.

C.

D.

Page 142: PROCESS CONTROL DESIGN PASI 2005

1. Process analysis and controlobjectives

2. Select measurements and sensors

3. Select manipulated variablesand final elements

4. Check whether goals are achievable for the process

5. Eliminate clearly unacceptableloop pairings

6. Define one or a few acceptableloop pairings

Short-cut Approach Completed

Temporal decomposition for developing good candidate loop pairings

The control decisions are usually made in the following order, which roughly follows the speed of the feedback.

1) flow and inventory (level & pressure) for main process flows

2) process environment, find inferential or partial control variables. Good selections reduce feedback for quality and profit

3) product quality

4) efficiency and profit

5) monitoring and diagnosis

Structured, Short-cut Control Design

Page 143: PROCESS CONTROL DESIGN PASI 2005

1. Process analysis and control objectives

2. Select measurements and sensors

3. Select manipulated variables and final elements

4. Check whether goals are achievable for the process

5. Eliminate clearly unacceptable loop pairings

6. Define one or a few acceptable loop pairings

Short-cut Approach Completed

Class Workshop

Now, let’s apply this structured approach to some realistic control design problems.

Processes are selected to have “obvious” steady-state and dynamic behavior to make them suitable for short, classroom exercises.

Your designs can be sketched on the figures.

Structured, Short-cut Control Design

Page 144: PROCESS CONTROL DESIGN PASI 2005

Class Workshop: Design controls for the Butane vaporizer which is the first unit in a Maleic Anhydride process.

Periodic feed delivery

Short-cut Control Design Workshop 2

L2

P2

Page 145: PROCESS CONTROL DESIGN PASI 2005

Short-cut Control Design Workshop 2Some useful information about the plant. 1. Essentially pure butane is delivered to the plant periodically via rail car. 2. Butane is stored under pressure. 3. The "feed preparation" unit is highlighted in the figure. The goal is to vaporize the appropriate

amount of butane and mix it with air. After the feed preparation, the mixed feed flows to a packed bed reactor; effluent from the reactor is processed in separation units, which are not shown in detail.

4. Heat is provided by condensing steam in the vaporizer. 5. Air is compressed by a compressor that is driven by a steam turbine. 6. There is an explosion limit for the air/C4 ratio. Normal is 1.6% butane, and the explosive range is

1.8% to 8.0% You are asked to design a control system for the process in the dashed box. You should a. Briefly, list the control objectives for the seven categories. b. Add sensors and valves needed for good control. c. Sketch the loop pairing on the figure. d. Provide a brief explanation for your design. e. If you feel especially keen, include "control for safety" in your design. This would include the

following items (among others). - alarms - safety shutdown systems - pressure relief - failure position for valves

Page 146: PROCESS CONTROL DESIGN PASI 2005

Class Workshop: Design controls for the fuel gas distribution system.

Short-cut Control Design Workshop 3

Page 147: PROCESS CONTROL DESIGN PASI 2005

The gas distribution process in the figure provides fuel to the process units. Several processes in the plant generate excess gas, and this control strategy is not allowed to interfere with these units. Also, several processes consume gas, and the rate of consumption of only one of the processes can be manipulated by the control system. The flows from producers and to consumers can change rapidly. Extra sources are provided by the purchase of fuel gas and vaporizer, and an extra consumer is provided by the flare. The relative dynamics, costs and range of manipulation are summarized in the following table.

flow manipulated dynamics range (% of total flow) cost

producing no fast 0-100% n/a

consuming only one flow fast 0-20% very low

generation yes ? 0-100% low

purchase yes ? 0-100% medium

disposal yes ? 0-100% high

a. Complete the blank entries in the table based on engineering judgement for the processes

in the figure. b. Complete a Control Design Form for the problem. Specifically, define the dynamic and

economic requirements. Hint: To assist in defining the proper behavior, plot all fuel gas flows vs. (consumption -

production) on the x-axis. c. Design a multiloop control strategy to satisfy the objectives. You may add sensors as

required but make no other changes. d. Suggest process change(s) to improve the performance of the system.

Short-cut Control Design Workshop 3

Page 148: PROCESS CONTROL DESIGN PASI 2005

Class Workshop: Design controls for the refrigeration system.

Short-cut Control Design Workshop 4

Page 149: PROCESS CONTROL DESIGN PASI 2005

Refrigeration is very important for industrial processes and our daily comfort in the summer. In industry, it is used to provide cooling when the temperatures are below the temperature of coolingwater. The controlled objective could be a temperature (heat exchanger), a pressure (condenser) or any other variable that could be influenced by heat transfer. Refrigeration can consume large amounts of energy for the heat transfer, especially at low temperatures. Thus, the control system should provide the desired control performance at the lowest energy input possible. Before designing the controllers for this exercise, you might need to quickly review the principles of vapor recompression refrigeration. This exercise involves the simple, single stage refrigeration circuit in Figure 1. A. Develop a regulatory control design for this system which satisfies the demands of the

consumers. Two consumers are shown as a heat exchanger (T3) and a condenser (P2); naturally, many others could exist. Part of your design should provide control for the twoconsumers shown in the figure. Provide a brief explanation for each controller.

B. Add necessary controls to minimize the energy consumption to the turbine while

satisfying the consumers' demands. Explain your design. In both parts of this question you may add sensors and add and delete valves.

Short-cut Control Design Workshop 4

Page 150: PROCESS CONTROL DESIGN PASI 2005

Class Workshop: Design controls for the flash process.

Feed

MethaneEthane (LK)PropaneButanePentane

Vaporproduct

Liquidproduct

Processfluid

Steam

F1

F2 F3

T1 T2

T3

T5

T4

T6 P1

L1

A1L. Key

P ≈ 1000 kPa

T ≈ 298 K

Short-cut Control Design Workshop 5

v1

v3

v5

v4

Page 151: PROCESS CONTROL DESIGN PASI 2005

⎥⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢⎢

⎥⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢⎢

−−−−−

−−−−−

=

⎥⎥⎥⎥⎥⎥

⎢⎢⎢⎢⎢⎢

54321

0265.179.31.136.0113.36.5039.180.6567.

043.044.11.00917.19.044.85.0708.000.200

/1161

1 vvvvv

dtdLPATF

1. Safety- Maintain vessel pressure below 1200 kPa

2. Environmental protection- Prevent release of hydrocarbons to the atmosphere

3. Equipment protection- Ensure that liquid flows through the pump

4. Smooth operation- When possible, make slow adjustments to liquid product product flow rate

5. Product quality- Maintain the liquid product at 10 ± 1 mole% L. Key.

6. Profit- Minimize the use of the expensive steam for heating

7. Monitoring and diagnosis- Provide alarms for immediate attention by operating personnel

Here is the process gain

matrix calculated at the nominal operation.

Short-cut Control Design Workshop 5

Page 152: PROCESS CONTROL DESIGN PASI 2005

Class Workshop: Design controls for the CSTR with recycle.

v1

Hot Oil

v2

v3

L1

v7

v5 v6

Hot Oil

F1 T1 T3

T2

F2

T4T5

F3 T6

T8

F4

L2

v8

T7

P1F5

F6T9

Feed

Product

Periodic feed delivery to storage tank

Short-cut Control Design Workshop 6

Adiabatic CSTR

Unreacted feed with trace product

Flash separator

v4

A2

Page 153: PROCESS CONTROL DESIGN PASI 2005

TITLE: Chemical reactor |ORGANIZATION: McMaster Chemical EngineeringPROCESS UNIT: Hamilton chemical plant |DESIGNER: I. M. LearningDRAWING : Figure 25-8 |ORIGINAL DATE: January 1, 1994 |REVISION No. 1 CONTROL OBJECTIVES:1) SAFETY OF PERSONNEL

a) the maximum pressure in the flash drum must not be exceeded under any circumstancesb) no material should overflow the reactor vessel

2) ENVIRONMENTAL PROTECTIONa) none

3) EQUIPMENT PROTECTIONa) none

4) SMOOTH, EASY OPERATIONa) the production rate, F5, need not be controlled exactly constant; its instantaneousvalue may deviate by 1 unit from its desired value for periods of up to 20 minutes. Itshourly average should be close to its desired value, and the daily feed rate should be setto satisfy a daily total production target.b) the interaction of fresh and recycle feed should be minimized

5) PRODUCT QUALITYa) the vapor product should be controlled at 10 mole% A, with deviations of ±0.7% allowedfor periods of up to 10 minutes.

6) EFFICIENCY AND OPTIMIZATIONa) the required equipment capacities should not be excessive

7) MONITORING AND DIAGNOSISa) sensors and displays needed to monitor the normal and upset conditions of the unit mustbe provided to the plant operatorb) sensors and calculated variables required to monitor the product quality and thermalefficiency of the unit should be provided for longer term monitoring

DISTURBANCES:

SOURCE MAGNITUDE PERIOD MEASURED?

1) impurity in feed day no (Influences the reaction rate, basically affecting the frequency factor, k0.)2) hot oil temperature ± 20 C 200+ min yes (T2)3) hot oil temperature ± 20 C 200+ min yes (T8)4) feed rate ±1, step shift-day yes (F1)

Short-cut Control Design Workshop 6

Page 154: PROCESS CONTROL DESIGN PASI 2005

LC FC

fc

fc

fc

heatingcooling

from unit 1

to

unit 2

storage tank

v100

v110 v200

Class Workshop: Design controls tank with by-pass.

Short-cut Control Design Workshop 7

Page 155: PROCESS CONTROL DESIGN PASI 2005

Control objectives:

1. Control the level in the bottom of the Unit 1 tower2. Control the flow rate to Unit 23. Cool any flow to the tank, which has an upper limit for

material stored4. Reheat any material from the tank to Unit 2, which

requires heated feed5. Minimize the heating and cooling

Disturbances:

The flows from Unit 1 and to Unit 2 cannot be adjusted by this control system. They are typically not equal, and either can be larger at a specific time.

Short-cut Control Design Workshop 7

Page 156: PROCESS CONTROL DESIGN PASI 2005

Class Workshop: Design controls for a decanter.

Short-cut Control Design Workshop 8

Page 157: PROCESS CONTROL DESIGN PASI 2005

Control Objectives:1. Pressure in the vessel2. Interface level in the vessel3. Flow rate(s) How many can be controlled independently?

Disturbances:The following additional information is provided about the variability of the process operation; the feed flow is 1400-2600, the percent overhead in feed is 1-5%, and the pressures are essentially constant.

Process information:You may assume that the flows are proportional to the square root of the pressure drop and the valve % open; the valves are all 50% open at the base case conditions.

Short-cut Control Design Workshop 8

Page 158: PROCESS CONTROL DESIGN PASI 2005

T1

T2

T3

T4

T01

T10

T02

T03

T04

Quench gas

Fuel

Feed

V01

Product

Hydrocracker reactor, preheat andquench process

Class Workshop: Design controls for the series of packed bed reactors with highly exothermic reactions.

Cold quench gas used to moderate temperatures

Short-cut Control Design Workshop 9

Page 159: PROCESS CONTROL DESIGN PASI 2005

Control Objectives

1. Prevent runaway reaction

2. Control “total conversion”, weighted average bed temperature (T1, T2, ..)

3. Prevent too high/low temperature in any bed

4. Minimize fuel to fired heater

Open-loop responses for step changes

Short-cut Control Design Workshop 9

Page 160: PROCESS CONTROL DESIGN PASI 2005

Class Workshop: Design controls to minimize fuel consumption for a specified feed rate.

F

T

F

fuel

T2

T1

T7

T8

T5

T6

F7

F9

feed v1

v2

v3

v4

Short-cut Control Design Workshop 10

Page 161: PROCESS CONTROL DESIGN PASI 2005

Control objectives:

1. Maintain TC at a desired value (set point)

2. Maintain feed flow at a desired value (set point)

3. Minimize the fuel to the fired heater

Disturbances:

F9, F7, T7 and T5 change frequently and over large magnitudes

Short-cut Control Design Workshop 10

Page 162: PROCESS CONTROL DESIGN PASI 2005

GPGCSP CV-

MV

0 1 2 3 4 5 6 7 8 9 100

0.5

1

1.5

0 1 2 3 4 5 6 7 8 9 100

0.5

1

1.5

0 1 2 3 4 5 6 7 8 9 100

0.2

0.4

0.6

0.8

1

1.2

1.4

D0 1 2 3 4 5 6 7 8 9 10

0

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0 1 2 3 4 5 6 7 8 9 100

0.2

0.4

0.6

0.8

1

1.2

1.4

0 1 2 3 4 5 6 7 8 9 100

0.2

0.4

0.6

0.8

1

1.2

1.4

Noise0 1 2 3 4 5 6 7 8 9 10

-0.25

-0.2

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0 1 2 3 4 5 6 7 8 9 10-0.2

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

0 1 2 3 4 5 6 7 8 9 10-0.2

0

0.2

0.4

0.6

0.8

1

1.2

1.4

0 1 2 3 4 5 6 7 8 9 10-0.2

0

0.2

0.4

0.6

0.8

1

1.2

0 1 2 3 4 5 6 7 8 9 10-0.2

0

0.2

0.4

0.6

0.8

1

1.2

1.4

GP ?

Directionalityis criticalSaturation affects

dynamics

Systematic design requires a realistic problem definition.

Optimization in Control Design: Problem Formulation

Page 163: PROCESS CONTROL DESIGN PASI 2005

GPGCSP CV-

MVD

Noise

0 1 2 3 4 5 6 7 8 9 10-2

-1

0

1

2

3

4

5

6

0 1 2 3 4 5 6 7 8 9 100

0.2

0.4

0.6

0.8

1

1.2

1.4

Damage equipment orLarge equipment capacity

Kc ?TI ?

OvershootOscillationConstraints, etc.

Evaluation of candidate requires the full transient with good controller tuning

Optimization in Control Design: Problem Formulation

Page 164: PROCESS CONTROL DESIGN PASI 2005

Min QΣ|E| s.t.

Nominal plant modelMismatch plant modelDisturbance and noise modelsController equationsSaturation constraintsConstraints defining loop pairing

More details later

Evaluation of candidate requires the full transient with good controller tuning

KC, TI

Optimization in Control Design: Problem Formulation

Page 165: PROCESS CONTROL DESIGN PASI 2005

Example of Performance Evaluation for 2x2 Fluidized Catalytic Cracking Reactor

T

T

regenerator

riser

Large fluidizedvessel

Tubular reactorWith short space time

Tris

Trgn

Fair

Fcat

Must be tightly controlled

Keep in safe range

Feed

Product

Previously, we verified that this process is controllable.Arbel & Shinnar 1996

Optimization in Control Design: Problem Formulation

Page 166: PROCESS CONTROL DESIGN PASI 2005

Tris

Trgn

FcatFair

Time (sec)

0 1000 2000 3000 4000 5000 6000 70000

200

400

600

800

1000

1200

1400

1600

1800

-+Tris

+-Trgn

FcatFair

RGA:

TT

Time (sec)

0 1000 2000 3000 4000 5000 6000 70000

200

400

600

800

1000

1200

Time (sec)

0 1000 2000 3000 4000 5000 6000 7000 8000-25

-20

-15

-10

-5

0

5

10

15

20

25

Time (sec)

0 1000 2000 3000 4000 5000 6000 7000-90

-80

-70

-60

-50

-40

-30

-20

-10

0

Plant model:

Tris

Trgn

Fair

Fcat

Key variable

regenerator

riser

Inverse response

Feed

Fluidized Catalytic Cracking ReactorUnderstanding the Process Dynamics

Optimization in Control Design: Problem Formulation

Page 167: PROCESS CONTROL DESIGN PASI 2005

Fast Slow

T

T

regenerator

riser

Coke + O2 =CO

CO2

Deficient air in the regenerator

Fcat↑ Tris ↑ coke ↑ CO↑ CO2↓ Trgn↓ Tris ↓

Fluidized Catalytic Cracking ReactorWhy does the inverse response occur?

Tris

Trgn

Optimization in Control Design: Problem Formulation

Page 168: PROCESS CONTROL DESIGN PASI 2005

⎥⎦

⎤⎢⎣

×−×

=−

0102105.20

4

4

CK

⎥⎦

⎤⎢⎣

⎡=

08.08.00

IK

5.23)( =∫ risTerr

Very good performance

large controller gainKCKP ≅ 106

0 50 100 150 2001252

1254

1256

1258

1260

Trgn

(F)

time (sec)

0 50 100 150 2001000

1002

1004

1006

1008

1010

1012

Tris

(F)

time (sec)

0 50 100 150 2000.45

0.5

0.55

0.6

0.65

0.7

Fair

(lb a

ir/lb

feed

)

time (sec)

0 50 100 150 200

6.5

6.6

6.7

6.8

6.9

Fcat

(lb

cat/l

b fe

ed)

time (sec)

-+Fcat

+-Fair

TrisTrgn

Fluidized Catalytic Cracking ReactorPositive RGA: Transient response for perfect model

Optimization in Control Design: Problem Formulation

Page 169: PROCESS CONTROL DESIGN PASI 2005

0 50 100 150 200

1255

1260

1265

Trgn

(F)

time (sec)

0 50 100 150 2001000

1002

1004

1006

1008

1010

1012

Tris

(F)

time (sec)

0 50 100 150 200

0.5

1

1.5

2

2.5

3

Fair

(lb a

ir/lb

feed

)

time (sec)

0 50 100 150 200

6.5

6.6

6.7

6.8

6.9

Fcat

(lb

cat/l

b fe

ed)

time (sec)

⎥⎦

⎤⎢⎣

⎡−

=00019.026.00

CK

⎥⎦

⎤⎢⎣

⎡=

002.20044.00

IK

5.35)( =∫ risTerr

KCKP ≅ 1

Good performance

600% extra capacity

KCKP ≅ 500

-+Fcat

+-Fair

TrisTrgn

Fluidized Catalytic Cracking ReactorPositive RGA: perfect + mismatch models + noise

Optimization in Control Design: Problem Formulation

Page 170: PROCESS CONTROL DESIGN PASI 2005

TTregenerator

riser

1,953,000*Equipment cost for larger capacity air flow

2,950,000288,000Peak

997,00048,000Steady State

CapitalCost (US$)

Capacity(m3/h)

* Plus additional cost for large anti-surgerecycle at normal operation

Fluidized Catalytic Cracking ReactorCost for the larger air blower capacity?

Optimization in Control Design: Problem Formulation

Can you think of another reason why this MV increase is not desired?

Page 171: PROCESS CONTROL DESIGN PASI 2005

0 50 100 150 2001252

1254

1256

1258

1260

Trgn

(F)

time (sec)

0 50 100 150 2001000

1002

1004

1006

1008

1010

1012

Tris

(F)

time (sec)

0 50 100 150 2000.45

0.5

0.55

0.6

0.65

0.7

Fair

(lb a

ir/lb

feed

)

time (sec)

0 50 100 150 200

6.5

6.6

6.7

6.8

6.9

Fcat

(lb

cat/l

b fe

ed)

time (sec)

⎥⎦

⎤⎢⎣

⎡−

=023.0024.00

CK

⎥⎦

⎤⎢⎣

⎡=

0037.025.00

IK

2.107)( =∫ risTerr

Slowdynamics

10% extra capacitySaturation

Poorer performance

-+Fcat

+-Fair

TrisTrgn

Fluidized Catalytic Cracking ReactorPositive RGA: perfect + mismatch models + noise + MV limit

Reasonable air blower capacity

Optimization in Control Design: Problem Formulation

Page 172: PROCESS CONTROL DESIGN PASI 2005

0 50 100 150 2001252

1254

1256

1258

1260

Trgn

(F)

time (sec)

0 50 100 150 2001000

1002

1004

1006

1008

1010

1012

Tris

(F)

time (sec)

0 50 100 150 2000.45

0.5

0.55

0.6

0.65

0.7

Fair

(lb a

ir/lb

feed

)

time (sec)

0 50 100 150 200

6.5

6.6

6.7

6.8

6.9

Fcat

(lb

cat/l

b fe

ed)

time (sec)

⎥⎦

⎤⎢⎣

⎡=

009.000097.0

CK

⎥⎦

⎤⎢⎣

⎡=

4.20034.0

IK

6.25)( =∫ risTerr

Good performance

Fluidized Catalytic Cracking ReactorNegative RGA: perfect + mismatch models + noise + MV limit

Reasonable air blower capacity-+Fcat

+-Fair

TrisTrgn

Optimization in Control Design: Problem Formulation

Page 173: PROCESS CONTROL DESIGN PASI 2005

Integrity

RGA

Dynamic performance of reactor temperature

∫ )( risTerr

No 25.6

Yes 107.2

RGA IAE

Fluidized Catalytic Cracking ReactorThe Engineer decides the proper balance

Industrial standard pairing (Shinnar, 1996)

Optimization in Control Design: Problem Formulation

Page 174: PROCESS CONTROL DESIGN PASI 2005

Control Design is a Challenging Problem!• Multi-objective, e.g.,

- CV behavior (for specific input forcing)- MV Behavior (for specific input forcing)- Integrity- Robustness- Profit

• Continuous variables (tuning)

• Discrete variables (CVi-MVj loop pairing)

• Tailored to specific application, e.g.,

- MV variation might be severely limited or allowed to be large- Some CVs might be of much greater importance

Optimization in Control Design: Tailored Solution

Page 175: PROCESS CONTROL DESIGN PASI 2005

GOALS

• Develop a systematic method for control design

• Provide generality to discover unconventional designs

• Complete computation within reasonable time

CHALLENGES

• Each tuning NLP is non-convex. The problem has “important” local optima because the controller signs are not known (when negative RGAs allowed).

• Straightforward B&B for MINLP computes for many days with little reduction in gap

Optimization in Control Design: Tailored Solution

Page 176: PROCESS CONTROL DESIGN PASI 2005

Tailored B&B Approach for Optimization of Control Structure and Performance

η0

η1

1

η1 η1 η1 η1

5

η2η2 …

η η

Check whether feedbacksolution is possible

• Combine short-cut & full transient

• Simplify transient analysis

Thorough transient analysis of few remaining all-integer

Optimization in Control Design: Tailored Solution

Page 177: PROCESS CONTROL DESIGN PASI 2005

First Step Determines Whether a Feedback Controller Could Achieve the Desired

Performance

• Controllability established that the desired dynamic performance can be achieved by adjusting the manipulated variables

• Controllability does not require causality, i.e., feedback control.

• We must determine whether feedback can achieve the performance before selecting a specific structure.

Optimization in Control Design: Tailored Solution

Page 178: PROCESS CONTROL DESIGN PASI 2005

First Step Determines Whether a Feedback Controller Could Achieve the Desired

Performance

Provides a lower boundon performance for all control structures

d

CV

MV t*t0

Note: The MV is constrained constant until t*

t

Optimization in Control Design: Tailored Solution

The effect of the disturbance is apparent at t*

Page 179: PROCESS CONTROL DESIGN PASI 2005

,

f u

noo

nn

nn

nn

nnnn

nnn

nnnn

nnnn

nn

nnnn

nn

dyxugivenss

ss

ss

uuuuuuu

yssy

yssy

CxyDdBuAxx

ts

ss

0

22

max11

max11

max1min

maxmin

min21

max21

1

22

,,0,0

)(0

)(0

)()()()(

)(

)(

..

)(min

≤≤≤≤

≤≤

∆≤−≤∆≤≤

≥++

≤−−

=++=

+=

−−

++−

−−

++

−+∑

Bound ∆un=0 for appropriate number of time steps, to t*.

The objective could be modified to be consistent with other performance specifications, as needed.

No control law is imposed at this step.

Optimization in Control Design: Tailored Solution

If the desired performance cannot be achieved, fix the process!

Page 180: PROCESS CONTROL DESIGN PASI 2005

The Branch & Bound Evaluates only Feasible Pairings

Integer (not binary) formulation

Each row is CV; each column is MV of a feasible possible pairing.

η0

η1

1

1

1

1

1

1

1

1

1η1 η1 η1 η1

n

η2η2 …

η3

η4

CV

MV

Optimization in Control Design: Tailored Solution

Page 181: PROCESS CONTROL DESIGN PASI 2005

The Solution at each Node Provides a Lower Bound without Extensive Computations

η0

η1

1

η1 η1 η1 η1

n

The solution of the transient at each node could involve

• Non-convex tuning problem

• Complementarity resulting from MV saturation with fixed control law

• Many controllers for lower bound of unpaired!

• We seek a simpler problem giving a valid lower bound

Optimization in Control Design: Tailored Solution

PIPIPIPI

PIPIPIPI

PIPIPIPI

PIPIPIPI

PIpaired

Unpaired block

Page 182: PROCESS CONTROL DESIGN PASI 2005

The Solution at each Node Provides a Lower Bound without Extensive Computations

PI

PI

As we proceed, we will have some paired loops and a block of unpaired variables.

We will model the unpaired as an optimization problem enforcing causality, but without a specific controller structure (similar to the top, feasibility test). Unpaired block

Optimization in Control Design: Tailored Solution

Page 183: PROCESS CONTROL DESIGN PASI 2005

∑=

∆⋅⋅

tf

ttu

tt1

)()]()([min eQe

)()()()()()()()1(

tNttttttt

++=++=+

VdCxyWdBuAxx

[ ])()()(

],[ )()1()()(

ttt

jipairedtttt jIjjci

yspe

eKeeK∆u

−=

∀+−−=

maxmin

maxmin

maxmin

)1()(

)()()(

)()()(

jjjj

jjj

iii

ututuu

tututu

tytyty

∆≤−−≤∆

≤≤

≤≤

The Solution at each Node Provides a Lower Bound by Solving a Convex QP

• Paired loops modelled as PI controllers.

• Unpaired MVs (u’s) are free variables, after disturbance is measured

• Relaxation of control law for “unpaired” variables

• Result is a lower bound on performance

Optimization in Control Design: Tailored Solution

∆uj (t)= 0 for t<t*

For unpaired

Page 184: PROCESS CONTROL DESIGN PASI 2005

The Solution at each Node Provides a Lower Bound without Extensive Computations

PI

PI

Paired loopsTuning of the paired Loops

• Tuning is non-convex

• Multiloop is much different from single-loop tuning

• If negative RGAs allowed, the sign of each Kc is not known

Tuning is determined by grid search on QP problem.

Optimization in Control Design: Tailored Solution

Page 185: PROCESS CONTROL DESIGN PASI 2005

The Solution at each Node Provides a Lower Bound without Extensive Computations

PI

PI

PI

PI

PI

Level 2 Level 3

“same” tuning(adjusted for RGA) new tuning

by grid search

“Sequential Tuning” further reduces computation.

Optimization in Control Design: Tailored Solution

Page 186: PROCESS CONTROL DESIGN PASI 2005

Shortcut metrics:1. Integrity: RGA2. Performance: RDG3. Others as needed …..

fail any metric?

Grid Search on current added loop with QP for unpaired block

Y

Obj Larger than UB?

Prune branch

Y

Fast, <1 sec

Slow, 20 sec

Node remains viable

The Solution at each Node Combines Multiple Objectives, using Short-cut Metrics and Full Transient

η0

η1

1

η1 η1 η1 η1

n

η2η2 …

η3

η4

Optimization in Control Design: Tailored Solution

Page 187: PROCESS CONTROL DESIGN PASI 2005

η0

η1

1

η1 η1 η1 η1

5

η2η2 …

η η

η0

η1

1

η1 η1 η1 η1

5

η2η2 …

η η

The Remaining All-Integer Candidates are Evaluated using the Full Transient with Mismatch, Noise & Saturation

The evaluation is similar to the presentation on the FCC example.

The problem is an NLP with complementarity constraints

Used IPOPT-C from Raghunathan and Biegler

Computationally demanding

Optimization in Control Design: Tailored Solution

Page 188: PROCESS CONTROL DESIGN PASI 2005

• Integrates metrics (RGA, RDG, etc.) with full transient analysis

• Flexible performance specification, including multi-objective

• Unique relaxation of unpaired loops

• Prune many candidates with short computation

• Find few good candidates relatively rapidly

• Cannot guarantee the global minimum has been found Reason: The optimal tuning at each node is not solved rigorously.

• Evaluation of final candidates computationally demandingSolution: Use tuning from B&B

• Using linearized process models

Strengths Limitations

Tailored B&B Approach for Optimization of Control Structure and Performance

Optimization in Control Design: Tailored Solution

Page 189: PROCESS CONTROL DESIGN PASI 2005

Optimization in Control Design: Tailored Solution

The optimization based design approach has been applied successfully to the following problems.

T

Tregenerator

riser

Tris

Trgn

Fair

Fcat

Shinnar FCC, 2x2

• Pair on negative RGA

• One CV much more important

T T T T

Rosenbrock Heater, 4x4

• Pair on positive RGA

• Multiloop as good as centralized MPC for disturbance response

fuel

Page 190: PROCESS CONTROL DESIGN PASI 2005

Product

Maintainconstant

rateand

composition

Multiple feeds

ReactorGas in/out;Liquid level

Recycle Purge

Optimization Approach for the Tennessee Eastman Problem.

One version of problem

Page 191: PROCESS CONTROL DESIGN PASI 2005

Process Environment

But first, use our control insights. Tight control by inner loops for cascades (McAvoy).

Page 192: PROCESS CONTROL DESIGN PASI 2005

Partial Control or Inferential Variables

Next, use our chemical engineering insights. The reactions define a stoichiometry. Therefore, we should select ratios of

feeds to manipulate.

Some MVs are = FD/FE, FE/FC, FA/FC, FC

Page 193: PROCESS CONTROL DESIGN PASI 2005

We chose to pair three variables based on integrity and safety.

The remaining problem is 9x9

Controlled variables Manipulated variablesSeparator Level

Stripper Level

Pressure

Product flow

Product G/H

Reactor Level

Mixed feed A/C

% B in Purge

Separator T

Optimization Approach for the Tennessee Eastman Problem.

Condenser CWT

Liquid flow to separator

Flow of FC

Flow of product

FD/FE

FE/FC

FA/FC

Purge flow

Reactor CWT

obvious

Page 194: PROCESS CONTROL DESIGN PASI 2005

Optimization Approach for the Tennessee Eastman Problem.

η0

η1

1

η1 η1 η1 η1

5

η2η2 …

η η

Check whether feedbacksolution is possible

• Combine short-cut & full transient

• Simplify transient analysis

Thorough transient analysis of few remaining all-integer, noise, mismatch, full saturation

η Check whether feedforwardsolution is possible

Page 195: PROCESS CONTROL DESIGN PASI 2005

Openl oop

obj =7. 23

Feedbackobj =7. 23

FE/ FCobj =1228

- RGA

FD/ FEobj =15. 5

FA/ FCobj =3250

Pur Fobj =138

Rea CWTobj =10. 9

Pur Fobj =1e4

- RGA

FA/ FCobj =9e5

FE/ FCobj =27. 4

Rea CWTobj =33. 5

FA/ FCobj =2e5

FD/ FEobj =45. 4

FE/ FCobj =51. 6

Pur Fobj =1e4

- RGA

Rea CWTobj =36. 2

Pur Fobj =38. 9

FA/ FCobj =28. 0

Pur Fobj =339.

FA/ FCobj =145

FE/ FCobj =1e4

- RGA

Pur Fobj =233

FA/ FCobj =376

FE/ FCobj =3149

- RGA

Pur Fobj =32. 5

Rea CWTobj =60. 4

- RGA

FA/ FCobj =1980

Rea CWTobj =38. 7

- RGA

Pur Fobj =70

FA/ FCobj =3e4

Rea CWTobj =48. 1

Pur Fobj =76. 4

Level : 1 G/ H

Level 2: Rea L

Level 3: A/ C

Level 4: Pur B

Level 5: Sep TFA/ AC

obj =167.FA/ FC

obj =546.

Decision Tree for A Tennessee Eastman Problem – Product Flow

Controlled variable decision

Non-causal nxn controller

Causal nxn controller

Optimization Approach for the Tennessee Eastman Problem.

All integer loop pairings5! = 120 possible

= - RGA pairing

Page 196: PROCESS CONTROL DESIGN PASI 2005

0 2 4 6 8 10 12-0.04

-0.02

0

0.02

prod

uct G

/H

0 2 4 6 8 10 12-4

-2

0

2

reac

tor L

0 2 4 6 8 10 12

-0.4

-0.2

0

reac

tant

A/C

0 2 4 6 8 10 12

-0.4

-0.2

0

purg

e B

0 2 4 6 8 10 12

-2

0

2

sepa

rato

r T

0 2 4 6 8 10 120

20

40

60

reac

tor P

0 2 4 6 8 10 12-1

0

1

2x 10-3

FD/F

E

0 2 4 6 8 10 12-20

0

20

40

FE/F

C

0 2 4 6 8 10 120

0.05

0.1

FA/F

C0 2 4 6 8 10 12

-0.03

-0.02

-0.01

0

purg

e F

0 2 4 6 8 10 120

0.5

1

1.5re

acto

r CW

T

0 2 4 6 8 10 12-1

-0.5

0

FC

Best Design - Transient response in deviation variablesPositive RGA, Objective = 48

Paired manipulated variableControlled variable

Time in h

Page 197: PROCESS CONTROL DESIGN PASI 2005

0 2 4 6 8 10 12-0.04

-0.02

0

0.02

prod

uct G

/H

0 2 4 6 8 10 12-4

-2

0

2

reac

tor L

0 2 4 6 8 10 12

-0.4

-0.2

0

reac

tant

A/C

0 2 4 6 8 10 12

-0.4

-0.2

0

purg

e B

0 2 4 6 8 10 12

-2

0

2

sepa

rato

r T

0 2 4 6 8 10 120

20

40

60

reac

tor P

0 2 4 6 8 10 12-5

0

5x 10-5

FD/F

E

0 2 4 6 8 10 12-20

0

20

40

FE/F

C

0 2 4 6 8 10 120

0.05

0.1

FA/F

C0 2 4 6 8 10 12

0

0.5

1

1.5

reac

tor C

WT

0 2 4 6 8 10 12-0.03

-0.02

-0.01

0pu

rge

F

0 2 4 6 8 10 12-1

-0.5

0

FC

Second Best Design - Transient response in deviation variablesNegative RGA, Objective = 77

Paired manipulated variableControlled variable

Time in h

Page 198: PROCESS CONTROL DESIGN PASI 2005

Check whether feedback solution is possible

• Combine short-cut & full transient

• Simplify transient analysis

Thorough transient analysis of few remaining all-integer, noise, mismatch, full saturation

η0

η1 η1 η1 η1 η1

η2η2…

η η

ηCheck whether solution is possible

Computing times

2 s

2 s

28 min

90 min η η

Only 4 all-integer candidates

Optimization Approach for the Tennessee Eastman Problem.

Page 199: PROCESS CONTROL DESIGN PASI 2005

Optimization in Control Design: Tailored Solution

Optimization Approach for the Tennessee Eastman Problem.

CONCLUSIONS

• Always use process insights

• Always use control insights

• Early feasibility and tree pairing calculations are efficient

- Sequential tuning extends method to large problems

• Short-cut metrics help prune tree (if relevant)

• Final Control Design for Challenging Problems requires evaluation of transient behavior

Page 200: PROCESS CONTROL DESIGN PASI 2005

v1

Hot Oil

v2

v3

L1

v7

v5 v6

Hot Oil

F1 T1 T3

T2

F2

T4T5

F3 T6

T8

F4

L2

v8

T7

P1F5

F6T9

Where do we start?• Define objectives (7 categories)• Define constraints, disturbances,…• Rank multi-objectives• Check controllability, feasibility• Use short-cut metrics• ….

When are we finished?• Input-output pairings• Dynamic performance

predictions• Integrity defined• Initial tuning• ….

PROCESS CONTROL DESIGNLessons Learned - In Just Three Hours

Page 201: PROCESS CONTROL DESIGN PASI 2005

PROCESS CONTROL DESIGNLessons Learned- In Just Three Hours

• Defining Objectives is Essential

• Control Performance is Multi-Objective

• Short-Cut Metrics can Reduce the Candidates

• Full Transient Analysis is required for Challenging Problems

• The Key Decision in Control Design is Structure

• The Final Performance is an Estimate using Linear Models and Expected Disturbances

Page 202: PROCESS CONTROL DESIGN PASI 2005

PROCESS CONTROL DESIGNLessons Learned- In Just Three Hours

Hidden

• Knowledge of Process Equipment is Essential

- Pumps, compressors, distillation, flash …

• Application of Process Principles is Essential

- V/L Equilibrium, Stoichiometry, …

• Many Designs can be completed Without Simulation

• Challenging designs require full Transient Behavior

• Continued Developments are Required for “Automatic Control Design”

- Better Robustness, Faster Candidate Elimination, Convex NLP,..

Page 203: PROCESS CONTROL DESIGN PASI 2005

PROCESS CONTROL DESIGNLessons Learned- In Just Three Hours

Plant

Controller

Selection ofControlled VariablesSelection of

Manipulated Variables

Selection of Controlconfiguration

A

B

C

D

An Outstanding Challenge – Block Centralized Design and Implementation

no. inputs ≠ no. outputs

Note: Current MPC’s vary in size from 2x3 to 60x90. Why?

Page 204: PROCESS CONTROL DESIGN PASI 2005

PROCESS CONTROL DESIGNLessons Learned

I have learned many lessons too! Thanks to the following people (and many more).

• Researchers who have published useful papers, especially Edgar Bristol

• Collaborators who provided insights, especially Tom McAvoy

• Students who did the hard work, especially Maria Marino (Un. Maryland) and Yongsong Cai (McMaster)

• Students attending Control Design courses for interesting questions and projects

Page 205: PROCESS CONTROL DESIGN PASI 2005

PROCESS CONTROL DESIGNLessons Learned- In Just Three Hours

You have a fast start in your life-long learningjourney to expertise in Process Systems

Engineering!

Congratulations!

Parabens!Felicitations!

Felicitaciones!!


Recommended