Dr. Yeffry Handoko Putra, S.T., M.T



Similar documents
A Design of a PID Self-Tuning Controller Using LabVIEW

Lambda Tuning the Universal Method for PID Controllers in Process Control

EECE 460 : Control System Design

stable response to load disturbances, e.g., an exothermic reaction.

Best Practices for Controller Tuning

A simple method to determine control valve performance and its impacts on control loop performance

Measurement Products. PID control theory made easy Optimising plant performance with modern process controllers

FAST METHODS FOR SLOW LOOPS: TUNE YOUR TEMPERATURE CONTROLS IN 15 MINUTES

PID Controller Tuning: A Short Tutorial

Microcontroller-based experiments for a control systems course in electrical engineering technology

A Study of Speed Control of PMDC Motor Using Auto-tuning of PID Controller through LabVIEW

PID Tuning Guide. A Best-Practices Approach to Understanding and Tuning PID Controllers. First Edition by Robert C. Rice, PhD

SAMPLE CHAPTERS UNESCO EOLSS PID CONTROL. Araki M. Kyoto University, Japan

PID Control. Chapter 10

PROCESS CONTROL SYSTEM DESIGN Process Control System Design. LECTURE 6: SIMO and MISO CONTROL

Chapter 10. Control Design: Intuition or Analysis?

PIDControlfor the future

1. s to Z-Domain Transfer Function

QNET Experiment #06: HVAC Proportional- Integral (PI) Temperature Control Heating, Ventilation, and Air Conditioning Trainer (HVACT)

PID Control. 6.1 Introduction

Process Control Primer

PID control - Simple tuning methods

Practical Process Control For Engineers and Technicians

PID Control. Proportional Integral Derivative (PID) Control. Matrix Multimedia 2011 MX009 - PID Control. by Ben Rowland, April 2011

TwinCAT NC Configuration

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

INTRUSION PREVENTION AND EXPERT SYSTEMS

OPERATIONAL AMPLIFIERS. o/p

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

Lab 1: The Digital Oscilloscope

Understanding PID Control

ARCHITECTURE OF INDUSTRIAL AUTOMATION SYSTEMS

PID Microprocessor temperature controllers CTD43 - CTD46 - CTH46

HITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE

Operational Overview and Controls Guide

Control of an industrial process using PID control blocks in automation controller

Understanding Poles and Zeros

Marine Technology Society

Step Response of RC Circuits

Application Notes FREQUENCY LINEAR TUNING VARACTORS FREQUENCY LINEAR TUNING VARACTORS THE DEFINITION OF S (RELATIVE SENSITIVITY)

LabVIEWTM. PID and Fuzzy Logic Toolkit User Manual. PID and Fuzzy Logic Toolkit User Manual. June D-01

Introduction to SMPS Control Techniques

Using Wireless Measurements in Control Applications

Introduction to LabVIEW for Control Design & Simulation Ricardo Dunia (NI), Eric Dean (NI), and Dr. Thomas Edgar (UT)

FUZZY Based PID Controller for Speed Control of D.C. Motor Using LabVIEW

Temperature Controller CD401/CD901/CD701/CD501/CD100/CD101 Instruction Manual

Ziegler-Nichols-Based Intelligent Fuzzy PID Controller Design for Antenna Tracking System

EE 402 RECITATION #13 REPORT

Positive Feedback and Oscillators

1 Error in Euler s Method

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

Programmable-Gain Transimpedance Amplifiers Maximize Dynamic Range in Spectroscopy Systems

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

SAS Analyst for Windows Tutorial

Input and Output Capacitor Selection

Second Order Systems

A Guide to PID Control for Sous Vide Cookery

Advantages of Auto-tuning for Servo-motors

Considerations When Specifying a DC Power Supply

NUCLEAR MAGNETIC RESONANCE. Advanced Laboratory, Physics 407, University of Wisconsin Madison, Wisconsin 53706

ECE 3510 Final given: Spring 11

Chapter 9: Controller design

SR2000 FREQUENCY MONITOR

Controller Design in Frequency Domain

Frequency Response of Filters

Control System Definition

GPD 506/P5 Start-up Procedure and Checklist

AC : MEASUREMENT OF OP-AMP PARAMETERS USING VEC- TOR SIGNAL ANALYZERS IN UNDERGRADUATE LINEAR CIRCUITS LABORATORY

MODEL 4400 TEMPERATURE CONTROL Royalton Rd. Cleveland, OH (440) (440)

Chapter 19 Operational Amplifiers

Performance Monitor Improves Performance of FCC At a Refiner in Anacortes, WA

Current vs. Voltage Feedback Amplifiers

Sensing and Control. A Process Control Primer

Enhancing Process Control Education with the Control Station Training Simulator

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

Understanding Power Impedance Supply for Optimum Decoupling

MATLAB Control System Toolbox Root Locus Design GUI

International co-operation in control engineering education using online experiments

Perform Common Process Loop Control Algorithms

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

Analysis of PID Control Design Methods for a Heated Airow Process

Design of a TL431-Based Controller for a Flyback Converter

A Comparison of PID Controller Tuning Methods for Three Tank Level Process

RC Circuits and The Oscilloscope Physics Lab X

Input signal Maximum Range Accuracy. Thermocouple E -50 to 700 C (-58 to 1832 F) ±1 C

Chilled Water Valves: Resizing and Tuning for Peak Performance. IDEA Conference Feb Jay Russell, PE University of Michigan

CHILLER PLANT CONTROL MULTIPLE CHILLER CONTROLS

2.6. In-Laboratory Session QICii Modelling Module. Modelling Module Description

SIMATIC. Modular PID Control. Preface, Contents Product Overview. Modular PID Control. Description of the Functions. Examples

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

HONEYWELL DC 1010 / / 1040 DIGITAL CONTROLLER PRODUCT MANUAL /02

System Modeling and Control for Mechanical Engineers

T and T Single Input Receiver-Controllers Installation and Calibration

Raffaele Rea GE-Bayer Specialties Srl - Termoli Paolo Belli, Nunzio Bonavita ABB PS&S SpA - Genova ABB - 1 -

AP1 Waves. (A) frequency (B) wavelength (C) speed (D) intensity. Answer: (A) and (D) frequency and intensity.

Implementation of Fuzzy and PID Controller to Water Level System using LabView

LATEST TRENDS on SYSTEMS (Volume I)

TLK 48 MICROPROCESSOR-BASED DIGITAL ELECTRONIC REGULATOR

TESTS OF 1 MHZ SIGNAL SOURCE FOR SPECTRUM ANALYZER CALIBRATION 7/8/08 Sam Wetterlin

Hardware-in-the-Loop Simulation

Transcription:

Tuning Methods of PID Controller Dr. Yeffry Handoko Putra, S.T., M.T yeffry@unikom.ac.id 1 Session Outlines & Objectives Outlines Tuning methods of PID controller: Ziegler-Nichols Open-loop Coon-Cohen Open-loop Ziegler-Nichols Closed-loop Lambda Tuning Visual Loop Tuning Autotuning Objectives Know the meaning of controller tuning Be able to use several PID tuning methods and choose the right tuning methods for specific process control application 2 1

Controller tuning A systematic-adjusting procedure of the controller parameters to obtain a desired performance of the control system PID control tuning Introduction (1) It is a matter of selecting the right mix of P, I, and D action to achieve a desired performance 3 Performance criteria for closed-loop systems Stable Minimal effect of disturbance Rapid, smooth response to set point change No offset No excessive control action Robust to plant-model mismatch Trade-offs in control problems Set point tracking vs. disturbance rejection Robustness vs. performance Introduction (2) 4 2

How do we know when it s tuned? Introduction (3) The process didn t blow up The process measurements stay close enough to the setpoint Boss says OK, and you can go home You buy a new controller which has different PID algorithm 5 Introduction (4) The Problem We have the knowledge about the effect of each PID modes to closed-loop response But, from what values of P, I and D modes we would pick to start to tune? The Solutions If you have tuned the process before, use slightly different values of the old PID controller parameter If the results are still not satisfy you, use a PID controller tuning method that we will learn just in a moment that is most suit to your process control application. Keep watch on 6 3

General Tuning Procedure Introduction (5) Before tuning, FAMILIARIZE with the OPERATION RISK Get help with experienced operators, explain your work to him and tell him that NO PERMISSION IS REQUIRED if their intervention is NECESSARY to save the loop if things go wrong 7 Introduction (6) Precaution: All kinds of tuning method should be used for initial setting and fine tuning should be done!!! 8 4

Cohen-Coon Coon Open-loop Tuning Method (1) Proposed in 1953 by G. H. Cohen and G. A. Coon 1 Main principles: The process output is affected not only by the dynamics of the main process but also by the dynamics of the measuring sensor and final control element They observed that the response of most processing unit to an input change had a sigmoidal shape CO PV time time 1) G. H. Cohen and G. A. Coon, Theoretical Consideration of Retarded Control, Trans. ASME,Vol. 75, pp. 827, 1953. 9 Cohen-Coon Coon Open-loop Tuning Method (2) Main principles: (contd.) The sigmoidal shape can be adequately approximated by the response of a first order system with dead time CO T d A B S time Actual response Approximate response time G fpm = PVm ~ K e -T d s CO τ s + 1 where K τ T d = = = B A B S, S is the slope of the sigmoidal response at the point of inflection time elapsed until the system responded, 10 5

Cohen-Coon Coon Open-loop Tuning Method (3) Once the value of process parameter are obtained, the PID parameter can be calculated from the following table Controller P I m D P only 1 K τ T d T d 1+ 3τ - - PI 1 K τ T d T d 0.9+ 12τ T d 30 + 3T d /τ 9 + 20T d /τ - PID 1 K τ T d 4 T d 3 + 4τ 32 + 6T d /τ 4 T d T 13 + 8T d /τ d 11 + 2T d /τ 11 Ziegler-Nichols Open-loop Tuning Method (1) Proposed in 1942 by J. G. Ziegler and N. B. Nichols of Taylor Instruments (now part of ABB instrumentation in Rochester, N.Y.) 2 It is done in manual mode It is a way of relating the process parameters (i.e. delay time, process gain and time constant) to the controller parameters (i.e. controller gain and reset time) It has been developed for use on delay-followed-by-firstorder-lag processes 2) J. G. Ziegler and N. B. Nichols, Optimum Setting for Automatic Controllers, Trans. ASME,Vol. 64, pp. 759-768, 1942. 12 6

The Procedure Ziegler-Nichols Open-loop Tuning Method (2) 1. Put the control system in MANUAL (without feedback) 2. Adjust the controlled system manually to the desired operating point (start-up control loop) 3. Apply manually a STEP change of the controller output (CO) (usually 5 10 % or depending of your process gain) 4. Wait until the process variable (PV) is settled at steadystate condition 13 Ziegler-Nichols Open-loop Tuning Method (3) 5. Determine process parameter (delay time, process gain and time constant) from the graphics CO P OUTPUT LEVEL TEMPERATURE PV Line drawn through point of inflection R L TD TIME FIGURE 6: PROCESS REACTION CURVE - SIMPLE 14 7

Ziegler-Nichols Open-loop Tuning Method (4) 6. Once the value of process parameter are obtained, the PID parameter can be calculated from the following table Controller P I m D 1 τ P only - - K T d 0.9 τ 0.33 T d PI - K T d PID 1.2 K τ T d 2 T d 0.5 T d 15 Ziegler-Nichols Closed-loop loop Tuning Method (1) Proposed in 1942 by J. G. Ziegler and N. B. Nichols of Taylor Instruments (now part of ABB instrumentation in Rochester, N.Y.) Also known as continuous cycling or ultimate gain methods It has been developed for use on delay-followed-by-firstorder-lag processes It has been refined for other specific process control objectives 16 8

Ziegler-Nichols Closed-loop loop Tuning Method (2) The Procedure 1. At the controller, select proportional-only (P-ONLY) control, i.e. set P to the lowest value (PB to the highest value) and I m to infinity (I r to zero) and D to zero (smallest possible influence of the controller) 2. Adjust the controlled system manually to the desired operating point (start-up control loop) 3. Set the manipulated variable of the controller to the manually adjusted value (reset bias b) and switch to automatic operating mode 4. Continue to gradually increase P (decrease PB) until the controlled variable encounters harmonic oscillation. If possible, small step changes in the setpoint should be made during the P adjustment to cause the control loop to oscillate 5. Take down the adjusted P value as critical proportional-action coefficient P crit 17 Ziegler-Nichols Closed-loop loop Tuning Method (3) The Procedure (contd.) 6. Determine the time span for one full oscillation amplitude as t crit, if necessary by taking the time of several oscillations and calculating their average 18 9

Ziegler-Nichols Closed-loop loop Tuning Method (4) The Procedure (contd.) 7. Once the value for P crit and τ crit are obtained, the PID parameter can be calculated from the following table Controller P I m D P only 0.5 P crit - - PI 0.45 P crit 0.833 τ crit - PID 0.6 P crit 0.5 τ crit 0.125 τ crit 19 Ziegler-Nichols Closed-loop loop Tuning Method (5) Modified Ziegler-Nichols setting Controller P I m D PID original 0.6 P crit 0.5 τ crit 0.125 τ crit PID some overshoot 0.33 P crit 0.5 τ crit 0.33 τ crit PID no overshoot 0.2 P crit 0.3 τ crit 0.5 τ crit 20 10

Ziegler-Nichols Closed-loop loop Tuning Method (6) Examples 4e G -3.5s P c = 0.95 p (s) = 7s+1 τ c = 12 Controller P I m D PID original 0.57 6.0 1.5 PID some overshoot 0.31 6.0 0.4 PID no overshoot 0.19 6.0 4.0 21 Ziegler-Nichols Closed-loop loop Tuning Method (6) Advantages of continuous cycling method No a priori information on process required Applicable to all stable processes Only a single experimental test is needed It does not require trial and error The controller settings are easily calculated 22 11

Ziegler-Nichols Closed-loop loop Tuning Method (7) Disadvantages of continuous cycling method Time consuming Loss of product quality and productivity during the tests Continuous cycling may cause the violation of process limitation and safety hazards Not applicable to open-loop unstable process First-order and second-order process without time delay will not oscillate even with very large controller gain Motivates Relay Feedback Method (Åström and Hagglund, 1984) 23 Lambda Tuning (1) Developed for achieving smooth setpoint response or load change Guarantees stability, robustness and no overshoot Very popular in pulp & paper industry Two basic steps of lambda (λ) tuning: Process model identification Lambda tuning 1 st order process with dead time Integrating process (i.e. level control) 24 12

1 st Order Process with Dead Time Lambda Tuning (2) Procedure: Manually, bump the CO then observe the u The estimated process parameters: Process gain: G p = y u 0.283 y 0.632 y Process time constant: τ p = 1.5(T 2 T 1 ) T 1 T 2 time Process dead time: Τ d = T 2 τ p 25 Lambda Tuning (3) 1 st Order Process with Dead Time (contd.) Lambda Tuning: Choose the desired closed-loop time constant, λ (typically 2 to 3 times the process constant) sluggish response! PID tuning parameters: Proportional gain: P = 2τ p + τ d 2G p (λ + τ d ) Integral action: T m = τ p + τ d 2 Derivative action: D = τ p τ d 2 τ p + τ d 26 13

Lambda Tuning s Rule of Thumb: Lambda Tuning (4) Integral time should no be smaller than the process time constant Level control oscillating? Remove nearly all integral action Poll time should be less than one-tenth the process time constant Filter time constant should be less than one fifth the process time constant Closed-loop time constant is usually greater than the process time constant 27 Visual Loop Tuning (1) Problems The loop is unstable (or apparently so) The loop is sluggish in response to upsets or setpoint changes How to improve the performance of a loop by using NO algebra? SP SP SP Apparently unstable response Good response? Sluggish response 28 14

Apparent Instability The loop oscillates Because of excessive feedback, or Of being perturbed periodically by another process Visual Loop Tuning (2) Procedure: Put the loop in manual (if it is safe to do so) In manual mode, the process appears to settle down poorly tuned Tuning problems: Is the oscillation caused by too much or too little gain/integral/ derivative or their combinations? SP 29 Apparent Instability (contd.) Tuning procedure: Self-regulating Processes Visual Loop Tuning (3) If the value of I m (min/repeat) is less than half of the oscillation period τ SP First, Increase the value of I m If the value of I m (min/repeat) is longer than the oscillation period, it is safe to decrease the gain (P) τ SP Apparently unstable response Increasing the value of I m (min/repeat) Lowering the gain (P) Non Self-regulating Processes Use the longest value of I m (min/repeat) as much as possible or completely remove the integral action. If the problem persists, then lowering the gain (P) 30 15

Visual Loop Tuning (4) Sluggish Response Common causes: The loop usually has no derivative action The value of I m (min/repeat) is long relative to the process response time The value of gain is too low SP 31 Sluggish Response (contd.) Tuning procedure: 1. Adjusting Gain Set the I m as longest as possible and set D to zero. Visual Loop Tuning (5) Place the controller in manual mode, then step out the CO at a reasonable value Immediately put the controller back in auto mode. Watch the process response to know what the controller action does Repeat the process until we get one cycle of process output swinging Swinging more than one cycle Too much gain lowering the gain Swinging less than one cycle Too little gain increasing the gain Swinging in one cycle Reasonable gain achieved 32 16

Sluggish Response (contd.) Tuning procedure: 2. Adjusting Integral Action Visual Loop Tuning (6) Place the controller in manual mode, shorten the value of I m, then step out the CO at a reasonable value Immediately put the controller back in auto mode. Watch the process response to know what the controller action does Repeat the process until we get the ramps back to setpoint about half as fast as it moved away from setpoint form the CO step original original SP Response with reasonable gain (swinging in one cycle) SP To little I m (swinging at setpoint) Reasonable I m SP 33 Visual Loop Tuning (7) Tuning map for gain (P) and reset effect (I m ) Low gain (P) (wide PB) No reset (small repeat/min) (large min/repeat) Increasing reset (integral) action Fast reset (more repeat/min) (less min/repeat) Increasing proportional action High gain (P) (narrow PB) 34 17

The Effect of Adding Derivative Visual Loop Tuning (8) a) Best tuning achieved with proportional and integral modes only b) Too little derivative c) Derivative added gain increased integral action faster d) Too much derivative 35 What is Autotuning? Autotuning (also known as self-tuning) is a feature supplied by many controller, PLC and DCS vendors that allows the controller to tune itself It minimize the task of a control engineer in manually tuning the loops 36 18

Why Autotuning? The process is nonlinear or operated under widely varying conditions Need various combination of tuning parameters for different operating condition can be also accomplished by using operator s log The process characteristic change rapidly Frequent manual changing of the tuning parameters can not be expected to be able to produce satisfactory results The end user doesn t have the knowledge or experience for successful manual tuning 37 Autotuning Categories A variety of autotuning techniques found on the market: Scheduled tuning On-demand tuning On-line tuning 38 19

Scheduled Tuning (1) Merely, an automation of the operator s log concept The users have to provide the correct value either by means of a table look-up or a user-written program Tuning parameters are changed automatically as operating points change No assessing and modifying of the controller performances by determining improved tuning parameters 39 From table look-up or user-written program Scheduled Tuning (2) SP Σ Gain Reset Deriv. PID Process Region Boundaries Gain Reset Deriv. 1 0 30% P 1 I 1 D 1 2 30 70% P 2 I 2 D 2 3 70 100% P 3 I 3 D 3 Example: Fisher DPR900 TM Single-loop Controller 40 20

On-demand Tuning (1) It is simply an automation of the open- or closed-loop testing method Open-loop tuning methods: Ziegler-Nichols (most common) Lambda tuning Closed-loop tuning method: Relay Feedback autotuning motivated by Ziegler-Nichols closed-loop tuning method User presses a tune button to start the tuning procedures which carry out automatically The tentative tuning values are display for confirmation. If confirmed, they are inserted into the control algorithm 41 Relay Feedback Autotuning Method On-demand Tuning (2) Setpoint + _ PID Process Relay with Dead zone Process Output a Controller Output 2d 42 21

Relay Feedback Autotuning Method (contd.) The Procedure Forces the system to oscillate by a relay controller Require a single closed-loop experiment to find the ultimate frequency information No a priori information on process is required Switch relay feedback controller for tuning Find P crit and calculate τ crit according to the formula τ crit = On-demand Tuning (3) 4 d π a User specified parameter: d Decide d in order not to perturb the system too much Mostly use Ziegler-Nichols tuning rules for PID tuning parameters 43 On-line Tuning (1) The tuning parameters are determined by an auxiliary program that automatically evaluates the closed-loop behavior and calculates and modifies the tuning parameters whenever necessary Methods: Pattern recognition Others use a more formal mathematical procedure 44 22

On-line Tuning (2) Pattern Recognition Approach Example: The Foxboro EXACT TM (Expert Adaptive Controller Tuner) It observers the pattern of the response, then invokes a set of rules for determining new tuning parameters that will drive the pattern closer to a desired response pattern The technique: Does not require artificial load upsets instead it utilizes the normal process disturbances that occur; and Does not attempt to impose an arbitrary mathematical model on the process 45 On-line Tuning (3) The Foxboro EXACT TM Autotuning activated P 1 P 3 P 2 Control loop is using existing tuning parameters T New parameter calculated 46 23

Session Summary Manual tuning of PID controller can be conducted in various ways by means of some plant test There simply is no way to analytically tune a controller if we do not know the type of algorithm and the units Autotuning simplifies the tuning procedure of PID controller 47 24