Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 6. Empirical Model Identification Copyright © Thomas Marlin 2013.

Slides:



Advertisements
Similar presentations
Chapter 9 PID Tuning Methods.
Advertisements

Self tuning regulators
Copyright © Thomas Marlin 2013
Chapter 21. Multiloop Control: Performance Analysis
Chapter 22. Variable Structure and Constraint Control
Chapter 3. Mathematical Modelling Principles
Design of Experiments Lecture I
Fixed point iterations and solution of non-linear functions
Chapter 4 Modelling and Analysis for Process Control
Chapter 10 Stability Analysis and Controller Tuning
Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 19. Single-Loop IMC Copyright © Thomas Marlin 2013 The copyright.
FTP Biostatistics II Model parameter estimations: Confronting models with measurements.
Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 13. Feedback Performance Copyright © Thomas Marlin 2013 The copyright.
11 Simple Linear Regression and Correlation CHAPTER OUTLINE
CHE 185 – PROCESS CONTROL AND DYNAMICS PID CONTROL APPLIED TO MIMO PROCESSES.
Practical Process Control Using Control Station
Curve-Fitting Regression
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Enhanced Single-Loop Control Strategies
Development of Empirical Models From Process Data
Process Control Instrumentation II
Chemical Process Controls: PID control, part II Tuning
IE-331: Industrial Engineering Statistics II Spring 2000 WEEK 1 Dr. Srinivas R. Chakravarthy Professor of Operations Research and Statistics Kettering.
Chemical Engineering 3P04 Process Control Tutorial # 2 Learning goals 1.The feedback cause-effect principle 2. Key element in the loop: The control valve.
Lecture 7: PID Tuning.
Chapter 8. The PID Controller Copyright © Thomas Marlin 2013
Chemometrics Method comparison
CSE 425: Industrial Process Control 1. About the course Lect.TuLabTotal Semester work 80Final 125Total Grading Scheme Course webpage:
Chapter 11 Simple Regression
Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 1. Introduction to Process Control Copyright © Thomas Marlin 2013.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Simple Linear Regression
Process Operability Class Materials Copyright © Thomas Marlin 2013
Chapter 2. Control Objectives and Benefits
Lecture 12 Statistical Inference (Estimation) Point and Interval estimation By Aziza Munir.
Basic Probability (Chapter 2, W.J.Decoursey, 2003) Objectives: -Define probability and its relationship to relative frequency of an event. -Learn the basic.
Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 7. The Feedback Loop Copyright © Thomas Marlin 2013 The copyright.
Examining Relationships in Quantitative Research
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 13.
1 11 Simple Linear Regression and Correlation 11-1 Empirical Models 11-2 Simple Linear Regression 11-3 Properties of the Least Squares Estimators 11-4.
Quadrature rules 1Michael Sokolov / Numerical Methods for Chemical Engineers / Numerical Quadrature Michael Sokolov ETH Zurich, Institut für Chemie- und.
Experimental Data Analysis Prof. Terry A. Ring, Ph. D. Dept. Chemical & Fuels Engineering University of Utah
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 &
Chapter 4. Modelling and Analysis for Process Control
Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 5. Typical Process Systems Copyright © Thomas Marlin 2013 The copyright.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 13.
1 DYNAMIC BEHAVIOR OF PROCESSES : Development of Empirical Models from Process Data ERT 210 Process Control & Dynamics.
Chapter 8: Simple Linear Regression Yang Zhenlin.
Chapter 3- Model Fitting. Three Tasks When Analyzing Data: 1.Fit a model type to the data. 2.Choose the most appropriate model from the ones that have.
Chapter 4 A First Analysis of Feedback Feedback Control A Feedback Control seeks to bring the measured quantity to its desired value or set-point (also.
ERT 210/4 Process Control & Dynamics DYNAMIC BEHAVIOR OF PROCESSES :
1 Development of Empirical Models From Process Data In some situations it is not feasible to develop a theoretical (physically-based model) due to: 1.
Chapter 3 : Simple Process Dynamics and Transfer Function
CORRELATION-REGULATION ANALYSIS Томский политехнический университет.
The simple linear regression model and parameter estimation
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Workshop for Flipped Class Performance of Feedback Control Systems
Chapter 2. Control Objectives and Benefits
Workshop for Flipped Class
Determining How Costs Behave
Workshop for Flipped Class
Chemical Engineering 3P04
Process Operability Class Materials Copyright © Thomas Marlin 2013
Enhanced Single-Loop Control Strategies
ISOTHERMAL REACTOR DESIGN
Process Operability Class Materials Copyright © Thomas Marlin 2013
CHAPTER Five: Collection & Analysis of Rate Data
Regression and Correlation of Data
UNIVERSITÁ DEGLI STUDI DI SALERNO FACOLTÀ DI INGEGNERIA
Presentation transcript:

Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 6. Empirical Model Identification Copyright © Thomas Marlin 2013 The copyright holder provides a royalty-free license for use of this material at non-profit educational institutions

CHAPTER 6: EMPIRICAL MODEL IDENTIFICATION When I complete this chapter, I want to be able to do the following. Design and implement a good experiment Perform the graphical calculations Perform the statistical calculations Combine fundamental and empirical modelling for chemical process systems

Outline of the lesson. Experimental design for model building Process reaction curve (graphical) Statistical parameter estimation Workshop CHAPTER 6: EMPIRICAL MODEL IDENTIFICATION

CHAPTER 6: EMPIRICAL MODELLING We have invested a lot of effort to learn fundamental modelling. Why are we now learning about an empirical approach? TRUE/FALSE QUESTIONS We have all data needed to develop a fundamental model of a complex process We have the time to develop a fundamental model of a complex process Experiments are easy to perform in a chemical process We need very accurate models for control engineering false

EMPIRICAL MODEL BUILDING PROCEDURE Start Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Complete Alternative data A priori knowledge Not just process control

EMPIRICAL MODEL BUILDING PROCEDURE Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Looks very general; it is! However, we still need to understand the process! Changing the temperature 10 K in a ethane pyrolysis reactor is allowed. Changing the temperature in a bio-reactor could kill micro-organisms T A

Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete EMPIRICAL MODEL BUILDING PROCEDURE Base case operating conditions Definition of perturbation Measures Duration Safely Small effect on product quality Small effect of profit We will stick with linear. What order, dead time, etc?

Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete EMPIRICAL MODEL BUILDING PROCEDURE Gain, time constant, dead time... Does the model fit the data used to evaluate the parameters? Does the model fit a new set of data not used in parameter estimation.

Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete EMPIRICAL MODEL BUILDING PROCEDURE What is our goal? We seek models good enough for control design, controller tuning, and process design. How do we know? We’ll have to trust the book and instructor for now. But, we will check often in the future!

EMPIRICAL MODEL BUILDING PROCEDURE Process reaction curve - The simplest and most often used method. Gives nice visual interpretation as well. 1.Start at steady state 2.Single step to input 3.Collect data until steady state 4.Perform calculations T

EMPIRICAL MODEL BUILDING PROCEDURE Process reaction curve - Method I   S = maximum slope  Data is plotted in deviation variables

EMPIRICAL MODEL BUILDING PROCEDURE Process reaction curve - Method II   0.63  0.28  t 63% t 28% Data is plotted in deviation variables

Let’s get get out the calculator and practice with this experimental data.

Recommended EMPIRICAL MODEL BUILDING PROCEDURE Process reaction curve - Methods I and II The same experiment in either method! Method I Developed first Prone to errors because of evaluation of maximum slope Method II Developed in 1960’s Simple calculations

EMPIRICAL MODEL BUILDING PROCEDURE Process reaction curve Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Is this a well designed experiment?

EMPIRICAL MODEL BUILDING PROCEDURE Process reaction curve Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Input should be close to a perfect step; this was basis of equations. If not, cannot use data for process reaction curve.

EMPIRICAL MODEL BUILDING PROCEDURE Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Process reaction curve Should we use this data?

EMPIRICAL MODEL BUILDING PROCEDURE Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Process reaction curve The output must be “moved” enough. Rule of thumb: Signal/noise > 5

EMPIRICAL MODEL BUILDING PROCEDURE Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Process reaction curve Should we use this data?

EMPIRICAL MODEL BUILDING PROCEDURE Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Process reaction curve Output did not return close to the initial value, although input returned to initial value This is a good experimental design; it checks for disturbances

EMPIRICAL MODEL BUILDING PROCEDURE Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Process reaction curve Plot measured vs predicted measured predicted

EMPIRICAL MODEL BUILDING PROCEDURE Statistical method Provides much more general approach that is not restricted to step input first order with dead time model single experiment “large” perturbation attaining steady-state at end of experiment Requires more complex calculations

EMPIRICAL MODEL BUILDING PROCEDURE Statistical method The basic idea is to formulate the model so that regression can be used to evaluate the parameters. We will do this for a first order plus dead time model, although the method is much more general. How do we do this for the model below?

EMPIRICAL MODEL BUILDING PROCEDURE Statistical method We have discrete measurements, so let’s express the model as a difference equation, with the next prediction based on current and past measurements.

EMPIRICAL MODEL BUILDING PROCEDURE Now, we can solve a standard regression problem to minimize the sum of squares of deviation between prediction and measurements. For a first-order model with dead time: We evaluate the minimum by setting the partial derivatives w.r.t. parameters a and b to zero..

EMPIRICAL MODEL BUILDING PROCEDURE The model parameters are evaluated at numerous values of the dead time,  =  /  t, and the result giving the lowest sum of error squared is taken as the best estimate of all parameters. Always compare with data.

EMPIRICAL MODEL BUILDING PROCEDURE Predicted vs. Measured using the statistical method Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete

EMPIRICAL MODEL BUILDING PROCEDURE Statistical method Experimental Design Plant Experimentation Determine Model Structure Parameter Estimation Diagnostic Evaluation Model Verification Start Complete Random? Plotted for every measurement (sample)

EMPIRICAL MODEL BUILDING PROCEDURE F C A0 V CACA We performed a process reaction curve for the isothermal CSTR with first order reaction. The dynamic parameters are Recently, we changed the feed flow rate by -40% and reached a new steady-state. What are the C A0  C A dynamics now?

EMPIRICAL MODEL BUILDING PROCEDURE Match the method to the application.

EMPIRICAL MODEL BUILDING How accurate are empirical models? Linear approximations of non-linear processes Noise and unmeasured disturbances influence data Lack of consistency in graphical method lack of perfect implementation of valve change sensor errors Let’s say that each parameter has an error  20%. Is that good enough for future applications?

CHAPTER 6: EMPIRCAL MODELLING WORKSHOP 1 We introduced an impulse to the process at t=0. Develop and apply a graphical method to determine a dynamic model of the process output

State whether we can use a first order with dead time model for the following process. Explain your answer. T (Time in seconds) CHAPTER 6: EMPIRCAL MODELLING WORKSHOP 2

We are familiar with analyzers from courses on analytical chemistry. In an industrial application, we can extract samples and transport them to a laboratory for measurement. CHAPTER 6: EMPIRCAL MODELLING WORKSHOP 3 A What equipment is required so that could we can achieve faster measurements for use in feedback control?

We are performing an experiment, changing the reflux flow and measuring the purity of the distillate. Discuss the processes that will affect the empirical dynamic model. Reactor Fresh feed flow is constant Mostly unreacted feed Pure product CHAPTER 6: EMPIRCAL MODELLING WORKSHOP 4

Lot’s of improvement, but we need some more study! Read the textbook Review the notes, especially learning goals and workshop Try out the self-study suggestions Naturally, we’ll have an assignment! CHAPTER 6: EMPIRICAL MODEL IDENTIFICATION When I complete this chapter, I want to be able to do the following. Design and implement a good experiment Perform the graphical calculations Perform the statistical calculations Combine fundamental and empirical modelling for chemical process systems

CHAPTER 6: LEARNING RESOURCES SITE PC-EDUCATION WEB - Instrumentation Notes - Interactive Learning Module (Chapter 6) - Tutorials (Chapter 6) Software Laboratory - S_LOOP program to simulate experimental step data, with noise if desired Intermediate reference on statistical method - Brosilow, C. and B. Joseph, Techniques of Model- Based Control, Prentice-Hall, Upper Saddle River, 2002 (Chapters 15 & 16).

CHAPTER 6: SUGGESTIONS FOR SELF-STUDY 1.Find a process reaction curve plotted in Chapters 1-5 in the textbook. Fit using a graphical method. Discuss how the parameters would change if the experiment were repeated at a flow 1/2 the original value. 2.Estimate the range of dynamics that we expect from a. flow in a pipe b. heat exchangers c. levels in reflux drums d. distillation composition e. distillation pressure 3.Develop an Excel spreadsheet to estimate the parameters in a first order dynamic model.