Lecture 5: PID Control.

Slides:



Advertisements
Similar presentations
Dynamic Behavior of Closed-Loop Control Systems
Advertisements

ERT 210 Process Control & dynamics
Dynamic Behavior of Closed-Loop Control Systems
Design with Root Locus Lecture 9.
Chapter 4: Basic Properties of Feedback
CHAPTER V CONTROL SYSTEMS
3442 Industrial Instruments 2 Chapter 9 Controller Principles
LECTURE#10 PID CONTROLLER
CHE 185 – PROCESS CONTROL AND DYNAMICS
CHE 185 – PROCESS CONTROL AND DYNAMICS
Feedback Controllers Chapter 8
Dynamic Behavior and Stability of Closed-Loop Control Systems
Process Control Instrumentation II
Process Control Instrumentation II
Feedback Controllers Chapter 8.
Control System Instrumentation
LECTURE#11 PID CONTROL AUTOMATION & ROBOTICS
Chapter 8. The PID Controller Copyright © Thomas Marlin 2013
Chapter 7 PID Control.
PID Control and Root Locus Method
PID Feedback Controllers PID 反馈控制器
Proportional/Integral/Derivative Control
Hairul Nazirah bt Abdul Halim
Cascade and Ratio Control
DYNAMIC BEHAVIOR AND STABILITY OF CLOSED-LOOP CONTROL SYSTEMS
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Feedback Control.
Controller Design (to determine controller settings for P, PI or PID controllers) Based on Transient Response Criteria Chapter 12.
What is Control System? To answer this question, we first have to understand what a system is Simon Hui Engineer Control and Informatics, Industrial Centre.
Feedback Controllers Chapter 7.
Feedback Control system
University of Virginia PID Controllers Jack Stankovic University of Virginia Spring 2015.
PID CONTROLLERS By Harshal Inamdar.
CSCI1600: Embedded and Real Time Software Lecture 12: Modeling V: Control Systems and Feedback Steven Reiss, Fall 2015.
Topic 4 Controller Actions And Tuning. In The Last Lecture…  Controller Actions  Proportional Control  Problems of Proportional-Only Control.
ERT 210/4 Process Control Hairul Nazirah bt Abdul Halim Office: CHAPTER 8 Feedback.
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.
Miss Hairul Nazirah bt Abdul Halim
Lec 11. Common Controllers Some commonly used controllers –Proportional Controller –Integration Controller –Derivative Controller Reading: 5-8. TexPoint.
Frequency Response Analysis and Stability
Features of PID Controllers
Topic 4 Controller Actions And Tuning. Chemical Processes Self-regulating Process Dynamics SS Gain, Kp Deadtime, θ Lag, τ Integrating Process Dynamics.
PID Feedback Controllers Lei XIE Department of Control, Zhejiang University, Hangzhou, China 2013/3/20.
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.
Feedback Controllers Chapter 8
System Time Response Characteristics
Control Loops Tune a Fish. Control Loops Tuning of a control loop involves selecting loop parameters to ensure stable control under all operating conditions.
Lecture 9: PID Controller.
Advanced control strategies. CONTROL SYSTEMS The process parameters which are measured using probes described in the previous sections may be controlled.
SKEE 3143 Control Systems Design Chapter 2 – PID Controllers Design
1 PID Feedback Controllers PID 反馈控制器 Dai Lian-kui Shen Guo-jiang Institute of Industrial Control, Zhejiang University.
Exercise 1 Suppose we have a simple mass, spring, and damper problem. Find The modeling equation of this system (F input, x output). The transfer function.
Process Control. Feedback control y sp = set point (target value) y = measured value The process information (y) is fed back to the controller The objective.
6: Processor-based Control Systems CET360 Microprocessor Engineering J. Sumey.
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
Automatic control systems I. Nonlinearities in Control System
Process Control & Instrumentation MAPUA INSTITUTE OF TECHNOLOGY
CHAPTER V CONTROL SYSTEMS
Controllers and Positioners
Chapter 7 The Root Locus Method The root-locus method is a powerful tool for designing and analyzing feedback control systems The Root Locus Concept The.
Introduction to PID control
Electronic Control Systems Week 5 – Closed Loop Control
Dynamic Behavior and Stability of Closed-Loop Control Systems
6: Processor-based Control Systems
Chapter 9 Design via Root Locus <<<4.1>>>
Control System Instrumentation
Features of PID Controllers
Feedback Controllers Chapter 8
Electronic Control Systems Week 7 – Closed Loop Control
Presentation transcript:

Lecture 5: PID Control

Objective Identify the features of proportional, integral, and derivative control actions.

PID CONTROLLER Developed in the 1930-40’s, remains workhorse in practice Not “optimal”, based on good properties of each mode Programmed in digital control equipment ONE controlled variable (CV) and ONE manipulated variable (MV). Many PID’s used in a plant. v1 TC v2

A note about the units Consider the following control loop. The controller variable y(t) may have different units depending on the process which may be temperature, pressure or level. Similarly, the control signal u(t) may have the units of mA or psi depending on the type of actuator. There is a need for unification of units regardless of the nature of the actual system. .

The Units Let us assume that the value of: the control signal u(t) lie in the range from umin to umax and the output signal y(t) has a value in the range from ymin to ymax

“% of Span” Notation Then we can express the control signal as a percentage of its span as Similarly, we can express the error as a percentage of the controlled variable span as By this way, all variables will be expressed in % regardless of their actual units.

Example A standard control signal assumes a value in the range of 4-20 mA. Find the % of span value corresponding to the following actual control signal values: 4mA 0% 12mA 50% 16mA 75% 20mA 100%

Proportional Control The controller output is proportional to the error e(t) p(t): control signal (expressed in %) ep(t): error signal (expressed in %) Kc: controller gain p0: controller bias signal (the controller output when the error is zero)

Example 1 Consider the following closed-loop system: What is the steady state error for set point r = 1 and r = 2?

Answer Case 1: r = 1 At steady state we can replace the plant with its steady state gain value of 1. Hence, we can write

Case 2: r = 2 At steady state we can replace the gain with its steady state value of 1. Hence, we can write From this example, we can conclude that systems with proportional control only have in general a steady-state error or offset.

Example 2 Consider a closed-loop system with a plant and proportional control, K = 1, 2, 10. Simulate open loop and closed loop responses

G = tf([1],[1 2 1]); Gc = 1; Gcl = Gc. G/(1+Gc G = tf([1],[1 2 1]); Gc = 1; Gcl = Gc*G/(1+Gc*G); step(G) hold on step(Gcl) Gc = 2; Gc = 10;

ss

Features of Proportional Control The controller gain, Kc, determines the controller “sensitivity” – how much compensation to enact for a given change in error. The larger Kc is, the faster the response. (Speed) However, if Kc is too large, the controller will overreact, leading to oscillatory response. In the worst case, the system may become unstable. (Stability) System with only P-control has a steady-state error. (Offset) There are physical limits to a control mechanism. At these limits, the control system is saturated.

The Proportional Band The transfer function of a proportional controller is simply Generally, the proportional gain is dimensionless (p(t) and ep(t) are usually expressed in % of span). In practice the term proportional band (PB) is used. PB is the range over which the error (or the controlled variable) must change to drive the controller output over its full range (i.e. to move the output of the controller from its lowest to its highest value and is defined as A high proportional gain is equivalent to a narrow PB and a low gain is wide PB.

The Proportional Band Take, for example, a level controller on a tank where we measure the level from bottom to top as 0 to 100% and the set point of the controller is at 40%. We have a control valve on the inlet of the tank whose job is to maintain the level in the tank. The PB is defined as the range of level over which the control valve will go from fully closed to fully open. Suppose we decide that if the tank level should fall to 20% we want the control valve fully open (100% open). Additionally, if the tank level rises to 60% full, we want the control valve to be fully closed (0% open). If the tank level is between 20% and 60% we want the control valve to be open "in proportion" the level. So if the tank level were to rise to 40% (half way up the PB), the control valve should be set to 50% open. This controller would have a PB of 40% (60% - 20%).

The Proportional Band The figure shows that a 100% PB means that as the controlled variable varies by 100% of its range, the controller output varies by 100% of its range. A 50% PB means that as the controlled variable varies by 50% of its range, the controller output varies by 100% of its range. Also note that a proportional only controller with a 200% PB will not move its output the entire range. A 200% PB means a very small controller gain or very little sensitivity to errors.

Direct & reverse action Direct action: if the process o/p rises, controller o/p also rises. Reverse action: if the process o/p rises, controller o/p decreases.

Proportional–Integral Control To eliminate offset, we can introduce integral action into the controller. The integral action accumulates the error from t = 0 to the present. Where τI is the integral time constant (reset time, or minutes per repeat). Roughly, the reset time is the time that it takes the controller to repeat the proportional action. This is easy to see if we take the error to be a constant in the integral.

Proportional–Integral Control The integral depends on the history of the error and it is not necessarily zero even if the current error is zero. This mode can be called “The persistent mode”. Note that the value of the integral will not decrease unless the integrand ep(t) changes its sign. As a result, integral action leads to oscillatory behavior (underdamped response) which may have a short rise time, but is penalized by excessive overshoot or exceedingly long settling time. If there is too much integral action, the system may become unstable. Because of this issue we usually lower the proportional gain (or detune the controller) when we add integral control.

Proportional–Derivative Control Derivative control action is based on how fast the error is changing with time (rate action control). where is the derivative time constant (sometimes just rate time). The derivative action is called “The predictive mode”.

Proportional–Derivative Control In practice, we cannot build a pneumatic device or a passive circuit that provides ideal derivative action. Hence, commercial (real!) PD controllers are designed on the basis of a lead–lag element: where α is a small number, typically 0.05 ≤ α ≤ 0.2.

Features of Derivative Control PD control is not useful for systems with noisy signals. The sign of the rate of change in the error could be opposite that of the proportional or the integral terms. Thus adding derivative action to PI control may counteract the overcompensation of the integrating action and hence may improve system response while reducing oscillations and overshoot. The additional stabilizing action allows us to use a larger proportional gain and obtain a faster system response. What is the effect of derivative control on steady state performance (steady state error)?

The Derivative Kick What would be the behavior of the manipulated variable when we enter a step change to the set point? At the time of the step change, the error changes rapidly causing the derivative action to give very high output. This is called the derivative kick How can we eliminate the derivative kick? This can be done by taking the derivative of the controlled variable, instead of the error, in the feedback loop.

PID Control Finally, we can put all the components together to make a PID (or three-mode) controller. The time-domain equation and the transfer function of an “ideal” PID controller are

PID Controller Implementations In real life, different manufacturers implement the “real” PID controller slightly differently. One possibility is to modify the derivative action as Another implementation is to introduce the derivative control in series with PI control (This configuration is also referred to as interacting or series PID):