CHAPTER 10: STABILITY &TUNING

Similar documents
CHAPTER 13: FEEDBACK PERFORMANCE

Solutions for Tutorial 10 Stability Analysis

CHAPTER 19: Single-Loop IMC Control

Feedback Control of Linear SISO systems. Process Dynamics and Control

CHAPTER 15: FEEDFORWARD CONTROL

CONTROL OF MULTIVARIABLE PROCESSES

( ) ( = ) = ( ) ( ) ( )

Process Control, 3P4 Assignment 5

Open Loop Tuning Rules

Solutions for Tutorial 4 Modelling of Non-Linear Systems

Process Control & Design

Control Lab. Thermal Plant. Chriss Grimholt

Chapter 6 - Solved Problems

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

Exercise 8: Level Control and PID Tuning. CHEM-E7140 Process Automation

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

CHBE320 LECTURE XI CONTROLLER DESIGN AND PID CONTOLLER TUNING. Professor Dae Ryook Yang

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

CHAPTER 3 : MATHEMATICAL MODELLING PRINCIPLES

Chapter 2. Classical Control System Design. Dutch Institute of Systems and Control

Process Control Exercise 2

Appendix A MoReRT Controllers Design Demo Software

Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

Ch 14: Feedback Control systems

S_LOOP: SINGLE-LOOP FEEDBACK CONTROL SYSTEM ANALYSIS

Analysis and Design of Control Systems in the Time Domain

6.302 Feedback Systems Recitation 16: Compensation Prof. Joel L. Dawson

Plan of the Lecture. Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

Unit 11 - Week 7: Quantitative feedback theory (Part 1/2)

STABILITY ANALYSIS. Asystemmaybe stable, neutrallyormarginallystable, or unstable. This can be illustrated using cones: Stable Neutral Unstable

Chapter 5 The SIMC Method for Smooth PID Controller Tuning

Sinusoidal Forcing of a First-Order Process. / τ

Additional Closed-Loop Frequency Response Material (Second edition, Chapter 14)

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

Dr Ian R. Manchester

( ) Frequency Response Analysis. Sinusoidal Forcing of a First-Order Process. Chapter 13. ( ) sin ω () (

Process Control, 3P4 Assignment 6

Guide to Selected Process Examples :ili3g eil;]iil

Determining Controller Constants to Satisfy Performance Specifications

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

Systems Analysis and Control

A unified approach for proportional-integral-derivative controller design for time delay processes

(a) Find the transfer function of the amplifier. Ans.: G(s) =

Automatic Control (TSRT15): Lecture 7

CHAPTER 3 TUNING METHODS OF CONTROLLER

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

PID Controller Tuning for Dynamic Performance

Model-based PID tuning for high-order processes: when to approximate

1 Loop Control. 1.1 Open-loop. ISS0065 Control Instrumentation

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

University of Science and Technology, Sudan Department of Chemical Engineering.

Linear Control Systems Lecture #3 - Frequency Domain Analysis. Guillaume Drion Academic year

Frequency methods for the analysis of feedback systems. Lecture 6. Loop analysis of feedback systems. Nyquist approach to study stability

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

Solutions for Tutorial 5 Dynamic Behavior of Typical Dynamic Systems

STABILITY OF CLOSED-LOOP CONTOL SYSTEMS

EE3CL4: Introduction to Linear Control Systems

Input-output Controllability Analysis

Design and Tuning of Fractional-order PID Controllers for Time-delayed Processes

Part II. Advanced PID Design Methods

Professional Portfolio Selection Techniques: From Markowitz to Innovative Engineering

Innovative Solutions from the Process Control Professionals

Fundamental Principles of Process Control

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Systems Analysis and Control

Cascade Control of a Continuous Stirred Tank Reactor (CSTR)

6.302 Feedback Systems Recitation 17: Black s Formula Revisited, and Lead Compensation Prof. Joel L. Dawson

Solutions for Tutorial 3 Modelling of Dynamic Systems

(Refer Slide Time: 1:42)

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

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

PROCESS CONTROL DESIGN PASI 2005

EXAMINATION INFORMATION PAGE Written examination

Procedure for sketching bode plots (mentioned on Oct 5 th notes, Pg. 20)

EE 422G - Signals and Systems Laboratory

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

Process Dynamics, Operations, and Control Lecture Notes 2

Time Response Analysis (Part II)

Multi-Loop Control. Department of Chemical Engineering,

Dynamic Behavior. Chapter 5

ECE317 : Feedback and Control

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

Dynamics and PID control. Process dynamics

Controller Design Based on Transient Response Criteria. Chapter 12 1

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

Chapter 8. Feedback Controllers. Figure 8.1 Schematic diagram for a stirred-tank blending system.

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

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

Closed Loop Identification Of A First Order Plus Dead Time Process Model Under PI Control

Class 27: Block Diagrams

ME 304 CONTROL SYSTEMS Spring 2016 MIDTERM EXAMINATION II

Introduction to Process Control

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

Course Summary. The course cannot be summarized in one lecture.

Control of Electromechanical Systems

Enhanced Single-Loop Control Strategies Chapter 16

Notes for ECE-320. Winter by R. Throne

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year

Systems Analysis and Control

Design Methods for Control Systems

Transcription:

When I complete this chapter, I want to be able to do the following. Determine the stability of a process without control Determine the stability of a closed-loop feedback control system Use these approaches to learn how dead time affects stability.

Outline of the lesson. Define stability Review determining the roots of the characteristic equation Introduce the Bode stability method Apply to determine some general trends in feedback systems

MV ( t) = 1 d CV Kc E( t) E( t') dt' Td I TI 0 dt 20 v1 TC v2 No! Yes! 0-20 -40 0 20 40 60 80 100 120 0.8 0.6 0.4 0.2 0 or We influence stability when we implement control. How do we achieve the influence we want? -0.2 0 20 40 60 80 100 120

bounded CHAPTER 10: STABILITY &TUNIN First, let s define stability: A system is stable if all bounded inputs to the system result in bounded outputs. Sample Sample Inputs Process Outputs 1 0.5 0-0.5-1 0 0.5 1 1.5 Feed T1 F1 T2 T4 T5 T3 T6 P1 L1 Vapor product 1 0.5 0-0.5-1 0 0.5 1 1.5 F2 Process fluid F3 Steam A1 L. Key Liquid product unbounded unbounded bounded

(s) = Y(s)/X(s) Y(s) = [N(s)/D(s)] X(s) Let s review how we determine the stability of a model. With α i the solution to the denominator of the transfer function being zero, D(s) = 0 giving s = α 1, α 2, α i.... Y ( t ) = A 0 A e 1 α t 1 A e 2 α t 2... ( B 0 B t 1 B 2 t 2..) e α t p... [ C 1 cos( ω t ) C 2 sin( ω t )] e α t q... Real, distinct α i Complex α i If all α i are???, Y(t) is stable If any one α i is???, Y(t) is unstable Real, repeated α i Class exercise

With α i the solutions to D(s) = 0, which is a polynomial. Y( t) = A 0 A e 1 α t 1 A e 2 α t 2... ( B 0 B t 1 B 2 t 2..) e α t p... [ C 1 cos( ωt) C2 sin( ωt)] e α t q... 1. If all real [α i ] are < 0, Y(t) is stable If any one real [α i ] is 0, Y(t) is unstable 2. If all α i are real, Y(t) is overdamped (does not oscillate) If one pair of α i are complex, Y(t) is underdamped

Quick review of model for closed-loop feedback system. D(s) d (s) SP(s) E(s) MV(s) C (s) v (s) P (s) - CV m (s) S (s) CV(s) Transfer functions C (s) = controller v (s) = valve P (s) = feedback process S (s) = sensor d (s) = disturbance process Variables CV(s) = controlled variable CV m (s) = measured value of CV(s) D(s) = disturbance E(s) = error MV(s) = manipulated variable SP(s) = set point

D(s) d (s) SP(s) - E(s) C (s) MV(s) CV m (s) v (s) P (s) CV(s) S (s) Set point response Disturbance Response CV SP( s) = 1 p p v v c c S CV D( s) = 1 p v d c S The denominator determines the stability of the closed-loop feedback system! We call it the characteristic equation.

Direction Solution for the Roots to determine the stability Controller is a P-only controller. Is the system stable? Let s evaluate the roots of the characteristic equation. 1 1 125s 3 ( 1 τs) ( 1 5s) 3 p K C K P v 75s = 1 2 c K 15s C S ( 0. 039 ) = 0 3 1 0. 039K c = 0 F S solvent F A pure A AC

0.5 CHAPTER 10: STABILITY &TUNIN Plot of real and imaginary parts of the roots of the characteristic equation - three roots for cubic 0.4 0.3 Imaginary 0.2 0.1 0-0.1 Kc 250 0-0.2-0.3-0.4 As the controller gain, K C, is increased, some roots approach, then cross the boundary (s=0) between stable and Unstable. Shaded is the unstable region. -0.5-0.7-0.6-0.5-0.4-0.3-0.2-0.1 0 0.1 Real Stable Unstable

The denominator determines the stability of the closed-loop feedback system! CV SP( s) Set point response = 1 p p v v c c S 3 2 c For the mixer : 125s 75s 15s 1 0. 039K = 0 Bode Stability Method Calculating the roots is easy with standard software. However, if the equation has a dead time, the term e -θs appears. Therefore, we need another method. Th method we will use next is the Bode Stability Method.

Bode Stability: To understand, let s do a thought experiment F S solvent Loop open F A pure A AC SP

Bode Stability: To understand, let s do a thought experiment SP(s) E(s) MV(s) C (s) v (s) P (s) - Loop CV m (s) open S (s) CV(s) F S solvent Loop open F A pure A AC SP

Bode Stability: To understand, let s do a thought experiment No forcing!! F S solvent Loop closed F A pure A AC SP

Bode Stability: To understand, let s do a thought experiment No forcing!! SP(s) E(s) MV(s) C (s) v (s) P (s) - Loop CV m (s) closed S (s) CV(s) No forcing!! F S solvent Loop closed F A pure A AC SP

Bode Stability: To understand, let s do a thought experiment No forcing!! SP(s) E(s) MV(s) C (s) v (s) P (s) - Loop CV m (s) closed S (s) CV(s) No forcing!! F S solvent Loop closed F A pure A AC SP

Bode Stability: To understand, let s do a thought experiment SP(s) E(s) MV(s) C (s) v (s) P (s) - Loop CV m (s) closed S (s) CV(s) Under what conditions is the system stable (unstable)? Hint: think about the sine wave as it travels around the loop once.

Bode Stability: To understand, let s do a thought experiment SP(s) E(s) MV(s) C (s) v (s) P (s) - Loop CV m (s) closed S (s) CV(s) Under what conditions is the system stable (unstable)? If the sine is larger in amplitude after one cycle; then it will increase each time around the loop. The system will be unstable. Now: at what frequency does the sine most reinforce itself?

Bode Stability: To understand, let s do a thought experiment SP(s) E(s) MV(s) C (s) v (s) P (s) - Loop CV m (s) closed S (s) CV(s) Now: at what frequency does the sine most reinforce itself? When the sine has a lag of 180 due to element dynamics, the feedback will reinforce the oscillation (remember the - sign). This is the critical frequency.

Bode Stability: To understand, let s do a thought experiment SP(s) E(s) MV(s) C (s) v (s) P (s) - Loop CV m (s) closed S (s) CV(s) Let s put the results together. OL (s) includes all elements in the closed loop. At the critical frequency: OL (ω c j) = -180 The amplitude ratio: OL (ω c j) < 1 for stability OL (ω c j) > 1 for stability See textbook for limitations

Bode Stability: Let s do an example: three-tank mixer with 5 minutes dead time added OL (ω c j) = -180 OL (ω c j) < 1 for stability OL = c v p s = K P e θ s ( 1 τs) 3 K c 1 1 T s I K P Process = 0.039 % A/% open τ = 5 min (each tank) θ = 5 min Controller tuning w/o dead time K T I c = 30% open/% A = 11min From Ciancone correlations

Bode Stability: OL (ω c j) = -180 10 2 OL (ω c j) < 1 for stability Amplitude Ratio 10 1 10 0 OL (ω c j) = 0.75 Conclusion? 10-1 10-2 10-1 10 0 Frequency, w (rad/time) -50 Phase Angle (degrees) -100-150 -200-250 -180 Critical frequency -300 10-2 10-1 10 0 Frequency, w (rad/time)

Bode Stability: OL (ω c j) = -180 10 2 OL (ω c j) < 1 for stability Amplitude Ratio 10 1 10 0 OL (ω c j) = 0.75 < 1 Conclusion: stable!! Phase Angle (degrees) 10-1 -50-100 -150-200 -250 10-2 10-1 10 0-180 Frequency, w (rad/time) The sine will decrease in amplitude each time around the loop. Critical frequency -300 10-2 10-1 10 0 Frequency, w (rad/time)

2 S-LOOP plots deviation variables (IAE = 42.1962) Controlled Variable 1.5 1 0.5 Stable, but performance poor, why? 0 0 50 100 150 200 250 Time 60 Manipulated Variable 40 20 0 0 50 100 150 200 250 Time

2 S-LOOP plots deviation variables (IAE = 42.1962) Controlled Variable 1.5 1 0.5 Stable, but performance poor, why? Manipulated Variable 0 0 50 100 150 200 250 Time Key 60 lesson: Stability is required, but more is 40 required for good performance. 20 PI tuning was for the process without dead time. The process with dead time is more difficult to control. Must make controller less agressive! 0 0 50 100 150 200 250 Time

Bode calculations can be done by hand, easier with S_LOOP ************************************************************* * S_LOOP: SINLE LOOP CONTROL SYSTEM ANALYSIS * * BODE PLOT OF OL(s) = p(s)c(s) * * * * Characteristic Equation = 1 OL(s) * ************************************************************* SELECT THE APPROPRIATE MENU ITEM MODIFY... PRESENT VALUES 1) Lowest Frequency 0.01 2) Highest Frequency 0.30 3) Create Bode plot and calculate the results at critical frequency 4) Return to main menu Enter the desired selection: ************************************************* Critical frequency and amplitude ratio from Bode plot of OL ************************************************* Caution: 1) cross check with plot because of possible MATLAB error in calculating the phase angle 2) the program finds the first crossing of -180 The critical frequency is between 0.14263 and 0.14287 The amplitude ratio at the critical frequency is 0.74797 Or, write your own program in MATLAB. Amplitude Ratio Phase Angle (degrees) 10 2 10 1 10 0 10-1 10-2 10-1 10 0-50 -100-150 -200-250 Frequency, w (rad/time) -300 10-2 10-1 10 0 Frequency, w (rad/time)

Let s review what we have accomplished so far. We can evaluate the stability of a process without control by evaluating the roots of char. equation We can evaluate the stability of a process under feedback by either - evaluating the roots of char. equation - Bode method (required for process with dead time) These are local tests, caution about non-linearity Stability does not guarantee good performance!!!! Unstable system performance always poor!!!

1. What else can we do with this neat technology? Tune controllers F S solvent MV ( t) = 1 d CV Kc E( t) E( t') dt' Td I TI 0 dt F A pure A AC Ziegler-Nichols Tuning We can tune controllers. The basic idea is to keep a reasonable margin from instability limit. This reasonable margin might give good performance.

1. What else can we do with this neat technology? Tune controllers Controller Kc TI Td P-only Ku/2 --- --- PI Ku/2.2 Pu/1.2 --- PID Ku/1.7 Pu/2.0 Pu/8 ain margin is approximately 2 Integral mode is required for zero s-s offset Derivative has stabilizing effect

F S Controlled Variable Manipulated Variable 2 1.5 1 0.5 solvent F A pure A S-LOOP plots deviation variables (IAE = 23.3131) 0 0 50 100 150 200 250 Time 150 100 50 0-50 0 50 100 150 200 250 Time AC Ziegler-Nichols tuning enerally, Ziegler- Nichols tuning is not the best initial tuning method. However, these two guys were real pioneers in the field! Its taken 50 years to surpass their guidelines.

2. What else can we do with this neat technology? Understand why detuning is required for tough processes. 10 KcKp 1 As dead time increases, we must detune the controller. 0.1 0 0.2 0.4 0.6 0.8 1 In this plot, (θτ) is constant and θ/ (θτ) is changed. Ziegler-Nichols fraction dead time Ciancone

3. What else can we do with this neat technology? Understand need for robustness. After we tune the controller, we change the flow of solvent. What happens? F S solvent F S = 3.0 to 6.9 m3/min F A pure A AC

10 0 CHAPTER 10: STABILITY &TUNIN 3. What else can we do with this neat technology? Understand need for robustness. amplitude ratio Must consider the model error when selecting controller 10-5 tuning phase angle -100-200 10-2 10-1 10 0 0-180 frequency (rad/time) Range of critical frequencies. Smallest is most conservative -300 10-2 10-1 10 0 frequency (rad/time)

3. What else can we do with this neat technology? Understand need for robustness. Tune for the process response that is slowest, has highest fraction dead time, and largest process gain. This will give least aggressive controller. F S solvent F S = 3.0 to 6.9 m3/min F A pure A AC

Match your select of tuning method to tuning goals!

CHAPTER 10: TUNIN & STABILITY WORKSHOP 1 The data below is a process reaction curve for a process, plotted in deviation variables. Determine the tuning for a PID controller using the Ziegler-Nichols method. Controlled Variable 4 3 2 1 0-1 0 5 10 15 20 25 30 35 40 45 50 Time v1 TC Manipulated Variable 15 10 5 v2 0 0 5 10 15 20 25 30 35 40 45 50 Time

CHAPTER 10: TUNIN & STABILITY WORKSHOP 2 Answer true or false to each of the following questions and explain each answer. A. A closed-loop system is stable only if the process and the controller are both stable. B. The Bode stability method proves that the closedloop system is stable for only sine inputs. C. OL (s) is the process model, P (s), and sensor, final element, and signal transmission dynamics D. A process would be stable if it had three poles with the following values: -1, -.2, and 0.

CHAPTER 10: TUNIN & STABILITY WORKSHOP 3 The PID controller has been tuned for a three-tank mixer. Later, we decide to include another mixing tank in the process. If we do not retune the controller, will the control system be stable with the four-tank mixer? F S solvent F A pure A AC K c = 30 T I = 11 T d = 0.8

When I complete this chapter, I want to be able to do the following. Determine the stability of a process without control Determine the stability of a closed-loop feedback control system Use these approaches to learn how dead time affects stability. 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 10: LEARNIN RESOURCES SITE PC-EDUCATION WEB - Instrumentation Notes - Interactive Learning Module (Chapter 10) - Tutorials (Chapter 10) S_LOOP - You can perform the stability and frequency response calculations uses menu-driven features. Then, you can simulate in the time domain to confirm your conclusions.

CHAPTER 10: SUESTIONS FOR SELF-STUDY 1. Determine the stability for the example in textbook Table 9.2 (recommended tuning). Use the nominal process parameters. How much would K C have to be increased until the system became unstable? 2. Determine the Ziegler-Nichols tuning for the three-tank mixer process. Simulate the dynamic response using S_LOOP. 3. Discuss applying the Bode stability method to a process without control.

CHAPTER 10: SUESTIONS FOR SELF-STUDY 4. We do not want to operate a closed-loop system too close to the stability limit. Discuss measures of the closeness to the limit and how they could be used in calculating tuning constant values.