Systems Engineering/Process control L9

Similar documents
Closed-loop System, PID Controller

MM7 Practical Issues Using PID Controllers

Linear Control Systems Lectures #5 - PID Controller. Guillaume Drion Academic year

Different Controller Terms

Find, read or write documentation which describes work of the control loop: Process Control Philosophy. Where the next information can be found:

Välkomna till TSRT15 Reglerteknik Föreläsning 8

CDS 101/110: Lecture 8.2 PID Control

2.1 PID controller enhancements

Chapter Ten. PID Control Basic Control Functions

Loop Design. Chapter Introduction

PID-control and open-loop control

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

The PID controller. Summary. Introduction to Control Systems

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

-binary sensors and actuators (such as an on/off controller) are generally more reliable and less expensive

Automatic Controller Dynamic Specification (Summary of Version 1.0, 11/93)

Lecture 10. Lab next week: Agenda: Control design fundamentals. Proportional Control Proportional-Integral Control

Lab 11. Speed Control of a D.C. motor. Motor Characterization

2.7.3 Measurement noise. Signal variance

PID Design with Adjustable Control Signal Noise Reduction

Module 08 Controller Designs: Compensators and PIDs

Modified ultimate cycle method relay auto-tuning

Lecture 5 Introduction to control

PID Tuner (ver. 1.0)

An Introduction to Proportional- Integral-Derivative (PID) Controllers

Laboratory PID Tuning Based On Frequency Response Analysis. 2. be able to evaluate system performance for empirical tuning method;

Anti Windup Implementation on Different PID Structures

The Discussion of this exercise covers the following points: Angular position control block diagram and fundamentals. Power amplifier 0.

Relay Feedback based PID Controller for Nonlinear Process

Hacettepe University, Ankara, Turkey. 2 Chemical Engineering Department,

6.270 Lecture. Control Systems

Sensors and Sensing Motors, Encoders and Motor Control

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

7. PID Controllers. KEH Process Dynamics and Control 7 1. Process Control Laboratory

AVR221: Discrete PID Controller on tinyavr and megaavr devices. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

PI Tuning via Extremum Seeking Methods for Cruise Control

Getting the Best Performance from Challenging Control Loops

THE general rules of the sampling period selection in

Basic Tuning for the SERVOSTAR 400/600

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Temperature Control in HVAC Application using PID and Self-Tuning Adaptive Controller

Part II. PID controller tuning using the multiple integration method

TUNING OF PID CONTROLLER USING PSO AND ITS PERFORMANCES ON ELECTRO-HYDRAULIC SERVO SYSTEM

New PID Tuning Rule Using ITAE Criteria

Various Controller Design and Tuning Methods for a First Order Plus Dead Time Process

Understanding PID design through interactive tools

6545(Print), ISSN (Online) Volume 4, Issue 1, January- February (2013), IAEME & TECHNOLOGY (IJEET)

Brushless excitation of synchronous generators: study of models and control optimization

TODO add: PID material from Pont slides Some inverted pendulum videos Model-based control and other more sophisticated

A Fast PID Tuning Algorithm for Feed Drive Servo Loop

Abstract. I. Introduction

MODEL BASED CONTROL FOR INTERACTING AND NON-INTERACTING LEVEL PROCESS USING LABVIEW

Chapter 2 Non-parametric Tuning of PID Controllers

Rotary Motion Servo Plant: SRV02. Rotary Experiment #02: Position Control. SRV02 Position Control using QuaRC. Student Manual

Class 5. Competency Exam Round 1. The Process Designer s Process. Process Control Preliminaries. On/Off Control The Simplest Controller

PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SCIENCE AND ENGINEERING

F. Greg Shinskey. "PID Control." Copyright 2000 CRC Press LLC. <

BINARY DISTILLATION COLUMN CONTROL TECHNIQUES: A COMPARATIVE STUDY

Modified Relay Feedback Approach for Controller Tuning Based on Assessment of Gain and Phase Margins

ANTI-WINDUP SCHEME FOR PRACTICAL CONTROL OF POSITIONING SYSTEMS

Relay Feedback Tuning of Robust PID Controllers With Iso-Damping Property

MEM01: DC-Motor Servomechanism

Design of Model Based PID Controller Tuning for Pressure Process

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

Chapter 4 PID Design Example

CHAPTER 4 AN EFFICIENT ANFIS BASED SELF TUNING OF PI CONTROLLER FOR CURRENT HARMONIC MITIGATION

Closed Loop Control System. Controllers. Analog Controller. Prof. Dr. M. Zahurul Haq

Experiment 9. PID Controller

Online Tuning of Two Conical Tank Interacting Level Process

Simulation and Analysis of Cascaded PID Controller Design for Boiler Pressure Control System

Auto-tuning of PID Controller for the Cases Given by Forbes Marshall

Discretised PID Controllers. Part of a set of study notes on Digital Control by M. Tham

Non Linear Tank Level Control using LabVIEW Jagatis Kumaar B 1 Vinoth K 2 Vivek Vijayan C 3 P Aravind 4

PROCESS DYNAMICS AND CONTROL

*Engineering and Industrial Services, TATA Consultancy Services Limited **Professor Emeritus, IIT Bombay

CHASSIS DYNAMOMETER TORQUE CONTROL SYSTEM DESIGN BY DIRECT INVERSE COMPENSATION. C.Matthews, P.Dickinson, A.T.Shenton

Controller Algorithms and Tuning

DYNAMICS and CONTROL

LAMBDA TUNING TECHNIQUE BASED CONTROLLER DESIGN FOR AN INDUSTRIAL BLENDING PROCESS

Closed-Loop Speed Control, Proportional-Plus-Integral-Plus-Derivative Mode

Feedback Systems in HVAC ASHRAE Distinguished Lecture Series Jim Coogan Siemens Building Technologies

Fundamentals of Servo Motion Control

PROCESS DYNAMICS AND CONTROL

Comparative Analysis of Controller Tuning Techniques for Dead Time Processes

Automatic Control Motion control Advanced control techniques

Scalar control synthesis 1

Integrator windup and PID controller design

Testing and implementation of a backlash detection algorithm

Design of Fractional Order PID Controller for SMIB Power System with UPFC Tuned by Multi-Objectives Genetic Algorithm. Abstract:

The Matching Coefficients PID Controller

Analogue temperature controllers

A simple method of tuning PID controller for Integrating First Order Plus time Delay Process

CONTROL DESIGN FOR AN IRRIGATION CHANNEL FROM PHYSICAL DATA

Course Outline. Time vs. Freq. Domain Analysis. Frequency Response. Amme 3500 : System Dynamics & Control. Design via Frequency Response

TUTORIAL 9 OPEN AND CLOSED LOOP LINKS. On completion of this tutorial, you should be able to do the following.

Chapter 5 Frequency-domain design

PID control. since Similarly, modern industrial

PROBLEMS, REMEDIES, AND FUTURE DIRECTIONS. By YUN LI, KIAM HEONG ANG, and GREGORY C.Y. CHONG

Classical Control Design Guidelines & Tools (L10.2) Transfer Functions

Transcription:

1 / 31 Systems Engineering/Process control L9 The PID controller The algorithm Frequency analysis Practical modifications Tuning methods Reading: Systems Engineering and Process Control: 9.1 9.6

2 / 31 The PID controller Based on a survey of over eleven thousand controllers in the refining, chemicals and pulp and paper industries, 97% of regulatory controllers utilize PID feedback. [Desborough and Miller, 22] School-book form : t u(t)=k (e(t)+ 1Ti ) de(t) e(τ)dτ+t d dt Transfer function: G c (s)=k ( 1+ 1 ) +st d st i

3 / 31 The P part P controller: u=k(r y)+u =Ke+u u u max u u min e e e Proportionalband u can be chosen to eliminate stationary error at setpoint

4 / 31 Example: P control ofg p (s)=(s+1) 3 Output 1 K=5 K=1 K=2 1 2 6 4 K=5 Input 2 K=2 K=1 2 1 2 Time

5 / 31 The I part Introduce automatic/online/dynamic selection ofu : u 1 1+sT i Ke u 1 U(s)=KE(s)+ U(s) 1+sT i ( U(s)=K 1+ 1 ) E(s) st i Assume stationarity: How doesuandu relate? What ise?

6 / 31 Example: PI control ofg p (s)=(s+1) 3 (K=1) Output 1 T i =2 T i=1 T i = T i =5 1 2 Input 2 T i =1 T i =2 T i =5 T i = 1 2 Time

7 / 31 The D part A P controller gives the same control in both these cases: Control error e e p e p Predicted error: PD controller: t t+t d Time e p (t+t d ) e(t)+t d de(t) dt u(t)=k ( ) de(t) e(t)+t d dt

8 / 31 Example: PD control ofg p (s)=(s+1) 3 (K=5) Output 1 T d =.1 T d =.5 T d =2 1 2 Input 6 4 2 2 T d =.1 T d =.5 T d =2 1 2 Time

9 / 31 Parallel and serial form PID controller on standard form (parallel form): G c (s)=k+ K st i +skt d K e K T i s Σ u KT d s PID controller on serial form (common in industry): G c(s)=k ( 1+ 1 st i) (1+sT d ) e K 1+ 1 T i s 1+T d s u

1 / 31 Parallel and serial form Transformation parallel form serial form: ( K=K T i +T d T i K = K 2 1+ ( T i =T i +T d T i = T i 2 1+ T d = T i T d T i +T d T d = T i 2 1 4T d T i ) 1 4T d T i ) ( ) 1 1 4T d T i Identical parameters for PI and PD controller Parallel serial only possible ift i 4T d Parallel form more general

11 / 31 Frequency analysis of PID controller Frequency function for PID controller on serial form: G c K (iω)= iωt (1+iωT i )(1+iωT d ) i For low frequencies (small ω ): G c(iω) K ωt i argg c(iω) 9 Zero ats= 1/T i bends amplitude curve up and increases phase with9 around ω=1/t i The same holds for the zero ats= 1/T d

12 / 31 Frequency analysis of PID controller 1 1 Gain 1 K 1/T i 1/T d 1-2 1-1 1 1 1 1 5 Phase -5-1 1-2 1-1 1 1 1 Frequency [rad/s]

Repetition: Amplitude and phase margin 1 1 Förstärkning 1 1/A m 1-1 ω c 1-2 1-1 1-5 -1 Fas -15 ϕ m -2 ω o -25 1-1 1 Frekvens [rad/s] 13 / 31

14 / 31 Frequency analysis of PID controller The P part: Affects gain at all frequencies Higher gain faster system but worse margins The I part: Increases gain and reduces phase for low frequencies Eliminates low frequency (constant) control errors but gives worse phase margin The D part: Increases gain and phase at high frequencies Gives better phase margin (to a limit) but amplifies noise

15 / 31 Practical modifications of PID controllers School-book form: Modifications: e(t)=r(t) y(t) u(t)=ke(t) + K t de(t) e(τ)dτ+kt }{{} d T i P(t) }{{}}{{ dt } I(t) D(t) The P part: reference weighting The I part: anti-windup The D part: reference weighting and limited gain

16 / 31 Modification of P part Introduce reference weighting β: P(t)=K ( βr(t) y(t) ), β 1 Can be used to limit overshoot after reference changes (moves a zero in closed-loop system) Note! Works only if also I part used

Example: Reference weighting with PI control (reference change at t =, load disturbance at t = 25): 1 β=1 Input Output 5 2 β=1 β=.5 β= β=.5 β= 5 Time 17 / 31

18 / 31 Modification of I part Input is always limited in practice (u min u u max ) Letvbe the input the controller wants to use Letube the input the controller can use u u max u min v Integrator windup: I part keeps growing when signal saturated

Example: PI control with integrator windup G p (s)=1/s, K=T i =1,.3 u.3: 2 Output 1 1 2 2 v Input 1 I u 1 2 Time 19 / 31

2 / 31 I(t)= t PI controller with anti-windup: Anti-windup ( K e(τ)+ 1 ) ( ) u(τ) v(τ) dτ T i T t Actuator (or model) e v u K K 1 T i s I + 1 T t Rule of thumb for constantt t : PI controller:t t =.5T i PID controller:t t = T i T d

Example: PI control with anti-windup Same example as before, but with anti-windup (T t =.5): 2 Output 1 1 2 1 v Input u I 1 2 Time 21 / 31

Modification of D part Reference weighting: derivate only measurement, not reference D(t)= KT d dy(t) dt Limit gain with low-pass filter (extra pole): ( fuskderivata ) D(s)= skt d 1+sT d /N Y(s) Maximal derivative gainntypically chosen in interval 5 2 22 / 31

23 / 31 Example: Limited derivative gain y(t)=sint+.1sin1t, T d =1, N=5 Brusfri signal Brusfri derivata Brusig signal y Derivatan av y Brusig signal y Fuskderivatan av y

Summary: Practical modifications y 1 skt d 1+sT d /N Actuator (or model) β K v u r K 1 T i s + 1 T t (More to think about: bumpless transfer between manual/automatic control, bumpless parameter changes, sampling filters, sampling,... ) 24 / 31

25 / 31 Tuning methods for PID controllers Manual tuning (lab 1) Ziegler Nichols methods The Lambda method Arresttidstrimning (project) Model-based tuning (lab 2) Relay methods Optimization-based methods...

26 / 31 Ziegler Nichols step response method Experiment on open-loop system, readaandb in step response: y b a t Controller K T i T d P 1/a PI.9/a 3b PID 1.2/a 2b.5b

27 / 31 Ziegler Nichols frequency method (Ziegler Nichols ultimate-sensitivity method) Experiment on closed-loop system 1. Disconnect I and D parts in PID controller 2. IncreaseK until oscillations with constant amplitude. This K=K. 3. Measure period timet for oscillations. Controller K T i T d P.5K PI.45K T /1.2 PID.6K T /2 T /8 (Note thatt =2π/ω, where ω is frequency that gives 18 phase shift)

Ziegler Nichols methods warning Ziegler Nichols methods give aggressive control with bad damping Recommendation:Klowered with 3 5 % for better robustness Example: PID control ofg p (s)=1/(s+1) 4 : Output 1 Step response method Ultimate sensitivity method Ultimate sensitivity, 4% lower gain 25 5 Input 2 25 5 Time 28 / 31

29 / 31 Lambda method 1. Read deadtimel, time constantt and static gaink p = y u : Process output 63% y Control signal L T u

3 / 31 Lambda-method 2. Choose λ = desired time constant for closed-loop system λ=t common choice λ=2t a bit slower for more robustness 3. PI controller: K= 1 K p T L+ λ, T i=t PID controller (in serial form): K = 1 K p T L/2+λ, T i =T, T d =L 2

31 / 31 Model based tuning (Lab 2) 1. Find process transfer functiong p (s) 2. Choose controller typeg c (s) 3. Compute closed-loop system transfer function: G(s)= G p(s)g c (s) 1+G p (s)g c (s) 4. Choose controller parameters to place poles for G(s) to achieve desired behavior (pole placement)