Lynkurs Prosessregulering (Crash course process control) Sigurd Skogestad Institutt for kjemisk prosessteknologi Rom K4-211

Similar documents
Dynamics and PID control. Process dynamics

Advanced control If single-loop feedback control (PID) alone is not good enough

General approach separation

Enhanced Single-Loop Control Strategies (Advanced Control) Cascade Control Time-Delay Compensation Inferential Control Selective and Override Control

Self-consistent inventory control

CHAPTER 15: FEEDFORWARD CONTROL

ECONOMIC PLANTWIDE CONTROL: Control structure design for complete processing plants

Subject: Introduction to Process Control. Week 01, Lectures 01 02, Spring Content

Solution to exam in PEF3006 Process Control at Telemark University College

CONTROL OF MULTIVARIABLE PROCESSES

Consistent inventory control

Process Control Exercise 2

3.1 Overview 3.2 Process and control-loop interactions

Control of MIMO processes. 1. Introduction. Control of MIMO processes. Control of Multiple-Input, Multiple Output (MIMO) Processes

The dos and don ts of distillation column control

Multi-Input Multi-output (MIMO) Processes CBE495 LECTURE III CONTROL OF MULTI INPUT MULTI OUTPUT PROCESSES. Professor Dae Ryook Yang

Process Control, 3P4 Assignment 6

EXAMINATION INFORMATION PAGE Written examination

Enhanced Single-Loop Control Strategies Chapter 16

Control Introduction. Gustaf Olsson IEA Lund University.

CHAPTER 13: FEEDBACK PERFORMANCE

Time scale separation and the link between open-loop and closed-loop dynamics

Index. INDEX_p /15/02 3:08 PM Page 765

The dos and don ts of distillation column control

CM 3310 Process Control, Spring Lecture 21

THE DOS AND DON TS OF DISTILLATION COLUMN CONTROL

Design of Decentralised PI Controller using Model Reference Adaptive Control for Quadruple Tank Process

Process Unit Control System Design

Overview of Control System Design

Economic Plant-wide Control. Sigurd Skogestad

Principles and Practice of Automatic Process Control

Solutions for Tutorial 10 Stability Analysis

Analyzing Control Problems and Improving Control Loop Performance

DYNAMIC SIMULATOR-BASED APC DESIGN FOR A NAPHTHA REDISTILLATION COLUMN

Elvira Marie B. Aske

Elvira Marie B. Aske

Process Solutions. Process Dynamics. The Fundamental Principle of Process Control. APC Techniques Dynamics 2-1. Page 2-1

SRI VENKATESWARA COLLEGE OF ENGINEERING

Feedforward Control Feedforward Compensation

PROCESS DESIGN AND CONTROL Offset-Free Tracking of Model Predictive Control with Model Mismatch: Experimental Results

PROCESS CONTROL (IT62) SEMESTER: VI BRANCH: INSTRUMENTATION TECHNOLOGY

Plantwide Control of Chemical Processes Prof. Nitin Kaistha Department of Chemical Engineering Indian Institute of Technology, Kanpur

Index Accumulation, 53 Accuracy: numerical integration, sensor, 383, Adaptive tuning: expert system, 528 gain scheduling, 518, 529, 709,

Feedback Basics. David M. Auslander Mechanical Engineering University of California at Berkeley. copyright 1998, D.M. Auslander

Overview of Control System Design

Input-output Controllability Analysis

IMPROVED CONTROL STRATEGIES FOR DIVIDING-WALL COLUMNS

Control Systems I. Lecture 2: Modeling. Suggested Readings: Åström & Murray Ch. 2-3, Guzzella Ch Emilio Frazzoli

Fundamental Principles of Process Control

Feedback: Still the simplest and best solution

(Refer Slide Time: 1:42)

Control. CSC752: Autonomous Robotic Systems. Ubbo Visser. March 9, Department of Computer Science University of Miami

Improved Identification and Control of 2-by-2 MIMO System using Relay Feedback

Wannabe-MPC for Large Systems Based on Multiple Iterative PI Controllers

Process Control & Design

Design and Comparative Analysis of Controller for Non Linear Tank System

Design of de-coupler for an interacting tanks system

Systems Engineering/Process Control L1

Optimizing Control of Petlyuk Distillation: Understanding the Steady-State Behavior

CBE495 LECTURE IV MODEL PREDICTIVE CONTROL

CONTROLLED VARIABLE AND MEASUREMENT SELECTION

SIMULATION SUITE CHEMCAD SOFTWARE PROCESS CONTROL SYSTEMS PROCESS CONTROL SYSTEMS COURSE WITH CHEMCAD MODELS. Application > Design > Adjustment

Control System Design

Competences. The smart choice of Fluid Control Systems

Systems Engineering/Process Control L1

Spring 2006 Process Dynamics, Operations, and Control Lesson 5: Operability of Processes

Design of Multivariable Neural Controllers Using a Classical Approach

NonlinearControlofpHSystemforChangeOverTitrationCurve

Model predictive control of industrial processes. Vitali Vansovitš

Control Lab. Thermal Plant. Chriss Grimholt

Direct and Indirect Gradient Control for Static Optimisation

ChE 6303 Advanced Process Control

(Refer Slide Time: 00:01:30 min)

ABB PSPG-E7 SteamTMax Precise control of main and reheat ST. ABB Group May 8, 2014 Slide 1 ABB

BITS-Pilani Dubai, International Academic City, Dubai Second Semester. Academic Year

PROCESS SYSTEMS ENGINEERING GROUP

CONTROL OF REACTIVE DISTILLATION COLUMNS FOR AMYL ACETATE PRODUCTION USING DILUTE ACETIC ACID

Multi-Loop Control. Department of Chemical Engineering,

Chapter 7 Control. Part Classical Control. Mobile Robotics - Prof Alonzo Kelly, CMU RI

Process Control, 3P4 Assignment 5

YTÜ Mechanical Engineering Department

A Holistic Approach to the Application of Model Predictive Control to Batch Reactors

Control Systems I. Lecture 2: Modeling and Linearization. Suggested Readings: Åström & Murray Ch Jacopo Tani

Guide to Selected Process Examples :ili3g eil;]iil

PROCESS CONTROL DESIGN PASI 2005

Fluid Mechanics Prof. T.I. Eldho Department of Civil Engineering Indian Institute of Technology, Bombay. Lecture - 17 Laminar and Turbulent flows

Process Control J.P. CORRIOU. Reaction and Process Engineering Laboratory University of Lorraine-CNRS, Nancy (France) Zhejiang University 2016

Linear Control Systems General Informations. Guillaume Drion Academic year

Active vapor split control for dividing-wall columns

CPC Engineering Training Brochure

Queen s University at Kingston. CHEE Winter Process Dynamics and Control. M. Guay. Quiz 1

Model Predictive Control

DESIGN OF AN ON-LINE TITRATOR FOR NONLINEAR ph CONTROL

CHAPTER 10: STABILITY &TUNING

Twin-Screw Food Extruder: A Multivariable Case Study for a Process Control Course

Innovative Solutions from the Process Control Professionals

CHAPTER 6 CLOSED LOOP STUDIES

I would like to thank the following people for their contributions to this project:

CONTROL MODE SETTINGS. The quality of control obtained from a particular system depends largely on the adj ustments made to the various mode

Dynamic Modeling, Simulation and Control of MIMO Systems

Transcription:

Lynkurs Prosessregulering (Crash course process control) Sigurd Skogestad Institutt for kjemisk prosessteknologi Rom K4-211 skoge@ntnu.no 1

Course for 3rd year students: Pensum (syllabus): Lectures/exercises Literature (see www.nt.ntnu.no/users/skoge/prosessregulering_lynkurs): 1. Nybraaten og Svendsen, "Kort innføring i prosessregulering" (1986) (det kan synes gammelt, men det står faktisk mye bra her) 2. 12 sider fra F. Haugen, "Anvendt reguleringsteknikk", 1992 3. S. Skogestad, "Prosessteknikk", 2./3. utgave, Tapir: Kap. 11.3 (tidsrespons) og 11.8/11.6 (prosessregulering) 3. S. Skogestad, Chemical and Energy Process Engineering, CRC Press, 2009: Ch. 11.3 (Dynamic analysis and time response) + Ch. 11.6 (Process control) Slides Forelesningsplan F1: Oversikt over regulering, forover- og tilbakekobling, dusjeksempel F2: Klassifisering av variable, prosedyre for utforming av reguleringssystem F3: Eksempler F4: Prosessdynamikk, tidskonstant, dødtid, PID-regulering, F5/F6: Stabilitet, Tuning PID, Forsøk, Eksempler, More information (literature, old exams, etc.): www.nt.ntnu.no/users/skoge/prosessregulering_lynkurs English Norsk English Norsk Control regulering Operation drift Loop Sløyfe Measurement måling Valve Ventil Disturbance DV forstyrrelse Gain Forsterkning Manipulated var. (MV) = input Controlled variab. (CV) = output Feedback Feedforward Controller Pådrag = inngang Regulert variabel = utgang Tilbakekobling Foroverkobling Regulator Time delay = dead time (θ) Tidsforsinkelse = dødtid (θ) 2

Why control? Until now: Design of process. Assume steady-state Now: Operation Actual value(dynamic) Steady-state (average) time In practice never steady-state: Feed changes Startup Operator changes Disturbances (d s) Failures.. - Control is needed to reduce the effect of disturbances remain at steady state - 30% of investment costs are typically for instrumentation and control Countermeasures to disturbances (I) I. Reduce/Eliminate the disturbance (a) Design process so it is insensitive to disturbances Example: Use buffertank to dampen disturbances T in inflow outflow Tout (b) Detect and remove source of disturbances Statistical process control (SPC) Example: Detect and eliminate variations in feed composition 3

Countermeasures to disturbances (II) II. Counteract the disturbance: Process control (prosessregulering) Do something (usually manipulate valve) to counteract the effect of the disturbances (a) Manual control: Need operator (b) Automatic control: Need measurement + automatic valve + computer Goals automatic control: Smaller variations more consistent quality More optimal ( squeeze and shift ) Smaller losses (environment) Lower costs More production MAX FLOW after before time Industry: Still large potential for improvements! By improving control and squeezing the variations we can shift the setpoint (average) closer to the constraint and increase production Example: Control of shower temperature 5s delay in pipe (θ = V/q = 100ml/20 ml/s = 5s) T [K] q [m3/s] want constant (valves) Reaction time q c 4

Classification of variables d u input (MV) Process (shower) y output (CV) Independent variables ( the cause ): (a) Inputs (MV, u): Variables we can adjust (valves) (b) Disturbances (DV, d): Variables outside our control Dependent (output) variables ( the effect or result ): (c) Primary outputs (CVs, y): Variables we want to keep at a given setpoint (d) Internal variables in dynamic model ( states ) (x) MV = manipulated vartiable (input u) CV = controlled variable (output y) DV = disturbance variable (d) Example: Control of shower temperature 5s delay: θ = V/q = 100ml/20 ml/s = 5s Control objective. MVs, CVs, DVs T [K] q H [m 3 /s] q q [m 3 /s] C 1. Control objective Keep temperature (y 1 =T) a given setpoint Keep flow (y 2 =q) ( pressure ) at given setpoint 2. Classify variables MVs (u) = q H, q C (strictly speaking, valve positions z H, z C ) CVs (y) = T, q DVs (d) = q H, q C (strictly speaking, upstream pressure which gives uncontrolled flow changes) Reaction time q c 5

Inputs for control (MVs) Usually: Inputs (MVs) are valves. Physical input is valve position (z), but we often simplify and say that flow (q) is input Valve equation z p 1 p 2 q [m 3 /s] 6

Control Use inputs (MVs, u) to counteract the effect of the disturbances (DVs, d) such that the outputs (CVs, y) are kept close to their setpoints (y s ) d u input (MV) Process y output (CV) Two fundamental control principles Feedback: Measure the result (= controlled variable CV; output y) and keep adjusting the manipulated variable (MV; input u) until the results is OK Example: Measure the temperature T (CV) and adjust the flow of cold water (MV) Feedforward: Measure the cause (= disturbance d; DV) and based on a prediction (model!) make a forward adjustment of the MV (input u) to (hopefully) counteract its effect on the result (output y) Example: Room mate (disturbance d) says I am tapping cold water - and you know your friend so well (model) that you can make the correct increase in your cold water (MV) to counteract d. NOT VERY REALISTIC FOR SHOWER EXAMPLE BUT a good example of feedforward is coming in time to lecture! 7

BLOCK DIAGRAMS FEEDBACK (measure output): d y s Desired value Setpoint y s -y m error Controller (brain) u input (MV) Process (shower) y output (CV) y m measured output Measurement device FEEDFORWARD (measure disturbance): d m measured disturbance Measurement device d Controller (brain) u input (MV) Process (shower) y output (CV) All lines: Signals (information) Blocks: controllers and process Do not confuse block diagram (lines are signals) with flowsheet (lines are flows); see below FEEDBACK + Self-correcting with negative feedback (keeps adjusting until y=y s at steady state) + Do not need model (but most know process sign!) - May give instability if controller overreacts - Need good and fast measurement of output MAIN ENEMY OF FEEDBACK: TIME DELAY (in process or output measurement) FEEDFORWARD + Good when large time delay (in process or output measurement) + Reacts before damage is done - Need good model - Sensitive to changes and errors - Works only for known and measured disturbances USUALLY COMBINED WITH FEEDBACK 8

Piping and instrumentation diagram (P&ID) (flowsheet) Solid lines: mass flow (streams) Dashed lines: signals (control) Example: Shower TC T s q C valves mixer pipe. T q H q FC q s Notation feedback controllers (P&ID) T (measured CV) TC T s (setpoint CV) MV (could be valve) 2nd letter: C: controller I: indicator (measurement) T: transmitter (measurement) A: alarm 1st letter: Controlled variable (CV) = What we are trying to control (keep constant) T: temperature F: flow L: level P: pressure DP: differential pressure (Δp) A: Analyzer (composition) C: composition X: quality (composition) H: enthalpy/energy 9

Example: Level control Inflow (d) H LC H s Outflow (u) CLASSIFICATION OF VARIABLES FOR CONTROL (MV, CV. DV): INPUT (u, MV): OUTFLOW (Input for control!) OUTPUT (y, CV): LEVEL DISTURBANCE (d, DV): INFLOW Level control when product rate is given (less common) Inflow (u) H LC H s Outflow (d) CLASSIFICATION OF VARIABLES FOR CONTROL (MV, CV. DV): INPUT (u, MV): INFLOW OUTPUT (y, CV): LEVEL DISTURBANCE (d, DV): OUTFLOW 10

Example: Evaporator with heating From reactor q F [m3/s] T F [K] temperature measurement T evaporation level measurement H q [m3/s] T [K] q H [m3/s] T H [K] Heating fluid concentrate 1. Control objective Keep level H at desired value Keep temperature T at desired value 2. Classify variables (CVs, MVs, important DVs) 3. Process matrix (from MVs to CVs) 4. Suggest pairings and put control loops on the flowsheet Most important control structures 1. Feedback control 2. Cascade control 3. Ratio control (special case of feedforward) 11

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 WITHOUT CASCADE flow in measured level H LC H s flow out MV=z valve position WITH CASCADE flow in measured level H LC H s master FC slave z flow out MV=q s q measured flow What are the benefits of adding a flow controller (inner cascade)? q s Extra measurement y = q q z 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 (FC reacts faster than outer level loop) f(z) 1 0 0 1 z (valve opening) 12

Example: Evaporator with heating Feed: From reactor q F [m3/s] T F [K] c F [mol/m3] temperature measurement T T Heating fluid q H [m3/s] T H [K] evaporation level measurement H c Concentrated product q [m3/s] T [K] c [mol/m3] concentration measurement Control objectives Keep level H at desired value NEW: Keep composition c at desired value BUT: Composition measurement has large delay + unreliable Suggest control structure based on cascade control Ratio control (most common case of feedforward) Example: Process with two feeds q 1 (d) and q 2 (u), where ratio should be constant. Use multiplication block (x): (q 2 /q 1 ) s (desired flow ratio) q 1 (measured flow disturbance) x 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 13

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) EXAMPLE: MIXING PROCESS RATIO CONTROL with outer cascade (to adjust ratio setpoint) (q 2 /q 1 ) s q 2,s q 1,m x q 1 [m3/s] C 1 [mol/m3] Concentrate q 2,m FC C 2 =0 Water CC c m c H LC c s q [m3/s] c [mol/m3] Diluted product 14

Procedure for design of control system 1. Define control objective (why control?) 2. Classify variables MVs (u) Disturbances (d) CVs (y) + measurements 3. Process description Flow sheet Process matrix Qualitative: with 0, +, -, (+)*, (-)* Quantitative: transfer matrix (see later courses) 4. Control structure Feedforward / feedback Pairing of variables (avoid pairing on 0!) Cascade loops (MV from one controller (master) is setpoint for another (slave)) Put on process & instrumentation diagram (P&ID) 5. Control algorithm On/off PID (proportional-integral-derivative) Model based (MPC) 6. Implementation Today: Normally computer + connect measurements and valves (actuators) *(has some effect, but too small for control) Process matrix Input 1 Output 1 + - Output 2 0 + input2 Process engineer (YOU): Responsible for items 1-4 The most important is process understanding Rules for pairing of variables and choice of control structure Main rule: Pair close 1. The response (from input to output) should be fast, large and in one direction. Avoid dead time and inverse responses! 2. The input (MV) should preferably affect only one output (to avoid interaction between the loops; may use process matrix) 3. Try to avoid input saturation (valve fully open or closed) in basic control loops for level and pressure 4. The measurement of the output y should be fast and accurate. It should be located close to the input (MV) and to important disturbances. Use extra measurements y and cascade control if this is not satisfied 5. The system should be simple Avoid too many feedforward and cascade loops 6. Obvious loops (for example, for level and pressure) should be closed first, before you spend too much time on deriving process matrices etc. 15

Example: Shower 1. Define control objective (why control?) CVs: Control temperature T and flow q 2. Classify variables MVs (u): qc, qh Disturbances (d): Focus on main CVs (y): T, q 3. Process description Flow sheet Process matrix 4. Control structure Pairing of variables (Alt.1, Alt.2) Multivariable (Alt 3) qc qh T q Input 1 qc Input2 qh Output 1 T Output 2 q - + + + In this case the process matrix has no 0 s ) Interactive, so pairing is not obvious! Multivariable control ( decoupling ) is used in practice: One handle for total flow (qh+qc), one for ratio (qh/qc) 3x3 pairing example Pairing: Choose one pairing from each row/column. Avoid pairing on 0 s Inputs u 1 u 2 u 3 y 1 + + + Outputs y 2 0 + - y 3 0 + 0 16

Example: Distillation Here: Given feed (i.e., feedrate is disturbance) 1. Objective: Stabilize column + keep compositions in top and bottom constant But compositions measurements delayed + unreliable 2. Classify variables 3. Process description Flowsheet Process matrix 4. Control structure: Stabilize column profile using sensitive temperature measurement. Typical distillation control: Level control using LV-configuration (reflux L and boilup V left for CC) Two-point composition control (CC) with inner T-loop (cascade) LV CC x D T s TC Slave (fast) CC Master (slow) x B 17

Typical distillation control: Two-point composition control (CC) LV-configuration LV (L and V left for CC) with inner T-loop (cascade) CC x D T s TC Slave (fast) CC Master (slow) x B Control hierarchy based on time scale separation setpoints setpoints MPC or cascade/feedforward/ (slower advanced and multivariable control) PID (fast regulatory control) PROCESS MPC = model predictive control PID = proportional+integral+derivative control 18

Inventory control rule (TPM) Inventory control: Usually control of level and pressure LocateTPM: Find out where throughput is set Rule («to keep things flowing»): Inventory control must be radiating around TPM TPM QUIZ. Are these structures workable? Yes or No? TPM TPM TPM 19

Quiz 2. Workable? Yes or No TPM TPM TPM TPM 20