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).

Similar documents
INTERNET PID CONTROLLER DESIGN: M. Schlegel, M. Čech

Web-Based Fractional PID Controller Design:

Modified ultimate cycle method relay auto-tuning

DESIGN AND VALIDATION OF A PID AUTO-TUNING ALGORITHM

Loop Design. Chapter Introduction

Synthesis of Robust PID Controllers Design with Complete Information On Pre-Specifications for the FOPTD Systems

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

Dr Ian R. Manchester

CDS 101/110: Lecture 8.2 PID Control

PID TUNING WITH INPUT CONSTRAINT: APPLICATION ON FOOD PROCESSING

Different Controller Terms

THE general rules of the sampling period selection in

Chapter 2 Non-parametric Tuning of PID Controllers

New PID Tuning Rule Using ITAE Criteria

CDS 101/110a: Lecture 8-1 Frequency Domain Design

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

Pole, zero and Bode plot

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

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

Understanding PID design through interactive tools

A Software Tool for Robust PID Design

Some Tuning Methods of PID Controller For Different Processes

EE 435. Lecture 16. Compensation Systematic Two-Stage Op Amp Design

M s Based Approach for Simple Robust PI

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

Robust Performance Limitations and Design of Controlled Delayed Systems

LAMBDA TUNING TECHNIQUE BASED CONTROLLER DESIGN FOR AN INDUSTRIAL BLENDING PROCESS

PID Tuner (ver. 1.0)

Elmo HARmonica Hands-on Tuning Guide

Bode plot, named after Hendrik Wade Bode, is usually a combination of a Bode magnitude plot and Bode phase plot:

Module 08 Controller Designs: Compensators and PIDs

Comparative Analysis of Controller Tuning Techniques for Dead Time Processes

Comparative Study of PID and FOPID Controller Response for Automatic Voltage Regulation

Frequency Response Analysis and Design Tutorial

Fig.. Block diagram of the IMC system. where k c,t I,T D,T s and f denote the proportional gain, reset time, derivative time, sampling time and lter p

1.2 Software tools for analysis and design of control systems Terminology. Formulation of the control problem... 11

Extensions and Modifications of Relay Autotuning

1.What is frequency response? A frequency responses the steady state response of a system when the input to the system is a sinusoidal signal.

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

Page 21 GRAPHING OBJECTIVES:

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

Comparison of some well-known PID tuning formulas

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

EVALUATION ALGORITHM- BASED ON PID CONTROLLER DESIGN FOR THE UNSTABLE SYSTEMS

ISSN Vol.04,Issue.06, June-2016, Pages:

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

Control Engineering. Editorial Advisory Board Okko Bosgra Delft University The Netherlands. William Powers Ford Motor Company (retired) USA

Neural Network Predictive Controller for Pressure Control

Testing and implementation of a backlash detection algorithm

Design and Analysis for Robust PID Controller

Position Control of DC Motor by Compensating Strategies

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

EE 482 : CONTROL SYSTEMS Lab Manual

Magnetic Levitation System

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

Electrical Engineering. Control Systems. Comprehensive Theory with Solved Examples and Practice Questions. Publications

Procidia Control Solutions Dead Time Compensation

Design of Model Based PID Controller Tuning for Pressure Process

The Matching Coefficients PID Controller

Key words: Internal Model Control (IMC), Proportion Integral Derivative (PID), Q-parameters

BSNL TTA Question Paper Control Systems Specialization 2007

A NEW EDUCATIONAL SOFTWARE TOOL FOR ROBUST CONTROL DESIGN USING THE QFT METHOD

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

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

Part II. PID controller tuning using the multiple integration method

Design of a Fractional Order PID Controller Using Particle Swarm Optimization Technique

Chapter 4 PID Design Example

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert

Lab 1: Simulating Control Systems with Simulink and MATLAB

TUNING OF TWO-DEGREE-OF-FREEDOM PI/PID CONTROLLER FOR SECOND-ORDER UNSTABLE PROCESSES

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

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

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

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

Evaluation and Tuning of Robust PID Controllers

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

Design of PID Controller with Compensator using Direct Synthesis Method for Unstable System

Design of Joint Controller for Welding Robot and Parameter Optimization

Model Based Predictive Peak Observer Method in Parameter Tuning of PI Controllers

An Expert System Based PID Controller for Higher Order Process

Volume of Revolution Investigation

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

TUNABLE METHOD OF PID CONTROLLER FOR UNSTABLE SYSTEM L.R.SWATHIKA 1, V.VIJAYAN 2 *

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

Tennessee Senior Bridge Mathematics

Application Note #2442

Optimal Robust Tuning for 1DoF PI/PID Control Unifying FOPDT/SOPDT Models

Introduction to Simulink

Choice of Sample Time in Digital PID Controllers CHOICE OF SAMPLE TIME IN DIGITAL PID CONTROLLERS

Spacecraft Pitch PID Controller Tunning using Ziegler Nichols Method

Lecture 9. Lab 16 System Identification (2 nd or 2 sessions) Lab 17 Proportional Control

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

Digital Control of MS-150 Modular Position Servo System

Determining the Dynamic Characteristics of a Process

Pareto Optimal Solution for PID Controller by Multi-Objective GA

Design of Self-Tuning Fuzzy PI controller in LABVIEW for Control of a Real Time Process

AN EXPERIMENTAL INVESTIGATION OF THE PERFORMANCE OF A PID CONTROLLED VOLTAGE STABILIZER

BINARY DISTILLATION COLUMN CONTROL TECHNIQUES: A COMPARATIVE STUDY

Automatic Feedforward Tuning for PID Control Loops

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

Transcription:

PID controller design on Internet: www.pidlab.com Čech Martin, Schlegel Miloš Abstract The purpose of this article is to introduce a simple Internet tool (Java applet) for PID controller design. The applet is based on the Nyquist plot shaping method which seems to be worthwhile for industrial practitioners.. Introduction PID controllers are widely used in industrial practice more than 60 years. The development went from pneumatic through analogue to digital controllers, but the control algorithm is in fact the same. The PID controller is a standard and proved solution for the most of industrial control applications. In spite of this fact, there is not some standard and generally accepted method for PID controller design based on known process model. Over the years, there are many formulas derived to tune the PID controller. But there exist only a few universal procedures, which can be used for arbitrary order irrational or non-minimum phase transfer functions. One of these is described in []. The classical D-partition [2] method is used for the ideal PID controller design where the gain and phase margins are specified. For the real PID controller (filtered derivative part) and for more general design specifications, this method must be modified as it is shown in parts 2 and 3. The arising algorithm seems to be universal and still comprehensible for people in industrial practice. That is why we decided to create a Java applet accessible on Internet. The applet is shortly described in part 4. Illustrating example is given in part 5. 2. Design method principle Consider the control loop shown in figure with the PI(D) controller C(s) and the plant described by a stable transfer function P(s). w e C(s) u l n P(s) - y Fig. Control loop Variables w, e and y denote setpoint, control error and process variable, respectively. Variables l and n denote disturbances affecting the control loop. It is well known, that required loop performance (e. g. gain and phase margins) could be reached by shaping of the Nyquist plot L( jω) = C( jω) P( jω). () For example, the minimum gain margin 2 (Gm>2) and minimum phase margin 60 (Pm 60 ) are equivalent with requirement, that points X = -/2 and X2 = /2(+ j 3) in fig. 2 should lie on the left side of L( jω ) or just on this curve. If Gm < 3 and Pm < 90 are required, the points X 3 = -/3 and X 4 = -j should lie on the right side of L( jω ). In such way the points X, X 2,, X 3, X 4 define required Nyquist plot shape.

Similarly, one can proceed with, if the restriction of the sensitivity function S( jω) = + L( jω) is required in a form sup S( jω) Ms, (2) ω or if the restriction of the complementary sensitivity function L( jω) T( jω) = + L( jω) is required in a form sup T( jω) M p. (3) ω It can be simply proved, that condition (2) (resp. (3)) is equivalent with requirement that the Nyquist plot L( jω) does not have any intersect with a circle having center and radius c = - = (resp. R Ms 2 M p (resp. c= ) (4) 2 M 2 p 2 p p M R= ). (5) M Now, consider the case, when only one shaping point X = u+jv is specified in the Nyquist plot plane. Our aim is to find all possible combinations of parameters k, k i of the PI controller with transfer function ki Cs () = k+, s which ensure, that the point X lies on the left side of the Nyquist curve. For this purpose, let us solve an equation L( jω) = ( k j )( a( ω) + jb( ω)) = u+ jv (6) ω for unknown k and k i, where a( ω) = Re( P( jω)) and b( ω) = Im( P( jω)). The relations obtained a( ω) u+ b( ω) v k = 2 2 a ( ω) + b ( ω) (7) [ a( ω) v b( ω) u] ω ki = 2 2 a ( ω) + b ( ω) define parametric curve in the PI parameters k, k i plane. This curve together with k, k i axis splits the parametric plane into several regions as it is shown in fig. 2b. We are interested only in positive values of k, k i in the first quadrant. It follows from (6) that the region border corresponds with PI parameters leading to the Nyquist plot passing through the X point. All points inside any region lead to the Nyquist plot having point X at the same side. More precisely, the number of encirclements of the point X by the Nyquist plot is the same. Usually just one region contains suitable points corresponding to the required location of the Nyquist plot and the point X. Any Nyquist plot shaping problem with a finite number of shaping points could be transferred to the one-point case described above. If we find corresponding regions R i for all points X i, i=,2,,n, than their intersection R n =I i= R i k i

contains all points solving our problem. It is suitable to choose a point with the maximum k i coordinate from all possible solutions. The PI controller has then a maximum gain in low frequencies and also minimizes the criterion + IE = etdt (), when the step is applied on the closed loop set point. 0 - X X 3 60 o Im Re k point X encircled twice point X at the left side from L(jω) point X encircled once L(jω ) X 2 X 4 k i (a) (b) Fig. 2 (a) Nyquist plot shaping (b) Curve (7) and corresponding regions 3. PID controller design In this part, the method presented above is used for a real 2DOF PID controller design. The controller is in according to ISA norm described by the relation Ts d U() s = k bw() s Y() s + [ W() s Y() s ] + [ cw() s Y() s ] Ts T, (8) i d s+ N where Y(s), W(s) and U(s) denote images of process variable, set point and manipulated variable. Further k denotes gain, T i and T d are integral and derivative time constants, b and c are weight coefficients of the set point in proportional and derivative part, and parameter N specifies the degree of derivative part filtering. It follows from relation (8), that the closed loop stability and disturbance response are dependent only on parameters k, T i, T d and N, while the closed loop response can be independently influenced by the parameters b and c. That is why the controller design could be divided into two steps. Firstly, we design the DOF PID controller (b = c = ) described by the transfer function Ts d Cs () = k + + Ts T (9) i d s+ N and then we tune parameters b and c manually ( b 0, and c=0 are recommended). Since the controller (9) has four design parameters k, T i, T d and N, we relate them by additional conditions, so that the parameter plane method could be used. Parameter N has the clear physical interpretation. When N, we obtain an ideal PID controller, while the derivative part is switched off if N 0.

The value of N is usually chosen in the interval,0 according to the noise in process variable. The ratio f =T d / T i is often equal to ¼ [4]. Newer studies [3] acknowledged correctness of this value especially for plants with a monotone step response. Note, that f = 0 leads to PI controller and f > /4 enhances the derivative part. When N and f are constant, we only need to determine two parameters k and k i = k /T i like in part 2. Computation of region borders is much more complicated but the design technique can be used without changes. The rule of optimal parameters choice is also the same: the optimal point has a maximum k i coordinate. More details could be found in [5]. 4. User description of the applet Let us shortly describe the graphical user interface of the applet, which is free accessible on www.pidlab.com The applet area is divided into five basic windows (fig. 3) Fig. 3 General view of the applet ) Process model (PM) In this window, we can specify a new process model (transfer function) using one of four ways selected right in the middle. We can specify coefficients of numerator and denominator of the transfer function, time constants or zeroes and poles. The last possibility is the second order plus dead time form. All forms can be complemented by the gain and the transport delay. The new process model should always be confirmed by OK button. ) Controller (C) It is possible to set all parameters of the 2DOF ISA PID controller by hand. The controller design is divided into following steps.

) Define new process model 2) Choose type of the controller (PI/PID). Choose the parameters N and f. 3) Define design specifications in the Nyquist plot plane (DS window). 4) By clicking on any point in satisfactory region in the RP window (the intersection of all regions corresponding to design specifications) we obtain the parameters k and k i and related T i, T d. 5) Finally, we can change all parameters by hand. Especially decreasing of the parameter b could cause a lower overshot in closed loop. 3) Design specifications (DS) In this window, we can specify general requirements on Nyquist plot shape using shaping points. We can easily specify gain and phase margins or a restriction of the (complementary) sensitivity function by special choice of these points. Points could be added by left mouse button click. All points are listed in the design specifications list. All points can be edited manually after selection in this list. Gain and phase margins can be easily specified (with the gain and phase margins checkbox checked) on the unit circle resp. on the negative real axis. 4) Robustness regions in PID parameter plane (RP) This window is active only if at least one design specification is defined. The regions corresponding to design specifications are painted in this window. We need to click here to choose or change controller parameters k and k i. 5) Loop performance (LP) One of four graphs can be chosen in this window. The process step response is painted when new process is defined. Other graphs are available only if all controller parameters are specified. We can choose the closed loop set point and load disturbance step response, the sensitivity function or the complementary sensitivity function. Graph Axes We can change the axes ranges with buttons under each graph if zoom checkbox is checked. When we press the auto button, ranges are set automatically. The best way to zoom is to define the zoom rectangle by mouse dragging. Settings and status line In a lower part of the applet is the settings panel. Here we can change the frequency ranges for all characteristics. We can also set the simulation time and the period of discretization of the process and the controller (used for simulation). The status line can be very useful. Actual applet state information as so as short help about important components are printed here. 5. Practical example Let us use the applet for brick press controller design. The brick press is described by the transfer function 00s e Fs () = (40s+ )(0s+ ). The controller design is divided into following steps. ) Process model definition We specify time the constants, gain and transport delay in BODE form. After that, we need to confirm new model by the OK button.

2) Design specifications We use default values of controller type (PID), N and f. Then we specify gain and phase margins (P m =60, G m =2) by mouse clicking in DS window. We can set the P m and G m values more precisely manually after selection in design specifications list. If we want to see sensitivity and complementary sensitivity functions restrictions (so called m-circles), we must check the m-circles checkbox. The required Nyquist plot shaping can be reached by choosing points on these circles. 3) Choice of PID controller parameters K p, K i in parameter plane We will see two regions corresponding to the gain and phase margins shaping points. The region actually selected in design specification list is painted by red color. If we want to fulfill both conditions, we must choose the parameters at the regions intersect by mouse clicking. 4) Manual tuning of PID parameters We will see all PID parameters after clicking in RP window. Parameters b and c are set at default values b =, c = 0. If we set the parameter b = 0.3, the closed loop behavior will be without overshot. We see the closed loop

response in LP window. The process variable is painted blue and the manipulating variable is painted green. Finally, we can ensure that the Nyquist plot passes through both points and the closed loop has required performance. Let us look now, how the region shape depends on values N and f. Note that the shape is strongly influenced (mainly for processes without dead time) by the value of derivative part filter parameter N. It is clear, that most of methods based on ideal PID controller will not work properly, because the influence of N can not be ignored. (a) (b) Fig. 4 Dependency of the shape of the region on values N and f for process /(s+) 3 with time delay 0 (4a) resp. 0 (4b) and shaping point X 2 (Pm = 60 ). 5. Conclusion The main purpose of this paper is to introduce a new tool for the PID controller design (free accessible Java applet on www.pidlab.com) based on new Nyquist plot shaping method. This method allows to design the real 2DOF PID controller for practical requirements, e. g. gain and phase margins. But the method allows to specify more complicated Nyquist plot shape requirements. The method is usable for any linear system (unstable, non-minimum phase, with or without dead time). This method is useful especially for stable non-oscillatory or slightly oscillatory processes, where the Nyquist plot shape requirements are well known.

References [] SHAFEI, Z. - SHENTON, A.T. (997). Frequency domain Design of PID Controllers for Stable and Unstable Systems with Time Delay, Automatica, Volume 33, Issue 2, December 997, Pages 2223-2232. [2] NEIMARK, Y. I. (948). Structure of the D-partition of the space of polynomials and the diagram of Vishnegradskii and Nyquist, Dokl Akad Nauk SSSR, 59, 853. [3] ÅSTRÖM, K. J. - HÄGGLUND, T. (995). PID controllers. Theory design and tuning, NC: Instrument Society of America, Research Triangle Park, 995. [4] ZIEGLER, J. G. - NICHOLS, N.B (942). Optimum settings for automatic controllers. Trans. ASME, 64, 759-768. [5] SCHLEGEL, M. - MERTL, J. - ČECH, M. (2003). Generalized robustness regions for PID controllers. Proceedings of Process Control Conference 2003, Štrbské Pleso, Slovak Republic