EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise,

Slides:



Advertisements
Similar presentations
Model-based PID tuning methods Two degree of freedom controllers
Advertisements

13. Controller Tuning and Troubleshooting
Tuning PID Controller Institute of Industrial Control,
10.1 Introduction Chapter 10 PID Controls
ERT 210 Process Control & dynamics
CHE 185 – PROCESS CONTROL AND DYNAMICS
PID Controllers and PID tuning
INDUSTRIAL AUTOMATION (Getting Started week -1). Contents PID Controller. Implementation of PID Controller. Response under actuator Saturation. PID with.
Discrete Controller Design
Dynamic Behavior of Closed-Loop Control Systems
Chapter 10 Stability Analysis and Controller Tuning
Chapter 4: Basic Properties of Feedback
دکتر حسين بلندي- دکتر سید مجید اسما عیل زاده
LECTURE#10 PID CONTROLLER
The Proportional-Integral-Derivative Controller
CHE 185 – PROCESS CONTROL AND DYNAMICS
CHE 185 – PROCESS CONTROL AND DYNAMICS
Feedback Controllers Chapter 8
Process Control Instrumentation II
Feedback Controllers Chapter 8.
LECTURE#11 PID CONTROL AUTOMATION & ROBOTICS
Chapter 7 PID Control.
Proportional/Integral/Derivative Control
Lecture 5: PID Control.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Book Adaptive control -astrom and witten mark
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.
PID Controller Design and
Low Level Control. Control System Components The main components of a control system are The plant, or the process that is being controlled The controller,
Feedback Controllers Chapter 7.
Feedback Control system
PID CONTROLLERS By Harshal Inamdar.
CSCI1600: Embedded and Real Time Software Lecture 12: Modeling V: Control Systems and Feedback Steven Reiss, Fall 2015.
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
Features of PID Controllers
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
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.
1 PID Feedback Controllers PID 反馈控制器 Dai Lian-kui Shen Guo-jiang Institute of Industrial Control, Zhejiang University.
ABE425 Engineering Measurement Systems ABE425 Engineering Measurement Systems PID Control Dr. Tony E. Grift Dept. of Agricultural & Biological Engineering.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
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.
Author: Nurul Azyyati Sabri
PID Control for Embedded Systems
Salman Bin Abdulaziz University
Feedback Controllers Chapter 8
Presentation at NI Day April 2010 Lillestrøm, Norway
PID Controllers Jordan smallwood.
Feedback Control System
Lec 14. PID Controller Design
Electronic Control Systems Week 5 – Closed Loop Control
Basic Design of PID Controller
Tuning of PID controllers
University of Virginia
Electronic Control Systems Week 7 – PID Control
Process Control Engineering
Course PEF3006 Process Control Fall 2018 PID Control
Features of PID Controllers
بسم الله الرحمن الرحيم PID Controllers
Dynamical Systems Basics
Feedback Controllers Chapter 8
PID Controller Design and
Electronic Control Systems Week 7 – Closed Loop Control
Course PEF3006 Process Control Fall 2017 PID Control
A Tutorial Overview Proportional Integral Derivative.
Presentation transcript:

EEN-E1040 Measurement and Control of Energy Systems Control I: Control, processes, PID controllers and PID tuning Nov 3rd 2016 If not marked otherwise, graphs and formulas in the presentation are from Åström & Hägglund: PID Controllers - Theory, Design, and Tuning (2nd Edition)

What is control? Intentional modification of a system’s state via external means Used for bringing a system (close) to a state the user desires Applied to various quantities (temperature, flow, lighting etc.) Can be manual or automatic, discrete (ON/OFF) or continuous (proportional)

Example: manual ON/OFF control ACME Electric Heater

Example: automated ON/OFF control with a setpoint ACME Electric Heater MK2 20.0 set 5.0 Indoor temperature … 30.0 … 15.0 28.7 …

Example: automated PID (proportional integral-derivative) control with a setpoint ACME Electric Heater MK3 PID 20.0 set 5.0 Indoor temperature … 23.0 … 19.0 20.0 …

Process models Let’s go back to the electric heater example and present it in the form of a diagram: Measured temperature (process variable) y Control variable u Setpoint ysp Σ -1 Error e Heating element (process) Controller

Process characterization Static response: if control variable u is fed to a process, what will be the value of the process variable y?

Process characterization Dynamic response: if control variable u is fed to a process, how will the value of the process variable y behave over time?

Process characterization Dead time, time constant, Important aspects for control: instability, nonlinearity

Proportional control Let’s consider our model process from before: Σ Heating element (process) Controller Setpoint ysp Measured temperature (process variable) y Control variable u Σ -1 Error e

Proportional control ON/OFF control  value of u same regardless of magnitude of e Instability and oscillations Proportional control: magnitudes of u and e linked Overreaction to minor errors removed

Proportional control Controllers with only proportional action have a steady-state error For derivation, see Åström’s book, pp. 62-64 To get rid of the error, we need something else…

PID controller - Background (P)roportional-(I)ntegral-(D)erivative By far the most common control algorithm (over 90% of all industrial control loops) When properly tuned, provides accurate control for a wide variety of processes

PID controller – Formulation Let’s consider the controller output u as a function of e – the difference between the setpoint and the measured value: P I D

PID controller – Proportional action With only proportional action, PID controller equation is reduced to ub is controller bias/reset, often zero but can also be something else

PID controller – Static example of proportional action Σ Load disturbance l Process output Measurement noise n Σ x Process Controller ysp Measured temperature (process variable) y u Σ -1 e

PID controller – Static example of proportional action From the relations obtained from the block diagram, we get K = controller gain, Kp = process gain, KKp = loop gain In a system with no measurement noise and zero controller bias, x = y (process variable)  high loop gain results in low steady-state error and resistance to load disturbances Why not always set controller gain to a very high value? In reality noise is always there and a high loop gain amplifies its effect Deciding on an optimal loop gain is not easy, and it is always a tradeoff between different objectives for the control

PID controller – Dynamic processes Almost every real process is dynamic Time-dependent process gain and load disturbance Setting loop gain too high leads to instability How to solve steady-state error?

PID controller – Integral action Always removes the steady-state error of the control Steady state: constant error  As long as error is nonzero, u will vary over time Large Ti  slow convergence but less oscillation

PID controller – Derivative action Dynamic closed loop systems often unstable due to dead time (process reacts to control too slowly) To avoid this, prediction of future error needed Consider a PD controller: First order Taylor series expansion for the error: Thus, control signal ~ linear approximation of error after time Td

PID controller – Derivative action

PID controller – When to use PI and PID Derivative control quite often left out PI sufficient for first order processes (ones that stabilize when control parameter is kept constant) PID used for second order processes that involve oscillations and/or instability Also useful for first order processes with dead time

PID controller – Caveats and limitations Integrator windup Occurs when control variable saturates due to actuator bounds For example control valves can never be more than fully open Typically happens with large sudden variations of setpoint Can be avoided with modified control algorithm or limitations in setpoint variation Higher order processes Typically complicated processes with an order larger than 2 require more than PID for accurate control Processes with large dead time Error in the linear approximation via the D term gets large if the prediction needs to be made far into the future Sophisticated predictive controllers better than PID in these cases

PID tuning – Process reaction curve Open loop method Controller set in manual mode Requires process to be stable How to do: Start logging the process variable Introduce a step change to the control variable Wait until the system reaches a new steady state Plot the logged data and analyse it to find the controller parameters

PID tuning – Process reaction curve Graph and formulas taken from http://www.chem.mtu.edu/~tbco/cm416/cctune.html

PID tuning – Ziegler-Nichols closed loop method Controller active during tuning How to do: Start logging the process variable Remove integral and derivative action from the controller Set the control gain to a constant value Modify the setpoint slightly Observe oscillations in the process variable If dampening, increase gain If amplifying, decrease gain Repeat step 5 until stable oscillations are found Record the gain value and the period of the stable oscillations

PID tuning – Ziegler-Nichols closed loop method Graph and formulas taken from https://controls.engin.umich.edu/wiki/index.php/PIDTuningClassical

PID tuning – Fine-tuning of a system Effects of PID parameters when increasing them: Rise Time Overshoot Settling time Steady-state error Stability K Decrease Increase Very small effect Degrade tI Eliminate tD No effect Improve if tD small

Thank you!