A Candidate to Replace PID Control: SISO Constrained LQ Control 1

Similar documents
A Rule Based Design Methodology for the Control of Non Self-Regulating Processes

BINARY DISTILLATION COLUMN CONTROL TECHNIQUES: A COMPARATIVE STUDY

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

Model Predictive Controller Design for Performance Study of a Coupled Tank Process

MPC AND RTDA CONTROLLER FOR FOPDT & SOPDT PROCESS

PID TUNING WITH INPUT CONSTRAINT: APPLICATION ON FOOD PROCESSING

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

Anti Windup Implementation on Different PID Structures

Review of Tuning Methods of DMC and Performance Evaluation with PID Algorithms on a FOPDT Model

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

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

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

Design of PID Controller for IPDT System Based On Double First Order plus Time Delay Model

4F3 - Predictive Control

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

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

Variable Structure Control Design for SISO Process: Sliding Mode Approach

A Comparison of Optimal Control Strategies for a Toy Helicopter

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

CONTROLLER DESIGN BASED ON MODEL PREDICTIVE CONTROL FOR A NONLINEAR PROCESS

Decentralized and distributed control

Building Effective Seed Models For Adaptive Process Control. John Campbell Director, APC Product Management AspenTech

Closing the loop around Sensor Networks

M s Based Approach for Simple Robust PI

MM7 Practical Issues Using PID Controllers

Loop Design. Chapter Introduction

LAMBDA TUNING TECHNIQUE BASED CONTROLLER DESIGN FOR AN INDUSTRIAL BLENDING PROCESS

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

Process Control Laboratory Using Honeywell PlantScape

Glossary of terms. Short explanation

ROBUST POWER SYSTEM STABILIZER TUNING BASED ON MULTIOBJECTIVE DESIGN USING HIERARCHICAL AND PARALLEL MICRO GENETIC ALGORITHM

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

Copyrighted Material 1.1 INTRODUCTION

H Multi-objective and Multi-Model MIMO control design for Broadband noise attenuation in a 3D enclosure

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

Comparative Study of PID Controller tuning methods using ASPEN HYSYS

CHAPTER 3 DESIGN OF MULTIVARIABLE CONTROLLERS FOR THE IDEAL CSTR USING CONVENTIONAL TECHNIQUES

Closed-loop System, PID Controller

MPC Design for Power Electronics: Perspectives and Challenges

Parameter Estimation based Optimal control for a Bubble Cap Distillation Column

PROCESS DYNAMICS AND CONTROL

Procidia Control Solutions Dead Time Compensation

Structure Specified Robust H Loop Shaping Control of a MIMO Electro-hydraulic Servo System using Particle Swarm Optimization

Developing Process Control Experiments for Undergraduate Chemical Engineering Laboratories

Neural Network Predictive Controller for Pressure Control

Analytical method of PID controller design for parallel cascade control

MODEL predictive control (MPC) is widely recognized

Design of Model Based PID Controller Tuning for Pressure Process

Some Tuning Methods of PID Controller For Different Processes

Control Systems Overview REV II

Welcome to SENG 480B / CSC 485A / CSC 586A Self-Adaptive and Self-Managing Systems

The issue of saturation in control systems using a model function with delay

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

THE DESIGN AND SIMULATION OF MODIFIED IMC-PID CONTROLLER BASED ON PSO AND OS-ELM IN NETWORKED CONTROL SYSTEM

TAMING THE POWER ABB Review series

2.7.3 Measurement noise. Signal variance

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

A Case Study of GP and GAs in the Design of a Control System

Robust optimization-based multi-loop PID controller tuning: A new tool and an industrial example

Optimization-based design of multisine signals for plant-friendly identification of highly interactive systems

PROCESS DYNAMICS AND CONTROL

Automatic Control Motion control Advanced control techniques

Logic Developer Process Edition Function Blocks

Energy-Based Damping Evaluation for Exciter Control in Power Systems

Simple Models That Illustrate Dynamic Matrix Control

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

Robust PID Auto-tuning for the Quadruple Tank System

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

Experiment 9. PID Controller

CDS 101/110: Lecture 8.2 PID Control

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

New Technology for Closed-Loop System Identification, PID Control Loop Optimization and Advanced Process Control

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

COMPUTATION OF STABILIZING PI/PID CONTROLLER FOR LOAD FREQUENCY CONTROL

NEURAL NETWORK BASED LOAD FREQUENCY CONTROL FOR RESTRUCTURING POWER INDUSTRY

Direct Model Predictive Current Control of DC-DC Boost Converters

DC-DC converters represent a challenging field for sophisticated

ECE 100: Introduction to Engineering Design. Project No. 1 Description

Model Predictive Control in Medium Voltage Drives

Model Predictive Control of an Automotive Organic Rankine Cycle System

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

PID versus MPC Performance for SISO Dead-time Dominant Processes

Tutorial on IMCTUNE Software

Contents lecture 4. Automatic Control III. Lecture 4 Controller structures and control design

Comparisons of Different Controller for Position Tracking of DC Servo Motor

Continuous Time Model Predictive Control for a Magnetic Bearing System

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

MODEL-BASED PREDICTIVE ADAPTIVE DELTA MODULATION

CL Digital Control Kannan M. Moudgalya

Time-average constraints in stochastic Model Predictive Control

Relay Feedback based PID Controller for Nonlinear Process

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

A New Control Theory for Dynamic Data Driven Systems

DYNAMICS and CONTROL

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

Some results on optimal estimation and control for lossy NCS. Luca Schenato

Getting the Best Performance from Challenging Control Loops

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

Design of CMOS Phase Locked Loop

SOME SIGNALS are transmitted as periodic pulse trains.

Transcription:

A Candidate to Replace PID Control: SISO Constrained LQ Control 1 James B. Rawlings Department of Chemical Engineering University of Wisconsin Madison Austin, Texas February 9, 24 1 This talk is based on [7, 8] by Pannocchia, Laachi and Rawlings TWMCC February 9, 24 1

Outline Motivation. PID and Model-based control Proposal. CLQ control Examples and comparison Conclusions TWMCC February 9, 24 2

Motivation: six myths of PID and LQ control Myth 1: A PID controller is simpler to implement and tune than an LQ controller. Myth 2: A PID controller with model-based tuning is as good as modelbased control for simple processes such as SISO, 1st order plus time delay. Myth 3: A well-tuned PID controller is more robust to plant/model mismatch than an LQ controller. Myth 3 (alternate version): LQ controllers are not very robust to plant/model mismatch TWMCC February 9, 24 3

Motivation: six myths of PID and LQ control Myth 4: Integrating the tracking error as in PID control is necessary to remove steady-state offset. Applying some anti-windup strategy for this integrator is therefore necessary when an input saturates. Myth 5: For simple processes (SISO, 1st order plus time delay) in the presence of input saturation, a PID controller with a simple antiwindup strategy is as good as model predictive control. Myth 6: PID controllers are omnipresent because they work well on most processes. TWMCC February 9, 24 4

Introduction PID control for single-input single-output (SISO) systems shows up everywhere in chemical process applications and process control education. Tuning rules are presented in numerous texts and, surprisingly, remain a topic of current control research [1, 1]. Question: advantage? is PID s popularity due to any concrete technological TWMCC February 9, 24 5

Technical advantages ascribed to PID control PID is simple, fast, and easy to implement in hardware and software PID is easy to tune PID provides good nominal control performance PID is robust to model errors TWMCC February 9, 24 6

Model-based Control Model-based control methods include linear quadratic (LQ) control of unconstrained systems, and model predictive control (MPC) of constrained systems MPC is regarded by many in process control as complex to implement and tune The robustness of LQ control to model error has been a topic of debate [2] Some claim that PID controllers outperforms MPC controllers in the rejection of unmeasured load disturbances [9] TWMCC February 9, 24 7

MPC s success in applications MPC has become the advanced controller of choice by industry mainly for the economically important, large-scale, multivariable processes in the plant The rationale for MPC in these applications is that the complexity of implementing MPC is justified only for the important loops with large payoffs TWMCC February 9, 24 8

A modest proposal To address this perception of complexity, we propose a constrained, SISO linear quadratic controller (CLQ) with the following features: CLQ is essentially as fast to execute as PID (within a factor of five regardless of system order) CLQ is easy to implement in software and hardware CLQ displays both higher performance and better robustness than PID controllers TWMCC February 9, 24 9

CLQ: regulation, estimation and steady-state targets regulator u k plant y k x s (k) u s (k) ˆx k estimator y t, u t target calculation ˆx k ˆd k Tuning parameters Regulator: output/input penalty, Q/S. Estimator: disturbance variance/measurement variance, Q d /R v. TWMCC February 9, 24 1

Implementation of CLQ Model: System plus disturbance to remove offset [4, 6, 5] [ ] [ ] [ ] x A B x = d 1 d k+1 [ ] [ ] x y k = C d k k + [ ] B u k m Target: analytical solution for SISO case (fast) Regulator: the expensive part Estimator: unconstrained Kalman filter (fast) ˆx k+1 = Aˆx k + L x (y k C ˆx k ) ˆd k+1 = ˆd k + L d (y k C ˆx k ) TWMCC February 9, 24 11

The regulator QP Let v = {v, v 1,..., v N 1 } be the sequence of inputs. We can write the regulator as a strictly convex QP: subject to: 1 min v 2 vt Hv + v T c (1a) u ụ. u v v 1. v N 1 u ụ. u (1b) Let v = (v,..., v N 1 ) denote the optimal solution to (1). The current control input is u k = u s (k) + v TWMCC February 9, 24 12

Storing the active sets of the regulator u(t) x(t) k 1 Past k Present k + 1 Future k + 2 t value of control objective Each control move u k can be at the upper bound, at the lower bound, or somewhere in between. We construct all combinations of constraints, 3 N. For N = 4, 3 4 = 81 different active sets. TWMCC February 9, 24 13

Regulator implementation Two basic steps 1. The offline generation of a solution table. This step involves solving linear equations, multiplications and additions. 2. The online table scanning given the current value of x. This step involves only multiplications and additions and checking conditionals. These same operations are required in PID control. TWMCC February 9, 24 14

The active set table u = K i x + b i N = 2 N = 4 i constraint set K i b i 1 {u, u} u 2 {u, } u 3 {u, u} u 4 {, u} K 4 b 4 5 {, } K 5 b 5 6 {, u} K 6 b 6 7 {u, u} u 8 {u, } u 9 {u, u} u i constraint set K i b i 1 {u, u, u, u} u 2 {u, u, u, } u 3 {u, u, u, u} u 4 {,,, u} K 4 b 4 41 {,,, } K 41 b 41 42 {,,, u} K 42 b 42 79 {u, u, u, u} u 8 {u, u, u, } u 81 {u, u, u, u} u TWMCC February 9, 24 15

Example 1 First order plus time delay The first example is a first order plus time delay (FOPTD) system: G 1 (s) = e 2s 1s + 1 sampled with T s =.25 The input is assumed to be constrained u 1.5 The control horizon is N = 4 TWMCC February 9, 24 16

Tuning The estimator is designed with q x =.5 and R v =.1 for both CLQ controllers The regulator input penalty is s = 1 for CLQ 1, and s = 1 for CLQ 2. The tuning parameters for PID 1 are chosen according to Luyben s rules [3, p. 97]: K c = 2.51, T i = 17.3, T d =. The tuning parameters for PID 2 are chosen according to Skogestad s IMC rules [11]: K c = 2.35, T i = 1, T d =. TWMCC February 9, 24 17

Setpoint change and load disturbances In all simulations the setpoint is changed from to 1 at time zero At time 25 a load disturbance passing through the same dynamics as the plant of magnitude.25 enters the system at time 5 the disturbance magnitude becomes 1 (which makes the setpoint 1 unreachable) finally at time 75 the disturbance magnitude becomes.25 again. TWMCC February 9, 24 18

FOPTD system: nominal case. 1.2 1.6 Controlled variable 1.8.6.4.2 2 4 Time 6 CLQ 1 CLQ 2 PID 1 PID 2 Setpoint 8 1 Manipulated variable 1.4 1.2 1.8.6.4.2 2 4 Time 6 CLQ 1 CLQ 2 PID 1 PID 2 8 1 Figure 1: FOPTD system: nominal case. TWMCC February 9, 24 19

FOPTD system: noisy case. 1.2 1.6 Controlled variable 1.8.6.4.2 -.2 2 4 Time 6 CLQ 1 PID 1 Setpoint 8 1 Manipulated variable 1.5 1.4 1.3 1.2 1.1 1.9.8.7.6 2 4 Time 6 CLQ 1 PID 1 8 1 Figure 2: FOPTD system: noisy case. TWMCC February 9, 24 2

FOPTD system: effect of plant/model mismatch. Performance index 12 11 1 9 8 7 6 5 4 3 CLQ 1 (gain) PID 1 (gain) CLQ 1 (delay) PID 1 (delay).1.2.3.4 Relative mismatch (percent).5 Figure 3: FOPTD system: effect of plant/model mismatch. TWMCC February 9, 24 21

Example 2 Integrating system The second example is an integrating system: G 2 (s) = e 2s s sampled with T s =.25 The same input constraints, horizon, setpoint change and disturbances, and estimator parameters as in the first example are considered. CLQ 1 uses a regulator input penalty of s = 5, while CLQ 2 uses s = 5. The tuning parameters for PID 1 are chosen according to Luyben s rules [3, p. 97]: K c =.23, T i = 18.7, T d =. The tuning parameters for PID 2 are chosen according to Skogestad s IMC rules [11]: K c =.23, T i = 17, T d =. TWMCC February 9, 24 22

Integrating system: nominal case. Controlled variable 4 3 2 1-1 -2 CLQ 1 CLQ 2 PID 1 PID 2 Setpoint Manipulated variable 1.6 1.4 1.2 1.8.6.4.2 CLQ 1 CLQ 2 PID 1 PID 2-3 2 4 Time 6 8 1 -.2 2 4 Time 6 8 1 Figure 4: Integrating system: nominal case. TWMCC February 9, 24 23

Integrating system: noisy case. Controlled variable 4 3 2 1-1 -2 CLQ 1 PID 1 Setpoint Manipulated variable 1.6 1.4 1.2 1.8.6.4.2 CLQ 1 PID 1-3 2 4 Time 6 8 1 -.2 2 4 Time 6 8 1 Figure 5: Integrating system: noisy case. TWMCC February 9, 24 24

Integrating system: effect of plant/model mismatch. Performance index 11 1 9 8 7 6 5 4 3 2 1 CLQ 1 (gain) PID 1 (gain) CLQ 1 (delay) PID 1 (delay).1.2.3.4 Relative mismatch (percent).5 Figure 6: Integrating system: effect of plant/model mismatch. TWMCC February 9, 24 25

Example 3 Under-damped system The third example is a second-order, under-damped system: G 3 (s) = K τ 2 s 2 + 2τξs + 1 T s =.25, K = 1, τ = 5, ξ =.2 The same input constraints, horizon, setpoint change and disturbances, and estimator parameters as in the first example are assumed. CLQ 1 uses a regulator input penalty of s = 1, while CLQ 2 uses s = 1. The tuning parameters for PID 1 are chosen according to Luyben s rules [3, p. 97]: K c = 7.29, T i = 16.8, T d = 1.21. The tuning parameters for PID 2 are chosen following the same IMC approach as in [11]: K c =.4, T i = 2, T d = 12.5. TWMCC February 9, 24 26

Under-damped system: nominal case. 1.6 1.4 1.5 Controlled variable 1.2 1.8.6.4.2 2 4 Time 6 CLQ 1 PID 1 PID 2 Setpoint 8 1 Manipulated variable 1.5 -.5-1 2 4 Time 6 CLQ 1 PID 1 PID 2 8 1 Figure 7: Under-damped system: nominal case. TWMCC February 9, 24 27

Under-damped system: noisy case. 1.2 1 Manipulated variable (CLQ 1) 1.5 1.5 -.5-1 -1.5 2 4 Time 6 8 1 Controlled variable.8.6.4.2 -.2 CLQ 1 PID 1 Setpoint 2 4 Time 6 8 1 Manipulated variable (PID 1) 1.5 1.5 -.5-1 -1.5 2 4 Time 6 8 1 Figure 8: Under-damped system: noisy case. TWMCC February 9, 24 28

Under-damped system: effect of plant/model mismatch. Performance index 14 13 12 11 1 9 8 7 6 5 4 CLQ 1 (gain) PID 1 (gain) CLQ 1 (damping) PID 1 (damping).1.2.3.4 Relative mismatch (percent).5 Figure 9: Under-damped system: effect of plant/model mismatch. TWMCC February 9, 24 29

Computation time for CLQ The computational burden of CLQ is comparable to that of PID. average CPU time (ms) maximum CPU time (ms) PID.5.1 CLQ.22.55 The CPU is a 1.7 GHz Athlon PC running Octave TWMCC February 9, 24 3

Revisiting the six myths Myth 1: A PID controller is simpler to implement and tune than an LQ controller. The validity of this myth rests largely with the hardware and control software vendors. Not difficult to implement CLQ if vendors offer on DCS. Regarding tuning, it is not difficult to look up tuning rules for a PID controller. It is difficult to find PID tuning parameters that give similar performance and robustness to an LQ controller. The LQ controller is not difficult to tune. The effects of its two tuning parameters are clear. TWMCC February 9, 24 31

Myth 2: A PID controller with model-based tuning is as good as modelbased control for simple processes such as SISO, 1st order plus time delay. No evidence to support this myth. Figure 1 shows the opposite is true. If we restrict simple process to first-order process, this myth may remain in currency. TWMCC February 9, 24 32

Myth 3: A well-tuned PID controller is more robust to plant/model mismatch than an LQ controller. No evidence to support this myth. Figures 3, 6, and 9 show the opposite is true. No superior robustness properties for PID control given any recommended tuning rules. TWMCC February 9, 24 33

Myth 3 (alternate version): LQ controllers are not very robust to plant/model mismatch. One can construct processes for which the state feedback regulator has good margins but output feedback with the same regulator and a state estimator has poor margins [2]. We have yet to see examples that indicate this issue has industrial significance. TWMCC February 9, 24 34

Myth 4: Integrating the tracking error as in PID control is necessary to remove steady-state offset. Applying some anti-windup strategy for this integrator is therefore necessary when an input saturates. Integrating the tracking error is not required for offset free control as shown in all of the examples Integrating the model error is a sharper idea, and also removes the need for an anti-windup strategy when the input saturates. TWMCC February 9, 24 35

Myth 5: For simple processes (SISO, 1st order plus time delay) in the presence of input saturation, a PID controller with a simple antiwindup strategy is as good as model predictive control. The constraint handling properties of PID are not competitive with MPC. Even for SISO, the difference can be noticeable. See Figures 1 and 7. TWMCC February 9, 24 36

Myth 6: PID controllers are omnipresent because they work well on most processes. Seeing no evidence that PID controllers work particularly well, consider an explanation rooted more in human behavior. PID controllers are everywhere because vendors programmed them in the DCS when they replaced analog PID. TWMCC February 9, 24 37

Disruptive Technology Benefits of CLQ Provides a single, scalable control technology ranging from the fastest SISO loop to the slowest, largest, MIMO dynamic plant optimization Because of the model forecast, constraints and optimization features, we can network many SISO CLQs together to achieve full benefits of multivariable MPC control Take advantage of these smart controllers embedded at all plant levels Modify model used in forecast as conditions change Rewrite objective function to achieve changing plant objectives TWMCC February 9, 24 38

Disruptive Technology Costs of CLQ Vendor companies will have to implement on the DCS Modest modeling cost (SISO step test) Operators will need new training Textbook materials will need to be revised Inertia will have to be overcome TWMCC February 9, 24 39

Acknowledgments Gabriele Pannocchia, University of Pisa (coauthor) Nabil Laachi, Ecole des Mines de Saint-Etienne (coauthor) Drs. Badgwell, Brambilla, Downs and Ogunnaike Drs. Edgar and Qin John Eaton for CLQ coding advice Financial support from TWMCC members and NSF grant #CTS- 1536 TWMCC February 9, 24 4

References [1] D. Chen and D. E. Seborg. PID controller design based on direct synthesis and disturbance rejection. In AIChE Annual Meeting, page paper 276i, Reno (NV), USA, November 21. [2] J. C. Doyle. Guaranteed margins for LQG regulators. IEEE Trans. Auto. Cont., 23:756 757, 1978. [3] W. L. Luyben and M. L. Luyben. Essentials of Process Control. McGraw-Hill Int. Editions, 1997. [4] K. R. Muske and T. A. Badgwell. Disturbance modeling for offsetfree linear model predictive control. J. Proc. Cont., 12:617 632, 22. [5] G. Pannocchia. Robust disturbance modeling for model predictive control with application to multivariable ill-conditioned processes. J. Proc. Cont., 13:693 71, 23. TWMCC February 9, 24 41

[6] G. Pannocchia and E. C. Kerrigan. Offset-free control of constrained linear discrete-time systems subject to persistent unmeasured disturbances. In 42nd IEEE Conference on Decision and Control, Hawaii, USA, December 23. [7] G. Pannocchia, N. Laachi, and J. B. Rawlings. A candidate to replace PID control: SISO constrained LQ control. Submitted for publication in AIChE J, 24. [8] G. Pannocchia, N. Laachi, and J. B. Rawlings. A fast, easily tuned, SISO, model predictive controller. In DYCOPS, Boston, MA, July 24. [9] F. G. Shinskey. Feedback Controllers for the Process Industries. McGraw-Hill, Inc, 1994. [1] S. Skogestad. Probably the best simple PID tuning rules in the world. In AIChE Annual Meeting, page paper 276h, Reno (NV), USA, November 21. TWMCC February 9, 24 42

[11] S. Skogestad. Simple analytic rules for model reduction and PID controller tuning. J. Proc. Cont., 13:291 39, 23. TWMCC February 9, 24 43