Modified ultimate cycle method relay auto-tuning

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

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

A Case Study in Modeling and Process Control: the Control of a Pilot Scale Heating and Ventilation System

New PID Tuning Rule Using ITAE Criteria

Different Controller Terms

DESIGN AND VALIDATION OF A PID AUTO-TUNING ALGORITHM

Relay Based Auto Tuner for Calibration of SCR Pump Controller Parameters in Diesel after Treatment Systems

Consider the control loop shown in figure 1 with the PI(D) controller C(s) and the plant described by a stable transfer function P(s).

SELF-TUNING OF FUZZY LOGIC CONTROLLERS IN CASCADE LOOPS

Extensions and Modifications of Relay Autotuning

Chapter 2 Non-parametric Tuning of PID Controllers

Module 08 Controller Designs: Compensators and PIDs

Application of Proposed Improved Relay Tuning. for Design of Optimum PID Control of SOPTD Model

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

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

InstrumentationTools.com

PID TUNING WITH INPUT CONSTRAINT: APPLICATION ON FOOD PROCESSING

THE general rules of the sampling period selection in

Cohen-coon PID Tuning Method; A Better Option to Ziegler Nichols-PID Tuning Method

An Expert System Based PID Controller for Higher Order Process

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

Model-free PID Controller Autotuning Algorithm Based on Frequency Response Analysis

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

PID Tuner (ver. 1.0)

Some Tuning Methods of PID Controller For Different Processes

UNIT IV CONTROLLER TUNING:

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

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

Performance Analysis of Conventional Controllers for Automatic Voltage Regulator (AVR)

Relay Feedback based PID Controller for Nonlinear Process

Abstract. I. Introduction

Configuration Example of Temperature Control

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

BINARY DISTILLATION COLUMN CONTROL TECHNIQUES: A COMPARATIVE STUDY

Anti Windup Implementation on Different PID Structures

The PID controller. Summary. Introduction to Control Systems

International Journal of Research in Advent Technology Available Online at:

Comparison Effectiveness of PID, Self-Tuning and Fuzzy Logic Controller in Heat Exchanger

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

Review Paper on Comparison of various PID Controllers Tuning Methodologies for Heat Exchanger Model

DESIGN AND ANALYSIS OF TUNING TECHNIQUES USING DIFFERENT CONTROLLERS OF A SECOND ORDER PROCESS

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

Procidia Control Solutions Dead Time Compensation

Comparative Analysis of a PID Controller using Ziegler- Nichols and Auto Turning Method

Loop Design. Chapter Introduction

1. Consider the closed loop system shown in the figure below. Select the appropriate option to implement the system shown in dotted lines using

Introduction To Temperature Controllers

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

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

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

PID control of dead-time processes: robustness, dead-time compensation and constraints handling

Design of an Intelligent Pressure Control System Based on the Fuzzy Self-tuning PID Controller

A Comparative Novel Method of Tuning of Controller for Temperature Process

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

VARIABLE STRUCTURE CONTROL DESIGN OF PROCESS PLANT BASED ON SLIDING MODE APPROACH

PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SCIENCE AND ENGINEERING

CDS 101/110: Lecture 8.2 PID Control

Position Control of DC Motor by Compensating Strategies

An Implementation for Comparison of Various PID Controllers Tuning Methodologies for Heat Exchanger Model

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

REFERENCES. 2. Astrom, K. J. and Hagglund, T. Benchmark system for PID control", Preprint of IFAC PID2000 Workshop, Terrassa, Spain, 2000.

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

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

Non-Integer Order Controller Based Robust Performance Analysis of a Conical Tank System

Comparison of Conventional Controller with Model Predictive Controller for CSTR Process

SCIENCE & TECHNOLOGY

Designing PID for Disturbance Rejection

Stiction Compensation

Position Control of AC Servomotor Using Internal Model Control Strategy

Optimal Control System Design

Chapter 4 PID Design Example

Fundamentals of Servo Motion Control

M s Based Approach for Simple Robust PI

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

Using Root Locus Modeling for Proportional Controller Design for Spray Booth Pressure System

Comparative Analysis of Controller Tuning Techniques for Dead Time Processes

Pid Auto Tuning Using Relay Feedback Mary Jermila M 1, Anju Iqubal, Soumya Raj. L 2

Compensation of Dead Time in PID Controllers

INTEGRATED PID BASED INTELLIGENT CONTROL FOR THREE TANK SYSTEM

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

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

NZQA unit standard version 2 Page 1 of 5. Demonstrate and apply intermediate knowledge of instrumentation and control system engineering

Analysis of Transient Response for Coupled Tank System via Conventional and Particle Swarm Optimization (PSO) Techniques

Stabilizing and Robust FOPI Controller Synthesis for First Order Plus Time Delay Systems

Comparative Study of PID Controller tuning methods using ASPEN HYSYS

Open Access IMC-PID Controller and the Tuning Method in Pneumatic Control Valve Positioner

2.7.3 Measurement noise. Signal variance

DC Motor Speed Control: A Case between PID Controller and Fuzzy Logic Controller

Elmo HARmonica Hands-on Tuning Guide

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

IJESRT. Scientific Journal Impact Factor: (ISRA), Impact Factor: 1.852

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

MM7 Practical Issues Using PID Controllers

Control Theory. This course will examine the control functions found in HVAC systems and explain the different applications where they are applied.

DC Motor Speed Control using PID Controllers

Design of Model Based PID Controller Tuning for Pressure Process

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Problems of modelling Proportional Integral Derivative controller in automated control systems

Optimized Tuning of PI Controller for a Spherical Tank Level System Using New Modified Repetitive Control Strategy

Getting the Best Performance from Challenging Control Loops

Transcription:

Adaptive Control - Autotuning Structure of presentation: Relay feedback autotuning outline Relay feedback autotuning details How close is the estimate of the ultimate gain and period to the actual ultimate gain and period? The effect of noise Determination of the gain and phase margins using relay autotuning Static load disturbance Commercial autotuning controller Question and Answer. Relay feedback autotuning - outline. Place the controller in proportional mode only (i.e. set T i to a maximum and to a minimum). T d. Increase K c until the closed loop system output goes marginally stable ; record K (calling it K, the ultimate gain), and the ultimate period, T. PI controller settings: K c 0.45K u c T 0.83T Ideal PID controller settings: K c 0.6K u T d 0.5T u Reminder of ultimate cycle tuning i T 0.5T i u u u Reference: Ziegler, J. and Nichols, N. (94). Optimum settings for automatic controllers, Transactions of the ASME, 64, 759-768. u Modified ultimate cycle method relay auto-tuning Åström and Hägglund (984) have developed an attractive alternative to the ultimate cycle method. In the relay auto-tuning method, a simple experimental test is used to determine K u and T u. For this test, the feedback controller is temporarily replaced by an on-off controller (or relay). After the control loop is closed, the controlled variable exhibits a sustained oscillation that is characteristic of on-off control. The operation of the relay auto-tuner includes a dead band; the dead band is used to avoid frequent switching caused by measurement noise. Reference: Åström, K. and Hägglund, T. (984). Automatic tuning of simple regulators with specification on the gain and phase margins, Automatica, 0, 645. 3 The relay auto-tuning method has several important advantages over the ultimate cycle method:. Only a single experiment test is required instead of a trial-and-error procedure.. The amplitude of the process output a can be restricted by adjusting relay amplitude d. 3. The process is not forced to a stability limit. 4. The experimental test is easily automated using commercial products. 4

. Relay feedback autotuning - details Relay feedback autotuning - details This oscillation is almost sinusoidal, depending on the filtering properties of G p (s). A comparison can be drawn to the oscillation obtained from the ultimate cycle experiment: When a relay is switched in, a sustained oscillation at c is observed: 5 6 Relay feedback autotuning - details Knowledge of K u and T u allows the controller to be retuned using simple tuning methods (such as those of Ziegler and Nichols). The relay autotuner will supply an approximate estimate of T u (labelled ). An equivalent approximate K u (labelled ) may be deduced from the relay autotuner using describing function analysis: Relay feedback autotuning - details The limit cycle is defined when G p (jω) intersects. N(A) 4d From the tables of describing functions, N(A), A πa half-peak amplitude of limit cycle output. 7 The relay autotuner can be considered equivalent to: 8

Relay feedback autotuning - details 3. How close is the estimate of the ultimate gain and period to the actual ultimate gain and period? An oscillatory output at c exists when 9 0 Simulation of relay autotuner

Estimate of ultimate gain and ultimate period from simulation Example Peak to peak amplitude ( A).34 i.e. A 0.67; d (in the simulation); Therefore,.90. From the simulated output, the estimate of the ultimate period 4 seconds. Overall: Such large % errors are related to the sinusoidal nature of the limit cycle output. 3 4 Simulation of relay autotuner 5 6

Estimate of ultimate gain and ultimate period from simulation Peak to peak amplitude ( A).3 i.e. A 0.57; d (in the simulation); 4. The effect of noise The presence of noise can cause difficulties in measuring the amplitude and period of the limit cycle output. In a simulation (noise amplitude: max. 0.; min. -0.): Therefore,.5. From the simulated output, the estimate of the ultimate period 4.3 seconds. Overall: More sinusoidal limit cycle output -> less percentage error. 7 8 One possibility: Use hysteresis on the relay Generally, the hysteresis width is made larger than the maximum noise level; if the maximum noise amplitude is ± 0., set up hysteresis on the relay to be ± 0.5, say. However, introducing hysteresis changes the amplitude and frequency of the controlled variable 9 0

Measuring amplitude and period With or without hysteresis, the challenge is to measure accurately the amplitude and period of the controlled variable. Without hysteresis: Estimated peak-peak amplitude 0.96, estimated period 4.6 s. With hysteresis: Estimated peak-peak amplitude.53, estimated period 6.5 s. Estimating ultimate gain If hysteresis is absent, the ultimate gain may be estimated as.65. The following table summarises the results: Ultimate gain Ultimate period s e G p(s) ( +.5s)( + 3s)( + 4s) Actual.3 3. Relay, no noise.5 (-3%) 4.3 (+9%) Relay, noise present.65 (+4%) 4.6 (+%) If hysteresis is present, N(A) [from describing function analysis] changes see table of describing functions previously. Thus, the ultimate gain is estimated by a different formula. This is left as an exercise. 5. Determination of the gain and phase margins using relay autotuning Reminder: Gain and phase margin Gain margin relay autotuning A relay autotuner may be used to estimate the gain margin of compensated systems. The method is set up as follows: 3 4

Gain margin relay autotuning Gain margin relay autotuning is approximated by: 5 6 Gain margin relay autotuning Example: A process, given by s ( +.5s)e Gp(s) + 8.5s +.5s + 8s.87s.95e is modelled as: Gm(s) + 6.69s 3 PI controller: G c (s).36 + 5.9s The PI controller was designed, using a standard method, to achieve the specifications of ± % settling time of 5 seconds 0 and a phase margin of 45. Gain margin relay autotuning We will use MATLAB to determine the gain margin of this compensated system, and compare the result to the estimate of the gain margin obtained from the relay test. 7 8

Gain margin relay autotuning Gain margin relay autotuning d (in the simulation); A.34 i.e. A.7; 4() + π(.7) Therefore, gain margin.09 (estimate) π(.7) Gain margin (from MATLAB simulation).035 Error in gain margin estimate +3%. 9 30 Phase margin relay autotuning A relay autotuner may be used to estimate the gain margin of compensated systems. The method is set up as follows: Phase margin relay autotuning The transfer function of the system in series with the relay is: This is equivalent to the following: 3 3

Phase margin relay autotuning Phase margin relay autotuning 33 34 Phase margin relay autotuning Phase margin relay autotuning Example: A process, given by s ( +.5s)e Gp(s) + 8.5s +.5s + 8s.87s.95e is modelled as: Gm(s) + 6.69s 3 PI controller: G + c (s).36 5.9s The PI controller was designed, using a standard method, to achieve the specifications of ± % settling time of 5 seconds 0 and a phase margin of 45. 35 We will use MATLAB to determine the phase margin of this compensated system, and compare the result to the estimate of the phase margin obtained from the relay test. Phase margin (see slide 8). 0 3 36

Phase margin relay autotuning Phase margin relay autotuning From plot, phase lag 6. seconds Period of waveform 4 seconds Phase lag (in degrees) (6./4.5)360 54 degrees Estimated phase margin 80 54 6 degrees. Phase margin (from MATLAB simulation) 30.9 degrees Error in phase margin estimate -6%. 37 38 6. Static load disturbance Static load disturbances during the relay tuning experiment introduce errors in the estimates of the ultimate gain and ultimate period. This section shows how an automatic bias can be introduced to overcome the problem. Static load disturbance A typical static load disturbance occurs in a heating and ventilation system if environmental conditions change: We consider the effects of a static load disturbance when the autotuner is a relay without hysteresis: Reference: Hang, C.C., Astrom, K.J. and Ho, W.K. (993). Relay auto-tuning in the presence of static load disturbance, Automatica, Vol. 9, No., pp. 563-564; also Hang, C.C., Lee, T.H. and Ho, W.K. (993), 39 Adaptive Control, Chapter 4. Thus, if outside temperature increases (for example), the heater does not need to be on as long to maintain the desired temperature. The ultimate period changes (as does the ultimate gain), which has a knock-on effect on the subsequent controller tuning. 40

Static load disturbance Static load disturbance The load disturbance may be determined, as follows: The DC component of the manipulated variable (process input), m dc, is The DC component of the controlled variable (process output), y dc is t + t ydc r + (y r) dt (t + t ) 0 DC component with no load disturbance DC component of the relay waveform 4 DC component without static load Average value of the oscillation 4 Static load disturbance Now, i.e. i.e. K y K p dc r K p p m dc t t + l + d r + t + t (t + t ) t t Kpl + Kpd t + t ( t + t ) t + t t + t 0 ( y r ) 0 (y r)dt dt 43 i.e. Static load disturbance t t t t l d + (y r) t + t K dt p + ( t + t ) To cancel the effect of the static load during the autotuning test, a bias, u b, equal to the negative of the estimated load should be added to the relay output: t t ub t + t d ^ K p 0 t t + ( ) t + t 0 (y r) dt Note the estimated value of process gain used. This bias term may be automatically incorporated into an existing relay autotuner. 44

s Static load e A process is given by: Gp(s) disturbance ( + s) When an autotuning relay is incorporated into the loop, the following response is determined (static load introduced after approximately 0 seconds, corrective bias term introduced after seconds): s Static load e A process is given by: Gp(s) disturbance ( + s) Autotuning relay is incorporated into the loop; oscillations with symmetrical positive and negative half-cycles occur as shown in the first 0 seconds of the data: 45 46 s Static load e A process is given by: Gp(s) disturbance ( + s) A small static load disturbance (of 0.08) is introduced at approximately t 0; the oscillations become asymmetrical for the next seconds. The error that would result in the estimated ultimate gain and ultimate period is +4% and +%, respectively. s Static load e A process is given by: Gp(s) disturbance ( + s) At t, a bias is applied based on an initial estimate of the process gain of 0.5 (noting that the actual process gain ). Exact symmetrical oscillations are not achieved; however, the asymmetry is slight, and the error that would result in the estimated ultimate gain and ultimate period is +% and -%, respectively. 47 48

7. Commercial autotuning controller Example: Fisher DPR 900 Controller Commercial autotuning controller Some features:. If no process knowledge exists, autotuning is preformed as follows: The process is brought to a desired operating point, either by the operator in manual mode or by the controller in automatic mode When the loop is stationary, the operator presses a tuning button. The PID controller is temporarily disconnected and the noise level is measured. Reference: Hang, C.C., Lee, T.H. and Ho, W.K. (993), Adaptive Control, Chapter 4. 49 50 Commercial autotuning controller After a short period, a relay with hysteresis is introduced into the loop. The hysteresis width of the relay is determined automatically from the noise level. During the oscillation, the relay amplitude is adjusted, so that a desired level of the oscillation amplitude is obtained. When an oscillation with constant amplitude and period is obtained, the relay experiment is interrupted and estimates of the ultimate gain and ultimate period will be made. Commercial autotuning controller. The PID controller parameters are then calculated from the ultimate gain and the ultimate period. Fast, medium or slow responses are available; for example, the medium tuning formula is K 0.35, T.3T and T 0.0T. Typical performance; G p ( + 5s)( + s) c K u i u d u 5 5

8. Question and Answer Answer 53 54 Answer Answer 55 56

Answer Answer 57 58 Answer 59