Chemical Process Controls: PID control, part II Tuning

Slides:



Advertisements
Similar presentations
Model-based PID tuning methods Two degree of freedom controllers
Advertisements

13. Controller Tuning and Troubleshooting
ERT 210 Process Control & dynamics
Copyright © Thomas Marlin 2013
1 ChE / MET Apr 12. Feedback Controller Tuning: (General Approaches) 1)Simple criteria; i.e QAD via ZN I, t r, etc easy, simple, do on existing.
Control Architectures: Feed Forward, Feedback, Ratio, and Cascade
Dynamic Energy Balance. Last time: well-mixed CSTR w/flow & reaction for multiple reactions: rxn #
Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 6. Empirical Model Identification Copyright © Thomas Marlin 2013.
CHAPTER V CONTROL SYSTEMS
PID Control -1 + Professor Walter W. Olson
Loop Shaping Professor Walter W. Olson
CHE 185 – PROCESS CONTROL AND DYNAMICS
The Proportional-Integral-Derivative Controller
CHE 185 – PROCESS CONTROL AND DYNAMICS
CHE 185 – PROCESS CONTROL AND DYNAMICS
Practical Process Control Using Control Station
Dynamical Systems Analysis III: Phase Portraits By Peter Woolf University of Michigan Michigan Chemical Process Dynamics and Controls.
Dynamical Systems Analysis I: Fixed Points & Linearization By Peter Woolf University of Michigan Michigan Chemical Process Dynamics.
Control Programming By Peter Woolf University of Michigan Michigan Chemical Process Dynamics and Controls Open Textbook version 1.0 Creative commons.
Dynamical Systems Analysis II: Evaluating Stability, Eigenvalues By Peter Woolf University of Michigan Michigan Chemical Process Dynamics.
Dynamical Systems Analysis IV: Root Locus Plots & Routh Stability
Multiple Input, Multiple Output I: Numerical Decoupling By Peter Woolf University of Michigan Michigan Chemical Process Dynamics and.
Process Control Instrumentation II
Chapter 5 Control Using Wireless Transmitters. Measurement and Control Data Sampling Rate  To achieve the best control response, the rule of thumb is.
Chapter 11 Simulating Wireless Control. Simulate Parameter – Analog Input Block  The current or digital outputs of these transmitters and switches are.
Matteo MacchiniStudent meeting – October 2014 Motion control design for the new BWS Matteo Macchini Technical student BE-BI-BL Supervisor: Jonathan Emery.
Multiple Input, Multiple Output II: Model Predictive Control By Peter Woolf University of Michigan Michigan Chemical Process Dynamics.
Chapter 8. The PID Controller Copyright © Thomas Marlin 2013
بسم الله الرحمن الرحيم PID Controllers
PID Tuning and Controllability Sigurd Skogestad NTNU, Trondheim, Norway.
Linearizing ODEs of a PID Controller Anchored by: Rob Chockley and Scott Dombrowski.
Proportional/Integral/Derivative Control
CHAPTER II PROCESS DYNAMICS AND MATHEMATICAL MODELING
Book Adaptive control -astrom and witten mark
PSE and PROCESS CONTROL
Simple rules for PID tuning Sigurd Skogestad NTNU, Trondheim, Norway.
DYNAMIC BEHAVIOR OF PROCESSES :
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 23.
PID Controller Design and
Chapter 4 Dynamic Systems: Higher Order Processes Prof. Shi-Shang Jang National Tsing-Hua University Chemical Engineering Dept. Hsin Chu, Taiwan April,
بسم الله الرحمن الرحيم Advanced Control Lecture one Mohammad Ali Fanaei Dept. of Chemical Engineering Ferdowsi University of Mashhad Reference: Smith &
Feedback Control system
FC Flow Control: Centrifugal pump with constant speed (rpm) Orifice plate sensor Globe valve FC Flow Control: Positive displacement pump Orifice plate.
Chapter 7 Adjusting Controller Parameters Professor Shi-Shang Jang Chemical Engineering Department National Tsing-Hua University Hsin Chu, Taiwan.
CSCI1600: Embedded and Real Time Software Lecture 12: Modeling V: Control Systems and Feedback Steven Reiss, Fall 2015.
Chapter 8 Feedback Controllers 1. On-off Controllers Simple Cheap Used In residential heating and domestic refrigerators Limited use in process control.
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
PID Control of Car Position Exercises in Manual Tuning.
Lecture 25: Implementation Complicating factors Control design without a model Implementation of control algorithms ME 431, Lecture 25.
Features of PID Controllers
1 II. Bottom-up Determine secondary controlled variables and structure (configuration) of control system (pairing) A good control configuration is insensitive.
Lecture 9: PID Controller.
CSE 425: Industrial Process Control 1. About the course Lect.TuTotal Semester work 80Final 125Total Grading Scheme Course webpage:
Advanced control strategies. CONTROL SYSTEMS The process parameters which are measured using probes described in the previous sections may be controlled.
Chapter 3 : Simple Process Dynamics and Transfer Function
MISS. RAHIMAH BINTI OTHMAN
1 PID Feedback Controllers PID 反馈控制器 Dai Lian-kui Shen Guo-jiang Institute of Industrial Control, Zhejiang University.
Author: Nurul Azyyati Sabri
EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise,
Feedback Controllers Chapter 8
Transfer Functions Chapter 4
CHAPTER V CONTROL SYSTEMS
Presentation at NI Day April 2010 Lillestrøm, Norway
CHAPTER VI BLOCK DIAGRAMS AND LINEARIZATION
CSCI1600: Embedded and Real Time Software
Process Control Engineering
Features of PID Controllers
Introduction to Process Control
Feedback Controllers Chapter 8
PID Controller Design and
Presentation transcript:

Chemical Process Controls: PID control, part II Tuning By Peter Woolf (pwoolf@umich.edu) University of Michigan Michigan Chemical Process Dynamics and Controls Open Textbook version 1.0 Creative commons

Heater Example from last class F, Tin F, T Goal: Heat the output stream to a desired set point temperature, Tset Assumptions: All liquid in lines and tank, thus Fin=Fout=F Flow is constant Fluid does not boil No reactions Tank is well stirred Heater has no lag Heater has finite range Question: How do we choose PID control parameters?

Case: Heated CSTR Starting at 120, and Tset=130. Tfeed=100. (see PID.example.xls)

Case: Heated CSTR Starting at 120, and Tset=130. Tfeed=100. (see PID.example.xls) Here we use a smaller  to show integrator windup

Case: Heated CSTR Starting at 120, and Tset=130. Tfeed=100. (see PID.example.xls) Here  and Kc are smaller. What happened??

Case: Heated CSTR Starting at 120, and Tset=130. Tfeed=100. (see PID.example.xls) Here  and Kc are even smaller. What happened??

Possible Tuning Strategies Perturb system, see what happens and use this response to choose PID parameters Adjust PID parameters until something bad happens and then back off Numerical optimization based on data

Reaction Curve Tuning (=Open Loop) Based on a First Order Plus Dead Time (FOPDT) process model assumption time First order process delayed response to signal v

Example from http://www.controlguru.com • Change set point from 39 to 42% CO Observe delay (0.8) Observe max slope of response at T=27 Slope= Kmax= output change/ Input change=k1/k2 Max slope Units? %? Relative to what? Example from http://www.controlguru.com

i d Aside: intuition If slope is high (Kmax big) then want a small gain (Kc), as the system is sensitive If large dead time, then want a small gain because response is delayed, thus aggressive control could be dangerous. Large dead time also reduces the effect of integration, but increases derivative. Integration can cause oscillations, and with a large delay could be a problem. Derivative can still work with time delay, in most cases.

i d Advantages of open loop tuning: • fast: the experiment takes just one run • does not introduce oscillations: Oscillations can be could be dangerous in a large plant, so best avoided. • Can be done before controller is installed Disadvantages of open loop tuning: • can be inaccurate: does not take into account control dynamics or dynamics of other processes • can be difficult to implement: max slope is not always easy to find. • Terms can be ambiguous

Closed Loop Tuning i d Zeigler-Nichols (Z-N) Tuning parameters for closed loop i d

Closed Loop Tuning Advantages of closed loop tuning 1)Easy experiment 2)Incorporates in closed loop dynamics Disadvantages of closed loop tuning 1)this experiment can be slow 2)Oscillations could be dangerous in some cases, or if not at least wasteful

Model Based Tuning FOPDT is okay for a first approximation, but we know what the process is doing. Given a model and normal operating data, we can create a good model of the process. PID parameters can then be optimally selected based on this model using regression!

Model Based Tuning Set points Predicted model response for a given Kc, i, and d. temp time Goal: Use solver to find optimal values of Kc, i, and d that minimize

Model Based Tuning Advantages of model based tuning 1) Incorporates in knowledge about the physical system 2)Incorporates in closed loop dynamics 3) Incorporates in physical limitations in valves and sensors 4) Includes inherent noise in system Disadvantages of model based tuning 1) Requires a good model that takes time to produce 2) Requires significant data describing a range of operating behaviors 3) Optimization for large systems can be difficult. 4) Overkill for simple systems that are FOPD like

Light bulb control system a little bit of real data…

FLOW Light bulb (=heater) Temperature sensors Fan (=pump) Purge valve inlet

Note: valves don’t always look like valves! open closed

Thermocouple RTD

Sample Response Curve (closed loop) temp Time (sec)

Closed loop tuning? Difficult to define as we have (1) Limited control action, thus Ku tops out quickly. (2) The oscillation frequency is only somewhat stable. temp Time (sec)

Different PID tuning parameters Small i, large Kc All derivative control Open recycle temp Change set point Time (sec)

Parameterize the model based on historical data Model based tuning? Create a model Parameterize the model based on historical data If fit is poor, adjust model in step 1 and repeat. Fit PID tuning parameters to optimize performance. temp Time (sec)

Model based tuning? Create a model Parameterize the model based on historical data If fit is poor, adjust model in step 1 and repeat. Fit PID tuning parameters to optimize performance. F, Tin F, T What if this did not fit? What might be a better model?

One idea… 4 CSTRs, each with different functions. thermocouple TC2 heater TC1 RTD Flow in due to pressure balance Flow due to recycle (Look to your reactors text for many more examples of such lumped models of multiple CSTRs)

Take Home Messages PID tuning parameters can be estimated from data using a variety of methods PID tuning can be difficult and time consuming Complex physical processes can often be broken down into smaller, more familiar systems