CONTROLLED VARIABLE AND MEASUREMENT SELECTION

Slides:



Advertisements
Similar presentations
Ramprasad Yelchuru, Optimal controlled variable selection for Individual process units, 1 Optimal controlled variable selection for individual process.
Advertisements

1 CONTROLLED VARIABLE AND MEASUREMENT SELECTION Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Technology (NTNU)
1 Effective Implementation of optimal operation using Self- optimizing control Sigurd Skogestad Institutt for kjemisk prosessteknologi NTNU, Trondheim.
1 Fremtidige trender innen prosessoptimalisering Sigurd Skogestad Institutt for kjemisk prosessteknologi NTNU, Trondheim Effective Implementation of optimal.
Plantwide process control with focus on selecting economic controlled variables («self- optimizing control») Sigurd Skogestad, NTNU 2014.
Ramprasad Yelchuru, MIQP formulations for optimal controlled variables selection in Self Optimizing Control, 1/16 MIQP formulation for optimal controlled.
GHGT-8 Self-Optimizing and Control Structure Design for a CO 2 Capturing Plant Mehdi Panahi, Mehdi Karimi, Sigurd Skogestad, Magne Hillestad, Hallvard.
1 Self-optimizing control: Simple implementation of optimal operation Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science.
1 Coordinator MPC for maximization of plant throughput Elvira Marie B. Aske* &, Stig Strand & and Sigurd Skogestad* * Department of Chemical Engineering,
1 Plantwide control: Towards a systematic procedure Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU)
1 1 Economic Plantwide Control, July 2015 ECONOMIC PLANTWIDE CONTROL Sigurd Skogestad Dept. of Chemical Engineering, Norwegian University of Science and.
1 1 V. Minasidis et. al. | Simple Rules for Economic Plantwide ControlSimple Rules for Economic Plantwide Control, PSE & ESCAPE 2015 SIMPLE RULES FOR ECONOMIC.
1 Structure of the process control system Benefits from MPC (Model Predictive Control) and RTO (Real Time Optimization) Sigurd Skogestad Department of.
1 Practical Implementation of Optimal Operation using Off-Line Computations Sigurd Skogestad Department of Chemical Engineering Norwegian University of.
1 AN INTRODUCTION TO PLANTWIDE CONTROL Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim,
1 A SYSTEMATIC APPROACH TO PLANTWIDE CONTROL Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim,
1 E. S. Hori, Maximum Gain Rule Maximum Gain Rule for Selecting Controlled Variables Eduardo Shigueo Hori, Sigurd Skogestad Norwegian University of Science.
1 Self-optimizing control Theory. 2 Step S3: Implementation of optimal operation Optimal operation for given d * : min u J(u,x,d) subject to: Model equations:
1 Active constraint regions for economically optimal operation of distillation columns Sigurd Skogestad and Magnus G. Jacobsen Department of Chemical Engineering.
Sigurd Skogestad Department of Chemical Engineering
1 A SYSTEMATIC APPROACH TO PLANTWIDE CONTROL Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU) Trondheim,
1 Plantwide control: Towards a systematic procedure Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology (NTNU)
1 Selv-optimaliserende regulering Anvendelser mot prosessindustrien, biologi og maratonløping Sigurd Skogestad Institutt for kjemisk prosessteknologi,
1 From process control to business control: A systematic approach for CV-selection Sigurd Skogestad Department of Chemical Engineering Norwegian University.
1 Self-optimizing control From key performance indicators to control of biological systems Sigurd Skogestad Department of Chemical Engineering Norwegian.
1 ECONOMIC PLANTWIDE CONTROL: Control structure design for complete processing plants Sigurd Skogestad Department of Chemical Engineering Norwegian University.
1 PLANTWIDE CONTROL Identifying and switching between active constraints regions Sigurd Skogestad and Magnus G. Jacobsen Department of Chemical Engineering.
1 Feedback: The simple and best solution. Applications to self-optimizing control and stabilization of new operating regimes Sigurd Skogestad Department.
1 Outline Skogestad procedure for control structure design I Top Down Step S1: Define operational objective (cost) and constraints Step S2: Identify degrees.
1 Self-optimizing control: Simple implementation of optimal operation Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science.
1 A SYSTEMATIC APPROACH TO PLANTWIDE CONTROL ( ) Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology.
Control Structure Design: New Developments and Future Directions Vinay Kariwala and Sigurd Skogestad Department of Chemical Engineering NTNU, Trondheim,
1 Outline About Trondheim and myself Control structure design (plantwide control) A procedure for control structure design I Top Down Step 1: Degrees of.
1 Effective Implementation of optimal operation using Self- optimizing control Sigurd Skogestad Institutt for kjemisk prosessteknologi NTNU, Trondheim.
1 Self-optimizing control From key performance indicators to control of biological systems Sigurd Skogestad Department of Chemical Engineering Norwegian.
1 Combination of Measurements as Controlled Variables for Self-optimizing Control Vidar Alstad † and Sigurd Skogestad Department of Chemical Engineering,
1 A SYSTEMATIC APPROACH TO PLANTWIDE CONTROL ( ) Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Tecnology.
1 Self-optimizing control: Simple implementation of optimal operation Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science.
Control strategies for optimal operation of complete plants Plantwide control - With focus on selecting economic controlled variables Sigurd Skogestad,
Coordinator MPC with focus on maximizing throughput
A systematic procedure for economic plantwide control
Economic Plantwide Control:
Self-optimizing control Theory
Advanced process control with focus on selecting economic controlled variables («self-optimizing control») Sigurd Skogestad, NTNU 2016.
Plantwide process control Introduction
Recent Development of Global Self-Optimizing Control
Feedback: The simple and best solution
Ramprasad Yelchuru Sigurd Skogestad Henrik Manum
Sigurd Skogestad Department of Chemical Engineering
Self-optimizing control Theory
Sigurd Skogestad Department of Chemical Engineering
Changing between Active Constraint Regions for Optimal Operation: Classical Advanced Control versus Model Predictive Control Adriana Reyes-Lúa, Cristina.
Sigurd Skogestad Department of Chemical Engineering
Feedback: The simple and best solution
Sigurd Skogestad Institutt for kjemisk prosessteknologi
PLANTWIDE CONTROL Sigurd Skogestad Department of Chemical Engineering
Plantwide control: Towards a systematic procedure
Outline Skogestad procedure for control structure design I Top Down
PLANTWIDE CONTROL Sigurd Skogestad Department of Chemical Engineering
Sigurd Skogestad Department of Chemical Engineering
Plantwide control: Towards a systematic procedure
Example : Optimal blending of gasoline
Sigurd Skogestad Institutt for kjemisk prosessteknologi
Economic plantwide control: A systematic approach for CV-selection
Vidar Alstad† and Sigurd Skogestad Department of Chemical Engineering,
Plantwide control: Towards a systematic procedure
Optimal measurement selection for controlled variables in Kaibel Distillation Column: A MIQP formulation Ramprasad Yelchuru (PhD Candidiate) Professor.
Outline Control structure design (plantwide control)
ECONOMIC PROCESS CONTROL Making system out of an apparent mess
Presentation transcript:

CONTROLLED VARIABLE AND MEASUREMENT SELECTION Sigurd Skogestad Department of Chemical Engineering Norwegian University of Science and Technology (NTNU) Trondheim, Norway Bratislava, Nov. 2010

NTNU, Trondheim

Plantwide control OBJECTIVE Min J (economics); MV=y1s cs = y1s The controlled variables (CVs) interconnect the layers Process control OBJECTIVE Min J (economics); MV=y1s RTO cs = y1s Switch+Follow path (+ look after other variables) CV=y1 (+ u); MV=y2s MPC y2s Stabilize + avoid drift CV=y2; MV=u PID u (valves) MV = manipulated variable CV = controlled variable

Alan Foss (“Critique of chemical process control theory”, AIChE Journal,1973): The central issue to be resolved ... is the determination of control system structure. Which variables should be measured, which inputs should be manipulated and which links should be made between the two sets? There is more than a suspicion that the work of a genius is needed here, for without it the control configuration problem will likely remain in a primitive, hazily stated and wholly unmanageable form. The gap is present indeed, but contrary to the views of many, it is the theoretician who must close it. This talk: Controlled variable (CV) selection: What should we measure and control?

Implementation of optimal operation Optimal operation for given d*: minu J(u,x,d) subject to: Model equations: f(u,x,d) = 0 Operational constraints: g(u,x,d) < 0 → uopt(d*) Problem: Usally cannot keep uopt constant because disturbances d change How should we adjust the degrees of freedom (u)?

Implementation of optimal operation Paradigm 1: Centralized on-line optimizing control where measurements are used to update model and states Paradigm 2: “Self-optimizing” control scheme found by exploiting properties of the solution Control the right variable! (CV selection)

Implementation (in practice): Local feedback control! y “Self-optimizing control:” Constant setpoints for c gives acceptable loss d Local feedback: Control c (CV) Optimizing control Feedforward

Question: What should we control (c) Question: What should we control (c)? (primary controlled variables y1=c) Issue: What should we control? Introductory example: Runner

Optimal operation of runner Optimal operation - Runner Optimal operation of runner Cost to be minimized, J=T One degree of freedom (u=power) What should we control?

Optimal operation - Runner Sprinter (100m) 1. Optimal operation of Sprinter, J=T Active constraint control: Maximum speed (”no thinking required”)

Optimal operation - Runner Marathon (40 km) 2. Optimal operation of Marathon runner, J=T Unconstrained optimum! Any ”self-optimizing” variable c (to control at constant setpoint)? c1 = distance to leader of race c2 = speed c3 = heart rate c4 = level of lactate in muscles

Conclusion Marathon runner Optimal operation - Runner Conclusion Marathon runner select one measurement c = heart rate Simple and robust implementation Disturbances are indirectly handled by keeping a constant heart rate May have infrequent adjustment of setpoint (heart rate)

Need to find new “self-optimizing” CVs (c=Hy) in each region of active constraints Control 3 active constraints 1 2 3 2 1 3 unconstrained degrees of freedom -> Find 3 CVs

Ideal “Self-optimizing” variables Unconstrained degrees of freedom: Ideal “Self-optimizing” variables Operational objective: Minimize cost function J(u,d) The ideal “self-optimizing” variable is the gradient (first-order optimality condition) (Halvorsen and Skogestad, 1997; Bonvin et al. 2001; Cao, 2003): Optimal setpoint = 0 BUT: Gradient can not be measured in practice Possible approach: Estimate gradient Ju based on measurements y Approach here: Look directly for c as a function of measurements y (c=Hy) without going via gradient I.J. Halvorsen and S. Skogestad, ``Optimizing control of Petlyuk distillation: Understanding the steady-state behavior'', Comp. Chem. Engng., 21, S249-S254 (1997) Ivar J. Halvorsen and Sigurd Skogestad, ``Indirect on-line optimization through setpoint control'', AIChE Annual Meeting, 16-21 Nov. 1997, Los Angeles, Paper 194h. .

H

H

Guidelines for selecting single measurements as CVs Rule 1: The optimal value for CV (c=Hy) should be insensitive to disturbances d (minimizes effect of setpoint error) Rule 2: c should be easy to measure and control (small implementation error n) Rule 3: “Maximum gain rule”: c should be sensitive to changes in u (large gain |G| from u to c) or equivalently the optimum Jopt should be flat with respect to c (minimizes effect of implementation error n) Reference: S. Skogestad, “Plantwide control: The search for the self-optimizing control structure”, Journal of Process Control, 10, 487-507 (2000).

Optimal measurement combination Candidate measurements (y): Include also inputs u H

Nullspace method

Proof nullspace method Basis: Want optimal value of c to be independent of disturbances Find optimal solution as a function of d: uopt(d), yopt(d) Linearize this relationship: yopt = F d Want: To achieve this for all values of  d: To find a F that satisfies HF=0 we must require Optimal when we disregard implementation error (n) Amazingly simple! Sigurd is told how easy it is to find H V. Alstad and S. Skogestad, ``Null Space Method for Selecting Optimal Measurement Combinations as Controlled Variables'', Ind.Eng.Chem.Res, 46 (3), 846-853 (2007).

Generalization (with measurement noise) Controlled variables, cs = constant + - K H y c u u J d Loss Loss with c=Hy=0 due to (i) Disturbances d (ii) Measurement noise ny Ref: Halvorsen et al. I&ECR, 2003 Kariwala et al. I&ECR, 2008 22

Optimal measurement combination, c = Hy cs = constant + - K H y c u “=0” in nullspace method (no noise) “Minimize” in Maximum gain rule ( maximize S1 G Juu-1/2 , G=HGy ) “Scaling” S1

Have extra degrees of freedom Non-convex optimization problem (Halvorsen et al., 2003) D : any non-singular matrix Have extra degrees of freedom st Improvement 1 (Alstad et al. 2009) Convex optimization problem Global solution Do not need Juu Q can be used as degrees of freedom for faster solution Analytical solution st Improvement 2 (Yelchuru et al., 2010)

Special case: Indirect control = Estimation using “Soft sensor” Indirect control: Control c= Hy such that primary output y1 is constant Optimal sensitivity F = dyopt/dd = (dy/dd)y1 Distillation: y=temperature measurements, y1= product composition Estimation: Estimate primary variables, y1=c=Hy y1 = G1 u, y = Gy u Same as indirect control if we use extra degrees of freedom (H1=DH) such that (H1Gy)=G1

Current research: “Loss approach” can also be used for Y = data More rigorous alternative to “least squares” and extensions such as PCR and PLS (Chemiometrics) Why is least squares not optimal? Fits data by minimizing ||Y1-HY|| Does not consider how estimate y1=Hy is going to be used in the future. Why is the loss approach better? Use the data to obtain Y, Gy and G1 (step 1). Step 2: obtain estimate y1=Hy that works best for the future expected disturbances and measurement noise (as indirectly given by the data in Y)

Toy Example Reference: I. J. Halvorsen, S. Skogestad, J. Morud and V. Alstad, “Optimal selection of controlled variables”, Industrial & Engineering Chemistry Research, 42 (14), 3273-3284 (2003).

Toy Example: Single measurements Constant input, c = y4 = u Want loss < 0.1: Consider variable combinations

Toy Example

Conclusion Systematic approach for finding CVs, c=Hy Can also be used for estimation S. Skogestad, ``Control structure design for complete chemical plants'', Computers and Chemical Engineering, 28 (1-2), 219-234 (2004). V. Alstad and S. Skogestad, ``Null Space Method for Selecting Optimal Measurement Combinations as Controlled Variables'', Ind.Eng.Chem.Res, 46 (3), 846-853 (2007). V. Alstad, S. Skogestad and E.S. Hori, ``Optimal measurement combinations as controlled variables'', Journal of Process Control, 19, 138-148 (2009) Ramprasad Yelchuru, Sigurd Skogestad, Henrik Manum , MIQP formulation for Controlled Variable Selection in Self Optimizing Control IFAC symposium DYCOPS-9, Leuven, Belgium, 5-7 July 2010 Download papers: Google ”Skogestad”