Modelling and Control of Dynamic Systems. PID Controllers. Sven Laur University of Tartu

Similar documents
Feedback Control of Linear SISO systems. Process Dynamics and Control

Modelling and Control of Dynamic Systems. Stability of Linear Systems. Sven Laur University of Tartu

Introduction to Digital Control. Week Date Lecture Title

PID control of FOPDT plants with dominant dead time based on the modulus optimum criterion

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

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.

Properties of Open-Loop Controllers

SRI VENKATESWARA COLLEGE OF ENGINEERING

Open Loop Tuning Rules

IVR: Introduction to Control (IV)

DIGITAL CONTROLLER DESIGN

Integral action in state feedback control

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

10/8/2015. Control Design. Pole-placement by state-space methods. Process to be controlled. State controller

EE 422G - Signals and Systems Laboratory

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

Introduction to control theory

Cascade Control of a Continuous Stirred Tank Reactor (CSTR)

Competences. The smart choice of Fluid Control Systems

CM 3310 Process Control, Spring Lecture 21


Fuzzy-PID Methods for Controlling Evaporator Superheat

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering 2.04A Systems and Controls Spring 2013

Digital Control Systems

Digital Control: Summary # 7

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

R. Lasri, 1 I. Rojas, 1 H. Pomares, 1 and O. Valenzuela Introduction

ECE 388 Automatic Control

Control Systems Lab - SC4070 Control techniques

Part II. Advanced PID Design Methods

Video 5.1 Vijay Kumar and Ani Hsieh

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

PID controllers. Laith Batarseh. PID controllers

ANTI-WIND-UP SOLUTION FOR A TWO DEGREES OF FREEDOM CONTROLLER

Control System Design

Introduction to. Process Control. Ahmet Palazoglu. Second Edition. Jose A. Romagnoli. CRC Press. Taylor & Francis Group. Taylor & Francis Group,

7.2 Controller tuning from specified characteristic polynomial

A Simple PID Control Design for Systems with Time Delay

Intermediate Process Control CHE576 Lecture Notes # 2

TIME DELAY TEMPERATURE CONTROL WITH IMC AND CLOSED-LOOP IDENTIFICATION

Digital Control Systems State Feedback Control

FINITE HORIZON ROBUST MODEL PREDICTIVE CONTROL USING LINEAR MATRIX INEQUALITIES. Danlei Chu, Tongwen Chen, Horacio J. Marquez

EEE 550 ADVANCED CONTROL SYSTEMS

Discrete-time models and control

Single-Input-Single-Output Systems

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

System Modeling: Motor position, θ The physical parameters for the dc motor are:

Optimized Integral Controller Searching Prime Number Orders

Controller Design Based on Transient Response Criteria. Chapter 12 1

Feedback Control of a Water Heater

TUNING-RULES FOR FRACTIONAL PID CONTROLLERS

Index. Index. More information. in this web service Cambridge University Press

Laboratory Exercise 1 DC servo

Application Note #3413

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) =

Control Systems I. Lecture 7: Feedback and the Root Locus method. Readings: Jacopo Tani. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

Answer: 1(A); 2(C); 3(A); 4(D); 5(B); 6(A); 7(C); 8(C); 9(A); 10(A); 11(A); 12(C); 13(C)

EE3CL4: Introduction to Linear Control Systems

Iterative Controller Tuning Using Bode s Integrals

Pole-Placement Design A Polynomial Approach

LABORATORY OF AUTOMATION SYSTEMS Analytical design of digital controllers

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

Improving the Performance of PID Controller using Fractional Elements for Heating Furnace

1 Trajectory Generation

Survey of Methods of Combining Velocity Profiles with Position control

Introduction to System Identification and Adaptive Control

Tuning PI controllers in non-linear uncertain closed-loop systems with interval analysis

An improved auto-tuning scheme for PI controllers

Solution for Mechanical Measurement & Control

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

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

Lab 3: Model based Position Control of a Cart

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

Tuning Method of PI Controller with Desired Damping Coefficient for a First-order Lag Plus Deadtime System

Ian G. Horn, Jeffery R. Arulandu, Christopher J. Gombas, Jeremy G. VanAntwerp, and Richard D. Braatz*

Quadrotor Modeling and Control for DLO Transportation

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

1 Chapter 9: Design via Root Locus

In-Process Control in Thermal Rapid Prototyping

EEL2216 Control Theory CT1: PID Controller Design

CHAPTER 3 QUARTER AIRCRAFT MODELING

for the Heating and Cooling Coil in Buildings

Improving a Heart Rate Controller for a Cardiac Pacemaker. Connor Morrow

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

EEE 184 Project: Option 1

Lecture 10: Proportional, Integral and Derivative Actions

Discrete-time Controllers

Design and Implementation of PI and PIFL Controllers for Continuous Stirred Tank Reactor System

Chapter 6 - Solved Problems

Practical work: Active control of vibrations of a ski mock-up with a piezoelectric actuator

Comparative study of three practical IMC algorithms with inner controller of first and second order

Robust Model Predictive Control

Oscillators. Figure 1: Functional diagram of an oscillator.

Performance of Feedback Control Systems

Tuning Rules for Proportional Resonant Controllers

QFT Framework for Robust Tuning of Power System Stabilizers

Simulation based Modeling and Implementation of Adaptive Control Technique for Non Linear Process Tank

Determining Controller Constants to Satisfy Performance Specifications

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

9.1 Harmonic Motion. Motion in cycles. linear motion - motion that goes from one place to another without repeating.

Transcription:

Modelling and Control of Dynamic Systems PID Controllers Sven Laur University of Tartu

Basic structure of a PID controller r[k] + e[k] P I D + u[k] System ĝ[z] y[k] -1 PID controllers are unity feedback controllers with three components: a proportional term P with an output u p [k] = K p e[k]; k an integral term I with an output u i [k] = K i e k ; a derivative term D with an output u d [k] = K d (e[k] e[k 1]). i=1 1

PID controller is a linear controller Note that all parts of the PID controllers are linear systems The transfer function of the proportional part is g 1 [z] = K p. The transfer function of the integral part is g 2 [z] = K i z 1 The transfer function of the differential part is g 3 [z] = K d(1 z) z As a result, we can represent PID controller in an RST form r[k] T(z) + 1 R(z) u[k] System ĝ[z] y[k] -1 S(z) 2

Gentle Introduction

The basic assumption In the following, we assume that the dependency between the control signal and the output signal is monotone throughout the entire operating regime. Let X op R n be the set of plausible states for the system. Let U op R be the set of plausible inputs for the system. Let y i [k + 1] denote the output corresponding to x[k] and u i [k] A system has a monotone response if for any x[k] X op, u 1, u 2 U op u 1 [k] u 2 [k] = y 1 [k + 1] y 2 [k + 1]. If the output is differentiable then the condition can be rewritten as y(k + 1, x, u) u 0 for x X op, u U op. 3

Proportional controllers If the system has monotone response then the error signal e[k] = r[k] y[k] indicates in which direction the input signal should be changed. If e[k] > 0 then we should increase the control signal. If e[k] < 0 then we should decrease the control signal. Example The original zero-input response ĝ[z] = 1 z 1.1 K p is too small to stabilize K p creates a constant bias K p is too big 4

Drawbacks of proportional controllers Proportional controller has too few degrees of freedom in the design. Too large gain K p creates oscillations Too small gain K p slows down the response and introduces bias. 0.0 0.5 1.0 1.5 2.0 K p = 1 K p = 1.8 0 50 100 150 We need an additional term that would eliminate constant bias. 5

Integral correction term For obvious reasons, the output of an integral term I = e[1] + + e[k] is initially small and then continuously increases if the bias is not eliminated. Secondly, note that the integral term I cannot go to zero unless the error signal changes a sign overshoot becomes unavoidable. 0.0 0.5 1.0 1.5 2.0 K p = 1 K i = 0.3 K p = 1.8 K i = 0.3 0 50 100 150 As a result, the time needed to stabilise the output increases. 6

Anatomy of a PI response Proportional and integral components 2.0 1.0 0.0 0.5 0 20 40 60 80 1.5 1.0 0.5 0.0 0.5 Control signal K p = 1.0 K i = 0.3 0 20 40 60 80 7

Differential correction term An integral correction term creates the necessary change in the control signal to removes the bias but it cannot detect changes in the error term. 0.0 0.2 0.4 0.6 0.8 1.0 P = 0.6 I = 14.9 0.0 0.2 0.4 0.6 0.8 1.0 P = 0.6 I = 14.9 0 5 10 15 20 0 5 10 15 20 As a result, an introduction to differential term can significantly improve the behaviour of the controller and reduce the stabilisation time. 8

The effect of differential correction Sudden changes activate the differential correction term. If a PI controller already overshoots then setting K d > 0 only increases the overshoot. K p = 1.0, K i = 0.3, K d = 0.4 K p = 1.8, K i = 0.3, K d = 0.05 0.0 0.5 1.0 1.5 2.0 0 50 100 150 0.0 0.5 1.0 1.5 2.0 0 50 100 150 0.0 0.5 1.0 1.5 2.0 K p = 0.3, K i = 0.3, K d = 0.4 K p = 0.9, K i = 0.3, K d = 0.2 0.0 0.5 1.0 1.5 2.0 0 50 100 150 0 50 100 150 A positive differential correction works if a slow rising speed winds up the integral part and thus it must be discharged through oscillations. 9

Anatomy of an optimal PID response 0.0 0.5 1.0 1.5 The differential term must dominate Uncharging of the integral term 0 20 40 60 80 100 120 The relation between coefficients K p and K i determines the controllers behaviour when the output is near the reference signal. They must be chosen so that the integral part is quickly discharged. The size of coefficients K p and K d determine the initial rise speed. They must be chosen so that the integral term does not grow too big. 10

Methods for Parameter Tuning

Ziegler-Nichols closed-loop method 1. Set gains K i = 0 and K d = 0. 2. Gradually increase K p until the system starts to continuously oscillate. 3. Let K p be the corresponding gain and T the corresponding period. 4. Start fine-tuning with the initial parameters from the following table Controller Type K p K i K d P controller K p 2 PI controller K p 2.2 T 1.2 PID controller K p 1.7 T 2 T 8 11

Other tuning methods There are many other tuning methods for PID parameters. Cohen-Coon method for processes with high inertia Chien-Hrones-Reswick open-loop method. Ziegler-Nichols open-loop method. A PID controller can be used as a starting point in further research. 1. Stabilise the system with an initial PID controller. 2. Find a linear model that provides the fit to the experimental data. 3. Compute the corresponding transfer function. 4. Design the corresponding linear controller. 5. If one is not satisfied then she can build a non-linear model and controller. 12