Loop Design. Chapter Introduction

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

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

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

Module 08 Controller Designs: Compensators and PIDs

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

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

CDS 101/110: Lecture 8.2 PID Control

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Linear control systems design

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Winter Semester, Linear control systems design Part 1

Dr Ian R. Manchester

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

Scalar control synthesis 1

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

EE 482 : CONTROL SYSTEMS Lab Manual

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

Experiment 9. PID Controller

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

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual

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

Testing Power Sources for Stability

Chapter 4 PID Design Example

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

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

Lecture 7:Examples using compensators

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

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

EEL2216 Control Theory CT2: Frequency Response Analysis

CDS 101/110: Lecture 10-2 Loop Shaping Design Example. Richard M. Murray 2 December 2015

Fundamentals of Servo Motion Control

Frequency Response Analysis and Design Tutorial

EC CONTROL SYSTEMS ENGINEERING

EE 3TP4: Signals and Systems Lab 5: Control of a Servomechanism

This manuscript was the basis for the article A Refresher Course in Control Theory printed in Machine Design, September 9, 1999.

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

Gain From Using One of Process Control's Emerging Tools: Power Spectrum

New PID Tuning Rule Using ITAE Criteria

Different Controller Terms

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

JUNE 2014 Solved Question Paper

2.7.3 Measurement noise. Signal variance

of harmonic cancellation algorithms The internal model principle enable precision motion control Dynamic control

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

Evaluation and Tuning of Robust PID Controllers

ECE317 : Feedback and Control

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

Chapter 5 Frequency-domain design

2. Basic Control Concepts

Position Control of DC Motor by Compensating Strategies

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

PID-control and open-loop control

EES42042 Fundamental of Control Systems Bode Plots

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

BSNL TTA Question Paper Control Systems Specialization 2007

This chapter discusses the design issues related to the CDR architectures. The

[ á{tå TÄàt. Chapter Four. Time Domain Analysis of control system

Relay Feedback based PID Controller for Nonlinear Process

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

ME451: Control Systems. Course roadmap

Modified ultimate cycle method relay auto-tuning

DESIGN AND VALIDATION OF A PID AUTO-TUNING ALGORITHM

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

and using the step routine on the closed loop system shows the step response to be less than the maximum allowed 20%.

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.

Mechatronics. Analog and Digital Electronics: Studio Exercises 1 & 2

Specify Gain and Phase Margins on All Your Loops

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

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

TCS3 SERVO SYSTEM: Proposed Design

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

Chapter 5. Tracking system with MEMS mirror

Closed-loop System, PID Controller

Implementation of decentralized active control of power transformer noise

Embedded Control Project -Iterative learning control for

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

Chapter 2 Non-parametric Tuning of PID Controllers

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

CONTROL DESIGN FOR AN IRRIGATION CHANNEL FROM PHYSICAL DATA

Sfwr Eng/TRON 3DX4, Lab 4 Introduction to Computer Based Control

Paul Schafbuch. Senior Research Engineer Fisher Controls International, Inc.

A Machine Tool Controller using Cascaded Servo Loops and Multiple Feedback Sensors per Axis

Designer Series XV. by Dr. Ray Ridley

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

Applied Electronics II

Design of a Regenerative Receiver for the Short-Wave Bands A Tutorial and Design Guide for Experimental Work. Part I

CHAPTER 11: DIGITAL CONTROL

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

Pole, zero and Bode plot

Tutorial on IMCTUNE Software

Tuning interacting PID loops. The end of an era for the trial and error approach

C1-207 TRANSMISSION CAPACITY INCREASE BY RETURNING POWER SYSTEM STABILIZERS

International Journal of Research in Advent Technology Available Online at:

Design and Analysis for Robust PID Controller

M s Based Approach for Simple Robust PI

CHAPTER 1 INTRODUCTION

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

A M E M B E R O F T H E K E N D A L L G R O U P

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

PROCESS DYNAMICS AND CONTROL

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

Thursday, 1/23/19 Automatic Gain Control As previously shown, 1 0 is a nonlinear system that produces a limit cycle with a distorted sinusoid for

Transcription:

Chapter 8 Loop Design 8.1 Introduction This is the first Chapter that deals with design and we will therefore start by some general aspects on design of engineering systems. Design is complicated because there are many issues that have to be considered. Much research and development has been devoted to development of design procedures and there have been numerous attempts to formalize the design problem. It is useful to think about a design problem in terms of specifications, trade-offs, limitations, design parameters. In additions it is useful to be aware of the fact that because of the richness of design problem there are some properties that are captured explicitly by the design method and other properties that must be investigated when the design is completed. Specifications are an attempt to express the requirements formally. For control systems they typically include: attenuation of load disturbances, measurement noise, process uncertainty and command signal following. Specifications are typically expressed by quantities that capture these features. For control systems the fundamental quantities are typically transfer functions or time responses and specifications are some representative features of these functions. A design fundamentally involves trade-offs. It is also extremely important to be aware of fundamental limitations to avoid unrealistic specifications and impossible trade-offs. Sometimes it is attempted to capture the trade-offs in a single optimization criterion, but such a criterion always includes parameters that have to be chosen. It is often useful to make the trade-offs explicit and to have design parameters that gives the designer control of them. A design method typically focuses on some aspects of a design problem but it is often difficult to capture all aspects of a design 129

13 CHAPTER 8. LOOP DESIGN problem formally. There will frequently be several properties that must be investigated separately when the design is completed. In control system design it is common practice to verify a design by extensive simulation that may include hardware in the loop. When discussing design in this and the following chapters we have made an attempt to emphasize the fundamental tradeoffs and the design parameters. In this Chapter we will present a design method which is focused on the loop transfer function of the system. The method is focused on design a feedback controller that satisfies can deal with disturbances and process uncertainty. The response to reference signals can later be dealt with using feedforward which is discussed in the next chapter. The idea of loop shaping is outlined in Section 8.2 which present classical results that were developed when control emerged in the early 194s. This section also contains some simple compenstators like lead-lag compensation, which is closely related to PID control. Section?? presents another classical result due to Bode, who developed the concept of an ideal loop transfer function for electronic amplifiers. In the following sections it is shown how the loop transfer function relates to important properties of the closed loop system. Section?? treats robustness properties. It is shown that the estimates developed earlier can be refined to give more precise information. Two graphical tools, the Hall diagram and the Nichols chart are also introduced. Section?? deals with load disturbances. An estimate the norm of the transfer function from load disturbances to process output based on the crossover frequency is derived. The result shows that it is typically advantageous to have a high crossover frequency. Section?? deals with measurement noise. An estimate of the norm of the transfer function from measurement noise to the control signal is developed. It is shown that a high crossover frequency is typically associated with high controller gains at frequencies above the crossover frequency. In Section?? it is shown that non-minimum phase dynamics imposes severe constraints on the admissible crossover frequencies. Summarizing the findings of this section with the results of Sections??,??, and?? we are in a good position to discuss the major trade-offs in the choice of gain crossover frequency. First the choice is severely restricted if process dynamics is not minimum phase. The choice is then governed by a compromise between robustness, attenuation of load disturbances and injection of measurement noise. It turns out that the compromise can be captured in a single diagram. This diagram also indicates the complexity of the controller that is required for different choices. This is shown in Section??.

8.2. COMPENSATION 131 8.2 Compensation The idea of loop shaping is to find a controller so that the loop transfer function has desired properties. Since the loop transfer function L = P C is the product of the transfer functions of the process and the controller it is easy to see how the loop transfer function is influenced by the controller. Compensation is typically done by successive modifications of the loop transfer function starting with proportional control. If the desired properties cannot be obtained by proportional control the controller is modified by multiplying the controller transfer function by compensating networks having simple transfer functions. The design is conveniently visualized using bode diagrams. Since the Bode diagram is logarithmic multiplication by a compensating network corresponds to additions in the Bode diagram. We start by discussing a desired properties of a loop transfer function, then we present some simple compensators and we end by a few examples. In the following sections we will present a more systematic treatment where we discuss how th different properties of the loop are influenced by the loop transfer function. Properties of the Loop Transfer Function The Bode diagram of a typical loop transfer function is shown in Figure 8.1. Recall that the lowest frequency where the loop transfer function has gain 1 is called gain crossover frequency, see Section??. This parameter is an important design parameter in loop shaping. When we talk about high and low frequencies in the following we are using the crossover frequency as a reference. The gain curve of a typical loop transfer function is decreasing as shown in Figure 8.1. The behavior at low frequencies determine attenuation of load disturbances and behavior of tracking of low frequency reference signals. The behavior around the crossover frequency determines robustness and sensitivity to modeling errors. The gain margin g m and the phase margin ϕ m are easily visualized in the Bode plot. The behavior at high frequency determines sensitivity to measurement noise. It is desirable to have high gain at low frequency and rapidly decreasing gain after the gain crossover frequency. Since we require that the closed loop system should be stable, the slope of the gain curve at crossover n gc cannot be too steep at the crossover. However, the phase of a system is related to its gain, and hence it is not possible to independently specify these quantities. In the remainder of this chapter we shall explore some of the limits of this tradeoff between gain and phase through a variety of standard compensator

132 CHAPTER 8. LOOP DESIGN 1 2 G(ωgc) 1 log 1 g m PSfrag replacements arg G(ω) 1 2 12 14 16 18 2 22 24 26 1 2 1 1 1 1 1 1 2 ω 1 2 1 1 1 1 1 1 2 ω ϕ m Figure 8.1: Bode plot of the loop transfer function L(s) = 1(s+.316) s 2 (s+3.16)(s+2). designs. Proportional Compensation Lead Compensation Lead compensation is used to improve the stability margin of a system or to increase the crossover frequency. A lead compensator has the transfer function G(s) = s + b (8.1) s/n + b where N > 1. This transfer function has unit gain for low frequencies, ω << b, and the gain N at high frequencies ω >> b. This compensator has its largest gain, max ω G(iω) = N, at high frequencies. The largest phase lead is given by N 1 ϕ = max arg G(iω) = arctan ω 2 N, which is obtained for ω = ω m = a N. The gain at ω m is G(iω m ) = N. The achievable phase lead increases with N but it is less than 9. Phase

8.2. COMPENSATION 133 1 2 G(ωgc) 1 1 1 1 1 1 1 1 1 2 1 PSfrag replacements arg G(ω) 8 6 4 2 1 1 1 1 1 1 2 ω Figure 8.2: Bode plot of the transfer function G(s) = s+b s/n+b of a lead compensator with b = 1 and N = 1 (full lines) and N = (dashed lines) which is a PD controller. leads 2, 3, 4, 45, 5 and 6 correspond to N = 2, 3, 4.6, 5.8 7.5 and 13.9. A Bode plot of the compensator is given in Figure 8.2 The phase of the compensator is always positive, which explains the name lead compensator. We illustrate the used of lead compensation by an example. Example 3 (Lead Compensation). To illustrate lead compensation we consider a process with the transfer function P (s) = 25 s 2 + 25s + 25 which represents the scaled transfer function of a MEMS accelerometer. The process has a bandwidth of 5 rad/s and very low damping ζ =.5. It is desired to have a closed loop system with a bandwidth of 5 krad/s and good damping. To simplify the writing we first change the frequency scale to krad/s instead of rad/s and the process transfer function then becomes P (s) =.25 s 2 +.25s +.25

134 CHAPTER 8. LOOP DESIGN 1 4 G(ω) 1 2 1 1 2 1 2 1 1 1 1 1 1 2 ω PSfrag replacements arg G(ω) 5 1 15 2 25 1 2 1 1 1 1 1 1 2 ω 25 Figure 8.3: Bode plot of the loop transfer function L(s) = s 2 +.25s+.25 (dashed lines) and the compensated loop transfer function L c (s) = 25(3s+5) (s+15)(s 2 +.25s+.25) (full lines). To obtain the desired bandwidth the crossover frequency should be around 5 which means that the process gain has to be about 25. The Bode plot of the loop transfer function with a gain of 25 is shown in Figure 8.3. The figure shows that the phase margin is very small. To improve the phase margin we introduce a lead compensator. To have reasonable damping we choose N = 9 which gives a phase lead of 53. Adjusting the gain so that the the gain of the compensator is 1 at the crossover frequency ω gc = 5 we find that the compensator is G(s) = 1 s + 5/3 3 s/9 + 5/3 = 3s + 5 s + 15 and the compensated loop transfer function becomes L(s) = 25(3s + 5) (s + 15)(s 2 +.25s +.25) A Bode plot of the loop transfer function is given in Figure??.

8.3. PID COMPENSATION 135 Additional compensation mechanisms* 8.3 PID Compensation The PID controller is the most common form of feedback. It was an essential element of early governors and it became the standard tool when process control emerged in the 194s. In process control today, more than 95% of the control loops are of PID type, most loops are actually PI control. PID controllers are today found in all areas where control is used. The controllers come in many different forms. There are stand-alone systems in boxes for one or a few loops, which are manufactured by the hundred thousands yearly. PID control is an important ingredient of a distributed control system. The controllers are also embedded in many special-purpose control systems. PID control is often combined with logic, sequential functions, selectors, and simple function blocks to build the complicated automation systems used for energy production, transportation, and manufacturing. Many sophisticated control strategies, such as model predictive control, are also organized hierarchically. PID control is used at the lowest level; the multivariable controller gives the setpoints to the controllers at the lower level. The PID controller can thus be said to be the bread and butter of control engineering. It is an important component in every control engineer s tool box. PID controllers have survived many changes in technology, from mechanics and pneumatics to microprocessors via electronic tubes, transistors, integrated circuits. The microprocessor has had a dramatic influence on the PID controller. Practically all PID controllers made today are based on microprocessors. This has given opportunities to provide additional features like automatic tuning, gain scheduling, and continuous adaptation. In this section we give a brief introduction to this common class of compensator. A more detailed description of the design of PID compensators can be found in (Astrom, 23). We will start by summarizing the key features of the PID controller. The textbook version of the PID algorithm is described by: ( u(t) = K e(t) + 1 T i t ) de(t) e(τ)dτ + T d dt (8.2) where y is the measured process variable, r the reference variable, u is the control signal and e is the control error (e = y sp y). The reference variable is often called the set point. The control signal is thus a sum of three terms: the P-term (which is proportional to the error), the I-term

136 CHAPTER 8. LOOP DESIGN 1 5 1 15 2 2 2 5 1 15 2 Figure 8.4: Simulation of a closed-loop system with proportional control. The process transfer function is P (s) = 1/(s + 1) 3. (which is proportional to the integral of the error), and the D-term (which is proportional to the derivative of the error). The controller parameters are proportional gain K, integral time T i, and derivative time T d. The integral, proportional and derivative part can be interpreted as control actions based on the past, the present and the future as is illustrated in Figure??. The derivative part can also be interpreted as prediction by linear extrapolation as is illustrated in Figure??. The action of the different terms can be illustrated by the following figures which show the response to step changes in the reference value in a typical case. Proportional control is illustrated in Figure 8.4. The controller is given by (8.2) with T i = and T d =. The figure shows that there is always a steady state error in proportional control. The error will decrease with increasing gain, but the tendency towards oscillation will also increase. Figure 8.5 illustrates the effects of adding integral. It follows from (8.2) that the strength of integral action increases with decreasing integral time T i. The figure shows that the steady state error disappears when integral action is used. Compare with the discussion of the magic of integral action in Section Section??. The tendency for oscillation also increases with decreasing T i. Figure 8.6 illustrates the effects of adding derivative action. The parameters K and T i are chosen so that the closed-loop system is oscillatory. Damping increases with increasing derivative time, but decreases again when derivative time becomes too large. Recall that derivative action can be in-

8.4. DESIGN CONSIDERATIONS 137 1 5 1 15 2 2 1 5 1 15 2 Figure 8.5: Simulation of a closed-loop system with proportional and integral control. The process transfer function is P (s) = 1/(s+1) 3, and the controller gain is K = 1. terpreted as providing prediction by linear extrapolation over the time T d. Using this interpretation it is easy to understand that derivative action does not help if the prediction time T d is too large. In Figure 8.6 the period of oscillation is about 6 s for the system without derivative action. Derivative actions ceases to be effective when T d is larger than a 1 s (one sixth of the period). Also notice that the period of oscillation increases when derivative time is increased. 8.4 Design Considerations Reference tracking Consider the standard unity gain feedback loop, shown in Figure??. The transfer function between the reference input r and the output error e is given by 1 H er (s) = 1 + P C. This transfer function is known as the sensitivity function: S = 1 1 + P C = 1 1 + L. (8.3) This transfer function will be very useful for specifying performance and so we investigate some of its properties.

138 CHAPTER 8. LOOP DESIGN 1 5 1 15 2 2 2 5 1 15 2 Figure 8.6: Simulation of a closed-loop system with proportional, integral and derivative control. The process transfer function is P (s) = 1/(s + 1) 3, the controller gain is K = 3, and the integral time is T i = 2. A good control design should make the sensitivity function small, so that the error is close to zero. However, for most plants P (jω) as ω and if our controller has finite gain at high frequencies, then S(jω) as well. Hence it is generally not possible to have small tracking error over all possible frequencies. Noise rejection Another transfer function of common interest is the transfer function between the sensor noise n and the output y: H yn = P C 1 + P C. This transfer function is known as the complementary sensitivity function: T = P C 1 + P C = L = 1 S. (8.4) 1 + L The term complementary sensitivity function comes from the last relationship in the above equation. A good control design should make the complementary sensitivity function small, so that measurement noise down not affect the output. However, we note that since S + T = 1, it is not possible to simultaneously make the tracking error small and reject sensor noise at the same frequency. The

8.5. FURTHER READING 139 reason for this is simple: we cannot distinguish sensor noise from changes in the reference signal (they are added to together). Hence, it is important that we design our system so that the sensor noise is small in the frequency range in which we wish to track our reference signal. The complementary sensitivity function is typically used to shape the response of the system at high frequency, where we cannot achieve tracking of the input. We note that if L 1 is small at high frequency, then T 1 and hence sensor noise is attenuated. The Gang of Four We have seen that the sensitivity function and the complementary sensitivity function naturally arise from looking at selected input/output pairs in the basic feedback loop. The two other transfer functions of interest relate the measurement noise to the control signal, H un, and the process disturbances to the output error, H yd. These transfer functions can be written in terms of the process and controller transfer functions as H un = C 1 + P C = CS H yd = P 1 + P C = P S. The transfer functions have many interesting properties that will be discussed in then following. A good insight into these properties are essential for understanding feedback systems. The load disturbance sensitivity function is sometimes called the input sensitivity function and the noise sensitivity function is sometimes called the output sensitivity function. 8.5 Further Reading

14 CHAPTER 8. LOOP DESIGN