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

Similar documents
Process Control & Design

Class 27: Block Diagrams

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

Feedback Control of Linear SISO systems. Process Dynamics and Control

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Dynamics and PID control. Process dynamics

Enhanced Single-Loop Control Strategies Chapter 16

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

Analysis and Design of Control Systems in the Time Domain

CHAPTER 19: Single-Loop IMC Control

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

Dr Ian R. Manchester

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

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

Digital Control: Summary # 7

Chapter 2 Linear Feedback Control

A Tuning of the Nonlinear PI Controller and Its Experimental Application

CM 3310 Process Control, Spring Lecture 21

Fundamental Principles of Process Control

Integrator Windup

Principles and Practice of Automatic Process Control

Design and Implementation of Two-Degree-of-Freedom Nonlinear PID Controller for a Nonlinear Process

Process Control Hardware Fundamentals

CHAPTER 13: FEEDBACK PERFORMANCE

Feedforward Control Feedforward Compensation

Overview of Control System Design

Competences. The smart choice of Fluid Control Systems

B1-1. Closed-loop control. Chapter 1. Fundamentals of closed-loop control technology. Festo Didactic Process Control System

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

CHAPTER 10: STABILITY &TUNING

Control Systems. EC / EE / IN. For

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

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

Overview of Control System Design

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

CHAPTER 15: FEEDFORWARD CONTROL

Tuning of Internal Model Control Proportional Integral Derivative Controller for Optimized Control

Solution to exam in PEF3006 Process Control at Telemark University College

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

Solutions for Tutorial 10 Stability Analysis

PID controllers, part I

Intermediate Process Control CHE576 Lecture Notes # 2

Process Control, 3P4 Assignment 6

Control Lab. Thermal Plant. Chriss Grimholt

EE3CL4: Introduction to Linear Control Systems

CPC Engineering Training Brochure

CBE495 LECTURE IV MODEL PREDICTIVE CONTROL

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

ECE Introduction to Artificial Neural Network and Fuzzy Systems

Overview of Control System Design

Sinusoidal Forcing of a First-Order Process. / τ

ChE 6303 Advanced Process Control

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

Dynamic Behavior. Chapter 5

2.004 Dynamics and Control II Spring 2008

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

Control of Neutralization Process in Continuous Stirred Tank Reactor (CSTR)

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

Laboratory Exercise 1 DC servo

Open Loop Tuning Rules

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

TS02 - Pre-Instructional Survey

(Refer Slide Time: 1:42)

Lecture 12. Upcoming labs: Final Exam on 12/21/2015 (Monday)10:30-12:30

Design and analysis of the prototype of boiler for steam pressure control

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

MULTILOOP PI CONTROLLER FOR ACHIEVING SIMULTANEOUS TIME AND FREQUENCY DOMAIN SPECIFICATIONS

Subject: BT6008 Process Measurement and Control. The General Control System

Temperature Controllers

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D.

Ch 14: Feedback Control systems

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

Control 2. Proportional and Integral control

1 Chapter 9: Design via Root Locus

CONTROLLER PERFORMANCE ASSESSMENT IN SET POINT TRACKING AND REGULATORY CONTROL

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

3.1 Overview 3.2 Process and control-loop interactions

BASIC PROPERTIES OF FEEDBACK

MECHATRONICS CONTROL SYSTEM UNIT II

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

PID controllers. Laith Batarseh. PID controllers

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

YTÜ Mechanical Engineering Department

Process Identification for an SOPDT Model Using Rectangular Pulse Input

K c < K u K c = K u K c > K u step 4 Calculate and implement PID parameters using the the Ziegler-Nichols tuning tables: 30

CHAPTER 6 CLOSED LOOP STUDIES

CONTROL OF MULTIVARIABLE PROCESSES

Automatic Generation Control. Meth Bandara and Hassan Oukacha

A Method for PID Controller Tuning Using Nonlinear Control Techniques*

Basic Concepts in Data Reconciliation. Chapter 6: Steady-State Data Reconciliation with Model Uncertainties

Control System Design

Fall 2003 BMI 226 / CS 426 AUTOMATIC SYNTHESIS OF IMPROVED TUNING RULES FOR PID CONTROLLERS

Lecture 7: Anti-windup and friction compensation

Appendix A MoReRT Controllers Design Demo Software

CHAPTER 7 FRACTIONAL ORDER SYSTEMS WITH FRACTIONAL ORDER CONTROLLERS

An improved auto-tuning scheme for PI controllers

Steady State Errors. Recall the closed-loop transfer function of the system, is

Task 1 (24%): PID-control, the SIMC method

Distributed Real-Time Control Systems

DESIGN OF AN ON-LINE TITRATOR FOR NONLINEAR ph CONTROL

Transcription:

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

Basic Control Modes Next we consider the three basic control modes starting with the simplest mode, proportional control. Proportional Control In feedback control, the objective is to reduce the error signal to zero where and () sp () t () t et y y m = = = ( ) = ( ) ( ) (8-1) et y t y t sp error signal set point m measured value of the controlled variable (or equivalent signal from the sensor/transmitter) 2

Although Eq. 8-1 indicates that the set point can be time-varying, in many process control problems it is kept constant for long periods of time. For proportional control, the controller output is proportional to the error signal, where: ( ) = + ( ) (8-2) pt p Ket c ( ) = controller output pt p = K c = bias (steady-state) value controller gain (usually dimensionless) 3

4

The key concepts behind proportional control are the following: 1. The controller gain can be adjusted to make the controller output changes as sensitive as desired to deviations between set point and controlled variable; 2. the sign of K c can be chosed to make the controller output increase (or decrease) as the error signal increases. For proportional controllers, bias p can be adjusted, a procedure referred to as manual reset. Some controllers have a proportional band setting instead of a controller gain. The proportional band PB (in %) is defined as PB 100% K c (8-3) 5

In order to derive the transfer function for an ideal proportional controller (without saturation limits), define a deviation variable p () t as p t p t p Then Eq. 8-2 can be written as ( ) ( ) (8-4) ( ) K e( t) (8-5) p t = The transfer function for proportional-only control: P ( s) ( ) E s = c K c (8-6) An inherent disadvantage of proportional-only control is that a steady-state error occurs after a set-point change or a sustained disturbance. 6

Integral Control For integral control action, the controller output depends on the integral of the error signal over time, 1 t pt () = p+ et ( *) dt* (8-7) τ 0 I where τ I, an adjustable parameter referred to as the integral time or reset time, has units of time. Integral control action is widely used because it provides an important practical advantage, the elimination of offset. Consequently, integral control action is normally used in conjunction with proportional control as the proportional-integral (PI) controller: 1 t pt () = p+ Kc et () + et ( *) dt* (8-8) τ 0 I 7

The corresponding transfer function for the PI controller in Eq. 8-8 is given by ( ) ( ) P s 1 τi s + 1 = Kc 1 + = Kc (8-9) E s τis τis Some commercial controllers are calibrated in terms of 1/ τ I (repeats per minute) rather than τ I (minutes, or minutes per repeat). Reset Windup An inherent disadvantage of integral control action is a phenomenon known as reset windup or integral windup. Recall that the integral mode causes the controller output to change as long as e(t*) 0 in Eq. 8-8. 8

When a sustained error occurs, the integral term becomes quite large and the controller output eventually saturates. Further buildup of the integral term while the controller is saturated is referred to as reset windup or integral windup. Derivative Control The function of derivative control action is to anticipate the future behavior of the error signal by considering its rate of change. The anticipatory strategy used by the experienced operator can be incorporated in automatic controllers by making the controller output proportional to the rate of change of the error signal or the controlled variable. 9

Thus, for ideal derivative action, () pt = p+ () de t τ D (8-10) dt where, the derivative time, has units of time. τ D For example, an ideal PD controller has the transfer function: P ( s) ( ) E s ( s) = K 1+ τ (8-11) c By providing anticipatory control action, the derivative mode tends to stabilize the controlled process. Unfortunately, the ideal proportional-derivative control algorithm in Eq. 8-10 is physically unrealizable because it cannot be implemented exactly. D 10

For analog controllers, the transfer function in (8-11) can be approximated by ( ) ( ) P s τds = Kc 1 + (8-12) E s ατds+ 1 where the constant α typically has a value between 0.05 and 0.2, with 0.1 being a common choice. In Eq. 8-12 the derivative term includes a derivative mode filter (also called a derivative filter) that reduces the sensitivity of the control calculations to high-frequency noise in the measurement. 11

Proportional-Integral-Derivative (PID) Control Now we consider the combination of the proportional, integral, and derivative control modes as a PID controller. Many variations of PID control are used in practice. Next, we consider the three most common forms. Parallel Form of PID Control The parallel form of the PID control algorithm (without a derivative filter) is given by 1 t de t pt () = p+ Kc et () + et ( *) dt* + τ (8-13) τ 0 D I dt ( ) 12

The corresponding transfer function is: ( s) ( ) P 1 = Kc 1 + + τ Ds (8-14) E s τi s Series Form of PID Control Historically, it was convenient to construct early analog controllers (both electronic and pneumatic) so that a PI element and a PD element operated in series. Commercial versions of the series-form controller have a derivative filter that is applied to either the derivative term, as in Eq. 8-12, or to the PD term, as in Eq. 8-15: ( ) ( ) P s τis+ 1 τds+ 1 = Kc E s τis ατds+ 1 (8-15) 13

Expanded Form of PID Control In addition to the well-known series and parallel forms, the expanded form of PID control in Eq. 8-16 is sometimes used: t de t pt () = p+ Ket c () + KI et (*) dt* + K (8-16) 0 D dt Features of PID Controllers Elimination of Derivative and Proportional Kick One disadvantage of the previous PID controllers is that a sudden change in set point (and hence the error, e) will cause the derivative term momentarily to become very large and thus provide a derivative kick to the final control element. ( ) 14

This sudden change is undesirable and can be avoided by basing the derivative action on the measurement, y m, rather than on the error signal, e. We illustrate the elimination of derivative kick by considering the parallel form of PID control in Eq. 8-13. Replacing de/dt by dy m /dt gives ( t) 1 t dym pt () = p+ Kc et () + et ( *) dt* τ (8-17) τ 0 D I dt Reverse or Direct Action The controller gain can be made either negative or positive. 15

For proportional control, when K c > 0, the controller output p(t) increases as its input signal y m (t) decreases, as can be seen by combining Eqs. 8-2 and 8-1: ( ) = ( ) ( ) (8-22) pt p Kc ysp t ym t This controller is an example of a reverse-acting controller. When K c < 0, the controller is said to be direct acting because the controller output increases as the input increases. Equations 8-2 through 8-16 describe how controllers perform during the automatic mode of operation. However, in certain situations the plant operator may decide to override the automatic mode and adjust the controller output manually. 16

Figure 8.11 Reverse and direct-acting proportional controllers. (a) reverse acting (K c > 0. (b) direct acting (K c < 0) 17

Example: Flow Control Loop Assume FT is direct-acting. 1. Air-to-open (fail close) valve ==>? 2. Air-to-close (fail open) valve ==>? 18

Automatic and Manual Control Modes Automatic Mode Controller output, p(t), depends on e(t), controller constants, and type of controller used. ( PI vs. PID etc.) Manual Mode Controller output, p(t), is adjusted manually. Manual Mode is very useful when unusual conditions exist: plant start-up plant shut-down emergencies Percentage of controllers "on manual?? (30% in 2001, Honeywell survey) 19

Example: Liquid Level Control Control valves are air-to-open Level transmitters are direct acting Questions: 1. Type of controller action? 2. What type of fish? 20

On-Off Controllers Simple Cheap Used In residential heating and domestic refrigerators Limited use in process control due to continuous cycling of controlled variable excessive wear on control valve. 21

On-Off Controllers (continued) Synonyms: two-position or bang-bang controllers. Controller output has two possible values. 22

Practical case (dead band) 23

24

Proportional-Integral (PI) Control p(t) t 1 = p + K + c e(t) τ e(t )dt I 0 Response to unit step change in e: Figure 8.6. Response of proportional-integral controller to unit step change in e(t). 25

Integral action eliminates steady-state error (i.e., offset) Why??? e 0 p is changing with time until e = 0, where p reaches steady state. Transfer function for PI control P (s) E(s) = K c 1+ τ 1 s I y sp 26

Some controllers are calibrated in 1/τ I ("repeats per minute") instead of τ I. For PI controllers, p is not adjustable. Derivative Control Action Ideal derivative action de p(t) = p + τd dt Used to improve dynamic response of the controlled variable Derivative kick (use db/dt ) Use alone? 27

PID Controller Ideal controller Transfer function (ideal) t 1 p(t) = p + K + c e(t) e(t )dt + τ τi 0 P (s) E(s) = K c 1 1+ τis + τ Transfer function (actual) D P (s) E(s) s α = small number (0.05 to 0.20) = K c D τ Is + 1 τis de dt τ Ds + 1 ατds + 1 lead / lag units 28

Controller Comparison P - Simplest controller to tune (K c ). - Offset with sustained disturbance or setpoint change. PI - More complicated to tune (K c, τ I ). - Better performance than P - No offset - Most popular FB controller PID - Most complicated to tune (K c, τ I, τ D ). - Better performance than PI - No offset - Derivative action may be affected by noise 29

Typical Response of Feedback Control Systems Consider response of a controlled system after a sustained disturbance occurs (e.g., step change in the disturbance variable) y Figure 8.12. Typical process responses with feedback control. 30

y Figure 8.13. Proportional control: effect of controller gain. Figure 8.15. PID control: effect of derivative time. 31

y y Figure 8.14. PI control: (a) effect of reset time (b) effect of controller gain. 32

Position and Velocity Algorithms for Digital PID Control A straight forward way of deriving a digital version of the parallel form of the PID controller (Eq. 8-13) is to replace the integral and derivative terms by finite difference approximations, where: t e k t 0 de dt k et* dt e t (8-24) ( ) e k e t k j= 1 j 1 (8-25) = the sampling period (the time between successive measurements of the controlled variable) = error at the kth sampling instant for k = 1, 2, 33

There are two alternative forms of the digital PID control equation, the position form and the velocity form. Substituting (8-24) and (8-25) into (8-13), gives the position form, p p K e e e e k t τ D k = + c k + j + k k 1 τ1 j= 1 t ( ) (8-26) Where p k is the controller output at the kth sampling instant. The other symbols in Eq. 8-26 have the same meaning as in Eq. 8-13. Equation 8-26 is referred to as the position form of the PID control algorithm because the actual value of the controller output is calculated. 34

In the velocity form, the change in controller output is calculated. The velocity form can be derived by writing the position form of (8-26) for the (k-1) sampling instant: p p K e e e e k t τ D k = + c k + j + k k 1 τ1 j= 1 t ( ) (8-26) Note that the summation still begins at j = 1 because it is assumed that the process is at the desired steady state for j 0 and thus e j = 0 for j 0. Subtracting (8-27) from (8-26) gives the velocity form of the digital PID algorithm: t τ D pk = pk pk 1 = Kc ( ek ek 1) + ek + ( ek 2ek 1+ ek 2) τ I t (8-28) 35

The velocity form has three advantages over the position form: 1. It inherently contains anti-reset windup because the summation of errors is not explicitly calculated. 2. This output is expressed in a form, p k, that can be utilized directly by some final control elements, such as a control valve driven by a pulsed stepping motor. 3. For the velocity algorithm, transferring the controller from manual to automatic mode does not require any initialization of the output ( p in Eq. 8-26). However, the control valve (or other final control element) should be placed in the appropriate position prior to the transfer. 36