Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Outline Control structure design (plantwide control) A procedure for control structure design I Top Down Step 1: Degrees of freedom Step 2: Operational.

Similar presentations


Presentation on theme: "1 Outline Control structure design (plantwide control) A procedure for control structure design I Top Down Step 1: Degrees of freedom Step 2: Operational."— Presentation transcript:

1 1 Outline Control structure design (plantwide control) A procedure for control structure design I Top Down Step 1: Degrees of freedom Step 2: Operational objectives (optimal operation) Step 3: What to control ? (self-optimizing control) Step 4: Where set production rate? II Bottom Up Step 5: Regulatory control: What more to control ? Step 6: Supervisory control Step 7: Real-time optimization Case studies

2 2 II. Bottom-up Determine secondary controlled variables and structure (configuration) of control system (pairing) A good control configuration is insensitive to parameter changes Step 5. REGULATORY CONTROL LAYER 5.1Stabilization (including level control) 5.2Local disturbance rejection (inner cascades) What more to control? (secondary variables) Step 6. SUPERVISORY CONTROL LAYER Decentralized or multivariable control (MPC)? Pairing? Step 7. OPTIMIZATION LAYER (RTO)

3 3 Step 5. Regulatory control layer Purpose: “Stabilize” the plant using a simple control configuration (usually: local SISO PID controllers + simple cascades) Enable manual operation (by operators) Main structural issues: What more should we control? (secondary cv’s, y 2, use of extra measurements) Pairing with manipulated variables (mv’s u 2 ) y 1 = c y 2 = ?

4 4 Degrees of freedom for optimization (usually steady-state DOFs), MVopt = CV1s Degrees of freedom for supervisory control, MV1=CV2s + unused valves Physical degrees of freedom for stabilizing control, MV2 = valves (dynamic process inputs) Optimizer (RTO) PROCESS Supervisory controller (MPC) Regulatory controller (PID) H2H2 H CV 1 CV 2s y nyny d Stabilized process CV 1s CV 2 Physical inputs (valves) Optimally constant valves Always active constraints

5 5 Objectives regulatory control layer 1.Allow for manual operation 2.Simple decentralized (local) PID controllers that can be tuned on-line 3.Take care of “fast” control 4.Track setpoint changes from the layer above 5.Local disturbance rejection 6.Stabilization (mathematical sense) 7.Avoid “drift” (due to disturbances) so system stays in “linear region” –“stabilization” (practical sense) 8.Allow for “slow” control in layer above (supervisory control) 9.Make control problem easy as seen from layer above The key decisions here (to be made by the control engineer) are: 1.Which extra secondary (dynamic) variables y 2 should we control? 2.Propose a (simple) control configuration (select input-output pairings)

6 6 Main objectives control system 1.Implementation of acceptable (near-optimal) operation 2.Stabilization ARE THESE OBJECTIVES CONFLICTING? Usually NOT –Different time scales Stabilization fast time scale –Stabilization doesn’t “use up” any degrees of freedom Reference value (setpoint) available for layer above But it “uses up” part of the time window (frequency range)

7 7 Why simplified configurations? Fundamental: Save on modelling effort Other: –easy to understand –easy to tune and retune –insensitive to model uncertainty –possible to design for failure tolerance –fewer links –reduced computation load

8 8 Use of (extra) measurements (y 2 ) as (extra) CVs: Cascade control GK y 2s u2u2 y2y2 y1y1 Key decision: Choice of y 2 (controlled variable) Also important (since we almost always use single loops in the regulatory control layer): Choice of u 2 (“pairing”) Primary CV Secondary CV (control for dynamic reasons)

9 9 Degrees of freedom unchanged No degrees of freedom lost by control of secondary (local) variables as setpoints become y 2s replace inputs u 2 as new degrees of freedom GK y 2s u2u2 y2y2 y1y1 Original DOF New DOF Cascade control:

10 10 Example: Distillation Primary controlled variable: y 1 = c = x D, x B (compositions top, bottom) BUT: Delay in measurement of x + unreliable Regulatory control: For “stabilization” need control of (y 2 ): –Liquid level condenser (M D ) –Liquid level reboiler (M B ) –Pressure (p) –Holdup of light component in column (temperature profile) Unstable (Integrating) + No steady-state effect Variations in p disturb other loops Almost unstable (integrating) TC TsTs T-loop in bottom

11 11 XCXC TC FC ysys y LsLs TsTs L T z XCXC Cascade control distillation With flow loop + T-loop in top

12 12 Hierarchical control: Time scale separation With a “reasonable” time scale separation between the layers (typically by a factor 5 or more in terms of closed-loop response time) we have the following advantages: 1.The stability and performance of the lower (faster) layer (involving y 2 ) is not much influenced by the presence of the upper (slow) layers (involving y 1 ) Reason: The frequency of the “disturbance” from the upper layer is well inside the bandwidth of the lower layers 2.With the lower (faster) layer in place, the stability and performance of the upper (slower) layers do not depend much on the specific controller settings used in the lower layers Reason: The lower layers only effect frequencies outside the bandwidth of the upper layers

13 13 QUIZ: What are the benefits of adding a flow controller (inner cascade)? q z qsqs 1.Counteracts nonlinearity in valve, f(z) With fast flow control we can assume q = q s 2.Eliminates effect of disturbances in p1 and p2 Extra measurement y 2 = q

14 14 Objectives regulatory control layer 1.Allow for manual operation 2.Simple decentralized (local) PID controllers that can be tuned on-line 3.Take care of “fast” control 4.Track setpoint changes from the layer above 5.Local disturbance rejection 6.Stabilization (mathematical sense) 7.Avoid “drift” (due to disturbances) so system stays in “linear region” –“stabilization” (practical sense) 8.Allow for “slow” control in layer above (supervisory control) 9.Make control problem easy as seen from layer above Implications for selection of y 2 : 1.Control of y 2 “stabilizes the plant” 2.y 2 is easy to control (favorable dynamics)

15 15 1. “Control of y 2 stabilizes the plant” A. “Mathematical stabilization” (e.g. reactor): Unstable mode is “quickly” detected (state observability) in the measurement (y 2 ) and is easily affected (state controllability) by the input (u 2 ). Tool for selecting input/output: Pole vectors –y 2 : Want large element in output pole vector: Instability easily detected relative to noise –u 2 : Want large element in input pole vector: Small input usage required for stabilization B. “Practical extended stabilization” (avoid “drift” due to disturbance sensitivity): Intuitive: y 2 located close to important disturbance Maximum gain rule: Controllable range for y 2 is large compared to sum of optimal variation and control error More exact tool: Partial control analysis

16 16 Recall maximum gain rule for selecting primary controlled variables c: Controlled variables c for which their controllable range is large compared to their sum of optimal variation and control error Control variables y 2 for which their controllable range is large compared to their sum of optimal variation and control error controllable range = range y 2 may reach by varying the inputs optimal variation: due to disturbances control error = implementation error n Restated for secondary controlled variables y 2 : Want small Want large

17 17 What should we control (y 2 )? Rule: Maximize the scaled gain General case: Maximize minimum singular value of scaled G Scalar case: |G s | = |G| / span |G|: gain from independent variable (u 2 ) to candidate controlled variable (y 2 ) –IMPORTANT: The gain |G| should be evaluated at the (bandwidth) frequency of the layer above in the control hierarchy! If the layer above is slow: OK with steady-state gain as used for selecting primary controlled variables (y 1 =c) BUT: In general, gain can be very different span (of y 2 ) = optimal variation in y 2 + control error for y 2 –Note optimal variation: This is often the same as the optimal variation used for selecting primary controlled variables (c). –Exception: If we at the “fast” regulatory time scale have some yet unused “slower” inputs (u 1 ) which are constant then we may want find a more suitable optimal variation for the fast time scale.

18 18 Minimize state drift by controlling y 2 Problem in some cases: “optimal variation” for y 2 depends on overall control objectives which may change Therefore: May want to “decouple” tasks of stabilization (y 2 ) and optimal operation (y 1 ) One way of achieving this: Choose y 2 such that “state drift” dw/dd is minimized w = Wx – weighted average of all states d – disturbances Some tools developed: –Optimal measurement combination y 2 =Hy that minimizes state drift (Hori) – see Skogestad and Postlethwaite (Wiley, 2005) p. 418 –Distillation column application: Control average temperature column

19 19 2. “y 2 is easy to control” (controllability) 1.Statics: Want large gain (from u 2 to y 2 ) 2.Main rule: y 2 is easy to measure and located close to available manipulated variable u 2 (“pairing”) 3.Dynamics: Want small effective delay (from u 2 to y 2 ) “effective delay” includes inverse response (RHP-zeros) + high-order lags

20 20 Rules for selecting u 2 (to be paired with y 2 ) 1.Avoid using variable u 2 that may saturate (especially in loops at the bottom of the control hieararchy) Alternatively: Need to use “input resetting” in higher layer (“mid- ranging”) Example: Stabilize reactor with bypass flow (e.g. if bypass may saturate, then reset in higher layer using cooling flow) 2.“Pair close”: The controllability, for example in terms a small effective delay from u 2 to y 2, should be good.

21 21 Cascade control (conventional; with extra measurement) The reference r 2 (= setpoint y s2 ) is an output from another controller General case (“parallel cascade”) Special common case (“series cascade”)

22 22 Series cascade 1.Disturbances arising within the secondary loop (before y 2 ) are corrected by the secondary controller before they can influence the primary variable y 1 2.Phase lag existing in the secondary part of the process (G 2 ) is reduced by the secondary loop. This improves the speed of response of the primary loop. 3.Gain variations in G 2 are overcome within its own loop. Thus, use cascade control (with an extra secondary measurement y 2 ) when: The disturbance d 2 is significant and G 1 has an effective delay The plant G 2 is uncertain (varies) or nonlinear Design / tuning First design K 2 (“fast loop”) to deal with d 2 Then design K 1 to deal with d 1

23 23 Cascade control: y 2 not important in itself, and setpoint (r 2 ) is available for control of y 1 Decentralized control (using sequential design): y 2 important in itself Partial control

24 24 Partial control analysis Primary controlled variable y 1 = c (supervisory control layer) Local control of y 2 using u 2 (regulatory control layer) Setpoint y 2s : new DOF for supervisory control Assumption: Perfect control (K 2 -> 1 ) in “inner” loop Derivation: Set y 2 =y 2s -n 2 (perfect control), eliminate u 2, and solve for y 1

25 25 Partial control: Distillation Supervisory control: Primary controlled variables y 1 = c = (x D x B ) T Regulatory control: Control of y 2 =T using u 2 = L (original DOF) Setpoint y 2s = T s : new DOF for supervisory control u 1 = V

26 26 Limitations of partial control? Cascade control: Closing of secondary loops does not by itself impose new problems –Theorem 10.2 (SP, 2005). The partially controlled system [P 1 P r1 ] from [u 1 r 2 ] to y 1 has no new RHP-zeros that are not present in the open-loop system [G 11 G 12 ] from [u 1 u 2 ] to y 1 provided r 2 is available for control of y 1 K 2 has no RHP-zeros Decentralized control (sequential design): Can introduce limitations. –Avoid pairing on negative RGA for u 2 /y 2 – otherwise P u likely has a RHP- zero

27 27 Selecting measurements and inputs for stabilization: Pole vectors Maximum gain rule is good for integrating (drifting) modes For “fast” unstable modes (e.g. reactor): Pole vectors useful for determining which input (valve) and output (measurement) to use for stabilizing unstable modes Assumes input usage (avoiding saturation) may be a problem Compute pole vectors from eigenvectors of A-matrix

28 28

29 29

30 30 Example: Tennessee Eastman challenge problem

31 31

32 32

33 33

34 34

35 35

36 36

37 37 ”Summary Advanced control” STEP S6. SUPERVISORY LAYER Objectives of supervisory layer: 1. Switch control structures (CV1) depending on operating region –Active constraints –self-optimizing variables 2. Perform “advanced” economic/coordination control tasks. –Control primary variables CV1 at setpoint using as degrees of freedom (MV): Setpoints to the regulatory layer (CV2s) ”unused” degrees of freedom (valves) –Keep an eye on stabilizing layer Avoid saturation in stabilizing layer –Feedforward from disturbances If helpful –Make use of extra inputs –Make use of extra measurements Implementation: Alternative 1: Advanced control based on ”simple elements” (decentralized control) Alternative 2: MPC

38 38 Summary of some simple elements Feeforward control with Multiple feeds etc. (extensive variables).: Ratio control Ratio setpoint usually set by feedback in a cascade manner Feedback 1.Use of extra measurements for improved control;: Cascade control –Cascade control is when MV (for master) =setpoint to slave controller –MV1 = CV2s 2.Switch between active constraints: Selectors 3.Make use of extra inputs –Dynamic (improve performance): Input resetting = valve position control = midranging control –Steady state (extend operating range): Split range control 4.Reduce interactions when using single-loop control: Decouplers (including phsically based)

39 39 Control configuration elements Control configuration. The restrictions imposed on the overall controller by decomposing it into a set of local controllers (subcontrollers, units, elements, blocks) with predetermined links and with a possibly predetermined design sequence where subcontrollers are designed locally. Some control configuration elements: Cascade controllers Decentralized controllers Feedforward elements Decoupling elements Input resetting/Valve position control/Midranging control Split-range control Selectors

40 40 Most important control structures 1.Feedback control 2.Ratio control (special case of feedforward) 3.Cascade control

41 41 Ratio control (most common case of feedforward) x (q 2 /q 1 ) s (desired flow ratio) q 1 (measured flow disturbance) q 2 (MV: manipulated variable) “Measure disturbance (d=q 1 ) and adjust input (u=q 2 ) such that ratio is at given value (q 2 /q 1 ) s ” Use multiplication block (x): General: Use for extensive variables (usually flows) with constant optimal ratio Example: Process with two feeds q 1 (d) and q 2 (u), where ratio should be constant.

42 42 Usually: Combine ratio (feedforward) with feedback Adjust (q1/q2) s based on feedback from process, for example, composition controller. This is a special case of cascade control –Example cake baking: Use recipe (ratio control = feedforward), but adjust ratio if result is not as desired (feedback) –Example evaporator: Fix ratio q H /q F (and use feedback from T to fine tune ratio)

43 43 Cascade control Controller (“master”) gives setpoint to another controller (“slave”) –Without cascade: “Master” controller directly adjusts u (input, MV) to control y –With cascade: Local “slave” controller uses u to control “extra”/fast measurement (y’). “Master” controller adjusts setpoint y’ s. Example: Flow controller on valve (very common!) –y = level H in tank (or could be temperature etc.) –u = valve position (z) –y’ = flowrate q through valve LC H HsHs flow in flow out MV=z valve position WITHOUT CASCADE LC H HsHs flow in flow out MV=q s WITH CASCADE FC measured flow q z Example

44 44 What are the benefits of adding a flow controller (inner cascade)? q z qsqs 1.Counteracts nonlinearity in valve, f(z) With fast flow control we can assume q = q s 2.Eliminates effect of disturbances in p1 and p2 Extra measurement y’ = q z (valve opening) f(z) 01 0 1 linear valve

45 45 Example (again): Evaporator with heating From reactor q F [m3/s] T F [K] c F [mol/m3] q [m3/s] T [K] c [mol/m3] Heating fluid q H [m3/s] T H [K] evaporation level measurement temperature measurement T ∞ H NEW Control objective Keep level H at desired value Keep composition c (rather than temperature T) at desired value BUT: Composition measurement has large delay + unreliable Suggest control structure based on cascade control concentrate

46 46 Split Range Temperature Control

47 47 Split Range Temperature Control Note: adjust the location er E0 to make process gains equal E0

48 48 Use of extra measurements: Cascade control ( conventional) The reference r 2 (= setpoint y s2 ) is an output from another controller General case (“parallel cascade”) Special common case (“series cascade”) Not always helpful… y 2 must be closely related to y 1

49 49 Series cascade 1.Disturbances arising within the secondary loop (before y 2 ) are corrected by the secondary controller before they can influence the primary variable y 1 2.Phase lag existing in the secondary part of the process (G 2 ) is reduced by the secondary loop. This improves the speed of response of the primary loop. 3.Gain variations in G 2 are overcome within its own loop. Thus, use cascade control (with an extra secondary measurement y 2 ) when: The disturbance d 2 is significant and G 1 has an effective delay The plant G 2 is uncertain (varies) or nonlinear Design / tuning (see also in tuning-part): First design K 2 (“fast loop”) to deal with d 2 Then design K 1 to deal with d 1 Example: Flow cascade for level control u = z, y2=F, y1=M, K1= LC, K2= FC

50 50 Pressure control distillation Need to stabilze p using Qc But want Qc to be max Use cascade with backoff on Qc ( Another similar example: reactor temperature control (stabilization) closed to Qmax.

51 51 Use of extra inputs Two different cases 1.Have extra dynamic inputs (degrees of freedom) Cascade implementation: “Input resetting to ideal resting value” Example: Heat exchanger with extra bypass Also known as: Midranging control, valve position control 2.Need several inputs to cover whole range (because primary input may saturate) (steady-state) Split-range control Example 1: Control of room temperature using AC (summer), heater (winter), fireplace (winter cold) Example 2: Pressure control using purge and inert feed (distillation)

52 52 Extra inputs, dynamically Exercise: Explain how “valve position control” fits into this framework. As en example consider a heat exchanger with bypass

53 53 QUIZ: Heat exchanger with bypass Want tight control of T hot Primary input: CW Secondary input: q B Proposed control structure? qBqB T hot closed

54 54 qBqB T hot TC Use primary input CW: TOO SLOW Alternative 1 closed

55 55 qBqB T hot TC Use “dynamic” input q B Advantage: Very fast response (no delay) Problem: q B is too small to cover whole range + has small steady-state effect Alternative 2 closed

56 56 qBqB T hot TC Alternative 3: Use both inputs (with input resetting of dynamic input) closed FC q Bs TC: Gives fast control of T hot using the “dynamic” input q B FC: Resets q B to its setpoint (IRV) (e.g. 5%) using the “primary” input CW IRV = ideal resting value Also called: “valve position control” (Shinskey) and “midranging control” (Sweden)

57 57 Too few inputs Must decide which output (CV) has the highest priority –Selectors Implementation: Several controllers have the same MV –Selects max or min MV value –Often used to handle changes in active constraints Example: one heater for two rooms. Both rooms: T>20C –Max-selector –One room will be warmer than setpoint. Example: Petlyuk distillation column –Heat input (V) is used to control three compositions using max-selector –Two will be better than setpoint (“overpurified”) at any given time

58 58 Divided wall column example

59 59 Control of primary variables Purpose: Keep primary controlled outputs c=y 1 at optimal setpoints c s Degrees of freedom: Setpoints y 2s in reg.control layer Main structural issue: Decentralized or multivariable?

60 60 Decentralized control (single-loop controllers) Use for: Noninteracting process and no change in active constraints +Tuning may be done on-line +No or minimal model requirements +Easy to fix and change -Need to determine pairing -Performance loss compared to multivariable control - Complicated logic required for reconfiguration when active constraints move

61 61 Multivariable control (with explicit constraint handling = MPC) Use for: Interacting process and changes in active constraints +Easy handling of feedforward control +Easy handling of changing constraints no need for logic smooth transition -Requires multivariable dynamic model -Tuning may be difficult -Less transparent -“Everything goes down at the same time”


Download ppt "1 Outline Control structure design (plantwide control) A procedure for control structure design I Top Down Step 1: Degrees of freedom Step 2: Operational."

Similar presentations


Ads by Google