chap 06 marlin 2013-rapunzal

38
Process Control: Designing Process and Control Systems for Dynamic Performance Chapter 6. Empirical Model Identication Copyright © Thomas Marlin !"# The copyright holder provides a royalty-free license for use of material at non-prot educational institutions

Upload: annurawat

Post on 07-Oct-2015

10 views

Category:

Documents


0 download

DESCRIPTION

Marlin Presentation

TRANSCRIPT

No Slide Title

Process Control: Designing Process and Control Systems for Dynamic Performance

Chapter 6. Empirical Model IdentificationCopyright Thomas Marlin 2013The copyright holder provides a royalty-free license for use of this material at non-profit educational institutionsCHAPTER 6: EMPIRICAL MODEL IDENTIFICATION

When I complete this chapter, I want to be able to do the following.Design and implement a good experimentPerform the graphical calculationsPerform the statistical calculationsCombine fundamental and empirical modelling for chemical process systems

Outline of the lesson.Experimental design for model buildingProcess reaction curve (graphical)Statistical parameter estimationWorkshopCHAPTER 6: EMPIRICAL MODEL IDENTIFICATIONCHAPTER 6: EMPIRICAL MODELLING

We have invested a lot of effort to learn fundamentalmodelling. Why are we now learning about an empirical approach? TRUE/FALSE QUESTIONSWe have all data needed to develop a fundamental model of a complex processWe have the time to develop a fundamental model of a complex processExperiments are easy to perform in a chemical processWe need very accurate models for control engineeringfalsefalsefalsefalseEMPIRICAL MODEL BUILDING PROCEDUREStartExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationCompleteAlternativedataA priori knowledge

Not just processcontrolEMPIRICAL MODEL BUILDING PROCEDUREExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartComplete

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-organismsTAExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartCompleteEMPIRICAL MODEL BUILDING PROCEDUREBase case operating conditionsDefinition of perturbationMeasuresDurationSafelySmall effect on product qualitySmall effect of profitWe will stick with linear.What order, dead time, etc?Experimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartCompleteEMPIRICAL MODEL BUILDING PROCEDUREGain, 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 DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartCompleteEMPIRICAL MODEL BUILDING PROCEDUREWhat is our goal?We seek models good enough for control design, controller tuning, and process design.How do we know?Well have to trust the book and instructor for now. But, we will check often in the future!EMPIRICAL MODEL BUILDING PROCEDUREProcess reaction curve - The simplest and most often used method. Gives nice visual interpretation as well.1.Start at steady state2.Single step to input3.Collect data until steady state4.Perform calculationsTEMPIRICAL MODEL BUILDING PROCEDURE

Process reaction curve - Method I S = maximum slope

Data is plotted in deviation variablesEMPIRICAL MODEL BUILDING PROCEDURE

Process reaction curve - Method II

0.630.28t63%t28%Data is plotted in deviation variables 45 55 input variable, % open39 43 47 51 55 output variable, degrees C0 10 20 30 40 time

Lets get get out the calculatorand practice with thisexperimental data.

RecommendedEMPIRICAL MODEL BUILDING PROCEDUREProcess reaction curve - Methods I and IIThe same experiment in either method! Method IDeveloped firstProne to errors because of evaluation of maximum slopeMethod IIDeveloped in 1960sSimple calculationsEMPIRICAL MODEL BUILDING PROCEDUREProcess reaction curveExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartComplete

Is this a well designed experiment?EMPIRICAL MODEL BUILDING PROCEDUREProcess reaction curveExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartComplete

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 PROCEDUREExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartComplete

Process reaction curve

Should we use this data?EMPIRICAL MODEL BUILDING PROCEDUREExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartComplete

Process reaction curveThe output must be moved enough. Rule of thumb:Signal/noise > 5EMPIRICAL MODEL BUILDING PROCEDUREExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartCompleteProcess reaction curve

Should we use this data?EMPIRICAL MODEL BUILDING PROCEDUREExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartCompleteProcess reaction curve

Output did not return close to the initial value, although input returned to initial valueThis is a good experimental design; it checks for disturbancesEMPIRICAL MODEL BUILDING PROCEDUREExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartCompleteProcess reaction curve

Plot measured vs predictedmeasuredpredictedEMPIRICAL MODEL BUILDING PROCEDUREStatistical methodProvides much more general approach that is not restricted to step inputfirst order with dead time modelsingle experimentlarge perturbationattaining steady-state at end of experimentRequiresmore complex calculationsEMPIRICAL MODEL BUILDING PROCEDUREStatistical methodThe 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 PROCEDUREStatistical methodWe have discrete measurements, so lets 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 PROCEDUREThe 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 PROCEDUREPredicted vs. Measured using the statistical methodExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartComplete

EMPIRICAL MODEL BUILDING PROCEDUREStatistical methodExperimental DesignPlant ExperimentationDetermine Model StructureParameter EstimationDiagnostic EvaluationModel VerificationStartComplete

Random?Plotted for every measurement (sample)EMPIRICAL MODEL BUILDING PROCEDURE

FCA0VCA

We performed a process reaction curve for the isothermal CSTR with first order reaction. The dynamic parameters areRecently, we changed the feed flow rate by -40% and reached a new steady-state. What are the CA0CA dynamics now?

EMPIRICAL MODEL BUILDING PROCEDURE

Match the method to the application.

EMPIRICAL MODEL BUILDINGHow accurate are empirical models?Linear approximations of non-linear processesNoise and unmeasured disturbances influence dataLack of consistency in graphical methodlack of perfect implementation of valve changesensor errors

Lets say that each parameter has an error 20%. Is that good enough for future applications?CHAPTER 6: EMPIRCAL MODELLING WORKSHOP 1We introduced an impulse to the process at t=0. Develop and apply a graphical method to determine a dynamic model of the process.0510152025300123outputState 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 2We 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 3AWhat equipment is required so that could we can achieve faster measurements for use in feedback control?

34We 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.ReactorFresh feed flow is constantMostly unreacted feedPure productCHAPTER 6: EMPIRCAL MODELLING WORKSHOP 4

Lots of improvement, but we need some more study!Read the textbookReview the notes, especially learning goals and workshopTry out the self-study suggestionsNaturally, well 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 experimentPerform the graphical calculationsPerform the statistical calculationsCombine fundamental and empirical modelling for chemical process systemsCHAPTER 6: LEARNING RESOURCESSITE 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 desiredIntermediate 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-STUDY1.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 froma. flow in a pipeb. heat exchangersc. levels in reflux drumsd. distillation compositione. distillation pressure3.Develop an Excel spreadsheet to estimate the parameters in a first order dynamic model.