Quantitative Process Control Theory
K12592_FM.indd 1
10/24/11 2:38:05 PM
AUTOMATION AND CONTROL ENGINEERING A Series of Reference Books and Textbooks Series Editors FRANK L. LEWIS, Ph.D., Fellow IEEE, Fellow IFAC
SHUZHI SAM GE, Ph.D., Fellow IEEE
Professor Automation and Robotics Research Institute The University of Texas at Arlington
Professor Interactive Digital Media Institute The National University of Singapore
Intelligent Diagnosis and Prognosis of Industrial Networked Systems, Chee Khiang Pang, Frank L Lewis, Tong Heng Lee, Zhao Yang Dong Classical Feedback Control: With MATLAB® and Simulink®, Second Edition, Boris J. Lurie and Paul J. Enright Synchronization and Control of Multiagent Systems, Dong Sun Subspace Learning of Neural Networks, Jian Cheng Lv, Zhang Yi, and Jiliu Zhou Reliable Control and Filtering of Linear Systems with Adaptive Mechanisms, Guang-Hong Yang and Dan Ye Reinforcement Learning and Dynamic Programming Using Function Approximators, Lucian Bus¸oniu, Robert Babuška, Bart De Schutter, and Damien Ernst Modeling and Control of Vibration in Mechanical Systems, Chunling Du and Lihua Xie Analysis and Synthesis of Fuzzy Control Systems: A Model-Based Approach, Gang Feng Lyapunov-Based Control of Robotic Systems, Aman Behal, Warren Dixon, Darren M. Dawson, and Bin Xian System Modeling and Control with Resource-Oriented Petri Nets, Naiqi Wu and MengChu Zhou Sliding Mode Control in Electro-Mechanical Systems, Second Edition, Vadim Utkin, Jürgen Guldner, and Jingxin Shi Optimal Control: Weakly Coupled Systems and Applications, Zoran Gajic´, Myo-Taeg Lim, Dobrila Skataric´, Wu-Chung Su, and Vojislav Kecman Intelligent Systems: Modeling, Optimization, and Control, Yung C. Shin and Chengying Xu Optimal and Robust Estimation: With an Introduction to Stochastic Control Theory, Second Edition, Frank L. Lewis, Lihua Xie, and Dan Popa Feedback Control of Dynamic Bipedal Robot Locomotion, Eric R. Westervelt, Jessy W. Grizzle, Christine Chevallereau, Jun Ho Choi, and Benjamin Morris Intelligent Freight Transportation, edited by Petros A. Ioannou Modeling and Control of Complex Systems, edited by Petros A. Ioannou and Andreas Pitsillides Wireless Ad Hoc and Sensor Networks: Protocols, Performance, and Control, Jagannathan Sarangapani Stochastic Hybrid Systems, edited by Christos G. Cassandras and John Lygeros Hard Disk Drive: Mechatronics and Control, Abdullah Al Mamun, Guo Xiao Guo, and Chao Bi
K12592_FM.indd 2
10/24/11 2:38:05 PM
Automation and Control Engineering Series
Quantitative Process Control Theory Weidong Zhang
Shanghai Jiaotong University, Shanghai, People’s Republic of China
Boca Raton London New York
CRC Press is an imprint of the Taylor & Francis Group, an informa business
K12592_FM.indd 3
10/24/11 2:38:05 PM
MATLAB® is a trademark of The MathWorks, Inc. and is used with permission. The MathWorks does not warrant the accuracy of the text or exercises in this book. This book’s use or discussion of MATLAB® software or related products does not constitute endorsement or sponsorship by The MathWorks of a particular pedagogical approach or particular use of the MATLAB® software.
CRC Press Taylor & Francis Group 6000 Broken Sound Parkway NW, Suite 300 Boca Raton, FL 33487-2742 © 2012 by Taylor & Francis Group, LLC CRC Press is an imprint of Taylor & Francis Group, an Informa business No claim to original U.S. Government works Printed in the United States of America on acid-free paper Version Date: 20111020 International Standard Book Number: 978-1-4398-5557-7 (Hardback) This book contains information obtained from authentic and highly regarded sources. Reasonable efforts have been made to publish reliable data and information, but the author and publisher cannot assume responsibility for the validity of all materials or the consequences of their use. The authors and publishers have attempted to trace the copyright holders of all material reproduced in this publication and apologize to copyright holders if permission to publish in this form has not been obtained. If any copyright material has not been acknowledged please write and let us know so we may rectify in any future reprint. Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any information storage or retrieval system, without written permission from the publishers. For permission to photocopy or use material electronically from this work, please access www.copyright.com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that provides licenses and registration for a variety of users. For organizations that have been granted a photocopy license by the CCC, a separate system of payment has been arranged. Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used only for identification and explanation without intent to infringe. Visit the Taylor & Francis Web site at http://www.taylorandfrancis.com and the CRC Press Web site at http://www.crcpress.com
K12592_FM.indd 4
10/24/11 2:38:05 PM
Dedicated to My Parents
Contents
List of Figures
xi
List of Tables
xvii
Symbol Description
xix
Preface
xxiii
About the Author
xxvii
1 Introduction 1.1 A Brief History of Control Theory . . . 1.2 Design of Feedback Control Systems . . 1.3 Consideration of Control System Design 1.4 What This Book Is about . . . . . . . . 1.5 Summary . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
1 1 4 8 12 15 17 18
2 Classical Analysis Methods 2.1 Process Dynamic Responses . . . . . . . . . . . 2.2 Rational Approximations of Time Delay . . . . . 2.3 Time Domain Performance Indices . . . . . . . . 2.4 Frequency Response Analysis . . . . . . . . . . . 2.5 Transformation of Two Commonly Used Models 2.6 Design Requirements and Controller Comparison 2.7 Summary . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
19 19 23 27 33 37 41 44 45 46
3 Essentials of the Robust Control Theory 3.1 Norms and System Gains . . . . . . . . . . 3.2 Internal Stability and Performance . . . . . 3.3 Controller Parameterization . . . . . . . . 3.4 Robust Stability and Robust Performance . 3.5 Robustness of the System with Time Delay 3.6 Summary . . . . . . . . . . . . . . . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
47 47 54 59 62 67 73
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . .
. . . . . . .
. . . . . .
. . . . . .
vii
viii Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . 4 H∞ 4.1 4.2 4.3 4.4 4.5 4.6 4.7
5 H2 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8
PID Controllers for Stable Plants Traditional Design Methods . . . . . . . . . . . H∞ PID Controller for the First-Order Plant . . The H∞ PID Controller and the Smith Predictor Quantitative Performance and Robustness . . . H∞ PID Controller for the Second-Order Plant . All Stabilizing PID Controllers for Stable Plants Summary . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . .
74 74
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
77 78 80 84 88 99 102 108 109 111
PID Controllers for Stable Plants H2 PID Controller for the First-Order Plant . . . . . . . Quantitative Tuning of the H2 PID Controller . . . . . . H2 PID Controller for the Second-Order Plant . . . . . . Control of Inverse Response Processes . . . . . . . . . . . PID Controller Based on the Maclaurin Series Expansion PID Controller with the Best Achievable Performance . . Choice of the Filter . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
113 114 117 123 128 133 137 140 144 145 147
. . . . . . . . . . . . . . . . . . . . . . . . . .
6 Control of Stable Plants 6.1 The Quasi-H∞ Smith Predictor . . . . . . . . . . . 6.2 The H2 Optimal Controller and the Smith Predictor 6.3 Equivalents of the Optimal Controller . . . . . . . . 6.4 The PID Controller and High-Order Controllers . . 6.5 Choice of the Weighting Function . . . . . . . . . . 6.6 Simplified Tuning for Quantitative Robustness . . . 6.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
149 150 154 158 164 169 174 176 177 178
7 Control of Integrating Plants 7.1 Feature of Integrating Systems . . . . . . . . . . . . . 7.2 H∞ PID Controller for Integrating Plants . . . . . . . 7.3 H2 PID Controller for Integrating Plants . . . . . . . 7.4 Controller Design for General Integrating Plants . . . 7.5 Maclaurin PID Controller for Integrating Plants . . . 7.6 The Best Achievable Performance of a PID Controller 7.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
181 181 187 193 198 205 209 211 214
ix Notes and References . . . . . . . . . . . . . . . . . . . . . . .
216
8 Control of Unstable Plants 8.1 Controller Parameterization for General Plants . . 8.2 H∞ PID Controller for Unstable Plants . . . . . . 8.3 H2 PID Controller for Unstable Plants . . . . . . 8.4 Performance Limitation and Robustness . . . . . . 8.5 Maclaurin PID Controller for Unstable Plants . . 8.6 PID Design for the Best Achievable Performance . 8.7 All Stabilizing PID Controllers for Unstable Plants 8.8 Summary . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
217 217 223 228 235 242 246 248 251 253 255
9 Complex Control Strategies 9.1 The 2 DOF Structure for Stable Plants . . . 9.2 The 2 DOF Structure for Unstable Plants . . 9.3 Cascade Control . . . . . . . . . . . . . . . . 9.4 An Anti-Windup Structure . . . . . . . . . . 9.5 Feedforward Control . . . . . . . . . . . . . . 9.6 Optimal Input Disturbance Rejection . . . . 9.7 Control of Plants with Multiple Time Delays 9.8 Summary . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
257 257 263 268 272 279 283 288 291 292 293
10 Analysis of MIMO Systems 10.1 Zeros and Poles of a MIMO Plant . . . 10.2 Singular Values . . . . . . . . . . . . . 10.3 Norms for Signals and Systems . . . . . 10.4 Nominal Stability and Performance . . 10.5 Robust Stability of MIMO Systems . . 10.6 Robust Performance of MIMO Systems 10.7 Summary . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
295 296 298 302 304 308 314 316 317 320
Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
. . . . . .
321 321 325 329 334 334 335
11 Classical Design Methods for MIMO 11.1 Interaction Analysis . . . . . . . . . 11.2 Decentralized Controller Design . . 11.3 Decoupler Design . . . . . . . . . . 11.4 Summary . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . Notes and References . . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . .
x 12 Quasi-H∞ Decoupling Control 12.1 Diagonal Factorization for Quasi-H∞ Control . . . . . 12.2 Quasi-H∞ Controller Design . . . . . . . . . . . . . . 12.3 Analysis for Quasi-H∞ Control Systems . . . . . . . . 12.4 Increasing Time Delays for Performance Improvement 12.5 A Design Example for Quasi-H∞ Control . . . . . . . 12.6 Multivariable PID Controller Design . . . . . . . . . . 12.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
337 337 341 345 348 351 354 361 361 362
13 H2 Decoupling Control 13.1 Controller Parameterization for MIMO Systems 13.2 Diagonal Factorization for H2 Control . . . . . 13.3 H2 Optimal Decoupling Control . . . . . . . . 13.4 Analysis for H2 Decoupling Control Systems . 13.5 Design Examples for H2 Decoupling Control . 13.6 Summary . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . 14 Multivariable H2 Optimal Control 14.1 Factorization for Simple RHP Zeros . . . . . 14.2 Construction Procedure of Factorization . . 14.3 Factorization for Multiple RHP Zeros . . . . 14.4 Analysis and Computation . . . . . . . . . . 14.5 Solution to the H2 Optimal Control Problem 14.6 Filter Design . . . . . . . . . . . . . . . . . . 14.7 Examples for H2 Optimal Controller Design 14.8 Summary . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . .
. . . . . . . . . .
. . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
363 363 368 371 374 376 383 386 387
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
389 390 394 398 405 410 413 416 424 425 427
Bibliography
429
Index
441
List of Figures
1.1.1 1.2.1 1.2.2 1.2.3 1.3.1 1.4.1 E1.1
Selected historical developments of control systems. Paper-making process control. . . . . . . . . . . . . Design procedure of a feedback control system. . . Two modeling methods. . . . . . . . . . . . . . . . Philosophy of QPCT. . . . . . . . . . . . . . . . . Main content of this book. . . . . . . . . . . . . . . Head section of a paper machine. . . . . . . . . . .
. . . . . . .
. . . . . . .
2 5 5 6 11 13 17
2.1.1 2.1.2 2.2.1 2.2.2 2.3.1 2.3.2 2.3.3 2.4.1 2.4.2 2.4.3 2.5.1 2.6.1 E2.1
A shower. . . . . . . . . . . . . . . . . . . . . . . . . . . . Step responses of three different plants. . . . . . . . . . . Phases of the all-pass Pade approximant and time delay. . A simple control system. . . . . . . . . . . . . . . . . . . . Elementary feedback control loop. . . . . . . . . . . . . . Step response curve for time domain performance indices. Disturbance response for time domain performance indices. Magnitude curve for frequency response analysis. . . . . . Nyquist plot of a stable open-loop system. . . . . . . . . . Bode plot of L(jω). . . . . . . . . . . . . . . . . . . . . . Ultimate cycle method. . . . . . . . . . . . . . . . . . . . Systems with different overshoots. . . . . . . . . . . . . . Unity feedback loop with measurement noise. . . . . . . .
. . . . . .
21 22 25 26 27 30 31 34 35 36 38 42 45
3.2.1 3.2.2 3.3.1 3.3.2 3.4.1 3.4.2 3.4.3 3.5.1
Sensitivity function and complementary sensitivity function. Normalization of the system input. . . . . . . . . . . . . . . Explanation of Youla parameterization. . . . . . . . . . . . Two different design procedures. . . . . . . . . . . . . . . . Disk for describing the unstructured uncertainty. . . . . . . Graphical interpretation for robust stability. . . . . . . . . . Graphical interpretation for robust performance. . . . . . . Uncertain model family for the first-order plant with time delay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Effect of the gain uncertainty. . . . . . . . . . . . . . . . . . Effect of the time constant uncertainty. . . . . . . . . . . . Effect of the time delay uncertainty. . . . . . . . . . . . . . Unstructured uncertainty profile. . . . . . . . . . . . . . . . Uncertainty profile for the time delay uncertainty. . . . . .
3.5.2 3.5.3 3.5.4 3.5.5 3.5.6
. . . . . .
. . . . . . .
. . . . . . .
. . . . . .
56 57 60 60 64 65 67 68 69 70 70 72 72 xi
xii E3.1 Control system with multiple loops.
. . . . . . . . . . . . .
75
Unity feedback control loop. . . . . . . . . . . . . . . . . . . Structure of the Smith predictor. . . . . . . . . . . . . . . . An equivalent structure of the Smith predictor. . . . . . . . A paper-making process. . . . . . . . . . . . . . . . . . . . . Nominal response of the closed-loop system. . . . . . . . . . Response of the uncertain system with λ = 0.4θ. . . . . . . Response of the uncertain system with λ = 0.7θ. . . . . . . Frequency response of the closed-loop system. . . . . . . . . Relationship between the closed-loop frequency response and λ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4.3 Effect of the performance degree on the overshoot. . . . . . 4.4.4 Effect of the performance degree on the rise time. . . . . . . 4.4.5 Effect of the performance degree on the resonance peak. . . 4.4.6 Effect of the performance degree on the perturbation peak. 4.4.7 Bode plot of the H∞ PID control system. . . . . . . . . . . 4.4.8 Nyquist plot of the H∞ PID control system. . . . . . . . . . 4.4.9 Effect of the performance degree on the gain margin. . . . . 4.4.10 Effect of the performance degree on the phase margin. . . . 4.4.11 Effect of the performance degree on the ISE. . . . . . . . . 4.5.1 An industrial heat exchanger. . . . . . . . . . . . . . . . . . 4.5.2 Responses of the nominal plant. . . . . . . . . . . . . . . . . 4.5.3 Responses of the worst case. . . . . . . . . . . . . . . . . . . 4.6.1 Stabilizing region for KC ∈ (−1/K, 1/K]. . . . . . . . . . . 4.6.2 Stabilizing region for KC ∈ (1/K, KT ). . . . . . . . . . . . . E4.1 Control of the molten steel level. . . . . . . . . . . . . . . .
81 85 86 87 88 89 89 90
4.2.1 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.4.1 4.4.2
5.2.1 Relationship between the performance degree and the overshoot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.2 Relationship between the performance degree and the rise time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.3 Relationship between the performance degree and the resonance peak. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.4 Relationship between the performance degree and the perturbation peak. . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.5 Bode plot of the H2 PID control system. . . . . . . . . . . . 5.2.6 Nyquist plot of the H2 PID control system. . . . . . . . . . 5.2.7 Relationship between the performance degree and the gain margin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.8 Relationship between the performance degree and the phase margin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2.9 Relationship between the performance degree and the ISE. 5.2.10 Control system for the strip thickness. . . . . . . . . . . . . 5.2.11 System response for the H2 PID controller. . . . . . . . . .
91 93 93 94 95 96 97 97 98 98 102 103 103 105 105 110 118 118 119 119 120 121 121 122 122 124 124
xiii 5.3.1 5.3.2 5.4.1 5.4.2 5.4.3 5.4.4 5.7.1 5.7.2 E5.1
Responses of the H∞ PID controller and H2 PID controller. The closed-loop response and the output disturbance response. Two opposing first-order processes. . . . . . . . . . . . . . . Overall response for τ1 /τ2 > K1 /K2 > 1. . . . . . . . . . . . Control of a maglev train. . . . . . . . . . . . . . . . . . . . Responses of the gap control system. . . . . . . . . . . . . . Typical responses of the filters. . . . . . . . . . . . . . . . . Two different optimizing procedures. . . . . . . . . . . . . . Lunar rover with a manipulator. . . . . . . . . . . . . . . .
6.1.1 Diagram of the Smith predictor. . . . . . . . . . . . . . . . 6.2.1 Different philosophies of the quasi-H∞ control and the H2 control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3.1 Rearrangement of the Smith predictor. . . . . . . . . . . . . 6.3.2 The inferential control system. . . . . . . . . . . . . . . . . 6.3.3 Reduced inferential control system. . . . . . . . . . . . . . . 6.4.1 Nyquist plot of the system with the first-order plant. . . . . 6.4.2 Bode plot of the system with the first-order plant. . . . . . 6.4.3 Control system of a nuclear reactor. . . . . . . . . . . . . . 6.4.4 Responses for full frequency range. . . . . . . . . . . . . . . 6.4.5 Responses for limited frequency range. . . . . . . . . . . . . 6.4.6 Worst-case responses with 10% uncertainties. . . . . . . . . 6.5.1 Different design procedures. . . . . . . . . . . . . . . . . . . 6.6.1 The three-range knob. . . . . . . . . . . . . . . . . . . . . . E6.1 A blending process. . . . . . . . . . . . . . . . . . . . . . . . 7.1.1 7.1.2 7.2.1 7.2.2 7.2.3 7.2.4 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 E7.1 E7.2
Control system for integrating plants. . . . . . . . . . . . . IMC control system for integrating plants. . . . . . . . . . . Overshoot of the H∞ control system with an integrating plant. Rise time of the H∞ control system with an integrating plant. Perturbation peak of the H∞ control system with an integrating plant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Resonance peak of the H∞ control system with an integrating plant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overshoot of the H2 control system with an integrating plant. Rise time of the H2 control system with an integrating plant. Perturbation peak of the H2 control system with an integrating plant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Resonance peak of the H2 control system with an integrating plant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Control system of a high-purity distillation column. . . . . Nominal responses of the H2 PID and H∞ PID controllers. A flexible spacecraft. . . . . . . . . . . . . . . . . . . . . . . A disk drive. . . . . . . . . . . . . . . . . . . . . . . . . . .
127 128 129 130 133 134 142 143 146 150 157 159 161 162 165 166 168 170 170 171 172 175 178 182 183 190 191 191 192 195 195 196 196 198 199 214 215
xiv 8.2.1 Overshoot of the H∞ control system with an unstable plant. 8.2.2 Rise time of the H∞ control system with an unstable plant. 8.2.3 Perturbation peak of the H∞ control system with an unstable plant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2.4 Resonance peak of the H∞ control system with an unstable plant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.1 Overshoot of the H2 control system with an unstable plant. 8.3.2 Rise time of the H2 control system with an unstable plant. 8.3.3 Perturbation peak of the H2 control system with an unstable plant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.4 Resonance peak of the H2 control system with an unstable plant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3.5 A jacket-cooled reactor. . . . . . . . . . . . . . . . . . . . . 8.3.6 Nominal responses of the H2 system and H∞ system with an unstable plant. . . . . . . . . . . . . . . . . . . . . . . . . . 8.4.1 A bank-to-turn missile. . . . . . . . . . . . . . . . . . . . . 8.7.1 Plots of the curve f1 (z, 1/K) and the line f (z) = −τ z/θ. . . 8.7.2 Stabilizing region of the integral and the derivative constants. E8.1 An inverted pendulum. . . . . . . . . . . . . . . . . . . . . . 9.1.1 9.1.2 9.1.3 9.1.4 9.1.5 9.2.1 9.2.2 9.2.3 9.2.4 9.3.1 9.3.2 9.4.1 9.4.2 9.4.3 9.4.4 9.4.5 9.4.6 9.5.1 9.5.2 9.5.3 9.5.4 9.6.1 E9.1
A typical 2 DOF system. . . . . . . . . . . . . . . . . . . . An equivalent of the typical 2 DOF system. . . . . . . . . . Another equivalent of the typical 2 DOF system. . . . . . . A New 2 DOF system. . . . . . . . . . . . . . . . . . . . . . Structure of the RZN PID controller. . . . . . . . . . . . . . Control system with an inner stabilizing loop. . . . . . . . . An equivalent of the control system with an inner stabilizing loop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Helicopter control. . . . . . . . . . . . . . . . . . . . . . . . Responses of the 1 DOF system and 2 DOF system. . . . . Temperature control system for a distillation column. . . . Diagram of the cascade control system. . . . . . . . . . . . IMC structure in the presence of actuator constraint. . . . . Modified IMC structure for anti-windup. . . . . . . . . . . . The unity feedback loop in the presence of actuator constraint. Modified unity feedback loop for anti-windup. . . . . . . . . Responses of the system output. . . . . . . . . . . . . . . . Responses of the plant input. . . . . . . . . . . . . . . . . . Feedforward control loop. . . . . . . . . . . . . . . . . . . . Combined feedback/feedforward control system. . . . . . . IMC feedback/feedforward control system. . . . . . . . . . . A cylinder. . . . . . . . . . . . . . . . . . . . . . . . . . . . Responses of systems designed for different disturbances. . . Parallel cascade control structure. . . . . . . . . . . . . . .
225 226 226 227 230 230 231 231 233 234 239 250 251 253 258 258 259 261 262 266 266 267 268 269 270 273 274 276 276 278 278 279 280 281 282 288 292
xv 10.4.1 Design objectives of a control system. . . . . . . . . . . . . 10.4.2 MIMO unity feedback control loop. . . . . . . . . . . . . . . 10.4.3 MIMO IMC structure. . . . . . . . . . . . . . . . . . . . . . 10.4.4 A 2 × 2 MIMO system. . . . . . . . . . . . . . . . . . . . . 10.5.1 Input uncertainty δI (s) and output uncertainty δO (s). . . . 10.5.2 General M ∆ structure for robustness analysis. . . . . . . . 10.6.1 General control configuration. . . . . . . . . . . . . . . . . . 10.6.2 Systems with input or output uncertainty. . . . . . . . . . . 10.6.3 N ∆ structure for checking robust performance. . . . . . . . E10.1 Control of the rear wheels in a 4 WS system. . . . . . . . . E10.2 The inverse multiplicative uncertainty. . . . . . . . . . . . . E10.3 Simultaneous multiplicative input and output uncertainties.
304 305 306 307 309 310 314 315 316 318 319 319
11.1.1 A 2 × 2 MIMO plant. . . . . . . . . . . . . . . . . . 11.2.1 A 2 × 2 decentralized control system. . . . . . . . . . 11.2.2 Control strategy of a paper machine. . . . . . . . . . 11.2.3 Responses of the decentralized H∞ controller. . . . . 11.3.1 MIMO plant with a decoupler. . . . . . . . . . . . . 11.3.2 Decoupling for a 2 × 2 plant. . . . . . . . . . . . . . E11.1 System with an integrator and a diagonal controller.
. . . . . . .
322 327 329 330 331 331 335
. . . . . . . . . . . . . . . . .
338 338 353 355 358 360
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . λ2 = 26.
371 376 379 381 382 384 385
. . . . . . .
12.1.1 IMC structure with an n × n plant. . . . . . . . . . . . 12.1.2 Unity feedback loop with an n × n plant. . . . . . . . 12.5.1 Closed-loop responses with λ1 = 3.2 and λ2 = 4. . . . 12.5.2 Performance improvement by increasing the time delay. 12.6.1 A binary distillation column. . . . . . . . . . . . . . . 12.6.2 Closed-loop responses of multivariable PID controllers. 13.3.1 Design procedure for the H2 decoupling controller. 13.4.1 A 2 DOF MIMO system. . . . . . . . . . . . . . . 13.5.1 Closed-loop responses with λ1 = λ2 = 1. . . . . . . 13.5.2 Closed-loop responses with λ′1 = 1.4 and λ′2 = 0.8. 13.5.3 Shell heavy oil fractionator. . . . . . . . . . . . . . 13.5.4 Closed-loop responses with λ1 = 19 and λ2 = 26. . 13.5.5 Responses of manipulated variables for λ1 = 19 and
14.2.1 Constructing procedure for GA (s). . . . . . . . . . . . 14.3.1 Computation of the inner factor. . . . . . . . . . . . . 14.7.1 Responses of the system with λ1 = 1.25 and λ2 = 1.05. 14.7.2 Responses of the system with λ1 = 1 and λ2 = 0.5. . . 14.7.3 Aircraft and vertical plane geometry. . . . . . . . . . . 14.7.4 Response of the system with λ1 = λ2 = 0.16. . . . . . E14.1 State feedback system with an observer. . . . . . . . . E14.2 The equivalent output feedback system. . . . . . . . .
. . . . . . .
. . . . . . . .
. . . . . . .
. . . . . . . .
. . . . . . . .
399 399 419 421 422 423 426 427
List of Tables
3.1.1 System gains for SISO systems. . . . . . . . . . . . . . . . .
51
4.1.1 Frequently used tuning methods. . . . . . . . . . . . . . . .
79
6.6.1 Values of λ/θ. . . . . . . . . . . . . . . . . . . . . . . . . . .
176
10.3.1 System gains for MIMO systems. . . . . . . . . . . . . . . .
303
11.1.1 Open-loop gains. . . . . . . . . . . . . . . . . . . . . . . . .
322
xvii
Symbol Description
Abbreviations DMC DOF IAE IMC ISE ITAE LFT LHP LMI LQ LQG MAC MIMO MP MPC NMP PID QPCT RGA RHP SISO SSV SVD
Dynamic matrix control Degree-of-freedom Integral absolute error Internal model control Integral squared error Integral of time multiplied by absolute error Linear fractional transformation Left half-plane Linear matrix inequality Linear quadratic Linear quadratic Gaussian Matrix algorithmic control Multi-input/multi-output Minimum phase Model predictive control Non-minimum phase Proportional-integral-derivative Quantitative process control theory Relative gain array Right half-plane Single-input/single-output Structured singular value Singular value decomposition
Symbols C(s) (C(s)) C1 (s) (C 1 (s)) C2 (s) (C 2 (s)) d(s) (d(s)) d′ (s) (d′ (s)) e(s) (e(s)) G(s) (G(s)) ˜ ˜ G(s) (G(s))
Unity feedback loop controller Controller of the reference loop Controller of the disturbance loop Disturbance at the plant output Disturbance at the plant input Tracking error Nominal plant (plant model) Real plant xix
xx GA (s) (GA (s)) GD (s) (GD (s)) GMP (s) (GM P (s)) GN (s) GO (s) (GO (s)) H(s) (H(s)) H2
Quantitative Process Control Theory
All-pass part of G(s) (G(s)) Time delay part of G(s) (G(s)) MP part of G(s) (G(s)) All-pass part of GO (s) Rational part of G(s) (G(s)) Matrix for internal stability verification Set of all stable strictly proper functions without poles on the imaginary axis Set of all stable proper functions without poles on H∞ the imaginary axis J(s) (J (s)) Filter K Gain of a plant Gain of a PID controller KC Multiplicity of a RHP zero zj kj Largest multiplicity of zj in the ith column of kij G−1 (s) Ultimate gain Ku Multiplicity of a RHP pole pj lj Largest multiplicity of pj in the ith row of G(s) lij L(s) (L(s)) Open-loop transfer function M (s) Matrix for robustness verification jth pole pj Q(s) (Q(s)) IMC controller Optimal IMC controller Qopt (s) (Qopt (s)) r(s) (r(s)) Reference R(s)(R(s)) Controller of the Smith predictor Number of RHP poles of a plant rp Number of RHP zeros of a plant rz S(s) (S(s)) Nominal sensitivity transfer function ˜ S(s) Real sensitivity transfer function T (s) (T (s)) Complementary sensitivity transfer function (closedloop transfer function) Derivative constant of a PID controller TD Filtering constant of a PID controller TF Integral constant of a PID controller TI Resonance peak Tp Rise time tr Ultimate period Tu u(s) (u(s)) Controller output u ˆ(t) Constrained controller output Direction of the zero zj vj , vjk W (s) (Wp1 (s), Wp2 (s)) Performance weighting functions Uncertainty weighting functions W1 (s), W2 (s) y(s) (y(s)) Plant output jth zero zj
Symbol Description
xxi
Greek Characters αi γ δm (s) (δm (s)) ∆(s) (∆(s)) ∆m (s) (∆m (s)) ∆p (s) ∆u (s) θ θij θij θli θsi λ, λi λij λei [T (jω)] µ[M (jω)] ρ[T (jω)] σ σi (T (jω)) σ ¯ [T (jω)] σ[T (jω)] τ Ω
Smallest relative degree of all elements in the ith column of Qopt (s) Closed contour contained in Ω Uncertainty Normalized uncertainty Uncertainty profile Performance block in ∆(s) Uncertainty block in ∆(s) Time delay of a plant Time delay of the ijth element of G(s) Prediction of the ijth element of G−1 (s) Largest prediction of the ith column of G−1 (s) Smallest time delay of the ith row of G(s) Performance degree ijth relative gain ith eigenvalue of T (jω) Structured singular value of M (jω) Spectral radius of T (jω) Overshoot ith singular value of T (jω) Maximum singular value of T (jω) Minimum singular value of T (jω) Time constant of a plant Simply connected open subset of the complex plane
Special Notation k · k1 k · k2 k · k∞ := ∀ ∈ ⊗ ¯ z¯r (A) adj deg det diag T T (s) T H (jω) T ∗ (s)
1-norm 2-norm ∞-norm Is defined as For all Belong to Element-by-element product Complex conjugate Adjoint Degree of a polynomial Determinant of a matrix Diagonal matrix Transpose of a matrix or vector Complex conjugate transpose of a matrix: T H (jω) = T T¯ (jω) Conjugate transpose of a system: T ∗ (s) = T T (−s)
xxii Im N+ (s) N− (s) Re sup Trace
Quantitative Process Control Theory Imaginary part of a complex number Polynomials with roots in the closed RHP Polynomials with roots in the open LHP Real part of a complex number Supremum Trace of a matrix
Preface
Since the Industrial Revolution, control systems have played important roles in improving product quality, saving energy, reducing emissions, and relieving the drudgery of routine repetitive manual operations. In the past hundred years, many theories have been proposed for control system design. However, there are three main problems when some of these advanced control theories are applied to industrial systems: 1. These theories depend on empirical methods or trial-and-error methods in choosing weighting functions. 2. Both the design procedures and results are complicated for understanding and using. 3. The controllers cannot be designed or tuned for quantitative engineering performance indices (such as overshoot or stability margin). In this book, an improved theory called the Quantitative Process Control Theory is introduced to solve these problems. This new theory has three features: 1. When using the theory, the designer is not required to choose a weighting function. 2. The design is suboptimal and analytical. It is easy to understand and use. 3. The controller can be designed or tuned for quantitative engineering performance indices. These features enable the controller to be designed efficiently and quickly. Mathematical proofs are provided in this book for almost all results, especially when they contribute to the understanding of the subjects presented. This will, I believe, enhance the educational value of this book. As few concepts as possible are introduced and as few mathematical tools as possible are employed, so as to make the book accessible. Examples are presented at strategic points to help readers understand the subjects discussed. Chapter summaries are included to highlight the main problems and results. At the end of each chapter, exercises are provided to test the reader’s ability to apply the theory he/she has studied. They are an integral part of the book. There is no doubt that a serious attempt to solve these exercises will greatly improve one’s understanding. xxiii
xxiv
Quantitative Process Control Theory
The methods developed here are not confined to process control. They are equally applicable to aeronautical, mechanical, and electrical engineering. To stress this point, examples with different backgrounds are adopted. With a few exceptions, these examples are based on real plants, including • Paper-making machine • Heat exchanger • Hot strip mill • Maglev • Nuclear reactor • Distillation column/Heavy oil fractionator • Jacket-cooled reactor • Missile • Helicopter/Plane • Anesthesia The book is divided into 14 chapters. Important topics that are covered include 1. Introduction and review of classical analysis methods (Chapter 2) 2. Essentials of the robust control theory (Chapter 3) 3. H∞ and H2 proportional-integral-derivative controllers for stable plants with time delay (Chapters 4 and 5) 4. Quasi-H∞ and H2 controllers for stable plants with time delay (Chapter 6) 5. Quasi-H∞ and H2 controllers for integrating plants with time delay (Chapter 7) 6. Quasi-H∞ and H2 controllers for unstable plants with time delay (Chapter 8) 7. Complex control strategies, including two degrees-of-freedom control, cascade control, anti-windup control, and feedforward control (Chapter 9) 8. Analysis of multi-input/multi-output control systems (Chapter 10) 9. Classical multi-input/multi-output system design, including decentralized control and decoupling control (Chapter 11) 10. Quasi-H∞ decoupling control for plants with time delay (Chapter 12)
Preface
xxv
11. H2 optimal decoupling control for plants with time delay (Chapter 13) 12. Multivariable H2 optimal control (Chapter 14) This book is intended for a wide variety of readers. It is appropriate for higher level undergraduates and graduates in engineering, beginners in the research area of robust control, and engineers who want to learn new design techniques. It is assumed that readers have had an undergraduate course in classical control theory. A prior course on optimal control or process control would be helpful but is not a requirement. This book has grown out of 15 years of research. The procedure is always much harder than anyone anticipates. I received financial support from the National Science Foundation of China, the Alexander von Humboldt Foundation, Germany, and the National Science Fund for Distinguished Young Scholars, China, which enabled me to pursue the research. I am vastly indebted to many people who have helped and inspired me to start, continue, and complete this book. My first thanks goes to Professor Shengxun Zhang and Professor Youxian Sun, Zhejiang University. They brought me into the area of process control. I am grateful for the continuing help and support from Professor Xiaoming Xu, Professor Yugeng Xi, Professor Songjiao Shi, Professor Zuohua Tian, and Professor Xinping Guan at Shanghai Jiaotong University. I am also greatly indebted to Professor F. Allg¨ower and Professor C.A. Floudas, who hosted me at the University of Stuttgart and Princeton University, respectively, as a visiting professor during the writing of this book. The first six chapters of this book have been classroom tested for several years at Shanghai Jiaotong University. Many students have contributed their time to the book. I would like to thank my PhD students F. S. Alc´antara Cano, Danying Gu, Daxiao Wang, and Mingming Ji for particularly helpful suggestions. The book makes limited use of the material from several books. In particular, I want to express my sincere appreciation to Morari and Zafiriou (1989), Doyle et al. (1992), and Dorf and Bishop (2001). Family members are a source of special encouragement in a job of this magnitude, and I send love and thanks to my parents and my son in this regard. Lastly, I thank my wife, Chen Lin. She read the manuscripts of different versions and made corrections in her spare time. She gave hundreds of suggestions on editing, grammar, and technical problems. This book would not be the same without her enormous care and patience.
Weidong Zhang
xxvi
Quantitative Process Control Theory
R MATLAB is a registered trademark of The MathWorks, Inc. For product information, please contact: The MathWorks, Inc. 3 Apple Hill Drive Natick, MA 01760-2098 USA Tel: 508-647-7000 Fax: 508-647-7001 E-mail:
[email protected] Web: www.mathworks.com
About the Author
Weidong Zhang received his BS, MS, and PhD degrees from Zhejiang University, China, in 1990, 1993, and 1996, respectively, and then worked as a postdoctoral fellow at Shanghai Jiaotong University. He joined Shanghai Jiaotong University in 1998 as an associate professor and has been a full professor since 1999. From 2003 to 2004 he worked at the University of Stuttgart, Germany, as an Alexander von Humboldt Fellow. From 2007 to 2008 he held a visiting position at Princeton University. In 2011 he was appointed chair professor at Shanghai Jiaotong University. Dr. Zhang’s research interests include control theory and its applications, embedded systems, and wireless sensor networks. He is probably the earliest researcher on the automotive reversing ultrasonic radar in China. He has many years of industry experience and was a control engineering consultant at Atmel Corporation (Shanghai R&D Center) in 2005. Dr. Zhang is the author of more than 200 refereed papers and holds 15 patents. He is a recipient of National Science Fund for Distinguished Young Scholars of China. Correspondence address: Prof. Weidong Zhang Department of Automation Shanghai Jiaotong University Shanghai 200240, P. R. China Email:
[email protected] Web: automation.sjtu.edu.cn/wdzhang (in English) automation.sjtu.edu.cn/ipac (in Chinese)
xxvii
1 Introduction
CONTENTS 1.1 1.2 1.3 1.4 1.5
A Brief History of Control Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Design of Feedback Control Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Consideration of Control System Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What This Book Is about . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 4 8 12 15 17 18
A control system is an interconnection of components that provides the desired system output for a given input. The object to control is called the plant, while the device to generate the input to the plant is called the controller. The control system is most often based on the principle of feedback, whereby the controller adjusts the input to the plant so as to keep the deviation between the desired value and the actual value of system output as small as possible. The process of constructing a basic feedback control system generally involves two steps: developing the plant model and designing the controller. The goal of this book is to present a quantitative design theory that captures the essential issues, solves practical problems, and provides interested readers with new materials for further study.
1.1
A Brief History of Control Theory
By looking back on the development of control theory, this section reviews the main trend and important developments in the area. Although automatic control devices of various sorts date back to antiquity, it was J.C. Maxwell who provided the first rigorous mathematical analysis for feedback control systems in 1868 (Figure 1.1.1). His work on the stability analysis of a centrifugal governor is generally taken as the starting point of control theory development. The pioneering work of Bode and Nyquist prior to World War II paved the way for the development of control theory. As the core of classical control theory, the frequency domain technique they presented not only has evident engineering and physical meanings, but also makes it possible 1
2
Quantitative Process Control Theory
to give acceptable solutions to practical problems. Even today, the technique is an indispensable means for analyzing and designing control systems.
FIGURE 1.1.1 Selected historical developments of control systems. Since the frequency domain technique originated from the impetus of practice, rather than rigorous systematic theories, the formulation is far from mathematization. The frequency domain technique provides tools for control system design, yet the design procedure remains very much an art, and normally results in non-unique feedback systems. There are some problems that need to be clarified for in-depth and thorough studies. For example: 1. What is the mathematical objective for control system design? 2. How is the control system optimized in the design procedure? In view of these problems, the modern control theory was proposed in the early 1960s. New theoretical tools were introduced and some important problems, such as optimality, controllability and observability, were considered. Modern control theory provides the unique optimal solution for the design of control systems and makes it possible to solve multivariable control problems in a unified framework. Since the appearance of modern control theory, there has been a strong desire to apply it to industrial systems. Unfortunately, the results were much less than expected in many such cases. A number of possible reasons for this failure can be identified. For example, modern control theory adopts the state space method. The problem studied in this method is in fact a mathematical problem. There, engineering intuition has very little effect. For engineers familiar with the frequency response of physical systems, it is difficult to use the sophisticated mathematical theory in solving practical control problems. More serious is that the theory does not address the model uncertainty problem, which is of practical importance. Nevertheless, this problem can be treated with the classical control theory by using notions like gain margin and phase margin.
Introduction
3
Regardless of the design technique used, the controller is always designed based on the information as to the dynamic behavior of plant. It is almost impossible to exactly model a real physical plant. There is always uncertainty. Therefore, it is desirable that the controller be insensitive to the model uncertainty; that is, the controller should be robust. Since the late 1970s, robustness has become a major objective of control study and related achievements have formed robust control theory. The robust control theory based on the state space technique provided elegant solutions to both optimal and robust design problems and thus seemed to hold high promise for applications. However, even though robust control theory has developed for several decades, its effect in industrial practice is still not obvious nowadays. Both the design procedure and result of the new theory are too complicated for engineers to use. The level of abstraction makes it accessible only by the researchers in this special area and the selection of weighting functions still depends on trial and error. In addition, practical requirements in the design of control systems are usually quantitatively specified in terms of time domain response (such as overshoot, amplitudes of coupled responses, and so on) or frequency domain response (such as resonance peak, stability margin, and so on). For example, the design specification might be that the worst-case overshoot is 5% when uncertainty exists. This specification is not easy to reach with those developed methods. In parallel to the development of the state space method, a class of new algorithms exemplified by model algorithmic control (MAC) and dynamic matrix control (DMC) were invented and successfully applied to industrial systems. These algorithms were internally related to some classical methods, such as the Dahlin algorithm and Smith predictor. Some modern robust control characteristics had been incorporated in them in an ad hoc fashion. These algorithms are now generally known by the generic term model predictive control (MPC). Another theory developed at the same time, which can be regarded as a frequency domain version of MPC, is the internal model control (IMC). IMC explains some important problems of control system design in a simple and direct framework and thus has a profound influence on feedback control theory. Since these related methods are based on a firm footing and provide simple design means, they greatly boost the application of advanced control theories in industry. In the past two decades, the most active direction in the control area is the linear matrix inequality (LMI). The main attraction of LMIs is that they are very flexible, so that a variety of problems can be expressed as LMIs. Nevertheless, although the LMI method provides a powerful tool to solve control problems, it is much more complicated than other methods. The complexity of the design procedure and result is a main obstacle for the application of the LMI method. Almost all real plants involve nonlinearity. One may think that almost all methods introduced above are developed for linear systems and thus are not applicable to nonlinear systems. This is somewhat misleading. The control
4
Quantitative Process Control Theory
engineering practice in the past hundred years shows that most nonlinear plants can be controlled well by controllers developed for linear systems. In many cases, a well-tuned PID controller is enough.
1.2
Design of Feedback Control Systems
The most elementary feedback control system has three components: a plant, a sensor to measure the system output, and a controller. Usually, the actuator is lumped in with the plant. The input of the feedback control system, which is called the reference (or set-point), is the desired output of the system. The controller is normally an equation or an algorithm. What the controller does is to compare the system output with the reference and, if an error exists, to manipulate the plant input so that the error is driven toward zero. In this book, only linear systems are considered. A system is linear if the principle of superposition applies. The principle of superposition states that the response produced by the simultaneous applications of two different forcing functions is the sum of the two individual responses. Figure 1.2.1 shows the feedback control system of a paper-making process, of which the goal is to produce paper with constant basis weight. The basis weight, denoting the thickness of paper, is the weight in grams of a single sheet of paper with the area of 1 m2 . In the system, the plant is the papermaking machine, the input of the paper-making machine, referred to as the control variable (or manipulated variable), is the flow rate of stock with certain consistency, and the output of the paper-making machine, referred to as the controlled variable, is the basis weight of paper. The higher the flow rate of stock, the heavier the basis weight of paper; contrarily, the lower the flow rate of stock, the lighter the basis weight of paper. The controller is normally implemented with a computer. The actuator is the valve adjusting the flow rate of stock. The sensor is the basis weight gauge. The reference is the desired basis weight. The computer compares the actual basis weight from the basis weight gauge with the desired basis weight (that is, the reference), determines the deviation (that is, the error), and sends out a signal to the valve to draw the basis weight to the desired value. The design problems of most control systems are similar to that of the paper-making system. The procedure generally involves two steps: 1. Analyzing—What dynamic behavior does the plant have? What is the control objective? 2. Design—How to design the controller to satisfy the requirement? The procedure may require judgments and iterations (Figure 1.2.2). Models
Introduction
FIGURE 1.2.1 Paper-making process control.
FIGURE 1.2.2 Design procedure of a feedback control system.
5
6
Quantitative Process Control Theory
To design a control system, the designer needs to know how the plant output is quantitatively influenced by its input over time. In other words, a mathematical model that describes the dynamic behavior of the plant must be obtained. What should a dynamic model provide? It should capture the main dynamic behavior of a physical plant and predict the input-output response. Models are the basis of control system design. What is more, with the help of models the designer can adjust control strategies and controller parameters in an economical and convenient way. The model used for control system design is referred to as the nominal plant. It can be built with a mechanism-based method (that is, build the model by applying the laws of physics, chemistry, and so on) or with an identification method (that is, build the model from the measured input-output data) (Figure 1.2.3). In the procedure, there are always dynamics that cannot be incorporated into the model. The difference between the nominal plant and the real plant is the uncertainty. All of the uncertain plants form a family, in which the nominal plant can be regarded as its “center.” Details of the uncertainty might be unknown, but a bound of it, in some cases, can be estimated.
FIGURE 1.2.3 Two modeling methods. Compared with control systems in other areas, the uncertainty problem is more prominent in industrial systems. This is due to not only technical reasons, but also economical reasons. To make sure the design result can be successfully applied to practical systems, enough importance must be attached to the uncertainty problem. For some plants, if a change takes place at the input, its effect can be instantly observed from the behavior of the output. This is not true for many industrial plants. For example, in the paper-making process, when the flow
Introduction
7
rate of stock changes, its effect on basis weight cannot be observed instantaneously because of the transport time required for the fluid to flow through piping. The transport time is the so-called time delay (or dead time). In industry, plants with time delay are commonly encountered.
Objectives Generally speaking, the objective of a control system is to make the output behave in a desired way by manipulating the input. In terms of operating features of the system, there are two kinds of common objectives: 1. Regulator problem—To keep the system output close to some equilibrium point. 2. Servo problem—To keep the difference small enough between the output of the system and the given reference. In most cases, the design for the regulator problem is identical to that for the servo problem. The main problem investigated in process control is the regulator problem. Such systems are required to have good disturbance rejection capability; that is, the system output is kept close to the reference in the presence of disturbance, with certain precision. Nevertheless, this does not mean that the reference never changes; instead it does not change often. As a matter of fact, the product during the change of the reference is usually useless. For instance, in the paper-making process, the basis weight is 70g at one phase and 90g at another phase. During the period that the reference is changed from 70g to 90g, all of the produced paper is waste. Design Loosely speaking, there are two sorts of methods to design a controller. One is the traditional empirical method. The designer chooses a controller according to the plant dynamics. Normally the controller is a proportionalintegral-derivative (PID) controller. The controller parameters are adjusted by rules of thumb after the controller has been installed. The other is the model-based method. In this method, both the structure and parameters of the controller are derived based on models. Since experience is still necessary, both art and science are involved in designing such a controller. Almost all advanced design methods are based on models. The most important merit of such a method lies in its rigor. Even in engineering disciplines, rigor can lead to clarity and methodical solutions to problems. In industrial systems, a controller with parameters that cannot be adjusted is seldom used because of several reasons: 1. It is a challenge to obtain the exact information about the plant uncertainty. 2. The operating point of control system may offset or change.
8
Quantitative Process Control Theory 3. The design requirements of control systems may be changed after the system comes into operation.
The controller commonly used (for example, the PID controller) has a fixed structure and adjustable parameters. The static and dynamic requirements of the closed-loop system are met by selecting proper values for the controller parameters in the field. This field adjusting procedure is the so-called controller tuning. The achievable performance of the whole control system relates to the plant. In some cases, obvious improvement of performance can only be obtained by modifying the plant itself rather than the controller. The design procedure of a control system can be complicated. Fortunately, the computer technology developed rapidly in the past several decades; some R ) are available. These software excellent software packages (such as MATLAB packages provide powerful tools for control system design. With them the designer can simulate uncertain systems, adjust and compare the performances of different control systems, and understand how the fundamental control constraints affect the system.
1.3
Consideration of Control System Design
In the past hundred years, many theories have been proposed for control system design. Among them the linear quadratic (LQ) optimal control and the H∞ optimal control are the most important two. However, there exist three problems when some of these advanced control theories are applied to industrial systems: 1. These theories depend on empirical methods or trial-and-error methods in choosing weighting functions. 2. Both the design procedures and the results are complicated for understanding and using, in particular, when the plant involves a time delay. 3. The controller cannot be designed or tuned for quantitative engineering performance indices (such as overshoot or stability margin). To solve these problems, the Quantitative Process Control Theory (QPCT) is proposed in this book by extending the ideas and methods of classical control theory, optimal control theory, and robust control theory. In QPCT, the following problems are considered: 1. How can the choosing of weighting functions be simplified? Most of the advanced design methods are optimization-based methods. The first step of these methods is choosing weighting func-
Introduction tions. Unfortunately, even today there are no clear rules for choosing weighting functions. Only empirical methods or trial-and-error methods are available. This implies that different designers will obtain different controllers even if the same method is used. The designers do not know whether the best controller is obtained. In QPCT, a fixed weighting function is adopted. The designer is not required to choose weighting functions. The role of weighting functions is substituted by introducing a filter to the optimal controller. 2. Can the control system with time delay be analytically designed with optimal methods? The design methods adopted in practice are usually empirical methods. The controller cannot be analytically designed with optimal methods even if the plant is rational. Many optimal design methods have been proposed. However, most of them are numerical methods, which involve intricate design procedures. The merit of the analytical design is that the designer can use formulas to design a controller. In this way, the design task is significantly simplified. In QPCT, the analytical optimal controller is obtained by employing the controller parameterization and the plant factorization techniques. 3. How is the order of the optimal controller related to the plant order? The controller designed with the optimal design methods is usually of high order. For high-order controllers there exist many problems in realization and application. It is desirable to know the relationship between the order of the optimal controller and the plant order, so as to understand how a low-order controller can be obtained. For many methods, the relationship is not known. In QPCT, the result is analytical. Hence, there is a direct relationship between the controller order and the plant order. 4. How is the new design theory related to classical performance indices? The main advantage of modern control theory is that the controller can be designed with the optimal method. However, the theory was not widely adopted in industrial systems. To some extent, this is because the performance index of modern control theory has little relationship with engineering design requirements. For example, in practice, the performance index is normally given in terms of overshoot, stability margin, amplitudes of coupled responses, etc., which are difficult to describe in modern control theory. In QPCT, the performance degree is defined, the quantitative relationship between the optimal performance indices and engineering performance indices is built based on the performance degree, and the quantitative design method is presented.
9
10
Quantitative Process Control Theory 5. Can the performance and the robustness be easily tuned? Designers may find it difficult for classical design methods to make a clear and reasonable tradeoff between conflicting performance indices, for example, nominal performance and robustness. Some new methods can make the tradeoff if the uncertainty profile is exactly known. However, the profile is usually difficult to obtain in practice owing to technical or economical reasons. In addition, design requirements may be changed and the uncertainty may be offset. To reduce the maintaining cost, instead of redesigning the control system, it is desirable that the design requirements be met by tuning in these cases. In QPCT, a simple and effective tuning method is provided to solve this problem. 6. Is the design method applicable to different input signals? In practice, the most frequently encountered signals are steps and pulses (a pulse can be obtained by combining two opposite steps). Therefore, many design methods have a default assumption; that is, the input signal is a step. Nevertheless, other signals, like ramps, may be encountered. In this case, it is desirable that the developed design method should still work. QPCT provides a design method that is applicable to different input signals.
To sum up, the goal of QPCT is to simplify the design procedure on the premise of ensuring good performance, and design controllers for quantitative performance requirements. In this theory, good performance is ensured with the help of optimal design procedures, simplicity is achieved by avoiding choosing the weighting function and designing the controller analytically, and quantitative design is realized by analyzing the relationship between the closed-loop response and controller parameters (Figure 1.3.1). The most important feature of QPCT is that it is “no-weight,” “analytical,” and “quantitative.” With this feature, the theory provides an easy way to design a controller efficiently and quickly. As we know, auto-tuning control is an important method for enhancing the automation level of a control system. Auto-tuning control involves two steps. The first step is identifying the model. The controller conducts its own process behavior test. The second step is parameter computing. The controller parameters are computed accordingly based on the obtained model. As all work is finished in the field computer, design formulas are necessary for the parameter computation. The LQ control and H∞ control do not work here. They require choosing weighting functions and carrying out numerical computation. The design method in this book is particularly suitable for the requirement of auto-tuning control. This book focuses exclusively on the frequency domain method. This is because, on one hand, the frequency domain method is easy to understand; on the other hand, the resulting controllers are easy to implement and use.
Introduction
11
FIGURE 1.3.1 Philosophy of QPCT. Some problems encountered frequently in the state space method can also be dealt with within this framework: 1. Stability analysis. In the analysis of stability, it was already known that the internal stability could be tested only with input-output information and all stabilizing controllers could be parameterized. 2. Optimal control. It will be shown that the optimal solution can be achieved with only input-output information. 3. State control. If a state variable needs to be controlled, the control problem can be formulated in such a way that the variable is chosen as an output. 4. State observer. If it is necessary, a state feedback system with a state observer can be converted into an output feedback system with a compensator. 5. Design constraints. Some design constraints (for example, the constraint on the control variable) can directly be considered in the new framework. For beginners and engineers, it might be easier to understand those basic concepts of control theory in the frequency domain method than in the state space method. For example, in a single-input/single-output (SISO) system,
12
Quantitative Process Control Theory
controllability and observability of a plant is related to the zero-pole cancellations in the plant; a plant is stabilizable if there are no right half-plane (RHP) zero-pole cancellations in the plant. In a less rigorous way, one can simply understand the relationship between the transfer function model and the state space model as follows: the input and output relate to the whole transfer function, while the states relate to the coefficients of the terms in the numerator and denominator of the transfer function. It is important to bear in mind that the purpose of adopting new control strategies in industry is not for the techniques themselves, but is to strive for more profit. Hence, control theory study should satisfy practical requirements. The results should have theoretical warranty, and also can be understood and accepted by engineers.
1.4
What This Book Is about
A good design theory should provide engineers with a framework to cast their control problems and to deal with fundamental tradeoffs and constraints in a systematic and rigorous way. The design procedure should be sufficiently easy and effective and applicable to a larger number of similar problems. This is a recurring theme throughout the book. This book mainly considers the plant with time delay. Although the control problem of systems with time delay emerges in industry, the methods developed here are not confined to this area. As the rational system is a special case of the system with time delay, the study on the system with time delay is theoretically of primary importance. Most of the results given in this book can be directly used for rational systems. This book emphasizes more on the design method than on the analysis method. The main content is sketched in Figure 1.4.1. The general layout is: Chapters 2 and 3 are preliminary knowledge; Chapters 4 to 8 are devoted to the design of SISO control systems; Chapter 9 discusses complex control strategies; Chapters 10 to 14 deal with the design of multi-input/multi-output (MIMO) control systems. In principle, the SISO design for stable plants is a special case of that for unstable plants, and the SISO material can be regarded as a special case of the MIMO material. For tutorial reasons they are treated separately, so that the study difficulty increases gradually. The design procedure is first introduced for special SISO cases, and then for the general SISO case, the decoupling case, and the general MIMO case. The difficulty in studying the MIMO system is larger than that in studying the SISO system. Chapter 14 is the most challenging part of this book. The analysis of stability and performance is involved in different chapters. Mathematical proofs are provided in this book for almost all results, especially when they contribute to the understanding of the subjects presented.
Introduction
13
FIGURE 1.4.1 Main content of this book. To help readers master those important ideas and methods, they are repeated with different backgrounds in different sections. The main results of this book are a series of formulas for controller design. They are introduced in the following way: the design formulas are derived by utilizing the proved theorems; design examples are presented at strategic points to help readers understand the use of the corresponding design formula. With a few exceptions, these examples are based on real plants. With the help of MATLAB, one can conveniently repeat the result in these examples, because almost all controllers are given in the analytical form, even for MIMO systems. The analytical controllers, as well as the plant models, are boxed off. To make the book accessible, as few concepts as possible are introduced and as few mathematical tools as possible are employed, while keeping the mathematics reasonably rigorous. Chapter summaries are included to highlight the main problems and results. Exercises are provided at the end of each chapter to test the reader’s ability to apply the theory he/she studies. Some exercises are straightforward, while others are much more challenging. The exercise with a star means that the knowledge about the state space method is needed, which is provided only to the readers with this background. Chapter 2 introduces the classification of dynamic systems and the analysis methods of classical control theory. Time domain and frequency domain analysis methods of classical control theory have been widely used in industrial systems. Not only can they provide engineering and physical insights, but they are the important fundamentals for developing new theories and understanding the related topics. In Chapter 2, some principles on comparing different controllers are also discussed. Chapter 3 introduces the basic concepts of robust control theory, including the definitions of norm, system gain, closed-loop specification, and controller
14
Quantitative Process Control Theory
parameterization. Robust stability and robust performance are defined, and necessary and sufficient conditions for testing robust stability and robust performance are given. The final topic is to analyze the robustness of a typical system with time delay. Chapter 4 deals with the analytical design problem of H∞ PID controllers for the first-order plant with time delay and the second-order plant with time delay. The basic idea is to approximate time delay with a rational approximation, then design the controller based on H∞ optimization. In this chapter, how to design a controller for quantitative performance and robustness is illustrated in detail. The stabilizing scope of a PID controller is also investigated. An analog of the H∞ design method is the H2 design method. Chapter 5 is devoted to the design of an H2 PID controller. Analytical design methods are developed. The performance limit that is achievable by a PID controller is studied by utilizing rational transfer functions to approximate irrational functions involving a time delay. At the end of this chapter, the filter design problem is discussed. In Chapter 6, the design problem of the general stable plant with time delay is discussed. With a rigorous treatment on the time delay, a quasi-H∞ controller and an H2 controller are analytically derived. It is shown that there exists close relationship between the two controllers and many other wellknown control strategies, such as the Smith predictor, IMC, Dahlin algorithm, deadbeat control, inferential control, predictive control, and PID controller. Chapters 2 to 6 constitute a basic treatment for control system design. Chapters 7 to 9 consider several special control problems, which are seldom discussed in current textbooks and monographs. For stable plants, many control methods have been developed, for example, the PID controller and the Smith predictor. However, the control method for integrating plants is not so popular. Chapter 7 deals with the control problem of integrating plants. Analytical design procedures are developed, the closedloop performance is analyzed, and the performance limit is discussed as well. Chapter 8 concentrates on the control problem of unstable plants. A complete treatment on the optimal design problem of a linear system with time delay is given. This is accomplished by developing a simple yet effective parameterization of all stabilizing controllers, which allows us to compute the optimal controller for both stable and unstable plants with time delay. An analytical design procedure is presented and how to obtain quantitative performance and robustness is discussed. Until now, only basic control strategies are considered for SISO feedback control systems. Chapter 9 studies two degrees-of-freedom (2 DOF) control and several other complex control strategies such as cascade control, antiwindup control, and feedforward control. The controller design problems for the optimal rejection of input disturbance and for the plant with multiple time delays are also discussed. The control configurations considered in the preceding chapters are confined to the plant with a single output, requiring a single manipulated input.
Introduction
15
Such a SISO system is relatively simple. The practical plant may have two or more outputs, requiring two or more manipulated inputs. Chapter 10 focuses on the analysis of MIMO systems, including the definition of zero and pole, design specification, uncertainty description, and robustness test criterion. The design problem of a MIMO system is very challenging as compared to that of a SISO system, because there is performance tradeoff among different outputs, as well as control action tradeoff among different inputs. In Chapter 11, the classical analysis and design methods for MIMO systems are reviewed, including the pairing problem, the decentralized control, and the decoupler design. Chapter 12 introduces the quasi-H∞ decoupling control for MIMO systems with time delay. The main problem of the classical decoupler design is that the method cannot be applied to non-minimum-phase (NMP) plants and unstable plants. It is also difficult to analyze the effect of the decoupler on the closedloop performance and robustness. These problems can be solved by using the quasi-H∞ decoupling control. In the method, the design of the decoupler and the controller is finished in one step. The result is analytical and can be applied to unstable NMP plants. The performance and robustness can be quantitatively tuned. Chapter 13 focuses on the H2 decoupling control for MIMO systems with time delay. H∞ control and H2 control are two prevailing design methods. When the system performance is specified in terms of ∞-norm, simple and easy-to-understand results can be obtained for robustness analysis. For controller design, however, the H2 control can provide more elegant results because of the orthogonality of 2-norm. In this chapter, the H2 optimal controller is analytically derived for decoupling control. The resulting controller can be regarded as a natural extension of the SISO controller. The last chapter of this book is Chapter 14, of which the subject is the multivariable H2 optimal control. The decoupling control is very important in practice, since the tuning can be significantly simplified in a decoupled system. Nevertheless, the optimal control in a general sense (whose response may be non-decoupled) is more important in theoretical research. Compared with the decoupling optimality, the general optimality implies that the minimum error is reached. In this chapter, the optimal controller is analytically derived based on the proposed plant factorization and the controller parameterization. This book makes use of a lot of materials from published papers and books. A detailed description is given in Notes and References.
1.5
Summary
The development of feedback control theory in the past several decades makes the subject more rigorous and more applicable. This necessitates a new de-
16
Quantitative Process Control Theory
scription for the discipline. The goal of this book is to introduce an advanced design theory that is as compendious as possible and can be applied to a wide range of practical control problems. In this book, the SISO design, the decoupling system design, and the MIMO optimal design are dealt with within a unified framework, in which the SISO design is a special case of MIMO design. This framework has the following notable features: • The design problem of control system is endowed with a clear theory. The controller is derived based on the optimal control theory. The optimal design procedure guarantees good performance. • The choosing of weighting functions is simplified. This is a big obstacle in practice when some advanced design methods are used. In the design procedure introduced in this book, the designer is not required to choose a weighting function. • The optimal controller is derived with an analytical method. The controller order is directly related to the plant order. The designer can obtain the controller by using design formulas directly. Compared with numerical methods, the analytical design significantly reduces the design workload. • The relationship between the new theory and the classical performance indices is established. The designer can design or tune the controller for quantitative performance and robustness. Field tuning is usually necessary in practice. On one hand, the exact uncertainty cannot be estimated through a few tests. On the other hand, the working condition or the design requirement may be changed after a control system comes into operation. • Only input and output information is used. The information about the state variable is not required. The use of state variables implies that more sensors are needed. However, to reduce the cost, it is desirable to use as few sensors as possible in practice. If instead an observer is used to estimate state variables, both the structure and the implementation will become complicated. This book focuses on the frequency domain method; nevertheless, the author strongly believes that the design methods, as well as the key ideas presented here, have special reference to other design methods, because there are certain relationships among different methods. What makes the frequency domain method attractive is that it is intuitive, which makes designers more easily master the essential of design problems.
Introduction
17
Exercises 1. This exercise is used to illustrate a possible situation where the design method presented in this book can be applied. The head section of a paper-making machine consists of several tanks as depicted in Figure E1.1. The thick stock is mixed with the recycled water (called the white water) in mixing tanks. The head-box delivers the diluted suspension of fibers to a fine mesh screen called the wire. The amount of stock flowing onto the wire can be controlled by the flow rate of thick stock. Such a plant can be described by a model in the form of the first-order plant with time delay:
FIGURE E1.1 Head section of a paper machine.
G(s) =
Ke−θs . τs + 1
where K=0.26, τ =2.5, and θ=0.5. As the real plant is very complex, the model parameters are uncertain. There exists a 20% error on K and θ respectively and a 30% error on τ . The design requirements are that the overshoot is less than 10% and the rise time is as short as possible. (a) Assume that there is no uncertainty. Design a controller to satisfy the requirements. (b) How to tune the controller to satisfy the design requirements for all uncertain plants?
18
Quantitative Process Control Theory (c) Now, due to the change of the working point, the error of θ increases to 30%. Furthermore, it is found that 5% overshoot is a more reasonable performance specification. The operator is not able to redesign the controller. Is it possible to achieve the requirements for all uncertain plants only by tuning the controller? With regard to the design methods that you are familiar with, give some suggestions on the way to satisfy the above design requirements.
Notes and References Mayr (1970) reviewed the history of automatic control in detail. There is a lot of literature about the control of paper-making machines. Sun (1993), Zhang and Sun (1995), and Zhang (1996) discussed the control of low-speed paper-making machines. Section 1.3 follows the discussion in Zhang (1998). Some ideas in this book are inspired by the work in Morari and Zafiriou (1989) and Doyle et al. (1992). Readers may regard this book as a sequel of the famous IMC method (Morari and Zafiriou, 1989). For auto-tuning, please refer to Astrom and Hagglund (2005). The following books provide excellent summaries of current thoughts: Zhou et al. (1996), Goodwin et al. (2001), Brosilow and Joseph (2002), Skogestad and Postlethwaite (2005), Qiu and Zhou (2009), and Wu et al. (2010). For the introduction to LMIs, readers can refer to Boyd et al. (1994). The plant in Exercise 1 is from Sun (1993, p. 36).
2 Classical Analysis Methods
CONTENTS 2.1 2.2 2.3 2.4 2.5 2.6 2.7
Process Dynamic Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rational Approximations of Time Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time Domain Performance Indices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Frequency Response Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transformation of Two Commonly Used Models . . . . . . . . . . . . . . . . . . . . . . . . . Design Requirements and Controller Comparison . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
19 23 27 33 37 41 44 45 46
This chapter and the next are most fundamental to the design methods in this book. Before learning how to design a control system, the dynamic behavior of the plant, or equivalently the mathematical model of the plant, should be investigated. In the first part of this chapter, dynamic models of typical plants are introduced and the rational approximations of time delay are discussed. In the remainder of this chapter, the basic methods for time domain analysis and frequency domain analysis in classical control theory are reviewed; further discussion on design requirements and performance comparison are given. The analysis methods of classic control theory have been widely used in practical control systems for a long time. These methods are the basis for developing the new theory in this book and for understanding the related topics.
2.1
Process Dynamic Responses
A control system is generally designed based on the mathematical model of a plant. The model provides a functional relationship between the input and the output of the plant. Practical plants can be different equipments or units, for example, distillation column, paper-making machine, disk, maglev, etc. Although the physical and chemical phenomena taking place in these plants are different, their models are essentially similar from the viewpoint of control theory. These plants are usually described by a linear time-invariant causal 19
20
Quantitative Process Control Theory
model G(t), where t is the continuous time variable. Causality means that G(t) = 0 for t < 0. In such a system, the output depends only on the current and previous inputs. Let G(s) denote the transfer function of G(t). Then G(s) is in the form of a proper transfer function with real coefficients and time delay. A transfer function G(s) is proper if G(s)|s=j∞ is finite, is strictly proper if G(s)|s=j∞ = 0, and is bi-proper if G(s)|s=j∞ is a nonzero constant. All transfer functions that are not proper are improper. In particular, for a rational transfer function G(s), it is proper if its degree of denominator is greater than or equals its degree of numerator, is strictly proper if its degree of denominator is greater than its degree of numerator, and is bi-proper if its degree of denominator equals its degree of numerator. The linear models of industrial plants described by transfer functions normally fall into three categories: Stable plant with time delay For some plants, when the original mass or energy equilibrium is upset by a change at the input, the output will eventually reach a new equilibrium. Such plants do not have closed RHP poles. They are called stable plants. Stable plants are usually described by the following model: G(s) =
K e−θs , (τ1 s + 1)(τ2 s + 1)...(τn s + 1)
(2.1.1)
where K is a real constant denoting the static gain, θ is a positive real constant denoting the time delay, and τi (i = 1, 2, ..., n) have positive real parts and denote the time constants. The following first-order model is frequently used in practice: G(s) =
K e−θs . τs + 1
(2.1.2)
The model can be well illustrated by utilizing a shower (Figure 2.1.1). Assume that the current process is at steady state. The temperature of warm water, the flow rate of hot water, and the flow rate of cold water are constants. At the time t, turn up the valve of hot water by a small increment ∆q. As the flow rate of cold water is kept constant, the increased hot water makes the temperature of warm water gradually increase. At the time t1 the increment of the warm water temperature is ∆c and does not change anymore. The warmer water flows along the pipe and reaches the outlet at the time t2 . Then the gain of the process is K = ∆c/∆q. The time constant τ denotes the speed of the temperature change. More precisely, τ = 0.632(t1 − t). The time delay θ is the time the warmer water goes through the pipe: θ = t2 − t1 . Unstable plant with time delay When the original mass or energy equilibrium in some plants is upset by a change at the input, the output will
Classical Analysis Methods
21
FIGURE 2.1.1 A shower. increase or decrease faster and faster until the physical limit is reached. Such plants have RHP poles and thus are called unstable plants. Unstable plants can be described by G(s) =
K e−θs , (−τ1 s + 1)(−τ2 s + 1)...(−τm s + 1)· (τm+1 s + 1)...(τn s + 1)
(2.1.3)
where K is a real constant denoting the static gain, θ is a positive real constant denoting the time delay, and τi (i = 1, 2, ..., m, ..., n) have positive real parts and denote the time constants. The first-order unstable plant can be written as G(s) =
K e−θs . τs − 1
(2.1.4)
Integrating plant with time delay For some other plants, when the original mass or energy equilibrium is upset by a change at the input, the output will increase or decrease with a fixed speed until the physical limit is reached. Such plants are called integrating plants. Integrating plants have one or more poles at the origin. In this book, it is assumed that they do not have open RHP poles. Those with poles both at the origin and in the open RHP are included in the unstable plants. The integrating plants are critical plants between stable ones and unstable ones. In general, they are regarded as the special cases of unstable plants. The integrating plants are usually modeled as G(s) =
sm (τ1 s
K e−θs , + 1)(τ2 s + 1)...(τn s + 1)
(2.1.5)
22
Quantitative Process Control Theory
where K is a real constant denoting the static gain, θ is a positive real constant denoting the time delay, τi (i = 1, 2, ..., n) have positive real parts and denote the time constants, and m is a positive integer. The first-order integrating model is G(s) =
K −θs e . s
(2.1.6)
The step responses of the three plants are shown in Figure 2.1.2.
FIGURE 2.1.2 Step responses of three different plants. Stable plants, integrating plants, and unstable plants are distinguished by their pole positions. According to their zero positions, plants can be classified as minimum-phase (MP) plants and NMP plants. A plant is NMP if its transfer function contains zeros in the closed RHP or contains a time delay. Otherwise, the plant is MP. Sometimes, to avoid the difficulty of treating the time delay in plants, the plant with time delay is modeled as an NMP rational plant. Most practical plants can be covered by the three categories. To get general results in theoretical study, the following plant model may sometimes be used: G(s) =
KN+ (s)N− (s) −θs e , M+ (s)M− (s)
(2.1.7)
where K is a real constant denoting the static gain, θ is a positive real constant denoting the time delay. The subscript “+” denotes that all roots are in the closed RHP, and “−” denotes that all roots are in the open left halfplane (LHP); that is, N+ (s) and M+ (s) are the polynomials with roots in
Classical Analysis Methods
23
the closed RHP, and N− (s) and M− (s) are the polynomials with roots in the open LHP. It is assumed that N+ (0) = N− (0) = M+ (0) = M− (0) = 1, and deg{N+ } + deg{N− } ≤ deg{M− } + deg{M+ }. Here deg{·} denotes the degree of a polynomial. The first assumption implies that the constant terms of these polynomials are normalized as 1, and is made solely to simplify the statement. The second assumption is a normal one, with which the plant is proper. An improper plant does not exist physically. The plant with finite imaginary axis poles can be regarded as a special case of (2.1.7). In design problems, it is normally assumed that the plant does not have any finite imaginary axis zeros. Practical plants seldom have finite zeros on the imaginary axis. In case this happens, a slight perturbation can be introduced to the zeros in order to use the design method in this book. For example, substitute (s + 0.01)/(s + 1) for s/(s + 1). There may exist some cases that are more complicated. For example, there are multiple time delays in the plant: G(s) =
1 1 e−θ1 s + e−θ2 s . τ1 s + 1 τ2 s − 1
(2.1.8)
It is a challenge to deal with such a model. Normally, this case should be avoided in modeling.
2.2
Rational Approximations of Time Delay
In control system design, a rigorous treatment on the time delay involved in the plant is very difficult. This is because time delay is an irrational function. It is of infinite dimension. Most design methods that have been developed so far are based on rational functions. They can only be applied to plants of finite dimension. A widely adopted method to overcome this problem is to approximate time delay by employing rational functions. As we know, time delay can be expressed as the limit of a large number of first-order lags in series: n 1 −θs . (2.2.1) = lim e n→∞ 1 + θs/n This implies that time delay has an infinite number of poles, which makes the analysis and design of control systems challenging. A natural idea is to approximate time delay with a finite number of lag elements, for example let n = 1. Another method is to approximate time delay with the Taylor series expansion: e−θs = lim 1 − θs + θ2 s2 /2! + ... + (−1)n θn sn /n!. n→∞
(2.2.2)
24
Quantitative Process Control Theory
In both mathematics and applications, the Taylor series expansion is frequently utilized to approximate a function and analyze its property. Rational fraction expressions can be used as the tool of approximation and provide better results. A typical method is the Pade approximation. The basic idea is to make the power series expansion of a rational function match a given power series expansion with as many terms as possible. Assume that the formal power series expansion of a function F (s) is given as F (s) = c0 + c1 s + c2 s2 + ....
(2.2.3)
Let m and n be nonnegative integers. The Pade approximant of F (s) is a rational fraction given by am sm + am−1 sm−1 + ... + a0 Vmn (s) = . Pmn (s) bn sn + bn−1 sn−1 + ... + b0
(2.2.4)
To obtain a unique solution, one has to set a scale. It might as well take b0 = 1. This leaves m + n + 1 unknowns in the fraction. Let the Taylor series expansion of the Pade approximant match the first m + n + 1 terms of the given power series expansion of F (s), that is,
=
(bn sn + bn−1 sn−1 + ... + b0 )(c0 + c1 s + c2 s2 + ... + cm+n sm+n ) am sm + am−1 sm−1 + ... + a0 . (2.2.5)
Compare the coefficients of 1, s, ..., sm+n in the two sides of the equation. One obtains the following equations: a0 c0 0 0 ... 0 b0 a 1 c1 c0 0 ... 0 b1 , (2.2.6) ... = ... ... ... ... ... ... am cm cm−1 cm−2 ... cm−n bn cm+1 cm ... cm−n+1 b0 0 cm+2 cm+1 ... cm−n+2 b1 = 0 . (2.2.7) ... ... ... ... ... ... cm+n cm+n−1 ... cm bn 0
Here ci = 0 when i < 0. rewritten as cm cm−1 cm+1 cm ... ... cm+n−1 cm+n−2
Since b0 = 1, the second set of equations can be ... cm−n+1 b1 b2 ... cm−n+2 ... ... ... ... cm bn
cm+1 = − cm+2 . ... cm+n
(2.2.8)
If this set of equations has a solution, the coefficients of Pmn (s) can be obtained from (2.2.8) and the coefficients of Vmn (s) can be obtained from (2.2.6).
Classical Analysis Methods
25
For exponential functions, the Pade approximant has a more clear expression. The m/n Pade approximant of time delay can be written as e−θs ≈
Vmn (θs) , Pmn (θs)
(2.2.9)
where Vmn (θs)
=
m X j=0
Pmn (θs)
=
n X j=0
(m + n − j)!m! (−θs)j , (m + n)!j!(m − j)! (m + n − j)!n! (θs)j . (m + n)!j!(n − j)!
It can be verified that Pmn (θs) = Vnm (−θs). When m = n, the all-pass Pade approximant is obtained. For SISO systems, a transfer function is all-pass if its magnitude equals 1 at all points on the imaginary axis. The terminology comes from the fact that a filter in the form of an all-pass transfer function passes the input sinusoids of all frequencies without attenuation. All zeros of the all-pass Pade approximant are in the open RHP and all poles of the all-pass Pade approximant are in the open LHP. The zeros and the poles are the mirror-images of each other.
FIGURE 2.2.1 Phases of the all-pass Pade approximant and time delay. The all-pass Pade approximant is frequently used in practice. Compared with the Taylor series expansion, the all-pass Pade approximant has two features:
26
Quantitative Process Control Theory 1. The all-pass Pade approximant provides better precision than the Taylor series expansion of the same order. 2. In the all-pass Pade approximant, the magnitude characteristic of time delay is preserved; the only difference is the phase (Figure 2.2.1).
A closed-loop system is stable if its characteristic equation has no roots in the closed RHP. Although the rational approximation can arbitrarily approximate time delay, they were seldom used in classical control theory to analyze the stability of the closed-loop system. The main reason is that sometimes the rational approximation cannot guarantee the correctness of the result even though a high-order rational approximation is used. Example 2.2.1. To see how the designer may be misled, consider the simple system shown in Figure 2.2.2. The characteristic equation of the closed-loop system is 1 1 + e−s = 0. s or 1 + ses = 0.
FIGURE 2.2.2 A simple control system. It is easy to verify that this closed-loop system is stable. With the Taylor series expansion of different orders, different roots for the characteristic equation can be obtained: 1+s=0
The root is s = −1
2
1+s+s =0 2
3
1 + s + s + s /2 = 0
The roots are s = −0.5 ± j0.8660
The roots are s = −1.5437, −0.2282 ± j1.1151
From these results, it can be concluded that the closed-loop system is stable. However, a higher order Taylor series expansion gives the following equation: 1 + s + s2 +
s3 s4 s5 s6 + + + = 0, 2 3! 4! 5!
Classical Analysis Methods
27
which has two roots in the RHP: s = 0.1041 ± j3.0815. Although the rational approximation did not provide the desired result in the above example, this does not imply that it definitely cannot be used for the analysis and design of a control system. It will be shown in Chapters 4 and 5 that, with appropriate methods, the rational approximation can be used to analyze and design control systems, and satisfactory responses can be obtained.
2.3
Time Domain Performance Indices
The most elementary feedback control system has two components: a plant to be controlled and a controller to generate the input to the plant. Consider the unity feedback control loop shown in Figure 2.3.1, where C(s) denotes the controller, G(s) denotes the plant, r(s) is the reference, e(s) is the error, u(s) is the controller output, y(s) is the system output, d′ (s) is the disturbance at the plant input, and d(s) is the disturbance at the plant output. Measurement noise is very small and thus can be neglected.
FIGURE 2.3.1 Elementary feedback control loop. The unity feedback control loop has played a vital role in the study of control theory. On one hand, it is the most widely used structure. On the other hand, most of the non-unity feedback control loops can easily be converted into the unity feedback control loop. The unity feedback control loop is the main control structure discussed in this book. The response of the system shown in Figure 2.3.1 depends on not only the model, but also the input and the initial condition. Without loss of generality, it is a common practice to use the standard initial condition; that is, initially the system is at rest with its output and all time derivatives thereof being zero. In the analysis and design of control systems, performances of various systems should be compared on the same basis. This may be achieved by speci-
28
Quantitative Process Control Theory
fying a particular test signal for the input and then comparing the responses of different systems to the test signal. Test signals are abstracted from practical signals. They should be chosen as follows: 1. The response characteristic of the represented signal is reflected as much as possible. 2. The form of the test signal is as simple as possible so that the system response can be analyzed easily. Four types of time domain test signals are listed here. They are frequently used in the design of control systems. Impulse The impulse signal is usually denoted by δ(t): δ(t) =
Z
0 t 6= 0 , ∞ t=0
∞
δ(t) dt = 1.
0
No ideal impulse exists in the real world. In practice, the impulse can be approximated by a rectangular pulse: A 0 ≤ t ≤ 1/A . r(t) = 0 t < 0, t > 1/A Here A is a constant denoting the magnitude. The Laplace transform of the impulse is 1.
Step The step signal is defined by 0 t<0 , r(t) = A t≥0 where A is a constant denoting the magnitude. The step signal with A = 1 is called the unit step. The Laplace transform of the unit step is 1/s. Ramp Mathematically, a ramp signal is defined as follows: 0 t<0 , r(t) = At t ≥ 0 Here A is a constant. A ramp signal with A = 1 is called the unit ramp. The Laplace transform of the unit ramp is 1/s2 .
Classical Analysis Methods
29
Sinusoidal The sinusoidal signal with the amplitude A and the frequency ω can be expressed as 0 t<0 r(t) = . A sin ωt t ≥ 0 Its Laplace transform is Aω/(s2 + ω 2 ). Test signals play a fundamental role in the design of control systems. Many design indices are based on test signals. The use of test signals is justified because of the relationship existing between the response of a system to a test signal and the capability of the system to cope with the real signal. It is impossible to design a controller that works well for all types of inputs. The designer has to decide which inputs are the most important and the most frequent, and then to design a controller for the corresponding test signal. There are two types of inputs in the feedback control system shown in Figure 2.3.1: the reference and the disturbance. In most cases, they can be approximated as pulses, steps, or ramps. The step is the most frequently encountered signal. The pulse can be obtained by combining two opposite step signals. The ramp is seldom encountered. Normally, practical signals can be viewed as the result obtained by impulsing a linear stable system with a step or a pulse. This is why the controller is often designed for a step input. In a step signal, there are abundant sinusoidal signals whose amplitudes decrease with frequencies. Therefore, the step signal is a reasonable and sufficiently strict choice for both theoretical research and application. Looking back at the history of control theory, it can be seen that the development of control theory is closely related with the description of the response of a control system and the corresponding performance indices. In classical control theory, the performance of a control system is usually characterized in terms of transient response and steady-state response in the time domain. The transient response is the response that goes from the initial state to the steady state. The steady-state response refers to the manner in which the system output behaves as the time approaches infinity. People usually pay more attention to the transient response. On one hand, the magnitude and the time of the transient response are usually limited in practice. As a result, it is difficult to obtain the required transient response. On the other hand, there are always disturbances in a real system. The system almost always goes from one state to another. Performance indices of the transient response are generally defined by utilizing the unit step response (Figure 2.3.2). Overshoot σ The overshoot is the maximum value of the unit step response, measured from unity. It is common to use the percentage overshoot. Rise time tr In overdamped systems, the rise time is the time required for the unit step response to rise from 10% to 90% of its steady-state value. For
30
Quantitative Process Control Theory
FIGURE 2.3.2 Step response curve for time domain performance indices. underdamped systems, the rise time is specified as the time when the unit step response reaches the steady-state value for the first time. Settling time ts The settling time is the time required for the unit step response to reach and stay within a given error band (usually 5% of the steady-state value). One major objective of control systems is to reject the effect of disturbances and keep the system output as close as possible to the reference. Although there exists an internal relationship between the reference response and the disturbance response, the reference response cannot give a quantitative estimation. To provide this information, two transient performance indices are defined here for the unit step disturbance at the plant input (also referred to as the load). They are shown graphically in Figure 2.3.3. Perturbation peak ρ The perturbation peak is the maximum value of the disturbance response, measured from the steady-state value. Recovery time trs The recovery time is the time required for the disturbance response to reach and stay within a given error band (usually 5% of the steady-state value). Now consider the steady-state performance. The steady-state performance is measured with the steady-state error. The steady-state error of a system is the difference between the desired output and the real output of the system as
Classical Analysis Methods
31
FIGURE 2.3.3 Disturbance response for time domain performance indices. time goes to infinity (that is, the transient response reaches the steady state). It reflects how accurately the output can be controlled. It is desirable that the steady-state error should gradually vanish. Consider the system shown in Figure 2.3.1. Let L(s) = G(s)C(s) be the open-loop transfer function. From the Final Value Theorem it is known that the steady-state error of a stable system is lim e(t) = lim
t→∞
s→0
sr(s) . 1 + L(s)
(2.3.1)
It can be seen that the steady-state error depends on not only the input but also the open-loop transfer function of the system. Whether a given system exhibits a steady-state error for a given type of input is determined by the system type. The definition of the system type is given as follows. Definition 2.3.1. The system is said to be of Type m if L(s) has m poles at the origin. Now we study the effect of the input and the system type on steady-state error. Only the step input and the ramp input are considered here, since it is rather rare to design a system of Type 3 or higher in practice. From (2.3.1) the steady-state error for a step reference (that is, r(s) = 1/s) is lim e(t) =
t→∞
=
1 1 + L(s) 1 . 1 + lims→0 L(s)
lim
s→0
(2.3.2)
32
Quantitative Process Control Theory
It is a constant for a Type 0 system. If the zero steady-state error is required, the system type is at least one. The steady-state error for a ramp reference (that is, r(s) = 1/s2 ) is given by lim e(t)
t→∞
1 s + sL(s) 1 . lims→0 [sL(s)]
=
lim
s→0
=
(2.3.3)
In this case, a Type 0 system is incapable of following a ramp at the steady state. The steady-state error is infinite. A Type 1 system can follow a ramp with a finite steady-state error. A Type 2 or higher system can follow a ramp with zero steady-state error. The classical performance indices, such as overshoot and rise time, are intuitive and have been widely used in practice. However, it is difficult to describe them mathematically. This prevents people from studying the design problem in a rigorous way. To optimize the system performance with mathematical methods, integral performance indices were presented. These indices were defined in different forms. Integral Absolute Error (IAE): Z IAE =
∞ 0
|e(t)|dt.
Integral Square Error (ISE): ISE =
Z
∞
e2 (t)dt.
0
Integral of Time Multiplied by Absolute Error (ITAE): Z ∞ t|e(t)|dt. ITAE = 0
Among these performance indices, the ISE index is the only one that is widely applied. This is because it is easier to perform the optimization procedure with the ISE index than with other indices, while other indices cannot provide superior performance to the ISE index. Based on the ISE index, the LQ optimal control and linear quadratic Gaussian (LQG) optimal control were developed. They are the most important parts that compose the modern control theory. Another ISE-based index is the H2 index. In H2 optimal control, the system input is assumed to be the impulse, or equivalently, the white noise with zero mean and unit variance. The basic design objective is to search for a controller such that the ISE of the system is minimized for this particular input.
Classical Analysis Methods
33
One can also minimize the worst ISE resulting from all energy-bounded inputs. In this case, the performance index can be written as Z ∞ sup e2 (t)dt. r(t)
0
The index motivates the appearance of H∞ optimal control. One major shortcoming of the H2 and H∞ performance indices is that they do not correlate with the classical performance indices. The designer does not know whether the response specified in terms of classical performance indices (such as overshoot, stability margin, the amplitude of coupled responses, and so on) can be reached by an optimal/suboptimal controller. As a direct result, there is a gap between the LQ/H2 /H∞ control theory and the classical techniques. Many engineers, who usually depend on engineering and physical insights, are reluctant to accept these new theories.
2.4
Frequency Response Analysis
When a linear system is subject to a sinusoidal input, its ultimate response is also a sustained sinusoidal wave. This characteristic constitutes the basis of frequency response analysis, the most conventional method used by engineers for the analysis and design of control systems. In the frequency response analysis, the frequency of the input is varied over the range of interest; the responses resulting from the input are studied. Consider the unity feedback control system, of which the open-loop transfer function is L(s). The closed-loop transfer function T (s) can be written as T (s) =
L(s) . 1 + L(s)
(2.4.1)
The frequency response of the system is T (jω) =
L(jω) , 1 + L(jω)
which can be expressed with magnitude and phase as T (jω) = |T (jω)|∠T (jω).
(2.4.2)
For a stable MP system, the magnitude has a one to one relationship with the phase. If the magnitude curve of a system is specified, then the phase curve is uniquely determined, and vice versa. This, however, does not hold for an NMP system. Similar to the time domain method, in the frequency response analysis, some points with special characteristics are selected to define the performance indices (Figure 2.4.1).
34
Quantitative Process Control Theory
FIGURE 2.4.1 Magnitude curve for frequency response analysis. Resonance peak Tp The resonance peak is the maximum value of the magnitude of the closed-loop frequency response. Resonance frequency ωr The resonance frequency is the frequency at which the resonance peak occurs. Bandwidth BW The bandwidth is the frequency range beyond which the signal magnitude drops down by more than 3dB. The resonance peak is indicative of the relative stability of a system. A large resonance peak corresponds to a large overshoot. This implies that the system response is not very steady. The bandwidth reflects the speed of the transient response. If the bandwidth is large, high frequency signals can pass through the system. As a result, the system response is fast. A distinct feature of the frequency response analysis is that the stability, as well as the performance, of the closed-loop system can be determined from the characteristics of the open-loop response. At the early stage of control theory, this feature reduced the level of difficulty in control system design. The stability of the closed-loop system can be tested by means of the Nyquist plot of the open-loop transfer function. Let us begin with the Nyquist path: it starts at the origin, goes up the positive imaginary axis, turns into the RHP following a semicircle of infinite radius, and comes up the negative imaginary axis to the origin again. As a point s = jω makes one circuit around this curve, the point L(jω) traces out a curve called the Nyquist plot of the transfer function L(s) (Figure 2.4.2). The Nyquist path must not pass through zeros or poles of L(s). If L(s)
Classical Analysis Methods
35
FIGURE 2.4.2 Nyquist plot of a stable open-loop system. has finite zeros or poles on the imaginary axis, the path must be modified by an infinitesimal detour. The path goes around these zeros and poles so that the zeros and poles on the imaginary axis are regarded as they are in the open LHP, while all of the zeros and poles in the closed RHP are enclosed by this path. Theorem 2.4.1. (Nyquist Stability Criterion) Let n denote the total number of poles of L(s) in the RHP. The closed-loop system is stable if and only if the Nyquist plot of L(s) does not pass through the point (−1, 0) and encircles it n times counterclockwise. The stability of the closed-loop system can also be tested with the Bode plot of L(s). A Bode plot consists of two graphs: one is the logarithm graph of the magnitude |L(jω)|; the other is the graph of the phase angle ∠L(jω). Both are plotted versus the frequency (Figure 2.4.3). Theorem 2.4.2. (Bode Stability Criterion) A closed-loop system is unstable if the frequency response of L(s) has a magnitude greater than or equal to 1 at the frequency where the phase angle is −180◦. Compared with the algebra stability criterion, one advantage of the Nyquist stability criterion and the Bode stability criterion is that they can cope with systems having a time delay. Write the open-loop transfer function as L(s) = Lo (s)e−θs , where Lo (s) is the delay-free part and θ is the time delay. The magnitude of the open-loop transfer function remains the same as
36
FIGURE 2.4.3 Bode plot of L(jω).
Quantitative Process Control Theory
Classical Analysis Methods
37
that of its delay-free part, while the phase angle becomes ∠L(jω) = ∠Lo (jω) − θω.
(2.4.3)
The Bode plot can be used not only to test the stability of the closed-loop system, but also to describe the relative stability or the stability margin. Gain Margin (GM) Let ωc be the frequency where the phase angle is −180◦(namely phase crossover frequency). The gain margin is the reciprocal of the magnitude at the frequency. GM = |L(jωc )|−1 , ∠L(jωc ) = −180◦.
(2.4.4)
Phase Margin (PM) Let ωg be the frequency where the magnitude is 1 (namely gain crossover frequency). The phase margin is the additional phase lag needed to distabilize the system. PM = 180◦ + ∠L(jωg ), |L(jωg )| = 1.
(2.4.5)
The gain margin and phase margin measure the distance from the critical point to the Nyquist plot in a certain direction (Figure 2.4.2). In the classic control theory, they are important metrics of stability and frequently used as the performance index for control system design. To determine the relative stability, both the gain margin and the phase margin have to be given.
2.5
Transformation of Two Commonly Used Models
The so-called modeling is the process of constructing the mathematical, physical, or conceptual simulation of a real-world object or phenomenon. People usually use experimental methods or mechanism-based methods to get a model. In this section, only experimental methods are considered. Almost all design methods are model-based despite the different forms of model. There are two typical experimental methods in process control: the step response method and the ultimate cycle method. The step response method is based on the information from the open-loop step response. The obtained model is usually a transfer function in the form of the first-order plant with time delay. The ultimate cycle method utilizes a closed-loop procedure in which only a proportional controller is used. By tuning the controller, a sustained oscillation can be built, which gives the information as to the ultimate gain and the ultimate period. With regard to the two types of models, there are two types of design methods. One is based on the step response model, for example, the CohenCoon (C-C) method. The other is based on the ultimate cycle model, for example, the Ziegler-Nichols (Z-N) method.
38
Quantitative Process Control Theory
Historically, the two models and the two corresponding design methods are developed independently. Since the plants they describe are the same one, they must be internally equivalent. Here, the quantitative relationship between the two methods will be derived. First, assume that the step response model is expressed as follows: G(s) =
K e−θs , τs + 1
(2.5.1)
and it is desirable to compute the three parameters from the obtained ultimate cycle model. The ultimate cycle method goes through the following steps: First, the controller is taken to be a proportional controller KC and KC is set to be a small value. Then, KC is increased from small to large by small steps until a sustained oscillation with constant amplitude occurs for a reference change. The value of KC that results in the oscillation is referred to as the ultimate gain Ku . The period of the oscillation is recorded as the ultimate period Tu . The ultimate frequency is ωu = 2π/Tu (Figure 2.5.1).
FIGURE 2.5.1 Ultimate cycle method. The Nyquist plot and the Nyquist stability criterion can be used to explain the ultimate cycle method. An increase of the controller KC will make all points on the Nyquist plot radially move outward from the origin. When KC increases to the extent that the Nyquist plot passes through the point (−1, 0), the stability limit is reached and a sustained oscillation occurs. Accordingly, we have ∠Ku G(jωu )
= −π,
(2.5.2)
Ku Ke−jθωu , jτ ωu + 1
(2.5.4)
|Ku G(jωu )|
= 1.
(2.5.3)
Since Ku G(jωu ) =
the relationship between the step response model and the ultimate cycle model can be expressed as −θωu − arctan(τ ωu ) =
−π,
(2.5.5)
Classical Analysis Methods
39 Ku K p (τ ωu )2 + 1
=
1.
(2.5.6)
When the plant gain K is known (if not, one can carry out the procedure twice), the time constant of the step response model is p (Ku K)2 − 1 τ = ω p u Tu (Ku K)2 − 1 = , (2.5.7) 2π and the time delay of the step response model is p π − arctan( (Ku K)2 − 1) θ = ωu p Tu Tu = − arctan( (Ku K)2 − 1). 2 2π
(2.5.8)
Hence, if the ultimate cycle model is obtained, the step response model can be exactly calculated by employing Ku and ωu . One may desire to calculate the ultimate cycle model Ku and Tu when K, θ, and τ are known in the first order plus time delay model. It is a challenge to obtain analytical expressions by solving the above equations. Here they are derived by the time domain analysis. Interested readers can compare the precision and complexity of the two methods. Without loss of generality, assume that a unit step reference is used in the ultimate cycle method. The system output can be written as y(s) =
1 KC Ke−θs . s τ s + 1 + KC Ke−θs
(2.5.9)
KC Ke−θs . τ s + 1 + KC Ke−θs
(2.5.10)
f (s) , s
(2.5.11)
Let f (s) = Then y(s) =
where f (s) is an irrational function. To derive the ultimate cycle model, f (s) is expanded with a rational approximation. The Pade approximation is employed. Assume that the Maclaurin series expansion (that is, the Taylor series expansion of a function about 0) of f (s) is f (s) = f (0) + f ′ (0)s +
f ′′ (0) 2 f (3) (0) 3 f (4) (0) 4 s + s + s + ..., 2! 3! 4!
(2.5.12)
40
Quantitative Process Control Theory
where f (0) = f ′ (0) = f ′′ (0) =
f (3) (0) =
f (4) (0) =
KC K , 1 + KC K KC K(θ + τ ) − , (1 + KC K)2 KC K(KC Kθ2 − θ2 − 2θτ − 2τ 2 + 2KC Kθτ ) , − (1 + KC K)3 KC K(θ3 + 3Kc2 K 2 θ2 τ − 12KC Kθ2 τ + 6τ 3 −12KC Kθτ 2 + 6θτ 2 + Kc2 K 2 θ3 + 3θ2 τ − 4KC Kθ3 ) − , (1 + KC K)4 KC K(Kc3 K 3 θ4 + 4Kc3 K 3 θ3 τ − 11Kc2 K 2 θ4 −44Kc2K 2 θ3 τ − 48Kc2K 2 θ2 τ 2 + 11KC Kθ4 +44KC Kθ3 τ + 84KC Kθ2 τ 2 + 72KC Kθτ 3 −θ4 − 4θ3 τ − 12θ2 τ 2 − 24θτ 3 − 24τ 4 ) − . (1 + KC K)5
Let the Pade approximation of f (s) be f (s) =
a 2 s2 + a 1 s + a 0 . b 2 s2 + b 1 s + 1
(2.5.13)
Then 1 f (0) 0 0 a0 a1 = f ′ (0) f (0) 0 b1 ′ ′′ b2 f (0)/2! f (0) f (0) a2 (3) ′′ ′ f (0) f (0)/2! f (0)/3! b1 . =− b2 f (3) (0)/3! f ′′ (0)/2! f (4) (0)/4!
This leads to a0
= f (0),
a1 a2
= b1 f (0) + f ′ (0), = b2 f (0) + b1 f ′ (0) + f ′′ (0)/2!,
b1
= −
b2
= −
f ′′ (0)f (3) (0)/12 − f ′ (0)f (4) (0)/24 , f ′′ (0)2 /4 − f ′ (0)f (3) (0)/6
−f (3) (0)2 /36 + f ′′ (0)f (4) (0)/48 . f ′′ (0)2 /4 − f ′ (0)f (3) (0)/6
The system output is y(s) =
a 2 s2 + a 1 s + a 0 s(b2 s2 + b1 s + 1)
(2.5.14) (2.5.15)
Classical Analysis Methods
41 =
a2 (s2 + p1 s + p0 ) , b2 s[(s + q)2 + ω 2 ]
(2.5.16)
where p0 =
a0 a1 1 b1 b2 , p1 = , q = , ω2 = − 12 . a2 a2 2b2 b2 4b2
Evidently, to obtain a sustained oscillation q should be zero, or equivalently, b1 = 0. This implies that the ultimate frequency is ωu =
1 . b2
(2.5.17)
Then, the ultimate period is s θ(KKC θ3 + 6KKC θ2 τ + 12KKC θτ 2 + θ3 + 6θ2 τ + 18θτ 2 + 24τ 3 ) . Tu = 2π 12(KKC θ2 + 4KKC θτ + 6KKC τ 2 + θ2 + 4θτ + 6τ 2 ) Since b1 = −
KKC θ3 + 5KKC θ2 τ + 8KKC θτ 2 − θ3 − 5θ2 τ − 12θτ 2 − 12τ 3 , 2(KKC θ2 + 4KKC θτ + 6KKC τ 2 + θ2 + 4θτ + 6τ 2 )
b1 = 0 (the KC at this moment is Ku ) gives KKu =
θ3 + 5θ2 τ + 12θτ 2 + 12τ 3 . θ3 + 5θ2 τ + 8θτ 2
The ultimate gain is Ku =
θ3 + 5θ2 τ + 12θτ 2 + 12τ 3 . K(θ3 + 5θ2 τ + 8θτ 2 )
(2.5.18)
Thus far, the analytical relationship between the step response model and the ultimate cycle model has been built. It can be seen that the two models can be directly converted into each other. One may use a controller based on the step response model when the ultimate cycle model is obtained, and vice versa.
2.6
Design Requirements and Controller Comparison
This section discusses several problems about design requirements and controller comparison. An evident feature of control theory is that it is closely related to practice. Let us see what requirements a practical control system should satisfy.
42
Quantitative Process Control Theory
If the plant is stable, an overshoot larger than 50% is rarely accepted. How large the overshoot should be depends on the plant. Some plants have a strict limitation on overshoot. For example, in some chemical processes the controlled variable is temperature or pressure. If the temperature or pressure exceeds the limit of the equipment, an accident may happen. For some other plants, like the paper-making process, there is no strict limitation on overshoot. However, an excessive overshoot implies a large error, which may cause the saturation problem. The rise time is used to characterize the system response speed and reflects the tracking ability of a system from one angle. It is desirable that the rise time be fast. However, in the system with an overshoot, the rise time and the overshoot usually conflict with each other. In general, the faster the rise time, the larger the overshoot (Figure 2.6.1). To obtain a proper overshoot, the response speed may have to be sacrificed.
FIGURE 2.6.1 Systems with different overshoots. The settling time is related to the duration of transient response. It describes the tracking ability of a system from another angle. Sometimes the system performance is measured with integral criteria, such as ISE. With the same overshoot, the faster the settling time, the smaller the ISE, and the better the performance. Thus, it is desirable that the settling time be as short as possible. The settling time relates to overshoot and rise time. Normally, in a system with an overshoot, the larger the overshoot, the faster the rise time, and the longer the settling time; in a system without overshoot, the faster the rise time, the shorter the settling time. There always exist disturbances in a real system. To guarantee the product
Classical Analysis Methods
43
quality, it is desirable that the system be insensitive to disturbances. The disturbance response and the reference response relate to each other. In many cases, for the system with an overshoot, the smaller the perturbation peak, the larger the overshoot. The relationship among overshoot, rise time, settling time, integral indices, reference response, and disturbance response implies that they are not independent. Once the requirement on one index is given, a restriction is imposed on other indices at the same time. A desired controller should provide fast and steady response. With respect to this objective, one can take the overshoot of 5% to 15% if no other requirements are given. Empirically, such an overshoot can, in many cases, provide a good tradeoff between performance and robustness. Any new design method has to be compared with typical design methods to illustrate its advantage. As there is no unified standard, the comparison among different design methods could be difficult and sometimes unfair. If the order of a plant is high or a plant contains a time delay, the order of the obtained controller will be high. One may have to use model reduction techniques. The order of the controller is interrelated with the closed-loop response. It is certainly easier to reach good performance for a higher-order controller than for a lower-order controller. In this case, comparison of controllers with different orders may be unfair. In controller comparing, a plausible viewpoint is that the controller with good performance should have a small overshoot. As a matter of fact, the controller with good performance, in many cases, has a large overshoot (Figure 2.6.1). The reason is that the controller cannot exactly cancel the zeros and poles of the plant when the plant is of high order or has a time delay. Another related point of view is that the performance is improved if the overshoot is reduced. However, a reduced overshoot can usually be obtained by sacrificing the performance. For a fair comparison, a common basis is necessary. For example, when the overshoots of different controllers are compared, they should have the same rise time. In robust control theory, the system performance is classified as nominal performance and robust performance. The nominal performance is the performance of the system with an exact model, while the robust performance is the performance of the uncertain system. Robust performance in fact involves the requirement on both nominal performance and robust stability. The two aspects compete. Improved robust stability can be obtained in two ways: 1. Sacrifice the nominal performance. 2. Do not sacrifice the nominal performance. When comparing different controllers, one may have to consider whether the nominal performances is sacrificed for robust stability. Ideally, it is desirable that the robust stability be obtained without sacrificing the nominal performance.
44
Quantitative Process Control Theory
In addition to the performance comparison, an important aspect in evaluating a design method is the practicability, that is, whether the design method is easy to use and whether the design procedure and result are simple enough. In many applications, the problem of practicability is even more important than the performance problem. For example, in an ultra supercritical power plant there are more than 100 loops. The time for configuration and tuning is very limited. In this case, it is impossible to use those complicated methods. The best way to evaluate the design methods in this book may be applying other design methods to the examples given in this book and answering the following questions: 1. Which method provides better performance (for example, ISE)? 2. Which method is easier to understand and use? 3. Which method can reach practical performance specifications more easily?
2.7
Summary
In this chapter, plants are categorized into three types according to their features. The simplest models are Stable plant: Integrating plant: Unstable plant:
K e−θs , τs + 1 K −θs e , s K e−θs . τs − 1
Practical performance requirements in control system design are frequently expressed in terms of time domain response index, such as overshoot, rise time, and settling time. Besides these, this chapter defines two new indices about disturbance rejection: perturbation peak and recovery time. The advantage of these time domain indices is that they are very intuitive. However, it is difficult to use these indices to design the optimal controller. The optimal controller can be designed based on the H2 index and H∞ index given in this chapter. The frequency domain analysis is reviewed. The method can be used for both system analysis and design. The Nyquist stability criterion provided by the method has been an important theoretical tool all along. There are two typical modeling methods in process control: the step response method and the ultimate cycle method. The relationship between the
Classical Analysis Methods
45
two models is studied, and analytical formulas describing the relationship are provided in this chapter. This chapter ends with a discussion about design requirements and method comparison. Basic design requirements are formulated and several rules are proposed for controller comparison.
Exercises 1. Based on the frequency response technique, an alternative rational approximation of time delay is obtained. The second order approximation can be written as e−θs =
[θs − (2.57 + 1.97j)][θs − (2.57 − 1.97j)] . [θs + (2.57 + 1.97j)][θs + (2.57 − 1.97j)]
Compare the precision of the 2/2 Pade approximant with that of the new approximation by plotting their phase curves for θ = 1. 2. The open-loop transfer function of the unity feedback control loop is given by L(s) =
1 . s(s + 1)
Compute the overshoot and the rise time. 3. In the unity feedback loop, the measurement of the output y(s) may be corrupted by a measurement noise signal n(s)(Figure E2.1). Find the transfer function from n(s) to y(s) and compare it with the closed-loop transfer function.
FIGURE E2.1 Unity feedback loop with measurement noise. 4. Consider the following plant G(s) =
K e−θs . τs + 1
46
Quantitative Process Control Theory It is known that the gain of G(s) is K = 1. With the ultimate cycle method, it is obtained that the ultimate gain is Ku = 2.26 and the ultimate period is Tu = 3.09. Compute τ and θ in G(s). 6∗ . Assume that there is an improper transfer function, for example, s + 1. (a) Can it be described by the state space method? (b) Give the state space realization of (s + 1)/(λs + 1). Here λ is a very small positive real number.
Notes and References The MP system is restricted to be stable in some textbooks. This book adopts a different definition, which is identical to that in Morari and Zafiriou (1989). The rational approximations in Section 2.2 can be found in many books, for example, Saff and Varga (1977). The rational approximation has been adopted in many different design methods, for example, Stahl and Hippe (1987) and Rivera et al. (1986). Example 2.2.1 is from Marshall (1979). The performance indices about disturbance rejection in Section 2.3 can be found in Zhang et al. (1999). In process control, the load response is far more important than the reference response (Shinskey, 2002). Figure 2.4.2 and Figure 2.4.3 are respectively drawn based on Figure 1.2 and Figure 1.3 in Maciejowski (1989) with different models. Section 2.5 closely follows the paper by Gu et al. (2005). There are many books about the classical control theory, for example, Dorf and Bishop (2001), Kuo (2003), Ogata (2002), and D’Azzo and Houpis (1988). Exercise 1 is adapted from Stahl and Hippe (1987).
3 Essentials of the Robust Control Theory
CONTENTS 3.1 3.2 3.3 3.4 3.5 3.6
Norms and System Gains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Internal Stability and Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controller Parameterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Robust Stability and Robust Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Robustness of the System with Time Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47 54 59 62 67 73 74 74
There always exists uncertainty in practice. Uncertainty means that we cannot exactly predict the output of a system even if the input is known. Hence, it is most desirable that the controller be robust; that is, the controller is insensitive to uncertainty. This chapter begins with some basic concepts of robust control, such as norm, system gain, design specification, and controller parameterization. Then robust stability and robust performance are studied based on these concepts; the necessary and sufficient conditions for robust stability and robust performance are given. The final topic is to discuss the robustness of the first-order system with time delay. This chapter sets the scene for further study in the subsequent chapters by formulating important concepts and results in robust control theory.
3.1
Norms and System Gains
In this section, the norms for signals and systems, as well as the system gains, are introduced. The objective of a control system is to make the output behave in a desired way by manipulating the input. The most widely used objective is to keep the plant output close to the reference. For example, in a paper-making process the basis weight and the moisture content of the paper should be kept close to the required values. To decribe the performance of such a system, the “size” of certain signals should be defined. The “size” of a signal can be defined by 47
48
Quantitative Process Control Theory
introducing norms. “The signal is small” means “the norm of the signal is small.” Consider a signal r(t) in time domain. r(t) = 0 for t < 0. A norm is a nonnegative real number, denoted by kr(t)k, that possesses the following properties: 1. kr(t)k = 0 if and only if r(t) = 0 , ∀t.
2. kαr(t)k = |α|kr(t)k, α is any real number.
3. kr1 (t) + r2 (t)k ≤ kr1 (t)k + kr2 (t)k.
Several frequently used signal norms are listed as follows: 1-norm. The 1-norm of a signal r(t) is the integral of its absolute value: Z ∞ |r(t)| dt. (3.1.1) kr(t)k1 := −∞
2-norm. The 2-norm of r(t) is kr(t)k2 :=
Z
∞
2
r (t) dt
−∞
1/2
.
(3.1.2)
Suppose that r(t) is the current through a 1Ω resistor. The instantaneous power equals r(t)2 and the energy equals kr(t)k22 . ∞-norm. The ∞-norm of r(t) is the least upper bound of its absolute value: kr(t)k∞ := sup |r(t)|.
(3.1.3)
t
Consider a linear time-invariant and causal system T (t), of which the input is r(t) and the output is y(t). In time domain, the input-output model of such a system can be expressed in the form of a convolution equation: y(t) = =
T (t) ∗ r(t) Z ∞ T (t − τ )r(τ ) dτ. −∞
Let T (s) denote the transfer function of T (t). Norms can also be defined for the system T (s): 2-norm.
1 kT (s)k2 := 2π ∞-norm.
Z
∞
2
−∞
|T (jω)| dω
kT (s)k∞ := sup |T (jω)|. ω
1/2
.
(3.1.4)
(3.1.5)
Essentials of the Robust Control Theory
49
The following theorem tells us when the two norms are finite. Theorem 3.1.1. The 2-norm of T (s) is finite if and only if T (s) is strictly proper and has no poles on the imaginary axis. The ∞-norm of T (s) is finite if and only if T (s) is proper and has no poles on the imaginary axis. Proof. Assume that T (s) is strictly proper and has no poles on the imaginary axis. Then the Bode magnitude plot attenuates at high frequencies. We can always find a low-pass transfer function whose Bode magnitude plot is higher than that of T (s). For example, for sufficiently large positive c and sufficiently small positive τ , |c/(τ jω + 1)| ≥ |T (jω)|, ∀ω. √ It is easy to verify that the 2-norm of c/(τ s + 1) equals c/ 2τ . Hence T (s) has a finite 2-norm. When T (s) is proper and has no poles on the imaginary axis, its Bode magnitude plot is still finite. Therefore, T (s) has a finite ∞-norm. Now consider how to compute the two norms. Suppose that T (s) is strictly proper and has no poles on the imaginary axis. We have Z ∞ 1 kT (s)k22 = |T (jω)|2 dω 2π −∞ Z j∞ 1 = T (−s)T (s) ds 2πj −j∞ I 1 = T (−s)T (s) ds. 2πj To compute the contour integral, a theorem is needed. Assume that Ω is a simply connected open subset of the complex plane, a1 , ..., an are finitely many points enclosed by the closed contour γ, and the interior region of γ is completely contained in Ω. Theorem 3.1.2 (Residue Theorem). If F (s) is analytic in Ω except for at a1 , ..., an , then I
γ
F (s)ds = 2πj
n X
ResF (ai ).
i=1
Let Ω be equal to the LHP and γ be the contour consisting of the imaginary axis and an infinite-radius semicircle in the LHP. By Theorem 3.1.2, kT (s)k22 equals the sum of the residues of T (−s)T (s) at its poles in the LHP. kT (s)k∞ can be obtained by choosing a series of frequency points for T (s): {ω1 , ..., ωn },
50
Quantitative Process Control Theory
and then searching for max |T (jωk )|.
1≤k≤n
If T (s) is stable, Parseval’s theorem gives a property of the 2-norm: kT (s)k2 = kT (t)k2 .
(3.1.6)
The following lemma can be viewed as a special case of Theorem 3.1.2. Lemma 3.1.3 (Cauchy Integral Theorem). If F (s) is analytic in Ω, then I F (s)ds = 0. γ
Denote the complex conjugate of a complex number c = a+bi as c¯ = a−bi. The following theorem gives another property of the 2-norm. This property is referred to as the orthogonality in some literature. Theorem 3.1.4. If T1 (s) has no poles in Re s > 0 while T2 (s) has no poles in Re s < 0, then 2
2
2
kT1 (s) + T2 (s)k2 = kT1 (s)k2 + kT2 (s)k2 .
(3.1.7)
Proof. 2
kT1 (s) + T2 (s)k2 Z 1 2 = |T1 (jω) + T2 (jω)| dω 2π Z 1 2 2 = kT1 (s)k2 + kT2 (s)k2 + 2Re T1 (jω)T2 (jω)dω . 2π Now, it suffices to show that the last integral equals zero. Convert it into a contour integral by closing the imaginary axis with an infinite-radius semicircle in the LHP: Z I 1 1 T1 (−s)T2 (s)ds. T1 (jω)T2 (jω)dω = 2π 2πj A simple application of Lemma 3.1.3 shows that the right-hand side of the above equation equals zero. The ∞-norm of T (s) equals the distance from the origin to the farthest point on the Nyquist plot of T (s). It also appears as the peak on the Bode magnitude plot of T (s). An important property of the ∞-norm is that it is sub-multiplicative: kT1 (s)T2 (s)k∞ ≤ kT1 (s)k∞ kT2 (s)k∞ .
(3.1.8)
Now the question of interest is that, when it is known how large the input
Essentials of the Robust Control Theory
51
is, how large is the output going to be? For example, the input is a signal with its 2-norm less than or equal to 1. What is the least upper bound of the 2norm of the output? The answer to this question correlates with an important concept called the system gain. Consider a linear system with the input r(t), the output y(t), and the transfer function T (s). It is meaningless to consider an unstable system. Thus, T (s) should be stable. Also T (s) is strictly proper. The system gains are shown in Table 3.1.1. TABLE 3.1.1 System gains for SISO systems. ky(t)k2 ky(t)k∞
r(t) = δ(t) kT (s)k2 kT (t)k∞
kr(t)k2 kT (s)k∞ kT (s)k2
Entry (1, 1). Here (1, 1) denotes the first row and the first column of Table 3.1.1. The denotation applies to the rest. The meaning of this entry is that the energy of the output is the square of the 2-norm of the system transfer function when the input is the impulse. Proof. If r(t) = δ(t), then y(t) =
Z
∞
−∞
=
T (t − τ )δ(τ ) dτ
T (t).
Therefore, ky(t)k2 =kT (t)k2. As T (s) is stable, kT (s)k2 =kT (t)k2. Entry (2, 1). The meaning of this entry is that the amplitude of the output is the ∞-norm of the system impulse response function when the input is the impulse. Proof. Since y(t) = T (t), the result is evident. Entry (1, 2). The meaning of this entry is that the energy of the output is bounded by the square of the ∞-norm of the system transfer function when the input is a signal of which the energy is bounded by unity. Proof. kT (s)k∞ is an upper bound on the system gain: ky(t)k22
= = ≤
ky(s)k22 Z ∞ 1 |T (jω)|2 |r(jω)|2 dω 2π −∞ Z ∞ 2 1 kT (s)k∞ |r(jω)|2 dω 2π −∞
52
Quantitative Process Control Theory kT (s)k2∞kr(s)k22 .
=
Since kr(t)k2 is bounded, kr(t)k2 = kr(s)k2 and ky(t)k22 ≤ kT (s)k2∞ kr(t)k22 . To show that kT (s)k∞ is the least upper bound, it is enough to prove that the identity holds for at least one input. Choose a frequency ωo where |T (jωo )| = kT (s)k∞ . Similar to the time domain impulse, construct a frequency domain impulse signal δf (jω): ∞ ω = ωo , |δf (jω)| = 0 ω 6= ωo with
1 2π
Z
∞
−∞
|δf (jω)|2 dω = 1.
For this specific input we have ky(t)k22
=
1 2π
Z
∞
−∞
|T (jω)|2 |δf (jω)|2 dω
= |T (jωo )|2 = kT (s)k2∞ . There exists no ideal frequency domain impulse in a real system. However, the impulse can be approximated by the following band-pass function: p π/2ǫ |ω − ωo | < ǫ or |ω + ωo | < ǫ , |δf (jω)| = 0 else where ǫ is a small positive number. Entry (2, 2). The meaning of this entry is that the amplitude of the output is bounded by the 2-norm of the system transfer function when the input is a signal of which the energy is bounded by unity. Proof. With the Cauchy-Schwarz inequality, we have Z ∞ T (t − τ )r(τ )dτ |y(t)| = −∞
≤
=
Z
∞
−∞
2
T (t − τ ) dτ
kT (t)k2 kr(t)k2 .
1/2 Z
∞
−∞
2
r (τ ) dτ
1/2
Essentials of the Robust Control Theory
53
T (s) is stable. Hence kT (t)k2 = kT (s)k2 and ky(t)k∞ ≤ kT (s)k2. To show that kT (s)k2 is the least upper bound, it is enough to prove that the identity holds for at least one input. Choose the following input: r(t) =
T (−t) . kT (t)k2
It is easy to verify that kr(t)k2 = 1 and Z ∞ T (−τ ) T (−τ ) |y(0)| = dτ kT (t)k2 −∞ Z ∞ 1 2 = T (−τ )dτ kT (t)k2 −∞ = kT (t)k2. In the literature about robust control theory, several important concepts are frequently used. For convenience of reading and understanding, these concepts are explained here. L2 space The set of strictly proper rational functions without poles on the imaginary axis. L∞ space The set of proper rational functions without poles on the imaginary axis. Hardy space The set of rational functions without poles in the open RHP. H2 space The intersection of the Hardy space and the L2 space. RH2 space denotes the overall of real functions in the H2 space. H∞ space The intersection of the Hardy space and the L∞ space. RH∞ space denotes the overall of real functions in the H∞ space. When we say a rational function belongs to L2 space, it means that the function is strictly proper and has no poles on the imaginary axis. Similarly, a rational function that belongs to the H∞ space implies that the function is stable proper and has no poles on the imaginary axis. The rest is similar.
54
3.2
Quantitative Process Control Theory
Internal Stability and Performance
The concept of stability describes the ability of a system to return to equilibrium after a small disturbance. In a control system, it cannot be tolerated that a small disturbance at one location leads to unbounded signals at some other locations. We hope to guarantee bounded internal signals for all bounded external signals. It is not enough to look only at the stability of the closed-loop transfer function. Even though the closed-loop transfer function is stable, internal signals could be unbounded. To guarantee bounded internal signals, the closed-loop system must be internally stable. Definition 3.2.1. A linear time-invariant control system is internally stable if the transfer functions between any two points of the system are stable. In a control system, any two points can be selected for testing internal stability, but some choices are equivalent. In the system shown in Figure 2.3.1, there are only two independent outputs and two independent inputs. One can choose r(s) and d′ (s) as inputs and y(s) and u(s) as outputs. The closed-loop system is internally stable if and only if all elements in the transfer function matrix H(s) from r(s) and d′ (s) to y(s) and u(s) are stable: y(s) r(s) = H(s) , (3.2.1) u(s) d′ (s) where
G(s)C(s) 1 + G(s)C(s) H(s) = C(s) 1 + G(s)C(s)
G(s) 1 + G(s)C(s) . −G(s)C(s) 1 + G(s)C(s)
Recall the concept of stability. A system is stable if and only if all poles of its closed-loop transfer function are in the open LHP (or equivalently, the closed-loop transfer function has no poles in Re s ≥ 0). Compared with the concept of internal stability, the concept of stability is not a complete one, because the RHP zero-pole cancellation in the feedback loop is not considered. The zero-pole cancellation means that there is a zero and a pole at the same point. It may occur in a component (for example, in the controller) or between two separated components (for example, between the controller and the plant). Some cancellations are removable, like (s − 1)/(s − 1) = 1. Such a transfer function is unstable before the cancellation is removed. Some cancellations are not removable, like (e−s − 1)/s. In general, such a case happens in systems with time delay. Example 3.2.1. This example is used to illustrate the difference between the stability and the internal stability.
Essentials of the Robust Control Theory
55
In Figure 2.3.1, take C(s) =
s−1 1 , G(s) = . s+1 (s − 1)(s + 1)
It is easy to verify that the transfer function from r(s) to y(s) is stable, but the one from d′ (s) to y(s) is not. Therefore, the system is internally unstable. Before discussing the performance, let us first define the sensitivity function: S(s) :=
1 , 1 + G(s)C(s)
(3.2.2)
which describes the effect of the disturbance d(s) on the output y(s), or the effect of the reference r(s) on the error e(s): S(s) =
y(s) e(s) = . d(s) r(s)
(3.2.3)
Let T (s) denote the transfer function from the reference r(s) to y(s), namely the closed-loop transfer function: T (s) =
y(s) G(s)C(s) = . r(s) 1 + G(s)C(s)
(3.2.4)
As T (s) = 1 − S(s),
(3.2.5)
T (s) is also called the complementary sensitivity function. The sensitivity function S(s) quantifies how sensitive T (s) is to the variation in G(s); that is, the limit of the ratio of a relative perturbation in T (s), ∆T (s)/T (s), to a relative perturbation in G(s), ∆G(s)/G(s): lim
∆G(s)→0
dT (s) G(s) ∆T (s)/T (s) = = S(s). ∆G(s)/G(s) dG(s) T (s)
Now let us see the relationship among the closed-loop response, S(s), and T (s). The exact model is commonly referred to as the nominal plant. In practice, one can take the “center” of all uncertain plants as the nominal plant. Under the nominal condition, it is desirable to make |S(jω)| as small as possible (Figure 3.2.1). A smaller |S(jω)| implies that the changes of the reference and disturbance have less effect on the system output. Such a system has a higher ability on disturbance rejection. Algebraically, |S(jω)| can be made equal to 0 for all frequencies, which is referred to as the perfect control. However, this is impossible in practice. In a real system, G(s) is usually strictly proper. Then lim S(s) = lim
s→∞
s→∞
1 = 1. 1 + G(s)C(s)
(3.2.6)
56
Quantitative Process Control Theory
Generally speaking, |T (jω)| should be made as close as possible to unity. A |T (jω)| close to unity means that the system has large bandwidth and thus good tracking ability. However, due to the limitation T (s) + S(s) = 1, |T (jω)| can be made equal to unity only within a finite frequency range (Figure 3.2.1).
FIGURE 3.2.1 Sensitivity function and complementary sensitivity function. Consider the performance problem. The most basic objective of a feedback controller is to keep the error between the plant output y(t) and the reference r(t) small when the overall system is affected by the external disturbance and the plant uncertainty. In order to quantify performance, an index of “smallness” for the error has to be defined. A widely used performance index is the H2 index: Z ∞ min e2 (t)dt = minke(t)k22 . (3.2.7) 0
The controller structure and parameters can be determined from the solution to the above optimization problem. If the reference r(s) is known, a weighting function W (s) = r(s) is introduced to normalize the reference so that the system input r′ (s) is the impulse (Figure 3.2.2). Use Table 3.1.1: if the input is the impulse, the energy of the output e(t) is the square of the 2-norm of the system transfer function: ke(t)k2 = kW (s)S(s)k2 ,
r(s) = 1. W (s)
Essentials of the Robust Control Theory
57
FIGURE 3.2.2 Normalization of the system input. Hence, the H2 performance index in the Laplace domain can be written as minkW (s)S(s)k2 .
(3.2.8)
Assume that minkW (s)S(s)k2 → ǫ. Include the effect of the constant ǫ into the weighting function W (s); the index can be expressed in the form of kW (s)S(s)k2 < 1. Another widely used performance index is the H∞ index: Z ∞ min sup e2 (t)dt = min supke(t)k22 . r(t)
0
(3.2.9)
(3.2.10)
r(t)
Again, a weighting function W (s) is introduced to normalize the system input. Utilize Table 3.1.1: if the input is a signal of which the energy is bounded by unity, the energy of the output is bounded by the square of the ∞-norm of the system transfer function:
r(s)
≤ 1.
supke(t)k2 = kW (s)S(s)k∞ , W (s) 2 r(t)
The design index in the frequency domain can be written as minkW (s)S(s)k∞
or kW (s)S(s)k∞ < 1.
(3.2.11)
The two indices try to minimize their respective norms of the weighted sensitivity function. In some literature, the problem is referred to as the weighted sensitivity problem. It is noticed that, to treat the design problem in a unified mathematical form, a weighting function is introduced to the performance index. It is assumed that the reference r(s) is generated by a normalized input r′ (s) passing through a transfer function block W (s). Then the system gain in Table 3.1.1 can be applied. W (s) is called the performance weighting function in some literature, because the obtained performance depends on the choice of W (s). It should be emphasized that the choice of norm is not crucial. Normally,
58
Quantitative Process Control Theory
the choice of performance index is not crucial, either. The essential objective for control system design is to obtain the controller with the desired response. The tradeoff inherent in the control system means that although the norms or performance indices may differ to a large extent, the obtained responses are not very different. The design requirement can be achieved by applying different norms and performance indices. Comparatively, it might be more important to choose a norm or a performance index that is mathematically convenient. In most industrial systems, the designer mainly concerns the regulator problem. With such an objective, the obtained system usually has a good ability for disturbance rejection. At the same time, the objective involves a requirement on good tracking ability as well. In most cases, the regulator problem and the servomechanism problem have the same objective, because the effect of the disturbance d(s) on the output y(s) is the same as that of the reference r(s) on the tracking error e(s). The conclusion can also be explained by means of the sensitivity function and the complementary sensitivity function. To obtain a controller with good ability of disturbance rejection, it is desirable to minimize |S(jω)|. For all control systems there exists the constraint S(s) = 1 − T (s). To minimize |S(jω)| means to make |T (jω)| close to 1, namely, to design a controller with good tracking ability. In the last chapter, the relationship between the asymptotic tracking property and the system type was studied. Now it is shown how the asymptotic tracking property relates to the sensitivity function. Theorem 3.2.1. Assume that the closed-loop system is internally stable and is of Type m. Then the sensitivity function satisfies lim
s→0
S(s) = 0, sk
k = 0, 1, ..., m − 1.
As ∞ the closed-loop system perfectly tracks references of the form Pmt → −k , where ak are real constants. k=0 ak s
Proof. With S(s) = 1/[1 + L(s)], the result follows directly from the Final Value Theorem. In particular, for step and ramp inputs we have the following corollary.
Corollary 3.2.2. Assume that the closed-loop system is internally stable. 1. If the reference is a step, then the tracking error tends to be zero as t → ∞ if and only if S(s) has at least one zero at the origin. 2. If the reference is a ramp, then the tracking error tends to be zero as t → ∞ if and only if S(s) has at least two zeros at the origin.
Note that the number of the zeros of S(s) at s = 0 is the same as that of the poles of L(s) = G(s)C(s) at s = 0.
Essentials of the Robust Control Theory
3.3
59
Controller Parameterization
This section discusses how to characterize all controllers that stabilize the closed-loop system. Assume that the plant G(s) in the unity feedback loop is stable. Introduce Q(s), which denotes the transfer function from r(s) to u(s): Q(s) =
C(s) . 1 + G(s)C(s)
(3.3.1)
The controller of the unity feedback control system can be obtained with the inverse relationship: C(s) =
Q(s) . 1 − G(s)Q(s)
(3.3.2)
Then the matrix H(s) defined in the last section can be rewritten as G(s)Q(s) [1 − G(s)Q(s)] G(s) H(s) = . (3.3.3) Q(s) −G(s)Q(s) Evidently, the system is internally stable if and only if Q(s) is stable. In fact, we have proved the following theorem. Theorem 3.3.1. Assume that G(s) is stable. All of the stabilizing controllers of the unity feedback loop can be expressed as C(s) =
Q(s) , 1 − G(s)Q(s)
where Q(s) is any stable transfer function. What the theorem gives is the well-known Youla parameterization. Let us look at a simple explanation of the result in terms of the IMC structure. Throughout this book, G(s) is used to denote the plant. If it is necessary to distinguish between the nominal plant and the real plant, G(s) is used to e denote the nominal plant and G(s) is used to denote the real plant. By equivalently transforming the unity feedback control loop in Figure 2.3.1, a new feedback configuration can be obtained (Figure 3.3.1). Regard the structure contained in the dashed box as Q(s). The new configuration is the so-called IMC structure. Q(s) is referred to as the IMC controller. If G(s) is viewed as a reference model, the model reference adaptive control can be embedded in the structure. One can also regard G(s) as a predictive model. Then, the structure interprets the basic idea of MPC algorithms. e Assume that the model is exact, that is, G(s) = G(s). Figure 3.3.1 shows that the stability of the closed-loop system is determined only by Q(s). This is exactly the conclusion given by Youla parameterization. The Youla parameterization is a simple yet perfect result. What is the significance of Youla parameterization?
60
Quantitative Process Control Theory
FIGURE 3.3.1 Explanation of Youla parameterization. 1. As we know, most design problems can be formulated in this way: given a plant G(s), design a controller C(s) such that the feedback system is internally stable and the output y(s) asymptotically tracks a step reference r(s). The procedure is greatly complicated when the stability and performance are treated simultaneously. With Youla parameterization, one can consider the stability and the performance separately. First, describe all stabilizing C(s)s in terms of a stable transfer function Q(s). Then, search the optimal C(s) among the stabilizing controllers (Figure 3.3.2). This search is much easier.
FIGURE 3.3.2 Two different design procedures. 2. The effect of the unity feedback controller C(s) on the sensitiv-
Essentials of the Robust Control Theory
61
ity function and complementary sensitivity function is complicated. Nevertheless, Q(s) relates to the sensitivity function and complementary sensitivity function in a “linear” manner, which can significantly simplify the design task for optimal controllers. S(s) = = T (s) = =
1 1 + G(s)C(s) 1 − G(s)Q(s), G(s)C(s) 1 + G(s)C(s) G(s)Q(s).
(3.3.4)
(3.3.5)
It is evident that Q(s) should be proper, since an improper transfer function is not realizable physically. However, it would be convenient for presentation to temporarily relax the requirement of properness in controller design. When an improper Q(s) is used, the mathematically precise readers may interpret the improper transfer function as a shorthand notation of its proper approximation. For example, a proper approximation of s+1 is (s+1)/(λs+1), where λ is a very small positive real number. Such a problem will be encountered in the next chapter. Sometimes, the plant is not stable. To find all stabilizing controllers, one might try as follows. Write G(s) in the form of its coprime factorization: G(s) =
V (s) , U (s)
(3.3.6)
where V (s) and U (s) are stable, proper, real, and rational. There exist two stable proper real rational functions X(s) and Y (s) satisfying the equation V (s)X(s) + U (s)Y (s) = 1. By checking H(s), it is known that C(s) = X(s)/Y (s) is troller: G(s) G(s)C(s) 1 + G(s)C(s) 1 + G(s)C(s) H(s) = C(s) −G(s)C(s) 1 + G(s)C(s) 1 + G(s)C(s) V (s)X(s) V (s)Y (s) . = X(s)U (s) −V (s)X(s)
(3.3.7) a stabilizing con
Notice that V (s) [X(s) + U (s)Q(s)] +U (s) [Y (s) − V (s)Q(s)] = 1 | | {z } {z } Stable
Stable
62
Quantitative Process Control Theory
for any stable Q(s). It turns out that all of the controllers with which the feedback system is internally stable can be expressed as C(s) =
X(s) + U (s)Q(s) , Y (s) − V (s)Q(s)
(3.3.8)
where Q(s) is any stable transfer function. It is easy to verify that the result reduces to Theorem 3.3.1 when G(s) is stable. In this case, V (s) = G(s), U (s) = 1, X(s) = 0, Y (s) = 1.
3.4
Robust Stability and Robust Performance
Almost all controller design methods are based on the model in one form or another. Since the model may be inaccurate, it is most desirable that the designed controller should perform well even when the uncertainty occurs. With respect to this objective, it is natural to propose the following questions: how does the uncertainty affect the stability, and what limitation is imposed on the achievable performance? This introduces two important concepts: robust stability and robust performance. The general notion of robust stability is that the internal stability holds for all plants in the uncertain model family, while robust performance implies that the internal stability and nominal performance hold for all plants in the family of uncertain models. In order to analyze robust stability and robust performance, not only a nominal model should be provided, but also some description about the uncertainty should be given. Uncertainty can be described in many different ways. Unfortunately, only a few can be adopted when the mathematical convenience is considered. A description of uncertainty is the structured uncertainty. A frequently used structured uncertainty is the parameter uncertainty. Consider the following plant: G(s) =
s2
a . + 2s + 1
(3.4.1)
The constant a in the plant is known to be in some interval. The parameter uncertainty can be described by amin ≤ a ≤ amax . For rational systems and some specific parameter uncertainty there is a famous test for robust stability. Consider the following characteristic equation: sn + an−1 sn−1 + ... + a1 s + a0 = 0,
(3.4.2)
Essentials of the Robust Control Theory
63
where n is a nonnegative integer. The uncertain parameters vary between an upper bound and a lower bound: αi ≤ ai ≤ βi , i = 0, 1, ..., n − 1.
(3.4.3)
To ascertain the stability of this system, one might have to investigate all possible combinations of parameters. Fortunately, it is possible to investigate a limited number of worst case polynomials. As a matter of fact, it is sufficient to analyze only four polynomials. Theorem 3.4.1 (Kharitonov’s Theorem). The closed-loop system (3.4.2) is robust stable if and only if the following four polynomials are stable: q1 (s) = α0 + α1 s + β2 s2 + β3 s3 + α4 s4 + α5 s5 + ..., q2 (s) = α0 + β1 s + β2 s2 + α3 s3 + α4 s4 + β5 s5 + ..., q3 (s) = β0 + β1 s + α2 s2 + α3 s3 + β4 s4 + β5 s5 + ..., q4 (s) = β0 + α1 s + α2 s2 + β3 s3 + β4 s4 + α5 s5 + .... The proof of this theorem is beyond the core scope of this book and thus is omitted. Another uncertainty description is the unstructured uncertainty. Assume e that the nominal plant G(s) and the uncertain plant G(s) have the same number of RHP poles. One can understand the assumption as follows: G(s) e and G(s) are similar. The unstructured uncertainty can be written in the form of a multiplicative uncertainty description: e G(s) = G(s) [1 + δm (s)] , δm (s) = ∆(s)∆m (s).
(3.4.4)
Here ∆m (s) is a fixed stable transfer function. ∆(s) is a variable stable transfer function satisfying k∆(s)k∞ ≤ 1. It can be viewed as a normalized uncertainty. For each frequency ω, |δm (jω)| ≤ |∆m (jω)|. |∆m (jω)| provides the uncertainty profile. The unstructured uncertainty can be described as a disk in the complex e plane: at each frequency ω, the point G(jω) lies in the disk with the center e G(jω) and the radius |∆m (jω)|, as shown in Figure 3.4.1. Hence, G(s) is described by a family of models, rather than a single model. The unstructured uncertainty is important for two reasons: 1. All models used in controller design should include unstructured uncertainty to cover unmodeled dynamics (for example, nonlinearity). 2. With the unstructured uncertainty, simple and general results can be obtained for not only robust stability but also robust performance. The price is that the description might be conservative.
64
Quantitative Process Control Theory
FIGURE 3.4.1 Disk for describing the unstructured uncertainty. As an example, the region with an irregular shape in Figure 3.4.1 represents the parameter uncertainty. The uncertainty is usually described by a disk, which is easy to treat mathematically. The following theorem provides the condition for testing robust stability. Theorem 3.4.2. Assume that the nominal closed-loop system is internally stable. C(s) provides robust stability if and only if k∆m (s)T (s)k∞ < 1. Proof. By assumption, the nominal feedback system is internally stable. By the Nyquist criterion, it is known that for every frequency ω the Nyquist plot of L(jω) = G(jω)C(jω) does not pass through the point (−1, 0), and its number of counterclockwise encirclement equals the sum of the number of poles of G(s) in the RHP and the number of poles of C(s) in the RHP. It is also known e that G(s) and G(s) have the same number of RHP poles. Thus, C(s) provides e e robust stability if and only if the Nyquist band of L(jω) = G(jω)C(jω) does not include the point (−1, 0) for every frequency ω. Consider the simple geometric argument in Figure 3.4.2. For a frequency ω, e L(jω) is a disk in the complex plane. The disk has the center L(jω) and the radius |∆m (jω)G(jω)C(jω)|. The radius denotes the maximum perturbed scope of L(jω). The distance from L(jω) to the point (−1, 0) is |1 + G(jω)C(jω)|. e It is clear that L(jω) does not include the point (−1, 0) for every frequency ω if and only if |1 + G(jω)C(jω)| > |∆m (jω)G(jω)C(jω)|.
Essentials of the Robust Control Theory
65
FIGURE 3.4.2 Graphical interpretation for robust stability. As T (jω) =
G(jω)C(jω) , 1 + G(jω)C(jω)
the above inequality is equivalent to |∆m (jω)T (jω)| < 1, ∀ω. This completes the proof. It can be observed from the test condition for robust stability that good robustness can be obtained by decreasing the effect of T (s). Now consider the robust performance. Recall that when the nominal feedback system is internally stable, the performance requirement is kW (s)S(s)k∞ < 1, where S(s) =
1 . 1 + G(s)C(s)
When there exists uncertainty, S(s) is perturbed to e S(s)
= =
1 1 + [1 + δm (s)] G(s)C(s) S(s) . 1 + δm (s)T (s)
The robust performance condition should be e kW (s)S(s)k ∞ < 1.
66
Quantitative Process Control Theory
Theorem 3.4.3. Assume that the nominal closed-loop system is internally stable. A necessary and sufficient condition for robust performance is |W (jω)S(jω)| + |∆m (jω)T (jω)| < 1, ∀ω.
(3.4.5)
Proof. In view of Figure 3.4.2, the distance from the point (−1, 0) to a point e in the disk is |1 + G(jω)C(jω)| and the smallest distance form the point (−1, 0) to the point in the disk is |1 + G(jω)C(jω)| − |∆m (jω)G(jω)C(jω)| for every frequency ω. Then e |1 + G(jω)C(jω)| ≥ |1 + G(jω)C(jω)| − |∆m (jω)G(jω)C(jω)|.
By taking the inverse of both sides of the above inequality, it is easy to obtain that e |S(jω)| ≤
|S(jω)| . 1 − |∆m (jω)T (jω)|
The robust performance requires e kW (s)S(s)k ∞ < 1.
The condition holds if and only if
|W (jω)S(jω)| + |∆m (jω)T (jω)| < 1, ∀ω.
The test condition for robust performance also has a nice graphical interpretation. When both sides of the test condition are multipled by |1 + G(jω)C(jω)|, two disks are constructed for every frequency ω: one with the center (−1, 0) and the radius |W (jω)|; the other with the center G(jω)C(jω) and the radius |∆m (jω)G(jω)C(jω)|. The test condition holds if and only if these two disks disjoint (Figure 3.4.3). Notice that robust performance implies both robust stability and nominal performance. It is desirable to make kW (s)S(s)k∞ small for good nominal performance and at the same time make k∆m (s)T (s)k∞ small for good robust stability. Unfortunately, the interdependence of S(s) + T (s) = 1 makes the objective a challenge. Improving the nominal performance worsens the robust stability and pushes the system close to instability. Conversely, good robust stability may be obtained by sacrificing the nominal performance. This explains why the system tuned improperly sometimes has a good adaptive capacity. How to reach a good tradeoff between nominal performance and robust stability is the main problem in control system design.
Essentials of the Robust Control Theory
67
FIGURE 3.4.3 Graphical interpretation for robust performance.
3.5
Robustness of the System with Time Delay
In control system design, the model is usually of low order. The uncertainty of the low-order model is often described in the form of a parameter uncertainty description. This section discusses how the parameter uncertainty of the firstorder plant with time delay affects the stability and performance of the closedloop system. We choose the first-order plant with time delay because 1. This model is widely used in practice, especially in industry. 2. It is easy to deal with the first-order plant and the result provides good understanding for complex systems. Assume that the following model has been obtained from the experimental data: e e exp (−θs) K e , G(s) = τes + 1
(3.5.1)
e is the gain, τe is the time constant, θe is the time delay, and where K e K
e min , K e max ], ∈ [K
τe ∈ [e τmin , τemax ], θe ∈ [θemin , θemax ].
The uncertain model family for this plant is shown in Figure 3.5.1. According to design requirements, design methods can roughly be classified into two kinds:
68
Quantitative Process Control Theory
FIGURE 3.5.1 Uncertain model family for the first-order plant with time delay. 1. The design requirements involving the specification on robustness are imposed on the nominal system. The controller is designed for the nominal plant, and then used for the real plant. 2. The design requirements are proposed for the uncertain system. The controller is designed based on the nominal plant and the associated uncertainty, and then used for the real plant. In both of the two methods, a nominal plant is needed. In this example, the “center” of the uncertain plant is chosen as the nominal plant: G(s) =
Ke−θs , τs + 1
where K
=
τ
=
θ
=
The parameter uncertainties are |δK| ≤ ∆K |δτ | ≤ ∆τ
|δθ| ≤ ∆θ
e max e min + K K , 2 τemin + τemax , 2 θemin + θemax . 2 = = =
e max − K| < |K|, |K |e τmax − τ | < |τ |, |θemax − θ| < |θ|.
(3.5.2)
Essentials of the Robust Control Theory
69
Then the uncertain model family can be written as: (K + δK)e−(θ+δθ)s e G(s) = . (τ + δτ )s + 1
(3.5.3)
Now assume that there is ±20% or ±40% perturbation for the gain, time constant, and time delay, respectively. Let us see how the changes of the three parameters affect the closed-loop response. Typical responses of the closedloop system are shown in Figures 3.5.2–3.5.4.
FIGURE 3.5.2 Effect of the gain uncertainty. 1. With the gain increasing, the rise time decreases and the overshoot increases. Contrarily, with the gain decreasing, the rise time increases and the overshoot decreases or disappears. 2. With the time constant increasing, the rise time increases and the response tends to be steady. If the time constant decreases, the rise time decreases and the response begins to oscillate. 3. With the time delay increasing, the overshoot increases. The overshoot decreases or disappears when the time delay decreases. It is noticed that the gain and the time delay have a larger effect on the closed-loop response than the time constant. When the time constant decreases and the gain and the time delay increase, the change of the closedloop response is the largest. Theoretically, the effect of the uncertainty on the stability and performance of the closed-loop system can be analyzed with the necessary and sufficient
70
FIGURE 3.5.3 Effect of the time constant uncertainty.
FIGURE 3.5.4 Effect of the time delay uncertainty.
Quantitative Process Control Theory
Essentials of the Robust Control Theory
71
condition derived in the last section. To use the result, one has to convert the parameter uncertainty of the first-order plant with time delay into the unstructured uncertainty. Rewrite the uncertain model in the form of
where
Ke−θs e G(s) = [1 + δm (s)], τs + 1 δm (s) =
τs + 1 K + δK e−δθs − 1. K (τ + δτ )s + 1
(3.5.4)
(3.5.5)
Let |∆m (jω)| be the bound of |δm (jω)|, namely |δm (jω)| ≤ |∆m (jω)|. |∆m (jω)| is equal to the radius of the smallest disk containing the parameter uncertainty boundary. When there are simultaneous uncertainties on the gain, time constant, and time delay, the following analytical expression for the uncertainty profile is obtained: |K| + ∆K jτ ω + 1 j∆θω , ω < ω∗ e − 1 |K| j(τ − ∆τ )ω + 1 |∆m (jω)| = , (3.5.6) |K| + ∆K jτ ω + 1 ∗ + 1, ω ≥ ω |K| j(τ − ∆τ )ω + 1 where ω ∗ is determined by ∆θω ∗ + arctan
π ∆τ ω ∗ = π, ≤ ∆θω ∗ ≤ π. 2 1 + τ (τ − ∆τ )ω ∗ 2
(3.5.7)
Figure 3.5.5 shows the uncertainty profile where all of the three parameters are uncertain. In particular, when only the gain is uncertain, that is, ∆τ = ∆θ = 0, the expression simplifies to |∆m (jω)| = ∆K/|K|. When only the time constant is uncertain, that is, ∆K = ∆θ = 0, the expression simplifies to jτ ω + 1 − 1 . |∆m (jω)| = j(τ − ∆τ )ω + 1
When only the time delay is uncertain, ∆τ = ∆K = 0 and ω ∗ = π/∆θ. In this case, j∆θω |e − 1|, ω < π/∆θ |∆m (jω)| = . 2, ω ≥ π/∆θ Figure 3.5.6 shows the plot of the time delay uncertainty.
72
Quantitative Process Control Theory
FIGURE 3.5.5 Unstructured uncertainty profile.
FIGURE 3.5.6 Uncertainty profile for the time delay uncertainty.
Essentials of the Robust Control Theory
73
The procedure in which the unstructured uncertainty of the parameter uncertainty is derived is sketched here briefly. For all δK, δτ , and δθ, |∆m (jω)| is the least upper bound that makes |δm (jω)| ≤ |∆m (jω)|. If the maximum distance from (1,0) to δm (s) + 1 is determined, the distance is |∆m (jω)|. For |δK| ≤ ∆K, |δ|τ ≤ ∆τ , |δθ| ≤ ∆θ, and some frequency s = jω, all possible points of δm (jω) + 1 are located in a certain region. Based on the geometrical relationship, it can be proved that the point δK = ∆K, δτ = −∆τ , and δθ = ∆θ is the farthest one away from (1,0) for all ω < ω ∗ , where ω ∗ is the frequency at which the angle of this point equals π. Furthermore, the result for ω ≥ ω ∗ can be derived by utilizing the triangular inequality. In practice, it is not convenient to test the robust performance of systems with time delay by using the necessary and sufficient condition given in the last section. Since δK = ∆K, δτ = −∆τ , and δθ = ∆θ is the worst case, a simple engineering method is to examine whether the internal stability and performance hold for the worst case.
3.6
Summary
In this chapter, some basic concepts in robust control theory are surveyed. Based on these concepts, the necessary and sufficient conditions for testing robust stability and robust performance are given. In robust control theory, the controller parameterization is a fundamental concept. According to Youla parameterization, all stabilizing controllers for a stable plant can be expressed as C(s) =
Q(s) . 1 − G(s)Q(s)
The controller provides robust stability if and only if k∆m (s)T (s)k∞ < 1, and provides robust performance if and only if |W (jω)S(jω)| + |∆m (jω)T (jω)| < 1, ∀ω. It will be seen in the subsequent chapters that some perfect results can be derived based on controller parameterization. At the end of this chapter, the robustness of a typical system with time delay is studied. The unstructured uncertainty profile of the parameter uncertainty is obtained. A simple rule for testing robust stability and robust performance is proposed based on the worst case plant.
74
Quantitative Process Control Theory
Exercises 1. Show that the 2-norm of transfer functions is not sub-multiplicative. 2. Consider the plant G(s) =
as + 1 , bs + 1
where a, b > 0. Compute the ∞-norm by utilizing its Bode magnitude plot. 3. Write a MATLAB program to compute the ∞-norm of G(s) =
1 s2 + 1
with the searching method. Test your program on the function G(s) =
s2
1 , + 10−6 s + 1
and analyze the result. 4. Assume that G(s) is a strictly proper rational transfer function and D(s) is an all-pass rational transfer function. Does the 2-norm or ∞-norm satisfy the following equation? kD(s)G(s)k = kG(s)k. 5. Consider the control system with multiple loops in Figure E3.1, where G1m (s) and G2m (s) are the models of G1 (s) and G2 (s) respectively, d1 (s) is the disturbance, and y(s) is the system output. Assume that the models are exact. Compute the transfer function from d1 (s) to y(s). 6. Assume that the unity feedback loop is internally stable. Prove that (a) If G(s) has a RHP zero at z, T (s) will have a RHP zero at z. (b) If G(s) has a RHP pole at p, S(s) will have a RHP zero at p.
Notes and References Sections 3.1–3.4 are based on Doyle et al. (1992) and Morari and Zafiriou (1989). Related content can also be found in, for example, Skogestad and Postlethwaite (2005).
Essentials of the Robust Control Theory
75
FIGURE E3.1 Control system with multiple loops. The proofs for the system gains in Section 3.1 belong to Doyle et al. (1992, Section 2.5). Theorem 3.1.1 is from Doyle et al. (1992, Section 2.2) and Theorem 3.1.4 is from Doyle et al. (1992, Section 10.4). There was a great deal of interest in 2-norm optimization and related topics in the late 1950s and the 1960s. See, for example, Newton et al. (1957) and Astrom (1970). The discussion about testing internal stability in Section 3.2 is from Morari and Zafiriou (1989). The explanation about the sensitivity function is from Doyle et al. (1992). The H2 design problem generally refers to the one based on 2-norm optimization. This book focuses on the basic problem given in Section 3.2. The H∞ optimal control problem was first formulated by Zames (1981). Further motivation for this problem was offered in Zames and Francis (1983). The parameterization of all stabilizing controllers introduced in Section 3.3 was developed by Youla et al. (1976) and Kucera (1979). The IMC structure introduced in this section was studied in detail in Morari and Zafiriou (1989). This structure is particularly important in the design methods of this book. Theorem 3.4.1 was originally proposed by Kharitonov (1978). The proofs for Theorem 3.4.1 and Theorem 3.4.2 are based on Morari and Zafiriou (1989, Sections 2.5–2.6). The unstructured uncertainty profile of the first-order plant with time delay introduced in Section 3.5 was given by Laughlin et al. (1987) (Laughlin D. L., D. E. Rivera, and M. Morari. Smith predictor design for robust perforc mance, Int. J. Control, 1987, 46(2), 477–504. Taylor & Francis Ltd.). Figure 3.5.1 is drawn based on Morari and Zafiriou (1989, Figure 4.6.7) with different parameters and frequency points. Exercise 1 is from Doyle et al. (1992, Chapter 2, Exercises). Exercise 2 is based on Doyle et al. (1992, Section 2.2).
76
Quantitative Process Control Theory
Exercise 3 is from Doyle et al. (1992, Chapter 2, Exercises). Exercise 6 is adapted from Skogestad and Postlethwaite (2005, Section 4.7.1). There are many books about robust control theory, among which Morari and Zafiriou (1989), Doyle et al. (1992), and Dorato (2000) are accessible for beginners. Some other references are Vidyasagar (1985), Francis (1987), Zhou et al. (1996), Goodwin et al. (2001), Skogestad and Postlethwaite (2005), and Mackenroth (2010).
4 H∞ PID Controllers for Stable Plants
CONTENTS 4.1 4.2 4.3 4.4 4.5 4.6 4.7
Traditional Design Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H∞ PID Controller for the First-Order Plant . . . . . . . . . . . . . . . . . . . . . . . . . . . . The H∞ PID Controller and the Smith Predictor . . . . . . . . . . . . . . . . . . . . . . . . Quantitative Performance and Robustness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H∞ PID Controller for the Second-Order Plant . . . . . . . . . . . . . . . . . . . . . . . . . . All Stabilizing PID Controllers for Stable Plants . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77 80 84 88 99 102 108 109 111
Many plants involve time delays. The control of plants with time delay presents a continuing challenge to control theory. In past decades, many control strategies have been proposed to solve the problem. Among them two widely used control strategies are the PID controller and the Smith predictor. In this chapter the design problem of H∞ PID controllers is studied, as well as its relation with the Smith predictor. Two aspects are emphasized. One aspect is the control of plants with time delay. In traditional PID design methods, the ratio of the time delay to the time constant is restricted. For the plant with large time delay, they may result in bad performance or unstable systems. The design method introduced in this chapter does not have such a restriction. The other aspect is how to design a PID controller for quantitative performance and robustness, and how to tradeoff between the two objectives. The design method developed in this chapter is based on the optimal control theory. Most controllers designed with the optimal methods have fixed parameters. They cannot be designed or tuned for quantitative responses. This chapter will study the quantitative design problem of the optimal PID controller. Given a plant, an important problem related to the design of PID controllers is the characterization of all PID controllers that stabilize the closedloop system. This problem will be studied in the last section of this chapter. 77
78
4.1
Quantitative Process Control Theory
Traditional Design Methods
If there is not any disturbance, feedback control is unnecessary once the steady state is reached. However, there always exist disturbances in a real system. Disturbances make the system output deviate from the desired value given by the reference. In order to keep the system output close to the reference, the plant input must be changed. To achieve this objective, the prerequisite is a control strategy. Despite the continual advances in control theory, the most popular control strategy used in practice is still the PID controller. Let e(t) denote the error and u(t) denote the controller output. An ideal PID controller can be described by the following equation: Z de(t) 1 e(t)dt + TD , (4.1.1) u(t) = Kc e(t) + TI dt where Kc is the gain, TI is the integral constant, and TD is the derivative constant. Assume that C(s) is the transfer function from e(s) to u(s). Using the Laplace transform, we have 1 C(s) = Kc 1 + (4.1.2) + TD s . TI s The ideal PID controller is improper. It has a pure differentiator and therefore is not physically realizable. In a practical PID controller, an approximate derivative term is used: 1 TD s . (4.1.3) + C(s) = Kc 1 + TI s TF s + 1 The derivative term can also be constructed with an lead-lag element: 1 TD s + 1 C(s) = Kc 1 + , (4.1.4) TI s TF s + 1 or by rolling off the response of the whole controller at high frequencies: 1 1 C(s) = Kc 1 + + TD s . (4.1.5) TI s TF s + 1 Here TF is a small positive real number. It is usually taken as 0.1TD . It is observed that in all of the three forms, a low-pass transfer function is introduced to roll off the high frequency response. This is an important method for realizing an improper transfer function. After a control system has been installed, the three parameters of the PID controller need to be adjusted until a satisfactory closed-loop performance is
H∞ PID Controllers for Stable Plants
79
obtained. Even today, the widely adopted tuning methods for PID controllers are empirical methods. A limitation of these methods is that only partial information is utilized. As the tuning is a trial-and-error procedure, it is difficult for the designer to know to what extent the resulting controller approaches the optimal solution, how to tune the controller for quantitative performance and robustness, and how to reach a reasonable tradeoff among competing performance objectives. The best-known tuning method is the Z-N method. The reaction curve method (R-C method) is developed to give a closed-loop response with the decay ratio of 1/4. Another well-known tuning method is the C-C method, which is empirically developed to give the minimum offset. Assume that the plant model is G(s) =
K e−θs , τs + 1
(4.1.6)
where K is the gain, τ is the time constant, θ is the time delay; the ultimate gain is Ku and the ultimate period is Tu . The PID controller parameters given by the three methods are listed in Table 4.1.1. TABLE 4.1.1 Frequently used tuning methods. Tuning methods
R-C method
C-C method
Z-N method
KKc
1.2(θ/τ )−1
1.35(θ/τ )−1 + 0.27
0.6KKu
TI /τ
2(θ/τ )
TD /τ
0.5(θ/τ )
2.5(θ/τ )[1 + (θ/τ )/5] 1 + 0.6(θ/τ ) 0.37(θ/τ ) 1 + 0.2(θ/τ )
0.5Tu /τ 0.125Tu /τ
Although the Z-N method is the most widely used method, it has an evident disadvantage; the resulting PID controller usually gives excessive overshoot. To overcome this disadvantage, a refined Z-N method called the RZN method is developed, in which the overshoot is reduced by weighting the reference and the integral constant. The modified PID controller is Z 1 de(t) u(t) = Kc [βr(t) − y(t)] + e(t)dt + TD . (4.1.7) µTI dt The constants β and µ are determined by extensive simulation studies. Define the normalized gain as the product of the ultimate gain and the steady-state gain of the plant: Kn = KKu ,
(4.1.8)
and define the normalized time delay as the ratio of the time delay to time
80
Quantitative Process Control Theory
constant: θn =
θ . τ
(4.1.9)
When 2.25 < Kn < 15 and 0.16 < θn < 0.57, the Z-N formulas are retained. Only the reference weight β is applied. For a 10% overshoot: β=
15 − Kn , 15 + Kn
(4.1.10)
β=
36 . 27 + 5Kn
(4.1.11)
and for a 20% overshoot:
If 1.5 < Kn < 2.25 and 0.57 < θn < 0.96, both the reference weight and the new integral constant should be applied. For a 20% overshoot, the formula for β is 8 4 β= Kn + 1 . (4.1.12) 17 9 µ is given as µ=
4 Kn . 9
(4.1.13)
The controller tuned by the Z-N or RZN method usually gives very bad response for the plant with large time delay. Hence, some designers believe that the PID controller cannot be used for the control of the plant with large time delay. It will be shown in the next several sections that, with proper design methods, the PID controller can actually be applied to such systems.
4.2
H∞ PID Controller for the First-Order Plant
The popularity of the PID controller can be attributed partly to their robust performance under a wide range of operating conditions and partly to their functional simplicity, which allows engineers to operate them in a straightforward manner. To implement such a controller, three parameters must be determined for the given plant. In the traditional design procedure, first the control structure is fixed to be the PID structure and then the parameters are determined by empirical tuning rules. In this section, an alternative is developed. The optimal performance index is defined first, and then both the PID control structure and parameters are analytically derived. Consider the unity feedback control system shown in Figure 4.2.1, where
H∞ PID Controllers for Stable Plants
81
FIGURE 4.2.1 Unity feedback control loop. C(s) is the controller, G(s) is the stable plant, r(s) is the reference, y(s) is the output, d(s) is the disturbance at the plant output, u(s) is the controller output, and e(s) is the error. According to Youla parameterization, all stabilizing controllers can be expressed as C(s) =
Q(s) , 1 − G(s)Q(s)
(4.2.1)
where Q(s) is a stable transfer function. If the model is exact, the transfer function from d(s) to y(s) is given by S(s) = 1 − G(s)Q(s).
(4.2.2)
Take the performance index as min kW (s)S(s)k∞ , where W (s) is a weighting function. It should be chosen so that the 2-norm of system input is bounded by unity. It is impossible to design a controller for any inputs. Assume that the system input is a step, that is, d(s) = 1/s. In light of the discussion in Section 3.2, the weighting function in the H∞ optimal control should satisfy that kd(s)/W (s)k2 ≤ 1. Then the weighting function can be simply taken as W (s) = 1/s. In practice, ease of use is one of the important requirements. Since only two or three parameters can be tuned in a PID controller, it is natural to use a simple model in design. Consider the model in the form of the first-order plant with time delay: G(s) =
Ke−θs . τs + 1
(4.2.3)
Many plants can be described by this model. With the 1/1 Pade approximant, e−θs ≈
1 − θs/2 , 1 + θs/2
82
Quantitative Process Control Theory
the approximate plant is G(s) ≈ K
1 − θs/2 . (τ s + 1)(1 + θs/2)
(4.2.4)
The basic idea is designing the controller for the approximate plant and then using it for the control of the original plant. The following theorem is a fundamental fact in complex analysis. Theorem 4.2.1 (Maximum Modulus Theorem). Assume that F (s) is a function that has no poles in Ω. If F (s) is not a constant, then |F (s)| does not attain its maximum value at an interior point of Ω. Let Ω equal the open RHP. W (s)S(s) denotes the transfer function from the normalized disturbance to the system output. Evidently, W (s)S(s) should be stable; that is, it has no poles in Ω. By Theorem 4.2.1 we have kW (s)S(s)k∞
= kW (s)[1 − G(s)Q(s)]k∞ = sup |W (s)[1 − G(s)Q(s)]| .
(4.2.5)
Res>0
G(s) has a zero at s = 2/θ in the open RHP. s = 2/θ is an interior point of Ω. Accordingly sup |W (s)[1 − G(s)Q(s)]|
Res>0
≥ |W (s)[1 − G(s)Q(s)]|s=2/θ | =
θ . 2
(4.2.6)
To solve the above equation, the following constraints should be considered: 1. Q(s) should be stable for internal stability. 2. To make the controller physically realizable, Q(s) should be proper. 3. To have a finite ∞-norm, Q(s) should satisfy lim S(s) = lim [1 − G(s)Q(s)] = 0.
s→0
s→0
(4.2.7)
This constraint is also required for asymptotic tracking. It will complicate the design problem to consider these constraints simultaneously. To get a controller that makes the closed-loop system possess desired properties, the idea is loosening the requirement of properness first and finding the optimal Q(s), namely Qopt (s). A proper Q(s) can then be obtained by rolling Qopt (s) off at high frequencies. This technique was used in the last section to implement a practical PID controller. From (4.2.6) it is known that the minimum of kW (s)S(s)k∞ is θ/2. This gives the following unique optimal solution: Qopt (s) =
W (s) − θ/2 W (s)G(s)
H∞ PID Controllers for Stable Plants =
(τ s + 1)(1 + θs/2) . K
83 (4.2.8)
Qopt (s) is improper. A low-pass filter must be introduced to roll Qopt (s) off at high frequencies. Choose the following filter: J(s) =
β0 , (λs + 1)2
(4.2.9)
where β0 is a constant and λ is a positive real number. The filter should not violate the constraint of asymptotic tracking: lim [1 − G(s)Qopt (s)J(s)] = 0.
s→0
Elementary computations give β0 = 1. Then the suboptimal proper Q(s) is Q(s) = =
Qopt (s)J(s) (τ s + 1)(1 + θs/2) . K(λs + 1)2
(4.2.10)
Here, λ is an adjustable parameter. It closely relates to the closed-loop performance. A small λ gives a fast response, while a large λ slows down the response. As λ → 0, kW (s)S(s)k∞ tends to be optimal. Therefore, λ can be used as a metric of performance. It is called the performance degree in this book. In view of (4.2.1), the controller of the corresponding unity feedback loop is C(s)
= =
Q(s) 1 − G(s)Q(s) 1 (τ s + 1)(1 + θs/2) . K λ2 s2 + (2λ + θ/2)s
(4.2.11)
This is a PID controller. An important feature of this PID controller is that it cancels two poles of the approximate model, or equivalently, two dominant poles of the original model. With the above formula, the parameters of PID controller can be directly calculated by using the plant parameters. Compare the H∞ PID controller with the practical PID controller of the form 1 1 C(s) = KC 1 + + TD s , TI s TF s + 1 the parameters of the H∞ PID controller are λ2 θ , TI = + τ, 2λ + θ/2 2 TI θτ , KC = TD = . 2TI K(2λ + θ/2)
TF =
(4.2.12)
84
Quantitative Process Control Theory If the practical PID is in the form of 1 TD s C(s) = KC 1 + , + TI s TF s + 1
the parameters of the H∞ PID controller are θ λ2 , TI = + τ − TF , 2λ + θ/2 2 TI θτ = − TF , KC = . 2TI K(2λ + θ/2)
TF = TD
(4.2.13)
When the practical PID controller is 1 TD s + 1 C(s) = KC 1 + , TI s TF s + 1 the parameters of the H∞ PID controller are λ2 θ , TI = τ (or ), 2λ + θ/2 2 θ TI TD = (or τ ), KC = . 2 K(2λ + θ/2)
TF =
(4.2.14)
In practice, a low-order controller is preferred to a high-order controller. Usually, there are two ways to obtain a low-order controller: 1. Design a controller for the high-order model and then reduce the order of the resulting controller. 2. Reduce the order of the model and then design a controller for the low-order model. Although the two design procedures are different, the obtained responses are similar. This section adopts the latter. If the plant model is of high order, it should be reduced to the model of first order and then the design procedure introduced in this section can be used.
4.3
The H∞ PID Controller and the Smith Predictor
Since the PID controller and the Smith predictor were proposed, the two controllers have been widely studied and applied. Even today, they are still the dominant means in industrial control systems. For a very long time, the two controllers had been regarded as two irrelevant methods: the Smith predictor
H∞ PID Controllers for Stable Plants
85
is an efficient scheme for plants with large time delay, while the PID controller is not. In this section, the internal relationship between the two controllers will be discussed. Consider the unity feedback control system shown in Figure 4.2.1. Assume ˜ that G(s) is the real plant, whose model is described by G(s) = Go (s)e−θs ,
(4.3.1)
where Go (s) is the delay-free part of G(s). When the model is exact and there is no disturbance, the system output is y(s) = C(s)Go (s)e−θs e(s).
(4.3.2)
This signal is delayed, whereas the desired feedback signal is yo (s) = C(s)Go (s)e(s).
(4.3.3)
This is possible if we substitute C(s) for R(s) and add the following signal to the open-loop response y(s): ys (s) = R(s)Go (s)e(s) − R(s)Go (s)e−θs e(s).
(4.3.4)
The implication of adding ys (s) to the signal y(s) is shown in Figure 4.3.1. This structure is the so-called Smith predictor. It is seen that the signal ys (s) is generated by introducing a simple local loop. The new feedback signal is as follows: ys (s) + y(s) = yo (s).
(4.3.5)
FIGURE 4.3.1 Structure of the Smith predictor. The controller R(s) in the Smith predictor differs from the controller C(s) in the unity feedback loop. The Smith predictor can be related to the unity feedback loop through C(s) =
R(s) . 1 + [Go (s) − G(s)]R(s)
(4.3.6)
86
Quantitative Process Control Theory
FIGURE 4.3.2 An equivalent structure of the Smith predictor. If the plant is rational, R(s) reduces to C(s). For the H∞ PID controller given in the last section, we have Q(s) =
(τ s + 1)(1 + θs/2) . K(λs + 1)2
Rearrange Figure 4.3.1 to obtain Figure 4.3.2. It is easy to verify that the Smith predictor and Q(s) are related through Q(s) =
R(s) . 1 + Go (s)R(s)
(4.3.7)
The controller of the Smith predictor can be obtained by inverse operation: R(s) = =
Q(s) 1 − Go (s)Q(s) 1 (τ s + 1)(1 + θs/2) . K λ2 s2 + (2λ − θ/2)s
(4.3.8) (4.3.9)
R(s) is a PID controller when λ > θ/4. The analysis shows that the Smith predictor and PID controller can be approximately equivalent. The gap between them comes from the error caused by the Pade approximation. This implies that a PID controller can also be used to control plants with large time delay, provided it is appropriately designed. Example 4.3.1. Consider the paper-making machine shown in Figure 4.3.3. The paper-making machine is divided into five sections: head, table and pressing, drying, calender stack, and reel. Not shown in this figure is the stock preparation system, in which fibers are dispersed in water. The suspension is delivered to the mixing tank. In the mixing tank and the head-box, the thick stock is mixed with the recycled water. Then the head-box delivers the diluted suspension of fibers to the wire with small fine holes. The wire continuously
H∞ PID Controllers for Stable Plants
87
moves over the table, where most of the water is removed by draining through the wire. This produces a wet mat of fibers on the wire. After being pressed and dried, the wet mat becomes a sheet of finished paper.
FIGURE 4.3.3 A paper-making process. (From Zhang et al., 2001. Reprinted by permission of John Wiley & Sons) In the system, there are many control objectives such as basis weight, moisture content, steam pressure, and consistency, among which the most important is the basis weight. By mechanistic analysis and identification, a low-order model has been developed for basis weight control: G(s) =
5.15 −2.8s . e 1.8s + 1
That is, K = 5.15, τ = 1.8, θ = 2.8. From (4.2.10) we have the following H∞ controller: Q(s) =
(1.8s + 1)(1.4s + 1) . 5.15(λs + 1)2
A little algebra yields the following PID controller: C(s) =
(1.8s + 1)(1.4s + 1) . 5.15[λ2 s2 + (2λ + 1.4)s]
The equivalent Smith predictor is R(s) =
(1.8s + 1)(1.4s + 1) . 5.15[λ2 s2 + (2λ − 1.4)s]
Take λ = 0.4θ (In the rest of this book, “θ” will be directly used in examples
88
Quantitative Process Control Theory
without repeating its meaning). A unit step reference is added at t = 0 and a step load with the magnitude of −0.1 is added at t = 50. The nominal response of the closed-loop system is shown in Figure 4.3.4. It is seen that the response of the system is fast and steady. Now assume that there exists a 50% error in estimating θ; that is, θ varies within [1.4, 4.2]. Figure 4.3.5 shows the system responses. If the performance degree is λ = 0.7θ, the response becomes slightly slower, but a better robustness is obtained (Figure 4.3.6).
FIGURE 4.3.4 Nominal response of the closed-loop system.
4.4
Quantitative Performance and Robustness
There is an adjustable parameter, performance degree λ, in the H∞ PID controller. The parameter directly relates to the nominal performance and robustness of the closed-loop system. It will be shown in this section how a quantitative performance or robustness can be obtained by adjusting the performance degree. 1. If the real plant were (4.2.4), the closed-loop transfer function of the system would be T (s) =
1 − θs/2 . (λs + 1)2
(4.4.1)
H∞ PID Controllers for Stable Plants
FIGURE 4.3.5 Response of the uncertain system with λ = 0.4θ.
FIGURE 4.3.6 Response of the uncertain system with λ = 0.7θ.
89
90
Quantitative Process Control Theory The disturbance transfer function of the system would be S(s) =
λ2 s2 + (2λ + θ/2)s . (λs + 1)2
(4.4.2)
The closed-loop system would have smooth and steady frequency responses (Figure 4.4.1). In this case, the performance degree could be freely selected. When λ → 0, the system would tend to be optimal: kW (s)S(s)k∞ → θ/2.
FIGURE 4.4.1 Frequency response of the closed-loop system. 2. In the last section, the real plant was in the form of (4.2.3) and the Pade approximation was used to treat the time delay in it. When the obtained controller is applied to the real plant, the response of the closed-loop system fluctuates near the break frequency, which is caused by the error from the Pade approximation (Figure 4.4.1). Regard the error as a kind of known uncertainty and let −θjω e 1 − θjω/2 . − (4.4.3) |∆m (jω)| ≥ K τ jω + 1 (τ jω + 1)(1 + θjω/2) The robust stability of the closed-loop system can be tested by k∆m (s)T (s)k∞ < 1.
(4.4.4)
It can be verified that the performance degree relates to the stability and performance of the closed-loop system in a monotonous manner:
H∞ PID Controllers for Stable Plants (a) When the performance degree decreases, |T (jω)| increases in the high frequency range and |S(jω)| decreases in the low frequency range. Such a system has a larger bandwidth (Figure 4.4.2). According to the discussion in Chapter 3, this implies better performance and poorer robustness. (b) When the performance degree increases, |T (jω)| decreases in the high frequency range and |S(jω)| increases in the low frequency range. The system has a smaller bandwidth. Its performance is sacrificed for the robustness.
FIGURE 4.4.2 Relationship between the closed-loop frequency response and λ. The nominal performance and robustness of a system conflict with each other. By choosing an appropriate performance degree, one can easily tradeoff between the nominal performance and the robustness. The monotonicity of the performance degree implies that the tradeoff procedure, or the controller tuning procedure, is very simple. In Section 2.2, an example was given to illustrate that the direct use of a rational approximation for stability analysis might lead to an incorrect result. Since the approximate model is not exactly the original model, there exists a possibility that the controller stabilizes the approximate model, but cannot stabilize the original model. The use of the performance degree overcomes the problem. In the method in Section 4.2, the controller is designed for the approximate model, and then used for the original model. That is, the approximate model is regarded as the nominal plant and the approximation
91
92
Quantitative Process Control Theory error is regarded as the uncertainty. The existence of the approximation error imposes a lower bound on the performance degree for stability. As long as the performance degree is greater than the lower bound, the closed-loop system is stable. With numerical methods, it is obtained that the lower bound is about 0.0735θ. 3. A frequently encountered situation is that the real plant is uncertain. Assume that the real plant is e e exp (−θs) K e . G(s) = τes + 1
Then the uncertainty profile is K e K(1 − θjω/2) e exp (−θjω) ∆m (ω) ≥ − , τejω + 1 (τ jω + 1)(1 + θjω/2)
(4.4.5)
(4.4.6)
which consists of two parts: one is the approximation error and the other is the real uncertainty. Then the closed-loop system is stable if and only if k∆m (s)T (s)k∞ < 1.
(4.4.7)
Now consider the quantitative tuning problem for nominal performance and robustness. As stated in Section 3.5, there are two classes of design specifications. In one class the design specification involving the requirement on robustness is given for the nominal system, while in the other class the design specification is given for the uncertain system. First, assume that the quantitative design specification involving the requirement on robustness is proposed for the nominal system. In this case, only the nominal performance is considered. In the design method in Section 4.2, the error introduced by the Pade approximation is clear. Hence, the performance degree has a definite effect on the nominal performance. It is complicated to analytically compute the effect. However, with the help of numerical methods the effect can be obtained easily. Figures 4.4.3–4.4.5 provide an estimation about the performance. It can be seen that overshoot, rise time and resonance peak are determined only by λ/θ. The sudden change in Figure 4.4.4 is due to the different definitions for systems with overshoot and without overshoot. With these curves, one can design the H∞ PID controller for quantitative nominal performance. For example, if the required overshoot is 5%, one can simply take λ = 0.5θ according to Figure 4.4.3. In Example 4.3.1, λ = 0.4θ was taken. The corresponding overshoot is about 15%. Similarly, 2dB resonance peak can be reached by taking λ = 0.37θ in view of Figure 4.4.5. In many cases, the value of λ corresponding to the practical design requirements falls
H∞ PID Controllers for Stable Plants
FIGURE 4.4.3 Effect of the performance degree on the overshoot.
FIGURE 4.4.4 Effect of the performance degree on the rise time.
93
94
Quantitative Process Control Theory
FIGURE 4.4.5 Effect of the performance degree on the resonance peak. into the interval 0.1θ − 1.2θ. Hence, the maximal x-coordinate is 1.2 in Figures 4.4.3–4.4.5. There is a limit to the performance in any control system. For instance, in the system with an H∞ PID controller, there is a minimal rise time when the overshoot is fixed. Higher requirements on the rise time can be achieved in two ways: improving the design methods or increasing the controller order. Theoretically, it may be possible to reach an arbitrarily fast rise time if the controller order is not restricted. As discussed in Section 2.3, an important measure for the ability of rejecting disturbance is the perturbation peak. Since the transfer function from the disturbance at the plant input to the system output is G(s)S(s), the disturbance response relates not only to λ/θ, but also to θ/τ (Figure 4.4.6). If θ/τ is fixed, then there is a simple relationship between the perturbation peak and λ/θ. Similarly, when λ/θ is fixed, the perturbation peak can also be estimated by θ/τ . In classical control theory, the frequency response method is one of the main methods for controller design. With the Bode plot and Nyquist plot, one can analyze the stability of the closed-loop system and design the controller. Figure 4.4.7 and 4.4.8 provide the Bode plot and Nyquist plot of the system. It can be seen that the open-loop frequency response has a particular feature: with the increase of the frequency, both the magnitude and the phase decrease monotonically. The combined effect makes part of the Nyquist plot on a line between (−1, 0) and the origin and at the same time parallel to the imaginary axis.
H∞ PID Controllers for Stable Plants
95
FIGURE 4.4.6 Effect of the performance degree on the perturbation peak.
Some other performance indices also relate with λ/θ monotonically. The relationship between the magnitude margin and λ/θ is shown in Figure 4.4.9 and the relationship between the phase margin and λ/θ is shown in Figure 4.4.10. It can be observed that the changes of the magnitude margin and the phase margin are monotonous. The relationship between the ISE and λ/θ is shown in Figure 4.4.11. When λ/θ < 0.3, the smaller the λ/θ, the larger the ISE; when λ/θ ≥ 0.3, the larger the λ/θ, the larger the ISE. Now assume that the quantitative design specification is given for the uncertain system. In this case, there exists uncertainty in addition to the approximation error. If the uncertainty profile is obtained, an exact performance degree can be calculated with the necessary and sufficient condition for robust performance. Unfortunately, the uncertainty profile is not always exactly known, owing to technical and economical reasons. Even if the uncertainty profile is available, the calculation is complicated. Therefore, it is most desirable to develop a simple tuning method to determine the performance degree. Based on the discussion in this section, a simple tuning procedure is developed here. Without loss of generality, assume that the closed-loop system is required to have an overshoot less than 5% for all uncertain plants, that is, the worst case overshoot is 5%. The tuning procedure is as follows: 1. Design the controller for the nominal plant. For a 5% overshoot, λ = 0.5θ. 2. Substitute the worst case plant for the nominal plant (that is, the
96
Quantitative Process Control Theory
FIGURE 4.4.7 Bode plot of the H∞ PID control system.
H∞ PID Controllers for Stable Plants
FIGURE 4.4.8 Nyquist plot of the H∞ PID control system.
FIGURE 4.4.9 Effect of the performance degree on the gain margin.
97
98
Quantitative Process Control Theory
FIGURE 4.4.10 Effect of the performance degree on the phase margin.
FIGURE 4.4.11 Effect of the performance degree on the ISE.
H∞ PID Controllers for Stable Plants
99
gain and time delay take their maximum value and the time constant takes its minimum value). 3. Increase the performance degree monotonically with a small step until the overshoot reaches 5%. The first step can be omitted. In this case, the initial value of the performance degree is set to be 0. A typical step is 0.01θ or smaller. If the time delay is very small, for instance, θ ≤ 0.1τ , the time constant can be used to determine the step. For example, the step can be taken as 0.01τ or smaller. To summarize, both the nominal performance and the robust performance can be quantitatively tuned through such a procedure: Increase the performance degree monotonically until the required response is obtained.
4.5
H∞ PID Controller for the Second-Order Plant
The design in the preceding sections was carried out on the basis of the 1/1 Pade approximant. In this section, the first-order Taylor series expansion (equivalently the 1/0 Pade approximant) is used to design the H∞ PID controller. Despite having lower accuracy than the 1/1 Pade approximant, the first-order Taylor series expansion allows us to design a PID controller for the second-order plant with time delay. Assume that the plant model is G(s) =
Ke−θs , (τ1 s + 1)(τ2 s + 1)
(4.5.1)
where τ1 and τ2 are two time constants. The poles of the plant are −1/τ1 and −1/τ2 . If both 1/τ1 and 1/τ2 are positive real numbers, the dynamics of the plant is similar to that of the first-order plant. One can reduce the model to the first-order one and then design the controller. When 1/τ1 and 1/τ2 are conjugate imaginary roots, the dynamics of the plant cannot be well approximated by the first-order plant. In this case, it is not recommended to reduce the order of the model. The controller should be designed for the second-order model. Using the first-order Taylor series expansion, we have e−θs ≈ 1 − θs. The approximate model is G(s) ≈
K(1 − θs) . (τ1 s + 1)(τ2 s + 1)
Take the performance index as min kW (s)S(s)k∞ .
(4.5.2)
100
Quantitative Process Control Theory
Assume that the system input is a unit step. Then W (s) = 1/s. By Theorem 4.2.1, = kW (s)[1 − G(s)Q(s)]k∞ ≥ |W (1/θ)|
kW (s)S(s)k∞
(4.5.3)
for all Q(s)s. Substituting (4.5.2) into (4.5.3) and minimizing the left-hand side of the equation yields:
1 K(1 − θs)
1− (4.5.4) Q(s)
= θ.
s (τ1 s + 1)(τ2 s + 1) ∞ It is now clear that the unique optimal solution is Qopt (s) =
(τ1 s + 1)(τ2 s + 1) . K
(4.5.5)
The degree of the numerator polynomial of Qopt (s) is higher by two than that of the denominator polynomial. Since the asymptotic tracking property requires that lim [1 − G(s)Q(s)] = 0,
s→0
(4.5.6)
the following filter is introduced to roll Qopt (s) off at high frequencies: J(s) =
1 . (λs + 1)2
A proper Q(s) is then obtained: Q(s)
= Qopt (s)J(s) (τ1 s + 1)(τ2 s + 1) . = K(λs + 1)2
(4.5.7)
The controller of the unity feedback loop is: C(s)
= =
Q(s) 1 − G(s)Q(s) 1 (τ1 s + 1)(τ2 s + 1) . K λ2 s2 + (2λ + θ)s
(4.5.8)
This is a PID controller. If it is realized in the form of 1 1 C(s) = KC 1 + + TD s , TI s TF s + 1 the controller parameters are as follows: λ2 , TI = τ1 + τ2 , 2λ + θ τ1 τ2 τ1 + τ2 = , KC = . τ1 + τ2 K(2λ + θ)
TF = TD
(4.5.9)
H∞ PID Controllers for Stable Plants
101
Usually λ falls into the interval 0.2θ − 1.2θ. The H∞ PID controller of the second-order plant possesses similar features to that of the first-order plant. Since there are two time constants in the plant model, the relationship between the performance degree and the system response depends not only on λ/θ but also on time constants. The nominal performance and robust performance of the system with a second-order plant can also be quantitatively tuned through the procedure given in Section 4.4: Increase the performance degree monotonically until the required response is obtained. Example 4.5.1. The task of heat exchangers is to transfer heat from one flow of medium to another — without any physical contact. Heat transfer takes place through the thermally conductive material used to separate the two media, one cold and the other hot. Figure 4.5.1 describes an industrial heat exchanger in which steam is used to heat the liquid product. The requirement on the control system is to retain the product temperature at 55 degrees centigrade. To cater for downstream process requirements, the flow rate of product regularly alters within the range 1.5 − 3.0 L/min. Fix the flow rate of product at 2.1 L/min. The transfer function from the steam flow rate to the product temperature is obtained by carrying out step tests: G(s) =
0.54e−15s . (15s + 1)2
The time delay depends on the flow rate of the product. When the flow rate alters over the confined range, the time delay varies between 10 and 20 seconds. The design requirement is that the overshoot should not exceed 10% for the worst case. With (4.5.8) the controller of the second-order plant is obtained as follows: C(s) =
(15s + 1)2 1 . 0.54 λ2 s2 + (2λ + 15)s
The parameter is taken as λ = 0.9θ. For the sake of comparison, a plant of reduced order is computed: G(s) =
0.54e−21s , 25s + 1
and λ = 0.78θ is taken for the controller of the first-order plant given by (4.2.11): C(s) =
1 (25s + 1)(11.5s + 1) . 0.54 λ2 s2 + (2λ + 11.5)s
A unit step reference is added at t = 0 and a unit step load is added at
102
Quantitative Process Control Theory
FIGURE 4.5.1 An industrial heat exchanger.
t = 200. The nominal responses of the closed-loop system are shown in Figure 4.5.2. Since the two poles of the plant are real, the responses given by the two controllers are similar. Assume that the flow rate of the product decreases to the lowest so that the time delay becomes 20 seconds. Responses of this worst case are shown in Figure 4.5.3. The overshoot of the closed-loop system increases to 10%.
4.6
All Stabilizing PID Controllers for Stable Plants
In this section, the PID controller is discussed from another angle. One might encounter such a case in practice: even when the parameters of a PID controller are chosen in random, the closed-loop system still works well. Unfortunately, not every time can one find appropriate parameters, since the range of the PID parameters, in which the feedback system is stable, is not clear. This seems to be a simple problem. However, simple problems do not always have simple solutions. Because of the time delay involved in the characteristic equation, it is fairly difficult to analyze this problem. The goal of this section is to determine the set of controller parameters that guarantees the stability of the closed-loop system. Evidently, the set is independent of design methods.
H∞ PID Controllers for Stable Plants
FIGURE 4.5.2 Responses of the nominal plant.
FIGURE 4.5.3 Responses of the worst case.
103
104
Quantitative Process Control Theory
The attention here is put on the first-order plant with time delay: G(s) =
Ke−θs . τs + 1
(4.6.1)
To simplify presentation, the standard PID controller is considered: C(s) = KC +
KI + KD s, s
(4.6.2)
where KI = KC /TI and KD = KC TD . Theorem 4.6.1. The plant (4.6.1) can be stabilized by the PID controller (4.6.2) if and only if the controller parameters satisfy −
1 < KC < KT , K
where KT =
i 1 hτ α1 sin(α1 ) − cos(α1 ) , K θ
and α1 is the solution to the equation
tan(α) = −
τ α τ +θ
in the interval (0, π). The complete stabilizing region is given as follows: 1. For KC ∈ (−1/K, 1/K], the stabilizing region of the integral constant and the derivative constant is the trapezoid in Figure 4.6.1. 2. For KC ∈ (1/K, KT ), the stabilizing region of the integral constant and the derivative constant is the quadrilateral in Figure 4.6.2. Here z
=
m(z) = b(z) = w(z) =
θω, θ2 , z2 i τ θ h − sin(z) + z cos(z) , Kz θ o z n τ sin(z) + z[cos(z) + 1] , Kθ θ
and zj (j = 1, 2, ...) are the positive real roots of KKC + cos(z) −
τ z sin(z) = 0. θ
These roots are arranged in an increasing order of magnitude.
H∞ PID Controllers for Stable Plants
FIGURE 4.6.1 Stabilizing region for KC ∈ (−1/K, 1/K]. (From Silva et al., 2002. Reprinted by permission of the IEEE)
FIGURE 4.6.2 Stabilizing region for KC ∈ (1/K, KT ). (From Silva et al., 2002. Reprinted by permission of the IEEE)
105
106
Quantitative Process Control Theory
Proof. The conclusion in this theorem is simple while the proof is a bit complicated. Hence, the proof is only sketched. Those application-oriented readers can skip the proof. The characteristic polynomial of the system is in the form of a quasipolynomial: δ(s) = K(KI + KC s + KD s2 )e−θs + (1 + τ s)s.
(4.6.3)
Since eθs has no finite zeros, the following quasi-polynomial is considered instead: δ ∗ (s) = K(KI + KC s + KD s2 ) + (1 + τ s)seθs .
(4.6.4)
δ ∗ (s) and δ(s) are equivalent for stability analysis. Rewrite δ ∗ (s) as δ ∗ (jω) = δr (ω) + jδi (ω),
(4.6.5)
where δr (ω) and δi (ω) represent the real part and the imaginary part of δ ∗ (jω), respectively. δr (ω) = KKI − KKD ω 2 − ω sin(θω) − τ ω 2 cos(θω), δi (ω) = ω[KKC + cos(θω) − τ ω sin(θω)].
(4.6.6)
It can be seen that the controller gain KC only affects the imaginary part of δ ∗ (jω) whereas the integral constant KI and the derivative constant KD only affect the real part of δ ∗ (jω). It can be proved that δ ∗ (s) is stable if and only if 1. E(ω0 ) := δi′ (ω0 )δr (ω0 ) − δi (ω0 )δr′ (ω0 ) > 0 for some ω0 in (−∞, +∞). 2. δr (ω) and δi (ω) have only simple real roots and these roots interlace. In what follows, it will be examined when the two conditions hold. First, check the first condition. Since z = θω, the real part and the imaginary part of δ ∗ (jω) can be, respectively, expressed as KKD 2 1 τ z − z sin(z) − 2 z 2 cos(z), 2 θ θ θ z τ δi (z) = [KKC + cos(z) − z sin(z)]. θ θ
δr (z) = KKI −
Take ω0 = z0 = 0. Then δr (z0 ) = KKI and δi (z0 ) = 0. On the other hand, E(z0 ) =
KKC + 1 KKI . θ
If we pick KI > 0, KC > −
1 , K
(4.6.7)
H∞ PID Controllers for Stable Plants
107
or KI < 0, KC < −
1 , K
then E(z0 ) > 0. Next, check the second condition. Plotting the terms involved in the equation δi (z) = 0 and graphically examining the nature of the solution, it can be concluded that the roots are all real if and only if KC ∈ (−1/K, KT ). Furthermore, compute the roots of the imaginary part by letting δi (z) = 0. Evidently, one root is z0 = 0. Other roots zj (j = 1, 2, ...) are given by the equation KKC + cos(z) −
τ z sin(z) = 0. θ
Arrange these roots in an increasing order of magnitude. By evaluating δr (z) at zj (j = 0, 1, ...), it can be proved that the KI and KD for the roots of δr (z) and δi (z) to interlace are determined by the following infinite set of inequalities: KI > 0, j
(−1) KD < (−1)j m(zj )KI + (−1)j b(zj ),
j = 1, 2, ...
(4.6.8)
Now it will be shown that all these regions do have a nonempty intersection. Notice that the slopes m(zj ) of the boundary lines of these regions decrease with zj . The limit is lim m(zj ) = 0.
j→∞
(4.6.9)
With this in mind, the following observations are obtained: 1. When KC ∈ (−1/K, 1/K], the intersection is given by the trapezoid sketched in Figure 4.6.1. This region is obtained by utilizing the following properties: (a) b(zj ) < b(zj+2 ) < −τ /K for odd values of j. (b) b(zj ) > τ /K and b(zj ) → τ /K as j → ∞ for even values of j. (c) 0 < v(zj ) < v(zj+2 ) for odd values of j, where o τ z n sin(z) + z[cos(z) − 1] . v(z) = Kθ θ 2. When KC ∈ (1/K, 1/KT ), the intersection is given by the quadrilateral sketched in Figure 4.6.2. This region is obtained by using the following properties: (a) b(zj ) > b(zj+2 ) > −τ /K for odd values of j. (b) b(zj ) < b(zj+2 ) < τ /K for even values of j.
108
Quantitative Process Control Theory (c) w(zj ) > w(zj+2 ) > 0 for even values of j. (d) b(z1 ) < b(z2 ), w(z1 ) > w(z2 ).
So far, the interlacing property, as well as that the roots of δi (z) = 0 are all real for KC ∈ (−1/K, KT ), has been proven. The two conditions can be used to prove that δr (z) = 0 only has real roots. Therefore, for (−1/K, KT ) there is a solution to the PID stabilization problem of the first-order plant with time delay. For those values of KC beyond this range, the PID stabilization problem does not have a solution.
4.7
Summary
In this chapter, an analytical method for PID controller design is proposed based on the H∞ optimal control theory. If the plant is in the form of G(s) =
Ke−θs , τs + 1
the controller is C(s) =
1 (τ s + 1)(1 + θs/2) . K λ2 s2 + (2λ + θ/2)s
For the second-order plant with time delay, G(s) =
Ke−θs , (τ1 s + 1)(τ2 s + 1)
the controller is C(s)
=
1 (τ1 s + 1)(τ2 s + 1) . K λ2 s2 + (2λ + θ)s
The controller order is the same as that of the approximate plant. When using these design formulas, the designer is not required to choose weighting functions. Although many design methods have been developed, little work has been done on the quantitative design of PID controller. As we know, practical design requirements on control systems are usually specified in terms of time domain responses or frequency domain responses. By using the performance degree, the proposed PID controller can provide quantitative closed-loop responses. The performance degree can be determined by computing or tuning. The tuning procedure is very simple: Increase the performance degree monotonically until the required response is obtained.
H∞ PID Controllers for Stable Plants
109
The design method in this chapter provides a smooth transition between the classical design requirement and the optimal design result. On one hand, the controller is analytically derived from the optimal performance index. On the other hand, the controller parameters directly relate to the classical design requirement. The relationship between the H∞ PID controller and the Smith predictor is also investigated in this chapter. It is shown that the two controllers are approximately equivalent. This clarifies why the H∞ PID controller can be used to control systems with large time delay. The characterization of all stabilizing PID controllers is studied in the last section of this chapter. This problem has important implications on both theoretical analysis and application. The analyzing procedure is rather complicated. The result, however, is quite simple.
Exercises 1. Which rational approximation for a time delay can be utilized to design an H∞ PID controller besides the 1/1 Pade approximant and the first-order Taylor series expansion? Give one example. 2. Let kG(s)k∞ = k1/(s + 1)k∞ . Is it true or false: G(s) = 1/(s + 1)?
3. Assume that the plant is in the form of G(s) =
s−3 , s+1
and the closed-loop transfer function of the unity feedback loop is T (s) =
5 . s+5
Compute the controller and analyze the internal stability of the closed-loop system. 4. Show that |W (jω)S(jω)| + |∆m (jω)T (jω)| < 1, ∀ω, if |W (jω)S(jω)|2 + |∆m (jω)T (jω)|2 < 1/2, ∀ω. 5. A measure of the closed-loop performance is 1/ max |Re (G(jω)C(jω)) |. Sketch the relationship between this measure and λ/θ for the H∞ PID controller in Section 4.2.
110
Quantitative Process Control Theory 6. The aim of the strip casting process is to produce hot strip directly from the molten steel. Since the hot rolling process is eliminated, substantial reduction in investment and operating cost would be possible. The schematic diagram of a strip caster is given in Figure E4.1. Molten steel, fed from the tundish, flows through a nozzle into the sump comprising two casting rolls and side dams, solidifies in a short time, and is rolled out to a thin strip between the two counter-rotating rolls. The control loop of the molten steel height is one of the most important control loops in the strip casting process. A very high precision is required. The height of molten steel is captured by a CCD video camera. Based on the difference in brightness of the two materials, the interface between the molten steel and the roll surface (that is, the height of molten steel) can be distinguished. The transfer function from the flow rate to the height of molten steel is
FIGURE E4.1 Control of the molten steel level.
G(s) =
0.42 e−0.15s . 0.78s + 1
There is a 10% error in estimating the gain, and a 25% error in estimating the time constant and time delay. The worst-case overshoot is required to be 10%. Design a PID controller for the control loop.
H∞ PID Controllers for Stable Plants
111
Notes and References The Z-N method in Section 4.1 was proposed by Ziegler and Nichols (1942) and the C-C method can be found in Cohen and Coon (1953). The refined Z-N method belongs to Hang et al. (1991) and Astrom et al. (1992). For some recent advances in PID controller design, please refer to Astrom and Hagglund (2005), O’Dwyer (2006), and Visioli (2006). The comparison study of the three practical forms of PID controller can be found in Luyben (2001). The material in Sections 4.2–4.4 comes from Zhang (1996) and Zhang et al. (2002). The introduction to the constructing of the Smith predictor can be found in Stephanopoulos (1984, Section 19.2). Morari and Zafiriou (1989, Section 6.2) pointed out that the Smith predictor can be designed by the IMC design method (that is, by Q(s)). The plant in Example 4.3.1 and Figure 4.3.3 are from Zhang (1996) and Zhang et al. (2001). Section 4.5 closely follows the paper by Zhang and Sun (1997). The plant in Example 4.5.1 is from Golten and Verwer (1991, Section 9.7). The discussion in Section 4.6 is adapted from Bhattacharyya et al. (2009, Section 3.6) and Silva et al. (2002) (Silva G. J., A. Datta, and S. P. Bhattachcharyya. New results on the synthesis of PID controllers, IEEE Trans. c Auto. Control, 2002, 47(2), 241–252. IEEE). The results for the general plant can be found in Ou et al. (2009). Exercise 4 gives a special robust performance problem called the mixed sensitivity problem. See, for example, Doyle et al. (1992, Chapter 12). The measure in Exercise 5 was discussed by Wang and Shao (2000). The plant in Example 6 is from Zhu (2005).
5 H2 PID Controllers for Stable Plants
CONTENTS 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8
H2 PID Controller for the First-Order Plant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Quantitative Tuning of the H2 PID Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . H2 PID Controller for the Second-Order Plant . . . . . . . . . . . . . . . . . . . . . . . . . . . Control of Inverse Response Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PID Controller Based on the Maclaurin Series Expansion . . . . . . . . . . . . . . . PID Controller with the Best Achievable Performance . . . . . . . . . . . . . . . . . . . Choice of the Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
113 117 123 128 133 137 140 144 145 147
In Chapter 4, an analytical method was presented for PID controller design based on the H∞ optimal control theory. The question studied in this chapter is whether an analytical PID controller can be designed with other methods, and if so, whether the resulting PID controller has similar features to that of the H∞ PID controller. An analog of the H∞ optimal control theory is the H2 optimal control theory. This chapter is devoted to the design of H2 PID controllers for the plant with time delay. Analytical design methods are developed based on the H2 optimal control theory. It will be shown that H2 PID controllers can also be tuned for quantitative performance and robustness. To illustrate the difference between the H2 PID controller and the H∞ PID controller, an inverse response process is employed to compare them. When controller structure is fixed, there is a limit to the achievable performance. One interesting problem about the PID controller is how to design a PID controller to reach the limit. The problem is studied in this chapter by utilizing a rational transfer function to approximate the obtained suboptimal controller. An analytical design method is developed to derive the PID controller with the best achievable performance. 113
114
5.1
Quantitative Process Control Theory
H2 PID Controller for the First-Order Plant
Consider the unity feedback loop shown in Figure 4.2.1. Assume that the plant is G(s) =
Ke−θs . τs + 1
(5.1.1)
Using Youla parameterization, we have C(s) =
Q(s) , 1 − G(s)Q(s)
(5.1.2)
where Q(s) is a stable transfer function. It is difficult to treat e−θs analytically. Approximate it with the 1/1 Pade approximant: G(s) ≈ K
1 − θs/2 . (τ s + 1)(1 + θs/2)
(5.1.3)
The design procedure for the H2 PID controller is similar to that for the H∞ PID controller. The controller is first designed for the approximate plant and then is used to control the original plant. The approximation error is regarded as a kind of uncertainty. The H2 optimal index is min kW (s)S(s)k2 , where W (s) is the weighting function. Assume that the system input is a unit step. In view of the discussion in Section 3.2, the weighting function in the H2 optimal control should be chosen so that the normalized input is the impulse, that is, d(s)/W (s) = 1. Then, W (s) = 1/s. W (s) has a pole on the imaginary axis. To guarantee a finite 2-norm and the asymptotic tracking property, a constraint has to be imposed on the design: lim S(s) = lim [1 − G(s)Q(s)] = 0.
s→0
s→0
(5.1.4)
In other words, S(s) must have a zero at the origin to cancel the pole of W (s). This gives Q(0) =
1 1 = . G(0) K
(5.1.5)
It should be emphasized that this constraint is also required for asymptotic tracking. The set of all Q(s)s satisfying the constraint can be written as Q(s) =
1 + sQ1 (s), K
(5.1.6)
H2 PID Controllers for Stable Plants
115
where Q1 (s) is stable. The function to be minimized is 2
= = = =
kW (s)S(s)k2
2
W (s) 1 − G(s) 1 + sQ1 (s)
K 2
2
1 K(1 − θs/2) 1
1 − (s) + sQ 1
s (τ s + 1)(1 + θs/2) K 2
2
θτ s/2 + (θ + τ )
K(1 − θs/2)
(τ s + 1)(θs/2 + 1) − (τ s + 1)(1 + θs/2) Q1 (s) 2
2
1 − θs/2
θτ s/2 + (θ + τ ) K
1 + θs/2 (τ s + 1)(1 − θs/2) − τ s + 1 Q1 (s) . 2
(1 − θs/2)/(1 + θs/2) in this equation is an all-pass transfer function. By the definition of 2-norm, it is easy to verify that the 2-norm of a transfer function keeps its value after an all-pass transfer function is introduced to it. Therefore,
2
θτ s/2 + (θ + τ )
K 2
kW (s)S(s)k2 = (5.1.7) − Q1 (s)
. (τ s + 1)(1 − θs/2) τ s + 1 2 As we know, by partial fraction expansion, a strictly proper transfer function without poles on the imaginary axis can always be uniquely expressed as a stable part (which has no poles in Re s > 0) and an unstable part (which has no poles in Re s < 0): θτ s/2 + (θ + τ ) θ τ = + . (τ s + 1)(1 − θs/2) 1 − θs/2 τ s + 1 By Theorem 3.1.4, we have
2
2
τ
K θ 2
+ − Q1 (s) kW (s)S(s)k2 =
. 1 − θs/2 2 τs + 1 τs + 1 2
(5.1.8)
Temporarily relax the requirement on the properness of Q(s). To obtain the minimum, the only choice is Q1opt (s) =
τ . K
(5.1.9)
Substitute this into (5.1.6). The optimal Q(s) is Qopt (s) =
τs + 1 . K
(5.1.10)
Q(s) should be proper. Use the following filter to roll off the improper solution: J(s) =
1 , λs + 1
116
Quantitative Process Control Theory
where λ is the performance degree. It is a positive real number. The suboptimal Q(s) is Q(s) = Qopt (s)J(s) =
τs + 1 . K(λs + 1)
(5.1.11)
Since Q(0) = 1/K, Q(s) satisfies the constraint of asymptotic tracking. The unity feedback loop controller is C(s) =
1 (τ s + 1)(1 + θs/2) Q(s) . = 1 − G(s)Q(s) K θλs2 /2 + (λ + θ)s
(5.1.12)
Comparing the controller with 1 1 C = KC 1 + + TD s TI s TF s + 1
gives that
θλ , 2(λ + θ) θτ TD = , 2TI
TF =
θ TI = τ + , 2 TI KC = . K(λ + θ)
(5.1.13)
If the following form is chosen: 1 TD s C(s) = KC 1 + , + TI s TF s + 1
the parameters of the PID controller are
θλ θ , TI = τ + − TF , 2(λ + θ) 2 TI θτ − TF , KC = . = 2TI K(λ + θ)
TF = TD
(5.1.14)
When the PID controller is in the form of 1 TD s + 1 C(s) = KC 1 + , TI s TF s + 1 its parameters are
θλ , 2(λ + θ) θ TD = (or τ ), 2
TF =
θ ), 2 TI KC = . K(λ + θ) TI = τ (or
(5.1.15)
It can be verified that the H2 PID controller can also be equivalent to the Smith predictor. With the optimal controller, the optimal performance for (5.1.3) can be obtained as follows:
√
θ
min kW (s)S(s)k2 = (5.1.16)
1 − θs/2 = θ. 2
H2 PID Controllers for Stable Plants
5.2
117
Quantitative Tuning of the H2 PID Controller
In the method given in the last section, the Youla parameterization is used to design a PID controller. The internal stability of the nominal system is automatically guaranteed and the suboptimal controller is obtained. This section analyzes the quantitative relationship between the closed-loop response and the performance degree. Consider the nominal stability first. Normally, the existence of time delay pushes the system close to instability. The larger the time delay is, the more difficult it is to stabilize the closed-loop system. Nevertheless, the design methods in the last chapter and this chapter can always guarantee the stability of the closed-loop system. Here, the ratio of the performance degree to the time delay is the key. Because of the error introduced by the Pade approximation, there is a lower bound for the ratio. By following the discussion in Section 4.4, it is concluded that, as long as the ratio is greater than the lower bound, the nominal closed-loop system is internally stable. In addition to the stability problem, one has to consider the performance problem. The existence of time delay adversely affects the performance of the closed-loop system. The performance is getting worse and worse with the increase of time delay. For the plant with a large time delay, the methods in the last chapter and this chapter provide better performance than the traditional methods introduced in Section 4.1. However, for the plant with a small time delay or without any time delay, the PID controllers designed by the traditional methods can also provide acceptable performance, even though these methods are empirical ones. The performance degree of the H2 PID controller has a similar function to that of the H∞ PID controller. When there is no modeling error, the performance degree can be used to tune the response shape of the nominal closedloop system quantitatively. The relationships between the performance degree and the overshoot, rise time, resonance peak, and perturbation peak are shown in Figure 5.2.1–Figure 5.2.4, respectively. For example, a 12% overshoot can be obtained by taking λ = 0.3θ according to Figure 5.2.1; if the performance specification is the resonance peak of 2dB, one can take λ = 0.22θ based on Figure 5.2.3. Normally, the value of λ corresponding to the practical design requirements falls into the interval 0.1θ − 1.2θ. Simple computations give that L(s) =
(1 + θs/2)e−θs . θλs2 /2 + (λ + θ)s
(5.2.1)
The Bode plot and Nyquist plot of L(s) are shown in Figure 5.2.5 and Figure 5.2.6, respectively. The relationships between the performance degree and the gain margin, phase margin, and ISE are shown in Figure 5.2.7–Figure 5.2.9. It can be seen that the curves describing the relationships between the perfor-
118
Quantitative Process Control Theory
FIGURE 5.2.1 Relationship between the performance degree and the overshoot.
FIGURE 5.2.2 Relationship between the performance degree and the rise time.
H2 PID Controllers for Stable Plants
FIGURE 5.2.3 Relationship between the performance degree and the resonance peak.
FIGURE 5.2.4 Relationship between the performance degree and the perturbation peak.
119
120
Quantitative Process Control Theory
mance degree and the gain margin, phase margin, and ISE are almost straight lines.
FIGURE 5.2.5 Bode plot of the H2 PID control system. Now consider the uncertain system. The robust performance problem is to design a controller such that the feedback system is internally stable and the performance objective is satisfied for all uncertain plants. With the performance degree of the H2 PID controller, one can easily tradeoff between the nominal performance and the robustness. The determination of the performance degree is similar to that for an H∞ PID controller: Increase the performance degree monotonically until the required response is obtained. The robust performance problem is not always solvable, because the desired performance objective may be too stringent for the given nominal plant and the associated uncertainty. The design methods in this book provide easy check solutions to this problem. By adjusting the performance, it is easy for designers to estimate whether or not the required performance is achievable for some uncertain plant. In traditional PID controllers, TF is fixed. It is usually chosen as 0.1TD .
H2 PID Controllers for Stable Plants
FIGURE 5.2.6 Nyquist plot of the H2 PID control system.
FIGURE 5.2.7 Relationship between the performance degree and the gain margin.
121
122
Quantitative Process Control Theory
FIGURE 5.2.8 Relationship between the performance degree and the phase margin.
FIGURE 5.2.9 Relationship between the performance degree and the ISE.
H2 PID Controllers for Stable Plants
123
However, the TF is not a fixed value in the H∞ PID controller and the H2 PID controller. If a traditional PID controller has been installed in a system and one desires to use the tuning method here, then the TF in the analytical formulas can be omitted; only the other three parameters are used for tuning. The responses are similar. Example 5.2.1. Consider a strip thickness control system. A typical tandem hot strip mill is depicted in Figure 5.2.10. The metal slab is first heated to certain temperature in the reheating furnace. Its thickness is then reduced in the roughing mill stand and finally refined in the finishing mill stand. At the exit, the strip is cooled and coiled by the down coiler. One main quantity to be controlled in the process is the thickness of the strip. The thickness is controlled through the roll force of finishing mill. It is known that the distance from the thickness meter to the finishing mill stand is 4.9m, the speed of the strip is 0.7m/s, and the time constant of the actuator is 3s. Then the transfer function of the plant can be written as G(s) =
0.2e−7s . 3s + 1
From (5.1.12) the H2 PID controller is C(s) =
1 (3s + 1)(3.5s + 1) . 0.2 3.5λs2 + (λ + 7)s
The performance degree is taken to be λ = 0.3θ, which corresponds to about 12% overshoot according to Figure 5.2.1. A unit step reference is added at t = 0 and a unit step load is added at t = 100. The nominal response of the closed-loop system is shown in Figure 5.2.11. The controller provides fast and steady response for this plant with a large time delay. Now take TF = 0.1TD in the H2 PID controller. It is seen in Figure 5.2.11 that the response given by the approximate H2 PID controller is similar to that given by the original H2 PID controller.
5.3
H2 PID Controller for the Second-Order Plant
This section considers the second-order plant with time delay. Assume that the plant is given by G(s) =
Ke−θs . (τ1 s + 1)(τ2 s + 1)
(5.3.1)
124
Quantitative Process Control Theory
FIGURE 5.2.10 Control system for the strip thickness.
FIGURE 5.2.11 System response for the H2 PID controller.
H2 PID Controllers for Stable Plants
125
With the first-order Taylor series expansion, the following approximate plant is obtained: G(s) ≈
K(1 − θs) . (τ1 s + 1)(τ2 s + 1)
(5.3.2)
Define the optimal performance index as min kW (s)S(s)k2 . If the system input is a unit step, W (s) = 1/s is taken. To guarantee a finite 2-norm and the asymptotic tracking property, the following constraint should be satisfied: lim [1 − G(s)Q(s)] = 0.
s→0
(5.3.3)
It follows that Q(0) =
1 1 = . G(0) K
(5.3.4)
All Q(s)s that satisfy the constraint are in the form of Q(s) =
1 + sQ1 (s), K
(5.3.5)
where Q1 (s) is a stable transfer function. Then kW (s)S(s)k22
2
1
+ sQ1 (s) = W (s) 1 − G(s)
K 2
2
τ1 τ2 s + τ1 + τ2 + θ K(1 − θs)Q1 (s)
= − (τ1 s + 1)(τ2 s + 1) (τ1 s + 1)(τ2 s + 1) 2
2
(τ1 τ2 s + τ1 + τ2 + θ)(1 + θs) K(1 + θs)Q1 (s)
= −
(τ1 s + 1)(τ2 s + 1)(1 − θs) (τ1 s + 1)(τ2 s + 1) 2
2
2θ K(1 + θs)Q1 (s) (τ1 τ2 s + τ1 + τ2 − θ)
. = − + 1 − θs (τ1 s + 1)(τ2 s + 1) (τ1 s + 1)(τ2 s + 1) 2
Expanding the right-hand side by Theorem 3.1.2 gives that 2
=
kW (s)S(s)k2
2θ 2
1 − θs + 2
2
(τ1 τ2 s + τ1 + τ2 − θ) K(1 + θs)Q1 (s)
(τ1 s + 1)(τ2 s + 1) − (τ1 s + 1)(τ2 s + 1) . 2
(5.3.6)
126
Quantitative Process Control Theory
Minimize kW (s)S(s)k2 . The unique optimal solution is Q1opt (s) =
τ1 τ2 s + τ1 + τ2 − θ . K(1 + θs)
(5.3.7)
Qopt (s) =
(τ1 s + 1)(τ2 s + 1) . K(1 + θs)
(5.3.8)
Consequently,
Introduce the following filter to roll Qopt (s) off at high frequencies: J(s) =
1 . λs + 1
We have Q(s) = Qopt (s)J(s) =
(τ1 s + 1)(τ2 s + 1) . K(1 + θs)(λs + 1)
(5.3.9)
Q(s) satisfies the constraint of asymptotic tracking. The unity feedback loop controller is C(s) =
Q(s) 1 (τ1 s + 1)(τ2 s + 1) . = 1 − G(s)Q(s) K λθs2 + (λ + 2θ)s
(5.3.10)
Compare it with C(s) = KC
1 1 1+ + TD s , TI s TF s + 1
the parameters of the PID controller are λθ , TI = τ1 + τ2 , 2λ + θ τ1 τ2 τ1 + τ2 = , KC = . τ1 + τ2 K(λ + 2θ)
TF = TD
Normally, the value of λ falls into the interval 0.2θ–1.2θ. Example 5.3.1. Consider the plant given in Example 4.5.1: G(s) =
0.54e−15s . (15s + 1)2
Take λ = 0.9θ for the H∞ PID controller given by (4.5.8): C(s) =
1 (15s + 1)2 . 0.54 λ2 s2 + (2λ + 15)s
(5.3.11)
H2 PID Controllers for Stable Plants
127
The H2 PID controller given by (5.3.10) is
C(s) =
1 (15s + 1)2 . 0.54 15λs2 + (λ + 30)s
The parameter of this H2 PID controller is chosen in such a way that the closed-loop system has the same overshoot as that with the above H∞ PID controller. In this case, λ = 0.78θ. A unit step reference is added at t = 0 and a unit step load is added at t = 300. The nominal responses of the closedloop system are shown in Figure 5.3.1. The two controllers provide similar responses.
FIGURE 5.3.1 Responses of the H∞ PID controller and H2 PID controller.
Note that the disturbance is always added at the plant input in simulations when the ability of rejecting disturbances is considered. Why is the disturbance at the plant output not considered? This is because the transfer function from the reference r(s) to the output y(s) is T (s), the transfer function from the output disturbance d(s) to the output y(s) is S(s), and S(s) + T (s) = 1. In other words, the closed-loop response and the output disturbance response are complementary (Figure 5.3.2).
128
Quantitative Process Control Theory
FIGURE 5.3.2 The closed-loop response and the output disturbance response.
5.4
Control of Inverse Response Processes
So far, two similar but different analytical methods have been developed for PID controller design based on the H∞ optimal control theory and its H2 counterpart. Is there any relationship between the two controllers? The aim of this section is to compare the features of the H∞ controller and the H2 controller by utilizing a simple plant. A special NMP plant called the inverse response process is used here. The terminology NMP can be well explained with stable plants. With the same magnitude, there exist plants exhibiting less phase than the NMP plant. One example is the following plant: G(s) =
1−s . 1+s
The magnitude of the plant is |G(jω)| = 1 and the phase is ∠G(jω) = arctan 2ω/ (ω 2 − 1). Obviously, there exist other plants with the same magnitude and less phase. For example, the magnitude of G(s) = 1 is 1 and the phase is 0. NMP plants are difficult to control. In an inverse response process, the initial response of the process to a step input is in the opposite direction of its final response. The phenomenon arises from the competing dynamic effects. For example, an inverse response may occur in a distillation column, when the steam pressure to the reboiler suddenly rises. Usually, the initial effect is the increasing in the amount of
H2 PID Controllers for Stable Plants
129
frothing on the trays above the reboiler, causing a rapid spillover of liquid from these trays into the reboiler. This effect results in an initial increase in the reboiler liquid level. However, the increase in steam pressure will ultimately decrease the reboiler liquid level by boiling off more liquid. The feature of the inverse response process is that its transfer function has one zero or an odd number of zeros in the open RHP. The simplest inverse response process consists of two first-order plants with opposing effects, as shown in Figure 5.4.1. The transfer function of the whole plant is
FIGURE 5.4.1 Two opposing first-order processes.
K1 K2 − , τ1 s + 1 τ2 s + 1
(5.4.1)
(K1 τ2 − K2 τ1 )s + (K1 − K2 ) . (τ1 s + 1)(τ2 s + 1)
(5.4.2)
G(s) = or G(s) =
The inverse response will be obtained when τ1 /τ2 > K1 /K2 > 1; that is, Process 2 initially reacts faster than Process 1, but Process 1 ultimately reaches a higher steady state value than Process 2 (Figure 5.4.2). The transfer function of the plant has a zero in the open RHP:
zr =
K2 − K1 > 0. K1 τ2 − K2 τ1
Let the performance index be H∞ optimal, which implies that the worst ISE resulting from a set of energy-bounded inputs is minimized: min sup ke(t)k2 , r(t)
130
Quantitative Process Control Theory
FIGURE 5.4.2 Overall response for τ1 /τ2 > K1 /K2 > 1. or equivalently, the ∞-norm of the weighted sensitivity function is minimized: min kW (s)S(s)k∞ . By Theorem 4.2.1, we have kW (s)S(s)k∞ ≥ 1/zr . Following the design procedure in Section 4.2, one readily gets C(s) =
1 (τ1 s + 1)(τ2 s + 1) . (K1 − K2 ) λ2 s2 + (2λ + K2 τ1 − K1 τ2 )s
(5.4.3)
Thus, the H∞ optimal solution can be realized by only using a PID controller. The closed-loop transfer function is T (s) =
−zr−1 s + 1 . (λs + 1)2
(5.4.4)
Notice that no poles of the plant appear in T (s). All of them are canceled by the H∞ controller. Differing from the H∞ optimal control, the H2 optimal control minimizes the ISE resulting from the impulse input: min ke(t)k2 ,
H2 PID Controllers for Stable Plants
131
or equivalently, the 2-norm of the weighted sensitivity function is minimized: min kW (s)S(s)k2 . With the design procedure in Section 5.1, it is easy to obtain the following H2 controller: C(s) =
(τ1 s + 1)(τ2 s + 1) 1 , (K1 − K2 ) λzr−1 s2 + (2zr−1 + λ)s
(5.4.5)
which is also a PID controller. The closed-loop transfer function is T (s) =
−zr−1 s + 1 . (zr−1 s + 1)(λs + 1)
(5.4.6)
Factorize the plant into the MP part and the all-pass part: G(s) = (K1 − K2 )
(zr−1 s + 1) −zr−1 s + 1 . (τ1 s + 1)(τ2 s + 1) zr−1 s + 1
It is seen that the H2 controller only cancels the poles in the MP part of plant, while those poles in the all-pass part are retained in T (s). The filter that makes the controller proper is not unique, since the only constraint imposed on it is that it should be a low-pass transfer function satisfying the requirement of asymptotic tracking. If the following filter is chosen for the H2 controller: J(s) =
zr−1 s + 1 , (λs + 1)2
(5.4.7)
that is, a zero corresponding to the pole of the all-pass part is introduced factitiously, then the H2 controller will be identical to the H∞ controller. Certainly, the H2 controller can also be made equivalent to some other controllers by selecting appropriate filters. However, such a filter is seldom used, since it introduces additional dynamics. As there exists no time delay in the plant, the response of the closed-loop system can be computed easily. For example, when the reference is the unit step, the time domain response of the H∞ controller is t tzr−1 y(t) = 1 − 1 + + 2 (5.4.8) e−t/λ . λ λ The response has no overshoot. Let dy(t)/dt = 0. One can get the time when the peak of the inverse response happens: t=
λ . 1 + λzr
132
Quantitative Process Control Theory
Substituting this into y(t) gives the peak of the inverse response: 1 + λzr −1/(1+λzr ) e . λzr
(5.4.9)
tzr−1 t . = 10 1 + + 2 λ λ
(5.4.10)
1− Let y(t) = 0.9. We have e
t/λ
The rise time is the solution to the above equation. On the surface, the H2 optimal control aims at a known specific input and thus can only be used within confined scope, while the H∞ optimal control aims at all energy-bounded inputs and has a much wider application scope. However, this is not the case. In the design procedure of the H2 optimal control, the input is normalized as the impulse. The goal is to express the design procedure in a unified form. Due to the introducing of weighting function, the H2 optimal control is applicable to the input that differs from the impulse. The idea behind the analysis is that there is no evident difference between the applicable scopes of the two controllers. Similar insight comes from the system gain, too. Recall the discussion in Chapter 3: ky(t)k∞ ≤ kT (s)k2 kr(t)k2 . Thus, another objective of the H2 optimal control is to minimize the maximum amplitude of output for energy-bounded inputs. Example 5.4.1. Magnetic Levitation (maglev) trains may replace the airplanes on routes of several hundred kilometers (Figure 5.4.3), because it can offer the environmental and safety advantages of a train and the speed of an airplane. In a maglev system, vehicles are suspended on a guideway and driven by magnetic forces instead of relying on wheels or aerodynamic forces. There is an electronic pas de deux between the vehicle’s weight and the repelling force of the electromagnets. The gap between each arm and the guideway is measured 100,000 times per second. This distance is fed to a control system, in which the current in the support magnets is continually adjusted so as to reach an equilibrium point at which the weight of the vehicle is supported by the magnet repellence. The result is that the vehicle suspends and the gap between each arm and the underside of the guideway is kept at 10 ± 2mm. The dynamic model for controlling the gap is G(s) =
s−4 . (s + 2)2
From (5.4.3) we know that the H∞ controller is C(s) = −
(s + 2)2 . 4λ2 s2 + (8λ + 1)s
H2 PID Controllers for Stable Plants
133
FIGURE 5.4.3 Control of a maglev train. Take the performance degree as λ = 1. According to (5.4.5) the H2 controller is C(s) = −
(s + 2)2 . λs2 + (4λ + 2)s
Its performance degree is tuned so that the two controllers have the same rise time. In this case, the performance degree of the H2 controller is λ = 1.6. A unit step reference is added at t = 0 and a unit step load is added at t = 30. The responses of the closed-loop system are shown in Figure 5.4.4. Although thoroughly different norms are used, the obtained responses are similar. Both of them are fast and steady.
5.5
PID Controller Based on the Maclaurin Series Expansion
The preceding design was carried out in the following way: a rational plant was obtained by employing the rational approximation to expand time delay, and then the controller was designed for the rational plant. In this section, an alternative design will be developed, in which the desired controller is first designed for the plant with time delay, and then a PID controller is derived by approximating the obtained controller. Compared with the preceding design, this method has two important features: 1. It provides better performance.
134
Quantitative Process Control Theory
FIGURE 5.4.4 Responses of the gap control system. 2. It can be used for high-order plants directly. Consider a stable MP plant described by G(s) =
KN− (s) −θs e , M− (s)
(5.5.1)
where N− (s) and M− (s) are the polynomials with roots in the open LHP, N− (0) = M− (0) = 1, and deg{N− (s)} ≤ deg{M− (s)}. The desired closedloop transfer function is chosen as follows: T (s) =
e−θs , (λs + 1)nj
(5.5.2)
where nj = deg{M− (s)} − deg{N− (s)} for strictly proper plants and nj = 1 for bi-proper plants. In the next chapter, it will be proved that this desired closed-loop transfer function is suboptimal. Since Q(s) = T (s)/G(s) is stable, the closed-loop system is internally stable. The desired closed-loop transfer function results in the following desired controller: C(s) =
1 T (s) . G(s) 1 − T (s)
(5.5.3)
Here, only stable MP plants are considered. The design procedure for NMP plants is similar, but some knowledge in the next chapter is needed in choosing the desired closed-loop transfer function.
H2 PID Controllers for Stable Plants
135
Even though the controller is physically realizable, it is not in the form of a PID controller. The problem now reduces to the one of finding a PID controller to approximate the desired controller. A method that works is to use the Maclaurin series expansion. Since lim (λs + 1)nj − e−θs = 0, s→0
C(s) has a pole at the origin. Expanding C(s) in a Maclaurin series gives C(s) =
f (s) s
(5.5.4)
with f ′′ (0) 2 (5.5.5) s + .... 2! It can be seen that the resulting controller has a proportional term, an integral term, and a derivative term in addition to an infinite number of highorder derivative terms. If all terms are realized, the desired controller can be perfectly achieved. In practice, however, it is impossible to realize the desired controller because of the infinite number of derivative terms. Here, only the first three terms are taken to approximate the desired controller. The three terms form a PID controller: 1 C(s) = KC 1 + + TD s , TI s f (s) = f (0) + f ′ (0)s +
where KC = f ′ (0),
TI = f ′ (0)/f (0),
TD =
f ′′ (0) . 2f ′ (0)
(5.5.6)
Certainly, one can also take the first two terms to form a PI controller. Now let us see how to compute the controller parameters in (5.5.6) for a given plant. For convenience of presentation, let M− (s) , KN− (s) (5.5.7) (λs + 1)nj − e−θs M (s) = . s The values of f (s) and its first-order and second-order derivatives at the origin are N (0) f (0) = , M (0) N ′ (0)M (0) − M ′ (0)N (0) f ′ (0) = , M (0)2 (5.5.8) ′′ 2 ′′ N (0)M (0) − M (0)N (0)M (0)− 2M ′ (0)N ′ (0)M (0) + 2M ′ (0)2 N (0) f ′′ (0) = . M (0)3 N (s) =
136
Quantitative Process Control Theory
If the plant is of first order; that is, G(s) =
Ke−θs , τs + 1
(5.5.9)
we have
τ 1 , N ′ (0) = , N ′′ (0) = 0, K K θ2 θ3 M (0) = λ + θ, M ′ (0) = − , M ′′ (0) = . 2 3 N (0) =
The function f (s) and its first and second derivatives at the origin are given by 1 , K(λ + θ) θ2 + 2λτ + 2θτ f ′ (0) = , 2K(λ + θ)2 θ2 (−2λθ + θ2 + 6λτ + 6θτ ) f ′′ (0) = . 6K(λ + θ)3 f (0) =
Consequently, the PID controller parameters are θ2 , 2(λ + θ) TI KC = , K(λ + θ) θ2 (3TI − θ) TD = . 6TI (λ + θ) TI = τ +
(5.5.10)
When a second-order model is used: G(s) =
Ke−θs , (τ1 s + 1)(τ2 s + 1)
utilizing the Maclaurin series expansion, we have 1 τ1 + τ2 2τ1 τ2 , N ′ (0) = , N ′′ (0) = , K K K θ2 θ3 M (0) = 2λ + θ, M ′ (0) = λ2 − , M ′′ (0) = . 2 3 N (0) =
(5.5.11)
H2 PID Controllers for Stable Plants
137
The function f (s) and its first and second derivatives are given by 1 , K(2λ + θ) −2λ2 + θ2 + 2(2λ + θ)(τ1 + τ2 ) , f ′ (0) = 2K(2λ + θ)2 2τ1 τ2 (2λ + θ)2 − θ3 (2λ + θ)/3− (τ1 + τ2 )(2λ2 − θ2 )(2λ + θ) + 2(λ2 − θ2 /2)2 . f ′′ (0) = K(2λ + θ)3 f (0) =
The PID controller parameters are TI = τ1 + τ2 − KC =
2λ2 − θ2 , 2(2λ + θ)
TI , K(2λ + θ)
TD = TI − τ1 − τ2 +
(5.5.12) 12τ1 τ2 λ + 6τ1 τ2 θ − θ3 . TI (12λ + 6θ)
The integral constant and derivative constant computed based on the above formulas might be negative for some plants. When this occurs, the designer can take the first two terms to form a PI controller, or take the first four terms to form a controller. In the Maclaurin PID controller, the effect of the performance degree on the closed-loop response is similar to that in the H∞ PID controller and the H2 PID controller. Since more complicated formulas are used to compute PID controller parameters, it is not surprising that the Maclaurin PID controller can provide better performance than the H∞ PID controller and the H2 PID controller.
5.6
PID Controller with the Best Achievable Performance
It is always desirable to enhance the performance of a control system by improving the design method. However, there is a limit to the achievable performance after the controller structure is fixed; it is an important issue to explore the performance limit of a controller. This section discusses the problem for the PID controller. More precisely, the following problems are studied: 1. What a performance limit does the PID controller have? 2. Is it possible to analytically design the PID controller with the best achievable performance?
138
Quantitative Process Control Theory 3. How can this PID controller be tuned for quantitative performance and robustness?
Depending on the way the rational approximation is used, two different design procedures have been developed in the foregoing sections to analytically design PID controllers. In the first method, the PID controller is designed by reducing the order of the plant, while in the second method the PID controller is designed by employing the Maclaurin series expansion to reduce the order of the desired controller. Although the second method approximates the desired controller better than the first one, it still does not reach the performance limit. An improvement on the performance is possible. Since the Pade approximation can provide higher precision than the Maclaurin series expansion, the PID controller will be designed in this section by applying the Pade approximation for controller reduction. The property of the Pade approximation guarantees that the resulting controller, compared with other PID controllers designed with analytical methods, provides the best performance. The solving of this problem follows the design procedure of the Maclaurin PID controller. First, choose the desired closed-loop transfer function (5.5.2) for the plant (5.5.1). Next, expand the desired controller (5.5.3): C(s)
= =
f (s) s f ′′ (0) 2 f (3) (0) 3 1 f (0) + f ′ (0)s + s + s + ... . s 2! 3!
(5.6.1)
As we know, the ideal PID controller has a pure derivative term in it and thus is not physically realizable. Realizable PID controllers are usually in three forms, which have been listed in Section 4.1. All of the three can be expressed in a unified form: C(s) =
a 2 s2 + a 1 s + a 0 , s(b1 s + 1)
(5.6.2)
where a0 , a1 , a2 and b1 are positive real numbers. Let the Pade approximation of f (s) be f (s) =
a 2 s2 + a 1 s + a 0 . b1 s + 1
In light of the discussion in Section 2.2, we have f (0) 0 a0 1 a1 = f ′ (0) f (0) , b1 f ′′ (0)/2! f ′ (0) a2 b1 f ′′ (0)/2! = −f (3) (0)/3!.
(5.6.3)
(5.6.4)
H2 PID Controllers for Stable Plants
139
It follows that a0 = f (0), a1 = b1 f (0) + f ′ (0), a2 = b1 f ′ (0) + f ′′ (0)/2!,
(5.6.5)
(3)
b1 = −
f (0) . 3f ′′ (0)
Assume that the PID controller is in the form of 1 1 C = KC 1 + + TD s . TI s TF s + 1
(5.6.6)
The controller parameters are K C = a1 ,
TI =
a1 , a0
TD =
a2 , a1
TF = b1 .
(5.6.7)
In model reduction, the major disadvantage of the Pade approximation is that it may be unstable even if the original transfer function is stable. This problem can be easily overcome by choosing an appropriate controller form: 1. Suppose that there is a strict requirement on controller form: the controller must be a PID controller whose order is less than three. One could choose the first two or three terms of the Maclaurin series expansion as the PID controller. 2. If the designer does not have a strict requirement on controller form, one could choose a PID controller with a second-order lag or a higher order controller. Consider the following first-order plant with time delay: G(s) =
Ke−θs . τs + 1
(5.6.8)
The function f (s) and its derivatives at the origin are given by 1 , K(λ + θ) θ2 + 2λτ + 2θτ f ′ (0) = , 2K(λ + θ)2 θ2 (−2λθ + θ2 + 6λτ + 6θτ ) f ′′ (0) = , 6K(λ + θ)3 θ3 (−2τ λθ + 2τ θ2 − 4λ2 τ − 2θ2 λ + θλ2 ) f (3) (0) = . 4K(λ + θ)4 f (0) =
(5.6.9)
140
Quantitative Process Control Theory
The parameters in (5.6.7) are 1 , K(λ + θ) θ3 + 6τ θ2 − θ2 λ + 12τ 2 θ + 12τ 2 λ a1 = , 2K(−2λθ + θ2 + 6τ λ + 6τ θ)(λ + θ) θ(θ3 + 6τ θ2 + 24τ 2 θ − 6τ θλ + 24τ 2 λ) , a2 = 12K(−2λθ + θ2 + 6τ λ + 6τ θ)(λ + θ) θ(−2τ λθ + 2τ θ2 − 4λ2 τ − 2θ2 λ + θλ2 ) b1 = − . 2(−2λθ + θ2 + 6τ λ + 6τ θ)(λ + θ) a0 =
(5.6.10)
While the above PID controller provides the best achievable performance as compared with the H∞ PID controller and the H2 PID controller, the corresponding formulas are in the most complicated form.
5.7
Choice of the Filter
In the design procedure in the last chapter and this chapter, the controller Qopt (s) is always augmented by a low-pass filter J(s): Q(s) = Qopt (s)J(s). The filter has several functions: 1. The optimal controller Qopt (s) is usually improper. One main function of the filter is to make Qopt (s) proper. Certainly, the controller becomes suboptimal after the filter is introduced. 2. Since S(s) = 1 − G(s)Q(s) and T (s) = G(s)Q(s), the filter parameter can be utilized to tune the nominal performance and robustness, and to quantitatively tradeoff between the two objectives. 3. There is a direct relationship between the filter parameter and the control variable, since u(s) = Q(s)r(s). If the control structure is not permitted to modify, one can confine the magnitude of control variable by adjusting the filter parameter. How to choose the filter? The filter should at least satisfy the following requirements: 1. The closed-loop system is internally stable. 2. The controller Q(s) = Qopt (s)J(s) is proper. 3. Asymptotic tracking is achieved. The first condition is easy to meet. When the plant is stable, the closedloop system is internally stable as long as Q(s) is stable.
H2 PID Controllers for Stable Plants
141
The second condition can also be easily satisfied. As it is known, an improper rational transfer function implies that the degree of its numerator is greater than that of its denominator. To make it proper, one can simply introduce a filter whose numerator degree is less than its denominator degree. As the filter is stable, it is of low-pass. Now consider the third condition. As a basic requirement on the closed-loop performance of a control system, the tracking error should vanish asymptotically. Recall that for asymptotic tracking a Type m system should satisfy lim
s→0
1 − G(s)Qopt (s)J(s) = 0, sk
k = 0, 1, ..., m − 1.
(5.7.1)
or lim
s→0
dk [1 − G(s)Qopt (s)J(s)] = 0, dsk
k = 0, 1, ..., m − 1.
(5.7.2)
However, these conditions are still not enough for determining the structure and parameter of a filter. For example, one can choose a filter with either a single parameter or multiple parameters and multiple zeros. The introduction of zeros will complicate the response of the closed-loop system, which can be utilized to satisfy some special design objectives, such as tracking a complex input. Nevertheless, zeros are seldom introduced to a filter unless it is necessary, since this will change the performance in a way difficult to grasp and may limit the performance as well. The usual structure of a filter consists of one or more first-order lags in series. To simplify design task, it is desirable that the filter should have as few parameters as possible, for example, there is only one parameter in the filter. Typically the single parameter filter is in the form of J(s) =
βm−1 sm−1 + ... + β1 s + β0 , (λs + 1)nj
(5.7.3)
where λ is the performance degree, nj should be chosen large enough to make Q(s) = Qopt (s)J(s) proper, for a stable plant m equals the number of poles that the input has at the origin, and βi (i = 0, 1, ..., m − 1) are chosen to satisfy the requirement of asymptotic tracking. If the plant is stable, m = 1 for the step input. When lim [1 − G(s)Qopt (s)J(s)] = 0,
s→0
β0 = 1. The order of the single parameter filter can be freely chosen. However, the higher the order, the more complicated the controller. Due to this reason, the order of the filter should be chosen as low as possible. It should be chosen such that Q(s) is bi-proper for a strictly proper plant, or the degree of its denominator is higher by one than that of its numerator for a bi-proper plant. Thus far, the structure of the filter has been determined.
142
Quantitative Process Control Theory
The single parameter filter has been used in the last chapter and this chapter. It is seen that, the single parameter filter provides a simple and good way to describe the distance between the optimal system and the suboptimal system. There is a performance degree in the filter, which is adjustable. As discussed, the performance degree directly relates to the closed-loop response. For an improved model, a better performance can be obtained by decreasing the performance degree. When the uncertainty increases, one has to increase the performance degree to obtain better robustness. In this way, a reasonable tradeoff between the two competing objectives can be reached easily. In the H2 optimal control of a stable rational MP plant, G(s)Qopt (s) = 1. From (5.7.1) the Type 1 filter is as follows: J(s) =
1 . (λs + 1)nj
(5.7.4)
Such a system can track inputs of step type without offset. If the input is a ramp, then a Type 2 filter must be used: J(s) =
nj λs + 1 . (λs + 1)nj
(5.7.5)
An input with higher order than a ramp is seldom used. Typical responses of the two filters are shown in Figure 5.7.1.
FIGURE 5.7.1 Typical responses of the filters.
H2 PID Controllers for Stable Plants
143
Now consider the constraint on the control variable. H2 controllers try to minimize the ISE index: Z ∞ min e2 (t)dt. (5.7.6) 0
There are two internally related problems in such a design. The first is that the optimal controller is improper, which is not physically realizable. The second is that the magnitude peak of the control variable is usually large. To solve the two problems, one has to use a suboptimal controller. Different methods have been proposed to design a suboptimal H2 controller, which implies different kinds of degradations in the optimal performance. For example, a suboptimal controller can be obtained by introducing weights to the performance index: Z ∞ min [Qe2 (t) + Ru2 (t)]dt, (5.7.7) 0
where Q and R are constant weights. The optimal controller designed by (5.7.7) is suboptimal for the original ISE index (5.7.6). The shortcoming of the design is that it is not known how to determine the weights; moreover, the computation complexity is relatively high. In some literature, to avoid choosing the weights, Q and R are simply taken as 1: Z ∞ min [e2 (t) + u2 (t)]dt. (5.7.8) 0
Evidently, this is not a good choice, since the system performance depends on the weights. In the design method of this book, the problem is solved by choosing an appropriate filter J(s). This works because u(s) = Qopt (s)J(s)r(s). The comparison of the two design ideas is shown in Figure 5.7.2.
FIGURE 5.7.2 Two different optimizing procedures.
144
5.8
Quantitative Process Control Theory
Summary
Most PID controllers in practical systems are still tuned by empirical methods. Mathematical elegance has not been applied to these methods due to their complexity. Aimed at this problem, several simple analytical methods were proposed for PID controller design based on the H∞ optimal control theory in the last chapter and the H2 optimal control theory in this chapter. Assume that the plant is described by G(s) =
Ke−θs . τs + 1
The H2 PID controller is C(s) =
1 (τ s + 1)(1 + θs/2) , K λθs2 /2 + (λ + θ)s
the Maclaurin PID controller is 6τ θ2 (λ + θ) + θ4 − 2λθ3 2 2τ (λ + θ) + θ2 s + s+1 12(λ + θ)2 2(λ + θ) C(s) = , K(λ + θ)s and the PID controller with the best achievable performance is K C = a1 ,
TI =
a1 , a0
TD =
a2 , a1
TF = b1 ,
where 1 , K(λ + θ) θ3 + 6τ θ2 − θ2 λ + 12τ 2 θ + 12τ 2 λ a1 = , 2K(−2λθ + θ2 + 6τ λ + 6τ θ)(λ + θ) θ(θ3 + 6τ θ2 + 24τ 2 θ − 6τ θλ + 24τ 2 λ) a2 = , 12K(−2λθ + θ2 + 6τ λ + 6τ θ)(λ + θ) θ(−2τ λθ + 2τ θ2 − 4λ2 τ − 2θ2 λ + θλ2 ) b1 = − > 0. 2(−2λθ + θ2 + 6τ λ + 6τ θ)(λ + θ) a0 =
If the plant is G(s) =
Ke−θs , (τ1 s + 1)(τ2 s + 1)
the H2 PID controller can be expressed as C(s) =
1 (τ1 s + 1)(τ2 s + 1) , K λθs2 + (λ + 2θ)s
H2 PID Controllers for Stable Plants
145
and the Maclaurin PID controller is 2λ2 − θ2 2λ2 − θ2 − + τ1 + τ2 − 2(2λ + θ) 2(2λ + θ) τ1 τ2 − θ3 /(12λ + 6θ) s2 + 2 − θ 2 )/2/(2λ + θ) τ + τ − (2λ 1 2 2λ2 − θ2 s+1 τ1 + τ2 − 2(2λ + θ) . C(s) = K(2λ + θ)s Despite its wide use, the PID controller is frequently badly tuned in practice. There might be two reasons. The external reason is that the real plant is too complex. The internal one is that the tuning procedure is not easy to fulfill. The design methods in the last chapter and this chapter provide an easy-to-use alternative for designers. Due to the use of analytical design formulas, the design task is significantly simplified. By defining the performance degree, the quantitative performance indices can be reached easily with simple tuning.
Exercises 1. A solar-powered lunar rover is shown in Figure E5.1, which is able to move across an obstacle of 18cm high. There is a TV camera and a manipulator installed on the vehicle. The manipulator can be controlled remotely from the Earth. The average distance between the Earth and the Moon is 384,000 km. The time delay of a signal in single journal transmission is 1.28s. The dynamics of the manipulator is given by G(s) =
1 . (s + 1)2
Design a unity feedback controller such that the overshoot is less than 5% and the closed-loop response is as fast as possible. 2. The control of the fuel-to-air ratio in an automobile carburetor became of prime importance in the 1980s as automakers strived to reduce exhaust pollutant. Operation of an engine at or near a particular air-to-fuel ratio requires management of both air and fuel flow into the manifold system. Choose the fuel command as the input and the engine speed as the output. The dynamics of the engine can be described by G(s) =
2 . 4.35s + 1
146
Quantitative Process Control Theory
FIGURE E5.1 Lunar rover with a manipulator. Assume that the change of the air flow rate can be equivalent to a disturbance at the plant output, which is generated by using a unit step to impluse a linear system 1/(s + 1); that is, the disturbance at the plant output is 1/s/(s + 1). Design a controller. 3. It is assumed that the plant model is G(s) =
−s + z1 . s + z¯1
Prove that for a unit step input 2
min kek2 = 2Re(z1 )/|z1 |2 . 4. In the design of a Maclaurin PID controller, assume that the PID controller is 1 1 C(s) = KC 1 + + TD s . TI s TF s + 1 Write the controller in the form of C(s) =
f (s) f (s)(TF s + 1) . = s s(TF s + 1)
Use the Maclaurin series to expand f (s)(TF s + 1). Choose the parameter TF such that the third-order term in the expansion becomes zero. Then a PID controller can be obtained. Give the analytical expression of the PID controller and compare it with the one in Section 5.6.
H2 PID Controllers for Stable Plants
147
5. When is the b1 in (5.6.10) positive? 6∗ . Consider a strictly proper stable transfer function G(s). Such a plant can be denoted by a state space model with real matrices A, B, and C: G(s) = C(sI − A)−1 B. Define the matrix exponential etA = I + tA +
t2 2 A + ... 2!
and the matrix L=
Z
∞
′
etA BB ′ etA dt.
0
Prove that (a) L satisfies that AL + LA′ + BB ′ = 0. 2
(b) kG(s)k2 = CLC ′ .
Notes and References The results in Section 5.1 and 5.3 are equivalent to those in Rivera et al. (1986) and Morari and Zafiriou (1989). They showed that the IMC method can be used to derive PID controllers for a wide variety of models. The derivation here can be found in Zhang (1996), Zhang and Sun (1996a), and Zhang and Sun (1997). Section 5.2 is drawn from Zhang (1998). The plant in Example 5.3.1 is from Wang and Ren (1986, p. 156). Similar plants can also be found in Goodwin et al. (2001). Section 5.4 follows closely the discussion in Zhang et al. (2000) and Zhang (1998). They studied the control problem of inverse response process in detail. Waller and Nygardas (1975) discussed the PID control problem for inverse response processes. Iinoya and Altpeter (1962) developed an inverse response compensator. The two methods were introduced in Stephanopoulos (1984). The feature of inverse response process was explored by de la Barra S. (1994) and Howell (1996). The plant in Example 5.4.1 is based on Dorf and Bishop (2001, p. 725). Figure 5.4.3 is drawn based on Dorf and Bishop (2001, Figure P12.3). Introduction to the maglev control problem can also be found in Bittar and Sales (1994). The Maclaurin PID controller in Section 5.5 was proposed by Lee et al.
148
Quantitative Process Control Theory
(1998) (Lee Y., M. Lee and S. Park and C. Brisilow. PID controller tuning for desired closed loop responses for SISO systems, AIChE J., 1998, 44(1), c 106–115. AIChE). The basis of Section 5.6 is Zhang et al. (2005). The stability problem of the Pade approximation was discussed by Shamash (1975) for model reduction. The first half of Section 5.7 is adapted from Morari and Zafiriou (1989). The filter form and the requirements on the filter were well studied in this book. The background about the control of the fuel-to-air ratio in Exercise 2 can be found in Dorf and Bishop (2001, p. 627) and Powell et al. (1998). Exercise 3 is adapted from Morari and Zafiriou (1989, Section 4.1.3). The problem in Exercise 4 is based on Lee et al. (1998). Exercise 6 is adapted from Doyle et al. (1992, Section 2.6).
6 Control of Stable Plants
CONTENTS 6.1 6.2 6.3 6.4 6.5 6.6 6.7
The Quasi-H∞ Smith Predictor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The H2 Optimal Controller and the Smith Predictor . . . . . . . . . . . . . . . . . . . . Equivalents of the Optimal Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The PID Controller and High-Order Controllers . . . . . . . . . . . . . . . . . . . . . . . . . Choice of the Weighting Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simplified Tuning for Quantitative Robustness . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
150 154 158 164 169 174 176 177 178
Thus far, several optimal methods for PID controller design have been developed. It is seen that the resulting PID controllers provide good performance for the control of plants with large time delay. An interesting question is whether the performance can be further improved. Actually, improved performance is possible through modifying the control structure, for example, using time delay compensation techniques. The Smith predictor, developed several decades ago, is a well-known technique for time delay compensation. For a long time, the technique failed to offer its performance advantage over the PID control technique due to the lack of effective design and tuning methods. As we know, most established methods were developed for rational plants and the unity feedback loop. They cannot be directly used for plants with time delay and the Smith predictor. Although the PID controller design method in the preceding chapters can be used to derive a Smith predictor, the result is not exact because of the low-order rational approximation used. In this chapter, a systematic design procedure will be developed based on the H∞ control theory and the H2 control theory. With a rigorous treatment on time delay, the H∞ Smith predictor and H2 Smith predictor are analytically derived. It is shown that the design of the Smith predictors is the same as that of the controller in the unity feedback loop. The Smith predictors can be exactly implemented in the unity feedback loop, provided that the unity feedback loop controller is allowed to be irrational. When the plant has no time delay, this unity feedback loop controller reduces to a rational one. It is also shown that there exists a close relationship between the H∞ /H2 Smith predictors and many other well-known control strategies, such as the 149
150
Quantitative Process Control Theory
IMC, Dahlin algorithm, deadbeat control, inferential control, and model predictive control.
6.1
The Quasi-H∞ Smith Predictor
Usually, there is more than one method to solve a problem. In Chapter 4 and Chapter 5, it was seen how a controller was designed by minimizing the weighted sensitivity function. The controller can also be analytically designed by specifying the desired closed-loop response, which will be discussed in this section. Actually, a simplified version of this method has already been used in Sections 5.5 and 5.6.
FIGURE 6.1.1 Diagram of the Smith predictor. As the starting point of design, consider the diagram of the Smith predictor ˜ in Figure 6.1.1, where R(s) is the controller, G(s) is the plant, G(s) is the model, and Go (s) is the delay-free part of G(s). If the closed-loop transfer function T (s) is known, the controller of the Smith predictor is R(s) =
T (s) . G(s) − T (s)Go (s)
(6.1.1)
How to choose the desired closed-loop transfer function? This is the key to the design. To introduce the idea clearly, the simple cases of the H∞ control are analyzed first. Then the general result is inductively derived. Consider the following stable rational MP plant: G(s) =
KN− (s) , M− (s)
(6.1.2)
where K is the gain, N− (s) and M− (s) are the polynomials with roots in the open LHP, N− (0) = M− (0) = 1, and deg{N− } ≤ deg{M− }. Assume that
Control of Stable Plants
151
the performance index is min kW (s)S(s)k∞ and the weighting function is W (s) = 1/s. Following the discussion in Section 4.2, we have kW (s)S(s)k∞
= kW (s)[1 − G(s)Q(s)]k∞ ≥ 0.
The following controller is optimal: Qopt (s) =
M− (s) . KN− (s)
(6.1.3)
Introduce the filter J(s) =
1 , (λs + 1)nj
where λ is the performance degree. According to the discussion in Section 5.7, nj is chosen as follows: deg{M− } − deg{N− } deg{M− } > deg{N− } . nj = 1 deg{M− } = deg{N− } The suboptimal proper controller is Q(s) =
M− (s) . KN− (s)(λs + 1)nj
(6.1.4)
The closed-loop transfer function is T (s) =
1 . (λs + 1)nj
(6.1.5)
Consider a more complex case. Assume that the plant has a zero in the RHP: G(s) =
KN− (s)(−zr−1 s + 1) , M− (s)
(6.1.6)
where zr > 0, N− (0) = M− (0) = 1, and deg{N− } + 1 ≤ deg{M− }. Solve the weighted sensitivity problem again: kW (s)S(s)k∞
= kW (s)[1 − G(s)Q(s)]k∞ ≥ |W (zr )| .
The optimal controller is obtained as follows: Qopt (s) =
M− (s) . KN− (s)
(6.1.7)
152
Quantitative Process Control Theory
Introduce the following filter: J(s) =
1 , (λs + 1)nj
where nj = deg{M− } − deg{N− }. The suboptimal proper controller is Q(s) =
M− (s) . KN− (s)(λs + 1)nj
(6.1.8)
The closed-loop transfer function can be written as T (s) =
−zr−1 s + 1 . (λs + 1)nj
(6.1.9)
Now, consider the general stable rational plant described by G(s) =
KN+ (s)N− (s) , M− (s)
(6.1.10)
where N− (s) and M− (s) are the polynomials with roots in the open LHP, N+ (s) is a polynomial with roots in the closed RHP, N+ (0) = N− (0) = M− (0) = 1, and deg{N+ } + deg{N− } ≤ deg{M− }. Motivated by the results in the foregoing simple cases, the following function is chosen as the desired closed-loop transfer function: T (s) = N+ (s)J(s),
(6.1.11)
1 . (λs + 1)nj
(6.1.12)
where J(s) is a filter: J(s) =
In light of the discussion in Section 5.7, nj is chosen as follows: deg{M− } − deg{N− } deg{M− } > deg{N− } . nj = 1 deg{M− } = deg{N− } The feature of the closed-loop transfer function is that it has the same RHP zeros as the plant. Once the desired T (s) is determined, the controller of the Smith predictor can be analytically derived through R(s) =
T (s) G(s) − T (s)Go (s)
Control of Stable Plants
153 =
1 M− (s) . K N− (s)[(λs + 1)nj − N+ (s)]
(6.1.13)
For rational plants, Go (s) = G(s). The unity feedback loop controller C(s) is identical to R(s). The controller has the same order as that of the plant. The corresponding Q(s) is Q(s) =
T (s) M− (s) . = G(s) N− (s)
(6.1.14)
When there is a time delay in the plant, the basic idea of designing the Smith predictor is moving the time delay out from the feedback loop, so that the controller can be designed for the rational part of plant. Along this line, the above design procedure can be extended to the plant with time delay. Assume that the plant with time delay is G(s) =
KN+ (s)N− (s) −θs e , M− (s)
(6.1.15)
where θ is the time delay. The desired closed-loop transfer function is chosen as T (s) = N+ (s)J(s)e−θs ,
(6.1.16)
where J(s) is identical to (6.1.12). The R(s) and Q(s) corresponding to this desired closed-loop transfer function is the same as those in (6.1.13) and (6.1.14) respectively, but C(s) contains a time delay: C(s) = =
Q(s) 1 − G(s)Q(s) 1 M− (s) . K N− (s)[(λs + 1)nj − N+ (s)e−θs ]
(6.1.17)
This unity feedback loop controller is irrational. Stability is a basic requirement of control system design. A question associated with the design is whether the closed-loop system is internally stable. Theorem 6.1.1. Given the plant (6.1.15) and the closed-loop transfer function (6.1.16), the closed-loop system is internally stable. Proof. This conclusion follows directly from the Youla parameterization for stable plants. The design method here is in fact an improved pole placement method. Since the method is developed based on special H∞ solutions, it is named the quasi-H∞ control. A frequently encountered case is that the plant is MP or has only one zero in the RHP. Then an exact H∞ controller can be obtained by the method. If the plant has more than one zero in the RHP or the plant
154
Quantitative Process Control Theory
contains time delay, the results of the H∞ control and quasi-H∞ control are different. The quasi-H∞ control is a compromise: the solution may not be an exact H∞ controller, but the design is significantly simplified. The analytical design formula for the quasi-H∞ controller has been given. When the nominal plant is known, the quasi-H∞ controller can be obtained by substituting the plant parameters into the formula directly. With regard to the plant (6.1.15), one can also design the quasi-H∞ controller through the following steps: 1. If the plant does not contain any time delay, turn to 3. 2. If the plant contains a time delay, take the rational part of the plant as the nominal plant. 3. If the nominal plant has no zeros in the RHP, take its inverse as Qopt (s) and turn to 5. 4. If the nominal plant has zeros in the RHP, remove the factor that contains these zeros and take the inverse of the remainder as Qopt (s). 5. Introduce a filter to Qopt (s), compute the controller by R(s) = Q(s)/[1 − Go (s)Q(s)] and C(s) = Q(s)/[1 − G(s)Q(s)]. If it is necessary, the desired closed-loop transfer function in quasi-H∞ control can be chosen as complex as desired. For example, in some applications, the design may impose constraints on T (s). One can use the quasi-H∞ design method by choosing a more complex T (s) as the desired closed-loop transfer function.
6.2
The H2 Optimal Controller and the Smith Predictor
The subject of this section is to design the unity feedback loop controller and the Smith predictor that minimize the 2-norm of the weighted sensitivity function. Consider the general plant used in the last section: G(s) =
KN+ (s)N− (s) −θs e . M− (s)
(6.2.1)
It is assumed that the performance index is min kW (s)S(s)k2 , the input is a unit step, and the weighting function is W (s) = 1/s. For asymptotic tracking, the following constraint must be satisfied: lim [1 − G(s)Q(s)] = 0.
s→0
(6.2.2)
The Q(s) that satisfies the condition can be expressed as Q(s) =
1 + sQ1 (s), K
(6.2.3)
Control of Stable Plants
155
where Q1 (s) is stable. Therefore, 2
kW (s)S(s)k2
2
1
1 − G(s) = W (s) (s) + sQ 1
K 2
2
1 (s) (s)N (s)N N KN − − (s)s −θs + + −θs
− e e Q1 (s) = 1−
s M− (s) M− (s) 2
2
M− (s) − N+ (s)N− (s)e−θs KN+ (s)N− (s) −θs = − e Q1 (s)
sM− (s) M− (s) 2
2
M− (s)N+ (−s)eθs − N+ (s)N− (s)N+ (−s)
−
N+ (s) −θs
(s) (s)N sM + − =
N+ (−s) e KN (−s)N (s) − +
Q1 (s)
M− (s) 2
2
M− (s)N+ (−s)eθs − N+ (s)N− (s)N+ (−s)
−
sM− (s)N+ (s)
=
KN+ (−s)N− (s) Q (s)
1 M− (s) 2
2
N+ (−s)eθs − N+ (s)
+
sN+ (s)
. =
M (s) − N (s)N (−s) KN (s)N (−s)
+ − + −
− − Q1 (s)
sM− (s) M− (s) 2
Since M− (0) = N+ (0) = N− (0) = 1, s must be a factor of N+ (−s)eθs − N+ (s) and M− (s) − N− (s)N+ (−s). Then we have 2
=
kW (s)S(s)k2
N+ (−s)eθs − N+ (s) 2
+
sN+ (s) 2
2
M− (s) − N− (s)N+ (−s) KN− (s)N+ (−s)
− Q1 (s)
. sM− (s) M− (s) 2
Minimizing the right-hand side of the equality gives the optimal performance:
N+ (−s)eθs − N+ (s) 2 2
. min kW (s)S(s)k2 = (6.2.4)
sN+ (s) 2 There are three important implications about the result:
156
Quantitative Process Control Theory 1. The optimal performance is obtained with only the input-output information. 2. This performance is the limit of H2 control for the given index and input, no matter what design method is used. 3. Better performance can only be obtained by modifying the plant itself.
The unique optimal Q1opt (s) is Q1opt (s) =
M− (s) − N− (s)N+ (−s) . KsN− (s)N+ (−s)
Substitute this into (6.2.3). The optimal controller is Qopt (s) =
M− (s) . KN− (s)N+ (−s)
(6.2.5)
It is observed that the optimal controller is in the form of the inverse of the plant rational part. If the plant is strictly proper, the controller is improper. It is necessary to introduce the following filter to roll off the optimal controller: J(s) =
1 , (λs + 1)nj
where λ is the performance degree, deg{M− } − deg{N+ } − deg{N− } deg{M− } > deg{N+ } + deg{N− } . nj = 1 deg{M− } = deg{N+ } + deg{N− } The suboptimal controller is Q(s) = Qopt (s)J(s) =
M− (s) . KN− (s)N+ (−s)(λs + 1)nj
(6.2.6)
The Smith predictor is R(s) =
1 M− (s) . K N− (s)[(λs + 1)nj N+ (−s) − N+ (s)]
(6.2.7)
Notice that the order of this controller is identical to that of the rational part of the plant. The unity feedback loop controller is C(s) =
1 M− (s) . n j K N− (s)[(λs + 1) N+ (−s)e−θs − N+ (s)]
(6.2.8)
It can be verified that (6.2.7) and (6.1.13) are identical when N+ (s) = 1. In addition to designing the H2 controller by means of the analytical formula, one can also design it through the following steps:
Control of Stable Plants
157
1. If the plant does not contain any time delay, turn to 3. 2. If the plant contains a time delay, take the rational part of the plant as the nominal plant. 3. If the nominal plant has no zeros in the RHP, take its inverse as Qopt (s) and turn to 5. 4. If the nominal plant has zeros in the RHP, construct an all-pass transfer function with the factor that contains these zeros and then remove the all-pass transfer function. Take the inverse of the remainder as Qopt (s). 5. Introduce a filter to Qopt (s), compute R(s) and C(s).
FIGURE 6.2.1 Different philosophies of the quasi-H∞ control and the H2 control. Comparing the discussion in the last section with that in this section, it can be found that the quasi-H∞ control and the H2 control have thoroughly different philosophies, which are shown in Figure 6.2.1. The procedures of designing the quasi-H∞ controller and the H2 controller are illustrated in the following example. Example 6.2.1. Consider the control system of maglev gap described in the last chapter. The dynamic model of the gap is G(s) =
s−4 . (s + 2)2
Normalize the plant so that the constant terms of all factors are 1: G(s) = −
−s/4 + 1 . (s/2 + 1)2
First, the quasi-H∞ controller is designed. There is no time delay in the
158
Quantitative Process Control Theory
plant, but there is a RHP zero. Remove the factor containing the zero and take the inverse of the remainder as Qopt (s): Qopt (s) =
(s/2 + 1)2 . −1
A proper Q(s) can be obtained by introducing a filter. When Q(s) is known, it is trivial to compute R(s) and C(s). Next, design the H2 controller. First, an all-pass transfer function has to be constructed by utilizing the factor that contains the RHP zero: G(s) = −
s/4 + 1 −s/4 + 1 . (s/2 + 1)2 s/4 + 1
Then, remove the all-pass transfer function and take the inverse of the remainder as Qopt (s): Qopt (s) = −
(s/2 + 1)2 . s/4 + 1
Finally, introduce a filter to Qopt (s). The construction of an all-pass transfer function is very simple for SISO plants. Assume that an open RHP zero of plant is zr = a + bi, a > 0. The all-pass transfer function GA (s) can be constructed as follows: GA (s) =
6.3
−s + zr . s + z¯r
(6.2.9)
Equivalents of the Optimal Controller
Although the derivation of the optimal controller is somewhat complicated, the result is rather simple. It will be shown that there is a simple and reasonable explanation for the controller. Actually, the result was already adopted by some engineers in early practice except that they did not know this was the optimal result. Rearrange the diagram of the Smith predictor. An equivalent is obtained, which is in fact the IMC structure (Figure 6.3.1). Assume that the rational part of the stable plant G(s), namely Go (s), is MP. The design objective of this control system is to find a controller R(s) or C(s) such that the closed-loop system is internally stable and the output y(s) can track the reference r(s) e as closely as possible. Assume that the model is exact (that is, G(s) = G(s)) and there is no disturbance. Then the feedback signal is zero. A natural idea is to take Q(s) = G(s)−1
(6.3.1)
Control of Stable Plants
159
FIGURE 6.3.1 Rearrangement of the Smith predictor. as the controller. Then the closed-loop transfer function is T (s) = G(s)Q(s) = 1.
(6.3.2)
This implies that the output can track the reference instantaneously without any error. This situation, referred to as the perfect control in Section 3.2, is impossible in a real system, since the inverse of a time delay is non-causal. A non-causal transfer function is not physically realizable. An alternative is to take Q(s) = Go (s)−1
(6.3.3)
as the controller. The closed-loop transfer function becomes T (s) = G(s)Q(s) = e−θs ,
(6.3.4)
which implies that the output can track the reference perfectly after the time delay θ. Such a result is reasonable. To explain this, let us consider a shower control system (Figure 2.1.1), an example encountered in everyday life. Assume that the temperature of outlet water is controlled by adjusting the flow rate of inlet hot water. When the valve of hot water is increased by a small percentage (so that the pressure change can be omitted), the increased temperature can only be detected at the outlet after a period of time. No matter what control method is used, it is impossible to eliminate the time delay. Go (s)−1 is improper. Since Go (s)−1 is rational, it can be arbitrarily approached by a proper transfer function of finite order. The simplest way to approximate Go (s)−1 is to let Q(s) =
Go (s)−1 , (λs + 1)nj
(6.3.5)
where λ is the performance degree and nj is the positive integer that makes
160
Quantitative Process Control Theory
Q(s) bi-proper. Obviously, this is exactly the result obtained in the optimal design. If there is no uncertainty, λ can be chosen as any positive real number. There is not any overshoot in the closed-loop response. The rise time can be arbitrarily fast as λ tends to be zero. When there is uncertainty, theoretically λ can be calculated with the uncertainty profile and Theorem 3.4.2. However, in practice it is difficult to obtain an uncertainty profile with high precision, and the profile may vary with the use of equipments. In this case, the tuning method introduced in the last two chapters can be used: Increase the performance degree monotonically until the required response is obtained. Many different design methods have been developed in the past decades. Some of them have been applied to real systems and provide satisfactory performance. On the other hand, the optimal solution is unique in mathematics. Then, one may ask such a question: are these methods really independent? If the plant has a stable rational part of MP, the quasi-H∞ controller is identical to the H2 controller. Furthermore, it can be seen that the two controllers are equivalent to several well-known controllers on certain premises. Dahlin Algorithm and Deadbeat Control The Dahlin algorithm is a distinctive algorithm for the control of the plant with time delay. The attractiveness of this technique consists in the fact that it is easy to use and can provide good performance. This algorithm has been included in many textbooks. It was presented for the first-order plant with time delay: G(s) =
Ke−θs . τs + 1
The basic idea is to specify the desired closed-loop transfer function T (s) as a first-order transfer function with its time delay equal to that of the plant G(s); that is, T (s) =
e−θs , λs + 1
(6.3.6)
from which a unity feedback loop controller C(s) can be derived. Since it is difficult to treat a time delay in the Laplace domain, the design procedure is performed in the discrete domain. The time delay is a finite-dimension function in the discrete domain. Evidently, the Dahlin algorithm is a discrete domain version of the quasi-H∞ controller and H2 controller for the first-order plant with time delay. This makes it clear that some of the methods developed in early times are effective indeed, although their optimalities were not proved. When λ → 0, the Dahlin controller reduces to the deadbeat controller (also referred to as the minimal prototype controller). Therefore, the deadbeat controller is a special case of the quasi-H∞ controller or the H2 controller as well. Inferential Control and IMC
Control of Stable Plants
161
In some situations, the plant output to be controlled cannot be measured online because of the lack of reliable and economical measuring devices. This is the control problem to which the inferential control is the solution. The control scheme is later extended to the plant whose output can be measured. Consider the diagram of the inferential control in Figure 6.3.2. A plant is given to the right-hand side of the dotted line, with one unmeasured output ye(s) and one measured auxiliary output y(s). The manipulated variable u(s) and the disturbance d(s) affect both outputs. The disturbance is considered to be unmeasured. Q(s) is the controller and G(s) is the model of a stable MP plant. Since
FIGURE 6.3.2 The inferential control system.
y(s) = G(s)u(s) + A(s)d(s),
(6.3.7)
the disturbance can be written as d(s) =
G(s) y(s) − u(s). A(s) A(s)
Define an estimator E(s) :=
B(s) . A(s)
(6.3.8)
The estimated value of the unmeasured output is ye(s)
e = G(s)u(s) + B(s)d(s) e = G(s)u(s) + E(s)[y(s) − G(s)u(s)].
(6.3.9)
162
Quantitative Process Control Theory
The function of E(s) is predicting the effect of the unmeasured disturbance on the plant output. Now assume that the output ye(s) can be measured. If the model is exact, e that is, G(s) = G(s), ye(s) = y(s), A(s) = B(s), then E(s) = 1. The inferential control structure reduces to the IMC structure (Figure 6.3.3). The signal entering the estimator is d(s)A(s). To reject its effect on the plant output, the controller should make a control effort in the opposite direction; that is,
FIGURE 6.3.3 Reduced inferential control system. u(s) = −d(s)A(s)Q(s). It can be seen from (6.3.7) that the cancellation is perfect when Q(s) = 1/G(s). For the general plant G(s) =
KN+ (s)N− (s) , M− (s)
the controller is Q(s) =
M− (s) . KN− (s)N+ (−s)
This controller contains the element that is not physically realizable. The problem can be solved by introducing a filter to the controller. Then, the result is identical to the H2 controller. Consequently, the quasi-H∞ control, H2 control, inferential control with measured output, and IMC are equivalent for the plant whose rational part is stable MP; the H2 control, inferential control scheme with measured output, and IMC are equivalent for the plant whose rational part is stable.
Control of Stable Plants
163
Model Predictive Control The model predictive control is a general designation of a variety of control algorithms developed for computer control systems, rather than a single control algorithm. The most widely-used predictive control techniques are those based on the optimization of quadratic objective functions. The basic design methods in this category include the Dynamic Matrix Control (DMC) and the Model Algorithmic Control (MAC). Both of the techniques have been applied in industrial systems. Let us look at the design idea of model predictive control. Assume that the plant is rational stable and MP, and Ts denotes the sampling time. The values of a unit step response at the sampling instants t = Ts , 2Ts , ..., N Ts are given by a1 , a2 , ..., aN . Different methods were developed to predict the plant output on the basis of this model. The control objective is that the predicted output yp (k) on the considered horizon L follows the desired output trajectory yr (k). The desired output trajectory with respect to the reference r(k) is normally given by yr (k + 1) = αy(k) + (1 − α)r(k).
(6.3.10)
Here α = e−Ts /λ , λ is the time constant of the desired output trajectory, and y(s) is the real output of the plant. The objective function of the control system is as follows: min
L X i=1
[yp (k + i) − yr (k + i)]2 .
(6.3.11)
P control variables, u(k)s, can be calculated by minimizing the objective function. If there exists a time delay in the plant, then the control sequence u(k) used for the plant with time delay is the same as that calculated for the delay-free plant. Compare the predictive model with the step response model in the form of a transfer function, the desired output trajectory with the desired closed-loop transfer function, and the objective function with the optimal performance index. It is seen that the design idea of model predictive control is very similar to those of the quasi-H∞ Smith predictor and the H2 Smith predictor. Certainly, the model predictive control involves many algorithms. Each predictive algorithm possesses its specific form. Not every predictive algorithm is exactly equivalent to the quasi-H∞ Smith predictor and H2 Smith predictor. Assume that the plant is of first order. Then N = 1 is enough to express the dynamic characteristic of plant. Consider the one step MAC, that is, P = L = 1. Let the model output be ym (k). The predicted output of the plant, yp (k), is yp (k + 1) = ym (k + 1) + [y(k) − ym (k)].
(6.3.12)
When the system is optimal, we have yp (k + 1) = yr (k + 1) and y(k) = yr (k).
164
Quantitative Process Control Theory
Combining (6.3.10) with (6.3.12) yields αyr (k) + (1 − α)r(k) = yr (k) + ym (k + 1) − ym (k). Taking the Z-transform, one gets (1 − α)r(z) − (1 − α)yr (z) = (z − 1)ym (z). This equation, together with the Z-transforms of the model output and the desired output trajectory ym (z) = u(z)G(z), yr (z) =
1−α r(z), z−α
shows that u(z) 1−α = . r(z) (z − α)G(z)
(6.3.13)
Computing the Laplace domain version of this controller, one can find it is identical to the quasi-H∞ controller and H2 controller. Similarly, it can be proved that the DMC with P = L is identical to the quasi-H∞ controller and H2 controller.
6.4
The PID Controller and High-Order Controllers
It was shown in Section 4.3 that an approximate Smith predictor could be derived by utilizing the obtained PID controller. This section discusses how a PID controller can be derived by utilizing the quasi-H∞ Smith predictor or H2 Smith predictor, which will show how several different design methods are internally related. For simplicity of presentation, it might as well let the rational part of plant be stable MP and have no zeros. In this case, the quasiH∞ control and the H2 control result in the same controller. First of all, consider the feature of a Smith predictor in the framework of the unity feedback loop. Rearranging the diagram of the Smith predictor, one can obtain an equivalent unity feedback loop with the following controller: C(s) =
R(s) . 1 + [Go (s) − G(s)]R(s)
(6.4.1)
Substitute the nominal plant G(s) =
Ke−θs M− (s)
(6.4.2)
Control of Stable Plants
165
and the Smith predictor R(s) =
M− (s) K(λs + 1)nj − K
(6.4.3)
into (6.4.1). The obtained controller is C(s) =
M− (s) 1 . K (λs + 1)nj − e−θs
(6.4.4)
When λ → 0, the C(s) tends to be optimal. The optimal controller is unique. Assume that there is a first-order plant with time delay, that is, M− (s) = τ s + 1 and nj = 1. The controller C(s) is C(s) =
1 τs + 1 . K λs + 1 − e−θs
(6.4.5)
The open-loop transfer function of the system is L(s) = =
G(s)C(s) e−θs . λs + 1 − e−θs
(6.4.6)
The Nyquist plot and the Bode plot are given in Figure 6.4.1 and Figure 6.4.2, respectively.
FIGURE 6.4.1 Nyquist plot of the system with the first-order plant.
166
Quantitative Process Control Theory
FIGURE 6.4.2 Bode plot of the system with the first-order plant.
Control of Stable Plants
167
With this controller, the closed-loop response can be computed analytically. When the reference is the unit step, the reference response is 0 0
(6.4.8)
Since the feedback acts after t ≥ 2θ, the error appearing during t < 2θ can never be overcome. This error will not be less than K(1 − e−θ/τ ). The larger the θ/τ , the larger the error. Evidently, the PID controller cannot be used as an exact substitute for this optimal controller. There are two reasons: 1. When the time delay equals zero, if the plant order is greater than 3, C(s) is of high order. The PID controller is not able to realize the dynamics of C(s) exactly. 2. When the time delay is not zero, C(s) involves a time delay and thus is of infinite dimension. Since the PID controller is of finite dimension, it cannot realize the dynamics of C(s) exactly. One way to derive a PID controller from the high-order controller is to expand the term e−θs with the 1/1 Pade approximation. The resulting controller is the H2 PID controller developed in Section 5.1. If the overall controller is approximated by a low-order rational function, the Maclaurin PID controller or the PID controller with the best achievable performance can be obtained, which has been introduced in Sections 5.5 and 5.6, respectively. Besides these analytical design methods, one may utilize the poleplacement method or other numerical algorithms to design PID controllers. This is not recommended in this book due to the following reasons: 1. Numerical methods are tedious. 2. The controller has fixed parameters. It cannot be tuned for quantitative responses. 3. Almost no performance improvement can be obtained. As it is seen, the difference between the PID controller and the optimal Smith predictor lies in the approximation error. The larger the time delay, the larger the error.
168
Quantitative Process Control Theory
The following example is used to compare the responses of different controllers. Example 6.4.1. The primary control loop of a nuclear power plant is shown in Figure 6.4.3. The goal is to control the temperature of water by adjusting the reaction speed, which is determined by the depth of the control rods in reactor. Since the water has to be transported from the reactor to the measurement point, there is a time delay in the plant. The transfer function of this plant is obtained by carrying out experiments:
FIGURE 6.4.3 Control system of a nuclear reactor.
G(s) =
e−0.4s . 0.2s + 1
In this example, K = 1, θ = 0.4, N+ (s) = 1, N− (s) = 1, M− (s) = 0.2s + 1, and nj = 1. The Smith predictor given by (6.1.13) or (6.2.7) is R(s) =
0.2s + 1 . λs
The H2 PID controller given by (5.1.12) is C(s) =
(0.2s + 1)2 . s(0.2λs + λ + 0.4)
The Maclaurin PID controller is given by (5.5.10): TI 1 0.08(3TI − 0.4) C(s) = 1+ + , λ + 0.4 TI s 3TI (λ + 0.4)
Control of Stable Plants
169
where TI = 0.2 +
0.08 . λ + 0.4
The PID controller with the best achievable performance is given by (5.6.7) and (5.6.10): a0 a2 1 + s , C(s) = a1 1 + a1 s a1 b 1 s + 1 where a0
=
a1
=
a2
=
b1
=
1 , 2(λ + 0.4) 0.224 + 0.16λ , 0.64 + 0.4λ 0.64 − 0.48λ 0.0333 , 0.64 + 0.4λ 0.064 − 0.48λ − 0.4λ2 . −0.2 0.64 + 0.4λ
Take λ = 0.41θ for these controllers. A unit step reference is added at t = 0 and a unit step load is added at t = 100. The nominal responses of the closedloop system are shown in Figure 6.4.4. In practice, the reference has a limited bandwidth. When the bandwidth of reference is restricted to be 5 rad/s, the responses of these methods are closer to each other than those without restriction (Figure 6.4.5). It is assumed that there are 10% uncertainties on the three parameters of the plant, respectively. The worst case is that the gain and the time delay become the maximum and the time constant becomes the minimum. In this case, the closed-loop responses are given in Figure 6.4.6. The responses of these controllers are still steady when there exist such uncertainties.
6.5
Choice of the Weighting Function
There are two problems that closely relate to the design of an optimal controller: The first is the choice of filter; the second is the choice of weighting function, which is the subject of this section. The basis of the design methods in this book is the system gain introduced in Section 3.1. Let us first examine what constraints are imposed on the weighting function by the system gain. To use the system gains in Table 3.1.1, the weighting function should be chosen in accordance with the system
170
FIGURE 6.4.4 Responses for full frequency range.
FIGURE 6.4.5 Responses for limited frequency range.
Quantitative Process Control Theory
Control of Stable Plants
171
FIGURE 6.4.6 Worst-case responses with 10% uncertainties. input (reference or disturbance). In the H2 optimal control, the controller is designed for the impulse. The weighting function should be chosen so that r(s) = 1, W (s)
(6.5.1)
or equivalently, the weighting function should equal the system input. The H∞ optimal control requires that
r(s)
(6.5.2)
W (s) ≤ 1. 2
To cover all energy-bounded inputs, a reasonable choice for the weighting function is to make it equal the input. Now consider the choice problem of weighting function in several frequently encountered cases. In most methods, the controller is designed for ideal step inputs or step-like signals (that is, an ideal step signal with a lag). The transfer function of the input signal can be directly chosen as the weighting function for both the H2 optimal control and the H∞ optimal control. In statistic control, the input is a random signal. Normally, the statistics feature or the spectrum of the input is known. Then an equivalent transfer function with regard to the input can be obtained. The weighting function W (s) can be taken as this transfer function. In some applications, designers have acquired through experience the desired shape of the Bode magnitude plot of S(s). In particular, a good performance is known to be reached if the plot of S(s) lies under some curve. In
172
Quantitative Process Control Theory
this case, the weighting function W (s) can be chosen as the transfer function corresponding to the curve. A known S(s) has two implications: 1. Since S(s) + T (s) = 1, the desired shape of T (s) is determined. 2. The bandwidth of the system is restricted. Nevertheless, the above method may not be a good one for the design problem. The reason is that the system input is complex in some applications. Consequently, the weighting function W (s) is in a complex form. For example, the weighting function might be W (s) =
1 . s(τ1 s + 1)(τ2 s + 1)
The design of an optimal controller for such a weighting function is tedious. To avoid this problem, the choosing of the weighting function can be simplified further. One can fix the weighting function as the standard input. For example, when the input is a step-like signal, take W (s) = 1/s. This works because the ideal step is a signal abstracted from a large variety of real step-like signals. These real signals can be viewed as the ideal step with high frequency content being rolled off. The controller designed for the ideal step has the potential to work well for step-like signals. The simplified design procedure is as follows: 1. Design the controller for the ideal step. 2. Choose an appropriate filter according to design requirements. In the next chapter, it will be seen that such a design method is also applicable to other input signals, such as a ramp. Since W (s) is fixed, the obtained closed-loop response may not reflect the required feature. This problem can be simply solved by tuning the filter (Figure 6.5.1).
FIGURE 6.5.1 Different design procedures. The question of interest is whether the role of the weighting function can be
Control of Stable Plants
173
thoroughly substituted by a filter. To analyze this problem, suppose that the complex weighting function and the associated controller are Wp1 (s) and Q1 (s) respectively, and the fixed weighting function and the associated controller are Wp2 (s) and Q2 (s) respectively. In most cases, both of the weighting functions are MP and do not have poles in the open RHP. For example, the weighting functions may be Wp1 (s) =
1 1 and Wp2 (s) = . s(τ1 s + 1)(τ2 s + 1) s
Let Wp1 (s)[1 − G(s)Q1 (s)] = Wp2 (s)[1 − G(s)Q2 (s)]. Then −1 −1 (s)Wp1 (s)Q1 (s). (s)Wp1 (s)] + Wp2 Q2 (s) = G−1 (s)[1 − Wp2
(6.5.3)
−1 (s)Wp1 (s) is stable. If In view of the feature of Wp1 (s) and Wp2 (s), Wp2 G(s) is MP, then for a given Wp1 (s) one can always find a stable Q2 (s), which can reach the same performance as Wp1 (s). With regard to an NMP G(s), if Wp1 (s) is chosen such that G−1 (s)[1 − −1 Wp2 (s)Wp1 (s)] is stable, one can always find an equivalent Q2 (s) for Wp1 (s). In other cases, the effect of the weighting function cannot be exactly substituted by a filter. They affect the closed-loop response in their own ways. Since T (s) = G(s)Qopt (s)J(s), the filter provides an alternative for the designer to achieve the required closed-loop response. The design method of using a filter has several advantages:
1. In many advanced design methods, the determination of weighting functions is a difficult problem. The “no-weight” design procedure given in this book does not require the designer to choose weighting functions. The design task is significantly simplified. 2. In some methods, the weighting function is determined by empirical methods, which implies that different designers will obtain different controllers, even when the same design method is used. With the design procedure in this book, different designers will obtain the same optimal controller. 3. The filter is closely related to the closed-loop response. Compared with the method using weighting functions for performance design, the new method provides a simple direct means for adjusting the closed-loop response.
174
6.6
Quantitative Process Control Theory
Simplified Tuning for Quantitative Robustness
Many methods for robust controller design need the prior information about the uncertainty profile. The controller is designed based on both the nominal plant and the uncertainty profile. If the uncertainty profile varies, the controller has to be redesigned. Such methods are inconvenient in practice. The design methods introduced in this book do not depend on the prior information about the uncertainty profile. When the uncertainty profile is known, quantitative performance and robustness can be obtained by computation or tuning. When the uncertainty profile is unknown, quantitative performance and robustness can roughly be achieved by tuning. If the uncertainty profile varies, it is not necessary to redesign the controller. The robust performance can be obtained by tuning the performance degree. The tuning procedure is simple: Increase the performance degree monotonically until the required response is obtained. For online tuning, the above procedure is still a bit inconvenient. In many applications, the requirement on dynamic performance is not very strict, while the convenience is very important. Sometimes, the dynamic performance is even sacrificed for the convenience. The goal of this section is to simplify the tuning procedure and to provide an engineering tuning method that can be applied in control software or hardware. Assume that the plant model is G(s) =
Ke−θs , τs + 1
(6.6.1)
and the uncertainties of the three parameters have the same amplitude. The parameter uncertainty profile, epu , is expressed in the percentage of the nominal value. The unstructured uncertainty of the system can be expressed as jτ ω + 1 jepu θω |K| + epu K − 1 ω < ω ∗ e |K| j(τ − epu τ )ω + 1 , (6.6.2) ∆m (jω) = |K| + epu K jτ ω + 1 ∗ +1 ω≥ω |K| j(τ − epu τ )ω + 1
where ω ∗ is determined by epu θω ∗ + arctan
epu τ ω ∗ π ∗ 2 = π, 2 ≤ epu θω ≤ π. ∗ 1 + τ (τ − epu τ )ω
(6.6.3)
It should be pointed out that the above assumption does not require the three parameters to change simultaneously, or that the three parameters must have the same level of uncertainty. The real case could be that the uncertainty of one parameter is larger than that of another one or the other two; nevertheless, the unstructured uncertainty profile is still within the same scope.
Control of Stable Plants
175
Now let us see how to simplify the tuning procedure. Split the overall uncertainty scope epu into three ranges: small, middle, and large. For engineering applications, one can roughly regard epu = 10% as “small,” epu = 20% as “middle,” and epu = 35% as “large.” Certainly, it can also be split into more ranges for finer tuning. The three ranges are marked on the performance degree knob, which is set up on the panel of a regulator (Figure 6.6.1). An alternative way to realize the performance degree knob is a button or a keyboard.
FIGURE 6.6.1 The three-range knob. When using the regulator, the operator first estimates the uncertainty roughly, and then sets the performance degree knob at an appropriate position. For example, when an industrial process runs, if the uncertainty is small, the operator should set the performance degree knob at the position of “small.” When the performance requirement changes or the uncertainty profile varies, the performance and the robustness can be adjusted by resetting the performance degree knob. Two cases may be encountered in practical operation. One is that the closed-loop system is unstable or the response oscillates intensely. This implies that the actual uncertainty is larger than estimated. The performance degree knob should be reset at a larger value. The other is that the response of the closed-loop system is always slow. This implies that the actual uncertainty is smaller than estimated. The performance degree knob should be reset at a smaller value. After the parameter uncertainty scope, epu , is given, the question that arises is how to determine the relationship between epu and λ: λ = f (epu ). This is the key to the split-range tuning method. For engineering applications, λ can be chosen according to Table 6.6.1. The table is from the rule of thumb. As indicated in Section 6.3, many widely applied methods are equivalent
176
Quantitative Process Control Theory
TABLE 6.6.1 Values of λ/θ. H∞ PID H2 PID
Small 0.35 0.20
Middle 0.55 0.55
Large 0.80 0.95
to each other. Hence, the split-range tuning method can be applied not only to the design method in this book, but also to many other methods, for example, the Dahlin controller and the model predictive control. The operation of the controller with the split-range tuning is somewhat similar to that of an automatic camera. When using an automatic camera, the operator has to roughly estimate the distance from the objective to the camera. There are usually three choices: flower (which denotes “near”), portrait (which denotes “middle”), and mountain (which denotes “far”). The focus range is then determined. Other work is automatically finished by the camera after the shutter button is pressed. Similarly, when the split-range method is used, the only work to do is roughly estimating the uncertainty profile. Other work is automatically finished by the regulator.
6.7
Summary
This chapter concentrates on the optimizing technique of designing a controller for general stable plants with time delay. With a rigorous treatment on time delay, the quasi-H∞ controller and H2 controller are analytically obtained. They have the same order as that of the rational part of plant. Assume that the plant is G(s) =
Ke−θs . τs + 1
The controller R(s) is R(s) =
1 τs + 1 . K λs
If the plant is of second order, G(s) =
Ke−θs , (τ1 s + 1)(τ2 s + 1)
then the controller is R(s) =
1 (τ1 s + 1)(τ2 s + 1) . K (λ2 s + 2λ)s
Control of Stable Plants
177
There is no overshoot in the resulting nominal response and the rise time can be arbitrarily fast. For a long time, the H∞ optimal control, H2 optimal control, Smith predictor, Dahlin algorithm, deadbeat control, IMC, inferential control, and model predictive control have been studied as independent control strategies. This chapter studies the relationship among them. It is shown that these methods are equivalent to each other on certain premises. This conclusion provides insight into designing control systems in a unified framework. The study of this chapter shows that the PID controller can be derived from the Smith predictor with different approximations. The PID controller with better performance is related to a complex design formula. This chapter also discusses the choice of the weighting function, and an engineering tuning method is presented. The discussion makes the design methods introduced in this chapter more practical.
Exercises 1. Assume that the design specification is as follows: the settling time is 8s and the overshoot is less than 10%. Compute the rational transfer function of the corresponding second-order system. 2. Given a rational plant G(s), the input disturbance is a zero-mean stationary random signal with power spectral density W (−s)W (s). The objective of minimum variance control is to minimize the variance of the plant output y(t). Prove that the variance of y(t) is 2 kW (s)G(s)S(s)k2 . 3. When analog controllers are used, all of the signals in a system are continuous with time. The introduction of digital computers changed the picture, because the digital computer can only handle information on a discrete-time basis. Derive the quasi-H∞ controller in the Z−domain for the first-order plant with time delay. 4. Consider a blending process (Figure E6.1). The stream of hot water and the stream of cold water enter a column, respectively. It is assumed that the two streams are mixed thoroughly in the column and the temperature of the blend is controlled by adjusting the flow rate of hot water. The outlet flow rate is kept constant by automatically adjusting the flow rate of cold water. The flow control loop is arranged to act at a much faster speed than the temperature control loop, so that the interaction between the two loops is negligible. For changes small enough to allow the assumption of linear operation, the transfer function of the temperature plant can be written as
178
Quantitative Process Control Theory
FIGURE E6.1 A blending process.
G(s) =
0.4e−24s . (13.8s + 1)(6.1s + 1)(3.9s + 1)
Design the quasi-H∞ Smith predictor and H2 Smith predictor. 5. Consider the following plant: G(s) =
s . s+1
Is it possible to design an H∞ controller or an H2 controller? ∗
6 . Assume that the LQ method is used to design the unity feedback loop controller C(s). Give the constructing procedure of C(s) with the output feedback.
Notes and References Section 6.1 is adapted from Zhang et al. (2002). The idea of designing a controller by specifying the desired closed-loop transfer function was used in many other methods, such as the Dahlin controller (Dahlin, 1968) and the model predictive control (Camacho and Bordons, 1999). The design in Section 6.2 is in the spirit of the work in Morari and Zafiriou (1989). The derivation can be found in Zhang (1996) and Zhang et al. (2006). Section 6.3 is adapted from Zhang et al. (1998b) and Zhang and Xu (2003). The relationships among some controllers were also studied by Garcia and Morari (1982) and Jin (1993). The Dahlin algorithm was developed by Dahlin (1968). For the deadbeat control, see, for example, Stephanopoulos (1984).
Control of Stable Plants
179
The inferential control was proposed by Brosilow and Tong (1978). Two important original references about model predictive control are Culter and Ramaker (1979) and Richalet et al. (1978). The plant in Example 6.4.1 is from Dorf and Bishop (2001, p. 612). Figure 6.4.3 is drawn based on Dorf and Bishop (2001, Figure P10.7). Regarding the control of systems with time delay, readers can refer to Foias et al. (1996), Brosilow and Joseph (2002), Gu et al. (2003), Sun et al. (2010), Wu et al. (2010), and Atay (2010). In Lin and Fang (1997), the non-overshoot and monotone non-decreasing responses were studied for the three-order system. It is easy to obtain such a response with the methods introduced in this book. The plant in Exercise 4 is from Singh and Mcewan (1975).
7 Control of Integrating Plants
CONTENTS 7.1 7.2 7.3 7.4 7.5 7.6 7.7
Feature of Integrating Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H∞ PID Controller for Integrating Plants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H2 PID Controller for Integrating Plants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controller Design for General Integrating Plants . . . . . . . . . . . . . . . . . . . . . . . . . Maclaurin PID Controller for Integrating Plants . . . . . . . . . . . . . . . . . . . . . . . . . The Best Achievable Performance of a PID Controller . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
181 187 193 198 205 209 211 214 216
The performance of a control system depends on both the controller and the plant. For some plants it is easy to achieve good performance, while for some others it is not. This chapter considers a class of plants referred to as integrating plants, which is difficult to control. The basic feature of an integrating plant is that its model contains integrators. The integrating plant is a specific type of unstable plant. For stable plants, many control strategies have been developed, like the PID controller and the Smith predictor. However, there are far fewer methods for the control of integrating plants. An interesting problem is whether the PID controller and the Smith predictor are still effective for integrating plants. Early studies have shown that a PID controller can be used to control integrating plants, but often results in an excessive overshoot. For the Smith predictor, the closed-loop system is internally unstable, because the plant is unstable. This chapter discusses the design problems of H∞ controllers and H2 controllers for integrating plants.
7.1
Feature of Integrating Systems
Before discussing how to design control systems for integrating plants, it is helpful to examine the feature of integrating systems. As introduced in Section 2.1, integrating plants in this book do not have any open RHP poles. Those 181
182
Quantitative Process Control Theory
with poles in the open RHP are included in unstable plants. This assumption is made solely for simplicity of presentation. The minimal requirement on a control system is internal stability. Consider the feedback control loop in Figure 7.1.1, where G(s) is an integrating plant and C(s) is the controller. The closed-loop system is internally stable if and only if all elements in the transfer matrix H(s)are stable:
FIGURE 7.1.1 Control system for integrating plants.
y(s) u(s)
= H(s)
r(s) d′ (s)
,
(7.1.1)
where
G(s)C(s) 1 + G(s)C(s) H(s) = C(s) 1 + G(s)C(s)
G(s) 1 + G(s)C(s) −G(s)C(s) . 1 + G(s)C(s)
Since the Youla parameterization for stable plants cannot be used for integrating plants, the following transfer function is defined: Q(s) =
C(s) . 1 + G(s)C(s)
(7.1.2)
The transfer function Q(s) is in fact the IMC controller. Then the transfer matrix H(s) becomes G(s)Q(s) [1 − G(s)Q(s)]G(s) H(s) = . (7.1.3) Q(s) −G(s)Q(s) Evidently, the conclusion about the internal stability of such a system is different from that of the system with a stable plant. Since G(s) is not stable, the stability of Q(s) cannot guarantee the stability of the closed-loop system. Theorem 7.1.1. Assume that G(s) is an integrating plant. The unity feedback loop shown in Figure 7.1.1 is internally stable if and only if
Control of Integrating Plants
183
1. Q(s) is stable. 2. [1 − G(s)Q(s)]G(s) is stable. Proof. Necessity is obvious. Consider sufficiency. Assume that the two conditions hold. It remains to show that G(s)Q(s) is stable. If G(s)Q(s) is unstable, 1 − G(s)Q(s) is unstable, which implies that [1 − G(s)Q(s)]G(s) must be unstable. This contradicts the assumption. The conclusion of Theorem 7.1.1 is drawn for the unity feedback loop. It may not be applicable to other structures. Consider the IMC structure shown in Figure 7.1.2. When the model is exact, the system is open-loop for G(s) and Q(s). Since G(s) is unstable and G(s)Q(s) is stable, there must exist closed RHP zero-pole cancellations between G(s) and Q(s). In this case, even the condition in Theorem 7.1.1 is satisfied, the closed-loop system is not internally stable. Consequently, the IMC structure can not be used for the control of integrating plants.
FIGURE 7.1.2 IMC control system for integrating plants. A further requirement on an internally stable system is the steady-state performance. Besides the reference, there are various disturbances in a system. Two kinds of disturbances are frequently considered. The first is the disturbance at the plant output, which has a similar effect to the reference. The consideration on this disturbance has been involved in that on the reference. The second is the disturbance at the plant input. Special attention must be paid to this kind of disturbance in the system with an integrating plant. In what follows, the effect of such a disturbance is illustrated by utilizing a simple integrating plant. Consider the first-order integrating plant, which consists of an integrator and a time delay: G(s) =
K −θs e , s
(7.1.4)
where K is the gain, θ is the time delay. Assume that the disturbance at
184
Quantitative Process Control Theory
the plant input is d′ (s) = 1/s. The effect of d′ (s) on the plant input can be equivalent to that of a disturbance d(s) on the plant output: d(s) = d′ (s)G(s) =
K −θs e . s2
(7.1.5)
This implies that the system is in fact of Type 2. Only when the controller is designed for ramps, can the steady-state error caused by the disturbance d′ (s) vanish asymptotically. In general, if the plant has m poles at the origin, the system should be of Type m + 1 for asymptotic tracking; equivalently, the controller has to satisfy 1 − G(s)Q(s) = 0, k = 0, 1, ..., m, sk
(7.1.6)
dk [1 − G(s)Q(s)] = 0, k = 0, 1, ..., m. dsk
(7.1.7)
lim
s→0
or lim
s→0
This conclusion is very important in the design of the system with an integrating plant. Derivatives of function are frequently calculated in the design of the system with an integrating plant. To avoid complicated computation, two algebra results are given here. Theorem 7.1.2. The kth (k = 0, 1, ..., q) coefficient of a q-order polynomial N (s) is dk N (0)/dsk /k!. Proof. Follows directly from its Taylor series expansion. Theorem 7.1.3. Given the transfer function N (s)/M (s), N (s) and M (s) are polynomials, and q = deg{N (s)} ≤ p = deg{M (s)}. Let m ≤ q be any nonnegative integer. Then dk N (s) lim 1− = 0, k = 0, 1, ..., m s→0 dsk M (s) holds if and only if the coefficients of the first k(k = 0, 1, ..., m) terms of N (s) are the same as those of M (s), respectively. Proof. Sufficiency is obvious. To prove necessity, assume that N (s) = βq sq + ... + βk sk + ... + β1 s + β0 , M (s) = αp sp + ... + αk sk + ... + α1 s + α0 , where βi (i = 0, 1, ..., q) and αi (i = 0, 1, ..., p) are positive real numbers. Let F (s) = 1 −
N (s) . M (s)
Control of Integrating Plants
185
Then M (s)F (s) = M (s) − N (s). The inductive method is used to prove the result: First, the k = 0 and k = 1 cases are shown to be true; then the k case is shown to be true if the (k − 1) case is true. When k = 0, lim F (s) =
s→0
α0 − β0 . α0
Let the right-hand side be 0. We have α0 = β0 . When k = 1, d [M (s)F (s)] ds d [M (s) − N (s)] ds
d d M (s) + M (s) F (s), ds ds d d M (s) − N (s). ds ds
= F (s) =
Since lim F (s) = 0,
s→0
the derivative of F (s) is d lim F (s) = s→0 ds = Let lims→0
d ds F (s)
d d M (s) − N (s) ds ds M (s) α1 − β1 . α0
= 0. This yields α1 = β1 .
Now assume that the conclusion holds for the first (k − 1) times differentiating. To prove the theorem, it suffices to prove that the conclusion holds for the kth differentiating. Consider the following fact: dk [M (s)F (s)] dsk
=
dk [M (s) − N (s)] dsk
=
dk−1 dk d M (s)F (s) + Ck1 k−1 M (s) F (s) + ... k ds ds ds d dk dk−1 + Ckk−1 M (s) k−1 F (s) + M (s) k F (s) ds ds ds dk dk M (s) − k N (s), dsk ds
186
Quantitative Process Control Theory
where Cki =
k! . i!(k − i)!
With the assumption, we have k
lim
s→0
d F (s) dsk
= =
dk dk M (s) − N (s) dsk dsk M (s) αk − βk . α0
The left-hand side is 0. Therefore, αk = βk . This completes the proof. Corollary 7.1.4. Given the transfer function N (s)/M (s). N (s) d N (s) lim 1 − = 0 and lim 1− =0 s→0 s→0 ds M (s) M (s) hold if and only if the coefficients of the first 2 terms of N (s) are the same as those of M (s), respectively. If the quasi-polynomial containing a time delay is encountered when these results are used, the time delay should be substituted by its Taylor series expansion. Example 7.1.1. There are two polynomials: N (s) = (1 − θs/2)(β1 s + 1) and M (s) = (1 + θs/2)(λs + 1)2 . Compute the constant β1 that makes N (s) d N (s) lim 1 − = 0 and lim 1− =0 s→0 s→0 ds M (s) M (s) hold. According to Corollary 7.1.4, the zeroth-order and the first-order coefficients of N (s) and M (s) should equal, respectively. Both the zeroth-order coefficients of N (s) and M (s) are 1. The first-order coefficient of N (s) is β1 −θ/2 and the first-order coefficient of M (s) is 2λ + θ/2. This yields β1 = 2λ + θ. Example 7.1.2. It is known that N (s) = (β1 s+1)e−θs and M (s) = (λs+1)nj . Compute the constant β1 that makes N (s) d N (s) lim 1 − = 0 and lim 1− =0 s→0 s→0 ds M (s) M (s)
Control of Integrating Plants
187
hold. Again, the zeroth-order and the first-order coefficients of N (s) and M (s) should equal, respectively. Both the zeroth-order coefficients of N (s) and M (s) are 1. The first-order coefficient of N (s) is β1 −θ and the first-order coefficient of M (s) is nj λ. Let them equal. One readily obtains β1 = nj λ + θ.
7.2
H∞ PID Controller for Integrating Plants
In principle, the design idea of the PID controllers for stable plants is also applicable to integrating plants. Assume that the coprime factorization of G(s) is G(s) = V (s)/U (s), where U (s) and V (s) are stable proper real rational. According to the discussion in Section 3.3, all stabilizing controllers for integrating plants can be expressed as C(s) =
X(s) + U (s)Q(s) , Y (s) − V (s)Q(s)
where Q(s) is stable, and X(s) and Y (s) are stable proper real rational functions that satisfy the following equation: V (s)X(s) + U (s)Y (s) = 1. The design procedure is as follows. First, expand the time delay with the Pade approximation. Then, take the performance index as min kW (s)S(s)k∞ . Finally, design the controller by 1. Calculating the coprime factorization of the plant: G(s) = V (s)/U (s) (then S(s) = U (s)[Y (s) − V (s)Q(s)]).
2. Deriving Qopt (s) by minimizing kW (s)S(s)k∞ .
3. Introducing a filter to roll Qopt (s) off at high frequencies. 4. Computing the controller C(s) with Q(s). Such a design procedure will not be adopted in this section, since it is tedious to obtain a coprime factorization. There are only numerical algorithms available. A simple design procedure is developed here. First, following the Youla parameterization of stable plants, a transfer function Q(s) is defined: Q(s) =
C(s) . 1 + G(s)C(s)
(7.2.1)
This was already done in the last section. To guarantee the internal stability, Q(s) has to satisfy that
188
Quantitative Process Control Theory 1. Q(s) is stable. 2. G(s)[1 − G(s)Q(s)] is stable.
Next, design the optimal controller Qopt (s) for step inputs. Finally, introduce an appropriate filter for the internal stability and asymptotic tracking requirements, and compute C(s). Consider the first-order integrating process described by G(s) =
K −θs e . s
(7.2.2)
An approximate plant is obtained by employing the 1/1 Pade approximant: G(s) ≈
K(1 − θs/2) . s(1 + θs/2)
(7.2.3)
The internal stability requires that lim [1 − G(s)Q(s)] = 0.
s→0
(7.2.4)
To satisfy the condition, s must be a factor of Q(s), and the constant term of the remainder must be 1/K; that is, Q(s) =
s[1 + sQ1 (s)] , K
(7.2.5)
where Q1 (s) is a stable transfer function. Assume that the input is a unit step. Take W (s) = 1/s. The approximate plant has a RHP zero at 2/θ. By Theorem 4.2.1 we have kW (s)S(s)k∞
= kW (s)[1 − G(s)Q(s)]k∞ 2 . ≥ W θ
Minimizing the left-hand side of the equality yields
s[1 + sQ1 (s)]
= θ. 1 − G(s) min W (s)
K 2 ∞
(7.2.6)
Then the optimal controller is
Q1opt (s) =
θ . 2
Substituting this into (7.2.5) yields Qopt (s) =
s K
θ 1+ s . 2
(7.2.7)
Similar to the design for stable plants, a filter J(s) is introduced to Qopt (s)
Control of Integrating Plants
189
so that a proper Q(s) can be obtained: Q(s) = Qopt (s)J(s). For asymptotic tracking, the system with the first-order integrating plant has to be of Type 2, which imposes the following constraint on Q(s): dk [1 − G(s)Q(s)] = 0, s→0 dsk lim
k = 0, 1,
(7.2.8)
or equivalently, lim [1 − G(s)Q(s)] = 0,
(7.2.9)
d [1 − G(s)Q(s)] = 0. ds
(7.2.10)
s→0
lim
s→0
To achieve this, the filter has a more complex form than that in the system with a stable plant. It must have a zero: J(s) =
βs + 1 , (λs + 1)nj
where λ is the performance degree, nj should be large enough to make Q(s) bi-proper, and β is a positive real number and is chosen to satisfy (7.2.8). It is easy to verify that a first-order or second-order filter can not satisfy the asymptotic tracking requirement. It might as well choose a third-order filter. Utilizing Corollary 7.1.4, the filter satisfying the requirement can be obtained as follows: J(s) =
(3λ + θ/2)s + 1 . (λs + 1)3
(7.2.11)
Accordingly, the suboptimal controller is Q(s) =
s(1 + θs/2) [(3λ + θ/2)s + 1] . K(λs + 1)3
(7.2.12)
A little algebra gives C(s) = = =
Q(s) 1 − G(s)Q(s) 1 s(1 + θs/2) [(3λ + θ/2)s + 1] K (λs + 1)3 − (1 − θs/2) [(3λ + θ/2)s + 1] 1 3λθ/2 + θ2 /4 s2 + (3λ + θ)s + 1 . K λ3 s2 + (3λ2 + 3λθ/2 + θ2 /4) s
(7.2.13)
This is a PID controller. Compare it with the following PID controller: 1 1 C(s) = KC 1 + + TD s . TI s TF s + 1
190
Quantitative Process Control Theory
The controller parameters are λ3 , 3λ2 + 3λθ/2 + θ2 /4 TI = 3λ + θ,
TF =
3λθ/2 + θ2 /4 , TI 1 TI . KC = 2 K 3λ + 3λθ/2 + θ2 /4 TD =
(7.2.14)
One main feature of the PID controller designed for stable plants is that the controller can be tuned for quantitative performance and robustness. This feature remains in the PID controller for integrating plants. Relationships between the performance degree and the overshoot, rise time, perturbation peak, and resonance peak are shown in Figure 7.2.1–Figure 7.2.4, respectively. The stability margin is not given here, but it can also be computed.
FIGURE 7.2.1 Overshoot of the H∞ control system with an integrating plant. Now consider the H∞ PID controller design for a second-order integrating plant. Assume the second-order integrating plant is expressed as G(s) =
K e−θs , s(τ s + 1)
(7.2.15)
where τ is the time constant. By utilizing the first-order Taylor series expan-
Control of Integrating Plants
FIGURE 7.2.2 Rise time of the H∞ control system with an integrating plant.
FIGURE 7.2.3 Perturbation peak of the H∞ control system with an integrating plant.
191
192
Quantitative Process Control Theory
FIGURE 7.2.4 Resonance peak of the H∞ control system with an integrating plant. sion, the plant can be rewritten as follows: G(s) =
K(1 − θs) . s(τ s + 1)
(7.2.16)
Apply the H∞ design procedure. The solution is Qopt (s) =
s(τ s + 1) . K
(7.2.17)
To get a proper Q(s), the following filter is introduced: J(s) =
(3λ + θ)s + 1 . (λs + 1)3
(7.2.18)
Then the unity feedback loop controller is C(s) =
1 (τ s + 1)[(3λ + θ)s + 1] . K s(λ3 s + 3λ2 + 3λθ + θ2 )
If the PID controller is in the form of 1 1 C(s) = KC 1 + + TD s , TI s TF s + 1
(7.2.19)
Control of Integrating Plants
193
the following controller parameters can readily be obtained: λ3 , 3λ2 + 3λθ + θ2 TI = 3λ + θ + τ,
TF =
(3λ + θ)τ , TI 1 TI . KC = K 3λ2 + 3λθ + θ2 TD =
7.3
(7.2.20)
H2 PID Controller for Integrating Plants
This section discusses the design of the H2 PID Controller. The design procedure is similar to that in the last section: First, the optimal controller is designed for a step input. Then, a filter is introduced for asymptotic tracking. Consider the approximate first-order integrating plant obtained by utilizing the 1/1 Pade approximant: G(s) ≈
K(1 − θs/2) . s(1 + θs/2)
(7.3.1)
The performance index is chosen as min kW (s)S(s)k2 . The internal stability requires that lim [1 − G(s)Q(s)] = 0.
s→0
The Q(s) that satisfies this requirement can be expressed as Q(s) =
s[1 + sQ1 (s)] , K
where Q1 (s) is stable. This leads to 2
= = = =
kW (s)S(s)k2
2
1
1 − θs/2
s 1 − 1 + θs/2 [1 + sQ1 (s)] 2
2
θ 1 − θs/2
1 + θs/2 − 1 + θs/2 Q1 (s) 2
2
θ
1 − θs/2 − Q1 (s) 2
2
θ 2
1 − θs/2 + kQ1 (s)k2 . 2
(7.3.2)
194
Quantitative Process Control Theory
Evidently, Q1opt (s) = 0 gives the optimal solution, which implies Qopt (s) = s/K.
(7.3.3)
To satisfy the constraints of asymptotic tracking: lim [1 − G(s)Q(s)] = 0 and lim
s→0
s→0
d [1 − G(s)Q(s)] = 0, ds
introduce the following filter: J(s) =
(2λ + θ)s + 1 . (λs + 1)2
The suboptimal solution is Q(s) = Qopt (s)J(s). The unity feedback loop controller is C(s)
= = =
Q(s) 1 − G(s)Q(s) 1 s[(2λ + θ)s + 1](1 + θs/2) 2 K (λs + 1) (1 + θs/2) − (1 − θs/2)[(2λ + θ)s + 1] (1 + θs/2)[(2λ + θ)s + 1] 1 . (7.3.4) K θλ2 s2 /2 + (λ2 + 2λθ + θ2 /2)s
Compare the obtained controller with the PID controller 1 1 C(s) = KC 1 + + TD s . TI s TF s + 1 The controller parameters are λ2 θ , 2λ2 + 4λθ + θ2 3θ TI = 2λ + , 2 (2λ + θ)θ , TD = 2TI 1 TI KC = . 2 K λ + 2λθ + θ2 /2 TF =
(7.3.5)
The relationships between the performance degree and the closed-loop responses are shown in Figure 7.3.1–Figure 7.3.4, respectively. Suppose the plant is of second-order. By applying the first-order Taylor series expansion, the approximate plant is obtained as follows: G(s) =
K(1 − θs) . s(τ s + 1)
(7.3.6)
Control of Integrating Plants
FIGURE 7.3.1 Overshoot of the H2 control system with an integrating plant.
FIGURE 7.3.2 Rise time of the H2 control system with an integrating plant.
195
196
Quantitative Process Control Theory
FIGURE 7.3.3 Perturbation peak of the H2 control system with an integrating plant.
FIGURE 7.3.4 Resonance peak of the H2 control system with an integrating plant.
Control of Integrating Plants
197
With a similar design procedure, the optimal controller is Qopt (s) =
s(τ s + 1) . K(1 + θs)
(7.3.7)
The filter is taken as (2λ + 2θ)s + 1 . (λs + 1)2
(7.3.8)
1 (τ s + 1)[(2λ + 2θ)s + 1] . K λ2 θs2 + (λ2 + 4λθ + 2θ2 )s
(7.3.9)
J(s) = It follows that C(s) =
For the PID controller in the form of 1 1 C(s) = KC 1 + + TD s , TI s TF s + 1 the parameters are as follows: λ2 θ , + 4λθ + 2θ2 TI = 2λ + 2θ + τ,
TF =
λ2
(2λ + 2θ)τ , TI 1 TI KC = . K λ2 + 4λθ + 2θ2 TD =
(7.3.10)
Example 7.3.1. Consider the middle column temperature control of a highpurity distillation column. The column of interest is 110 ft high. The material to be separated is the mixture of three isomers and a small amount of other heavy components. To increase the production rate, the distillation column is designed so that there is very little excess separation ability. In other words, the design has a very small safety margin. This makes tight control very important in maintaining product quality. The control strategy is illustrated in Figure7.3.5. The control objective is to keep the distillate composition nearly pure while maintaining it at a very low level in the bottom product. The heat to the column is fixed, because the heat source is a vapor boiler that runs best at a fixed rate. The feed is set to fix the overall production rate for this part of the process. Under these conditions, the composition control can be accomplished by manipulating the middle column temperature. In the control loop, the output of the process is the temperature and the input is the distillate flow rate. With open-loop step tests, the process model is obtained as follows: G(s) =
0.01 −5.5s e . s
198
Quantitative Process Control Theory
FIGURE 7.3.5 Control system of a high-purity distillation column. Take λ = 25 for the H2 PID controller given by (7.3.4): C(s) =
100(138.75s2 + 58s + 1) , s(2.75λ2 s + λ2 + 11λ + 15.125)
and λ = 16 for the H∞ PID controller given by (7.2.13): C(s) =
100[(8.25λ + 7.5625)s2 + (3λ + 5.5)s + 1] . s(λ3 s + 3λ2 + 8.25λ + 7.5625)
A unit step reference is added at t = 0 and a unit step load is added at t = 200. The nominal responses of the closed-loop system are shown in Figure 7.3.6. It is observed that both controllers give large overshoots and long settling times. This is an evident feature of the system with an integrating plant.
7.4
Controller Design for General Integrating Plants
In the system with an integrating plant, the IMC structure must be abandoned for the implementation of the control system, since there always exist zero-pole cancellations at the origin, which will cause the internal instability problem.
Control of Integrating Plants
199
FIGURE 7.3.6 Nominal responses of the H2 PID and H∞ PID controllers. Nevertheless, as it was shown in the preceding sections, even for the system with an integrating plant, the IMC controller Q(s) could be utilized to design the unity feedback loop controller. In this section, Q(s) is employed to discuss the controller design problem for general integrating plants. A general integrating plant may contain one or more poles at the origin. The analysis procedure is complicated. To simplify the presentation, only the integrating plant with a simple pole at the origin is considered in this section. A pole is simple if its multiplicity is one. The analysis for the integrating plant with multiple poles at the origin will be introduced in the next section. Without loss of generality, assume that the integrating plant is expressed by G(s) =
KN+ (s)N− (s) −θs e , sM− (s)
(7.4.1)
where K is the gain, θ is the time delay, N− (s) and M− (s) are the polynomials with roots in the open LHP, N+ (s) is a polynomial with roots in the closed RHP, N+ (0) = N− (0) = M− (0) = 1, and deg{N+ (s)} + deg{N− (s)} ≤ deg{M− (s)} + 1. First, consider the quasi-H∞ control. By following the quasi-H∞ controller design procedure for stable plants, the desired closed-loop transfer function is chosen as T (s) = N+ (s)J(s)e−θs ,
(7.4.2)
200
Quantitative Process Control Theory
where J(s) is a filter: J(s) =
(βs + 1) , (λs + 1)nj
λ is the performance degree, 2 + deg{M− } − deg{N− } deg{M− } + 1 > deg{N− } , nj = 2 deg{M− } + 1 = deg{N− } and β is determined by the following constraints: lim
s→0
dk [1 − T (s)] = 0, k = 0, 1, dsk
(7.4.3)
or equivalently, lim [1 − N+ (s)J(s)e−θs ] =
0,
d [1 − N+ (s)J(s)e−θs ] = ds
0.
s→0
lim
s→0
Notice that one zero is introduced to T (s). Since both G(s) and T (s) are known, the controller can be analytically derived: Q(s) = =
T (s) G(s) 1 sM− (s)(βs + 1) . K N− (s)(λs + 1)nj
(7.4.4)
The unity feedback loop controller is C(s) = =
1 T (s) 1 − T (s) G(s) 1 sM− (s)(βs + 1) . K N− (s)[(λs + 1)nj − (βs + 1)N+ (s)e−θs ]
(7.4.5)
The reason why the IMC structure cannot be used to control integrating plants is that there are zero-pole cancellations at the origin between Q(s) and G(s). One may want to solve the problem by combining Q(s) and G(s) into C(s). Unfortunately, the problem cannot be overcome so easily. It can be verified that lim [(λs + 1)nj − (βs + 1)N+ (s)e−θs ] = 0,
s→0
(7.4.6)
which implies that the denominator of C(s) has a root at the origin. Since there is a time delay in the denominator, the root cannot be removed directly. As a
Control of Integrating Plants
201
result, the obtained C(s) cannot guarantee the internal stability of the closedloop system. Only after the RHP root is removed by employing a rational approximation, can C(s) guarantee the internal stability of the closed-loop system. This brings on a subtle problem; that is, can Theorem 7.1.1 be used to test the internal stability of the system with an integrating plant? Actually, the statement of Theorem 7.1.1 is rigorous. The second condition of Theorem 7.1.1 is in fact equivalent to 1. lims→0 [1 − G(s)Q(s)] = 0.
2. all RHP zero-pole cancellations in [1 − G(s)Q(s)]G(s) are removed.
The design for quasi-H∞ controllers can also be carried out as follows: 1. If the plant does not have a time delay, turn to 3. 2. If the plant contains a time delay, take the rational part of the plant as the nominal plant. 3. If the nominal plant has no zeros in the RHP, take its inverse as Qopt (s) and turn to 5. 4. If the nominal plant has zeros in the RHP, remove the factor that contains these zeros and take the inverse of the remainder as Qopt (s). 5. Introduce a filter to Qopt (s), compute the controller C(s) and remove the RHP zero-pole cancellations in C(s). Now consider the H2 control. The integrating plant is G(s) =
KN+ (s)N− (s) (−θs) . e sM− (s)
(7.4.7)
The performance index is min kW (s)S(s)k2 . The internal stability imposes a constraint on Q(s): lim [1 − G(s)Q(s)] = 0.
s→0
The Q(s) that satisfies this constraint has the following expression: Q(s) =
s[1 + sQ1 (s)] , K
where Q1 (s) is stable. Then
= =
kW (s)S(s)k22
2
1
N+ (s)N− (s) −θs
(s)] 1 − [1 + sQ e 1
s
M− (s) 2
2
1 N+ (−s) θs N+ (−s)N− (s)
e − [1 + sQ1 (s)]
s
N+ (s) M− (s) 2
(7.4.8)
202 =
Quantitative Process Control Theory
θs
2
e N+ (−s) − N+ (s)
+
sN+ (s) 2
2
1 N+ (−s)N− (s)
− [1 + sQ1 (s)]
s
. sM− (s) 2
Solving the optimal problem yields Q1opt (s) =
M− (s) − N+ (−s)N− (s) . sN+ (−s)N− (s)
(7.4.9)
sM− (s) . KN+ (−s)N− (s)
(7.4.10)
Hence Qopt (s) = Introduce the following filter: J(s) =
βs + 1 , (λs + 1)nj
(7.4.11)
where λ is the performance degree, 2 + deg{M− } − deg{N+ } deg{M− } + 1 > deg{N+ } + deg{N− } − deg{N− } . nj = 2 deg{M− } + 1 = deg{N+ } + deg{N− }
Consequently,
Q(s) = Qopt (s)J(s) =
sM− (s)(βs + 1) . KN+ (−s)N− (s)(s + 1)nj
(7.4.12)
β is determined by the constraints of asymptotic tracking: lim
s→0
dk [1 − G(s)Q(s)] = 0, k = 0, 1, dsk
or equivalently, N+ (s) J(s)e−θs ] N+ (−s) d N+ (s) lim [1 − J(s)e−θs ] s→0 ds N+ (−s) lim [1 −
s→0
= 0, = 0.
The design procedure for H2 controllers can be described in a way similar to that for quasi-H∞ controllers, except that Step 4 is modified as follows. When the nominal plant has zeros in the RHP, construct an allpass transfer function with the factor that contains these zeros and then remove the all-pass transfer function, take the inverse of the remainder as Qopt (s).
Control of Integrating Plants
203
In the above design procedures, a Type 2 controller was derived by modifying a Type 1 controller. A question of interest is what difference exists between the two controllers. As a comparison, a Type 2 system is directly designed here; that is, take W (s) = 1/s2 . The first step is to determine the form of the Q(s) for a Type 2 system. Q(s) should satisfy the following two conditions: lim [1 − G(s)Q(s)]
=
0,
(7.4.13)
d [1 − G(s)Q(s)] ds
=
0.
(7.4.14)
s→0
lim
s→0
The Q(s) that satisfies the first condition can be expressed as Q(s) =
s[1 + sQ1 (s)] , K
(7.4.15)
where Q1 (s) is stable. Substituting this into the left-hand side of the second condition, we have d N+ (s)N− (s) −θs lim 1− e [1 + sQ1 (s)] s→0 ds M− (s) d N+ (s)N− (s) −θs N+ (s)N− (s) −θs = − lim +s e e Q1 (s) . s→0 ds M− (s) M− (s) The second condition gives Q1 (0) = θ +
d d d M− (0) − N+ (0) − N− (0). ds ds ds
(7.4.16)
Then, the Q(s) that satisfies the two conditions can be written as Q(s) =
s[1 + sQ1 (0) + s2 Q2 (s)] , K
(7.4.17)
where Q2 (s) is stable. Therefore,
= =
=
kW (s)S(s)k22
2
1 N+ (s)N− (s) −θs 2
e [1 + sQ1 (0) + s Q2 (s)]
s2 1 − M− (s) 2
1 N+ (−s) θs N+ (−s)N− (s)
e − [1 + sQ1 (0) + s2 Q2 (s)]
s2 N+ (s) M− (s)
2 d
θs
e N+ (−s) − N+ (s)[1 + θs − 2 N+ (0)s]
ds
+
s2 N+ (s)
2
2
2
204
Quantitative Process Control Theory
2
d
1 + θs − 2 N+ (0)s
ds −
2 s
.
N (−s)N (s) −
+ 2 (s)] Q (0) + s [1 + sQ
2 1 s2 M− (s) 2
It is evident that when Q2opt (s) =
d N+ (0)s]M− (s) 1 + Q (0)s 1 ds − , s2 N+ (−s)N− (s) s2
M− (s)[1 + θs − 2
(7.4.18)
the right-hand side is minimum. The optimal controller is Qopt (s) =
d N+ (0)s] ds . KN+ (−s)N− (s)
sM− (s)[1 + θs − 2
(7.4.19)
Introduce a Type 2 filter. The suboptimal controller is Q(s) =
d d N+ (0)s]{[nj λ + 2 N+ (0)]s + 1} ds ds , (7.4.20) KN+ (−s)N− (s)(λs + 1)nj
sM− (s)[1 + θs − 2
where 3 + deg{M− } − deg{N+ } − deg{N− } nj = 3
deg{M− } + 1 > deg{N+ } + deg{N− }
.
deg{M− } + 1 = deg{N+ } + deg{N− }
It is easy to verify that the optimal performance of the Type 2 controller designed for W (s) = 1/s is
N+ (−s) − N+ (s)e−θs
, min kW (s)S(s)k2 = (7.4.21)
sN+ (−s) 2 while the optimal performance of the Type 2 controller designed for W (s) = 1/s2 is
=
min kW (s)S(s)k2
N+ (−s) − N+ (s)
[1 + θs − 2 d N (0)s][2 d N (0)s + 1]e−θs + +
ds ds
.
2 s N+ (−s)
(7.4.22)
2
When there exists uncertainty, the robustness of the system with an integrating plant can be analyzed with the necessary and sufficient condition in Theorem 3.4.2: k∆m (s)T (s)k∞ < 1.
(7.4.23)
Control of Integrating Plants
205
With a similar tuning procedure to that in the system with a stable plant, the quantitative performance and robustness can also be achieved: Increase the performance degree monotonically until the required response is obtained. In comparison to that in the system with a stable plant, the performance degree in the system with an integrating plant is usually large.
7.5
Maclaurin PID Controller for Integrating Plants
To design a PID controller by utilizing the Maclaurin series expansion, a closed-loop transfer function must be determined first. Assume that the integrating plant has m poles at the origin: G(s) =
KN+ (s)N− (s) −θs e . sm M− (s)
(7.5.1)
The closed-loop transfer function at least should be a stable transfer function. A reasonable form of T (s) is T (s) = N+ (s)J(s)e−θs ,
(7.5.2)
where J(s) is a filter: J(s) =
Nx (s) , (λs + 1)nj
λ is the performance degree, and 2m + deg{M− } − deg{N− } nj = m+1
deg{M− } + m > deg{N− } . deg{M− } + m = deg{N− }
Nx (s) is a polynomial with its roots in the open LHP, Nx (0) = 1, and deg{Nx (s)} = m. Nx (s) is determined by the asymptotic tracking constraints: dk [1 − T (s)] = 0, k = 0, 1, ..., m. s→0 dsk lim
(7.5.3)
This T (s) corresponds to the quasi-H∞ control. If the closed-loop transfer function is in the form of T (s) =
N+ (s) J(s)e−θs , N+ (−s)
where J(s) =
Nx (s) , (λs + 1)nj
(7.5.4)
206
Quantitative Process Control Theory
λ is the performance degree, 2m + deg{M− } − deg{N+ } − deg{N− } nj = m+1
deg{M− } + m > deg{N+ } + deg{N− }
,
deg{M− } + m = deg{N+ } + deg{N− }
and the determination of Nx (s) is similar to that for the quasi-H∞ control, then, the H2 control is achieved. Both the quasi-H∞ controller and the H2 controller can be computed by C(s)
1 T (s) . G(s) 1 − T (s)
=
(7.5.5)
Since T (0) = 1, C(s) has a pole at the origin. Write C(s) in the form of C(s) =
f (s) . s
The Maclaurin series expansion of C(s) is f ′′ (0) 2 1 f (0) + f ′ (0)s + C(s) = s + ... . s 2!
(7.5.6)
Omit those high-order terms. Only the first three terms are taken to approximate the ideal controller. The three terms form a PID controller: 1 C(s) = KC 1 + + TD s , TI s whose parameters are KC = f ′ (0),
TI =
f ′ (0) , f (0)
TD =
f ′′ (0) . 2f ′ (0)
(7.5.7)
Furthermore, define f (s) =
N (s) , M (s)
(7.5.8)
where M (s) and N (s) are polynomials. The values of f (s) and its derivatives at the origin are N (0) , M (0) N ′ (0)M (0) − M ′ (0)N (0) f ′ (0) = , M (0)2 f (0) =
N ′′ (0)M (0)2 − M ′′ (0)N (0)M (0)−
f ′′ (0) =
2M ′ (0)N ′ (0)M (0) + 2M ′ (0)2 N (0) . M (0)3
(7.5.9)
Control of Integrating Plants
207
Two cases are considered: the plant is of first order and the plant is of second order. First, assume that the plant is K −θs (7.5.10) e . s As N+ (s) = 1, (7.5.2) is identical to (7.5.4). The closed-loop transfer function with the asymptotic tracking property is G(s) =
T (s) =
(2λ + θ)s + 1 −θs e . (λs + 1)2
(7.5.11)
Then N (s) = M (s) =
(2λ + θ)s + 1 , K (λs + 1)2 − [(2λ + θ)s + 1]e−θs , s2
which yields 1 , K 2λ + θ N ′ (0) = , K N ′′ (0) = 0, N (0) =
2λ2 + 4λθ + θ2 , 2 −3λθ2 − θ3 M ′ (0) = , 3 3 4 3θ + 8θ λ . M ′′ (0) = 12 The values of f (s) and its first and second derivatives at the origin are M (0) =
2 , + 4λθ + θ2 ) 2(12λ3 + 30λ2 θ + 24λθ2 + 5θ3 ) f ′ (0) = , 3K(2λ2 + 4λθ + θ2 )2 θ2 (288λ4 + 768λ3 θ + 702λ2 θ2 + 252λθ3 + 31θ4 ) . f ′′ (0) = 9K(2λ2 + 4λθ + θ2 )3 f (0) =
K(2λ2
(7.5.12)
Consequently, the controller parameters are 2θ3 + 6λθ2 , 3(2λ2 + 4λθ + θ2 ) 2TI KC = , 2 K(2λ + 4λθ + θ2 ) θ2 (288λ4 + 768λ3 θ + 702λ2 θ2 + 252λθ3 + 31θ4 ) TD = . 36TI (2λ2 + 4λθ + θ2 )2 TI = 2λ + θ +
(7.5.13)
208
Quantitative Process Control Theory
The formula seems a bit complicated. However, the computation is not difficult, since all parameters of the plant are known. Next, consider the second-order plant: G(s) =
K e−θs . s(τ s + 1)
(7.5.14)
The closed-loop transfer function with the asymptotic tracking property can be written as T (s) =
(3λ + θ)s + 1 −θs e . (λs + 1)3
(7.5.15)
Then N (s) = M (s) =
(τ s + 1)[(3λ + θ)s + 1] , K (λs + 1)3 − [(3λ + θ)s + 1]e−θs . s2
This yields N (0) = N ′ (0) = N ′′ (0) = M (0) = M ′ (0) = M ′′ (0) =
1 , K 3λ + τ + θ , K 2τ (3λ + θ) , K 6λ2 + 6λθ + θ2 , 2 6λ3 − 9λθ2 − 2θ3 , 6 θ4 + 4λθ3 . 4
The values of f (s) and its first and second derivatives at the origin are 2 , K(6λ2 + 6λθ + θ2 ) 2(18τ λ2 + 3θ2 τ + 18τ λθ + 72λ2 θ + 5θ3 + 36λθ2 + 48λ3 ) f ′ (0) = , 3K(6λ2 + θ2 + 6θλ)2 f (0) =
8352τ λ3 θ2 + 31θ6 − 1152λ6 + 3456τ λ5 + 60τ θ5 + 1602λ2 θ4 + 378λθ5 + 2640λ3θ3 + 864λ4 θ2 −
f ′′ (0) =
1728λ5 θ + 8640τ λ4 θ + 792τ λθ4 + 3816τ λ2 θ3 . 9K(6λ2 + 6λθ + θ2 )3
Control of Integrating Plants
209
Therefore, the controller parameters are 5θ3 + 36λθ2 + 48λ3 + 72θλ2 , 3(6λ2 + 6λθ + θ2 ) 2TI , KC = 2 K(6λ + 6λθ + θ2 ) TI = τ +
240τ λ4 θ + 22τ λθ4 + 232τ λ3 θ2 + 106τ λ2 θ3 +
(7.5.16)
5τ θ5 /3 + 96τ λ5 + 89θ4 λ2 /2 + 31θ6 /36 − 48λ5 θ+ TD =
7.6
24λ4 θ2 + 21λθ5 /2 + 220λ3 θ3 /3 − 32λ6 . TI (6λ2 + 6λθ + θ2 )2
The Best Achievable Performance of a PID Controller
There exists a compromise between good performance and computation complexity in choosing the design method. On one hand, a good result can be expected if the Pade approximation is applied to the reduction of the whole controller. The result is, however, relatively complicated. On the other hand, it will give a simple but not so good result to expand time delay by applying the first-order rational approximation first and then designing the controller for the approximate plant. In this section, the former method is employed to design the PID controller with the best achievable performance. A general integrating plant can be described as KN+ (s)N− (s) −θs e . sm M− (s)
G(s) =
(7.6.1)
Suppose that the closed-loop transfer function T (s) is given as that in (7.5.2) or (7.5.4). The controller can be computed by C(s)
1 T (s) . G(s) 1 − T (s)
=
(7.6.2)
C(s) has a pole at the origin. Express it as C(s) =
f (s) . s
(7.6.3)
Using the Maclaurin series expansion, we have f (s) = f (0) + f ′ (0)s +
f ′′ (0) 2 f (3) (0) 3 s + s + .... 2! 3!
(7.6.4)
210
Quantitative Process Control Theory
A practical PID controller can be written as C(s) =
a 2 s2 + a 1 s + a 0 . s(b1 s + 1)
(7.6.5)
Let the Pade approximation of f (s) be a 2 s2 + a 1 s + a 0 . b1 s + 1
(7.6.6)
Then a0 a1 = a2
b1 f ′′ (0)/2! =
f (0) 0 1 f ′ (0) f (0) , b1 f ′′ (0)/2! f ′ (0)
−f (3) (0)/3!.
(7.6.7) (7.6.8)
This yields a0 = f (0), a1 = b1 f (0) + f ′ (0), a2 = b1 f ′ (0) + f ′′ (0)/2!, b1 = −
(7.6.9)
f (3) (0) . 3f ′′ (0)
If the PID controller is in the form of 1 1 + TD s , C = KC 1 + TI s TF s + 1 a little computation gives K C = a1 ,
TI =
a1 , a0
TD =
a2 , a1
TF = b1 .
(7.6.10)
As discussed in Section 5.6, all of these parameters should be chosen as positive numbers. Consider the plant G(s) =
Ke−θs . s
(7.6.11)
Control of Integrating Plants
211
The value of f (s) and its derivatives at the origin are 2 , K(2λ2 + θ2 + 4λθ) 2(12λ3 + 24λθ2 + 30λ2 θ + 5θ3 ) , f ′ (0) = 3K(2λ2 + θ2 + 4λθ)2 f (0) =
f ′′ (0) =
θ2 (768θλ3 + 252λθ3 + 702θ2 λ2 + 31θ4 + 288λ4 ) , 9K(2λ2 + θ2 + 4λθ)3
(7.6.12)
θ3 (121θ6 − 2880λ6 + 1044θ2 λ4 +
5040θλ5 + 1248λθ5 + 4620λ2 θ4 + 6696λ3 θ3 ) . 45K(2λ2 + θ2 + 4λθ)4
f (3) (0) =
The controller parameters are obtained as follows: a0 =
2 , K(2λ2 + θ2 + 4λθ) 4(109θ5 + 1026λθ4 + 3648λ2 θ3 +
a1 =
6090λ3 θ2 + 4800θλ4 + 1440λ5 ) 5K(252θ3λ + 702θ2 λ2 + 768θλ3 +
,
31θ4 + 288λ4 )(2λ2 + θ2 + 4λθ) (265θ5 + 2496λθ4 + 9000λ2θ3 + a2 =
15408θ2λ3 + 12480θλ4 + 3840λ5 ) 10K(768θλ3 + 252θ3 λ + 702θ2 λ2 +
(7.6.13) ,
31θ4 + 288λ4 )(2λ2 + θ2 + 4λθ) θ(121θ6 + 1248θ5 λ − 2880λ6 + 6696θ3λ3 − b1 = −
5040θλ5 + 1044θ2 λ4 + 4620θ4λ2 )
15(768θλ3 + 252θ3 λ + 702θ2 λ2 + 31θ4 +
.
288λ4 )(2λ2 + θ2 + 4λθ)
7.7
Summary
In traditional textbooks, the control problem of integrating plants is seldom discussed. This chapter discusses the problem. A conclusion drawn in this chapter is that, if the integrating plant in the unity feedback loop has m poles at the origin, the control system should be designed as a Type m + 1 system. This constraint must be considered in controller design; otherwise, the resulting controller may not reject disturbances asymptotically. Several controllers are analytically designed in this chapter based on the
212
Quantitative Process Control Theory
optimal control theory. The obtained controllers, similar to those for stable plants, can also be tuned for quantitative performance and robustness. Assume that the plant is G(s) =
K −θs e . s
The H∞ PID controller is λ3 , 3λ2 + 3λθ/2 + θ2 /4 TI = 3λ + θ,
TF =
3λθ/2 + θ2 /4 , TI 1 TI KC = . K 3λ2 + 3λθ/2 + θ2 /4 TD =
The H2 PID controller is λ2 θ , + 4λθ + θ2 3θ TI = 2λ + , 2 (2λ + θ)θ TD = , 2TI 1 TI KC = . K λ2 + 2λθ + θ2 /2 TF =
2λ2
The Maclaurin PID controller is 2θ3 + 6λθ2 , 3(2λ2 + 4λθ + θ2 ) 2TI KC = , 2 K(2λ + 4λθ + θ2 ) θ2 (288λ4 + 768λ3 θ + 702λ2 θ2 + 252λθ3 + 31θ4 ) . TD = 36TI (2λ2 + 4λθ + θ2 )2 TI = 2λ + θ +
The PID controller with the best achievable performance is K C = a1 , a1 TI = , a0 a2 TD = , a1 T F = b1 .
Control of Integrating Plants
213
Sometimes, the plant is described by G(s) =
K e−θs . s(τ s + 1)
The H∞ PID controller is λ3 , + 3λθ + θ2 TI = 3λ + θ + τ,
TF =
3λ2
(3λ + θ)τ , TI 1 TI . KC = K 3λ2 + 3λθ + θ2 TD =
The H2 PID controller is λ2 θ , λ2 + 4λθ + 2θ2 TI = 2λ + 2θ + τ,
TF =
(2λ + 2θ)τ , TI TI 1 KC = . K λ2 + 4λθ + 2θ2 TD =
The Maclaurin controller is 5θ3 + 36λθ2 + 48λ3 + 72θλ2 , 3(6λ2 + 6λθ + θ2 ) 2TI , KC = K(6λ2 + 6λθ + θ2 ) TI = τ +
240τ λ4 θ + 22τ λθ4 + 232τ λ3 θ2 + 106τ λ2 θ3 + 5τ θ5 /3 + 96τ λ5 + 89θ4 λ2 /2 + 31θ6 /36 − 48λ5 θ+ TD =
24λ4 θ2 + 21λθ5 /2 + 220λ3 θ3 /3 − 32λ6 . TI (6λ2 + 6λθ + θ2 )2
It is seen that the formulas for integrating plants are more complicated than those for stable plants. This is because integrating plants are more difficult to control. One main feature of the control system with an integrating plant is that the closed-loop response has a large overshoot and long settling time. This problem can be solved well in a 2 DOF control system. The 2 DOF control problem will be studied in Chapter 9.
214
Quantitative Process Control Theory
Exercises 1. Assume that G(s) is MP and rational, but not necessarily stable. Prove that all stabilizing controllers can be parameterized as C(s) =
1 1 − , Q′ (s) G(s)
where Q′ (s) is a stable nonzero transfer function. 2. The very large spacecraft often extends solar panels to generate electrical energy (Figure E7.1). As a result, the spacecraft is very flexible. When a thruster fires to push such a spacecraft to change position, the entire vehicle moves (rigid motion) about some center of gravity, but individual parts of the vehicle bend and oscillate (flexible motion) in the same way that a taut guitar string oscillates when plucked. Most aircrafts and satellites have both rigid and flexible behaviors. The model of a spacecraft with flexible behaviors is given by G(s) =
1 1 (Rigid) − 2 (Flexible). 2 s s +s+1
FIGURE E7.1 A flexible spacecraft. Design a quasi-H∞ controller for the spacecraft. 3. The following model can be used to describe the behavior of some distillation columns: G(s) =
(1 − ke−θs ) . s
The system input is a step. Design a Q(s) with the H2 method.
Control of Integrating Plants
215
4. Disk drives are widely used in computers of all sizes. The goal of the disk drive reader device is to position the reader head in order to read the data stored in a track on the disk (Figure E7.2). The disk drive reader uses a voice coil motor to rotate the reader arm. The error signal is provided by reading a prerecorded index track. The model of a disk drive is given by G(s) =
5 . s(s + 20)
FIGURE E7.2 A disk drive. The time unit here is ms. Design a PID controller to reach the requirements that the overshoot is less than 5% and the settling time is less than 50 ms. 5. Let N (s) be a polynomial and N (si ) = γi ,
i = 1, 2, ..., r.
Then N (s) can be obtained by using the Lagrange’s interpolation formula: Y s − sj Y s − sj Y s − sj + γ2 + ... + γr . N (s) = γ1 s1 − sj s2 − sj sr − sj j6=1
j6=2
j6=r
The formula can be used to solve many problems, for example, the model match problem. Find a polynomial N (s) such that N (1) = 0.5 and N (2) = 4.
216
Quantitative Process Control Theory
6∗ . The rotational dynamics of a s spacecraft rigid body can be modeled as G(s) =
1 , Js2
where J = 5700 denotes the polar moment of inertia. The design goal is to find a stabilizing controller C(s) that has a control loop bandwidth 10 rad/s. Design the controller by state space methods and compare the design procedure with that in this chapter.
Notes and References The material in Section 7.1 is based on Zhang (1998). The design method for the H∞ PID controller in Section 7.2 is drawn from Zhang (1998) and Zhang et al. (1999). The H2 PID controller in Section 7.3 was given in Zhang (1998). The design problem for systems with integrating plants was also studied by Morari and Zafiriou (1989), Normey-Rico and Camacho (2002), Kwak et al. (2001), Chien et al. (2002), etc. The plant in Example 7.3.1 is from Chien and Fruehauf (1990). Figure 7.3.5 is drawn based on Chien and Fruehauf (1990, Figure 10). The presentation in Section 7.4 is based on Zhang et al. (2006). The parameterization in Exercise 1 is the main result of Glaria and Goodwin (1994). For further discussion one can refer to Zhang et al. (2002). The plant in Exercise 2 was given by Stefani et al. (2002, p. 480). The plant in Exercise 4 is adapted from Dorf and Bishop (2001, p. 719). Exercise 5 is from Dorato et al. (1992, p. 14). Exercise 6 is adapted from Mathworks (2001, p. 76). This plant is selected because it is from a typical example used to illustrate the H∞ control. The discussion about the double-integrator plant can also be found in Liu et al. (2004).
8 Control of Unstable Plants
CONTENTS 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8
Controller Parameterization for General Plants . . . . . . . . . . . . . . . . . . . . . . . . . . H∞ PID Controller for Unstable Plants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H2 PID Controller for Unstable Plants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performance Limitation and Robustness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Maclaurin PID Controller for Unstable Plants . . . . . . . . . . . . . . . . . . . . . . . . . . . PID Design for the Best Achievable Performance . . . . . . . . . . . . . . . . . . . . . . . . All Stabilizing PID Controllers for Unstable Plants . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217 223 228 235 242 246 248 251 253 255
This chapter concentrates on the control problem of unstable plants. In SISO design, all plants are categorized into three types: stable plants, integrating plants, and unstable plants. In this way, controllers can be designed aiming at the reduced scope of plants, so that the design is more effective and simple controllers are easier to obtain. Most practical plants are stable. Unstable dynamics can only be found in a few plants. Such plants are difficult to control. There are two main challenges in the design of control systems with an unstable plant. First, the existence of RHP poles makes the stabilization of the closed-loop system difficult to reach. Next, the combined effect of RHP poles and the time delay greatly limits the achievable performance. The study of this topic is of great theoretical significance, since stable plants and integrating plants can be viewed as the special case of unstable plants. In the control system with an unstable plant, there exists a limit to the ratio of the time constant to the time delay. If no further explanation is given, it is assumed that the condition is satisfied.
8.1
Controller Parameterization for General Plants
The Youla parameterization is an important basis of many optimization-based design methods, since it automatically guarantees the internal stability of the obtained closed-loop system and thus simplifies the searching procedure 217
218
Quantitative Process Control Theory
for optimal controllers. Nevertheless, while this tool possesses considerable advantages, it suffers from several limitations in the design methods of this book: 1. The parameterization cannot be directly used for the plant with time delay. 2. To obtain the parameterization, one has to compute the coprime factorization of plant. As no analytical methods are available, the computation is involved. 3. The Q(s) in the general parameterization no longer corresponds to the IMC controller. In this section, a parameterization for the plant with time delay will be developed based on algebra theory. As a matter of fact, the special cases of the new parameterization have already been used in the preceding chapters. Consider the unity feedback loop, in which the transfer function of the plant is given by G(s) =
KN+ (s)N− (s) −θs e , M+ (s)M− (s)
(8.1.1)
where K is the gain, θ is the time delay, N− (s) and M− (s) are the polynomials with roots in the open LHP, N+ (s) and M+ (s) are the polynomials with roots in the closed RHP, N+ (0) = N− (0) = M− (0) = M+ (0) = 1, and deg{N+ } + deg{N− } ≤ deg{M− } + deg{M+ }. Assume that G(s) has rp unstable poles and the unstable pole pj (Re(pj ) ≥ 0; j = 1, 2, ..., rp ) is of lj multiplicity; that is, M+ (s) =
rp Y
j=1
(s − pj )lj .
(8.1.2)
N+ (s) and M+ (s) do not have common roots; that is, there is no RHP zeropole cancellation in G(s). Define Q(s) =
C(s) , 1 + G(s)C(s)
(8.1.3)
which corresponds to the IMC controller. The closed-loop system is internally stable, if and only if all elements in the transfer matrix H(s) are stable: G(s)Q(s) G(s)[1 − G(s)Q(s)] . (8.1.4) H(s) = Q(s) −G(s)Q(s) Theorem 8.1.1. The unity feedback system with a general plant G(s) is internally stable if and only if
Control of Unstable Plants
219
1. Q(s) is stable. 2. [1 − G(s)Q(s)]G(s) is stable. Or equivalently, 1. Q(s) is stable. 2. 1 − G(s)Q(s) has zeros wherever G(s) has unstable poles. 3. All RHP zero-pole cancellations in [1 − G(s)Q(s)]G(s) are removed. Proof. Similar to that of Theorem 7.1.1. Example 8.1.1. This example is used to illustrate that the third condition in Theorem 8.1.1 is necessary. Consider the plant with the transfer function G(s) =
1 . s−1
G(s) has one simple RHP pole at s = 1. Construct a controller C(s) =
s−1 . e0.1s (e−0.1 s − 0.1s + 0.1) − 1
The Q(s) corresponding to this C(s) is Q(s) =
s−1 . e0.1s (e−0.1 s − 0.1s + 0.1)
Q(s) is stable. The first condition is satisfied. Furthermore, 1 − G(s)Q(s) =
e0.1s (e−0.1 s − 0.1s + 0.1) − 1 . e0.1s (e−0.1 s − 0.1s + 0.1)
It has zeros where G(s) has unstable poles. The second condition is also satisfied. However, the closed-loop system is internally unstable, because there exists a RHP zero-pole cancellation in [1 − G(s)Q(s)]G(s), which cannot be removed. The case associated with the third condition occurs only in the system where the plant or the controller contains a time delay. If both the plant and the controller are rational, it is not necessary to consider the third condition. In control system design, G(s)Q(s) is always stable. Since [1 − G(s)Q(s)]G(s) = C −1 (s)Q(s)G(s), the third condition can be satisfied by removing the RHP zero-pole cancellation in C(s) with a rational approximation.
220
Quantitative Process Control Theory
Theorem 8.1.2. All controllers that make the unity feedback control system internally stable can be parameterized as C(s) =
Q(s) , 1 − G(s)Q(s)
Q(s) =
Q1 (s)M+ (s) . K
where
Q1 (s) is any stable transfer function that makes Q(s) proper and satisfies dk Q1 (s)N+ (s)N− (s)e−θs = 0, k = 0, 1, ..., lj − 1, lim 1− s→pj dsk M− (s) and all RHP zero-pole cancellations in [1 − G(s)Q(s)]G(s) are removed. Proof. To guarantee the internal stability of the closed-loop system, firstly, Q(s) should be stable. This implies that Q(s) should be proper and Q1 (s) should be stable. Secondly, [1 − G(s)Q(s)]G(s) should be stable. This condition has three implications: Q(s) cancels all RHP poles of G(s), 1 − G(s)Q(s) cancels all RHP poles of G(s), and all RHP zero-pole cancellations in [1 − G(s)Q(s)]G(s) are removed. All stable transfer functions that have zeros wherever G(s) has RHP poles can be expressed as Q(s) =
Q1 (s)M+ (s) , K
where Q1 (s) is a stable transfer function that makes Q(s) proper. It follows that 1 − G(s)Q(s) = 1 −
Q1 (s)N+ (s)N− (s)e−θs . M− (s)
That 1 − G(s)Q(s) has zeros wherever G(s) has RHP poles is equivalent to dk Q1 (s)N+ (s)N− (s)e−θs = 0, k = 0, 1, ..., lj − 1. lim 1 − s→pj dsk M− (s) Corollary 8.1.3. Assume that G(s) is a stable plant. That is, M+ (s) = 1. All controllers that make the unity feedback control system internally stable can be parameterized as C(s) =
Q(s) , 1 − G(s)Q(s)
where Q(s) is any stable transfer function.
Control of Unstable Plants
221
Example 8.1.2. Consider a plant with the transfer function G(s) =
s−2 . (s − 1)(s + 2)
The plant has only one simple unstable pole at s = 1. By Theorem 8.1.2, we have Q(s) = (s − 1)Q1 (s), where Q1 (s) is a stable transfer function satisfying s−2 = 0. lim 1 − Q1 (s) s→1 s+2 This is equivalent to Q1 (s) = −3 + (s − 1)Q2 (s), where Q2 (s) is any stable transfer function that makes Q(s) proper. All controllers that make the unity feedback system internally stable can be parameterized as C(s) =
(s − 1)(s + 2)[−3 + (s − 1)Q2 (s)] . (s + 2) − (s − 2)[−3 + (s − 1)Q2 (s)]
Example 8.1.3. Consider the stabilizing problem of the plant G(s) =
1 . (s − 1)(s − 2)
The plant has one unstable pole at s = 1 and s = 2, respectively. Then Q(s) = (s − 1)(s − 2)Q1 (s), where Q1 (s) is a stable transfer function satisfying lim [1 − Q1 (s)] =
0,
lim [1 − Q1 (s)] =
0.
s→1
s→2
This is equivalent to Q1 (s) = 1 + (s − 1)(s − 2)Q2 (s), where Q2 (s) is any stable transfer function that makes Q(s) proper. All controllers that make the unity feedback system internally stable can be parameterized as C(s)
1 + (s − 1)(s − 2)Q2 (s) −Q2 (s) −1 = (s − 1)(s − 2) − . Q2 (s)
=
222
Quantitative Process Control Theory
When the system performance is considered, it is always desirable that the system should have asymptotic tracking property. The parameterization can be further developed to cover the requirement of asymptotic tracking. Theorem 8.1.4. All controllers that make the unity feedback control system internally stable and have the asymptotic tracking property for a step input can be parameterized as C(s) =
Q(s) , 1 − G(s)Q(s)
where Q(s) =
[1 + sQ2 (s)]M+ (s) . K
Q2 (s) is any stable transfer function that makes Q(s) proper and satisfies dk [1 + sQ2 (s)]N+ (s)N− (s)e−θs lim = 0, k = 0, 1, ..., lj − 1, 1− s→pj dsk M− (s) and all RHP zero-pole cancellations in [1 − G(s)Q(s)]G(s) are removed. Proof. The proof of this theorem is similar to that of Theorem 8.1.2. Q(s) should be stable and have zeros wherever G(s) has RHP poles. Such a transfer function can be expressed as Q(s) =
Q1 (s)M+ (s) , K
where Q1 (s) is stable. If lim [1 − G(s)Q(s)] = 0,
s→0
the closed-loop system possesses the asymptotic tracking property, which implies that Q1 (s) = 1 + sQ2 (s), where Q2 (s) is a stable transfer function that makes Q(s) proper. This leads to 1 − G(s)Q(s) = 1 −
[1 + sQ2 (s)]N+ (s)N− (s)e−θs . M− (s)
Q2 (s) should satisfy dk [1 + sQ2 (s)]N+ (s)N− (s)e−θs lim = 0, k = 0, 1, ..., lj − 1. 1− s→pj dsk M− (s) The condition cannot guarantee the internal stability of the unity feedback control system, unless all RHP zero-pole cancellations in [1 − G(s)Q(s)]G(s) are removed.
Control of Unstable Plants
223
It is seen that no coprime factorization is used in the new controller parameterization. Nevertheless, the properness of Q(s) and the related constraints must be tested. In the design framework of this book, the parameterization is only used to derive the analytical design formula. Its computing is not necessary.
8.2
H∞ PID Controller for Unstable Plants
Assume that the transfer function of the plant is G(s) =
K e−θs , τs − 1
(8.2.1)
where K is the gain, τ is the time constant, θ is the time delay. As we know, if the time delay in a plant is rigorously dealt with, it is impossible to design a PID controller analytically. A rational approximation has to be used to approximate the time delay or the whole controller. In the control of unstable plants, two rational approximations are often used to expand a time delay: one is the first-order Taylor series expansion: e−θs ≈ 1 − θs; the other is the first-order lag expansion: e−θs ≈
1 . 1 + θs
Here the design is carried out only for the former. For the latter, the design procedure is similar. With the help of the first-order Taylor series expansion, the approximate plant is obtained as follows: G(s) ≈
K(1 − θs) . τs − 1
(8.2.2)
The plant has a RHP pole at s = 1/τ . Obviously, θ and τ should not be equal; otherwise, there would be a RHP zero-pole cancellation in the model. If the closed-loop system is internally stable, then Q(s) =
(τ s − 1)Q1 (s) . K
Take the performance index as min kW (s)S(s)k∞ with W (s) = 1/s. Then W (s)S(s)
= =
W (s)[1 − G(s)Q(s)] W (s)[1 − Q1 (s)(1 − θs)].
(8.2.3)
224
Quantitative Process Control Theory
According to Theorem 4.2.1, we have kW (s)[1 − Q1 (s)(1 − θs)]k∞
≥
=
|W (1/θ)|
θ.
(8.2.4)
The left-hand side reaches its minimum value when Q1opt (s) = 1. Then the optimal controller is Qopt (s) =
τs − 1 . K
(8.2.5)
To guarantee that the controller is physically realizable, a filter must be introduced: Q(s) = Qopt (s)J(s). The closed-loop system with the filter should be internally stable: lim [1 − G(s)Q(s)] = 0,
s→1/τ
(8.2.6)
and should possess the asymptotic tracking property: lim [1 − G(s)Q(s)] = 0.
s→0
(8.2.7)
It is evident that a first-order filter cannot satisfy these requirements. Similar to the control of integrating plants, take J(s) =
βs + 1 , (λs + 1)2
(8.2.8)
where λ is the performance degree and β is a positive real number. As J(0) = 1, (8.2.7) is satisfied. It is noticed that a zero is introduced in J(s). The zero is used to satisfy (8.2.6). Elementary computation gives β=
λ2 + 2λτ + θτ . τ −θ
(8.2.9)
One readily obtains the suboptimal controller Q(s) =
(τ s − 1)(βs + 1) . K(λs + 1)2
(8.2.10)
It follows that C(s)
= =
Q(s) 1 − G(s)Q(s) 1 α 1+ , K βs
(8.2.11)
Control of Unstable Plants
225
where α=
λ2 + 2λτ + θτ . (λ + θ)2
(8.2.12)
C(s) is a PI controller. When it is used to control the original plant, the closed-loop transfer function is 2 λ + 2λτ + θτ s + 1 e−θs τ −θ 2 . (8.2.13) T (s) = (λ + θ)2 λ + 2λτ + θτ −θs (τ s − 1) s+ s+1 e τ −θ τ −θ The H∞ PID controller remains the feature of the controller for stable plants. The performance and robustness can be quantitatively tuned with the performance degree. Nevertheless, in the control system with an unstable plant, the closed-loop response is affected by the time constant in addition to the time delay (Figure 8.2.1–Figure 8.2.4).
FIGURE 8.2.1 Overshoot of the H∞ control system with an unstable plant. Similar to the design in Section 4.2, to get a controller that makes the closed-loop system have the desired properties, the requirements on Q(s) for internal stability and asymptotic tracking are temporarily relaxed when designing the optimal controller Qopt (s). These requirements can be satisfied by introducing a filter J(s) to Qopt (s). It is possible to consider these requirements in designing Qopt (s). This, however, imposes additional constraints on the design. As a result, the obtained Qopt (s) is complicated. The mathematically precise readers can interpret the design in such a way: (8.2.10) is directly given as the solution to (8.2.4) without the deriving procedure in between.
226
Quantitative Process Control Theory
FIGURE 8.2.2 Rise time of the H∞ control system with an unstable plant.
FIGURE 8.2.3 Perturbation peak of the H∞ control system with an unstable plant.
Control of Unstable Plants
227
FIGURE 8.2.4 Resonance peak of the H∞ control system with an unstable plant. One may use the second-order model with time delay: G(s) =
K e−θs , (τ1 s − 1)(τ2 s + 1)
(8.2.14)
where τ1 and τ2 are two time constants. With the same design procedure, the following optimal controller can be obtained: Qopt (s) =
(τ1 s − 1)(τ2 s + 1) . K
(8.2.15)
A filter that can guarantee the internal stability and asymptotic tracking property is J(s) =
βs + 1 , (λs + 1)3
(8.2.16)
where β=
λ3 + 3λ2 τ1 + 3λτ12 + θτ12 . τ1 (τ1 − θ)
(8.2.17)
A little algebra yields C(s) =
1 (τ2 s + 1)(βs + 1) , K s(λ3 s/τ1 + α)
(8.2.18)
where α=
λ3 + 3λ2 τ1 + 3λτ1 θ + θ2 τ1 . τ1 (τ1 − θ)
(8.2.19)
228
Quantitative Process Control Theory
If the PID controller is in the form of 1 1 C(s) = KC 1 + + TD s , TI s TF s + 1 the controller parameters are λ3 τ1 α τ2 β = τ2 + β
,
TF = TD
8.3
,
TI = τ2 + β, τ2 + β KC = . Kα
(8.2.20)
H2 PID Controller for Unstable Plants
This section studies the H2 design problem, that is, design a PID controller for the plant G(s) to minimize the 2-norm of the weighted sensitivity function. The design procedure is to parameterize all stabilizing controllers first, and then derive the optimal PID controller. The first-order Taylor series expansion is used to obtain the following plant: G(s) ≈
K(1 − θs) . τs − 1
(8.3.1)
The controller that makes the closed-loop system internally stable and have the asymptotic tracking property can be expressed as Q(s) =
(τ s − 1)[1 + sQ1 (s)] . K
(8.3.2)
G(s) has a pole in the RHP. Q1 (s) should satisfy lim [1 − G(s)Q(s)] = 0
(8.3.3)
s→1/τ
for internal stability. The performance index is taken as min kW (s)S(s)k2 and the weighting function is taken as W (s) = 1/s. Therefore, kW (s)S(s)k22
= = = =
kW (s)[1 − G(s)Q(s)]k22
2
1 1 − θs
− [1 + sQ1 (s)]
s
s 2 2
kθ − (1 − θs)Q1 (s)k2
2
θ(1 + θs)
1 − θs − (1 + θs)Q1 (s) 2
Control of Unstable Plants
229
2θ 2 2
1 − θs + kθ + (1 + θs)Q1 (s)k2 .
=
2
To minimize the right-hand side of the equality, one should take Q1opt (s) =
−θ . 1 + θs
Consequently, the optimal controller is Qopt (s) =
τs − 1 . K(1 + θs)
(8.3.4)
In the system with an unstable plant, a filter more complex than that in the system with a stable plant has to be introduced to satisfy the constraints on internal stability and asymptotic tracking. Let Q(s) = Qopt (s)J(s) and J(s) =
βs + 1 , λs + 1
(8.3.5)
where λ is the performance degree and β is a positive real number. According to (8.3.3), we get β=
λτ + λθ + 2τ θ . τ −θ
Hence, C(s)
= =
Q(s) 1 − G(s)Q(s) 1 β 1+ , Kα βs
(8.3.6)
where α=
2θ(λ + θ) . τ −θ
C(s) is a PI controller. The relationships between the closed-loop response and the performance degree are shown in Figure 8.3.1–Figure 8.3.4. Assume that the plant is of second order: G(s) =
K e−θs . (τ1 s − 1)(τ2 s + 1)
(8.3.7)
With the same design procedure, the optimal controller is obtained as follows: Qopt (s) =
(τ1 s − 1)(τ2 s + 1) . K(1 + θs)
(8.3.8)
230
Quantitative Process Control Theory
FIGURE 8.3.1 Overshoot of the H2 control system with an unstable plant.
FIGURE 8.3.2 Rise time of the H2 control system with an unstable plant.
Control of Unstable Plants
FIGURE 8.3.3 Perturbation peak of the H2 control system with an unstable plant.
FIGURE 8.3.4 Resonance peak of the H2 control system with an unstable plant.
231
232
Quantitative Process Control Theory
The following filter can guarantee the internal stability and asymptotic tracking property: βs + 1 , (λs + 1)2
J(s) =
(8.3.9)
where β=
(λ2 + 2λτ1 )(τ1 + θ) + 2τ12 θ . τ1 (τ1 − θ)
A little computation gives C(s) =
1 (τ2 s + 1)(βs + 1) , K s(λ2 θs/τ1 + α)
(8.3.10)
where α=
λ2 (τ1 + θ) + 4λτ1 θ + 2θ2 τ1 . τ1 (τ1 − θ)
Comparing it with the PID controller 1 1 C(s) = KC 1 + + TD s , TI s TF s + 1 the following parameters are obtained: λ2 θ , τ1 α τ2 β = , τ2 + β
TF = TD
TI = τ2 + β, τ2 + β KC = . Kα
(8.3.11)
Example 8.3.1. A perfectly mixed reactor is depicted in Figure 8.3.5, in which an exothermic, irreversible reaction takes place. Heat from the reaction is removed by heat transfer to the coolant in a jacket surrounding the reactor. The reactor works at an unstable working point. After the reaction begins, the temperature in the reactor increases with the temperature of the feed. The released heat is more than the heat brought out by the coolant. Therefore, the temperature in the reactor increases and the reaction speeds up. This makes the reaction release more heat and, in return, increases the temperature in the reactor. In this case, a controller is needed to guarantee the stability. Why is the reactor controlled at an unstable working point? There are two reasons: low temperature decreases the production rate, while high temperature is not safe and the quality of product is low. Choose the temperature in the reactor as the output and the flow rate of coolant as the manipulated variable. The dynamics of the reactor is described by G(s) =
1 −0.5s e . s−1
Control of Unstable Plants
233
FIGURE 8.3.5 A jacket-cooled reactor. Take λ = 1.5 for the H∞ PI controller given by (8.2.11): 1 C(s) = α 1 + , βs where α =
2λ2 + 4λ + 1 , 2(λ + 0.5)2
β
2λ2 + 4λ + 1,
=
and take λ = 3 for the H2 PI controller given by (8.3.6): β C(s) = α
1 1+ , βs
where α = β =
2λ + 1, 3λ + 2.
A unit step reference is added at t = 0 and a unit step load is added at t = 40. The nominal responses of the closed-loop system are shown in Figure 8.3.6. It is seen that the closed-loop responses have large overshoots. This is the common feature of control systems with unstable plants. The first-order lag expansion can also be utilized to obtain the approximate
234
Quantitative Process Control Theory
FIGURE 8.3.6 Nominal responses of the H2 system and H∞ system with an unstable plant. model for PID controller design. Consider the first-order plant. Expand the time delay by employing the first-order lag. The approximate plant is G(s) ≈
K . (τ s − 1)(1 + θs)
(8.3.12)
This is an MP plant. The design results of the H∞ control and H2 control are the same. The optimal controller is Qopt (s) =
(τ s − 1)(1 + θs) . K
(8.3.13)
It might as well take the filter J(s) =
βs + 1 , (λs + 1)3
(8.3.14)
where β=
λ3 3λ2 + + 3λ. τ2 τ
Then C(s) =
1 (1 + θs)(βs + 1) , Ks λ3 s/τ 2 + α
where α=
λ3 3λ2 + . 2 τ τ
(8.3.15)
Control of Unstable Plants
235
Assume that the PID controller is in the form of 1 1 C(s) = KC 1 + + TD s . TI s TF s + 1 The controller parameters are λ3 τα θβ = θ+β
,
TF = TD
8.4
,
TI = θ + β, θ+β KC = . Kα
(8.3.16)
Performance Limitation and Robustness
Consider a control system, in which the reference signal has its energy spectrum concentrated within a known frequency range. Good performance implies that the maximum magnitude of |S(jω)| in this frequency range is as small as possible. On the other hand, the maximum magnitude of |S(jω)| over all frequencies, kS(jω)k∞ , is not permitted to be too large. Unfortunately, the two aspects conflict. The situation is like a waterbed, and thus is called the waterbed effect. As |S(jω)| is pushed down in one frequency range, it pops up somewhere else. NMP plants exhibit the waterbed effect. If a plant has a zero and a pole which are close to each other in the RHP, the waterbed effect will be amplified. |S(jω)|s are then very large, both in a frequency range and over all frequencies. For example, in the following plant G(s) =
K(1 − θs) , τs − 1
(8.4.1)
if τ → θ, then the zero and the pole of G(s) are very close in the RHP. G(s) tends to be internally unstable. It can be imagined that such a plant is very difficult to control. In what follows, the performance of the system with an unstable plant is analyzed. As introduced in Section 8.1, a general unstable plant can be described by G(s) =
KN+ (s)N− (s) −θs e . M+ (s)M− (s)
(8.4.2)
Consider the quasi-H∞ control first. The quasi-H∞ control for stable plants provides us an insight into the choice of the desired closed-loop transfer function. The following desired closed-loop transfer function can be chosen: T (s) = N+ (s)J(s)e−θs ,
(8.4.3)
236
Quantitative Process Control Theory
where J(s) is the filter: J(s) =
Nx (s) , (λs + 1)nj
λ is the performance degree, deg{M+ } + deg{M− }+ deg{Nx } − deg{N− } nj = deg{Nx } + 1
deg{M+ } + deg{M− } > deg{N− } deg{M+ } + deg{M− } = deg{N− }
.
Nx (s) is a polynomial with roots in the open LHP, of which the order equals the number of the closed RHP poles of the plant, Nx (0) = 1. Since J(0) = 1, the closed-loop system satisfies the requirement of asymptotic tracking. Nx (s) is determined by the constraint of internal stability: lim
s→pj
dk [1 − T (s)] = 0, k = 0, 1, ..., lj − 1, dsk
(8.4.4)
or equivalently, lim
s→pj
dk 1 − N+ (s)J(s)e−θs = 0, k = 0, 1, ..., lj − 1. k ds
When G(s) and T (s) are known, Q(s) can be derived analytically: Q(s) = =
T (s) G(s) 1 M+ (s)M− (s)Nx (s) . K N− (s)(λs + 1)nj
(8.4.5)
Then the unity feedback loop controller is C(s) = =
T (s) 1 1 − T (s) G(s) 1 M+ (s)M− (s)Nx (s) . K N− (s)[(λs + 1)nj − N+ (s)Nx (s)e−θs ]
(8.4.6)
From (8.4.4) it is known that C(s) contains a zero and a pole at the same point in the RHP. For internal stability they must be removed by utilizing a rational approximation. The controller can also be designed with the H2 method. For step inputs, the Q(s) that makes the closed-loop system internally stable and possesses the asymptotic tracking property can be described by Q(s) =
[1 + sQ2 (s)]M+ (s) , K
Control of Unstable Plants
237
where Q2 (s) is any stable transfer function that makes Q(s) proper and satisfies dk [1 + sQ2 (s)]N+ (s)N− (s)e−θs lim = 0, k = 0, 1, ..., lj − 1. 1− s→pj dsk M− (s) The performance index is min kW (s)S(s)k2 . Then
= = =
=
=
=
kW (s)S(s)k22
2
W (s) 1 − G(s)M+ (s) [1 + sQ2 (s)]
K 2
2
1
(s) (s)s (s)N (s)N N N − − + + −θs −θs
1− − e e Q2 (s)
s
M− (s) M− (s)) 2
2
M− (s) − N+ (s)N− (s)e−θs
N+ (s)N− (s) −θs
− e Q2 (s)
sM− (s) M− (s) 2
2 θs
M− (s)N+ (−s)e − N+ (s)N− (s)N+ (−s)
−
N+ (s) −θs (s) (s)N sM + −
N+ (−s) e N (−s)N (s) − +
Q2 (s)
M− (s) 2
2
M− (s)N+ (−s)eθs − N+ (s)N− (s)N+ (−s)
−
sM− (s)N+ (s)
N (−s)N (s)
−
+
Q2 (s)
M− (s) 2
2
θs
N+ (−s)e − N+ (s)
+
(s) sN +
.
M (s) − N (s)N (−s) N (s)N (−s) + − + −
− − Q2 (s)
sM− (s) M− (s) 2
Since N+ (0) = M− (0) = N+ (0)N− (0) = 1, s must be a factor of N+ (−s)eθs − N+ (s) and M− (s) − N− (s)N+ (−s).
Expanding the right-hand side of the above equality, we have
=
kW (s)S(s)k22
N+ (−s)eθs − N+ (s) 2
+
sN+ (s) 2
2
M− (s) − N− (s)N+ (−s) N− (s)N+ (−s)
− Q2 (s)
. sM− (s) M− (s) 2
238
Quantitative Process Control Theory
Minimize the right-hand side. The optimal performance is min kW (s)S(s)k22
N+ (−s)eθs − N+ (s) 2
. =
sN+ (s) 2
(8.4.7)
Temporarily relax the requirement on Q(s). The optimal Q(s) can be derived with the help of Q2opt (s): Qopt (s) =
M+ (s)M− (s) . KN− (s)N+ (−s)
(8.4.8)
Now consider the properness problem of the controller. In order to make Qopt (s) proper, the filter J(s) is introduced: Q(s) = Qopt (s)J(s). Here J(s) =
Nx (s) , (λs + 1)nj
where deg{M+ } + deg{M− } + deg{Nx }− deg{N+ } − deg{N− } nj = deg{Nx } + 1
(8.4.9)
deg{M+ } + deg{M− } > deg{N+ } + deg{N− } deg{M+ } + deg{M− } = deg{N+ } + deg{N− }
.
Nx (s) is a polynomial with roots in the open LHP, of which the order equals the number of the closed RHP poles of the plant. Nx (0) = 1. Nx (s) can be derived from the constraint of internal stability: lim
s→pj
dk [1 − G(s)Qopt (s)J(s)] = 0, k = 0, 1, ..., lj − 1, dsk
(8.4.10)
or equivalently, lim
s→pj
dk N+ (s) −θs = 0, k = 0, 1, ..., lj − 1. 1 − J(s)e dsk N+ (−s)
Then C(s) = =
Q(s) 1 − G(s)Q(s) 1 M+ (s)M− (s)Nx (s) . (8.4.11) K N− (s)[N+ (−s)(λs + 1)nj − N+ (s)Nx (s)e−θs ]
An alternative design procedure for the quasi-H∞ controller is as follows: 1. If the plant does not have a time delay, turn to 3. 2. If the plant contains a time delay, take the rational part of the plant as the nominal plant.
Control of Unstable Plants
239
3. If the nominal plant has no zeros in the RHP, take its inverse as Qopt (s) and turn to 5. 4. If the nominal plant has zeros in the RHP, remove the factor that contains these zeros and take the inverse of the remainder as Qopt (s). 5. Introduce a filter to Qopt (s), compute the controller C(s) and remove the RHP zero-pole cancellations in C(s). The design procedure for the H2 controller is similar, except that Step 4 is modified as follows: When the nominal plant has zeros in the RHP, construct an allpass transfer function with the factor that contains these zeros and then remove the all-pass transfer function. Take the inverse of the remainder as Qopt (s). Example 8.4.1. This example is used to illustrate the above design procedures for the quasi-H∞ control and H2 control.
FIGURE 8.4.1 A bank-to-turn missile. A bank-to-turn missile is controlled for yaw acceleration (Figure 8.4.1). The input is the acceleration command and the output is the acceleration. The unit of the acceleration is g. The missile dynamics is described by G(s) =
−0.5(s2 − 2500) . (s − 3)(s2 + 50s + 1000)
Normalize the plant as follows: G(s) =
−5(−s/50 + 1)(s/50 + 1) . 12(−s/3 + 1)(s2 /1000 + s/20 + 1)
The plant does not contain any time delay, but there is a RHP zero in it. If the quasi-H∞ controller is designed, the factor that contains the zero is removed and the inverse of the remainder is taken as Qopt (s): Qopt (s) =
12(−s/3 + 1)(s2 /1000 + s/20 + 1) . −5(s/50 + 1)
240
Quantitative Process Control Theory
For the design of the H2 controller, an all-pass transfer function is constructed with the factor containing the zero: G(s) =
−5(s/50 + 1)2 −s/50 + 1 . 2 12(−s/3 + 1)(s /1000 + s/20 + 1) s/50 + 1
The next step is to remove the all-pass transfer function and take the inverse of the remainder as Qopt (s): Qopt (s) =
12(−s/3 + 1)(s2 /1000 + s/20 + 1) . −5(s/50 + 1)2
When there exists uncertainty, the analysis of the system with an unstable plant is similar to that of the system with a stable plant. The robust stability can be tested by k∆m (s)T (s)k∞ < 1.
(8.4.12)
Now consider the parameter uncertainty. Assume that the real plant is described by e e exp (−θs) K e G(s) = , τes − 1
(8.4.13)
e is the gain, τe is the time constant, and θe is the time delay. The three where K parameters are uncertain: e max ], e min , K e ∈ [K K τe ∈ [e τmin , τemax ], θe ∈ [θemin , θemax ].
The nominal plant is constructed as follows: G(s) =
Ke−θs τs − 1
with K
=
τ
=
θ
=
e max e min + K K , 2 τemin + τemax , 2 θemin + θemax . 2
The parameter uncertainty can then be expressed as |δK| ≤ ∆K
=
e max − K| < |K|, |K
(8.4.14)
Control of Unstable Plants |δτ | ≤ ∆τ
|δθ| ≤ ∆θ
241 = =
|e τmax − τ | < |τ |, |θemax − θ| < |θ|.
To use (8.4.12), one has to convert the parameter uncertainty into the unstructured uncertainty. Let the unstructured uncertain model family be Ke−θs e G(s) = [1 + δm (s)] , τs − 1
(8.4.15)
where |δm (jω)| ≤ |∆m (jω)|. When there are simultaneous uncertainties on the gain, time constant, and time delay, the following analytical expression for the unstructured uncertainty profile can be derived: jτ ω − 1 j∆θω |K| + ∆K , ω < ω∗ − 1 e |K| j(τ − ∆τ )ω + 1 ∆m (jω) = , (8.4.16) |K| + ∆K jτ ω − 1 ∗ + 1, ω ≥ ω |K| j(τ − ∆τ )ω + 1 where ω ∗ is determined by
−∆θω ∗ + arctan π ≤ ∆θω ∗ ≤ π. 2
−∆τ ω ∗ = −π, 1 − τ (−τ + ∆τ )ω ∗ 2
(8.4.17)
In particular, when only the gain is uncertain (that is, ∆τ = ∆θ = 0), the expression simplifies to ∆m (jω) = ∆K/|K|. When only the time constant is uncertain (that is, ∆K = ∆θ = 0), the expression simplifies to jτ ω − 1 − 1 . ∆m (jω) = j(τ − ∆τ )ω − 1
When only the time delay is uncertain (that is, ∆τ = ∆K = 0), ω ∗ = π/∆θ. In this case, ( ej∆θω − 1 ω < π/∆θ . ∆m (jω) = 2 ω ≥ π/∆θ With the following tuning procedure, quantitative performance and robustness can be obtained: Increase the performance degree monotonically until the required response is obtained. Compared with the performance degrees for the stable plant and the integrating plant, the one for the unstable plant is usually large.
242
8.5
Quantitative Process Control Theory
Maclaurin PID Controller for Unstable Plants
If the RHP zero-pole cancellation in the obtained controller cannot be removed directly, a rational approximation has to be used. There are many ways to reach this goal. In this section, the attention is paid to approximating a controller with the Maclaurin series expansion. Consider the plant with the transfer function G(s) =
KN+ (s)N− (s) −θs e . M+ (s)M− (s)
(8.5.1)
From the discussion in the last section, it is known that the controller designed with the quasi-H∞ method is C(s) =
1 M+ (s)M− (s)Nx (s) . K N− (s)[(λs + 1)nj − N+ (s)Nx (s)e−θs ]
(8.5.2)
The controller designed with the H2 method is C(s) =
1 M+ (s)M− (s)Nx (s) . K N− (s)[N+ (−s)(λs + 1)nj − N+ (s)Nx (s)e−θs ]
(8.5.3)
It is easy to verify that C(s) has a pole at the origin. Write C(s) in the form of C(s) =
f (s) . s
The Maclaurin series expansion of C(s) is f ′′ (0) 2 1 ′ f (0) + f (0)s + s + ... . C(s) = s 2!
(8.5.4)
Take the first three terms to approximate the ideal controller. The three terms construct a PID controller: 1 C(s) = KC 1 + + TD s , TI s of which the parameters are KC = f ′ (0),
TI =
f ′ (0) , f (0)
TD =
f ′′ (0) . 2f ′ (0)
(8.5.5)
In this PID controller, the RHP zero-pole cancellations have been removed. To simplify the presentation, let f (s) =
N (s) . M (s)
(8.5.6)
Control of Unstable Plants
243
The values of f (s) and its first-order and second-order derivatives at the origin can be written as N (0) , M (0) N ′ (0)M (0) − M ′ (0)N (0) f ′ (0) = , M (0)2 f (0) =
N ′′ (0)M (0)2 − M ′′ (0)N (0)M (0)− f ′′ (0) =
2M ′ (0)N ′ (0)M (0) + 2M ′ (0)2 N (0). . M (0)3
Consider two cases. First, assume that the plant is of first order: G(s) =
K e−θs . (τ s − 1)
(8.5.7)
The quasi-H∞ control and the H2 control give the same closed-loop transfer function: T (s) =
(βs + 1) −θs e . (λs + 1)2
(8.5.8)
With the internal stability constraint in (8.4.4), the parameter β is obtained as follows: β = τ [(λ/τ + 1)2 eθ/τ − 1]. Then N (s) = M (s) =
(τ s − 1)(βs + 1) , K (λs + 1)2 − (βs + 1)e−θs . s
This leads to 1 , K τ −β N ′ (0) = , K 2τ β N ′′ (0) = , K M (0) = 2λ + θ − β, N (0) = −
2λ2 − θ2 + 2βθ , 2 θ3 − 3βθ2 M ′′ (0) = . 3 M ′ (0) =
244
Quantitative Process Control Theory
The values of f (s) and its first and second derivatives at the origin are 1 , K(2λ + θ − β) (τ − β)(2λ + θ − β) + (λ2 − θ2 /2 + βθ) , f ′ (0) = K(2λ + θ − β)2 f (0) = −
2τ β(2λ + θ − β)2 + (θ3 /3 − βθ2 )(2λ + θ − β)− 2(τ − β)(λ2 − θ2 /2 + βθ)(2λ + θ − β)−
2(λ2 − θ2 /2 + βθ) K(2λ + θ − β)3
f ′′ (0) =
.
The controller parameters are as follows: TI = −τ + β −
λ2 + βθ − θ2 /2 , 2λ + θ − β
TI , −K(2λ + θ − β) −τ β − (θ3 /6 − βθ2 /2)/(2λ + θ − β) = − TI λ2 + βθ − θ2 /2 . 2λ + θ − β
KC = TD
(8.5.9)
Next, assume that the plant is of second order: G(s) =
K e−θs . (τ1 s − 1)(τ2 s + 1)
(8.5.10)
In both the quasi-H∞ control and H2 control the closed-loop transfer function is T (s) =
βs + 1 −θs e . (λs + 1)3
The internal stability constraint yields β = τ1 [(λ/τ1 + 1)3 eθ/τ1 − 1]. Then N (s)
=
M (s) =
(τ1 s − 1)(τ2 s + 1)(βs + 1) , K (λs + 1)3 − (βs + 1)e−θs . s
(8.5.11)
Control of Unstable Plants
245
This leads to 1 , K τ1 − τ2 − β N ′ (0) = , K 2τ1 τ2 + 2τ1 β1 − 2τ2 β , N ′′ (0) = K M (0) = 3λ + θ − β, N (0) = −
6λ2 − θ2 + 2βθ , 2 6λ3 − 3βθ2 + θ3 M ′′ (0) = . 3 M ′ (0) =
The values of f (s) and its first and second derivatives at the origin are 1 , K(3λ + θ − β) (τ1 − τ2 − β)(3λ + θ − β) + (3λ2 − θ2 /2 + βθ) f ′ (0) = , K(3λ + θ − β)2 f (0) = −
2(τ1 τ2 + τ1 β − τ2 β)(3λ + θ − β)2 +
(2λ3 − θ2 β + θ3 /3)(3λ + θ − β)−
2(τ1 − τ2 − β)(3λ2 + θβ − θ2 /2)(3λ + θ − β)−
f ′′ (0) =
2(3λ2 + θβ − θ2 /2)2 K(3λ + θ − β)3
.
Then, the controller parameters are (τ1 − τ2 − β)(3λ + θ − β) + (3λ2 + βθ − θ2 /2) , 3λ + θ − β TI KC = , −K(3λ + θ − β1 ) TI = −
2(τ1 τ2 + τ1 β − τ2 β)(3λ + θ − β)2 +
(8.5.12)
(2λ3 − θ2 β + θ3 /3)(3λ + θ − β)−
− (τ1 − τ2 − β)(6λ2 + 2θβ − θ2 )(3λ + θ − β)−
TD = −
2(3λ2 + θβ − θ2 /2)2 2TI (3λ + θ − β)2
.
246
8.6
Quantitative Process Control Theory
PID Design for the Best Achievable Performance
This section considers the design problem of the PID controller with the best achievable performance for unstable plants. Suppose that the plant is described by KN+ (s)N− (s) −θs e . M+ (s)M− (s)
G(s) =
(8.6.1)
According to the discussion in the last section, the controller can be expressed as C(s) =
f (s) . s
(8.6.2)
The Maclaurin series expansion of f (s) is f (s) = f (0) + f ′ (0)s +
f ′′ (0) 2 f (3) (0) 3 s + s + ... 2! 3!
(8.6.3)
A practical PID controller has the following expression: C(s) =
a 2 s2 + a 1 s + a 0 . s(b1 s + 1)
(8.6.4)
Let the Pade approximation of f (s) be a 2 s2 + a 1 s + a 0 . b1 s + 1 Then
a0 a1 = a2
b1 f ′′ (0)/2! =
f (0) 0 1 f ′ (0) , f (0) b1 f ′′ (0)/2! f ′ (0)
−f (3) (0)/3!.
(8.6.5)
(8.6.6) (8.6.7)
A little algebra yields that a0 = f (0), a1 = b1 f (0) + f ′ (0), a2 = b1 f ′ (0) + f ′′ (0)/2!, b1 = −
f (3) (0) . 3f ′′ (0)
If the practical PID controller is in the form of 1 1 C = KC 1 + + TD s , TI s TF s + 1
(8.6.8)
Control of Unstable Plants
247
the controller parameters are K C = a1 ,
TI =
a1 , a0
TD =
a2 , a1
TF = b1 .
(8.6.9)
All of these parameters should be positive. Consider the first-order unstable plant: G(s) =
Ke−θs . τs − 1
(8.6.10)
The values of f (s) and its first, second, and third derivatives at the origin are 1 , K(3λ + θ − β) (τ1 − τ2 − β)(3λ + θ − β) + (3λ2 − θ2 /2 + βθ) f ′ (0) = , K(3λ + θ − β)2 f (0) = −
2(τ1 τ2 + τ1 β − τ2 β)(3λ + θ − β)2 +
(2λ3 − θ2 β + θ3 /3)(3λ + θ − β)−
2(τ1 − τ2 − β)(3λ2 + θβ − θ2 /2)(3λ + θ − β)−
f ′′ (0) =
2(3λ2 + θβ − θ2 /2)2 K(3λ + θ − β)3
,
(8.6.11)
− 6βτ (λ2 − θ2 /2 + βθ)(2λ + θ − β)2 +
6(τ − β)(λ2 − θ2 /2 + βθ)2 (2λ + θ − β)− 3(τ − β)(θ3 /3 − βθ2 )(2λ + θ − β)2 −
(2θ3 − 6βθ2 )(λ2 − θ2 /2 + βθ)(2λ + θ − β)+
(βθ3 − θ4 /4)(2λ + θ − β)2 + f (3) (0) =
6(λ2 − θ2 /2 + βθ)3 K(2λ + θ − β)4
.
Clearly, the parameters of the PID controller are f (3) (0) , 3f ′′(0) KC = TF f (0) + f ′ (0), KC TI = , f (0) TF f ′ (0) + f ′′ (0)/2! TD = . KC TF = −
(8.6.12)
The quantitative performance and robustness can also be obtained by increasing λ monotonically.
248
Quantitative Process Control Theory
8.7
All Stabilizing PID Controllers for Unstable Plants
As we know, owing to the existence of θ, the closed-loop system is open-loop during t < θ. If the plant is stable, there is no problem. The system output will ultimately reach a new equilibrium, even if no control action is added when t ≥ θ. Nevertheless, if the plant is unstable, the system output will continuously increase until the physical limitation is reached. This may cause such a problem. When t < θ, the system output becomes very large. The PID controller does not act until t = θ. Then can the controller pull this large system output back to a new equilibrium? In other words, is there any stabilizing PID controller? This section will discuss this problem. Similar to the discussion for stable plants, the attention is concentrated on the first-order plant with time delay G(s) =
Ke−θs τs − 1
(8.7.1)
KI + KD s, s
(8.7.2)
and the standard PID controller C = KC +
where KI = KC /TI and KD = KC TD . Theorem 8.7.1. If θ ≥ 2τ , there exists no stabilizing PID controller for the first-order unstable plant with time delay. Proof. The following quasi-polynomial can be used to analyze the stability of the closed-loop system: δ ∗ (s) = −K(KI + KC s + KD s2 ) + (1 − τ s)seθs . The imaginary part of δ ∗ (jω) is δi (ω) = ω[−KKC + cos(θω) + τ ω sin(θω)]. Define the following function: f (z, KC ) =
−KKC + cos(z) , sin(z)
where z = θω. To prove the theorem, it is sufficient to prove that the roots of δi (ω) are not all real for θ ≥ 2τ , or equivalently, f (z, KC ) and the line f (z) = −τ z/θ do not intersect in (0, π). It was discussed in the proof of Theorem 4.6.1 that such a case implied instability. Consider KC1 < KC2 . For any z ∈ (0, π), −KKC1 + cos(z) > −KKC2 + cos(z).
Control of Unstable Plants
249
Since sin(z) > 0, f (z, KC1 ) > f (z, KC2). In other words, for any fixed z ∈ (0, π), f (z, KC ) decreases monotonically with the increase of KC . Hence, for KC > 1/K and any z ∈ (0, π), f (z, KC ) < f (z,
1 ). K
This implies that if f (z) = −τ z/θ does not intersect the curve f (z, 1/K) in (0, π), it will not intersect any other curve f (z, KC ) in the same interval. It is observed that for any z ∈ (0, π) f (z,
z 1 −1 + cos(z) )= = − tan . K sin(z) 2
Define a continuous extension of f (z, 1/K) over [0, π) by z 1 f1 (z, ) = − tan . K 2
Clearly, the curve f1 (z, 1/K) intersects the line −τ z/θ at z = 0 (Figure 8.7.1). Also, it is observed that the slope of the tangent to f1 (z, 1/K) at z = 0 is given by df1 1 1 2 z = − sec =− . dz 2 2 z=0 2
If this slope is less than or equal to −τ /θ, then no further intersections will take place over (0, π). Since f (z, 1/K) = f1 (z, 1/K) in (0, π), the curve f (z, 1/K) will not intersect the line −τ z/θ for θ ≥ 2τ . This completes the proof. Now, assume that the condition in Theorem 8.7.1 is satisfied. When the closed-loop system is stable, within what range should the PID controller parameters be? The following theorem gives the answer. Theorem 8.7.2. If θ < 2τ , then the unstable plant can be stabilized by a PID controller if and only if 1 < KC < KT , K where KT =
1 K
−τ α1 sin(α1 ) + cos(α1 ) , θ
and α1 is the solution to the equation tan(α) =
τ α τ +θ
250
Quantitative Process Control Theory
FIGURE 8.7.1 Plots of the curve f1 (z, 1/K) and the line f (z) = −τ z/θ. (From Silva et al., 2002. Reprinted by permission of the IEEE)
in the interval (0, π). In particular, when θ = τ , α1 = π/2. Furthermore, for each KC ∈ (1/K, KT ), the stabilizing region of the integral constant and the derivative constant is the quadrilateral in Figure 8.7.2. Here θ2 , z2 i θ h τ b(z) = sin(z) − z cos(z) , Kz n θ o z τ w(z) = − sin(z) − z[cos(z) + 1] , Kθ θ
m(z) =
and zj (j = 1, 2, ...) are the positive real roots of −KKC + cos(z) +
τ z sin(z) = 0. θ
These roots are arranged in an increasing order of magnitude. Proof. The proof is similar to that for Theorem 4.6.1 and thus is omitted here.
Control of Unstable Plants
251
FIGURE 8.7.2 Stabilizing region of the integral and the derivative constants. (From Silva et al., 2002. Reprinted by permission of the IEEE)
8.8
Summary
At the beginning of this chapter, a new parameterization is proposed. The main features are that it reflects the IMC structure and no coprime factorization is needed. The new parameterization is then applied to the controller design of the unstable plant with time delay. Due to the constraint of internal stability, the controller in the system with an unstable plant can only be implemented in the unity feedback loop. Consider the following first-order plant: G(s) =
K e−θs . τs − 1
The H∞ PID controller obtained in this chapter is
C(s) =
α 1 (1 + ), K βs
α =
λ2 + 2λτ + θτ , (λ + θ)2
where
252
Quantitative Process Control Theory β
=
The H2 PID controller is C(s) =
λ2 + 2λτ + θτ . τ −θ
τθ 1 (1 + τ −θ s)(βs + 1) , Ks ( λ32 + θ2 β )s + α τ τ −θ
where α
=
β
=
3λ2 λ3 θ2 + 2 + , τ −θ τ τ 3λ2 λ3 + + 3λ. τ2 τ
If there is a second-order plant: G(s) =
K e−θs , (τ1 s − 1)(τ2 s + 1)
the H∞ PID controller is C(s) =
1 (τ2 s + 1)(βs + 1) , K s(λ3 s/τ1 + α)
where α = β
=
λ3 + 3λ2 τ1 + 3λτ1 θ + θ2 τ1 , τ1 (τ1 − θ) λ3 + 3λ2 τ1 + 3λτ12 + θτ12 . τ1 (τ1 − θ)
The H2 PID controller is C(s) =
1 (τ2 s + 1)(βs + 1) , K s(λ2 θs/τ1 + α)
where α
=
β
=
λ2 (τ1 + θ) + 4λτ1 θ + 2θ2 τ1 , τ1 (τ1 − θ) (λ2 + 2λτ1 )(τ1 + θ) + 2τ12 θ . τ1 (τ1 − θ)
The tuning of the system with an unstable plant is similar to that of the system with a stable plant. The performance and robustness of the closed-loop system are also discussed in this chapter. The unstructured uncertainty profile of the plant with parameter uncertainty is derived, the performance limitation of the system with an unstable plant is given, the existence problem of a stabilizing PID controller is solved, and the parameter scope is determined.
Control of Unstable Plants
253
Exercises 1. The control of an inverted pendulum is a classical problem in control theory and widely used as a benchmark for testing control algorithms. Consider the control problem of an inverted pendulum on a moving base (Figure E8.1). The design objective is to keep the position of the pendulum top (that is, y) in equilibrium (that is, α = 0) by adjusting the position of the moving base (that is, x) in the presence of disturbance. y can be inferred from the knowledge of x and α. The transfer function relating y to x is G(s) =
−1/MbLb . s2 − (Mb + Ms )g/(Mb Lb )
FIGURE E8.1 An inverted pendulum. Let Ms =10kg, Mb =100kg, Lb =1m, and g=9.8m/s2. The design specifications, for a unit step input, are that the settling time is less than 10s and the overshoot is less than 40%. Design a controller to satisfy these specifications. 2. Assume that a plant has simple poles pi (i = 1, 2, ..., rp ) in the open RHP. The filter is in the form of J(s) =
βrp −1 srp −1 + ... + β1 s + β0 , (λs + 1)m+rp −1
where m is a positive integer and λ is the performance degree. The
254
Quantitative Process Control Theory requirements on the filter are J(pi ) = 1, i = 1, 2, ..., rp , Prove that rp rp Y X 1 m+rp −1 J(s) = (λpj + 1) (λs + 1)m+rp −1 j=1
i=1,i6=j
s − pi . pj − pi
e and the nominal plant G(s) 3. It is assumed that the real plant G(s) are rational and have the same number of RHP poles. Q(s) is a stabilizing IMC controller for G(s). Prove that the closed-loop system is internally stable with respect to the uncertainty profile |∆m (jω)| if and only if the filter J(s) satisfies |J(jω)| < |G(jω)Q(jω)∆m (jω)|−1 . for all frequencies. 4. Consider the plant with the transfer function G(s) =
Ke−θs . (τ1 s − 1)(τ2 s − 1)
Design an H∞ PID controller. 5. Design an H2 controller for the following plant: G(s) =
−s + α , α > 0, β > 0, α 6= β. −s + β
6. The problem considered here is to design a single controller that simultaneously stabilizes two plants. The problem of this type is referred to as the simultaneous stabilization problem. Two plants G1 (s) and G2 (s) can be stabilized by a single controller if and only if the “difference” plant G(s) = G1 (s) − G2 (s) has an even number of real poles between every pair of real zeros in the closed RHP. Consider two plants G1 (s) =
1 , s+1
G2 (s) =
as + b , (s + 1)(s − 1)
where a and b are real constants, a 6= 1, and b/a 6= −1. (a) Analyze the condition of simultaneous stabilization for the given plants. (b) Design a stabilizing controller, if it exists.
Control of Unstable Plants
255
Notes and References The parameterization in Section 8.1 is drawn from Zhang et al. (2002) and Zhang et al. (2006) (Zhang W.D., F. Allg¨ower and T. Liu. Controller parameterization for SISO and MIMO plants with time delay, System Control Letters, c 2006, 55(10), 794–802. Elsevier). It can be viewed as a modified version of Youla parameterization. Example 8.1.1 is from Zhang and Xu (2000). Section 8.2 is adapted from Zhang (1998) and Zhang and Xu (2002a). The unstable plant with time delay can be used to describe different physical systems, for example, a reactor (Luyben and Melcic, 1978) or a plane (Enns et al., 1992). Section 8.3 is from Zhang (1998) and Zhang and Xu (2002b). Discussion on the unstable reactor can be found in, for example, Luyben and Melcic (1978). Section 8.4 is drawn from Zhang (1998). With regard to integrating plants and unstable plants, there exists difference between the design in this book and that in Morari and Zafiriou (1989, Chapter 5). The analysis about the waterbed effect in Section 8.4 is based on Doyle et al. (1992). The unstructured uncertainty profile of parameter uncertainty was studied by Laughlin et al. (1987) (Laughlin D. L., D. E. Rivera, and M. Morari. Smith predictor design for robust performance, Int. J. Control, 1987, c 46(2), 477–504. Taylor & Francis Ltd.). The plant in Example 8.4.1 is based on Dorf and Bishop (2001, p. 551). The Maclaurin PID controller in Section 8.5 is based on Lee et al. (2000) (Lee Y., J. Lee and S. Park. PID controller tuning for integrating and unstable processes with time delay, Chem. Eng. Sci., 2000, 55(17), 3481–3493. c
Elsevier). The parameter scope of the stabilizing PID controller in Section 8.7 was given by Bhattacharyya et al. (2009, Section 3.6) and Silva et al. (2002) (Silva G. J., A. Datta, and S. P. Bhattachcharyya. New results on the synthesis of c PID controllers, IEEE Trans. Auto. Control, 2002, 47(2), 241–252. IEEE). A general result was provided by Ou et al. (2009). The discussion about the control of unstable plants can also be found, for example, in Kwak et al. (1999), Paraskevopoulos et al. (2006), Xiang et al. (2007), and Thirunavukkarasu et al. (2009). Exercise 1 is based on Dorf and Bishop (2001, p. 467). Exercise 2 is adapted from Morari and Zafiriou (1989, Section 5.3). Exercise 3 is adapted from Morari and Zafiriou (1989, Section 5.4). The plant in Exercise 5 is from Morari and Zafiriou (1989, Section 5.7.2). Exercise 6 is drawn from Doyle et al. (1992, Section 5.6). Discussion on the simultaneous stabilization problem can also be found in Dorato et al. (1992).
9 Complex Control Strategies
CONTENTS 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8
The 2 DOF Structure for Stable Plants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The 2 DOF Structure for Unstable Plants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cascade Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . An Anti-Windup Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Feedforward Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Optimal Input Disturbance Rejection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Control of Plants with Multiple Time Delays . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
257 263 268 272 279 283 288 291 292 293
In the preceding chapters, several basic control strategies for SISO control systems were discussed, including the unity feedback control and the Smith predictor. This chapter studies complex control strategies, including 2 DOF control, cascade control, anti-windup control, and feedforward control. In 2 DOF control, the response to the reference is isolated from that to the disturbance. The controllers for the reference response and the disturbance response can be independently designed. The cascade control and the feedforward control are proposed, from different angles, to reject the disturbance effect on control system, while the purpose of anti-windup control is improving the performance when the system is subject to constraints on control variables. In addition, the optimal rejection of input disturbance and the control of the plant with multiple time delays are also discussed in this chapter.
9.1
The 2 DOF Structure for Stable Plants
In Section 3.2, it was shown that the effect of the reference on the error was the same as that of the output disturbance on the system output: e(s) y(s) 1 = = . r(s) d(s) 1 + G(s)C(s)
(9.1.1)
Such a system has merely one degree of freedom and thus is called the single degree-of-freedom (1 DOF) system. When the reference and the disturbance 257
258
Quantitative Process Control Theory
have similar dynamic characteristics (for example, both of them are steps), a 1 DOF controller can simultaneously satisfy the requirements on the reference response and the disturbance response in many cases. Sometimes, the dynamic characteristics of reference and disturbance are different. For example, the reference is a step while the disturbance at the plant output is a ramp. If both good reference response and good disturbance response are desired, the controller that reaches the two goals may not exist. In this case, an additional controller may have to be introduced so as to adjust the reference response and disturbance response independently. Thus there are two loops in this system. One is the reference loop, which is from the reference to the system output. The other is the disturbance loop from the disturbance at the plant output to the system output. Since the system has two degrees of freedom, it is referred to as the 2 DOF system. A typical 2 DOF system is shown in Figure 9.1.1, where C1 (s) is the controller of the disturbance loop and C2 (s) is the controller of the reference loop. C2 (s) is always stable. For convenience of presentation, the structure is named “Structure I.” Structure I has many equivalents, as shown in Figure 9.1.2 and Figure 9.1.3. It should be pointed out that the C1 (s)s in Figure 9.1.2 and Figure 9.1.3 are not identical to the C1 (s) in Figure 9.1.1.
FIGURE 9.1.1 A typical 2 DOF system.
FIGURE 9.1.2 An equivalent of the typical 2 DOF system. Consider the system shown in Figure 9.1.1. The input-output relationship
Complex Control Strategies
259
FIGURE 9.1.3 Another equivalent of the typical 2 DOF system. is as follows: e(s) C2 (s) , = r(s) 1 + G(s)C1 (s) y(s) 1 . = d(s) 1 + G(s)C1 (s)
(9.1.2) (9.1.3)
It can be seen that the internal stability of the closed-loop system is only determined by C1 (s). The analysis for the internal stability is similar to that in a 1 DOF system. The design of a 2 DOF system involves two steps: 1. Designing C1 (s) for the required disturbance response. 2. Designing C2 (s) for the required reference response. The design procedure of C1 (s) is the same as that for the controller in a 1 DOF system. After C1 (s) is designed, the loop consisting of C1 (s) and G(s) is viewed as an augmented plant, of which the transfer function is denoted by T (s). The system consisting of C2 (s) and T (s) forms the IMC structure with an exact model. Accordingly, C2 (s) can be directly designed. Since C2 (s) is not involved in the feedback loop, it will not affect the disturbance loop. To illustrate the design procedure, consider the following plant: G(s) =
K e−θs . τs + 1
(9.1.4)
The system is required to track a step reference, and at the same time to reject the disturbance in the form of a ramp at the plant output. First of all, design C1 (s) for the required disturbance response. By utilizing the IMC controller Q(s), C1 (s) can be expressed as C1 (s) =
Q(s) . 1 − G(s)Q(s)
(9.1.5)
The rational part of the plant is MP. Utilizing (6.2.5), we have Qopt (s) =
τs + 1 . K
(9.1.6)
260
Quantitative Process Control Theory
Since the disturbance is a ramp, a Type 2 filter is demanded. In light of (5.7.5), J(s) =
2λ1 s + 1 , (λ1 s + 1)2
where λ1 is the performance degree for adjusting the disturbance response. Simple computations give Q(s) = Qopt (s)J(s) =
(τ s + 1)(2λ1 s + 1) . K(λ1 s + 1)2
(9.1.7)
It is easy to compute C1 (s) with (9.1.5). As the plant is stable, C1 (s) can be implemented in the IMC structure. Next, design C2 (s) for the required reference response. The loop consisting of C1 (s) and G(s) is regarded as an augmented plant, whose transfer function is T (s) = G(s)Q(s) =
2λ1 s + 1 −θs e . (λ1 s + 1)2
(9.1.8)
Obviously, T (s) is stable. According to the design procedure for the H2 controller, the optimal C2 (s) is the inverse of the rational part of T (s). For a step reference, the suboptimal controller is C2 (s) =
(λ1 s + 1)2 , (2λ1 s + 1)(λ2 s + 1)
(9.1.9)
where λ2 is the performance degree for adjusting the reference response. Let Tr (s) denote the transfer function from the reference to the system output, and Td′ denote the transfer function from the disturbance at the plant input to the system output. It is easy to verify that the transfer function of the reference loop is Tr (s) =
1 e−θs . λ2 s + 1
The reference response to the unit step is ( 0 0
(9.1.10)
(9.1.11)
The reference response can be adjusted by the performance degree λ2 independently. The transfer function with regard to the load response can be written as K 2λ1 s + 1 −θs −θs Td′ (s) = . (9.1.12) 1− e e τs + 1 (λ1 s + 1)2
Complex Control Strategies
261
The load response to the unit step disturbance is 0 − e−(t−θ)/τ ) K(1 λ 1 y(t) = −(t−2θ)/λ1 e − K λ1 − τ τ −(t−2θ)/τ −(t−θ)/τ e −e λ1 − τ
0
.
(9.1.13)
t ≥ 2θ
The disturbance response can be adjusted by employing the performance degree λ1 independently. Note that the disturbance loop of a 2 DOF system cannot provide better disturbance rejection performance than a 1 DOF system. Nevertheless, since the disturbance response and the reference response can be adjusted independently, better disturbance response and reference response can be reached simultaneously in a 2 DOF system. When there exists uncertainty, the reference response cannot be thoroughly isolated from the disturbance response. In this case, the robust stability and the disturbance response is only determined by λ1 , while the reference response is mainly determined by λ2 . For robustness tuning, one can monotonically increase the performance degrees until the required response is obtained. In Figure 9.1.4, a new 2 DOF structure is given. To distinguish it from Structure I, it is named “Structure II.” In Structure II, C3 (s) is the controller of the disturbance loop and C4 (s) is the controller of the reference loop. Let C1 (s) C2 (s)
= C3 (s), C4 (s) + G(s)C3 (s) = . C3 (s)
(9.1.14) (9.1.15)
Then Structure I and Structure II are equivalent to each other.
FIGURE 9.1.4 A New 2 DOF system. The feature of Structure II is that the design is simpler than that for
262
Quantitative Process Control Theory
Structure I. The design of C3 (s) is similar to that for the unity feedback loop controller. Since the reference loop is an open one for the nominal plant, C4 (s) can be designed as the inverse of the plant rational part.
FIGURE 9.1.5 Structure of the RZN PID controller. In Section 4.1, the RZN PID controller depicted in Figure 9.1.5 was introduced. By utilizing two parameters β and µ, an improved reference response is obtained. It is easy to verify that T (s) =
=
1 G(s)KC β + + TD s µTI s 1 + TD s 1 + G(s)KC 1 + TI s 1 1 G(s)KC 1 + + TD s + TD s KC β + µTI s TI s .(9.1.16) 1 1 KC 1 + + TD s 1 + G(s)KC 1 + + TD s TI s TI s
Let 1 C1 (s) = KC 1 + + TD s , TI s 1 KC β + + TD s µTI s . C2 (s) = 1 KC 1 + + TD s TI s
(9.1.17)
Evidently, the introduction of β and µ is equivalent to providing an additional degree of freedom for the original system. In fact, the resulting system is a 2 DOF system.
Complex Control Strategies
9.2
263
The 2 DOF Structure for Unstable Plants
Because of the effects of RHP poles and time delay, the reference response of the 1 DOF system with an unstable plant usually exhibits excessive overshoot. A 2 DOF system can be used to overcome this disadvantage. This is because the 2 DOF system can roll off high frequency signals in the reference independently. The design procedure of the 2 DOF system for unstable plants is similar to that for stable plants. However, to guarantee the internal stability, the controller of the disturbance loop can only be implemented in the unity feedback loop. The procedure will be illustrated by utilizing the first-order unstable plant. The design procedure for high-order plants is similar. The first-order unstable plant can be expressed as G(s) =
K e−θs . τs − 1
(9.2.1)
As the main goal of this section is to discuss how to depress the excessive overshoot, it is assumed that the system is required to track a step reference and at the same time reject the effect of a step disturbance at the plant output. Consider Structure I. First, design C1 (s). The rational part of the plant is MP. Based on (8.4.8) we have Qopt (s) =
τs − 1 . K
(9.2.2)
When the disturbance at the plant output is a step and the plant has only one RHP pole, the filter can easily be determined by (8.4.9). Then the H2 suboptimal controller with the filter is as follows: Q(s) =
(τ s − 1){τ [(λ1 /τ + 1)2 eθ/τ − 1]s + 1} . K(λ1 s + 1)2
(9.2.3)
The controller of disturbance loop is C1 (s) = =
Q(s) 1 − G(s)Q(s)
1 (τ s − 1){τ [(λ1 /τ + 1)2 eθ/τ − 1]s + 1} . (9.2.4) K (λ1 s + 1)2 − {τ [(λ1 /τ + 1)2 eθ/τ − 1]s + 1}e−θs
Since lim {(λ1 s + 1)2 − {τ [(λ1 /τ + 1)2 eθ/τ − 1]s + 1}e−θs } = 0,
s→1/τ
there exists a RHP zero-pole cancellation in C1 (s). A rational approximation
264
Quantitative Process Control Theory
has to be used to remove it. This can be achieved in many ways. For example, the controller can be chosen as a PID controller in the form of 1 C1 (s) = KC 1 + (9.2.5) + TD s . TI s With the Maclaurin series expansion, the following result was obtained in Section 8.5: TI = −τ + β1 −
λ2 + β1 θ − θ2 /2 , 2λ + θ − β1
TI , −K(2λ + θ − β1 ) −τ β1 − (θ3 /6 − β1 θ2 /2)/(2λ + θ − β1 ) TD = − TI λ2 + β1 θ − θ2 /2 . 2λ + θ − β1
KC =
(9.2.6)
Next, design C2 (s). Regard the feedback loop consisting of C1 (s) and G(s) as an augmented plant. The transfer function of the augmented plant is T (s) =
G(s)C1 (s) . 1 + G(s)C1 (s)
(9.2.7)
The optimal C2 (s) should be the inverse of T (s) after the time delay in its numerator is removed. However, such a design procedure is tedious. Since C1 (s) is an approximation of the ideal controller, C2 (s) can be chosen as the inverse of the ideal T (s) after the time delay in its numerator is removed. Then C2 (s) =
(λ1 s + 1)2 . {τ [(λ1 /τ + 1)2 eθ/τ − 1]s + 1}(λ2 s + 1)
(9.2.8)
Now consider Structure II. In Structure II, C3 (s) equals the C1 (s) in Structure I. The optimal C4 (s) can be chosen as the inverse of the plant rational part: C4 (s) =
τs − 1 . K(λ2 s + 1)
(9.2.9)
C3 (s) is an approximation of the ideal controller. Hence, the transfer function of the reference loop in the system with C3 (s) is close to that in the system with the ideal controller: 1 Tr (s) = (9.2.10) e−θs . λ2 s + 1 The reference response to the unit step is ( 0 0
(9.2.11)
Complex Control Strategies
265
The reference response can be tuned by the performance degree λ2 independently. The transfer function corresponding to the load response is, approximately, Td′ (s) =
K τ [(λ1 /τ + 1)2 eθ/τ − 1]s + 1 −θs e−θs 1 − e . (9.2.12) τs − 1 (λ1 s + 1)2
Let 1 , λ1 1 b=− , τ
a=
c=
1 . τ [(λ1 /τ + 1)2 eθ/τ − 1]
The load response to the unit step disturbance is 0 −b(t−θ) ) K(1 − e a2 (b − c) −b(t−2θ) K − e−b(t−θ) − e − (a − b)2 c y(t) = ab(c − a) + bc(a − b) −a(t−2θ) e − (a − b)2 c ab(c − a) −a(t−2θ) te (a − b)c
0
(9.2.13)
t ≥ 2θ
The disturbance response can be tuned by the performance degree λ1 independently. Two classes of control methods are frequently used for unstable plants in literature. In the first method, a controller is directly used to control the plant, for example, the 1 DOF control system or the 2 DOF control system. In the second method, an inner loop is introduced to stabilize the unstable plant, and then the controller is designed for the augmented stabilized plant. The control system with an inner stabilizing loop is shown in Figure 9.2.1, where Cs (s) is the stabilizer. Cs (s) and G(s) construct an augmented plant. Cs (s) should be chosen so that the augmented plant is stable. C(s) is then designed for the augmented stable plant. The introduction of Cs (s) makes the structure different from the unity feedback loop. As a result, the performance and robustness of the closed-loop system are difficult to analyze. It will be shown that the structure is in fact equivalent to the 2 DOF structure. The closed-loop transfer function of the system is Tr (s) =
G(s)C(s) . 1 + G(s)Cs (s) + G(s)C(s)
(9.2.14)
266
Quantitative Process Control Theory
FIGURE 9.2.1 Control system with an inner stabilizing loop. Rewrite it in the form of C(s) G(s)C(s) + G(s)Cs (s) Tr (s) = , Cs (s) + C(s) 1 + G(s)Cs (s) + G(s)C(s)
(9.2.15)
which is equivalent to the 2 DOF system with the following controllers: C1 (s) C2 (s)
= Cs (s) + C(s), C(s) = . Cs (s) + C(s)
(9.2.16) (9.2.17)
This equivalent is given in Figure 9.2.2. Therefore, 1. The optimal method can be used to design the controller analytically in the system with an inner stabilizing loop. 2. The closed-loop response can be tuned quantitatively. 3. The robustness of the system can be analyzed with those methods developed for the unity feedback control system.
FIGURE 9.2.2 An equivalent of the control system with an inner stabilizing loop. For the reason of simplicity, the stabilizer Cs (s) is usually chosen to be a proportional controller. Assume that the C(s) in Figure 9.2.1 is a PID controller: 1 C(s) = Kc 1 + + TD s . (9.2.18) TI s
Complex Control Strategies
267
Then the controller of the disturbance loop in Figure 9.2.2 is also a PID controller: C1 (s) =
C(s) + Cs (s) 1 + (Cs /Kc + 1)TI s + TI TD s2 Kc . TI s
=
(9.2.19)
Example 9.2.1. A plane with fixed wings has the feature of self-regulating; that is, it is stable. However, a helicopter is generally unstable and thus is difficult to control. In a helicopter control system, the goal is to control the pitch angle by adjusting the rotor angle (Figure 9.2.3). The transfer function of the helicopter is G(s) =
25(s + 0.03) . (s + 0.4)(s2 − 0.36s + 0.16)
The plant is MP. Following the discussion in Section 8.4, we have Qopt (s) =
(s + 0.4)(s2 − 0.36s + 0.16) . 25(s + 0.03)
FIGURE 9.2.3 Helicopter control. The plant has two RHP poles: 0.18 ± 0.3572i. Choose the following filter: J(s) =
β2 s 2 + β1 s + 1 . (λ1 s + 1)4
If one takes λ1 = 0.5, then β2 = 1.6781 and β1 = 1.9164. The controller of the disturbance loop in Structure I is C1 (s) =
(s + 0.4)(1.6781s2 + 1.9164s + 1) . 25s(s + 0.03)(0.0625s + 0.5225)
Since there is no time delay in the plant, the augmented plant consisting of
268
Quantitative Process Control Theory
C1 (s) and T (s) is rational. Then, the controller of the reference loop is also a rational transfer function: C2 (s) =
(1.6781s2
(λ1 s + 1)4 . + 1.9164s + 1)(λ2 s + 1)2
Take λ2 = 0.5. A unit step reference is added at t = 0 and a step load with the amplitude of −0.1 is added at t = 20. The closed-loop responses are shown in Figure 9.2.4. It can be seen that the disturbance responses are the same for the 1 DOF control system and the 2 DOF control system, while the reference response of the 2 DOF control system is improved.
FIGURE 9.2.4 Responses of the 1 DOF system and 2 DOF system.
9.3
Cascade Control
The feature of the unity feedback configuration is that it has only one loop for one system output. There is another control configuration that uses more than one loop for one system output. This kind of configuration is referred to as the cascade control. To see how the cascade control system works, consider the distillation column shown in Figure 9.3.1. Assume that the single loop structure is used;
Complex Control Strategies
269
FIGURE 9.3.1 Temperature control system for a distillation column. that is, only the master controller is used. The temperature at the bottom of the distillation column is controlled by adjusting the steam flow rate to the reboiler. With the increase of the steam pressure, the steam flow rate increases correspondingly. No correction will be made by the controller until the higher steam flow rate increases the vapor boilup and eventually raises the column temperature. Consequently, the whole system is disturbed by the pressure change of the supply steam. The response can be improved by installing a slave controller in between the temperature controller and the controlled steam flow rate. This controller is used to control the flow rate. Such an arrangement constitutes a cascade control configuration. In this cascade control system, the slave controller will immediately detect the change of steam flow rate, and pinch the steam valve to pull the steam flow rate back to the desired value. As a result, the reboiler and the column are only slightly affected by the disturbance from the supply steam. The features of cascade control are summarized as follows: 1. The controller, of which the reference is set by the operator, is the master controller. The other is the slave controller. The output signal of the master controller serves as the reference of the slave controller. 2. The two feedback loops are nested, with the slave loop located inside the master loop. The diagram of the cascade control system is shown in Figure 9.3.2. In the example of distillation column, the input of G2 (s) is the steam flow rate, and the output of G2 (s) is the column temperature. C2 (s) and G2 (s) constitute the master loop. The output of G1 (s) is the input of G2 (s). C1 (s) and G1 (s)
270
Quantitative Process Control Theory
constitute the slave loop, whose reference is the output of C2 (s). Normally, the slave controller is located close to a potential disturbance in order to improve the closed-loop response.
FIGURE 9.3.2 Diagram of the cascade control system. A natural question is whether a cascade control system can always provide superior performance to the single loop system. This problem is discussed in what follows. It is seen that there are two kinds of disturbances in a cascade control system. One is the disturbance d2 (s) on the master loop. The other is the disturbance d1 (s) on the slave loop. Consider d2 (s) first. Assume that only a single loop (that is, the master loop) is applied. The system response to d2 (s) is y(s) = [1 − G1 (s)G2 (s)Q(s)]d2 (s),
(9.3.1)
where Q(s) is the IMC controller corresponding to the plant G1 (s)G2 (s). When the cascade control structure is employed, the effect can be written as y(s) = [1 − G1 (s)Q1 (s)G2 (s)Q2 (s)]d2 (s),
(9.3.2)
where Q1 (s) is the IMC controller corresponding to G1 (s) and Q2 (s) is the IMC controller corresponding to the plant G1 (s)Q1 (s)G2 (s). If Q(s) = Q1 (s)Q2 (s) is taken, the two responses are the same. Now consider d1 (s). When only a single loop is used, the system response to d1 (s) can be expressed as y(s) = [1 − G1 (s)G2 (s)Q(s)]G2 (s)d1 (s).
(9.3.3)
If the cascade control structure is used, the system response to d1 (s) is y(s) = [1 − G1 (s)Q1 (s)]G2 (s)d1 (s).
(9.3.4)
The performance of cascade control is superior if Q1 (s) can be designed so that min k[1 − G1 (s)Q1 (s)]G2 (s)k ≤ Q1
Complex Control Strategies
271
min k[1 − G1 (s)G2 (s)Q(s)]G2 (s)k , Q
(9.3.5)
where k · k denotes some norm. (9.3.5) is an equality when G2 (s) is MP and stable. Therefore, the cascade control is only useful when G2 (s) has RHP zeros or a time delay. Assume that G2 (s) is NMP. The following two-step design procedure can be used to design the two controllers: 1. Assume that there is only the secondary loop. Design C1 (s). 2. Regard the secondary loop and G2 (s) as an augmented plant. Design C2 (s). The plants in the master loop and the slave loop are often described by the first-order model with time delay: G1 (s) = G2 (s) =
K1 e−θ1 s , τ1 s + 1 K2 e−θ2 s . τ2 s + 1
(9.3.6) (9.3.7)
Use the two-step design procedure. Design C1 (s) firstly: Q1 (s)
=
C1 (s)
=
τ1 s + 1 , K1 (λ1 s + 1) Q1 (s) . 1 − G1 (s)Q1 (s)
(9.3.8) (9.3.9)
The closed-loop transfer function is T1 (s) =
1 e−θ1 s . λ1 s + 1
(9.3.10)
Regard T1 (s) and G2 (s) as an augmented plant. Design C2 (s): Q2 (s)
=
C2 (s)
=
(τ2 s + 1)(λ1 s + 1) , K2 (λ2 s + 1)2 Q2 (s) . 1 − G2 (s)T1 (s)Q2 (s)
(9.3.11) (9.3.12)
The overall closed-loop transfer function is T2 (s) =
1 e−(θ1 +θ2 )s . (λ2 s + 1)2
(9.3.13)
In the design, the nominal performance of the overall system is only determined by the performance degree λ2 . When there exists uncertainty, the robust performance relates to both λ1 and λ2 . In general, the robustness is mainly determined by λ2 . This feature significantly reduces the complexity in tuning.
272
Quantitative Process Control Theory
Example 9.3.1. This example is given to illustrate how to design the cascade controller. Consider the temperature control system of the distillation column sketched in Figure 9.3.1. The dynamics of the steam flow rate can be expressed as 0.68 . 0.39s + 1
G1 (s) =
The dynamics of the column temperature is G2 (s) =
1.26e−0.5s . 2.11s + 1
Then Q1 (s) = C1 (s) =
0.39s + 1 , 0.68(λ1 s + 1) 0.39s + 1 . 0.68λ1 s
The closed-loop transfer function of the slave loop is T1 (s) =
1 . λ1 s + 1
It is readily obtained that
9.4
Q2 (s)
=
C2 (s)
=
(2.11s + 1)(λ1 s + 1) , 1.26(λ2 s + 1)2 (2.11s + 1)(λ1 s + 1) . 1.26[(λ2 s + 1)2 − e−0.5s ]
An Anti-Windup Structure
It is necessary to consider at the beginning of design that the manipulated variable in a real system may be constrained by a physical limit. For example, in a paper-making process, the basis weight of paper is controlled by adjusting the flow rate of stock. The flow rate from a valve has a maximum value, which is determined by the full openness of the valve. If the controller output exceeds the maximum value, there will be something wrong with the feedback loop. In this situation, the valve remains fully open despite that the controller output may continue to change. If the controller includes integral action, the persistent error will be integrated. Thereby the output of the integrator becomes quite large. This phenomenon is known as the windup. Windup puts the system in the state of saturation, which will affect the
Complex Control Strategies
273
performance of the system. This issue has to be dealt with in an ad hoc fashion called anti-windup. Conceptually, windup can be prevented by stopping the integral action when the actuator saturates. Assume that the saturation constraint on plant input is as follows: umin(t) u(t) < umin (t) umin(t) ≤ u(t) ≤ umax (t) . sat[u(t)] = u(t) (9.4.1) umax (t) u(t) > u max (t)
A simple idea to avoid saturation is to adjust the controller parameter, so that the controller output is kept within its physical limit. Recall the control problem for the first-order plant with time delay in Section 6.4. The controller output is u(s) = =
Q(s)r(s) τs + 1 r(s). K(λs + 1)
(9.4.2)
If the reference is the unit step, the corresponding time domain response can be written as τ u(t) = K e−t/λ + 1 − e−t/λ . (9.4.3) λ The controller output can be restricted by appropriately increasing the performance degree. The advantage of this method is that it is simple and the control structure is not changed; the disadvantage is that it does not sufficiently utilize u(t) to improve the performance of the closed-loop system. An optimization design method is introduced here, based on the IMC structure. Improved performance can be obtained by modifying the control structure. Consider the IMC structure shown in Figure 9.4.1. Define
FIGURE 9.4.1 IMC structure in the presence of actuator constraint.
274
Quantitative Process Control Theory y ′ (t) := =
G(t) ∗ u ˆ(t) Z ∞ G(t − τ )ˆ u(τ )dτ,
(9.4.4)
0
where y ′ (t) is the output of the constrained system. Because of the saturation constraints, y ′ (t) necessarily differs from y(t), the output of the unconstrained system. It is desirable to keep y ′ (t) as close to y(t) as possible. Mathematically, the problem is equivalent to solving the following optimization problem instantaneously at each time t: min |W (t) ∗ y(t) − W (t) ∗ y ′ (t)|, u ˆ(t)
(9.4.5)
where W (t) is a weighting function that makes W (s)G(s) bi-proper. The introduction of this weighting function is based on the following fact: if G(s) is strictly proper, u ˆ(t) does not affect y ′ (t) instantaneously and thus the minimization is meaningless. It should be noticed that the optimization is carried out continuously for t ≥ 0, which differs from that over a horizon. To deal with the problem, the modified IMC structure in Figure 9.4.2 is proposed. Here
FIGURE 9.4.2 Modified IMC structure for anti-windup.
Q(s) =
Q1 (s) . 1 + Q2 (s)
(9.4.6)
Q(s) is bi-proper in general. Then u′ (s)
= Q1 (s)e(s) − Q2 (s)ˆ u(s) = Q1 (s)e(s) − [Q1 (s)Q−1 (s) − 1]ˆ u(s).
Let Q3 (s) = Q1 (s)Q−1 (s).
(9.4.7)
Complex Control Strategies
275
In the time domain, u′ (t) − u ˆ(t) = Q1 (t) ∗ e(t) − Q3 (t) ∗ uˆ(t).
(9.4.8)
If Q1 (s) = W (s)G(s)Q(s), then u ˆ(t) is the solution to the optimization problem. To show this, consider Figure 9.4.2. As Q3 (s) = W (s)G(s), we have u′ (t) − u ˆ(t)
= =
Q1 (t) ∗ e(t) − Q3 (t) ∗ u ˆ(t)
W (t) ∗ y(t) − W (t) ∗ y ′ (t).
Now let us see how the closed-loop response is optimized. When no saturation occurs, u ˆ(t) = u′ (t) = sat[u′ (t)], W (t) ∗ y ′ (t) − W (t) ∗ y(t) = 0. Assume that saturation occurs. Since u ˆ(t) affects W (t) ∗ y ′ (t) linearly, |W (t) ∗ y ′ (t) − W (t) ∗ y(t)| is a convex function of uˆ(t). When u′ (t) = uˆ(t) is infeasible, the optimal solution must occur at the boundary, that is, uˆ(t) = sat[u′ (t)]. In the modified IMC structure, Q(s) is usually MP and always stable. If Q(s) is MP and Q1 (s) is NMP, then [1 + Q2 (s)]−1 must be unstable. To guarantee the internal stability of the closed-loop system, Q1 (s) must be MP and stable. W (s) should be chosen so that W (s)G(s)Q(s) is both MP and stable. When W (s) is appropriately chosen, the input is kept saturated for the optimal amount of time until |W (t) ∗ y ′ (t) − W (t) ∗ y(t)| becomes zero. Thus, the performance is greatly improved. Different controller factorizations can be obtained by choosing different W (s). Two special cases are discussed here. 1. W (s) = G(s)−1 . The optimization problem becomes min |u(t) − u ˆ(t)|. u ˆ (t)
(9.4.9)
The solution corresponds to the conventional IMC structure, which “chops off” the control input resulting in performance deterioration. The stability of the closed-loop system is guaranteed. 2. W (s) is chosen such that Q1 (s) is a constant, for example, Q1 (s) = Q(∞). The optimization problem becomes min |e(t) − e′ (t)|, u ˆ (t)
(9.4.10)
where e′ (t) = Q−1 (t) ∗ u ˆ(t). The performance in this case is greatly improved, but the stability of the closed-loop system is not guaranteed. If the dynamics of G(s)Q(s) is slow, minimizing the weighted error [e(t) − e′ (t)] may not be a good way to optimize the nonlinear performance. After the system comes out of the nonlinear region, the controller takes no action to compensate the effect of the error introduced during saturation.
276
Quantitative Process Control Theory
In Item 1, W (s) is chosen to guarantee the stability, while in Item 2 W (s) is chosen to enhance the performance. Therefore, W (s) can be tuned to tradeoff the performance and the stability of the constrained system. For stable plants, the IMC structure in Figure 9.4.1 and the unity feedback loop in Figure 9.4.3 are equivalent. The modified IMC structure shown in Figure 9.4.2 can be directly extended to the unity feedback loop. The obtained anti-windup structure is shown in Figure 9.4.4. The controllers are defined as follows:
FIGURE 9.4.3 The unity feedback loop in the presence of actuator constraint.
FIGURE 9.4.4 Modified unity feedback loop for anti-windup.
C1 (s)
= Q1 (s),
(9.4.11)
C2 (s)
= Q2 (s) − Q1 (s)G(s),
(9.4.12)
or C1 (s) C2 (s)
= C(∞), C1 (s) = − 1, C(s)
(9.4.13) (9.4.14)
Complex Control Strategies
277
where C(s) =
Q(s) . 1 − G(s)Q(s)
The latter controllers correspond to W (s) =
C1 (s) , G(s)Q(s)
(9.4.15)
which implies min |C1 (t)[e(t) − e′ (t)]|. u ˆ(t)
(9.4.16)
Example 9.4.1. Consider the following plant: G(s) =
2 . 100s + 1
Case 1 It is easy to obtain the following IMC controller: Q(s) =
100s + 1 . 2(λs + 1)
It might as well take λ = 20. Case 2 Choosing W (s) = 2.5(20s + 1) results in Q1 (s) = 2.5, Q2 (s) =
4 . 100s + 1
Case 3 Choosing W (s) = 50(s + 1) results in Q1 (s) =
50(s + 1) 99 , Q2 (s) = . 20s + 1 100s + 1
Here W (∞) is chosen so that Q2 (s) is strictly proper. Q(s) in Case 2 corresponds to minimizing |e(t) − e′ (t)|, while Q(s) in Case 3 approximately corresponds to minimizing |y(t) − y ′ (t)|. Assume that the input is constrained within the saturation limits ±1. The responses of the conventional IMC implementation and the modified IMC implementation to a unit step reference are shown in Figure 9.4.5 and Figure 9.4.6, respectively. The control input in Case 2 stays saturated until e(t) = e′ (t), while the control input in Case 3 stays saturated until y(t) ≈ y ′ (t).
278
FIGURE 9.4.5 Responses of the system output.
FIGURE 9.4.6 Responses of the plant input.
Quantitative Process Control Theory
Complex Control Strategies
9.5
279
Feedforward Control
A control system should have good ability for disturbance rejection, so that the system output can be kept close to the reference in the presence of disturbances. In a feedback control loop, the disturbance can never be completely eliminated. The reason is simple. The feedback controller takes action only after the error caused by the disturbance happens. When the disturbance entering a system is known, it can be compensated by introducing an additional loop. This is the basic idea of feedforward control. Theoretically, the feedforward controller has the potential to compensate disturbances exactly. The feedforward structure is shown in Figure 9.5.1, where Cf (s) is the feedforward controller, and Gd (s) is the transfer function of the disturbance channel, through which the disturbance enters the system. The system output is y(s) = Gd (s)d(s) − Cf (s)G(s)d(s).
(9.5.1)
FIGURE 9.5.1 Feedforward control loop. Assume that the model is exact. To compensate the disturbance completely, the controller should be Gd (s) Cf (s) = . (9.5.2) G(s) The exact compensation is achievable only when Cf (s) is stable. This implies that G(s) is MP or Gd (s) has zeros wherever G(s) has NMP zeros. It is possible that G(s) is NMP and has NMP zeros different from those of Gd (s). In this case, Cf (s) should be designed so that the effect of the disturbance on the system output is minimized. The transfer function from the disturbance to the system output is y(s) = Gd (s) − G(s)Cf (s). d(s)
280
Quantitative Process Control Theory
Then the optimization problem can be expressed as min kW (s)[Gd (s) − G(s)Cf (s)]k ,
(9.5.3)
where k ·k denotes some norm and W (s) is a weighting function. This problem can be converted into the quasi-H∞ design problem or the H2 design problem. Feedforward control is an open-loop control strategy. If the model is not exact, the effect of the disturbance on the system output will not vanish. The system output will show a deviation from the reference. Consequently, feedforward control is seldom used alone. A frequently used scheme is the combined feedforward/feedback control, which is shown in Figure 9.5.2. In this structure, the effect of the disturbance on the system output is y(s) =
Cf (s)G(s) Gd (s) d(s) − d(s). 1 + G(s)C(s) 1 + G(s)C(s)
(9.5.4)
FIGURE 9.5.2 Combined feedback/feedforward control system. The feedforward controller is still Cf (s) = Gd (s)/G(s). The feedforward controller is used to compensate the disturbance, whereas the feedback action attempts to eliminate the effects of uncertainty. Since the characteristic equation of the system is not changed, the introduction of the feedforward controller will not affect the stability of the closed-loop system. The feedforward controller can also be introduced to the IMC structure. In Figure 9.5.3, Q(s) is the IMC controller and Qf (s) is the feedforward controller. They are related to the conventional controllers C(s) and Cf (s) through C(s)
=
Cf (s)
=
Q(s) , 1 − G(s)Q(s) Qf (s) − Gd (s)Q(s) . 1 − G(s)Q(s)
(9.5.5) (9.5.6)
Complex Control Strategies
281
FIGURE 9.5.3 IMC feedback/feedforward control system. When there is no model error, y(s) = [Gd (s) − G(s)Qf (s)]d(s).
(9.5.7)
To compensate the disturbance completely, the controller should be Qf (s) =
Gd (s) . G(s)
(9.5.8)
Note that the feedforward controller in the IMC structure is in the same form as that in the unity feedback loop. Consider the design of feedforward controller for a system in which the plant and the transfer function of the disturbance channel can be adequately described by the first-order model with time delay; that is, G(s)
=
Gd (s)
=
Ke−θs , τs + 1 Kd e−θd s . τd s + 1
(9.5.9) (9.5.10)
The feedforward controller is as follows: Qf (s) =
Kd τ s + 1 (θ−θd)s . e K τd s + 1
(9.5.11)
A typical case is θ ≈ θd . Then the controller is simplified to Qf (s) =
Kd τ s + 1 . K τd s + 1
(9.5.12)
282
Quantitative Process Control Theory
If the dynamic term of this controller is removed, the steady-state feedforward controller Qf s will be obtained: Qf s =
Kd . K
(9.5.13)
When the model is exact, the feedforward/feedback loop can be viewed as the unity feedback loop without disturbance. Example 9.5.1. An important step in the paper-making process is drying. The dryer of a paper-making machine consists of many cylinders that are 1.5m in diameter and 2.1m in length. Each cylinder is fully filled with vapor. When the wet paper goes through the surface of these cylinders, most of the water evaporates and the final paper with proper moisture content is obtained (Figure 9.5.4). To reduce the fluctuation magnitude and frequency of the temperature change on the surface of cylinder, the feedforward/feedback scheme is applied. By mechanism analysis, the pressure inside the cylinder (which is used as the indicator of the cylinder temperature) is chosen as the system output, the steam flow rate is chosen as the control variable, and the steam temperature is regarded as the disturbance. The models of the cylinder are as follows:
FIGURE 9.5.4 A cylinder.
G(s) = Gd (s) =
1.65 × 0.48 , (48s + 1)(10s + 1) 0.0636 . 42.6s + 1
Then the feedforward controller is Cf (s) =
0.08(48s + 1)(10s + 1) . 42.6s + 1
Complex Control Strategies
283
This is an improper transfer function. It can be physically realized by introducing a low-pass filter.
9.6
Optimal Input Disturbance Rejection
The discussion in the preceding chapters aims at the controller for output disturbances. The goal is to minimize kW (s)S(s)k2 or kW (s)S(s)k∞ . Design method of this kind has several merits: 1. The design procedure is simple and easy to understand. 2. The resulting controller is usually of low-order and easy to implement. 3. Attention is paid to both reference tracking and disturbance rejection. 4. The design for the regulator problem is identical to that for the servo problem. The controller can also be designed for input disturbances. The problem has already been touched upon in Section 7.4. This section discusses the H2 optimal control problem for input disturbance rejection. Consider the unity feedback loop shown in Figure 2.3.1. The transfer function from the input disturbance to the system output is G(s)S(s). Choose the performance index as min kW (s)G(s)S(s)k2 . As introduced in Section 8.1, a general plant can be described by G(s) =
KN+ (s)N− (s) −θs e . M+ (s)M− (s)
(9.6.1)
The rational part of the plant is MP if N+ (s) = 1 and the plant is stable if M+ (s) = 1. For a step input, the Q(s) that guarantees the internal stability and asymptotic tracking property can be written as Q(s) =
[1 + sQ2 (s)]M+ (s) , K
where Q2 (s) is any stable transfer function that makes Q(s) proper and satisfies dk [1 + sQ2 (s)]N+ (s)N− (s)e−θs lim 1 − = 0, k = 0, 1, ..., lj − 1. s→pj dsk M− (s) Here pj (j = 1, 2, ..., rp ) are the lj multiplicity unstable poles of G(s). Take W (s) = 1/s. Then 2
kW (s)G(s)S(s)k2
284 =
=
=
Quantitative Process Control Theory
2
W (s)G(s) 1 − G(s)M+ (s) [1 + sQ2 (s)]
K 2
2
1 KN+ (s)N− (s) −θs
e
s M+ (s)M− (s)
1 − N+ (s)N− (s) e−θs − N+ (s)N− (s)s e−θs Q (s) 2
M− (s) M− (s) 2
2
2 θs
N− (s)N+ (s) − N (−s)e +
sM (−s)M (s)N (s) + + − +
K2
. (9.6.2) 2 2 2 2
M− (s) − N− (s)N+ (−s) N+ (−s)N− (s)
(s) − Q 2 2 2
sM+ (−s)M− (s) M+ (−s)M− (s) 2
Suppose that the plant is MP, that is, θ = 0 and N+ (s) = 1. Then 2
= =
kW (s)G(s)S(s)k2
2 2 2
N− (s) − 1
(s) (s) M− (s) − N− N−
K2 + (s) − Q
sM+ (−s)M− (s) sM+ (−s)M 2 (s) M+ (−s)M 2 (s) 2 − − 2
2 2 2
M− (s)N− (s) − N− (s) N− (s) K2 − Q2 (s)
sM+ (−s)M 2 (s)
. 2 (−s)M M + − − (s) 2
2 (s), the optimal Q2 (s) is Since s is the factor of M− (s)N− (s) − N−
Q2opt (s) =
2 (s) M− (s)N− (s) − N− . 2 sN− (s)
The optimal Q(s) can readily be obtained: Qopt (s) =
M− (s)M+ (s) . KN− (s)
(9.6.3)
Evidently, the controller is identical to the one designed for output disturbances. This implies that for MP plants, the design for input disturbances cannot provide any improved disturbance response. Nevertheless, the disturbance response can be improved for NMP plants. To illustrate the problem, consider the simplest NMP plant described by the following transfer function: G(s) =
K(−zr−1s + 1) , (τ1 s + 1)(τ2 s + 1)
where τ1 , τ2 , and zr are positive numbers. We have 2
kW (s)G(s)S(s)k2
(9.6.4)
Complex Control Strategies 285
2
(zr−1 s + 1)2 − (−zr−1 s + 1)
+
s(τ s + 1)(τ s + 1)(−z −1 s + 1)
r 2 1 = K2
−1 2
(τ1 s + 1)(τ2 s + 1) − (zr−1 s + 1)2 (zr s + 1)
(s) − Q 2
2 2 2 2 s(τ1 s + 1) (τ2 s + 1) (τ1 s + 1) (τ2 s + 1) 2
2
−2 −1
z s + 3z r r
(τ s + 1)(τ s + 1)(−z −1 s + 1) +
r 2 1 = K2
. 2 −1
(τ1 τ2 − zr−2 )s + (τ1 + τ2 − 2zr−1 ) (zr s + 1)
(s) − Q 2
2 2 2 2 (τ1 s + 1) (τ2 s + 1) (τ1 s + 1) (τ2 s + 1) 2 Let
a0
=
a1 a2
= =
a3
=
a4
=
4zr−2 , τ1 + τ2 + zr τ1 τ2 + zr−1 zr−1 − a0 + τ1 + τ2 , (zr τ1 τ2 − τ1 − τ2 )a0 + 3zr−1 (τ1 + τ2 ) + τ1 τ2 − zr−2 , [zr τ1 τ2 (τ1 + τ2 ) − τ1 τ2 ]a0 + 3zr−1τ1 τ2 ,
a0 zr τ12 τ22 .
It follows that kW (s)G(s)S(s)k22
2
a0 2
+ = K −1 −zr s + 1 2
2
a 4 s3 + a 3 s2 + a 2 s + a 1
(zr−1 s + 1)2
. K2 (s) − Q 2
(τ1 s + 1)2 (τ2 s + 1)2
2 2 (τ1 s + 1) (τ2 s + 1) 2
Minimize the right-hand side of the equation. By utilizing the optimal Q2 (s), the optimal Q(s) is obtained as follows: Qopt (s) =
1 (a4 s3 + a3 s2 + a2 s + a1 )s . + K K(zr−1 s + 1)2
(9.6.5)
The corresponding optimal performance is ISE1 = min kW (s)G(s)S(s)k2
a0
= K −1 −zr s + 1 2 r zr = Ka0 . 2
(9.6.6)
If instead of the input disturbance, the controller is designed for the output disturbance, one can obtain the following optimal controller based on (6.2.5): Qopt (s) =
(τ1 s + 1)(τ2 s + 1) . K(zr−1 s + 1)
(9.6.7)
286
Quantitative Process Control Theory
The optimal performance corresponding to the input disturbance is ISE2 = min kW (s)G(s)S(s)k2
2zr−1
= K (τ1 s + 1)(τ2 s + 1) 2 r 2 −1 . = Kzr τ1 + τ2
(9.6.8)
To compare the two performances, we calculate the ratio of them: ISE2 ISE1
= =
zr (τ1 + τ2 ) + τ1 τ2 zr2 + 1 p 2 zr (τ1 + τ2 ) p zr (τ1 + τ2 ) τ1 τ2 zr2 1 + p . (9.6.9) + p 2 2 zr (τ1 + τ2 ) 2 zr (τ1 + τ2 )
It ispconcluded that the ratio is always greater than one. To see this, let a = zr (τ1 + τ2 ). Since (a − 1)2 ≥ 0, a + 1/a ≥ 2. This implies that the sum of the first two terms in the right-hand side of (9.6.9) is greater than or equal to one. The third term is a positive number. The conclusion is that, for NMP plants, the disturbance response can be improved by designing the controller for input disturbances. It is easy to verify that S(s) tends to be zero when the controller tends to be optimal in the system with an MP plant. Both designs can approach the optimal rejection for input disturbances. Nevertheless, in the system with an NMP plant, when the controller tends to be optimal, instead of zero, S(s) tends to be a constant. It is seen from (9.6.9) that the effect of the NMP zero is evident. The larger the zr , the larger the performance difference between the two designs. Now consider the effect of the plant poles. When the plant poles are close to the imaginary axis (that is, τ1 or τ2 is large), the third term in the right-hand side of (9.6.9) is large, which implies that the performance difference between the two designs is large. In practice, the controller is seldom designed for input disturbances if the plant does not have any poles close to the imaginary axis. On one hand, the result is complex. On the other hand, the reference response usually worsens. This can be seen in the following example. Example 9.6.1. Anesthesia can be administered automatically by a control system. For certain operations, such as brain and eye surgery, involuntary muscle movements can be disastrous. To ensure adequate operating conditions for the surgeon, muscle relaxant drugs, which block involuntary muscle movements, are administered. A conventional method used by anesthesiologists for muscle relaxant administration is injecting a bolus dose, whose size is determined by experience, and to inject supplements as required. However, an anesthesiologist may sometimes fail to maintain a steady level of relaxation, resulting in a large amount
Complex Control Strategies
287
of drug consumption or unexpected side effect. Significant improvements may be achieved by introducing the concept of automatic control. As the level of relaxation cannot be directly measured, the arterial blood pressure is chosen as its proxy. When the blood pressure increases, the level of relaxation decreases. Assume that the body dynamics is G(s) =
Ke−θs , τs + 1
where K = 2, τ = 0.2, and θ = 0.1. If the controller is designed for output disturbances, the controller can be obtained from (6.2.6): Q(s) =
0.2s + 1 . 2(λs + 1)
It might as well take λ = 0.02. Consider the controller for input disturbances. Using (9.6.2), one obtains the following controller: Q(s) =
(τ s + 1)[1 + τ s(1 − e−θ/τ )] . K(λs + 1)2
Substituting the plant parameters into the controller yields Q(s) =
(0.2s + 1)(0.0787s + 1) . 2(λs + 1)2
To obtain the same rise time, take λ = 0.04. The closed-loop responses are shown in Figure 9.6.1. The design for the output disturbance has a better reference response, while the design for input disturbances has a better disturbance response. As the price, the controller for the input disturbance is complex and the reference response worsens. When the plant has poles close to the imaginary axis, three ways can be used to design the controller for input disturbances: 1. Introduce zeros by S(s) to cancel the poles of G(s) in the performance index kW (s)G(s)S(s)k2 . 2. Design the system as a Type 2 one.
3. Introduce zeros by W (s) to cancel the poles of G(s) in the performance index kW (s)S(s)k2 . The first method has been discussed in the first half part of this section. The second method was, in fact, given in Chapter 7. The third method is mainly used in two cases: to simplify the design or to tradeoff between the design for the input disturbance and the one for the output disturbance.
288
Quantitative Process Control Theory
FIGURE 9.6.1 Responses of systems designed for different disturbances. In the plant whose order is greater than one, normally not all poles are close to the imaginary axis. Assume that there is only one pole, τ1 , close to the imaginary axis in (9.6.4). The controller designed by the first method is complex. A simplified method is to choose a simple weighting function in the third method. For example, the following weighting function is taken: W (s) =
(λs + 1)(γs + 1) , s(τ1 s + 1)
(9.6.10)
where γ ∈ [λ, τ1 ]. The rest of the design is similar to the first method. It can be seen that this choice implies that only the slow pole, τ1 , is considered in the weighting function. The main design objective is the input disturbance when γ = λ, while it is the output disturbance when γ = τ1 . By choosing an appropriate γ in between λ and τ1 , one can easily tradeoff between the design for the input disturbance and that for the output disturbance.
9.7
Control of Plants with Multiple Time Delays
Consider the plant G(s) =
KN+ (s)N− (s) −θs e . M+ (s)M− (s)
(9.7.1)
Complex Control Strategies
289
The control problem for this kind of plant is the most frequently encountered problem in linear control systems. Nevertheless, there is a more complex case; that is, there are multiple time delays in the nominator or denominator of plant. This corresponds to the situation where the plant has multiple state time delays and output time delays. It is fairly difficult to rigorously treat such a plant in control system design. Therefore, it is usually reduced to the form of a rational transfer function with time delay. To explain why this treatment is necessary, consider a plant with dual time delays. The plant is described by G(s) =
Ke−θ2 s e−θ1 s − , τs + 1 τs + 1
(9.7.2)
which consists of two parallel stable plants with the same time constant. Without loss of generality, let θ1 < θ2 and θ = θ2 − θ1 . Then G(s) =
1 − Ke−θs −θ1 s . e τs + 1
If the design specification is to minimize kW (s)S(s)k2 , the optimal controller Q(s) should be identical to that for the following plant: G(s) =
1 − Ke−θs . τs + 1
(9.7.3)
For a step input, the Q(s) satisfying the internal stability and asymptotic tracking property can be written as Q(s) =
1 + sQ1 (s), 1−K
(9.7.4)
where Q1 (s) is stable. Take W (s) = 1/s, then 2
kW (s)S(s)k2
1 − G(s) = W (s)
2
1 + sQ1 (s) ]
1−K 2
2 −θs
1
1 − Ke 1 = + sQ1 (s) ]
s 1 − τs + 1
1−K 2
2
(τ s + 1)(1 − K) − (1 − Ke−θs ) 1 − Ke−θs
= − Q1 (s)
. s(τ s + 1)(1 − K) τs + 1 2
Let 1 − Ke−θs = 0. An infinite number of RHP zeros of G(s) are obtained: zk =
ln K + 2kπj , θ
(9.7.5)
290
Quantitative Process Control Theory
where k is any integer. An all-pass function can be constructed with the following poles: pk =
− ln K + 2kπj . θ
(9.7.6)
These poles are the roots of −K + e−θs = 0. They are the mirror images of zk . Consequently, 2
=
=
=
kW (s)S(s)k2
2
[(τ s + 1)(1 − K) − (1 − Ke−θs )](−K + e−θs )
−
s(τ s + 1)(1 − K)(1 − Ke−θs )
−K + e−θs
Q1 (s)
τs + 1 2
2
−K + e−θs − 1 + Ke−θs
+
s(1 − Ke−θs )
(τ s + 1)(1 − K) − (−K + e−θs ) −K + e−θs
− Q1 (s)
s(τ s + 1)(1 − K) τs + 1 2
2
−K + e−θs − 1 + Ke−θs
+
s(1 − Ke−θs ) 2
2
(τ s + 1)(1 − K) − (−K + e−θs ) −K + e−θs
. (s) − Q 1
s(τ s + 1)(1 − K) τs + 1 2
Minimizing the right-hand side of the equality yields Q1 (s). Then the optimal controller is τs + 1 . (9.7.7) Qopt (s) = −K + e−θs Introduce the following filter:
J(s) =
1 . λs + 1
The unity feedback loop controller is C(s) =
τs + 1 . (λs + 1)(−K + e−θs ) − (1 − Ke−θs )e−θ1 s
(9.7.8)
To implement the controller in the unity feedback loop, the reduction technique has to be used. For general plants, it is impossible to analytically design the controller when the time delay is rigorously treated. The difficulty lies in that the all-pass part of the plant cannot be constructed. For example, consider the following plant with dual time delays: G(s)
=
e−θ1 s e−θ2 s + τ1 s + 1 τ2 s − 1
Complex Control Strategies =
291 (τ2 s − 1)e−θ1 s + (τ1 s + 1)e−θ2 s . (τ1 s + 1)(τ2 s − 1)
(9.7.9)
Let (τ2 s − 1)e−θ1 s + (τ1 s + 1)e−θ2 s = 0. The zeros of the plant are the solution to the following equation: e−(θ1 −θ2 )s =
τ1 s + 1 . −τ2 s + 1
(9.7.10)
It is a challenge to construct an all-pass transfer function with this equation.
9.8
Summary
When the dynamic characteristics of reference and disturbance are substantially different and both good reference tracking and good disturbance rejecting are desired, it is advantageous to use a 2 DOF control system. This chapter discusses the 2 DOF control problem and an analytical design procedure is proposed. It can be seen that Structure I is actually the unity feedback loop with a prefilter. Structure II provides an alternative way to implement the prefiltering. One main function of feedback controllers is rejecting the disturbance. In some systems, the system response to the disturbance can be improved by introducing a secondary measurement point and a secondary feedback controller, that is, by using the cascade control. It is pointed out that the performance cannot always be improved by the cascade control. The cascade control is only useful when the master plant is NMP. There is always saturation nonlinearity in a real actuator. The saturation nonlinearity will cause windup and prevent the controller from reducing the error signal efficiently. In this case, anti-windup schemes are proposed to improve the system performance. An optimization-based design method is presented in this chapter, which is very effective for anti-windup. A disadvantage of feedback control is that the corrective action for disturbance does not begin until the system output deviates from the reference. Compared with feedback control, the advantage of feedforward control is that the disturbance can be compensated completely at the time it happens. The inherent weakness of the feedforward control is that it requires exact information about the plant and disturbance. In this chapter, an analytical design method is provided for feedforward/feedback control. In this chapter, the optimal rejection problem of input disturbances and the control problem of the plant with multiple time delays are also studied. The two problems are solved with the design technique introduced in the preceding chapters. It is also pointed out that when the plant is MP, the design for the input disturbance cannot provide any improvement on disturbance response.
292
Quantitative Process Control Theory
Exercises 1. Does the prefilter in a 2 DOF scheme affect the stability and robust stability of the closed-loop system? Why? 2. A parallel cascade control structure is shown in Figure E9.1. Compare the parallel cascade control system with the series cascade control system in Figure 9.3.2 and give some suggestions on the design of the parallel cascade controllers.
FIGURE E9.1 Parallel cascade control structure. 3. Consider the conventional feedback/feedforward control structure in Figure 9.5.2 and the IMC feedback/feedforward control structure in Figure 9.5.3. Is Cf (s) equivalent to Qf (s)? 4. Consider the nuclear reactor described in Example 6.4.1. The plant model is given by G(s) =
e−0.4s . 0.2s + 1
Assume that the transfer function of the disturbance channel is Gd (s) =
2e−0.1s . 2s + 1
Design a feedforward controller. 5. The solar-powered rover is a highly helpful tool for interstellar exploration. It can be used for a mission of several months in severe environment. A typical appearance of the rover is a car with solar panel and camera equipped on its back (Figure E5.1). The steering of the car is controlled by a feedback control system.
Complex Control Strategies
293
The objective is to reach a step response to a steering command with zero steady-state error, overshoot less than 20%, peak time less than 0.3s, and |u(t)| ≤ 50. The dynamics of the steering plant is given by G(s) =
2e−0.1s . 0.2s + 1
Design an acceptable controller for the steering system. 6. For the plant in Example 9.6.1 and the input disturbance, prove Q(s) =
(τ s + 1)[1 + τ s(1 − e−θ/τ )] . K(λs + 1)2
Notes and References Section 9.1 and Section 9.2 are from Zhang et al. (2004) and Zhang (2006). An alternative 2 DOF control structure was discussed by Astrom et al. (1994), Zhang and Sun (1996b), and Zhang et al. (1998a). Kwok and Davison (2007) discussed an interesting problem regarding the complexity of control structure. The plant in Example 9.2.1 is from Dorf and Bishop (2001, p. 386). Most discussion in Section 9.3 is based on Morari and Zafiriou (1989). The cascade control system is also studied by Maffezzoni et al. (1990) and Kaya (2001). The design method in Section 9.4 was proposed by Zheng et al. (1994) (Zheng A., M. V. Kothare and M. Morari. Anti-windup design for internal c & Francis model control, Int. J. Control, 1994, 60(5), 1015–1024. Taylor Ltd.). The factorization in Item 2 corresponds to the model state feedback proposed in Coulibaly et al. (1990). There is a lot of literature on the topic of anti-windup. The relationships among different anti-windup schemes were discussed by Edwards and Postlethwaite (1998) and Zaccarian and Teel (2002). Section 9.5 is adapted from Morari and Zafiriou (1989, Section 6.3). Lewin and Scali (1988) analyzed the robustness of feedforward control system. The plant in Example 9.5.1 is from Sun (1993, Section 11.2). Section 9.6 and 9.7 are from Zhang et al. (2006). The discussion about the input disturbance rejection problem can also be found in Doyle et al. (1992). The design method for rejecting the input disturbance by choosing appropriate weighting functions was discussed in detail in Alcantara et al. (2011). The anesthesia control problem was discussed by Frei et al. (2000) and
294
Quantitative Process Control Theory
Linkens (1993). The plant in Example 9.6.1 is from Dorf and Bishop (2001, p. 466). The parallel cascade control structure in Exercise 2 is from Semino and Brambilla (1996). Exercise 5 is adapted from Dorf and Bishop (2001, p. 728).
10 Analysis of MIMO Systems
CONTENTS 10.1 10.2 10.3 10.4 10.5 10.6 10.7
Zeros and Poles of a MIMO Plant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Singular Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Norms for Signals and Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Nominal Stability and Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Robust Stability of MIMO Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Robust Performance of MIMO Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
296 298 302 304 308 314 316 317 320
The control systems considered in the preceding chapters are SISO systems. In these systems, the plant has only a single output and a single manipulated input. Some systems are MIMO systems, in which the plant has more than one output and requires more than one manipulated input. From this chapter on, the analysis and design of MIMO systems will be the main subject. The discussion will concentrate on the square plant, that is, the plant with the same number of inputs and outputs. The analysis and design of MIMO systems require more mathematical knowledge than the SISO case. As in SISO systems, an effort is made to treat MIMO systems with the least mathematical knowledge. For convenience of understanding the subsequent chapters, some necessary terminologies and basic concepts are introduced in this chapter, including zero and pole, norm and system gain, internal stability, and performance index. These terminologies and concepts are clear in the SISO system, but their extension to the MIMO case should be properly defined. For the sake of providing a panorama of the methods and results in this area, the uncertainty description and the test for robust stability and robust performance are introduced in Sections 10.5 and 10.6. The discussion in these two sections is very theoretical. Those application-oriented readers can skip them. For an in-depth study on the mathematical knowledge for MIMO systems, readers are referred to monographs about this topic. 295
296
10.1
Quantitative Process Control Theory
Zeros and Poles of a MIMO Plant
Consider linear time invariant and causal plants. An n × n MIMO plant G(t) is causal if all of its elements Gij (t)(i = 1, 2, ..., n; j = 1, 2, ..., n) are causal. Such a MIMO plant can be described by a square transfer function matrix G(s), whose elements are in the form of a proper transfer functions with real coefficients. A transfer function matrix G(s) is proper if all its elements Gij (s) are proper; G(s) is strictly proper if all its elements Gij (s) are strictly proper. All transfer function matrices that are not proper are improper. In SISO systems, it is seen that zeros and poles play an important role in the analysis and design of control systems. Normally, the designer has to compute zeros and poles at the beginning of design. At least it should be known whether the plant has zeros and poles in the RHP. In this section, the concept of SISO zero and pole is generalized to n × n MIMO systems. The pole polynomial π(s) of G(s) is the least common denominator of all non-identically zero minors of G(s). The pole is the root of the equation π(s) = 0. A system is stable if and only if all its poles are in the open LHP. Example 10.1.1. Consider the following plant: 1 1 s+3 s−2 G(s) = . 3 s+1 s+3
s−2
The minors of order 1 are the determinants of the elements of G(s). The minor of order 2 is the determinant of the plant itself. In view of the minors of all orders, the least common denominator is π(s) = (s + 3)(s − 2). Therefore, G(s) has two poles: one is at s = −3 and the other is at s = 2.
Let “det” denote the determinant of a matrix. The zero polynomial ζ(s) is the numerator of det[G(s)], provided that det[G(s)] has been adjusted to have the pole polynomial as its denominator. The zeros of G(s) are the roots of the equation ζ(s) = 0. If a point is the zero of G(s), the rank of G(s) at this point is less than its normal rank. The normal rank is defined as the rank of G(s) for every s in the set of complex numbers, except for a finite number of points. Example 10.1.2. Consider the plant in Example 10.1.1. Adjust det G(s) so that its denominator is the pole polynomial: det[G(s)] = Then
s−2 . (s + 3)(s − 2)
ζ(s) = s − 2. Hence, G(s) has one zero at s = 2.
Analysis of MIMO Systems
297
Similar to SISO systems, when G(s) has only one pole at s = p0 , p0 is said to be a simple pole. If G(s) has multiple poles at s = p0 , p0 is a multiple pole. Zeros and their multiplicity can be defined similarly. It is observed in Example 10.1.1 and Example 10.1.2 that MIMO plants may have zeros and poles at the same location. In general, it is impossible to find all plant zeros from the condition det[G(s)] = 0. When forming the determinant, zeros and poles at the same location cancel each other. It is seen that the zero location of a MIMO system is no longer related to the zero location of the individual SISO transfer function constituting the MIMO system. Thus, it is possible for a MIMO system to be NMP even though all SISO transfer functions are MP. A plant G(s) is NMP if its transfer function matrix contains zeros in the closed RHP or contains a time delay. Otherwise, the plant is MP. With regard to MIMO plants, different definitions for time delay will result in different MP plants. This book gives a definition with respect to the decoupling control in Chapter 13. Example 10.1.3. The plant G(s) =
1 s+1
s+3 2 3 1
has a zero at s = 3 and thus is NMP. However, all SISO transfer functions are MP. The normal rank of G(s) is 2. Substituting s = 3 into G(s) yields 1 6 2 G(3) = . 4 3 1 It can be seen that the feature of the resulting matrix is that its two rows are not independent. The rank of G(3) is 1, which is less than the normal rank of G(s). The zero multiplicity is closely related to the plant rank at the zero. Theorem 10.1.1. If the rank of G(z) is k, then G(s) has a zero at s = z with multiplicity at least (n − k). Proof. Since rank[G(z)] = k, with appropriate elementary transformations G(s) can be transformed into the following form:
b1 (s) .. .
bk (s) G1 (s) = bk+1 (s) .. . bn (s)
,
298
Quantitative Process Control Theory
where b1 (z), b2 (z), ..., bk (z) are linearly independent rows. bk+i (z)(i = 1, 2, ..., n − k) either are zero or can be written as bk+i (z) = αi1 b1 (z) + αi2 b2 (z) + ... + αik bk (z), where αi1 , αi2 , ..., αik are constants that are not all zero. Carry out elementary transformations with regard to G1 (s), so that
b1 (s) .. .
bk (s) G2 (s) = b′ (s) k+1 .. . b′n (s)
,
where b′k+i (s) = bk+i (s) − αi1 b1 (s) − αi2 b2 (s) − ... − αik bk (s) if bk+i (z) 6= 0 and b′k+i (s) = bk+i (s) if bk+i (z) = 0. Then b′k+i (s)(i = 1, 2, ..., n − k) must contain the factor s − z. As elementary transformations do not change the value of the determinant, G(s) has a zero at z with multiplicity least (n − k).
10.2
Singular Values
Consider a fixed frequency ω. T (s) is a complex number at s = jω. For a SISO system, y(s) = T (s)r(s). The gain at a given frequency can be simply expressed as |T (jω)r(jω)| |y(jω)| = = |T (jω)|. |r(jω)| |r(jω)|
(10.2.1)
The gain depends on the frequency, but is independent of the input magnitude. In an n × n system T (s), the case is different because both the input r(s) and the output y(s) = T (s)r(s) are vectors. To investigate the gain at a given frequency, we need to “sum up” the magnitudes of the input signal and output signal in each vector by utilizing norms. If the 2-norm, a frequently used measure, is selected, the “size” of the input signal is
kr(jω)k2 :=
n X j=1
1/2
|rj (jω)|2
,
(10.2.2)
Analysis of MIMO Systems
299
and the “size” of the output signal is ky(jω)k2 :=
" n X i=1
2
|yi (jω)|
#1/2
.
(10.2.3)
The gain of the system at a given frequency can then be described by the ratio ky(jω)k2 kr(jω)k2
kT (jω)r(jω)k2 kr(jω)k2 #1/2 "P |yi (jω)|2 i P . = 2 j |rj (jω)|
=
(10.2.4)
In addition to the frequency, the gain depends on the input direction. Hence, the above definition for the gain is not an ideal one. Example 10.2.1. Consider a 2 × 2 system 1 2 . T = 3 4 The inputs are 0.707 0 1 , , r3 = , r2 = r1 = 0.707 1 0 0.8 0.707 , , r5 = r4 = −0.6 −0.707
These inputs have the same magnitude krk2 = 1, but they are in different directions. Compute the system outputs for the five inputs: 2.12 4 1 , , y3 = , y2 = y1 = 4.95 2 3 −0.40 −0.707 . , y5 = y4 = 0 −0.707 The 2-norms of these outputs are ky1 k2 = 3.16, ky2 k2 = 4.47, ky3 k2 = 5.38, ky4 k2 = 1.00, ky5 k2 = 0.40. It is observed that the inputs with the same magnitude and different directions relate to different system gains. As it is known, the eigenvalues of a MIMO system reflect its gain characteristic. Let λei [T (jω)](i = 1, 2, ..., n) denote the eigenvalues of T (jω). The
300
Quantitative Process Control Theory
sum of the eigenvalues of T (jω) is equal to the trace of T (jω) (that is, the sum of the diagonal elements): X Trace[T (jω)] = λei [T (jω)]. i
The largest eigenvalue is called the spectral radius, which is denoted by ρ[T (jω)] = max |λei [T (jω)]|. i
Let the complex number tij be the elements of T (jω). Define the norm of a complex matrix as X |tij |. kT (jω)k∞ = max i
j
If λei [T (jω)] is an eigenvalue of T (jω) and r(jω) is the corresponding eigenvector, then |T (jω)r(jω)| = |λei [T (jω)]||r(jω)|. As |T (jω)r(jω)| ≤ kT (jω)k∞ |r(jω)|, we have ρ[T (jω)] ≤ kT (jω)k∞ . The eigenvalues of a system, however, do not provide a useful means for generalizing the SISO gain, because they only measure the gain in the special case where the input and the output are in the same direction. Example 10.2.2. Consider the system y = T r with 0 1 . T = 0 0 There are two eigenvalues λe1 [T ] = λe2 [T ] = 0. It is clearly misleading to conclude that the gain of the system is zero. For example, with the input r = [0 1]T , we have the output y = [1 0]T .
Analysis of MIMO Systems
301
A good measure for the MIMO gain at a given frequency ω is the singular value. The singular values of the complex matrix T (jω), denoted by σi [T (jω)], are the n square roots of the eigenvalues of T H (jω)T (jω), that is, o1/2 n , i = 1, 2, ..., n, (10.2.5) λei [T H (jω)T (jω)] σi [T (jω)] =
where the superscript H denotes the complex conjugate transpose of a maT trix: T H (jω) = T¯ (jω). For convenience, the ordering σ1 ≥ σ2 ≥ ... ≥ σn is adopted. In general, the singular values must be computed numerically. However, for 2 × 2 matrices, analytical expressions can be obtained. Instead of a single gain, there are a group of gains in MIMO systems. The largest gain in all input directions is equal to the maximum singular value: σ ¯ [T (jω)] = max
r(jω)6=0
kT (jω)r(jω)k2 , kr(jω)k2
(10.2.6)
and the smallest gain in all input directions is equal to the minimum singular value: σ[T (jω)] = min
r(jω)6=0
kT (jω)r(jω)k2 . kr(jω)k2
(10.2.7)
A convenient way to represent a matrix and expose its internal structure is using singular value decomposition (SVD). The SVD of T (jω) is given by T (jω) = U (jω)Σ(jω)V H (jω) n X = σi [T (jω)]ui (jω)vi H (jω),
(10.2.8)
i=1
where U (jω) = [ u1 (jω) u2 (jω) ... un (jω) ],
(10.2.9)
and U H (jω) = U −1 (jω), V (jω) = [ v1 (jω) v2 (jω) ... vn (jω) ],
(10.2.10)
and V H (jω) = V −1 (jω). Σ(jω) can be written as Σ(jω) = diag{σ1 [T (jω)], σ2 [T (jω)], ..., σn [T (jω)]}.
(10.2.11)
Here “diag” denotes a diagonal matrix. It is easy to check that the columns of V (jω) and U (jω) are unit eigenvectors of T H (jω)T (jω) and T (jω)T H (jω), respectively. They are known as the right singular vectors and the left singular vectors of the matrix. The right singular vectors represent the input direction, while the left singular vectors represent the output direction. By SVD an arbitrary matrix can be decomposed into a “rotation” (V H (jω)), followed by scaling (Σ(jω)), and then followed by a “rotation” (U (jω)).
302
Quantitative Process Control Theory
Example 10.2.3. Consider the following system again: 1 2 . T = 3 4 The singular value decomposition is T =
−0.4046 −0.9145 −0.9145 0.4046
5.4650 0 0 0.3660
−0.5760 0.8174 −0.8174 −0.5760
H
.
The largest gain of 5.4650 relates to the input in the direction −0.5760 , −0.8174 and the smallest gain of 0.3660 relates to the input in the direction 0.8174 . −0.5760
10.3
Norms for Signals and Systems
In the last section, the MIMO gain was considered only at individual frequencies. In system design, it is very useful to estimate the MIMO gain over the whole frequency range. This can be achieved by defining norms for vector functions and matrix-valued functions. Consider the vector function r(t) of dimension n. The 2-norm of r(t) is defined as 1/2 Z ∞ T . (10.3.1) r (t)r(t)dt kr(t)k2 = −∞
For the r(t) whose energy is bounded, Parseval’s theorem yields an equivalent expression: kr(s)k2 :=
1 2π
Z
∞
rH (jω)r(jω)dω
−∞
1/2
.
(10.3.2)
Assume that the matrix-valued function T (s) of dimension n × n is a strictly proper transfer function matrix without poles on the imaginary axis. The definition of the 2-norm of T (s) is kT (s)k2 :=
1 2π
Z
∞ −∞
i 1/2 . Trace T (jω)T (jω) dω h
H
(10.3.3)
Analysis of MIMO Systems
303
If T (s) has no poles in the RHP, by Parseval’s theorem we have kT (s)k2
= kT (t)k2 Z ∞ h i 1/2 T = Trace T (t)T (t) dt .
(10.3.4)
−∞
Assume that T (s) of dimension n × n is a proper transfer function matrix without poles on the imaginary axis. The definition of the ∞-norm of T (s) is kT (s)k∞ := sup σ ¯ [T (jω)] .
(10.3.5)
ω
The ∞-norm is sub-multiplicative: kT 1 (s)T 2 (s)k∞ ≤ kT 1 (s)k∞ kT 2 (s)k∞ .
(10.3.6)
For beginners, it is easy to confuse the norm concept in this section with that in the last section where the norm was defined for vectors and matrices whose elements were complex numbers. The norm in this section is defined for vectors and matrices whose elements are functions. Consider the linear system y(s) = T (s)r(s),
(10.3.7)
where T (s) is stable. An interesting problem is how to quantify the least upper bound of the system output y(s) for a known input r(s), or equivalently, how large the system gain is. The system gains are shown in Table 10.3.1. TABLE 10.3.1 System gains for MIMO systems. ky(t)k2
r(t) = δ(t)I kT (s)k2
kr(t)k2 kT (s)k∞
Consider Entry (1, 1) of Table 10.3.1. Assume that the impulse is applied to each input in due order: r(t) = δ(t)I. We have ky(t)k2 = kT (t)k2 = kT (s)k2 .
(10.3.8)
This implies that for this specific input, the energy of the system output is the square of the 2-norm of the system transfer function matrix. Consider Entry (1, 2). Assume that the input is bounded: kr(s)k2 ≤ 1. The energy of the system output is bounded by the square of the ∞-norm of the system transfer function. This is shown as follows: Z ∞ 1 2 ky(s)k2 = r H (jω)T H (jω)T (jω)r(jω)dω 2π −∞
304
Quantitative Process Control Theory Z ∞ 1 rH (jω)r(jω)dω, ≤ sup |T (jω)|2 2π −∞ ω
or 2
2
2
ky(t)k2 ≤ kT (s)k∞ kr(t)k2 .
(10.3.9)
Thus, kT (s)k∞ is an upper bound for the energy of the system output. To prove that it is the least upper bound, it is enough to show that the bound can be reached for a specific input. The specific input is a constructed frequency domain impulse occurring at the frequency where |T (jω)| is maximum. The constructing procedure, which can be found in Section 3.1, will not be repeated here.
10.4
Nominal Stability and Performance
In order to work well in a real system, the controller has to meet the following objectives: • Nominal stability (NS). • Nominal performance (NP). • Robust stability (RS). • Robust performance (RP). The nominal stability is mandatory, while the robust performance is normally the ultimate design objective (Figure 10.4.1). Nominal stability and nominal performance are addressed in this section. The other two objectives are going to be studied in the next two sections.
FIGURE 10.4.1 Design objectives of a control system.
Analysis of MIMO Systems
305
Consider the control system consisting of an n × n plant G(s) and an n × n controller C(s) (Figure10.4.2). Assume that there is not any unstable hidden mode in G(s). This assumption implies that the plant can be stabilized with feedback control. It is satisfied if there is no RHP zero-pole cancellation in G(s). The transfer function matrix of the open-loop system is given by L(s) = G(s)C(s).
(10.4.1)
The objective of the system is to keep the output y(s) close to the reference r(s). The first step is to analyze the stability.
FIGURE 10.4.2 MIMO unity feedback control loop. Theorem 10.4.1 (MIMO Nyquist Stability Criterion). Let n be the number of unstable poles of L(s). The closed-loop system is stable if and only if the Nyquist plot of det[I + L(s)] does not pass through the origin, and encircles it n times counterclockwise. The test for internal stability introduced in Chapter 3 is also applicable to MIMO systems. The unity feedback control system shown in Figure 10.4.2 is internally stable if and only if all the elements in the transfer function matrix H(s) are stable. y(s) r(s) = H(s) , u(s) d′ (s) where H(s) =
G(s)C(s)[I + G(s)C(s)]−1 C(s)[I + G(s)C(s)]−1
[I + G(s)C(s)]−1 G(s) −C(s)[I + G(s)C(s)]−1 G(s)
.
(10.4.2)
The performance analysis for MIMO systems is similar to that for SISO ˜ systems. Consider the IMC structure shown in Figure 10.4.3, where G(s) is
306
Quantitative Process Control Theory
FIGURE 10.4.3 MIMO IMC structure. the plant and G(s) is the model. Assume that the model is exact (that is, ˜ G(s) = G(s)). The unit feedback loop controller can be written as = Q(s)[I − G(s)Q(s)]−1 .
C(s)
(10.4.3)
Define the sensitivity function as S(s) = =
[I + G(s)C(s)]−1 I − G(s)Q(s).
(10.4.4)
The complementary sensitivity function is T (s) =
I − S(s)
G(s)C(s)[I + G(s)C(s)]−1 G(s)Q(s).
= =
(10.4.5)
First of all, the steady-state performance of the closed-loop system is characterized. Let m be the largest integer satisfying rank{ lim [sm L(s)]} = n. s→0
(10.4.6)
L(s) is said to be of Type m. It is seen that L(s) has at least n × m poles at the origin. The corresponding sensitivity function matrix satisfies lim [s−k S(s)] = 0, k = 1, 2, ..., m − 1.
s→0
(10.4.7)
If the closed-loop system is stable, Pm as t → ∞ the closed-loop system perfectly tracks references of the form k=0 ak s−k , where ak are real constant vectors. In particular, a Type 1 system requires lim [G(s)Q(s)] = I,
s→0
(10.4.8)
Analysis of MIMO Systems
307
and a Type 2 system requires lim [G(s)Q(s)] =
I,
(10.4.9)
d [G(s)Q(s)] = ds
0.
(10.4.10)
s→0
lim
s→0
Then, consider the dynamic performance of MIMO systems. The performance indices include engineering-oriented indices and optimal indices. For the main channels, the most common engineering-oriented indices are the same as those in SISO systems, including overshoot, rise time, and so on. With regard to the coupled channels, the engineering-oriented indices are frequently specified in terms of the amplitudes of coupled responses. This is illustrated in the following example.
FIGURE 10.4.4 A 2 × 2 MIMO system. Example 10.4.1. In a 2 × 2 system, the inputs are r1 (s) and r2 (s) and the outputs are y1 (s) and y2 (s), respectively (Figure 10.4.4). The main channels are r1 (s) − y1 (s) and r2 (s) − y2 (s); that is, y1 (s) is mainly controlled by r1 (s) and y2 (s) is mainly controlled by r2 (s). The coupled channels are r1 (s) − y2 (s) and r2 (s) − y1 (s). The design requirements are as follows: 1. The overshoots of the main channels are less than 10%. 2. y1 (t) < 0.2 for r1 (s) = 0 and r2 (s) = 1/s. 3. y2 (t) < 0.4 for r1 (s) = 1/s and r2 (s) = 0. The overarching characteristic that distinguishes QPCT from others is that QPCT can be used to design controllers satisfying the quantitative performance requirements in the above example in an easy way. The optimal indices are normally specified in terms of the norm of the weighted sensitivity transfer function matrix. Let Wp1 (s) and Wp2 (s) be two weighting functions. The H2 optimal control of MIMO system is defined as
=
min kWp2 (s)S(s)Wp1 (s)k22 ( ) Z ∞ H [Wp2 (jω)S(jω)Wp1 (jω)] · 1 Trace dω. min 2π −∞ [Wp2 (jω)S(jω)Wp1 (jω)] (10.4.11)
308
Quantitative Process Control Theory
The index for the H∞ optimal control is expressed as min kWp2 (s)S(s)Wp1 (s)k∞ = min sup σ ¯ [Wp2 (jω)S(jω)Wp1 (jω)] .
(10.4.12)
ω
Generally speaking, Wp1 (s) is more important than Wp2 (s) in the above indices, because Wp1 (s) is needed in all cases, while Wp2 (s) is not always necessary. Wp1 (s) is the input weighting function. Excite the system in separate experiments with n different linearly independent inputs ri (s)(i = 1, 2, ..., n). For one experiment the error is ei (s) = S(s)ri (s). Define Wp1 (s) = [r1 (s), r2 (s), ..., rn (s)]. The columns of S(s)Wp1 (s) are the errors from the n experiments. In practice, step inputs are of primary importance. In this case, one can take Wp1 (s) = s−1 I(s). Wp2 (s) is the output weighting function. Premultiplication by the output weight Wp2 (s) generates Wp2 (s)S(s)Wp1 (s). The columns of the matrix are the weighted errors from the n experiments. The output weight is used since it may be desirable to make errors small over some frequency ranges. In the method of this book, a filter is introduced to reach the same goal. Hence, Wp2 (s) = I is taken. Comparatively, the merits of penalizing errors by a filter are that the design procedure is simple and the degree of penalizing can be tuned easily. Now only one weighting function needs to be considered. Hence, Wp1 (s) is denoted by W (s) for simplicity.
10.5
Robust Stability of MIMO Systems
The description of uncertainty and the test of robustness for MIMO plants are very complicated. The result is not a simple generalization of the SISO case. In the SISO case, the uncertainty is described by an uncertain plant family. This family corresponds to a Nyquist band consisting of a union of disks with certain radius. Similar uncertainty description can be developed for MIMO systems. Since the commutative property does not hold for matrix multiplication in general, one has to distinguish the uncertainty occurring at the plant input and that at the plant output (Figure 10.5.1). Assume that the uncertain plants have the same number of RHP poles as the nominal plant. Let the subscript “I” stand for “Input” and the subscript “O” stand for “Output.” The uncertain plant can be described in the following form: Plant with multiplicative output uncertainty: ˜ G(s) = [I + δO (s)]G(s).
(10.5.1)
Analysis of MIMO Systems
309
FIGURE 10.5.1 Input uncertainty δI (s) and output uncertainty δO (s). Plant with multiplicative input uncertainty: ˜ G(s) = G(s)[I + δI (s)].
(10.5.2)
Both of the uncertainties can be described in a unified form: δ(s) = W2 (s)∆(s)W1 (s),
(10.5.3)
where W1 (s) and W2 (s) are stable weighting function matrices. ∆(s) is a stable transfer function matrix denoting the normalized uncertainty: σ ¯ [∆(jω)] ≤ 1,
∀ω,
(10.5.4)
or equivalently, k∆(s)k∞ ≤ 1. The unstructured uncertainty is constructed by lumping different sources of uncertainties into a single uncertainty. Let ∆m (s) be a stable scalar weighting function. The unstructured uncertainty is usually interpreted as follows: δ(s) = ∆m (s)∆(s),
(10.5.5)
that is, in the unified form of the uncertainty description, W1 (s) = ∆m (s) and W2 (s) = I, or W2 (s) = ∆m (s) and W1 (s) = I. ∆m (s) gives the magnitude profile of the uncertainty δ(s): σ ¯ [δ(jω)] ≤ |∆m (jω)|,
∀ω.
(10.5.6)
310
Quantitative Process Control Theory
˜ G(jω) describes a disk with the center G(jω) and the radius |∆m (jω)| at each frequency ω.
FIGURE 10.5.2 General M ∆ structure for robustness analysis. To analyze the robust stability of the closed-loop system in a unified framework, the systems shown in Figure 10.5.1 are usually redrawn in the M ∆ form shown in Figure 10.5.2. Let SI (s) = TI (s) =
[I + C(s)G(s)]−1 , [I + C(s)G(s)]−1 C(s)G(s),
and SO (s) TO (s)
= [I + G(s)C(s)]−1 , = G(s)C(s)[I + G(s)C(s)]−1 .
It is easy to verify that, for the input uncertainty δ I (s) = ∆Im (s)∆I (s), M (s) = −TI (s)∆Im (s), ∆(s) = ∆I (s),
(10.5.7)
and for the output uncertainty δ O (s) = ∆Om (s)∆O (s), M (s) = −TO (s)∆Om (s), ∆(s) = ∆O (s).
(10.5.8)
When the nominal system is internally stable, M (s) is evidently stable. The following theorem gives the condition for the robust stability of the closedloop system. Theorem 10.5.1. The closed-loop system shown in Figure 10.5.2 is stable for all ∆(s)s if and only if one of the following two equivalent conditions is satisfied: 1. det[I − M (jω)∆(jω)] 6= 0, 2. kM (s)k∞ < 1.
∀ω, ∀∆(jω).
Proof. 1. By assumption, the nominal system is internally stable; the uncertain plant and the nominal plant have the same number of RHP poles. The
Analysis of MIMO Systems
311
closed-loop system shown in Figure 10.5.2 is stable for all ∆(s)s, if and only if det[I + M (s)∆(s)] encircle the origin as many times as the nominal system. If the Nyquist plot of det[I + M (s)∆(s)] does not pass through the origin, the number of encirclements will not change. This is equivalent to det[I − M (jω)∆(jω)] 6= 0,
∀ω, ∀∆(jω).
2. The result can be proved by contradiction. First, it is shown that ρ[M (jω)∆(jω)] < 1 is sufficient. Assume that there exist a frequency ω ′ and an uncertainty ∆′ (jω ′ ) such that ρ[M (jω ′ )∆′ (jω ′ )] < 1, but det[I − M (jω ′ )∆′ (jω ′ )] = 0, which is equivalent to Y i
λei [I − M (jω ′ )∆′ (jω ′ )] = 0.
This implies that for some i 1 − λei [M (jω ′ )∆′ (jω ′ )] = 0. Consequently, ρ[M (jω ′ )∆′ (jω ′ )] ≥ 1, which is a contradiction. Therefore, ρ[M (jω)∆(jω)] < 1 is sufficient for robust stability. Because ρ[M (jω)∆′ (jω)] ≤ kM (jω)∆′ (jω)k∞ ≤ kM (s)k∞ , kM (s)k∞ < 1 is also sufficient. Next, to prove the necessity of kM (s)k∞ < 1, assume that the closed′ loop system is stable, but kM (s)k∞ ≥ 1. Then for some frequency
′ω we
have ′ ′
σ1 [M (jω )] ≥ 1. It will be shown that there exists a ∆ (s) with ∆ (s) ∞ ≤ 1 such that the closed-loop system is unstable. Let the SVD of M (jω ′ ) be M (jω ′ ) = U (jω ′ )Σ(jω ′ )V H (jω ′ ). Define D(jω ′ ) = diag{1/σ1 [M (jω ′ )], 0, ..., 0}, and ∆′ (s) = V (s)D(jω ′ )U H (s). V (s) and U (s) can be easily constructed from the complex matrices
312
Quantitative Process Control Theory
V (jω ′ ) and U (jω ′ ). The first vector of V (jω ′ ), v 1 (jω ′ ), is used to illustrate the procedure. Write it in the following form: v T1 (jω ′ ) =
[v11 ejφ1 , v12 ejφ2 , ..., v1n ejφn ],
where v1j are real numbers, and are chosen so that φj ∈ [−π, 0), j = 1, 2, ..., n. Choose αj ≥ 0 so that αj − jω ′ = φj , ∠ αj + jω ′ v 1 (s) can be taken as α1 − s α2 − s αn − s T v 1 (s) = v11 , v12 , . . . , v1n . α1 + s α2 + s αn + s Clearly,
′
∆ (s) = 1/σ1 [M (jω ′ )] ≤ 1 ∞
and
= = =
det[I − M (jω ′ )∆′ (jω ′ )] det[I − U (jω ′ )Σ(jω ′ )V H (jω ′ )V (jω ′ )D(jω ′ )U H (jω ′ )] det[I − U (jω ′ )Σ(jω ′ )D(jω ′ )U H (jω ′ )] 0,
which implies the closed-loop system is unstable. In particular, for the input uncertainty and output uncertainty (Figure 10.5.1), there are the following results. Corollary 10.5.2. The closed-loop system is stable for the multiplicative input uncertainty if and only if kTI (s)∆Im (s)k∞ < 1. Corollary 10.5.3. The closed-loop system is stable for the multiplicative output uncertainty if and only if kTO (s)∆Om (s)k∞ < 1. Sometimes, the unstructured uncertainty description is conservative. In this case, it is desirable to use the structured uncertainty description. Unfortunately, in most cases simple and meaningful conditions cannot be obtained for a rigorous structured uncertainty description. A compromise is that some uncertainties are described in a structured manner, while the rest are lumped
Analysis of MIMO Systems
313
into a single unstructured uncertainty. The combined unstructured/structured uncertainty is usually expressed in the form of a block diagonal matrix: δ(s) = W2 (s)∆(s)W1 (s),
(10.5.9)
with ∆(s)
= diag{∆1(s), ∆2 (s), ..., ∆m (s)},
k∆i (s)k∞ W1 (s)
≤ 1, i = 1, 2, ..., m, = diag{W11(s), W12 (s), ..., W1m (s)},
W2 (s)
= diag{W21(s), W22 (s), ..., W2m (s)}.
W1 (s) and W2 (s) are stable transfer function matrices. By following the steps in the proof of Theorem 10.5.1, it can be proved that the robust stability is guaranteed if and only if det[I − M (jω)∆(jω)] 6= 0,
∀ω, ∀∆(jω).
Nevertheless, the second condition, namely kM (s)k∞ < 1, is only sufficient for robust stability. In the proof of Theorem 10.5.1, all uncertainties that satisfy k∆(s)k∞ ≤ 1 are permissible. Now, only those having the specific block diagonal structure are permissible. The condition can be conservative. To deal with this problem, the structured singular value (SSV) is proposed. It can be regarded as a generalization of the singular value. Definition 10.5.1. Find the smallest σ ¯ [∆(jω)] that makes I − M (jω)∆(jω) singular. SSV is defined as µ[M (jω)] = 1/¯ σ[∆(jω)]. If no ∆(jω) exists such that det[I − M (jω)∆(jω)] = 0, then µ[M (jω)] = 0. The singularity of a complex matrix means that its determinant is zero. It is noted that SSV depends on not only M (jω) but also the structure of ∆(jω). At present, SSV can only be computed numerically. In the case where ∆(jω) is unstructured (that is, it is a full matrix), µ[M (jω)] = σ ¯ [M (jω)]. Theorem 10.5.4. The closed-loop system is stable for all ∆(s)s(k∆(s)k∞ ≤ 1) if and only if µ[M (jω)] < 1,
∀ω.
Proof. If µ[M (jω)] < 1 at all frequencies, then σ ¯ [∆(jω)] > 1, which implies that no permissible ∆(jω) exists so that det[I − M (jω)∆(jω)] = 0. Hence, the system is stable. Assume that the system is stable, but µ[M (jω ′ )] ≥ 1 at some frequency ′ ¯ [∆(jω ′ )] ≤ 1 ω . From the definition of SSV, there must exist an uncertainty σ ′ ′ such that det[I − M (jω )∆(ω )] = 0. Then the system is unstable. This contradicts the assumption.
314
Quantitative Process Control Theory
10.6
Robust Performance of MIMO Systems
In some design methods for MIMO control systems, the general control configuration shown in Figure 10.6.1 is used. The block N (s) in the configuration has two sets of inputs and outputs. In the first set, the inputs w consists of all exogenous signals (such as reference or disturbance), while the outputs z consists of those outputs whose behavior is of interest (such as plant output or error signal). The second set of inputs and outputs are the outputs and inputs of the plant uncertainty, respectively.
FIGURE 10.6.1 General control configuration. Assume that the uncertainty is expressed as a block diagonal matrix ∆u (s) = diag{∆1(s), ∆2 (s), ..., ∆m (s)}
(10.6.1)
with k∆u (s)k∞ ≤ 1. The subscript “u” stands for “uncertainty.” N (s) is stable when the nominal system is internally stable. Partition N (s) as N11 (s) N12 (s) N (s) = (10.6.2) N21 (s) N22 (s) with the dimensions of its parts compatible with the input and output signals. The transfer function matrix from w(s) to z(s), F (N , ∆u ), can be expressed in the form of a linear fractional transformation (LFT): F (N , ∆u ) = N22 (s) + N21 (s)∆(s)[I − N11 (s)∆(s)]−1 N12 (s). (10.6.3) This can be obtained by eliminating y(s) and u(s) from the following equations: y(s) N11 (s) N12 (s) u(s) = , z(s) N21 (s) N22 (s) w(s)
Analysis of MIMO Systems u(s)
=
315 ∆u (s)y(s).
In particular, when there is no uncertainty, F (N , ∆u ) = N22 (s),
(10.6.4)
that is, the nominal transfer function matrix from w(s) to z(s) is N22 (s). It is observed from the expression of F (N , ∆u ) that the only possible source of instability is the term [I − N11 (s)∆(s)]−1 when the nominal system is stable. By identifying N11 (s) with M (s), the stability of the system in Figure 10.6.1 can be tested with Figure 10.5.2.
FIGURE 10.6.2 Systems with input or output uncertainty. Consider the uncertain systems shown in Figure 10.6.2, where W (s) is the input weighting function. Define z(s) = y(s) and w(s) = d′ (s). F (N , ∆u ) is the perturbed weighting sensitivity function. For the input uncertainty, it is not difficult to convert the diagram into the form shown in Figure 10.6.1: C(s)SI (s)G(s)∆Im (s) −C(s)SI (s)W (s) N (s) = . (10.6.5) SI (s)G(s)∆Im (s) SI (s)W (s) As to the output uncertainty, we have TO (s)∆Om (s) −TO (s)W (s) N (s) = . SO (s)∆Om (s) SO (s)W (s)
(10.6.6)
Robust performance means that the performance objective is satisfied even
316
Quantitative Process Control Theory
when there exists uncertainty. Suppose the robust performance is measured in terms of ∞ norm. The robust performance can be expressed as kF (N , ∆u )k∞ < 1.
(10.6.7)
To analyze the robust performance, an uncertainty ∆p (s) (¯ σ [∆p (jω)] ≤ 1) is introduced, as shown in Figure 10.6.3. Here the subscript p stands for “performance.” ∆p (s) is a fictitious uncertainty. The reason for introducing such an uncertainty is to build a relationship between the N ∆ structure and the M ∆ structure. In this way, the preceding result can be utilized to derive the condition for testing robust performance. Now the new uncertainty can be written as ∆(s) = k∆(s)k∞
≤
diag{∆u (s), ∆p (s)},
(10.6.8)
1.
The following theorem can readily be obtained from Theorem 10.5.4.
FIGURE 10.6.3 N ∆ structure for checking robust performance. Theorem 10.6.1. A stable system N (s) satisfies the robust performance condition kF (N , ∆u )k∞ < 1 if and only if µ∆ [N (jω)] < 1, ∀ω, where µ is computed with respect to the block diagonal uncertainty ∆(s).
10.7
Summary
This chapter reviews the basic concepts and analyzing methods of MIMO systems. The stability of MIMO systems can be checked by the MIMO Nyquist
Analysis of MIMO Systems
317
stability criterion. Similar to the SISO case, the quantitative engineering performance index cannot be used for optimal controller design. The optimal controller can be obtained through minimizing the 2-norm or ∞-norm of the weighted sensitivity function matrix. In MIMO systems, the uncertainty is expressed in the form of an input uncertainty description or an output uncertainty description: ˜ ˜ = G(s)[I + δI (s)]. G(s) = [I + δO (s)]G(s) or G(s) The uncertainty can be described as a norm-bounded matrix with the same dimension as the plant (that is, the unstructured uncertainty). The advantage of the description is that a simple necessary and sufficient condition for testing robust stability can be obtained: kM (s)k∞ < 1. When this description is conservative, an uncertainty description involving multiple norm-bounded uncertainties can be introduced (that is, the structured uncertainty): ∆(s) = diag{∆1 (s), ∆2 (s), ..., ∆m (s)}. A necessary and sufficient condition for robust stability can be established via SSV: µ[M (jω)] < 1,
∀ω.
The N ∆ structure is introduced in this chapter. The major advantage of this structure is that it allows us to express the robust performance test as a robust stability problem in the M ∆ structure. The nominally stable system N (s) subject to the block diagonal uncertainty ∆(s) satisfies the robust performance condition if and only if µ∆ [N (jω)] < 1,
∀ω.
Exercises 1. Consider the 2 × 2 plant G(s) =
1 s+3
Compute its poles and zeros.
s−1 4 4.5 2(s − 1)
.
318
Quantitative Process Control Theory 2. Four-wheel steering (4 WS) is a system that allows the rear wheels to turn for maneuver, rather than merely follow the front wheels. Most 4 WS systems can control the rear wheels in the following fundamental ways (Figure E10.1): • At low speeds, the rear wheels are turned in the opposite direction from the front wheels. This can lessen the turning radius by 20% approximately. • At higher speeds on highway, the rear wheels are turned in the same direction as the front wheels. This improves the lanechanging maneuverability.
FIGURE E10.1 Control of the rear wheels in a 4 WS system. The model of a 4 WS car is given as follows:
G(s) =
1 s2 + 25.6s + 173.6
4.9s + 23.4 61.3s + 722.8 5.3s + 150.3 −80.2s − 722.8
.
(a) For a 2 × 2 matrix G(s), derive the analytical expression for computing the singular value. (b) Utilize the obtained formula to compute the singular value of the 4WS model. 3. Prove Q(s)[I − G(s)Q(s)]−1 = [I − Q(s)G(s)]−1 Q(s). 4. The uncertainty can be described in the form of an inverse multiplicative uncertainty description (Figure E10.2). Assume that the uncertainty is an unstructured one:
Analysis of MIMO Systems
319
FIGURE E10.2 The inverse multiplicative uncertainty. δE (s) k∆E (s)k∞
= ∆Em (s)∆E (s), ≤ 1.
Compute M (s) of the M ∆ structure for the inverse multiplicative uncertainty. 5. Consider a system with simultaneous multiplicative input and output uncertainties (Figure E10.3). The uncertain plants are given by
FIGURE E10.3 Simultaneous multiplicative input and output uncertainties. ˜ G(s) = [I + δO (s)]G(s)[I + δI (s)], δI (s) = W2I (s)∆I (s)W1I (s), k∆I (s)k∞ ≤ 1, δO (s) = W2O (s)∆O (s)W1O (s), k∆O (s)k∞ ≤ 1. Compute the M (s) of M ∆ structure for the simultaneous multiplicative input and output uncertainties. 6. Let M be a complex 2 × 2 matrix: a a M= . b b
320
Quantitative Process Control Theory Prove µ(M ) =
ρ(M ) = |a √ + b| σ ¯ (M ) = 2a2 + 2b2
for ∆ = δI . for ∆ that is a full matrix
Notes and References This chapter closely follows Morari and Zafiriou (1989) and Skogestad and Postlethwaite (2005). The two books provide detailed discussion on the analyzing problem of the uncertain MIMO system. There are different definitions for zero and pole. Definitions given in Section 10.1 are from Morari and Zafiriou (1989). The original version can be found in Postlethwaite and MacFarlane (1979). Laub and Moore (1978) discussed the numerical computation of zero. Sections 10.2 and 10.3 are written based on Skogestad and Postlethwaite (2005) and Morari and Zafiriou (1989). Sections 10.4–10.6 are adapted from Morari and Zafiriou (1989). The proof for the necessity of the second condition in Theorem 10.5.1 is based on the idea in Theorem 8.1 of Zhou and Doyle (1997). The SSV in Section 10.5 is attributed to Doyle (1982). The computation can be found in, for example, Doyle (1983). The plant in Exercise 2 is from Liu et al. (2002). Exercises 4 and 5 are based on Morari and Zafiriou (1989, Chapter 11). Exercise 6 is adapted from Skogestad and Postlethwaite (2005, Example 8.7).
11 Classical Design Methods for MIMO Systems
CONTENTS 11.1 11.2 11.3 11.4
Interaction Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Decentralized Controller Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Decoupler Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
321 325 329 334 334 335
In Chapter 10, it was seen that the analysis of a MIMO system was complicated when compared to that of a SISO system. For a MIMO system it is much more difficult to give a simple and meaningful explanation of the result than for a SISO system, since there is a control action tradeoff among different inputs, as well as a performance tradeoff among different outputs. This chapter studies the design problem of MIMO control systems. An important feature of MIMO plants is the interaction (or coupling) between inputs and outputs, that is, each input may affect more than one output. This feature makes the design of a MIMO system very challenging. Many design methods have been proposed for MIMO systems. This chapter introduces those classical design methods that are frequently used in industry. The advantage of classical design methods is that they are easy to understand and use.
11.1
Interaction Analysis
The first step in many design methods for MIMO systems is analyzing the extent of interaction. The purpose is to determine proper pairings between plant inputs and outputs so that the plant input and the plant output that have the largest effect on each other are matched up. An extensively adopted method for interaction analysis is relative gain array (RGA). It provides a measure for the steady-state gain between a given input-output pairing. By selecting sensitive input-output connections, interaction can be reduced. Consider a system with two inputs, u1 and u2 , and two outputs, y1 and y2 , 321
322
Quantitative Process Control Theory
FIGURE 11.1.1 A 2 × 2 MIMO plant. where each output is affected by both inputs (Figure 11.1.1). RGA is defined as λ11 λ12 Λ= . (11.1.1) λ21 λ22 where λij =
Open-loop gain kij between yi and uj , i, j = 1, 2 Closed-loop gain aij between yi and uj
is called the relative gain between yi and uj . It should be emphasized that the relative gain λij is entirely unrelated to the performance degree, for which a similar symbol is used. The open-loop gains are shown in Table 11.1.1, which are derived from the steady-state open-loop relationship between the input and output: ∆y1 ∆y2
= =
k11 ∆u1 + k12 ∆u2 , k21 ∆u1 + k22 ∆u2 .
(11.1.2) (11.1.3)
TABLE 11.1.1 Open-loop gains.
y1
k11
y2
k21
u1 ∆y1 = ∆u1 u2 ∆y2 = ∆u1 u2
k12 k22
u2 ∆y1 = ∆u2 u1 ∆y2 = ∆u2 u1
The open-loop gain can be determined by utilizing experimental tests. For example, to evaluate k11 , when the plant is operated at the steady state, one can make a small change ∆u1 in u1 and u2 is kept constant (that is, ∆u2 = 0). Let ∆y1 be the output offset. The open-loop gain between y1 and u1 is given
Classical Design Methods for MIMO Systems
323
by k11
∆y1 . = ∆u1 u2
(11.1.4)
As the closed-loop gain aij is not independent of kij , λij can be computed with only kij . According to the definition of the closed-loop gain, a11 = ∆y1 /∆u1 when ∆y2 = 0. Then 0 = k21 ∆u1 + k22 ∆u2 . Solving for ∆u2 results in ∆u2 = −
k21 ∆u1 . k22
It follows that ∆y1 = k11 ∆u1 −
k12 k21 ∆u1 . k22
Therefore, a11
= =
∆y1 ∆u1 ∆y2 =0
k11 −
k12 k21 . k22
(11.1.5)
The relative gain is λ11
=
k11 a11
=
k11 k22 . k11 k22 − k12 k21
(11.1.6)
A useful property of the relative gain matrix is that each row and each column sums to 1. Thus, in a 2 × 2 system, only one of the four elements needs to be computed explicitly. The relative gain provides a useful measure for interaction. In particular: 1. If λij = 0, the open-loop gain is zero. uj has no effect on yi . 2. If λij = 1, the loop consisting of uj and yi is not affected by other loops. 3. If 0 < λij < 1, there exists interaction among different loops. The worst case is λij = 0.5. 4. If λij < 0, the open-loop gain is in the opposite direction from the closed-loop gain. This case should be avoided.
324
Quantitative Process Control Theory
The rule to reduce interaction by pairing plant inputs and outputs is that the control loops should be selected in such a way that the relative gains are positive, and as close as possible to unity. Since only steady-state responses are considered, the rule does not guarantee the minimum dynamic interaction. The definition of RGA and its application in selecting control loops are not confined to systems with two inputs and two outputs. The extension to n × n systems is straightforward. The RGA can be computed for an n × n plant with the following procedure. First, arrange the kij s in a matrix: k11 · · · k1n .. . .. (11.1.7) K = ... . . kn1
···
knn
Next, compute a new matrix, by first inverting, then transposing the matrix K: c11 · · · c1n .. . .. (11.1.8) (K −1 )T = ... . . cn1 · · · cnn The element in the ith row and jth column of (K −1 )T is the reciprocal of aij , that is, cij =
1 . aij
(11.1.9)
The RGA is given by Λ = K ⊗ (K −1 )T ,
(11.1.10)
where “⊗” denotes the element-by-element product. Example 11.1.1. Blending is a frequently encountered process in industry. For example, in a paper-making process, the thick pulp from the stock preparation system is blended with the recycled water, and then delivered to the head box. Choose the flow rate of the thick pulp, u1 , and the flow rate of the recycled water, u2 , as the plant inputs. The system outputs are the flow rate of the thin pulp, y1 , and its consistency, y2 . When the condenser paper is produced, the consistencies of the thick pulp and the recycled water are 0.66% and 0.03%, respectively. The desired flow rate and consistency of the thin pulp are 152 kg/min and 0.25%, respectively. The mass balance yields 152 = u1 + u2 , 152 × 0.25% = u1 × 0.66% + u2 × 0.03%. The solution to the above equations is u1 = 53.08, u2 = 98.92.
Classical Design Methods for MIMO Systems
325
Change u1 by one unit (that is, u1 changes from 53.08 to 54.08) while keep u2 constant. The following steady-state outputs are obtained: y1 = 153, y2 = 0.2527%. Therefore, k11 =
1 ∆y1 = = 1. ∆u1 u2 1
Change u1 by one unit (that is, u1 changes from 53.08 to 54.08) while keep y2 the same. We have y1 = 154.87, u2 = 100.79. Then a11
∆y1 1.87 = = = 1.87. ∆u1 y2 1
Consequently, the RGA is
Λ=
0.535 0.465 0.465 0.535
.
The two loops with the minimum interaction are formed when y1 is controlled by u1 and y2 is controlled by u2 .
11.2
Decentralized Controller Design
Once appropriate loop pairings are determined, the next step is to design a controller for the MIMO system. This section introduces decentralized control. In decentralized control, multiple independent SISO controllers are designed. Each controller uses one plant input to control a preassigned output. Feedback is utilized to overcome the interaction. Hence, the pairing problem is much more important in decentralized control than in other methods. The advantage of decentralized control is as follows: 1. The approach is easy to understand. 2. Good control can be reached in many cases. 3. The complexity and the cost of hardware are low.
326
Quantitative Process Control Theory
Compared to the system with a full controller matrix, the constraint imposed by the decentralized control on the controller structure leads to performance deterioration. The designer must weigh which aspect is more important, the performance or the simplicity. Assume that the plant is denoted by an n × n transfer function matrix G(s): G11 (s) · · · G1n (s) .. .. .. G(s) = , . . . Gn1 (s)
···
Gnn (s)
and the controller is denoted by an n × n transfer function matrix C(s). Without loss of generality, in a decentralized control system C(s) is diagonal: C(s) = diag {C11 (s), ..., Cnn (s)} . The reference r(s) is a vector of n × 1 dimension: r(s) =
r1 (s) r2 (s)
... rn (s)
T
,
and the system output y(s) is a vector of n × 1 dimension as well: y(s) = Then we have
y1 (s)
y2 (s)
... yn (s)
T
.
y(s) = G(s)C(s)[I + G(s)C(s)]−1 r(s).
(11.2.1)
The control structure for the simplest case (that is, the 2 × 2 case) is shown in Figure 11.2.1. The characteristic equation of this system is det[I + G(s)C(s)] = 0.
(11.2.2)
This equation can be used to test the closed-loop stability. For a stable plant, if the Nyquist plot of det[I + G(s)C(s)] passes through or encircles the origin, the closed-loop system is unstable. Define a scalar function Wc (s): Wc (s) = −1 + det [I + G(s)C(s)] .
(11.2.3)
The closer the Nyquist plot of Wc (s) is to the point (−1, 0), the closer the closed-loop system is to instability. Define the closed-loop logarithm modulus for a MIMO system as follows: Wc (jω) . (11.2.4) Lc = 20 lg 1 + Wc (jω)
Classical Design Methods for MIMO Systems
327
FIGURE 11.2.1 A 2 × 2 decentralized control system. By testing on a large number of MIMO plants, it is found that the following choice can provide a reasonable tradeoff between stability and performance: max(Lc ) = 2n. In a SISO system, max(Lc ) is the resonance peak. Different controller parameters may reach max(Lc ) = 2n for the same plant. When better response is desired, further tuning has to be carried out. The SISO H∞ or H2 design methods introduced in the preceding chapters can be used to design a decentralized controller. The design procedure is as follows: 1. Calculate SISO controllers for each individual loop. 2. Close all loops. Take the same performance degrees temporarily: λ1 = λ2 = ... = λn . Increase the performance degrees from small to large so that the closed-loop system is stable. 3. Tune each performance degree to reach the required closed-loop response (for example, max(Lc ) = 2n). The advantage of the above decentralized H∞ or decentralized H2 design is that each channel can be tuned easily for the required response; the tuning does not require the exact information about the uncertainty. Now let us analyze the stability of a decentralized control system. For the original system, the sensitivity transfer function matrix and complementary sensitivity transfer function matrix are, respectively, as follows: S(s)
= [I + G(s)C(s)]−1 ,
(11.2.5)
328
Quantitative Process Control Theory T (s)
= G(s)C(s)[I + G(s)C(s)]−1 .
(11.2.6)
In decentralized control, the diagonal elements are regarded as the nominal plant and the nondiagonal elements are regarded as the uncertainty. Write the nominal plant as follows: Ga (s) = diag{G11 (s), G22 (s), ..., Gnn (s)}.
(11.2.7)
The nominal plant and the controller constitute a new system: Sa (s) =
[I + Ga (s)C(s)]−1 ,
(11.2.8)
Ta (s) =
Ga (s)C(s)[I + Ga (s)C(s)]−1 .
(11.2.9)
Regard the new system as the nominal one and the original system as the uncertain one. The uncertainty is described by the multiplicative output uncertainty δa (s). Assume that G(s) and Ga (s) have the same RHP poles. The following theorem provides a test for the stability of the closed-loop system. Theorem 11.2.1. Assume that Ta (s) is stable. The closed-loop system T (s) is stable if and only if the Nyquist plot of det[I + δa (s)Ta (s)] does not pass through or encircle the origin. Proof. For the original system, we have the following identity: I + G(s)C(s)
= =
I + [I + δa (s)]Ga (s)C(s) [I + δa (s)Ta (s)][I + Ga (s)C(s)].
Let the number of the unstable poles of G(s) and Ga (s) be k. T (s) is stable if and only if det[I + G(s)C(s)] = det[I + Ga (s)C(s)]det[I + δa (s)Ta (s)] does not pass through the origin and encircles the origin k times counterclockwise. Because Ta (s) is stable by assumption, det[I + Ga (s)C(s)] does not pass through the origin and encircles the origin k times counterclockwise. It is immediately known that det[I + δa (s)Ta (s)] should not pass through or encircle the origin. Example 11.2.1. Basis weight and moisture content are two primary controlled variables in the paper-making process. In general, the basis weight is controlled by adjusting the flow rate of stock. The higher the flow rate, the larger the basis weight. The moisture content can be controlled by adjusting the steam pressure of dryer. The larger the steam pressure, the higher the temperature of the dryer and the less the moisture content (Figure 11.2.2). For producing the paper of 78g/m2 , the model of a paper machine is G(s) =
"
5.15e−2.8s 1.8s+1 0.44e−2.8s 1.8s+1
−0.20e−1.2s 2.23s+1 −1.26e−1.2s 2.23s+1
#
.
Classical Design Methods for MIMO Systems
329
FIGURE 11.2.2 Control strategy of a paper machine. Suppose that the H∞ PID controller given by (4.2.11) is used: C(s) =
C11 (s) 0
0 C22 (s)
,
where C11 (s)
=
C22 (s)
=
1 (1.8s + 1)(1 + 1.4s) , 5.15 λ2 s2 + (2λ + 1.4)s 1 (2.23s + 1)(1 + 0.6s) . 1.26 λ2 s2 + (2λ + 0.6)s
Assume that the quantitative design requirement is that y1 (t) < 0.15 for r1 (s) = 0 and r2 (s) = 1/s, and y2 (t) < 0.05 for r1 (s) = 1/s and r2 (s) = 0. The controller parameters are taken as λ1 = 0.9θ11 and λ2 = 0.6θ22 respectively, where θ11 and θ22 are time delays of the diagonal elements respectively. The responses of the closed-loop system are fast and steady (Figure 11.2.3).
11.3
Decoupler Design
When the interaction among control loops is weak, the decentralized control method works well. For the control loops with severe interaction, decoupling control is a better method. In decoupling control, an additional compensation
330
Quantitative Process Control Theory
FIGURE 11.2.3 Responses of the decentralized H∞ controller.
Classical Design Methods for MIMO Systems
331
structure called a decoupler is introduced to reduce the interaction. The function of a decoupler is decomposing a MIMO plant into a series of independent SISO plants. Then the SISO design methods (for example, the H∞ method or H2 method introduced in the preceding chapters) can be utilized to design MIMO control systems. Figure 11.3.1 shows the general decoupling structure.
FIGURE 11.3.1 MIMO plant with a decoupler.
FIGURE 11.3.2 Decoupling for a 2 × 2 plant. For ease of understanding, consider a 2 × 2 MP plant first. The decoupling system is shown in Figure 11.3.2, where the decoupler inputs are two new manipulated variables m1 (s) and m2 (s), and its outputs are the original manipulated variables u1 (s) and u2 (s). For the original plant we have y1 (s) G11 (s) G12 (s) u1 (s) = . (11.3.1) y2 (s) G21 (s) G22 (s) u2 (s) The decoupler equation can be written as u1 (s) D11 (s) D12 (s) m1 (s) = . u2 (s) D21 (s) D22 (s) m2 (s)
(11.3.2)
332
Quantitative Process Control Theory
Then the equations for the plant-decoupler combination are m1 (s) D11 (s) D12 (s) G11 (s) G12 (s) y1 (s) . (11.3.3) = m2 (s) D21 (s) D22 (s) G21 (s) G22 (s) y2 (s) The decoupler should be designed so that the non-diagonal elements are zero. In this case, y1 (s) is only affected by u1 (s) and y2 (s) is only affected by u2 (s). Let m1 (s) 0 P11 (s) y1 (s) . (11.3.4) = m2 (s) 0 P22 (s) y2 (s) We have 0 P11 (s) D11 (s) D12 (s) G11 (s) G12 (s) . (11.3.5) = 0 P22 (s) D21 (s) D22 (s) G21 (s) G22 (s) This equality involves four equations and six unknowns. The solution is not unique. For example, the following are possible solutions: G12 (s) G21 (s) , D21 (s) = − , D22 (s) = 1, G11 (s) G22 (s) G21 (s) G11 (s) D11 (s) = 1, D12 (s) = 1, D21 (s) = − , D22 (s) = − , G22 (s) G12 (s) G22 (s) G12 (s) D11 (s) = − , D12 (s) = − , D21 (s) = 1, D22 (s) = 1, G21 (s) G11 (s) G22 (s) G11 (s) D11 (s) = − , D12 (s) = 1, D21 (s) = 1, D22 (s) = − . G21 (s) G12 (s)
D11 (s) = 1, D12 (s) = −
With the above solutions, P11 (s) and P22 (s) can be determined as follows: P11 (s) = G11 (s)D11 (s) + G12 (s)D21 (s) P22 (s) = G21 (s)D12 (s) + G22 (s)D22 (s) To obtain a unique solution, three typical methods are frequently used. The first is to take the inverse of the plant as the decoupler, that is, 0 P11 (s) = I. (11.3.6) 0 P22 (s) The second is to take 1 as the diagonal elements of the decoupler: 1 D12 (s) D11 (s) D12 (s) . = 1 D21 (s) D21 (s) D22 (s)
(11.3.7)
And the third is to take 0 as the diagonal elements of the decoupler: 0 D12 (s) D11 (s) D12 (s) . (11.3.8) = 0 D21 (s) D21 (s) D22 (s)
Classical Design Methods for MIMO Systems
333
A natural question is which decoupling scheme the designer should choose among the three. Two aspects should be considered with regard to the question. The first is whether the obtained decoupler is realizable. Some methods cannot give a decoupler that is physically realizable, in particular, when the plant involves RHP zeros or a time delay. The second is whether a simple decoupler can be obtained. The ultimate objective of the decoupler design is to eliminate the effect of interaction. If the decoupler is realizable, the simpler, certainly the better. Now consider the decoupler design problem for a general plant. The design equations can be conveniently summarized with matrix notations. Let the plant be an n × n transfer function matrix G(s) and the decoupler be an n × n transfer function matrix D(s). We have y(s) = G(s)D(s)m(s).
(11.3.9)
Assume that the decoupled plant is an n × n diagonal matrix P (s). It is desirable that y(s) = P (s)m(s).
(11.3.10)
By comparison, the decoupler is given by D(s) = G(s)−1 P (s).
(11.3.11)
Mathematically, the calculation of the decoupler is trivial. If P (s) is given (for example, it is taken to be a unity matrix), D(s) can be determined uniquely as long as G(s) is not singular. The non-singularity of a transfer function matrix means that its determinant is not identically zero, or equivalently, the transfer function matrix is not singular for every s in the set of complex numbers, except for a finite number of points. The inverse of a non-singular G(s) can be expressed as G−1 (s) =
adj[G(s)] , det[G(s)]
(11.3.12)
where adj(·) denotes the adjoint. The determinant of G(s) can be calculated as a signed sum of the permutations taking one and only one element from every row and column of G(s): X (11.3.13) [sgn(j1 j2 ...jn )]G1j1 G2j2 ...Gnjn , det[G(s)] = j1 j2 ...jn
where j1 j2 ...jn denotes a permutation of the number 1, 2, ..., n. The value of sgn(j1 j2 ...jn ) can be found by using the number of permutation inversion: 1 if the number of permutation inversion is even . sgn(j1 j2 ...jn ) = −1 if the number of permutation inversion is odd
334
Quantitative Process Control Theory
The element of the adjoint matrix, adj[G(s)], is the cofactor of Gij (s), which is the signed determinant of G(s) with the row i and column j removed. Nevertheless, the problem is not so easy from a control theory point of view. On one hand, the obtained decoupler may not be physically realizable. On the other hand, the decoupled system may be internally unstable when the plant is NMP or unstable. These problems can be solved well with the methods in the next two chapters.
11.4
Summary
The first step in many design methods for MIMO systems is determining the match between plant inputs and outputs. This problem is particularly important in decentralized control. It can be dealt with by employing RGA. Two classical design methods for MIMO systems have been reviewed in this chapter. One is the decentralized control and the other is the decoupling control. The decentralized control emphasizes the simplicity of control configuration, while the decoupling control provides better performance with a relatively complex structure. The common feature of the two methods is that they are easy to understand. A decentralized control method is given in this chapter based on the SISO H2 /H∞ design method, from which it can be seen that the design methods developed in the preceding chapters can be easily integrated into the decentralized control and the decoupling control. One main merit of such a design is that the closed-loop response can be easily tuned for quantitative requirements.
Exercises 1. Consider a 3 × 3 plant:
16.8 30.5 4.30 G(0) = −16.7 31.0 −1.41 . 1.27 54.1 5.40
Compute the RGA.
2. Consider the system shown in Figure E11.1, where G(s) is an n × n proper rational plant and C = diag{ci }, ci > 0, i = 1, 2, ..., n. G(s) is integral stabilizable if there exists a c > 0 such that the closed-loop system is stable for C = cI. Prove that G(s) is integral stabilizable only if det G(0) > 0.
Classical Design Methods for MIMO Systems
335
FIGURE E11.1 System with an integrator and a diagonal controller. 3. Consider a stable MP plant G(s). Discuss the feasibility of designing a controller to make the sensitivity function matrix S(s) diagonal. 4. Consider the following plant: " G(s) =
0.5e−1.5s s+1 2e−1.0s 0.5s+1
e−0.5s 2s+1 1 s+1
#
.
Give two different decouplers and compare them. ∗
5 . Consider the following plant: G(s) =
s−1 (s − 1)2 (s − 4)
2 s−4
s−4 0
.
Is this plant stabilizable?
Notes and References Section 11.1 is adapted from Deshpande and Ash (1981). The RGA was proposed by Bristol (1966). The plant in Example 11.1.1 is from Sun (1993, p. 329). The method in Section 11.2 was proposed by Zhang (1996). The maximum logarithm modulus was presented by Luyben (1986). Theorem 11.2.1 was given by Morari and Zafiriou (1989, Section14.4.1). The plant in Example 11.2.1 is from Zhang et al. (2001). Figure 11.2.2 is from Zhang (1996). The classical decoupling design was discussed in detail in Liu (1983). The calculation of the determinant of a matrix can be found in, for example, Lipschutz (1968). The plant in Exercise 1 is from Skogestad and Postlethwaite (2005, Section 3.4.2). Exercise 2 is adapted from Morari and Zafiriou (1989, Section 14.3). The plant in Exercise 4 is from Stephanopoulos (1984, Section 24.3).
12 Quasi-H∞ Decoupling Control
CONTENTS 12.1 12.2 12.3 12.4 12.5 12.6 12.7
Diagonal Factorization for Quasi-H∞ Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . Quasi-H∞ Controller Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analysis for Quasi-H∞ Control Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Increasing Time Delays for Performance Improvement . . . . . . . . . . . . . . . . . . . A Design Example for Quasi-H∞ Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multivariable PID Controller Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
337 341 345 348 351 354 361 361 362
The classical method for the design of decoupling control systems involves two steps. The first step is designing a decoupler such that the MIMO plant is decomposed into a series of independent SISO plants. In the second step, a SISO method is used to design controllers for these SISO plants. There are some unsolved problems in this method: • It is not applicable to NMP plants and plants with RHP poles. • It is difficult to analyze the effect of the decoupler on the closed-loop performance and robustness. To solve these problems, an alternative design method is developed in this chapter. The new method is applicable to general plants. In this method, the decoupler and controller are designed in one step. The performance and robustness of the resulting system can be analyzed by employing those developed techniques.
12.1
Diagonal Factorization for Quasi-H∞ Control
˜ Consider the IMC structure shown in Figure 12.1.1, where G(s) is an n × n plant, G(s) is the model, and Q(s) is an n × n controller. The closed-loop transfer function matrix is T (s) = G(s)Q(s).
(12.1.1) 337
338
Quantitative Process Control Theory
In quasi-H∞ decoupling control, the plant can be proper, have a time delay, have poles on the imaginary axis, or have poles and zeros in the open RHP. If the plant has poles in the closed RHP, the controller has to be implemented in the unity feedback loop shown in Figure 12.1.2, where C(s) is an n × n controller: C(s) = Q(s)[I − G(s)Q(s)]−1 .
(12.1.2)
The closed-loop transfer function matrix is T (s) = G(s)C(s)[I + G(s)C(s)]−1 .
(12.1.3)
FIGURE 12.1.1 IMC structure with an n × n plant.
FIGURE 12.1.2 Unity feedback loop with an n × n plant. As stated in Section 10.4, the following assumptions are made for the plant: 1. There is no unstable hidden mode in G(s). For quasi-H∞ control, it is further assumed that 2. G(s) is of full normal rank, that is, rank[G(s)] = n. If the second assumption is not satisfied, the closed-loop transfer function matrix T (s) must be identically singular. When G(s) is not of full normal
Quasi-H∞ Decoupling Control
339
rank, a slight perturbation can be introduced in the coefficients of the plant so as to satisfy the second condition. Unlike in the classical decoupling control, in the quasi-H∞ control there is no independent step for decoupler design. The decoupler and controller are expressed in the form of one transfer function matrix and are designed in one step. The key of the design is defining a diagonal factorization, in which the closed RHP zero and time delay are separated from the plant. In the next section, it will be seen that the decoupled response is obtained on the basis of such a factorization. The factorization for the closed RHP zero and time delay can be obtained easily for a SISO plant, but the extension to the MIMO case should be properly defined. Write the plant G(s) with multiple time delays in the form of G11 (s)e−θ11 s · · · G1n (s)e−θ1n s .. .. .. (12.1.4) G(s) = , . . . Gn1 (s)e−θn1 s
···
Gnn (s)e−θnn s
where Gij (s)(i, j = 1, 2, ..., n) are scalar rational transfer functions and θij (θij ≥ 0) are time delays. Let the inverse of the plant be 11 1n 11 G (s)e−θ s · · · G1n (s)e−θ s .. .. .. (12.1.5) G−1 (s) = , . . . nn n1 Gn1 (s)e−θ s · · · Gnn (s)e−θ s ji
where Gji (s)e−θ s (j, i = 1, 2, ..., n) are the elements of G−1 (s); θji are the real numbers denoting the maximum time delay that can be separated from each element. After θji are removed, the remainder should be physically realizable. The following example is used to illustrate how to compute θji . Example 12.1.1. Consider the following element: −s e−3s e−2s e 1 e−2s . + = + 2s + 1 3s + 1 2s + 1 3s + 1
The maximum time delay that can be separated is 2. In the following element −5s e−3s e2s e 1 e2s , + = + 2s + 1 3s + 1 2s + 1 3s + 1 the maximum time delay that can be separated is −2.
Consider the factorization for time delay first. Some elements of G−1 (s) may contain predictions (that is, θji < 0). This implies that the resulting control system is physically irrealizable. To avoid this, these predictions have to be removed. This can be reached by postmultiplying G−1 (s) with a diagonal matrix GD (s). Let the matrix without predictions be GO −1 (s). We have GO (s) = G−1 D (s)G(s). GD (s) should be chosen so that it counteracts those predictions and at the same time no additional time delays are introduced.
340
Quantitative Process Control Theory
Definition 12.1.1. Let θli (i = 1, 2, ..., n) be column of G−1 (s), that is, θli = maxj θji , j factorization for time delay is defined as −θ s e l1 · · · .. .. GD (s) = . . 0
···
the largest prediction of the ith = 1, 2, ..., n. The H∞ diagonal 0 .. .
e−θln s
In particular, for rational plants GD (s) = I.
.
Since the elements of GD (s) are time delays, no closed RHP zeros and poles are cancelled when forming GO (s). Example 12.1.2. Assume that
∗ ∗e4s −1 G (s) = ∗ ∗e−3s ∗ ∗e6s
∗ ∗ . ∗
Here ∗ denotes an arbitrary entry. The time delays of the elements in the second column are 4, −3, and 6, respectively. Then θl2 = 6. Next, consider the factorization for closed RHP zeros. The plant may have closed RHP zeros in addition to a time delay. This implies that GO −1 (s) is unstable. Then, an internally unstable system is obtained. To make GO −1 (s) stable, the unstable poles in each element must be removed. This can be reached by postmultiplying GO −1 (s) with a diagonal matrix GN (s). Let the obtained matrix be GM P −1 (s). One readily obtains that GM P (s) = GN −1 (s)GO (s). According to the definition in Section 10.1, GM P (s) is MP. Assume that zj (Re(zj ) ≥ 0, j = 1, 2, ..., rz ) are unstable poles of GO −1 (s). Definition 12.1.2. Let kij (i = 1, 2, ..., n) be the largest multiplicity of the unstable pole zj (j = 1, 2, ..., rz ) in the ith column of GO −1 (s). The H∞ diagonal factorization for closed RHP zeros is defined as Q rz k 0 (−s/zj + 1) 1j · · · j=1 . . .. .. .. GN (s) = . . r z Q knj (−s/zj + 1) 0 ··· j=1
In particular, for MP plants GN (s) = I.
Example 12.1.3. Assume that the second column of GO −1 (s) involves only one unstable pole at s = 1 (that is, z1 = 1). The multiplicities in its elements are shown as follows: ∗ ∗ ∗(s−1) ∗ 4 ∗ ∗ GO −1 (s) = ∗ ∗(s−1) 3 . ∗ ∗ ∗(s−1) ∗ 6
Quasi-H∞ Decoupling Control
341
The multiplicities of this RHP pole in the elements of the second column are 4, 3, and 6, respectively. Then k21 = 6. The factorization of G(s) for both the closed RHP zeros and the time delay can be written as follows: G(s) = GD (s)GN (s)GM P (s).
(12.1.6)
In the factorization, GD (s) denotes the time delay part of the plant, GN (s) is related to the closed RHP zeros of the plant, and GM P (s) is the MP part of the plant. GO (s) = GN (s)GM P (s) is the “rational” part of the plant. It should be emphasized that GO (s) may not be rational in MIMO systems, since the element of GO (s) may have a time delay. When the element in the transfer function matrix of a plant involves a time delay, the plant may have infinite RHP zeros, that is, rz → ∞ or kij → ∞. The following example illustrates such a case. Example 12.1.4. Consider the plant described by the following transfer function matrix: 1 1 . G= 1 2e−s G(s) has zeros at s = ln 2+j2kπ, k = 0, ±1, ±2, .... Following the factorization given in this section, we have GD (s) = GN (s) = GM P (s) =
I, (−2e−s + 1)I, 1 1 −2e−s + 1 1
1 2e−s
.
The rational part of the plant is GO (s) = GN (s)GM P (s). The element of GO (s) has a time delay. When the numerator or denominator of the element in GM P (s) involves multiple time delays, the design problem becomes very involved. In this case, it is recommended to use a rational approximation to reduce the order of GO (s) or GM P (s). The rational approximation makes the design simpler and easier without loss of too much precision. The higher the order of the approximate numerator or denominator, the better the precision. The designer has to tradeoff between the complexity and the precision.
12.2
Quasi-H∞ Controller Design
The design of a MIMO control system is similar to that of a SISO control system. First, a desired closed-loop transfer function matrix T (s) is constructed
342
Quantitative Process Control Theory
based on the factorization developed in the last section. Utilizing the T (s), the controller Q(s) is then derived. This is a “no-weight” design. The designer is not required to choose weighting functions in the procedure. Assume that the controller is designed for step inputs. Factorize the plant according to Definition 12.1.1 and Definition 12.1.2: G(s) = GD (s)GN (s)GM P (s). If the plant is stable, along the same lines as that in the SISO design, the desired closed-loop transfer function matrix can be chosen as T (s) = Topt (s)J (s),
(12.2.1)
where Topt (s) J (s)
= GD (s)GN (s), J1 (s) · · · .. = ... . 0
and Ji (s) =
···
0 .. . Jn (s)
,
1 , i = 1, 2, ..., n. (λi s + 1)ni
(12.2.2) (12.2.3)
(12.2.4)
Here λi (i = 1, 2, ..., n) are the performance degrees. Let Topt (s) = G(s)Qopt (s). Then Qopt (s) = G−1 (s)Topt (s) = GM P −1 (s).
(12.2.5)
Introduce the notion of relative degree, that is, the degree of a transfer function’s denominator polynomial minus the degree of its numerator polynomial. Denote the smallest relative degree of all elements in the ith column of Qopt (s) as αi . Then, ni = −αi for improper columns (that is, at least one element of the column is improper) and ni = 1 for the others. Example 12.2.1. This example is given to Assume that Qopt (s) is described by (s+1)2 ∗ s+2 Qopt (s) = ∗ (s + 1)3 s+2 ∗ s+1
illustrate the definition of αi . ∗ ∗ . ∗
The relative degrees of the elements in the second column of Qopt (s) are −1, −3, and 0, respectively. Then α2 = −3. With the desired closed-loop transfer function matrix T (s) and the factorization of G(s), the controller is obtained as follows: Q(s) = G−1 (s)T (s) = GM P −1 (s)J (s).
(12.2.6)
Quasi-H∞ Decoupling Control
343
The controller can be implemented in the IMC structure, or in the unity feedback loop: C(s) = Q(s)[I − G(s)Q(s)]−1 .
(12.2.7)
When the plant is unstable, the desired closed-loop transfer function matrix can be chosen as T (s) = Topt (s)J (s),
(12.2.8)
where Topt (s) and J (s) keep the same form as that for stable plants, but Ji (s) =
Nxi (s) , i = 1, 2, ..., n. (λi s + 1)ni
(12.2.9)
Here Nxi (s)(i = 1, 2, ..., n) are polynomials with all roots in the LHP, and Nxi (0) = 1. ni = deg{Nxi (s)} − αi for improper columns and ni = deg{Nxi (s)} + 1 for the others. Assume that G(s) has rp unstable poles; the multiplicity of the unstable pole pj (Re(pj ) ≥ 0, j = 1, 2, ..., rp ) is lj ; lij is the largest multiplicity of pj in the ith row of G(s); the ith elements of GD (s) and GN (s) are GDi (s) and GN i (s), respectively. Then Nxi (s) is determined by dk [I − GDi (s)GN i (s)Ji (s)] = 0, s→pj dsk i = 1, 2, ..., n; j = 1, 2, ..., rp ; k = 0, 1, ..., lij − 1 lim
with deg{Nxi (s)} =
rp P
(12.2.10)
lij .
j=1
For unstable plants, the controller must be implemented in the unity feedback loop: C(s) = Q(s)[I − G(s)Q(s)]−1 .
(12.2.11)
Furthermore, it is required that all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. Recall the discussion in Section 8.1. This can be achieved by employing a rational approximation. It will be shown in the next section that this condition, together with (12.2.10), guarantees the internal stability of the closed-loop system. It should be pointed out that the condition dk det[I − G(s)Q(s)] = 0, s→pj dsk j = 1, 2, ..., rp ; k = 0, 1, ..., lij − 1 lim
(12.2.12)
is not sufficient for internal stability. By comparing (12.2.10) with (12.2.12), it can be seen that more closed RHP zeros have to be introduced in I −G(s)Q(s) to guarantee the internal stability. This is the price for decoupling.
344
Quantitative Process Control Theory
Example 12.2.2. Consider the plant described by the following transfer function matrix: 1 1 s−2 G(s) = s+3 . 2 s−1 s+3
s−2
The plant is NMP. It has one pole at s = −3, one pole at s = 2, and one zero at s = 3. Assume that the controller is # " −(s+3)(s−1) (s+3)(13s+1) Q(s) =
3(s+1)2 2(s−2) 3(s+1)2
3(s+1)2 −(s−2)(13s+1) 3(s+1)2
.
We have I − G(s)Q(s) =
"
s(s+7/3) (s+1)2
0 16s(s−2) 3(s+1)2
0
#
.
It has one zero at s = 2. The RHP zero number of I −G(s)Q(s) is the same as the RHP pole number of the plant. No more closed RHP zeros are introduced in I − G(s)Q(s) by the controller. Since " s(s+7/3) # s(s+7/3) [I − G(s)Q(s)]G(s) =
(s+3)(s+1)2 32s(s−2) 3(s+3)(s+1)2
(s−2)(s+1)2 16s(s−1) 3(s+1)2
,
[I−G(s)Q(s)]G(s) is not stable, the closed-loop system is not internally stable. Now consider another controller described by # " −(s+3)(s−1)(40s+1) (s+3)(13s+1) Q(s) =
3(s+1)3 2(s−2)(40s+1) 3(s+1)3
3(s+1)2 −(s−2)(13s+1) 3(s+1)2
.
One readily obtains I − G(s)Q(s) =
"
s(s−2)(s+55/3) (s+1)3
0
0
16s(s−2) 3(s+1)2
#
.
It can be seen that one more closed RHP zero is introduced at s = 2 by the controller. Since " s(s−2)(s+55/3) s(s+55/3) # [I − G(s)Q(s)]G(s) =
(s+3)(s+1)3 32s(s−2) 3(s+3)(s+1)2
(s+1)3 16s 3(s+1)2
,
[I − G(s)Q(s)]G(s) is stable. Now, a question of interest is when more closed RHP zeros need to be introduced in I − G(s)Q(s) for internal stability. This has to be done if the closed RHP poles and their multiplicities in the elements of at least one row of G(s) are not the same.
Quasi-H∞ Decoupling Control
345
Example 12.2.3. Consider the following plant: 1 2 s+3 G(s) = s+3 . 1 s−1 s−2
s−2
The plant has one pole at s = −3, one pole at s = 2, and one zero at s = 3. The multiplicities of the closed RHP poles in every row are the same. If the following controller is taken: " (s+3)(s−1) 2(s−2)(13s+1) # Q(s) =
−3(s+1)2 s+3 3(s+1)2
3(s+1)2
− (s−2)(13s+1) 3(s+1)2
,
the closed-loop response is decoupled. It is evident that both " s(s+7/3) # 0 (s+1)2 I − G(s)Q(s) = 16s(s−2) 0 3(s+1)2 and [I − G(s)Q(s)]G(s) =
"
s(s+7/3) (s+3)(s+1)2 16s 3(s+1)2
2s(s+7/3) (s+3)(s+1)2 16s(s−1) 3(s+1)2
#
are stable. There is only one closed RHP zero in I − G(s)Q(s). The quasi-H∞ controller can also be designed with the following procedure: 1. If the plant does not contain any time delay (that is, GD (s) = I), turn to 3. 2. If the plant contains a time delay, take the rational part GO (s) as the nominal plant. 3. If GO (s) has no zeros in the RHP (that is, GN (s) = I), take its inverse as Qopt (s) and turn to 5. 4. If GO (s) has zeros in the RHP, remove the factor that contains the zeros (that is, GN (s)) and take the inverse of the remainder as Qopt (s). 5. Introduce a filter to Qopt (s), compute C(s) and remove the RHP zero-pole cancellations in C(s).
12.3
Analysis for Quasi-H∞ Control Systems
Consider the nominal stability first. According to the discussion in Section 10.4, the closed-loop system is internally stable if and only if all elements in
346
Quantitative Process Control Theory
the following matrix are stable: G(s)Q(s) [I − G(s)Q(s)]G(s) . H(s) = Q(s) −Q(s)G(s)
(12.3.1)
The following theorems provide necessary and sufficient conditions for the internal stability of the system designed in the last section. Theorem 12.3.1. The unity feedback control system is internally stable for the plant with time delay if and only if 1. Q(s) is stable. 2. [I − G(s)Q(s)]G(s) is stable. Proof. Necessity is obvious. Consider sufficiency. Assume that [I − G(s)Q(s)]G(s) is stable but G(s)Q(s) is not stable. As Q(s) is stable, the unstable pole of G(s)Q(s) should be at the unstable poles of G(s). This implies that I − G(s)Q(s) is unbounded at the unstable poles of G(s), which contradicts the assumption. Hence, if [I − G(s)Q(s)]G(s) is stable, G(s)Q(s) is stable. If [I − G(s)Q(s)]G(s) is stable, Q(s)G(s) is also stable, since [I − G(s)Q(s)]G(s) = G(s)[I − Q(s)G(s)]. Theorem 12.3.2. Assume that dk k [I ds s→pj
1. lim
− GDi (s)GN i (s)Ji (s)] = 0, i = 1, 2, ..., n; j =
1, 2, ..., rp ; k = 0, 1, ..., lij − 1.
2. All RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. Then, the unity feedback control system with a quasi-H∞ controller is internally stable. Proof. It is sufficient to prove that the two conditions in Theorem 12.3.1 hold. It is evident that Q(s) = GM P −1 (s)J (s) is stable, since GM P (s) is MP and J (s) is stable in quasi-H∞ control. Now consider the stability of [I − G(s)Q(s)]G(s). Since dk [I − GDi (s)GN i (s)Ji (s)] = 0, s→pj dsk i = 1, 2, ..., n; j = 1, 2, ..., rp ; k = 0, 1, ..., lij − 1, lim
all unstable poles of G(s) are cancelled by I − G(s)Q(s) when all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. Therefore, [I − G(s)Q(s)]G(s) must be stable.
Quasi-H∞ Decoupling Control
347
When the nominal performance is considered, it is required that the system should have a zero steady-state error. The quasi-H∞ controller is designed for step inputs. In view of the discussion in Section 10.4, the system should be of Type 1 for tracking step inputs asymptotically. In other words, the closed-loop transfer function matrix should satisfy the following condition: lim T (s) = I.
s→0
(12.3.2)
Evidently, the quasi-H∞ controller satisfies the condition. When the requirement on robustness is proposed, the robustness of the closed-loop system can be tested by the rigorous criteria introduced in Chapter 10. As an alternative, the engineering tuning method for SISO systems can be directly extended to MIMO systems; that is, increase the performance degrees monotonically until the required response is obtained. The advantage of this tuning method is that it is simple and can be used to tune both nominal performance and robustness. One may find that some time delays or closed RHP zeros influence other channels while some others not. To distinguish them, two definitions are given. Definition 12.3.1. A time delay is canonical if at least one element of GD (s) contains a time delay, provided that the greatest common time delay of all elements of GD (s) has been removed. Definition 12.3.2. A RHP zero is canonical if at least one element of GN (s) has this zero, provided that the greatest common factor of all elements of GN (s) has been removed. A canonical time delay or a canonical RHP zero does not spread its influence over all channels, whereas a non-canonical time delay or a non-canonical RHP zero affects all channels. Example 12.3.1. Consider the plant with the following transfer function matrix: 1 s − 2 2(s − 2) . G(s) = 1 s−1 (s + 3)(s − 1) The plant has a zero at s = 2 and a zero at s = 3. Since −(s−2) 0 −(s − 3) s+2 GN (s) = , s+3 0 1 the zero at s=2 is canonical and the zero at s=3 is non-canonical. Example 12.3.2. This example illustrates the effect of non-canonical zeros. Consider the plant in Example 12.2.2: 1 1 s+3 s−2 G(s) = . 2 s−1 s+3
s−2
348
Quantitative Process Control Theory
If the controller is Q(s) =
"
−(s+3)(s−1)(40s+1) 3(s+1)3 2(s−2)(40s+1) 3(s+1)3
(s+3)(13s+1) 3(s+1)2 −(s−2)(13s+1) 3(s+1)2
#
,
the closed-loop transfer function matrix is # " 40s+1 0 s 3 − +1 . T (s) = (s+1) 13s+1 0 3 (s+1)2 The zero at s = 3 affects all channels.
12.4
Increasing Time Delays for Performance Improvement
Two classes of methods have been proposed in literature to enhance the closedloop performance: 1. Developing control schemes that have better ability for time delay compensation. 2. Modifying the plant to reduce the effect of NMP factors. The discussion in Section 12.2 falls into the first class, while the second class will be discussed in this section. A fact in MIMO systems is that decreasing or increasing time delays may result in improved performance. Usually, it is impossible to decrease time delays in a plant, but in many cases it is possible to increase them. For example, the time delay can be increased by simply increasing the length of the pipe that connects process units. This section considers the strategy for enhancing performance by increasing time delays. Let θsi (i = 1, 2, ..., n) be the smallest time delay of the ith row of G(s), that is, θsi = minj θij , j = 1, 2, ..., n. Then the minimum time needed for any input to affect the output i is θsi . Theorem 12.4.1. The element with the largest prediction in each column of G−1 (s) is on the diagonal if and only if the rows and columns of G(s) are rearranged so that the smallest time delay of G(s) in each row is on the diagonal. If this is true, the largest prediction is eθsi . Proof. Prove sufficiency first. Assume that G(s) has been rearranged so that the smallest time delay in each row is on the diagonal, that is, θsi = θjj , j = 1, 2, ..., n. It is known that G−1 (s) =
adj[G(s)] . det[G(s)]
Quasi-H∞ Decoupling Control
349
The largest time delay that can be separated from det[G(s)] is θdet = θ11 + θ22 + ... + θnn . Consider the jth column of adj[G(s)]. Compare the maximum time delays that can be separated from the diagonal element (denoted by θajj ) and nondiagonal element (denoted by θaij , i 6= j): θajj
=
θ11 + ... + θ(i−1)(i−1) + θii + θ(i+1)(i+1) +
θaij
=
... + θ(j−1)(j−1) + θ(j+1)(j+1) + ... + θnn . θ11 + ... + θ(i−1)(i−1) + θij + θ(i+1)(i+1) + ... + θ(j−1)(j−1) + θ(j+1)(j+1) + ... + θnn .
Since θii ≤ θij , ∀i, j = 1, 2, ..., n, the result is θajj ≤ θaij . Subtracting the two sides of the inequality from θdet yields θdet − θajj ≥ θdet − θaij . θdet − θajj = θjj = θsi is the prediction of the diagonal element in the jth column of G−1 (s), while (θdet − θaij ) is the prediction of the non-diagonal element in the jth column of G−1 (s). The sufficiency proof is reversible. It may not be feasible to make the smallest time delay in each row on the diagonal by rearranging rows and columns of a plant. The idea here is to increase individual delay θij by the minimum amount, so that the minimum time delays occur on the diagonal. For simple cases, this work can be done manually. In the general case, optimization techniques may have to be used. The key is to formulate this problem mathematically. Let bij (i, j = 1, 2, ..., n) be a continuous variable that represents the modified time delay. The binary variable yij is introduced, which takes values of 0 − 1 and is associated with the element bij . When yij = 1, the corresponding element has the smallest time delay. The minimum time delay needed to improve the closed-loop response is given by the solution to the following optimization problem: XX (12.4.1) bij , Min i
j
subject to X i
yij
=
1, j = 1, 2, ..., n,
(12.4.2)
350
Quantitative Process Control Theory
X j
X
yij
=
1, i = 1, 2, ..., n,
(12.4.3)
(yij bij ) − bij
≤
0, i, j = 1, 2, ..., n,
(12.4.4)
θij
≤
bij , i, j = 1, 2, ..., n,
(12.4.5)
≤
max θij , i, j = 1, 2, ..., n,
(12.4.6)
=
0, 1, i, j = 1, 2, ..., n.
(12.4.7)
j
bij yij
j
Constraints (12.4.2) and (12.4.3) imply that only one element is picked up as the element with the smallest time delay. Constraint (12.4.4) states that the selected element has the smallest time delay indeed. The first term in its left-hand side picks up one element from each row, and compares it with other elements in this row (that is, the second term in its left-hand side). Finally, Constraints (12.4.5) and (12.4.6) provide the lower and upper bounds for the continuous variable bij . This mathematical formulation is a mixed-integer nonlinear programming problem, since the constraint (12.4.4) involves the bilinearity of the form yij bij . The constraint (12.4.4) is not convex. This implies that it is hard to obtain the global optimal solution. The problem can be overcome by converting the nonlinearity programming into a linear programming. The bilinearity of the form yij bij , in which yij is an integer and bij is a continuous variable, can be substituted by a continuous variable hij with four additional constraints: hij = bij − U (1 − yij ) ≤
yij bij , hij , hij ,
(12.4.10)
bij − L(1 − yij ) ≤ U yij ≥
hij , hij ,
(12.4.11) (12.4.12)
L ≤ bij ≤ U, i, j = 1, 2, ..., n.
(12.4.13)
Lyij
≥
(12.4.8) (12.4.9)
i, j = 1, 2, ..., n,
where the scalars L and U satisfy
In the above formulation, one can take L = 0 and U = maxij (θij ). Utilizing the conversion, the formulation becomes XX (12.4.14) bij , Min i
j
yij
=
subject to X i
1, j = 1, 2, ..., n,
(12.4.15)
Quasi-H∞ Decoupling Control X
351 yij
=
1, i = 1, 2, ..., n,
(12.4.16)
hij − bij
≤
0, i, j = 1, 2, ..., n,
(12.4.17)
bij − (max θij )(1 − yij ) ≤
hij , i, j = 1, 2, ..., n,
(12.4.18)
0 ≤ θij ≤
hij , i, j = 1, 2, ..., n, bij , i, j = 1, 2, ..., n,
(12.4.19) (12.4.20)
X j
j
ij
bij
≤
max θij , i, j = 1, 2, ..., n,
(12.4.21)
yij
=
0, 1, i, j = 1, 2, ..., n.
(12.4.22)
j
This is a mixed-integer linear programming problem. It can be solved easily with the help of computer software. The mathematical tool adopted in this section is thoroughly different from those introduced in the preceding chapters. For detailed discussion, please refer to the monographs addressing this topic.
12.5
A Design Example for Quasi-H∞ Control
In this section, an example is given to illustrate the design procedure of the quasi-H∞ controller. It will be shown that the performance is significantly improved by employing the optimization technique introduced in the last section. Example 12.5.1. Consider the model of a pilot scale ethanol and water distillation column: G(s) =
"
0.66e−6s 6.7s+1 −34.7e−9.2s 8.1s+1
−0.005e−s 9.1s+1 0.87(11.6s+1)e−s (3.9s+1)(18.8s+1)
In this system the outputs are – Overhead ethanol mole fraction. – Bottom composition temperature (◦C). The inputs are – Reflux flow rate (gpm). – Reboiler steam pressure (psig).
#
.
352
Quantitative Process Control Theory
The inverse of the plant is G−1 (s) =
adj[G(s)] , det[G(s)]
where adj[G(s)] det[G(s)]
= =
"
0.87(11.6s+1)e−s (3.9s+1)(18.8s+1) 34.7e−9.2s 8.1s+1
0.005e−s 9.1s+1 0.66e−6s 6.7s+1
#
,
0.66 ∗ 0.87(11.6s + 1) 34.7 ∗ 0.005e−3.2s e−7s . − (6.7s + 1)(3.9s + 1)(18.8s + 1) (8.1s + 1)(9.1s + 1)
G(s) is factorized into G(s) = GD (s)GO (s). Both maximum predictions of the first and second columns of G−1 (s) are 6. According to Definition 12.1.1, GD (s) is given by −6s 0 e . GD (s) = 0 e−6s GO (s) = GD −1 (s)G(s) has no RHP zeros, which implies that GN (s) = I and GM P (s) = GO (s). In light of (12.2.5), the quasi-H∞ controller is " 0.87(11.6s+1) # Qopt (s) =
(3.9s+1)(18.8s+1) 34.7e−8.2s 8.1s+1 0.66∗0.87(11.6s+1) (6.7s+1)(3.9s+1)(18.8s+1)
0.005 9.1s+1 0.66e−5s 6.7s+1 34.7∗0.005e−3.2s − (8.1s+1)(9.1s+1)
.
This controller is exact, but too complex. Model reduction techniques are used here to simplify the design result. Suppose that the relative degree of the approximate denominator is chosen as 2. The following result can be obtained by applying fitting techniques: 0.66 ∗ 0.87(11.6s + 1) 34.7 ∗ 0.005e−3.2s 0.4007 . − ≈ 2 (6.7s + 1)(3.9s + 1)(18.8s + 1) (8.1s + 1)(9.1s + 1) 3s + 16s + 1 With this approximate denominator, we have " 0.87(11.6s+1) Qopt (s) =
(3.9s+1)(18.8s+1) 34.7e−8.2s 8.1s+1
0.005 9.1s+1 0.66e−5s 6.7s+1
#
3s2 + 16s + 1 . 0.4007
Since the plant is stable, the filter can be chosen as 1 0 λ 1 s+1 J (s) = . 1 0 λ2 s+1
Quasi-H∞ Decoupling Control
FIGURE 12.5.1 Closed-loop responses with λ1 = 3.2 and λ2 = 4.
353
354
Quantitative Process Control Theory
The suboptimal controller is Q(s) =
"
0.87(11.6s+1) (3.9s+1)(18.8s+1)(λ1 s+1) 34.7e−8.2s (8.1s+1)(λ1 s+1)
0.005 (9.1s+1)(λ2 s+1) 0.66e−5s (6.7s+1)(λ2 s+1)
#
3s2 + 16s + 1 . 0.4007
If there is not any requirement on the closed-loop response, λ1 and λ2 can be selected freely. Suppose the design requirement on the closed-loop response is 10% overshoot for each channel. With the engineering tuning method, it is easy to obtain that λ1 = 3.2 and λ2 = 4. The closed-loop responses are shown in Figure 12.5.1. In the last section, an optimization method was introduced to improve the performance. Using this method, one gets XX Min bij = 22.2, i
j
b11 = 6, b12 = 6, b21 = 9.2, b22 = 1, y11 = 1, y12 = 0, y21 = 0, y22 = 1.
This implies that the closed-loop performance could be improved by increasing θ12 in G(s) to 6 while keeping other time delays the same. In this case, −6s e 0 GD (s) = , 0 e−s and the controller is " 0.87(11.6s+1) Q(s) =
(3.9s+1)(18.8s+1)(λ1 s+1) 34.7e−8.2s (8.1s+1)(λ1 s+1)
0.005 (9.1s+1)(λ2 s+1) 0.66 (6.7s+1)(λ2 s+1)
#
3s2 + 16s + 1 . 0.4007
For the sake of comparison, the same controller parameters are used as those in the system with unchanged time delays. It can be seen from Figure 12.5.2 that the response of the second output is significantly improved.
12.6
Multivariable PID Controller Design
The PID controller is widely used in practice. Design techniques of the SISO PID controller have been well developed. However, the design problem of multivariable PID controllers remains a subject of study, since the MIMO case is much more intricate than the SISO one. Section 12.2 introduced a simple design method for multivariable controllers, of which one main feature is that the controller is analytical. Once
Quasi-H∞ Decoupling Control
FIGURE 12.5.2 Performance improvement by increasing the time delay.
355
356
Quantitative Process Control Theory
an analytical result is obtained, one can directly use the design procedures in Section 5.5 and Section 5.6 to reduce every element of the multivariable controller C(s) to a SISO PID controller. When the desired PID controllers have the same form (that is, all controllers are in the form of a PI controller, or all controllers in the form of a PID controller), the design procedure can be expressed by matrix and vector notations. As an example, the design procedure for Maclaurin PID controllers is provided here. Consider the quasi-H∞ design method. First, the plant is factorized as G(s) = GD (s)GN (s)GMP (s).
(12.6.1)
The desired closed-loop transfer function matrix is chosen as T (s) = GD (s)GN (s)J (s).
(12.6.2)
With this closed-loop transfer function matrix, the obtained unity feedback loop controller can be expressed as C(s) = GM P −1 (s)J (s)[I − GD (s)GN (s)J (s)]−1 . Rewrite the controller as C(s) = s−1 f (s),
(12.6.3)
f (s) = sGM P −1 (s)J (s)[I − GD (s)GN (s)J (s)]−1 .
(12.6.4)
where
Expand the controller in a Maclaurin series: i h C(s) = s−1 f (0) + f ′ (0)s + f ′′ (0)s2 /2! + f (3) (0)s3 /3! + ... .
(12.6.5)
The first three terms form a standard PID controller: C(s) = KC + KI s−1 + KD s,
(12.6.6)
whose parameters are KC = f ′ (0), KI = f (0), KD = f ′′ (0)/2.
(12.6.7)
To simplify the representation, let N (s) = =
s−1 [I − GD (s)GN (s)J (s)]J −1 (s) s−1 [J −1 (s) − GD (s)GN (s)].
(12.6.8)
Then we have f (s) = GM P −1 (s)N −1 (s).
(12.6.9)
Quasi-H∞ Decoupling Control
357
The values of f (s) and its derivatives at the origin are f (0) = GM P −1 (0)N −1 (0), −1 f ′ (0) = [GM P −1 (0)]′ N −1 (0) + G−1 (0)]′ , MP (0)[N
f ′′ (0) = [GM P −1 (0)]′′ N −1 (0)+ 2[GM P −1 (0)]′ [N −1 (0)]′ + GM P −1 (0)[N −1 (0)]′′ , where N (0) = [N (0)]′
=
′′
=
[N (0)] ′ N −1 (0) −1 ′′ N (0)
−1 ′ G (0) −1 ′′ G (0)
= =
−1 ′ J (0) − [GN −1 (0)GD −1 (0)]′ ,
{[J −1 (0)]′′ − [GN −1 (0)GD −1 (0)]′′ }/2!,
{[J −1 (0)](3) − [GN −1 (0)GD −1 (0)](3) }/3!, −N −1 (0)[N (0)]′ N −1 (0),
−[N −1 (0)]′ [N (0)]′ N −1 (0) −
N −1 (0)[N (0)]′′ N −1 (0) − N −1 (0)[N (0)]′ [N −1 (0)]′ ,
= =
−1 ′ −G−1 (0), MP (0)[GMP (0)] GM P
−[GM P −1 (0)]′ [GMP (0)]′ GM P −1 (0) −
GM P −1 (0)[GMP (0)]′′ GM P −1 (0) − GM P −1 (0)[GMP (0)]′ [GM P −1 (0)]′ .
Example 12.6.1. Consider a binary distillation column for separating a mixture of methanol and water (the feed) into a bottom product (mostly water) and a methanol distillate. Schematically, the distillation process functions as follows (Figure 12.6.1): • Steam flows into the reboiler and vaporizes the bottom liquid. This vapor is reinjected into the column and mixes with the feed. • Methanol, being more volatile than water, tends to concentrate in the vapor moving upward. Meanwhile, water tends to flow downward and accumulate as the bottom liquid. • The vapor exiting at the top of the column is condensed by a flow of cooling water. Part of this condensed vapor is extracted as the distillate, and the rest of the condensate (the reflux) is sent back to the column. • Part of the bottom liquid is collected as the bottom product (waste). In this application, the objective is to control the amount of the bottom and top methanol by manipulating the steam flow rate and the reflux flow rate, respectively. Since a change in either steam flow rate or reflux flow rate upsets
358
Quantitative Process Control Theory
FIGURE 12.6.1 A binary distillation column. both methanols, we have an interacting system. The model of the distillation column is described by " # −3s −s G(s) =
12.8e 16.7s+1 6.6e−7s 10.9s+1
−18.9e 21s+1 −19.4e−3s 14.4s+1
.
The inverse of the plant is G−1 (s) = where adj[G(s)] det[G(s)]
= =
"
−19.4e−3s 14.4s+1 −6.6e−7s 10.9s+1
adj[G(s)] , det[G(s)]
18.9e−3s 21s+1 12.8e−s 16.7s+1
#
,
−248.3 −124.7e−6s − 240.5s2 + 31.1s + 1 228.9s2 + 31.9s + 1
e−4s .
G(s) is factorized into G(s) = GD (s)GO (s). Since the largest predictions of the first and the second columns of G−1 (s) are 1 and 3 respectively, GD (s) is given by −1s 0 e . GD (s) = 0 e−3s
Quasi-H∞ Decoupling Control
359
GO (s) is MP, thus GN (s) = I. The plant is stable. According to (12.2.1) the desired closed-loop transfer function matrix is
e−s T (s) = λ1 s + 1 0
0
. e−3s λ2 s + 1
Then
Q(s) =
"
−19.4 (14.4s+1)(λ1 s+1) −6.6e−4s (10.9s+1)(λ1 s+1) 124.7e−6s 228.9s2 +31.9s+1
−
18.9e−2s (21s+1)(λ2 s+1) 12.8 (16.7s+1)(λ2 s+1) 248.3 240.5s2 +31.1s+1
#
,
and the unity feedback loop controller is
C(s) =
"
−19.4 (14.4s+1)(λ1 s+1−e−s ) −6.6e−4s (10.9s+1)(λ1 s+1−e−s ) 124.7e−6s 228.9s2 +31.9s+1
18.9e−2s (21s+1)(λ2 s+1−e−3s ) 12.8 (16.7s+1)(λ2 s+1−e−3s ) − 240.5s248.3 2 +31.1s+1
#
.
This is a rigorously analytical result. Suppose a multivariable PI controller is desired. Take λ1 = 4.5 and λ2 = 4. The controller parameters given by (12.6.7) are KC =
0.2833 −0.0411 0.0915 −0.1210
, KI =
0.0285 −0.0219 0.0097 −0.0148
.
If there is no constraint on the structure of PID controller, one can choose the PID controller with the best achievable performance (see Section 5.6). Nevertheless, the resulting controller is unstable. To overcome this problem, the controllers in the first column of C(s) are chosen in the form of a PI controller, while the controllers in the second column are PID controllers with the best achievable performance. Take λ1 = 3.8 and λ2 = 3.5. The multivariable PID controller is C(s) =
"
0.3251s+0.0327 s 1.0506s+0.1112 10s
2
+0.8804s+0.0235 − 3.0901s s(35.4901s+1) 2
+1.1570s+0.0159 − 8.6640s s(64.3898s+1)
#
.
The closed-loop responses are shown in Figure 12.6.2. Because a rational approximation is used, the interaction among different channels cannot be thoroughly decoupled in the systems with PI or PID controllers.
360
Quantitative Process Control Theory
FIGURE 12.6.2 Closed-loop responses of multivariable PID controllers.
Quasi-H∞ Decoupling Control
12.7
361
Summary
The design idea of the quasi-H∞ control is constructing a desired closed-loop transfer function matrix first, and then deriving the controller based on this transfer function matrix. Similar ideas were also used by many other design methods, for example, the pole assignment method, Dahlin controller, and model predictive control. The central problem of such methods is how to define the desired closed-loop transfer function matrix. The quasi-H∞ control chooses the following transfer function matrix as the desired closed-loop transfer function matrix: T (s) = GD (s)GN (s)J (s). The resulting unity feedback loop controller is −1 . C(s) = G−1 M P (s)J (s)[I − T (s)]
GD (s), GN (s), and GM P (s) are the transfer function matrices defined in the factorization for MIMO plants. The stability and performance of the closedloop system is directly analyzed in this chapter with developed techniques. It has been proved that the closed-loop transfer function matrix and the factorization can guarantee the internal stability and asymptotical tracking. Similar to SISO systems, the closed-loop responses can also be tuned quantitatively. The MIMO control system design is complicated. The obtained closedloop performance depends on not only the optimal design method, but also the distribution of time delays. It is shown in this chapter that, by arranging or adjusting the element time delays appropriately, significant improvement on performance can be obtained. Another important problem discussed in this chapter is the design problem of multivariable PID controllers. Based on the discussion for SISO controller design, a general design method is proposed for multivariable PID controllers and suboptimal performance is obtained.
Exercises 1. Consider the following plant: " G(s) =
1/2 s+1 −1 s+1
2 s+2 2e−s s+1
#
.
The plant has a time delay in one of its elements. Is this plant NMP?
362
Quantitative Process Control Theory 2. A plant is described by the following model: 1 s − 2 2(s − 2) . G(s) = 1 s−1 (s + 3)(s − 1) Design a quasi-H∞ controller. 3. Suppose that a controller is in the form of C(s) =
c(s) , a(s) + b(s)e−θs
where a(s), b(s) and c(s) are polynomials with roots in the LHP. Such a controller can be exactly implemented by means of a block with an inner feedback loop. Give the implementation. 4. Assume that the system input is a ramp. What a condition should the desired closed-loop transfer function matrix satisfy for asymptotical tracking? 5. Following the idea in Chapter 9, design a 2 DOF quasi-H∞ controller.
Notes and References The factorization of the stable MIMO plant was discussed in many papers, for example, Holt and Morari (1985), Jerome and Ray (1986), and Wang et al. (2002). Section 12.4 is based on Psarris and Floudas (1990) (Psarris P. and C. A. Floudas, Improving dynamic operability in MIMO systems with time delays, c Chemical Engineering Science, 1990, 45(12), 3505–3524. Elsevier). Theorem 12.4.1 belongs to Holt and Morari (1985). Detailed discussion on the optimization theory can be found in Floudas (1995). The plant in Example 12.5.1 was given by Ogunnaike et al. (1983). The idea of designing a MIMO PID controller with Maclaurin series was first proposed by Dong and Brosilow (1997). The plant in Example 12.6.1 was given by Wood and Berry (1973). This plant is very famous. It has been used in many papers for performance comparison. For the MIMO system decoupling control, one can also refer to Wang (2003) and Goodwin et al. (2001, Chapter 26).
13 H2 Decoupling Control
CONTENTS 13.1 13.2 13.3 13.4 13.5 13.6
Controller Parameterization for MIMO Systems . . . . . . . . . . . . . . . . . . . . . . . . . Diagonal Factorization for H2 Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . H2 Optimal Decoupling Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analysis for H2 Decoupling Control Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Design Examples for H2 Decoupling Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
363 368 371 374 376 383 386 387
H∞ control and H2 control are two prevailing design methods. In Section 3.4, it was seen that the necessary and sufficient condition for robust performance analysis could be obtained when the system performance was specified in terms of ∞-norm. For controller design, however, 2-norm is mathematically more convenient to treat. In the SISO design, it could be seen that the methodologies of quasi-H∞ control and H2 control were thoroughly different. In the quasi-H∞ control, the controller was designed by constructing a desired closed-loop transfer function, while in the H2 control the controller was derived by solving an optimization problem. In this chapter, the SISO H2 design will be extended to the decoupling control system. First, all stabilizing decoupling controllers are parameterized. Then, diagonal factorizations are defined for MIMO plants. Finally, based on the parameterization and factorizations, the controller and decoupler are analytically derived in one step.
13.1
Controller Parameterization for MIMO Systems
Consider the control system consisting of an n × n plant G(s) and an n × n controller C(s). C(s) = Q(s)[I − G(s)Q(s)]−1 ,
(13.1.1)
where Q(s) is the IMC controller. In the design method of H2 decoupling control in this chapter, the plant 363
364
Quantitative Process Control Theory
can be proper, have a time delay, have poles on the imaginary axis, or have poles and zeros in the open RHP. It is assumed that 1. There is no unstable hidden mode in G(s). 2. G(s) is of full normal rank. These assumptions are the same as those in the quasi-H∞ decoupling control. Normally, the finite zeros on the imaginary axis is not considered, because they may cause the problem of internal instability or poor performance. From Theorem 12.3.1 it is known that the closed-loop system is internally stable if and only if 1. Q(s) is stable. 2. [I − G(s)Q(s)]G(s) is stable. Theorem 13.1.1. Assume that G(s) is a plant with time delay. The unity feedback control system is internally stable if and only if 1. Q(s) is stable. 2. I − G(s)Q(s) has zeros wherever G(s) has unstable poles.
3. All RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. Proof. It is enough to prove the equivalency between the stability of [I − G(s)Q(s)]G(s) and the second and third conditions. Assume that [I − G(s)Q(s)]G(s) is stable. Evidently, I − G(s)Q(s) must have zeros wherever G(s) has unstable poles and all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. Otherwise, [I − G(s)Q(s)]G(s) will have unstable poles, which contradicts the assumption. Now, assume that I − G(s)Q(s) has zeros wherever G(s) has unstable poles and all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. As the only unstable poles of [I − G(s)Q(s)]G(s) are those of G(s), the above assumptions imply that all unstable poles in [I − G(s)Q(s)]G(s) are removed by the zeros of I − G(s)Q(s). In multivariable systems, there exists such a possibility that I − G(s)Q(s) has zeros wherever G(s) has unstable poles, but there are irremovable RHP zero-pole cancellations in [I − G(s)Q(s)]G(s). Only when there is no irremovable RHP zero-pole cancellation in [I − G(s)Q(s)]G(s), can the stability of [I − G(s)Q(s)]G(s) be guaranteed. Example 13.1.1. This example illustrates the irremovable RHP zero-pole cancellation in [I − G(s)Q(s)]G(s). The plant is described by the following transfer function matrix: 1 1 s+3 s−2 G(s) = . 2 s−1 s+3
s−2
H2 Decoupling Control
365
It has two poles at s = −3 and s = 2, and one zero at s = 3. Assume that the controller is " −(s−1) # Q(s) =
22s+1 (s+1)2 −(s−2)(22s+1) (s+3)(s+1)2
s+1 2(s−2) (s+3)(s+1)
.
Q(s) is stable. Since I − G(s)Q(s) =
"
s(s+5) (s+3)(s+1)
0
0 s(s+29)(s−2) (s+3)(s+1)2
#
,
I − G(s)Q(s) has zeros wherever G(s) has unstable poles. Nevertheless, [I − G(s)Q(s)]G(s) =
"
s(s+5) (s+3)2 (s+1) 2s(s+29)(s−2) (s+3)2 (s+1)2
s(s+5) (s−2)(s+3)(s+1) s(s+29)(s−1) (s+3)(s+1)2
#
is not stable. It has a RHP pole at s = 2 and a RHP zero at s = 2. The RHP zero-pole cancellation cannot be removed. Let the multiplicity of the unstable pole pj (Re(pj ) ≥ 0, j = 1, 2, ..., rp ) be lj , and let lij be the largest multiplicity of pj in the ith row of G(s). Theorem 13.1.2. All controllers that make the unity feedback control system internally stable can be parameterized as C(s) = Q(s)[I − G(s)Q(s)]−1 , where Q(s) is any stable proper transfer function matrix that satisfies lim
s→pj
dk det[I − G(s)Q(s)] = 0, j = 1, 2, ..., rp ; k = 0, 1, ..., lj − 1, dsk
and all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. Proof. To guarantee the internal stability of the closed-loop system, first, Q(s) should be stable. This implies that Q(s) should be proper. Next, [I −G(s)Q(s)]G(s) should be stable. This implies that I −G(s)Q(s) has to cancel all closed RHP poles of G(s). To achieve this, Q(s) must satisfy that lim
s→pj
dk det[I − G(s)Q(s)] = 0, j = 1, 2, ..., rp ; k = 0, 1, ..., lj − 1. dsk
This condition cannot guarantee the stability of [I − G(s)Q(s)]G(s) unless all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed.
366
Quantitative Process Control Theory
Corollary 13.1.3. Assume that G(s) is a stable plant. All controllers that make the unity feedback control system internally stable can be parameterized as C(s) = Q(s)[I − G(s)Q(s)]−1 , where Q(s) is any stable proper transfer function matrix. It is noted that, for stable plants, the new paramerization is identical to Youla parameterization. When the system performance is considered, it is always desirable that the system should possess the asymptotic tracking property. If the system inputs are steps, the closed-loop transfer function matrix T (s) = G(s)Q(s) should satisfy the following condition for the asymptotic tracking property: lim [I − T (s)] = 0.
s→0
(13.1.2)
Theorem 13.1.4. All controllers that make the unity feedback control system internally stable and possess the asymptotic tracking property for step inputs can be parameterized as C(s) = Q(s)[I − G(s)Q(s)]−1 , where Q(s) = G−1 (0)[I + sQ1 (s)], Q1 (s) is any stable transfer function matrix that makes Q(s) proper and satisfies lim
s→pj
dk det[I − G(s)G−1 (0) − sG(s)G−1 (0)Q1 (s)] = 0, dsk j = 1, 2, ..., rp ; k = 0, 1, ..., lj − 1,
and all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. Proof. If lim [I − G(s)Q(s)] = 0,
s→0
or equivalently, Q(0) = G−1 (0), the closed-loop system possesses the asymptotic tracking property. All transfer function matrices that satisfy the condition can be written as Q(s) = G−1 (0)[I + sQ1 (s)].
H2 Decoupling Control
367
To guarantee the internal stability of the closed-loop system, Q(s) should be stable. This implies that Q(s) is proper. Furthermore, I − G(s)Q(s) has to cancel all closed RHP poles of G(s). To achieve this, Q(s) must satisfy that lim
s→pj
dk det[I − G(s)G−1 (0) − sG(s)G−1 (0)Q1 (s)] = 0, dsk j = 1, 2, ..., rp ; k = 0, 1, ..., lj − 1.
The condition cannot guarantee the stability of [I − G(s)Q(s)]G(s) unless all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. It is easy to obtain the closed-loop transfer function matrix: T (s) = G(s)Q(s) = G(s)G−1 (0)[I + sQ1 (s)].
(13.1.3)
In practice, it may be required that the closed-loop response is decoupled, that is, the closed-loop transfer function matrix T (s) is diagonal. Let the ith element of T (s) be Ti (s). Corollary 13.1.5. Assume that the closed-loop response is decoupled. All controllers that make the unity feedback control system internally stable and possess the asymptotic tracking property for step inputs can be parameterized as C(s) = Q(s)[I − G(s)Q(s)]−1 , where Q(s) = G−1 (0)[I + sQ1 (s)], Q1 (s) is any stable transfer function matrix that makes Q(s) proper and T (s) diagonal, and satisfies dk [1 − Ti (s)] = 0, s→pj dsk i = 1, 2, ..., n; j = 1, 2, ..., rp ; k = 0, 1, ..., lij − 1, lim
and all RHP zero-pole cancellations in [I − G(s)Q(s)]G(s) are removed. The well-known Youla parameterization is not used here because of several reasons: 1. It cannot be directly used for plants with time delay. 2. It needs a coprime factorization, which cannot be obtained with analytical methods. 3. It does not directly relate to the IMC controller Q(s). 4. It cannot be directly used for decoupling control.
368
13.2
Quantitative Process Control Theory
Diagonal Factorization for H2 Control
In this section, a diagonal factorization will be defined for H2 decoupling control. The factorization is similar to, but not exactly the same as that for the quasi-H∞ decoupling control. The introduction follows the original developing procedure of the factorization, which explains why such a factorization is constructed. Assume that the plant is expressed as G11 (s)e−θ11 s · · · G1n (s)e−θ1n s .. .. .. (13.2.1) G(s) = , . . . Gn1 (s)e−θn1 s
···
Gnn (s)e−θnn s
where Gij (s)(i, j = 1, 2, ..., n) are scalar rational transfer functions and θij ≥ 0 are time delays. Recall that, in the decentralized control, only those diagonal elements of the plant are treated; the non-diagonal elements are regarded as uncertainty. Along the same lines, it seems that the plant can be factorized into the following form: G(s) = GD (s)GO (s), where
GD (s)
GO (s)
e−θ11 s .. = . 0 =
··· .. . ···
0 .. . e−θnns
G11 (s) .. .
Gn1 (s)e−(θn1 −θnn )s
,
··· .. . ···
(13.2.2) G1n (s)e−(θ1n −θ11 )s .. (13.2.3) . Gnn (s)
Unfortunately, such a factorization is not feasible for controller design, because there may be predictions in the resulting controller. To find a feasible factorization, let us review the SISO design first. Given a plant G(s), the ideal controller is Qopt (s) = G−1 (s).
(13.2.4)
In this case, the closed-loop transfer function is 1. The performance is evidently optimal. However, such a controller is not physically realizable when G(s) has a time delay. An alternative is to factorize the plant into two parts: G(s) = GD (s)GO (s), where GD (s) is the time delay part and GO (s) is the delayfree part. If GO (s) is NMP, a further factorizing should be made: GO (s) =
H2 Decoupling Control
369
GN (s)GMP (s), where GN (s) is the all-pass part and GMP (s) is the MP part. The optimal controller can be taken as Qopt (s) = G−1 (s)GD (s)GN (s) = G−1 MP (s).
(13.2.5)
This controller is proved to be the optimal realizable inverse of G−1 (s). When Qopt (s) is improper, a filter will be introduced to make it proper. Now consider the MIMO case. The factorization of the time delay part is defined first. Let the inverse of the plant be
G−1 (s) =
G11 (s)e−θ
11
s
··· n1 Gn1 (s)e−θ s
··· .. . ···
G1n (s)e−θ
1n
s
, ··· −θ nn s nn G (s)e
(13.2.6)
ji
where Gji (s)e−θ s (j, i = 1, 2, ..., n) are the elements of G−1 (s); θji is the maximum time delay that can be separated from each element. It is conjectured that the H2 optimal decoupling controller can be designed in a similar way to the SISO controller. To carry out such a design, the first step is to factorize the plant G(s) into two parts: G(s) = GD (s)GO (s), where GD (s) is the time delay part. GD (s) is diagonal and should be chosen so that 1. It counteracts the predictions in G−1 (s), that is, GO −1 (s) = G−1 (s)GD (s) does not involve predictions. 2. No additional time delays are introduced in GO −1 (s). Because the elements of GD (s) are time delays, no RHP zeros and poles are cancelled in forming GO (s) = GD −1 (s)G(s). If GO (s) is MP, the optimal controller can be taken as Qopt (s) = GO −1 (s).
(13.2.7)
Definition 13.2.1. Let θli (i = 1, 2, ..., n) be the largest prediction of the ith column of G−1 (s), that is, θli = maxj θji , j = 1, 2, ..., n. The H2 diagonal factorization for time delay is defined as −θ s 0 e l1 · · · .. .. .. GD (s) = . . . . 0
···
e−θln s
In particular, for rational plants GD (s) = I.
The definition is the same as that in the quasi-H∞ decoupling control. This is because any factorization with time delays shorter than the ones in this factorization will not thoroughly counteract the predictions in G−1 (s); only an irrealizable controller can be obtained. It is easy to verify that GD H (jω)GD (jω) = I for all ω and GD (0) = I.
370
Quantitative Process Control Theory
The property GD H (jω)GD (jω) = I is the generalization of the concept of all-pass. Next, the factorization for the RHP zero part is defined. GO (s) may be NMP. In this case, GO (s) has to be factorized into two parts: GO (s) = GN (s)GM P (s), where GN (s) is a diagonal matrix satisfying the following requirement: 1. It is all-pass and GA (s) = I. 2. It counteracts the RHP poles in GO −1 (s), so that GM P −1 (s) = GO −1 (s)GN (s) is stable. 3. No additional RHP zeros are introduced in GM P −1 (s). The GM P (s) obtained in such a way is the MP part of GO (s). The optimal controller can be taken as Qopt (s) = GM P −1 (s).
(13.2.8)
Assume that zj (Re(zj ) > 0, j = 1, 2, ..., rz ) are the unstable poles of GO −1 (s). Definition 13.2.2. Let kij (i = 1, 2, ..., n) be the largest multiplicity of the unstable pole zj (j = 1, 2, ..., rz ) in the ith column of GO −1 (s). The H2 diagonal factorization for closed RHP zeros is Q k1j rz −s+zj · · · 0 j=1 s+¯zj . . .. .. .. GN (s) = . . knj rz Q −s+zj 0 ··· s+¯ zj j=1
In particular, for MP plants GN (s) = I. It can be verified that GN H (jω)GN (jω) = I for all ω and GN (0) = I. Finally, the diagonal all-pass factorization is defined. Let GA (s) = GD (s)GN (s). The diagonal all-pass factorization of G(s) can be expressed as G(s) = GA (s)GM P (s). The factorization is unique and has the following features: 1. GA (s) is diagonal. 2. GA (s) is stable and all-pass. 3. GM P (s) is MP.
(13.2.9)
H2 Decoupling Control
371
Although the factorization defined in this section is similar to the innerouter factorization, it has two features different from the inner-outer factorization: 1. The new factorization has a diagonal all-pass part. 2. It is defined for both stable and unstable plants.
13.3
H2 Optimal Decoupling Control
The subject of this section is to derive the H2 optimal decoupling controller with the controller parameterization in Section 13.1 and the diagonal factorization in Section 13.2 (Figure 13.3.1). It will be shown that the conjecture in the last section about the optimal controller is correct. The diagonal factorization results in the optimal solution indeed.
FIGURE 13.3.1 Design procedure for the H2 decoupling controller. As discussed in Section 10.4, the H2 optimal control problem can be expressed as min kS(s)W (s)k2 ,
(13.3.1)
where W (s) = I/s is the weighting function and S(s) = I − G(s)Q(s). For decoupling control, S(s) should be diagonal. Since a fixed weighting function is adopted, the designer is not required to select a weighting function.
372
Quantitative Process Control Theory
The design problem here can be considered as an optimization problem over the class of all stabilizing controllers with asymptotic tracking property. To carry out the design, some preliminaries are needed. Let H2 be the set of all strictly proper stable functions, H⊥ 2 be the set of all strictly proper transfer function matrices without poles in the open LHP. Then L2 := H2 + H⊥ 2 denotes the set of all strictly proper transfer function matrices without poles on the imaginary axis. Given a T (s) in L2 , it can be uniquely expressed as T (s) = T1 (s) + T2 (s),
(13.3.2)
where T1 (s) ∈ H2 and T2 (s) ∈ H⊥ 2. Let the superscript * denote the conjugate transpose of a system: T ∗ (s) = T T (−s). Readers should not confuse it with the complex conjugate transT pose, which is defined for a complex matrix: T H (jω) = T¯ (jω). For complex H ∗ matrices, T (jω) = T (jω). Lemma 13.3.1. If T1 (s) ∈ H2 and T2 (s) ∈ H⊥ 2 , then kT1 (s) + T2 (s)k22 = kT1 (s)k22 + kT2 (s)k22 . Proof. kT1 (s)Z+ T2 (s)k22 1 = Trace{[T1 (jω) + T2 (jω)]H [T1 (jω) + T2 (jω)]}dω 2π 2 2 = kTZ 1 (s)k2 + kT2 (s)k2 + 1 Trace[T1 H (jω)T2 (jω) + T2 H (jω)T1 (jω)]dω. 2π Consider the last term. Convert it into a contour integral by closing the imaginary axis with an infinite-radius semicircle in the LHP: Z 1 Trace[T1 H (jω)T2 (jω) + T2 H (jω)T1 (jω)]dω 2π I 1 = Trace[T1 ∗ (s)T2 (s) + T2 ∗ (s)T1 (s)]ds. 2πj According to Lemma 3.1.3, if a function has no poles in a bounded open set, then its integral on a closed contour in the set equals zero. Therefore, the right-hand side of the above equation equals zero. Now consider the design problem. Using the controller parameterization developed in Corollary 13.1.5, we have 2
kS(s)W (s)k2
2
= s−1 [I − G(s)Q(s)] 2
2
= s−1 [I − G(s)G−1 (0) − sG(s)G−1 (0)Q1 (s)] 2 .
(13.3.3)
H2 Decoupling Control
373
Theorem 13.3.2. Assume that the plant with time delay can be uniquely factorized into two parts according to Definition 13.2.1 and Definition 13.2.2: G(s) = GA (s)GM P (s), where GA (s) = GD (s)GN . Then the optimal solution to the H2 decoupled control problem is Qopt (s) = GM P −1 (s). Proof. An important property of the all-pass function is that it does not affect the value of 2-norm, that is, kGA (s)G1 (s)k2 = kG1 (s)k2 , where G1 (s) is a transfer function matrix without poles on the imaginary axis. With this property and the diagonal factorization given in the last section, the H2 performance index can be written as 2
kS(s)W (s)k2
2
= s−1 [GA −1 (s) − I] + s−1 {I − GM P (s)G−1 (0)[I + sQ1 (s)]} 2 .
Since GA (0) = I and GM P (0)G−1 (0) = I, s must be a factor of GA −1 (s)− I and I − GM P (s)G−1 (0)[I + sQ1 (s)]. s−1 [GA −1 (s) − I] is strictly proper. s−1 {I − GM P (s)G−1 (0)[I + sQ1 (s)]} is also strictly proper if Q(s) = G−1 (0)[I + sQ1 (s)] is proper. On the other hand, in view of the definition of GA (s), s−1 [GA −1 (s) − I] is analytic in the open LHP. s−1 {I − GM P (s)G−1 (0)[I + sQ1 (s)]} is stable. To see this, let us consider the following equality:
=
GA (s){I − GM P (s)G−1 (0)[I + sQ1 (s)]} [GA (s) − I] + {I − G(s)G−1 (0)[I + sQ1 (s)]}.
As GA (s) is stable, the first term in the right-hand side is stable. By Corollary 13.1.5, the second term is stable, too. Applying Lemma 13.3.1, we have 2
kS(s)W (s)k2
2
2
= s−1 [GA −1 (s) − I] 2 + s−1 {I − GM P (s)G−1 (0)[I + sQ1 (s)]} 2 .
Minimizing the right-hand side of the equation yields
Q1opt (s) = s−1 G(0)GM P −1 (s)[I − GM P (s)G−1 (0)]. Hence, the optimal solution is Qopt (s) = GM P −1 (s).
374
Quantitative Process Control Theory
It should be emphasized that the proof procedure for Theorem 13.3.2 is general enough to allow general weighting functions, although only the prespecified weighting function is considered in this section. It can be seen from the deriving procedure that it is the parameterization proposed in Section 13.1 and the factorization defined in Section 13.2 that make it possible to obtain an analytical solution. With the optimal analytical solution, the optimal performance is readily obtained as follows:
(13.3.4) min kS(s)W (s)k2 = s−1 [GA −1 (s) − I] 2 . No matter what method is used, this is the best decoupling performance that can be reached, provided the performance index is specified as minimizing the 2-norm of the weighted sensitivity function. Sometimes, the decoupled response can also reach the optimal performance in a general sense, rather than the diagonal optimal performance. When the time delays in each row of G(s) are the same, and all RHP zeros have the same multiplicities in each row of G(s), the diagonal optimal solution is identical to the optimal solution. Evidently, for MP plants, the results of the optimal control and the decoupling optimal control are the same.
13.4
Analysis for H2 Decoupling Control Systems
The design procedure of a MIMO H2 controller is similar to that of a SISO H2 controller. After the optimal controller is obtained, the next step is to introduce a filter: Q(s) = Qopt (s)J (s). The filter has two main functions: 1. The optimal controller Qopt (s) is usually improper. The filter is introduced to make it proper. 2. The filter is used to tune the shape of the closed-loop response and to satisfy the performance and robustness requirements, which are achieved with weights in many other methods. The filter should satisfy the following requirements: 1. The closed-loop system is internally stable. 2. The controller Q(s) is proper. 3. The asymptotic tracking can be achieved. Since the decoupled closed-loop response is required, J (s) should be chosen as a diagonal matrix: 0 J1 (s) · · · .. .. (13.4.1) J (s) = ... , . . 0
···
Jn (s)
H2 Decoupling Control
375
with Ji (s) =
Nxi (s) , i = 1, 2, ..., n. (λi s + 1)ni
(13.4.2)
Here λi (i = 1, 2, ..., n) are performance degrees. Nxi (s) are polynomials with all roots in the LHP. It is not difficult to satisfy the first requirement on the filter. Let the ith element of GA (s) be GAi (s)(i = 1, 2, ..., n). By Corollary 13.1.5, the closedloop system is internally stable if dk [1 − GAi (s)Ji (s)] = 0, s→pj dsk i = 1, 2, ..., n; j = 1, 2, ..., rp ; k = 0, 1, ..., lij − 1. lim
Here deg{Nxi (s)} =
rp P
(13.4.3)
lij (i = 1, 2, ..., n).
j=1
Assume that the smallest relative degree of all elements in the ith column of Qopt (s) is αi . The second requirement can be satisfied by choosing ni = deg{Nxi (s)} − αi for improper columns and ni = deg{Nxi (s)} + 1 for the others. To track the input asymptotically, the filter should satisfy J (0) = I.
(13.4.4)
This implies that the third requirement can be satisfied by choosing Nxi (0) = 1. Each element of J (s) has an adjustable performance degree λi , which should be determined by design requirements. As the closed-loop response is decoupled, each channel can be independently tuned. The ith element of the closed-loop transfer function matrix is Ti (s) =
k rz −s + zj ij −θii s Nxi (s) Y e , i = 1, 2, ..., n. (λi s + 1)ni j=1 s + z¯j
(13.4.5)
Since the performance degree is related to the nominal closed-loop response monotonically, the system can be tuned conveniently for quantitative responses. When there exists uncertainty, every channel is mainly affected by the performance degree of this channel. The tuning procedure is similar. For stable plants, the controller can be implemented in the IMC structure. An important advantage of such an implementation is that the decoupling property can be thoroughly preserved even when a rational approximation is used for Q(s). For unstable plants, the controller must be implemented in the unity feedback loop. Control systems with unstable plants usually exhibit excessive overshoots. This problem can be well solved by employing a 2 DOF structure (Figure
376
Quantitative Process Control Theory
FIGURE 13.4.1 A 2 DOF MIMO system. 13.4.1), which can isolate the disturbance response from the reference response and thus make a better response possible. It is easy to design 2 DOF controllers in the framework of this section. The controller of the disturbance loop is exactly the controller of the unity feedback loop: C1 (s) = Q(s)[I − G(s)Q(s)]−1
(13.4.6)
with Q(s) = Qopt (s)J1 (s). The closed-loop transfer function matrix of the corresponding unity feedback loop is T (s) = G(s)Q(s) = GD (s)GN (s)J1 (s).
(13.4.7)
Regard T (s) as a new plant and C 2 (s) as the IMC controller in the next step. The following optimal controller for the reference loop can be obtained: C2opt (s) = J1 −1 (s)GN −1 (s).
(13.4.8)
Introduce a diagonal filter J 2 (s) to the optimal controller to obtain a physically realizable controller: C2 (s) = C2opt (s)J2 (s).
(13.4.9)
J 2 (s) has a similar structure to J 1 (s). It is noticed that the response from r(s) to y(s) can be tuned only by J2 (s).
13.5
Design Examples for H2 Decoupling Control
The design procedure for H2 decoupling controllers can be formulated as follows: 1. If the plant does not contain any time delay (that is, GD (s) = I), turn to 3.
H2 Decoupling Control
377
2. If the plant contains a time delay, take the rational part GO (s) as the nominal plant. 3. If GO (s) has no zeros in the RHP (that is, GN (s) = I), take its inverse as Qopt (s) and turn to 5. 4. If GO (s) has zeros in the RHP, construct an all-pass transfer function matrix with the factor that contains these zeros (that is, GN (s)) and then remove the all-pass transfer function matrix. Take the inverse of the remainder as Qopt (s). 5. Introduce a filter J (s) to Qopt (s), compute C(s) and remove the RHP zero-pole cancellations in C(s). In this section, two examples are provided to help readers understand the design procedure of H2 decoupling control. In the first example, a constructed unstable plant is used, since it is not easy to find an appropriate real unstable plant for the design problem illustrated. The plant in the second example is a real one. Example 13.5.1. The plant is described by the following transfer function matrix: G(s) =
1 (s + 3)(s − 1)
s − 2 2(s − 2) 1 s−1
,
which is NMP and unstable. The plant has two two-multiplicity poles at s = −3 and s = 1 respectively, and two zeros at s = 2 and s = 3 respectively. According to Definition 13.2.1, G(s) is factorized into G(s) = GD (s)GO (s). Since G(s) is rational, GD (s) = I. The inverse of GO (s) is s − 1 −2(s − 2) −1 s−2 GO −1 (s) = . (s−2)(s−3) (s−1)(s+3)
It has unstable poles. Hence, GO (s) has to be factorized as follows: GO (s) = GN (s)GM P (s). In view of Definition 13.2.2, we have −(s−2) 0 −(s − 3) s+2 GN (s) = , s+3 0 1 −1 −(s + 2) −2(s + 2) . GM P (s) = 1 s−1 (s − 3)(s − 1)
378
Quantitative Process Control Theory
By Theorem 13.3.2, the optimal controller is s−1 −1 Qopt (s) = GM P −1 (s) =
2(s + 2) −(s + 2)
s+2 s−1
.
Since both of the largest multiplicities of the RHP poles in the first and the second row of G(s) are 1, the following filter is chosen: # " β s+1 1 0 (λ1 s+1)2 . J (s) = β2 s+1 0 (λ2 s+1)2 The suboptimal controller is Q(s) = Qopt (s)J (s) =
"
(s−1)(β1 s+1) (λ1 s+1)2 −(β1 s+1) (λ1 s+1)2
2(s+2)(β2 s+1) (λ2 s+1)2 −(s+2)(β2 s+1) (λ2 s+1)2
#
s−1 . s+2
Simple computation gives S(s)
= I − G(s)Q(s) " (s−2)(s−3)(β1 s+1) 1 − (s+2)(s+3)(λ 2 1 s+1) = 0
0 1−
−(s−3)(β2 s+1) (s+3)(λ2 s+1)2
#
.
Based on (13.4.3), it is readily obtained that β1 = 6(λ1 + 1)2 − 1, β2 = 2(λ2 + 1)2 − 1. The unity feedback controller is 2 C(s) =
2(s+3){[2(λ2 +1)2 −1]s+1} s(λ22 s+6λ22 +6λ2 +1) −(s+3){[2(λ2 +1)2 −1]s+1} s(λ22 s+6λ22 +6λ2 +1)
(s−1)(s+3){[6(λ1 +1) −1]s+1} s[λ21 s2 −(5+10λ1 )s+60λ1 +36λ21 +20] −(s+3){[6(λ1 +1)2 −1]s+1} s[λ21 s2 −(5+10λ1 )s+60λ1 +36λ21 +20]
.
It is observed that the RHP zero-pole cancellations in C(s) have been removed. If the performance degrees are taken as λ1 = λ2 = 1, the controller is C(s) =
"
23s3 +47s2 −67s−3 s(s2 −15s+116) −(23s2 +70s+3) s(s2 −15s+116)
14s2 +44s+6 s(s+13) −(7s2 +22s+3) s(s+13)
#
.
The closed-loop responses are shown in Figure 13.5.1. Because the plant is unstable, there are large overshoots in the reference responses. If a 2 DOF structure is adopted, the controller of the disturbance loop is C1 (s) = C(s).
H2 Decoupling Control
FIGURE 13.5.1 Closed-loop responses with λ1 = λ2 = 1.
379
380
Quantitative Process Control Theory
The controller of the reference loop can be obtained with (13.4.9): (λ1 s+1)2 0 ′ . C2 (s) = (β1 s+1)(λ1 s+1) (λ2 s+1)2 0 ′ (β2 s+1)(λ s+1) 2
For 10% undershoot in each reference loop, λ′1 = 1.4 and λ′2 = 0.8. The controller is " # s2 +2s+1 0 2 +24.4s+1 32.2s C2 (s) = . s2 +2s+1 0 5.6s2 +7.8s+1
The closed-loop responses are shown in Figure 13.5.2. Now there are no overshoots in the reference responses. Example 13.5.2. Consider a heavy oil fractionator (Figure 13.5.3). The linearized model is " # −27s −28s G(s) =
4.05e 27s+1 5.39e−18s 50s+1
1.77e 60s+1 5.72e−14s 60s+1
,
in which the time constants and time delays are expressed in minutes. The main objective is to maintain process outputs y1 (t) and y2 (t) at the specification 0.0 ± 0.005 in the steady state, while at the same time the process inputs u1 (t) and u2 (t) are subject to the saturation ±0.5 with respect to every unit step reference. The anti-windup scheme based on the modified control structure is not preferred here, because that will significantly increase the complexity of this MIMO control problem. The design method introduced in this chapter can reach the goal without modifying the control structure. The inverse of the plant is adj[G(s)] , det[G(s)]
G−1 (s) = where adj[G(s)]
=
det[G(s)]
=
"
5.72e−14s 60s+1 −18s − 5.39e 50s+1
−28s
− 1.77e 60s+1
#
,
4.05e−27s 27s+1
4.05 5.72 1.77 5.39e−5s − 27s + 1 60s + 1 60s + 1 50s + 1
It can be verified that GD (s)
=
e−27s 0
0 e−14s
,
e−41s .
H2 Decoupling Control
FIGURE 13.5.2 Closed-loop responses with λ′1 = 1.4 and λ′2 = 0.8.
381
382
Quantitative Process Control Theory
FIGURE 13.5.3 Shell heavy oil fractionator. GN (s)
= I.
Therefore, "
4.05 27s+1 5.39e−4s 50s+1
GO (s)
=
GD −1 (s)G(s) =
GM P (s)
=
GN −1 (s)GO (s) = GO (s).
#
1.77e−s 60s+1 5.72 60s+1
,
A little algebra gives Qopt (s) = GM P
−1
(s) =
=
"
"
4.05 27s+1 5.39e−4s 50s+1
1.77e−s 60s+1 5.72 60s+1
#−1
#
−s 5.72 − 1.77e 60s+1 60s+1 −4s 4.05 − 5.39e 50s+1 27s+1 1.77 5.39e−5s 4.05 5.72 27s+1 60s+1 − 60s+1 50s+1
.
This rigorously analytical controller is of infinite dimension. With the help of fitting techniques, one obtains 4.05 5.72 1.77 5.39e−5s 13.6257 . − ≈ 27s + 1 60s + 1 60s + 1 50s + 1 1193.2s2 + 67.4s + 1 For step inputs, choose the following filter: 1 0 λ 1 s+1 J (s) = . 1 0 λ2 s+1 The controller is 2
Q(s) = (1193.2s + 67.4s + 1)
"
0.4198 (60s+1)(λ1 s+1) 0.3956e−4s − (50s+1)(λ 1 s+1)
−s
0.1299e − (60s+1)(λ 2 s+1) 0.2972 (27s+1)(λ2 s+1)
#
.
H2 Decoupling Control
383
Increase the performance degrees from small to large. It is found that λ1 = 19 and λ2 = 26 can provide the required responses. The closed-loop responses are shown in Figure 13.5.4 and the manipulated variable responses are shown in Figure 13.5.5. Since the IMC structure is used, the closed-loop responses are thoroughly decoupled even for the approximate controller.
13.6
Summary
In this chapter, a new controller parameterization is presented. The advantages of this parameterization are as follows: 1. It does not require a coprime factorization. 2. It can be used for the decoupling control of systems with multiple time delays. A diagonal factorization is then proposed, which is different from the innerouter factorization. The optimal controller is obtained analytically based on the new parameterization and the diagonal factorization. The first step in the H2 decoupling design is factorizing the plant into two parts: G(s) = GA (s)GM P (s). The second step is computing the optimal controller: Qopt (s) = G−1 M P (s). The third step is introducing a filter and adjusting the closed-loop response quantitatively: Q(s) = Qopt (s)J (s). In the design, the parameterization is only used to prove the optimal solution. When the obtained optimal solution is employed, those complex procedures, such as computing the controller parameterization and deriving the optimal controller, are not needed anymore. Compared to the classical decoupling design, the notable feature of the H2 decoupling design is that the controller is suboptimal and applicable to general plants. The stability and performance of the closed-loop system can be analyzed directly, and the performance limit is clearly known. The common features of the SISO design methods in this book are that 1. The designer is not required to choose a weighting function. 2. The result is analytical.
384
Quantitative Process Control Theory
FIGURE 13.5.4 Closed-loop responses with λ1 = 19 and λ2 = 26.
H2 Decoupling Control
FIGURE 13.5.5 Responses of manipulated variables for λ1 = 19 and λ2 = 26.
385
386
Quantitative Process Control Theory 3. The closed-loop response can be quantitatively adjusted.
The three features are preserved in both H∞ and H2 decoupling control.
Exercises 1. Assume that the plant G(s) has only simple RHP zeros zj (j = 1, 2, ..., rz ). Prove that there exists a stable H2 controller Q(s) such that the complementary sensitivity function matrix, G(s)Q(s), is equal to the desired closed-loop transfer function matrix T (s) if and only if T (s)satisfies vj T (zj ) = 0 for all RHP zeros of G(s). Here vj (s) is a nonzero row vector satisfying vj G(zj ) = 0. 2. If the time delays in each column are the same, the plant can be factorized as follows: G(s) = GO (s)GD (s), where GO (s) is the rational part and GD (s) is the diagonal time delay part. Is it possible to design an H2 controller based on this factorization? 3. Assume that G(s) has a zero at z1 , Re(z1 ) ≥ 0. G−1 (s) can be expressed in the form of a partial fraction expansion: G−1 (s) =
G1 + G0 (s), s − z1
where G1 is the matrix of residue and G0 (s) is a term without poles at z1 . Consider the following plant: 1 1 1 G(s) = . s + 1 1 + 2s 2 Find the partial fraction expansion of G(s)−1 . 4. Explain why GN (0) = I when zj in Definition 13.2.2 is a complex number. 5. Consider the following plant 1 (s − 2)e−4s G(s) = e−2 e−3s (s + 2)(s − 3)
(s − 2)e−s e−2s
Compute the H2 optimal decoupling controller Qopt (s).
.
H2 Decoupling Control
387
6. Suppose G(∞) = I. Prove that G(s) has the same number of finite zeros and finite poles.
Notes and References Section 13.1 is based on Zhang et al. (2006) (Zhang W. D., F. Allg¨ower and T. Liu. Controller parameterization for SISO and MIMO plants with time c Foias et al. delay, System Control Letters, 2006, 55(10), 794–802. Elsevier). (1996) discussed the application of Youla parameterization in systems with time delay. Sections 13.2–13.5 follows Zhang et al. (2006) closely (Zhang W. D., C. Lin, and L. L. Ou. Algebraic solution to H2 control problems - Part II: the multivariable decoupling case, Ind. Eng. Chem. Res., 2006, 45(21), 7163–7176. c
ACS). The design of the filter is similar to that in Morari and Zafiriou (1989), but the parameterization and factorizations are thoroughly different. The factorization adopted in Morari and Zafiriou (1989) is the inner-outer factorization. Some related discussions can also be found in Wang (2003). The plant in Example 13.5.2 is drawn from the 2 × 3 plant in the famous Shell problem. The Shell problem is an extremely difficult problem which includes many possibly conflicting requirements. It has appealed to many researcher’s interest (Prett et al., 1990). A 2 DOF MIMO control system was discussed in Liu et al. (2007). An extension of the H2 decoupling control to nonsquare plants was given in Zhang and Lin (2006). Exercise 1 is extracted from Morari and Zafiriou (1989, Section 13.2). Exercise 3 is adapted from Morari and Zafiriou (1989, Section 13.2). Exercise 5 is based on Zhang et al. (2006).
14 Multivariable H2 Optimal Control
CONTENTS 14.1 Factorization for Simple RHP Zeros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 14.2 Construction Procedure of Factorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 14.3 Factorization for Multiple RHP Zeros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398 14.4 Analysis and Computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405 14.5 Solution to the H2 Optimal Control Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410 14.6 Filter Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413 14.7 Examples for H2 Optimal Controller Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416 14.8 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425 Notes and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
In the last two chapters, the decoupling control problem was discussed in detail. In the two decoupling control schemes, the MIMO system was decomposed into a series of independent SISO loops. Optimal design procedures were developed and analytical controllers were obtained. The common feature of the two methods is that the closed-loop response is decoupled and thus the response of each channel is determined by only one parameter. This is important for applications, since when a channel is tuned, it is usually desirable that other channels not be affected. Furthermore, this feature makes the tuning of decoupling control systems be simplified significantly. Nevertheless, the optimal control in general sense (the closed-loop response may be non-decoupled) is theoretically more important than the decoupling optimal control. Compared with the decoupling optimality, the general optimality implies that the minimum error is reached. In this chapter, the design procedure for H2 optimal control is introduced. Again the steps of solving this problem are factorizing the plant, analytically deriving the optimal controller with the controller parameterization and plant factorization, and then developing a quantitative tuning procedure. Since the closed-loop response may not be decoupled, the tuning procedure is more complicated than that for decoupled systems. 389
390
Quantitative Process Control Theory
14.1
Factorization for Simple RHP Zeros
In the preceding chapters, the plant was permitted to have a time delay. However, in this chapter the plant is restricted to be rational. The factorization, which is the core of H2 optimal design, is still an open question for systems with time delay. Let G(s) denote an n × n plant and C(s) an n × n controller. It is assumed in this chapter that 1. There is no unstable hidden mode in G(s). 2. G(s) is of full normal rank. 3. G(s) has no finite zeros on the imaginary axis. The assumptions are the same as those for the H2 decoupling control. The factorization used in this chapter is an extension of the inner-outer factorization. The inner-outer factorization plays a pivotal role in system and control theory. Its goal is to compute the factorization of a stable nonsingular transfer function matrix G(s) as the product of a proper stable inner factor GA (s) and a stable MP outer factor GM P (s), that is, G(s) = GA (s)GM P (s).
(14.1.1)
A matrix GA (s) is said to be inner if it is stable and satisfies GA ∗ (s)GA (s) = I; A matrix GM P (s) is said to be outer if it is stable and has no zeros in the RHP. GA (s) is a full matrix in general. It is an all-pass function, since GA ∗ (jω)GA (jω) = I for all ω. GM P (s) may have imaginary zeros according to the original definition of inner-outer factorization. The inner-outer factorization is not unique. For example, multiplying GA (s) and GM P (s) by an orthogonal matrix does not change the poles and zeros. The obtained is still an inner-outer factorization. To obtain a unique inner-outer factorization, a constraint must be imposed on the inner factor or the outer factor. For example, let GA (∞) = I. The original inner-outer factorization is only defined for stable plants. Aimed at the design problem of general linear systems, the extended innerouter factorization is defined in this chapter, which is applicable to both stable and unstable plants. Definition 14.1.1. GA (s) and GM P (s) are said to be the extended innerouter factorization of G(s) if 1. GA ∗ (s)GA (s) = I. 2. GA (s) and GM P −1 (s) are stable. 3. GM P (s) has the same closed RHP poles as G(s).
Multivariable H2 Optimal Control
391
In the new definition, Condition 1 is from the original definition. It implies that GA (s) has the same number of zeros and poles. Conditions 2 and 3 are from the design requirement of H2 optimal controllers. In Condition 2 it is required that GA (s) must be stable even if the plant is unstable, while GM P (s) is not necessarily stable. Since GM P (s) is required to be MP, GM P −1 (s) must be stable. If Condition 3 is not satisfied, the plant has to be factorized for the second time, so that a MP part with the same closed RHP poles as G(s) is obtained. Such a factorization is needed in deriving the optimal solution. In particular, to obtain the optimal controller analytically, an analytical solution is expected for the extended inner-outer factorization. The extended inner-outer factorization is a control-oriented definition. One can regard the original inner-outer factorization as a special case of the new factorization except for the imaginary axis case. It is noticed that, in the new definition, the outer factor does not have imaginary zero anymore. Otherwise, an internally unstable system may be obtained in the design. For clarity of presentation, the factorization for plants with simple open RHP zeros is introduced first. Then the result is extended to plants with multiple open RHP zeros. Assume that zj (j = 1, 2, ..., rz ) are the simple zeros of G(s). Definition 14.1.2. The nonzero 1 × n vector vj satisfying vj G(zj ) = 0 is called the direction of the zero zj . In the definition, the zero is not necessarily a RHP zero. The vector vjT is the eigenvector of GT (zj ) associated with the eigenvalue zero. It is called the zero direction since for a system input of the form cezj t (where c is an arbitrary complex vector, t ≥ 0), the output caused by the input in the direction of vj is identically zero, given appropriate initial conditions. Now let GA (s) be an n × n transfer function matrix, det[GA (s)] is not identically zero (or equivalently, GA (s) is of full normal rank), and det[GA (s)] does not have any pole at zj . Lemma 14.1.1. GA (s) has a simple zero zj with zero direction vj if and only if GA −1 (s) has an expression of the form GA −1 (s) = (−s + zj )−1 αj vj + G0 (s),
(14.1.2)
where G0 (s) is a term without poles at zj and αj is a nonzero n × 1 vector. Proof. Suppose that GA −1 (s) has an expression of the form GA −1 (s) = (−s + zj )−1 αj vj + G0 (s), where G0 (s) is a term without poles at zj . As αj is a nonzero column vector and vj is a nonzero row vector, GA (s) has at least one zero at zj . Multiply both sides of (14.1.2) on the right by (−s + zj )GA (s). We have (−s + zj )I = [αj vj + (−s + zj )G0 (s)]GA (s).
392
Quantitative Process Control Theory
Taking determinants yields (−s + zj )n = det[αj vj + (−s + zj )G0 (s)] det[GA (s)]. Since the rows of αj vj are the multiples of vj , αj vj is of rank 1. From Theorem 10.1.1, it is known that det[αj vj + (−s + zj )G0 (s)] has a zero at zj with multiplicity at least n − 1. It is deduced that det[GA (s)] has a zero at zj with multiplicity at most 1. Therefore, zj is a simple zero of GA (s). Conversely, suppose that GA (s) has a simple zero zj with the zero direction vj . Since det[GA (s)] is not identically zero, GA (s) is invertible and GA −1 (s) has a simple pole at zj . Apply the Laurent expression for rational transfer function matrices. GA −1 (s) can be written in the following form: GA −1 (s)
∞ X
=
(−s + zj )i Ri+2
i=−1
= (−s + zj )−1
∞ X
(−s + zj )i+1 Ri+2 .
i=−1
Here Ri+2 (i = −1, 0, ..., ∞) are n × n constant matrices. As GA (s) has no poles at zj , R1 6= 0. Choose a 1 × n vector β satisfying βR1 6= 0. We have βGA −1 (s) = (−s + zj )−1
∞ X
β(−s + zj )i+1 Ri+2 .
i=−1
Rewrite the equation as (−s + zj )β =
"
∞ X
i+1
β(−s + zj )
i=−1
#
Ri+2 GA (s).
In particular, at s = zj we have βR1 GA (zj ) = 0. The definition of zero direction gives vj GA (zj ) = 0. It is evident that βR1 is a multiple of vj for any nonzero row vector β. This happens if and only if there exists a nonzero column vector αj such that R1 = αj vj . In the theorem, αj vj is in fact the residue of GA −1 (s) at zj . Lemma 14.1.2. If an n × n stable transfer function matrix GA (s) satisfies 1. GA ∗ (s)GA (s) = I;
Multivariable H2 Optimal Control
393
2. zj (Re(zj ) > 0; j = 1, 2, ..., rz ) are the only open RHP zeros of GA (s) with zero directions vj , then GA (s) is the inner factor of G(s) and GM P (s) = GA −1 (s)G(s) is the outer factor. Proof. It is enough to prove that GM P (s) is MP and has the same closed RHP poles as G(s). Since zj (j = 1, 2, ..., rz ) are the only open RHP zeros of GA (s), the only open RHP poles of GA −1 (s) are zj . Recall Lemma 14.1.1. If zj is the simple zero of GA (s), GA −1 (s) has an expression of the form GA −1 (s) = (−s + zj )−1 αj vj + G0 (s), where αj is a nonzero column vector and G0 (s) is a term without poles at zj . Multiply both sides on the right by G(s). We have GA −1 (s)G(s) = (−s + zj )−1 αj vj G(s) + G0 (s)G(s). The second term in the right-hand side is analytic at zj for j = 1, 2, ..., rz , since both G0 (s) and G(s) do not have poles at zj . In the first term, vj G(zj ) = 0 for j = 1, 2, ..., rz . Hence, GA −1 (s)G(s) does not have a pole at zj for j = 1, 2, ..., rz ; that is, all open RHP poles of GA −1 (s) are cancelled by those open RHP zeros of G(s). GM P (s) = GA −1 (s)G(s) has the same closed RHP poles as G(s). Furthermore, those open RHP zeros of G(s) are the only possible open RHP zeros of GM P (s). All of these zeros are cancelled. Therefore, GM P (s) is MP. The following theorem gives the main result of this section. Theorem 14.1.3. The n × n transfer function matrix GA (s) of the form ¯ −1 F −1 B GA (s) = I − B ∗ (sI + A)
(14.1.3)
is inner. Here v1 0 .. , B = .. , . . vrz z rz vi vj ∗ F = [fij ] , fij = ; i, j = 1, 2, ..., rz . z¯j + zi
z1 .. A= . 0
··· .. . ···
Proof. First, it is shown that GA ∗ (s)GA (s) = I. zj (j = 1, 2, ..., rz ) are the simple zeros of GA (s). With this fact, it can be proved that GA ∗ (s) = I − B ∗ (F ∗ )−1 (−sI + AT )−1 B.
(14.1.4)
394
Quantitative Process Control Theory
Since F = F ∗ ,
= = = =
GA ∗ (s)GA (s) ¯ −1 F −1 B] [I − B ∗ F −1 (−sI + AT )−1 B][I − B ∗ (sI + A) ¯ −1 F −1 B + I − B ∗ F −1 (−sI + AT )−1 B − B ∗ (sI + A) ¯ −1 F −1 B B ∗ F −1 (−sI + AT )−1 BB ∗ (sI + A) ¯ + I − B ∗ F −1 (−sI + AT )−1 {F (sI + A) ∗ T −1 ¯ F −1 B (−sI + A )F − BB }(sI + A) ¯ −1 F −1 B. ¯ + AT F − BB ∗ )(sI + A) I − B ∗ F −1 (−sI + AT )−1 (F A
It is easy to verify that F satisfies the following Lyapunov equation: ¯ + AT F = BB ∗ . FA One readily obtains GA ∗ (s)GA (s) = I. Next, examine the zero of GA (s). Since GA −1 (s) = GA ∗ (s) = I − B ∗ F −1 (−sI + AT )−1 B, zj (j = 1, 2, ..., rz ) are the only open RHP zeros of GA (s). By Lemma 14.1.2 it is known that GA (s) is inner. Evidently, GA (s) is unique, since GA (∞) = I.
14.2
Construction Procedure of Factorization
One may be interested in how the inner matrix in Theorem 14.1.3 was conceived. The procedure will be explained in detail in this section. An important step is constructing a transfer function matrix with the desired zero-pole distribution and, at the same time, without the RHP zero-pole cancellation. This is very easy for scalar plants, while for multivariable plants the constructing procedure is an involved problem, since the zero of the plant may not be the zero of its elements. In the last chapter, the inner-outer factorization problem for decoupling control was studied. It was shown that the inner matrix could be obtained by analyzing the inverse of a plant, since all zeros of the plant would emerge in its inverse matrix. This is an important idea that inspires the solving of the factorization problem in this chapter. Furthermore, it is found in interpolation study that the zero-pole distribution of a transfer function matrix is closely related to the partial fraction expansion of its inverse matrix. This fact will be used to compute the factorization. To obtain a unique inner-outer factorization, let GA (∞) = I. Assume that
Multivariable H2 Optimal Control
395
zj (j = 1, 2, ..., rz ) are the simple zeros of GA (s) with the zero directions vj . By Lemma 14.1.1, GA −1 (s) has the following partial fraction expansion: GA −1 (s) = I +
rz X
(−s + zj )−1 αj vj ,
(14.2.1)
j=1
where αj are unknown nonzero n × 1 vectors. Based on this expression, the form of GA (s) is given in the following lemma. Lemma 14.2.1. If GA −1 (s) = I +
rz X
(−s + zj )−1 αj vj ,
j=1
then GA (s) = I + Cv [sI − (Av + Bv Cv )]−1 Bv ,
(14.2.2)
where
z1 .. Av = . 0
··· .. . ···
0 .. , . z rz
Bv = [v1 T , v2 T , · · · , vrz T ]T , Cv = [α1 , α2 , · · · , αrz ]. Proof. This can be shown by the following multiplication: rz X I − (s − zj )−1 αj vj [I + Cv [sI − (Av + Bv Cv )]−1 Bv ] j=1
= I−
rz X j=1
rz X j=1
(s − zj )−1 αj vj + Cv [sI − (Av + Bv Cv )]−1 Bv −
(s − zj )−1 αj vj Cv [sI − (Av + Bv Cv )]−1 Bv
= I − Cv (sI − Av )−1 Bv + Cv [sI − (Av + Bv Cv )]−1 Bv − Cv (sI − Av )−1 Bv Cv [sI − (Av + Bv Cv )]−1 Bv = I − Cv (sI − Av )−1 [sI − (Av + Bv Cv )] − (sI − Av ) + Bv Cv [sI − (Av + Bv Cv )]−1 Bv = I.
396
Quantitative Process Control Theory
Since αj are unknown, more conditions are needed to compute GA (s). Consider the transfer function matrix with the same number of zeros and poles, since the inner factor possesses the feature. Assume that pj (j = 1, 2, ..., rz ) are simple zeros of GA −1 (s) with the zero directions wj , and zj 6= pj . Then pj are simple poles of GA (s). On one hand, from Lemma 14.1.1 GA (s) can be expressed as GA (s) = I +
rz X j=1
(s − pj )−1 wj βj ,
(14.2.3)
where βj are unknown nonzero 1 × n vectors. The expression can be rewritten as GA (s) = I + Cw (sI − Aw )−1 Bw ,
(14.2.4)
where
Aw
p1 .. = . 0
··· .. . ···
0 .. , . prz
Bw = [β1 T , β2 T , · · · , βrz T ]T , Cw = [w1 , w2 , · · · , wrz ]. On the other hand, Lemma 14.2.1 shows that the poles of GA (s) are the eigenvalues of the matrix Av + Bv Cv . In other words, pj (j = 1, 2, ..., rz ) are the eigenvalues of Av + Bv Cv . This implies that Av + Bv Cv is similar to Aw , or equivalently, there exists an invertible matrix F such that Av + Bv Cv = F Aw F −1 .
(14.2.5)
Substitute this expression into (14.2.2). One obtains that GA (s)
= I + Cv [sI − (Av + Bv Cv )]−1 Bv = I + Cv (sI − F Aw F −1 )−1 Bv
= I + Cv F (sI − Aw )−1 F −1 Bv .
(14.2.6)
(14.2.4) and (14.2.6) are identical when Cw = Cv F and Bw = F −1 Bv . If F is known, GA (s) can readily be derived by (14.2.4) or (14.2.6). Consider the computation of F . Substituting the expressions of Cw into (14.2.5) yields the following Lyapunov equation: F Aw − Av F = Bv Cw .
(14.2.7)
Let fij (i, j = 1, 2, ..., rz ) be the (i, j)th element of F . Evidently, the above matrix equation is equivalent to the following scalar equations: fij pj − zi fij = vi wj .
(14.2.8)
Multivariable H2 Optimal Control
397
The unique solution to this equation is fij =
vi wj . pj − z i
(14.2.9)
The matrix F is now obtained. When Bv and F are known, Bw = F −1 Bv , or equivalently, f11 β1 .. .. . = . f rz 1 βrz
··· .. . ···
−1 v1 f1rz .. .. . . . vrz f rz rz
(14.2.10)
The computing procedure for GA (s) is summarized as the following theorem. Theorem 14.2.2. Assume that zj (j = 1, 2, ..., rz ) are the simple zeros of GA (s) with the zero directions vj , pj are simple zeros of GA −1 (s) with the zero directions wj , zj 6= pj , and GA (∞) = I. Then GA (s) can be written as GA (s) = I +
rz X j=1
(s − pj )−1 wj βj ,
where β1 .. . βrz
F = [fij ] , fij
v1 = F −1 ... , vrz v i wj = ; i, j = 1, 2, ..., rz . pj − z i
Proof. Follows the foregoing analysis procedure. When the zero of GA (s) is known, the zero direction can be computed by definition. The obtained zero direction is not unique. If vj is the zero direction of GA (s), kvj (k is a nonzero constant) is evidently the zero direction of GA (s). However, in view of (14.2.9) and (14.2.10), this does not affect the ultimate result of Theorem 14.2.2. Consider a special case: zj (Re(zj ) > 0; j = 1, 2, ..., rz ) are the simple zeros zj and the only open RHP zeros of GA (s) with zero directions vj , while pj = −¯ are the simple zeros of GA −1 (s) with zero directions wj = −vj ∗ . The following lemma shows that this is the case encountered in the extended inner-outer factorization problem. Lemma 14.2.3. Assume that GA (s) is the inner factor of G(s). If zj are the zj are the simple poles of GA (s). simple open RHP zeros of GA (s), then −¯
398
Quantitative Process Control Theory
Proof. det[GA ∗ (s)] = det[GA T (−s)] = det[GA (−s)]. It is easy to know that −zj are the simple zeros of GA ∗ (s). The coefficients in the zero polynomial of GA ∗ (s) are real numbers. This implies that −¯ zj are the simple zeros of GA ∗ (s), too. Since GA ∗ (s)GA (s) = I, GA −1 (s) = GA ∗ (s). −¯ zj are simple zeros of GA −1 (s) and thus simple poles of GA (s). As introduced, Cv = Cw F −1 and wj = −vj ∗ . We have Cw = −Bv ∗ and Cv = −Bv ∗ (F ∗ )−1 . Substituting these into (14.2.1) gives GA −1 (s) =
=
I + Cv (−sI + Av )−1 Bv
I − Bv ∗ (F ∗ )−1 (−sI + Av )−1 Bv .
Since GA ∗ (s) = GA −1 (s), Av = A, and Bv = B, GA ∗ (s) can be expressed in the form of (14.1.4). Theorem 14.2.4. Assume that zj (j = 1, 2, ..., rz ) are the simple zeros of GA (s) with the zero directions vj , −¯ zj are simple zeros of GA −1 (s) with the ∗ zero directions −vj , and GA (∞) = I. Then the following transfer function matrix is inner: rz X GA (s) = I + (s + z¯j )−1 vj ∗ βj , j=1
where
β1 .. . βrz
F = [fij ] , fij Let
z1 .. A= . 0
··· .. . ···
v1 = F −1 ... , vrz ∗ vi vj ; i, j = 1, 2, ..., rz = z¯j + zi v1 0 .. , B = .. . . . z rz vrz
(14.2.11)
Writing GA (s) in the matrix form yields the expression in Theorem 14.1.3. The constructing procedure for GA (s) is illustrated in Figure 14.2.1.
14.3
Factorization for Multiple RHP Zeros
In this section, the factorization for simple zeros will be extended to the case of multiple zeros. More precisely, the parameters A, B, and F in Theorem 14.1.3 will be derived for plants with multiple RHP zeros.
Multivariable H2 Optimal Control
399
FIGURE 14.2.1 Constructing procedure for GA (s). In the factorization of the plant with simple RHP zeros, it is seen that the construction of A depends on the open RHP zero, while the construction of B and the computation of F depend on the zero direction (Figure 14.3.1). The zero direction is only defined for simple zero. Hence, the first step in this section is defining the zero direction for multiple zeros. The second step is constructing A and B, and computing F based on the definition.
FIGURE 14.3.1 Computation of the inner factor.
Definition 14.3.1. Assume that zj is a kj multiplicity zero of G(s). The
400
Quantitative Process Control Theory
1 × n vectors vjk (k = 1, 2, ..., kj ; vj1 6= 0) satisfying −1 l X d i+kj G(s) = 0, ) (−s + z v lim j j(i+kj +1) s→zj dsl i=−kj
l = 0, 1, ..., kj − 1.
are called the zero directions of zj . The definition of the multiple zero directions is a natural extension of the original definition of the zero direction. When kj = 1, v j1 G(zj ) = 0. This definition reduces to the one for simple zeros. Assume that zj (j = 1, 2, ..., rz ) are kj multiplicity RHP zeros of G(s) with zero directions vjk (k = 1, 2, ..., kj ). A special case is that some zj are the common zero of all elements in G(s). In this case, the common zero in G(s) should be separated before the extended inner-outer factorization is carried out. Otherwise, G(zj ) = 0; the corresponding zero direction can be any nonzero vector. This can be achieved by removing the following factor from G(s): −s/¯ zj + 1 , s/zj + 1
(14.3.1)
and then factorize the remainder of G(s): s/zj + 1 G(s) = GA (s)GM P (s). −s/¯ zj + 1
(14.3.2)
The inner factor of the original plant G(s) is −s/¯ zj + 1 GA (s). s/zj + 1
(14.3.3)
It should be emphasized that only those common zeros are separated. Some zj are the zeros of G(s) at the same place, rather than the common zero of all elements in s/zj + 1 G(s). −s/¯ zj + 1 These zeros should be preserved in G(s). To simplify presentation, it is assumed that G(zj ) 6= 0. Let GA (s) be an n × n transfer function matrix; det[GA (s)] is not identically zero and GA (s) has no poles at zj . It will be seen that GA −1 (s) has a wonderful form in its expansion. Lemma 14.3.1. GA (s) has a kj multiplicity zero zj with zero directions vjk (k = 1, 2, ..., kj ) if and only if GA −1 (s) can be expressed as GA −1 (s) =
(14.3.4)
Multivariable H2 Optimal Control
401
(−s + zj )−kj αj1 vj1 + (−s + zj )−kj +1 [αj1 vj2 + αj2 vj1 ] + ... + (−s + zj )−1 [αj1 vjkj + αj2 vj(kj −1) + ... + αjkj vj1 ] + G0 (s), where αj1 is a nonzero column vector and G0 (s) is a term without poles at zj . Proof. First, suppose that GA −1 (s) can be expressed in the form of (14.3.4). From the definition of zero directions it is known that αj1 vj1 6= 0. This implies that GA (s) has at least kj zeros at zj . Multiply both sides of (14.3.4) on the right by (−s + zj )kj GA (s). We have (−s + zj )kj I = {αj1 vj1 + (−s + zj )[αj1 vj2 + ...] + ... + (−s + zj )kj −1 [αj1 vjkj + ...] + (−s + zj )kj G0 (s)}GA (s). Taking the determinants of both sides yields =
(−s + zj )kj ×n det{αj1 vj1 + (−s + zj )[αj1 vj2 + ...] + ... + (−s + zj )kj −1 [αj1 vjkj + ...] + (−s + zj )kj G0 (s)} det[GA (s)].
Since all of the lth (l = 0, 1, ..., kj − 1) derivatives of αj1 vj1 + (−s + zj )[αj1 vj2 + ...] + ... + (−s + zj )kj −1 [αj1 vjkj + ...] + (−s + zj )kj G0 (s) at zj are of rank 1, by Theorem 10.1.1, det{αj1 vj1 + (−s + zj )[αj1 vj2 + ...] + ... + (−s + zj )kj −1 [αj1 vjkj + ...] + (−s + zj )kj G0 (s)} has at least kj × (n − 1) zeros at zj . It is deduced that det[GA (s)] has at most kj zeros at zj . Therefore, det[GA (s)] has a zero at zj with multiplicity kj . Conversely, suppose that GA (s) has a kj multiplicity zero zj with zero direction vjk (k = 1, 2, ..., kj ). Since det[GA (s)] is not identically zero, GA (s) is invertible. GA −1 (s) has kj multiplicity poles at zj . It has the following Laurent expression: GA −1 (s) =
∞ X
i=−kj
(−s + zj )i Rj(i+kj +1) .
402
Quantitative Process Control Theory
Here Rj(i+kj +1) (i = −kj , −kj + 1, ..., ∞) are n × n constant matrices and Rj1 6= 0. Choose a nonzero 1 × n vector β such that βRj1 6= 0. We have βGA −1 (s) = (−s + zj )−kj
∞ X
β(−s + zj )i+kj Rj(i+kj +1) .
i=−kj
Rewrite the equation as (−s + zj )kj β =
∞ X
i=−kj
β(−s + zj )i+kj Rj(i+kj +1) GA (s).
Compute the lth (l = 0, 1, ..., kj − 1) derivatives of the two sides at zj : ∞ dl X i+kj GA (s) = 0, lim R ) β(−s + z j +1) j(i+k j s→zj dsl i=−kj
l = 0, 1, ..., kj − 1,
which can be reduced to −1 dl X i+kj lim (s) = 0, G R ) β(−s + z A j +1) j(i+k j s→zj dsl i=−kj
l = 0, 1, ..., kj − 1.
Compare the results with the definition of multiple zero directions. It is trivial to prove that GA −1 (s) can be expressed in the form of (14.3.4). The following two examples are given to help readers understand Lemma 14.3.1. Example 14.3.1. Consider the following plant: " # 2 2 G(s) =
(s−1) (s+1)2 −1 s+1
(s−1) (s+1)2 s−2 s+1
.
The plant has one three-multiplicity RHP zero at s = 1. It can be verified that the zero directions are v11 = [1 0], v12 = [1 0], v13 = [0 1/2]. G−1 (s) can be expressed as G−1 (s)
= (−s + 1)−3 α11 v11 + (−s + 1)−2 [α11 v12 + α12 v11 ] +
Multivariable H2 Optimal Control
403
(−s + 1)−1 [α11 v13 + α12 v12 + α13 v11 ] + G0 (s), where α11 =
4 −4
, α12 =
−4 8
, α13 =
1 −9
, G0 (s) =
Example 14.3.2. Consider the following plant: " 2 # 5s −2s−3 5(s+1)2 −4 5(s+1)
G(s) =
−4(s−1) 5(s+1)2 5s−3 5(s+1)
1 −1 0 1
.
.
The plant has one two-multiplicity RHP zero at s = 1. It can be verified that the zero directions are v11 = [1 0], v12 = [1 − 1]. G−1 (s) can be expressed as G−1 (s) =
(−s + 1)−2 α11 v11 + (−s + 1)−1 [α11 v12 + α12 v11 ] + G0 (s),
where α11 =
0.8 1.6
, α12 =
−3.2 −2.4
, G0 (s) = I.
Lemma 14.3.2. If an n × n stable transfer function matrix GA (s) satisfies 1. GA ∗ (s)GA (s) = I; 2. zj with multiplicity kj (j = 1, 2, ..., rz ) are the only open RHP zeros of GA (s) with zero directions vjk (k = 1, 2, ..., kj ), then GA (s) is the inner factor of G(s) and GM P (s) = GA −1 (s)G(s) is the outer factor of G(s). Proof. It is enough to prove that GM P (s) is MP and has the same closed RHP poles as G(s). Since zj (j = 1, 2, ..., rz ) are the only open RHP zeros of GA (s), the only open RHP poles of GA −1 (s) are zj . Recall Lemma 14.3.1. If zj is a kj multiplicity zero of GA (s), GA −1 (s) is in the form of (14.3.4). Multiply both sides on the right by G(s): GA −1 (s)G(s)
=
(−s + zj )−kj αj1 vj1 G(s) + (−s + zj )−kj +1 [αj1 vj2 + ...]G(s) + ... + (−s + zj )−1 [αj1 vjkj + ...]G(s) + ... + G0 (s)G(s).
To obtain the Laurent expression of GA −1 (s)G(s) at zj , all coefficients of
404
Quantitative Process Control Theory
the terms with (−s + zj )−i (i = 1, 2, ..., kj ) have to be computed. This can be achieved by multiplying both sides by (−s + zj )−kj , and then computing the lth (l = 0, 1, ..., kj − 1) derivatives at zj . The computing procedure is similar to that in Lemma 14.3.1. With the definition of zero directions, it can be found that all coefficients are zero for j = 1, 2, ..., rz . In other words, all open RHP poles of GA −1 (s) are cancelled by those open RHP zeros of G(s). The implication of this fact is twofold: 1. GA −1 (s) does not introduce any closed RHP poles to GA −1 (s)G(s). GM P (s) has the same closed RHP poles as G(s). 2. All open RHP zeros of G(s) are removed. GM P (s) does not have any open RHP zero. This completes the proof. Theorem 14.3.3. The matrix GA (s) of the form ¯ −1 F −1 B GA (s) = I − B ∗ (sI + A) is inner. Here
A=
A1 .. . 0
··· .. . ···
0 .. . Arz
= , A j
zj
−1 zj
..
.
..
.
vj1 B1 B = ... , Bj = ... , vjkj Brz
, −1 zj
j = 1, 2, ..., rz .
F is the solution to the following Lyapunov equation: ¯ + AT F = BB ∗ . FA Proof. First, it is shown that GA ∗ (s)GA (s) = I. With a similar procedure to that for simple zero, it can be proved that GA ∗ (s) = I − B ∗ F −1 (−sI + AT )−1 B. Since F = F ∗ ,
= = =
GA ∗ (s)GA (s) ¯ −1 F −1 B] ¯ −1 F −1 B]∗ [I − B ∗ (sI + A) [I − B ∗ (sI + A) ¯ −1 F −1 B] [I − B ∗ F −1 (−sI + AT )−1 B][I − B ∗ (sI + A) ¯ −1 F −1 B + I − B ∗ F −1 (−sI + AT )−1 B − B ∗ (sI + A)
Multivariable H2 Optimal Control
= =
405
¯ −1 F −1 B B ∗ F −1 (−sI + AT )−1 BB ∗ (sI + A) ¯ + (−sI + AT )F − I − B ∗ F −1 (−sI + AT )−1 F (sI + A) ¯ −1 F −1 B BB ∗ (sI + A)
¯ −1 F −1 B. ¯ + AT F − BB ∗ )(sI + A) I − B ∗ F −1 (−sI + AT )−1 (F A
It is known that F satisfies the following Lyapunov equation: ¯ + AT F = BB ∗ . FA One readily obtains that GA ∗ (s)GA (s) = I. Next, examine the zero of GA (s). Since GA −1 (s) = GA ∗ (s) = I − B ∗ F −1 (−sI + AT )−1 B, zj (j = 1, 2, ..., rz ) are the only open RHP zeros of GA (s). By Lemma 14.3.2 it is concluded that GA (s) is inner. It is easy to verify that Theorem 14.1.3 is a special case of Theorem 14.3.3.
14.4
Analysis and Computation
In the last three sections, an analytical solution to the extended inner-outer factorization was developed. Provided that the plant zeros are given, the factorization can be computed with a formula in closed form. Normally, the plant zeros are known for the sake of analyzing the stability or estimating the performance. The computation of zero is analytical for low-order plants, but not analytical for high-order plants. It is equivalent to computing the roots of an equation in a single unknown. If the order of the equation is more than 4, there is no analytical formula for computation. When the plant zeros are known, the computation complexity of the factorization depends on the multiplicity of the zero in the RHP. As it was seen in the preceding sections, to compute the inner matrix, A, B, and F must be obtained first: 1. A is from construction. It is exactly known. 2. B is also from construction, but the zero directions have to be computed first. Once the zero directions are known, B is exactly known. 3. F has to be computed on the basis of the zero directions. The zero directions can be computed by the following formulas: vj1 G(zj )
=
0,
406
Quantitative Process Control Theory vj2 G(zj )
=
d G(zj ), ds
vj1
... ,
(14.4.1)
kj −1
vjkj G(zj )
=
j
=
X
(−1)kj −i+1
i=1
1, 2, ..., rz .
vji dkj −i G(zj ), (kj − i)! dskj −i
These formulas can be directly derived from the definition of multiple zero directions. If the plant has only simple open RHP zeros, the zero directions can be obtained by vj1 G(zj ) = 0, j = 1, 2, ..., rz . Because G(s) loses rank at zj and vj1 can be any nonzero vector satisfying (14.4.1), the computation of vj1 is very simple. For example, if G(zj ) = [0 0; 1 2], one can simply take vj1 = [1 0]. With (14.4.1), the computation of vj2 is easy when vj1 is known. As to the computation of vjk (k > 2), the complexity is mainly from the computation of the derivative of G(s) at zj . Example 14.4.1. Consider the following plant: 1 s−1 s−1 G(s) = . −1 s − 2 s+1 The plant has a RHP zero with multiplicity 2 at s = 1 (that is, rz =1, z1 = 1, and kj =2) and an LHP pole with multiplicity 2 at s = −1. Since 0 0 , G(1) = −1/2 −1/2 one can take v11 = [1 0]. Furthermore, d G(s) = ds
"
2 (s+1)2 1 (s+1)2
#
2 (s+1)2 3 (s+1)2
.
Then d G(1) = ds
1/2 1/2 1/4 3/4
.
d According to (14.4.1), v12 G(1) = v11 ds G(1); that is, 0 0 = [1/2 1/2]. v12 −1/2 −1/2
Multivariable H2 Optimal Control
407
A simple choice is v12 = [1 − 1]. Now it is shown that, when the zero directions are exactly known, F can be analytically computed. This is the key to obtain the analytical solution of the extended inner-outer factorization. F is the solution to the following Lyapunov equation: ¯ + AT F = BB ∗ . FA Express F as a block matrix: ij , i, j = 1, 2, ..., rz ; x, y = 1, 2, ..., kj . F = [Fij ] , Fij = fxy
(14.4.2)
ij ij = 0 for all i, j, x, y. F can be directly computed with the = f0y Let fx0 following formula:
ij = fxy
ij ij + fx(y−1) f(x−1)y vix vjy ∗ + . z¯j + zi z¯j + zi
(14.4.3)
In particular, when the plant has only simple RHP zeros, we have ∗ h i vi1 vj1 ij ij = , f11 F = f11 . z¯j + zi
(14.4.4)
This is the case discussed in Section 14.1. It is seen that the computation of F is exact and elegant, without any numerical error. Example 14.4.2. Consider the plant in Example 14.4.1. It is known that rz = 1, z1 = 1, kj = 2, and the zero directions are v11 = [1 0], v12 = [1 − 1]. Then F = [F11 ] , F11 =
11 f11 11 f21
11 f12 11 f22
,
where 11 f11
=
11 f12
=
11 f21
=
11 f22
=
v11 v11 ∗ z1 + z1 v11 v12 ∗ z1 + z1 v12 v11 ∗ z1 + z1 v12 v12 ∗ z1 + z1
11 11 + f10 f01 z1 + z1 11 f 11 + f11 + 01 z1 + z1 11 11 + f10 f11 + z1 + z1 11 11 + f21 f12 + z1 + z1
+
1 1 +0= , 2 2 1 1 3 = + = , 2 4 4 1 1 3 = + = , 2 4 4 3 7 =1+ = . 4 4 =
408
Quantitative Process Control Theory
The deriving procedure of the factorization formula is complicated. However, the result is simple, because it is analytical. The computation is summarized as follows. Given an n × n transfer function matrix G(s), its kj multiplicity open RHP zeros zj (j = 1, 2, ..., rz ), and zero directions vjk (k = 1, 2, ..., kj ), the inner matrix can be exactly computed through the following steps: zj −1 0 A1 · · · .. . zj .. . . . .. , Aj = .. 1. A = . . . . −1 0 · · · Arz zj vj1 B1 .. .. 2. B = . , Bj = . . Brz
3. F = [Fij ] , Fij ij = 0. f0y
vjkj ij ij = fxy , fxy =
vix vjy ∗ z¯j +zi
+
ij ij +fx(y−1) f(x−1)y , z¯j +zi
ij = and fx0
¯ −1 F −1 B. 4. GA (s) = I − B ∗ (sI + A) Two typical examples are given here to illustrate the use of these formulas. Example 14.4.3. Consider the plant in Example 14.4.1: 1 s−1 s−1 G(s) = . −1 s − 2 s+1
It is known from Example 14.4.1 and Example 14.4.2 that 1/2 3/4 , F = v11 = [1 0], v12 = [1 − 1], 3/4 7/4 1 0 1 −1 . , B= A= 1 −1 0 1 Then
GA (s) ¯ −1 F −1 B = I − B ∗ (sI + A) 1 1 1 sI + = I− 0 0 −1 " 2 # =
5s −2s−3 5(s+1)2 −4 5(s+1)
−4(s−1) 5(s+1)2 5s−3 5(s+1)
and GM P (s) =
−1 1
−1
1/2 3/4 3/4 7/4
,
"
5s+7 5(s+1) −1 5(s+1)
5s+11 5(s+1) 5s+2 5(s+1)
#
.
−1
1 1
0 −1
Multivariable H2 Optimal Control
409
Example 14.4.4. Consider the plant in Example 14.3.1: G(s) =
"
(s−1)2 (s+1)2 −1 s+1
(s−1)2 (s+1)2 s−2 s+1
#
.
The plant has a RHP zero with multiplicity 3 at s = 1 (that is, rz = 1, z1 = 1, and kj = 3) and an LHP pole with multiplicity 3 at s = −1. The zero directions can be obtained based on (14.4.1): v11 = [1 0], v12 = [1 0], v13 = [0 1/2]. As the open RHP zeros and zero directions are known, it is readily obtained that 1 0 1 −1 0 A = 0 1 −1 , B = 1 0 . 0 1/2 0 0 1 F can be computed based on (14.4.2) and (14.4.3): 1/2 3/4 3/8 F = 3/4 5/4 13/16 . 3/8 13/16 15/16
Consequently, GA (s)
¯ −1 F −1 B = I − B ∗ (sI + A) 1 1 1 0 sI + 0 = I− 0 0 1/2 0 −1 1 1/2 3/4 3/8 3/4 5/4 13/16 1 0 3/8 13/16 15/16 " 3 2 # 2 =
5s −7s −s+3 5(s+1)3 −4 5(s+1)
−4(s−1) 5(s+1)3 5s−3 5(s+1)
−1 −1 0 1 −1 0 1 0 0 1/2
,
and GM P (s) =
"
5s+7 5(s+1) −1 5(s+1)
5s+11 5(s+1) 5s+2 5(s+1)
#
.
Since the computation is analytical, the result is exact.
410
14.5
Quantitative Process Control Theory
Solution to the H2 Optimal Control Problem
In this section, the parameterization in Section 13.1 and the extended innerouter factorization in the last section will be used to derive H2 optimal controller analytically. The idea of H2 optimal control is finding a controller that stabilizes the system and minimizes ISE. As indicated in Chapter 10, the following H2 performance index is the focus of attention: min kS(s)W (s)k2 ,
(14.5.1)
where W (s) = I/s is the weighting function and S(s) = I − G(s)Q(s). Here Q(s) is the IMC controller. When Q(s) is known, the unity feedback loop controller can be obtained as follows: C(s) = Q(s)[I − G(s)Q(s)]−1 .
(14.5.2)
Lemma 14.5.1. Assume that GA (s) is the inner factor of G(s). GA −1 (s) − GA −1 (0) has only unstable poles. Proof. It has been known that GA −1 (s) = I − B ∗ F −1 (−sI + AT )−1 B. GA (0) is a constant matrix. It does not affect the pole distribution. From the expression of GA −1 (s), it is known that GA −1 (s) − GA −1 (0) has only unstable poles. In Theorem 13.1.4, all stabilizing controllers with asymptotic tracking property are parameterized. Substituting the parameterization into the H2 optimization problem, we have:
−1
s S(s) 2 2
−1
2
= s [I − G(s)Q(s)] 2
2 = s−1 {I − G(s)G−1 (0)[I + sQ1 (s)]} 2 . (14.5.3)
Theorem 14.5.2. Assume that the plant can be factorized into two parts: G(s) = GA (s)GM P (s),
where GA (s) is the inner factor given by Theorem 14.3.3 and GM P −1 (s) is the corresponding outer factor. Then the unique optimal solution of the H2 control problem is Qopt (s) = GM P −1 (s)GA −1 (0).
Multivariable H2 Optimal Control
411
Proof. Since GA ∗ (s)GA (s) = I, we have
−1
s S(s) 2 2
2
−1
= GA (s)s {GA −1 (s) − GM P (s)G−1 (0)[I + sQ1 (s)]} 2
2
= s−1 {GA −1 (s) − GM P (s)G−1 (0)[I + sQ1 (s)]} 2
2
−1
s [GA −1 (s) − GA −1 (0)]+
.
= −1 s {GA −1 (0) − GM P (s)G−1 (0)[I + sQ1 (s)]} 2
s is a factor of
GA −1 (s) − GA −1 (0). Since GM P (0)G−1 (0) = GA −1 (0), s must be a factor of GA −1 (0) − GM P (s)G−1 (0)[I + sQ1 (s)]. It is evident that s−1 [GA −1 (s) − GA −1 (0)] is strictly proper. s−1 {GA −1 (0) − GM P (s)G−1 (0)[I + sQ1 (s)]} is also strictly proper if Q(s) = G−1 (0)[I + sQ1 (s)] is proper. On the other hand, from Lemma 14.5.1 it is known that s−1 [GA −1 (s) − GA −1 (0)] has only unstable poles. s−1 {GA −1 (0) − GM P (s)G−1 (0)[I + sQ1 (s)]} is stable. To see this, let us consider the following equality:
=
GA (s){GA −1 (0) − GM P (s)G−1 (0)[I + sQ1 (s)]}
[GA (s)GA −1 (0) − I] + {I − G(s)G−1 (0)[I + sQ1 (s)]}.
As GA (s) is stable, the first term in the right-hand side is stable. By Theorem 13.1.4, the second term is stable, too. To find the optimal controller, the constrained search will be replaced with an unconstrained one in the design procedure. Temporarily relax the constraint on Q(s). We have
=
−1
s S(s) 2 2
−1
s [GA −1 (s) − GA −1 (0)] 2 + 2
412
Quantitative Process Control Theory
−1
s {GA −1 (0) − GM P (s)G−1 (0)[I + sQ1 (s)]} 2 . 2
Minimizing the right-hand side of the equation, we obtain that Q1opt (s) = s−1 [G(0)GM P −1 (s)GA −1 (0) − I]. A little algebra yields Qopt (s) = GM P −1 (s)GA −1 (0).
It can be seen that the controller order is directly related to the plant order. Since the optimal solution is obtained, the achievable performance can be directly estimated. Corollary 14.5.3. The optimal performance of the H2 controller is
−1 ∗ −1
s B F [(AT )−1 − (−sI + AT )−1 ]B .
(14.5.4)
2
Proof.
GA −1 (s) − GA −1 (0)
= [I − B ∗ F −1 (−sI + AT )−1 B] − [I − B ∗ F −1 (AT )−1 B] = B ∗ F −1 (AT )−1 B − B ∗ F −1 (−sI + AT )−1 B = B ∗ F −1 [(AT )−1 − (−sI + AT )−1 ]B.
Therefore,
min s−1 S(s) 2 = s−1 B ∗ F −1 [(AT )−1 − (−sI + AT )−1 ]B . 2
Based on the discussion in Section 13.3, we have the following conclusions: 1. When all RHP zeros have the same multiplicities in each row of G(s), the above optimal performance is identical to that of the H2 decoupling controller. 2. When the time delays in each row of G(s) are the same, the design procedure given in this section can be directly extended to the control of plants with time delay.
Multivariable H2 Optimal Control
14.6
413
Filter Design
The optimal controller Qopt (s) is usually improper. To implement the controller, a filter J (s) must be introduced. When the model is exactly known, the optimal solution can be arbitrarily approached by choosing an appropriate filter while the internal stability is kept. However, the optimal solution can never be reached, because the optimal controller is physically irrealizable. In general, the filter should satisfy the following requirements: 1. Q(s) = Qopt (s)J (s) is proper. 2. The closed-loop system is internally stable. 3. The asymptotic tracking can be reached. For clarity of presentation, it is assumed that the system inputs are steps. Depending on different plants, the filter is chosen in different ways. Stable plants For stable plants, the filter can be chosen as a diagonal one: 0 J1 (s) · · · .. .. (14.6.1) J (s) = ... , . . 0 · · · Jn (s) with Ji (s) =
1 , i = 1, 2, ..., n, (λi s + 1)ni
(14.6.2)
where λi (i = 1, 2, ..., n) are performance degrees. The first condition is easy to satisfy. Assume that the smallest relative degree in any element of the ith column of Qopt (s) is αi . To satisfy the first condition, one can take ni = −αi for improper columns and ni = 1 for the others. The second condition and the third condition have already been satisfied. Since J (s) is stable, the closed-loop system must be internally stable. J (0) = I. Hence, lim det[I − G(s)Q(s)]
s→0
=
lim det[I − GA (s)GA −1 (0)J (s)]
s→0
= 0. The tuning method for quantitative performance and robustness is similar to that in the H2 decoupling control. As different loops are coupled, the tuning procedure is more complex than that for the decoupling control.
414
Quantitative Process Control Theory
Unstable MP plants For unstable MP plants, the filter can also be chosen as a diagonal one: 0 J1 (s) · · · .. .. (14.6.3) J (s) = ... , . . 0 · · · Jn (s) with
Ji (s) =
Nxi (s) , i = 1, 2, ..., n, (λi s + 1)ni
(14.6.4)
where λi (i = 1, 2, ..., n) are performance degrees, Nxi (s) are polynomials with all roots in the LHP and Nxi (0) = 1. Suppose lij is the largest multiplicity of the unstable pole pj (j = 1, 2, ..., rp ) in the ith row of G(s). rp P lij . deg{Nxi (s)} = j=1
Assume that the smallest relative degree in any element of the ith column of Qopt (s) is αi . To satisfy the first condition, one can take ni = deg{Nxi (s)}− αi for the improper columns and ni = deg{Nxi (s)} + 1 for the others.
For MP plants, G(s)Qopt (s) = I. The closed-loop response is decoupled. To make the closed-loop system internally stable, the ith element of the filter should satisfy dk [1 − Ji (s)] = 0, s→pj dsk i = 1, 2, ..., n; j = 1, 2, ..., rp ; k = 0, 1, ..., lij − 1. lim
(14.6.5)
Since J (0) = I, the third condition has already been satisfied. Unstable NMP plants For unstable NMP plants, a more complex structure may be necessary for the filter. The first condition is easy to satisfy. As it is known, an improper transfer function implies that the degree of its numerator is greater than that of its denominator. To make it proper, a pole-zero excess should be introduced by utilizing the filter. This is not difficult. The second condition is normally not easy to satisfy, because J (s) is determined by lim
s→pj
dk det[I − GA (s)GA −1 (0)J(s)] = 0, dsk j = 1, 2, ..., rp ; k = 0, 1, ..., lj − 1.
(14.6.6)
To solve the problem, let J(s) = JF (s)JD (s), where the subscripts F and D denote “full matrix” and “diagonal matrix,” respectively, JF (s)
= GA (0)GA −1 (s),
(14.6.7)
Multivariable H2 Optimal Control JD (s)
=
415 J1 (s) .. . 0
··· .. . ···
0 .. . Jn (s)
,
(14.6.8)
with Ji (s) =
rz Y
(−s/zj + 1)kij
j=1
Nxi (s) , i = 1, 2, ..., n, (λi s + 1)ni
(14.6.9)
where λi (i = 1, 2, ..., n) are performance degrees, Nxi (s) are polynomials with all roots in the LHP, and kij is the largest multiplicity of zj in the ith column of JF (s). As JD (s) removes all unstable poles of JF (s), J(s) is stable. Suppose lij is the largest multiplicity of the unstable pole rp P lij . The second pj (j = 1, 2, ..., rp ) in the ith row of G(s). deg{Nxi (s)} = j=1
condition reduces to
dk [1 − Ji (s)] = 0, s→pj dsk i = 1, 2, ..., n; j = 1, 2, ..., rp ; k = 0, 1, ..., lij − 1. lim
(14.6.10)
The third condition can be satisfied by choosing Nxi (0) = 1. The order of JD (s) should be chosen so that Q(s) is proper. As T (s) = G(s)Q(s) = JD (s), the obtained response is decoupled. As a matter of fact, the response is identical to that in Section 12.2. Compared to the design with the weighting functions Wp1 (s) and Wp2 (s), the introduction of a filter simplifies the design task. The designer is not required to choose weighting functions by trial and error. Now let us see how to simplify the choosing of weighting functions when a filter is used. Consider the weighting function Wp1 (s) first. In Section 10.4, it is assumed that the inputs are unit steps, and the controller is designed only for the prespecified weighting function Wp1 (s) = s−1 I and the following performance index: min kWp2 (s)S(s)Wp1 (s)k22 .
(14.6.11)
However, the system inputs may be complicated. They may be steps with lags (for example, r(s) = I/s/(s + 1)) or the ramp (that is, r(s) = I/s/s). If the weight function W p1 (s) is chosen to equal the input, the design procedure will be complex. In this case, one can choose the weighting function as s−1 I and adopt the following simple design procedure: 1. Design the controller for unit steps.
416
Quantitative Process Control Theory 2. Choose an appropriate filter J (s) to satisfy the constraints imposed by the asymptotic tracking property.
This design procedure can be used for both the optimal control and the decoupling control. Now consider the weighting function W p2 (s). As it is known, W p2 (s) is used to weight errors over different frequency ranges. Although the optimal controller can be derived for a general weighting function W p2 (s), the procedure and the obtained controller will be complicated. The optimal solution for the general W p2 (s) is Qopt (s)
= GM P −1 (s)[Wp2 (s)GA (s)]−1 MP {s{[Wp2 (s)GA (s)]M P GA −1 (s)/s − [Wp2 (0)GA (0)]M P GA −1 (0)/s}∗ + [Wp2 (0)GA (0)]M P GA −1 (0)},
(14.6.12)
where Wp2 (s)GA (s) = [Wp2 (s)GA (s)]A [Wp2 (s)GA (s)]M P , [Wp2 (s)GA (s)]A and [Wp2 (s)GA (s)]M P denote the all-pass and MP parts of Wp2 (s)GA (s), respectively. [Wp2 (0)GA (0)]M P denotes the value of [Wp2 (s)GA (s)]M P at s = 0. {·}∗ denotes that, after a partial fraction expansion of the function, all terms involving the poles zj are removed. This is why the controller is designed only for a simple weighting function W p2 (s) = I. With the help of a filter, the errors can be weighted in an easy way; that is, the weighting is achieved by tuning.
14.7
Examples for H2 Optimal Controller Design
The purpose of this section is to illustrate the H2 optimal design procedure. The design procedure is summarized as follows: 1. Factorize the plant: G(s) = GA (s)GM P (s), where GA (s) = I − ¯ −1 F −1 B. B ∗ (sI + A) 2. Compute the optimal controller: Qopt (s) = GM P −1 (s)GA −1 (0). 3. Introduce a filter to the optimal controller: Q(s) = Qopt (s)J (s). −1 The unity feedback controller is C(s) = Q(s) [I − G(s)Q(s)] . Three examples are provided in this section. In the first example, the controller is analytically designed and tuned for the required quantitative undershoot. The second example is given to illustrate the quantitative tuning for weighting errors of different channels. In the third example, a real plant with frequency domain design requirements is considered. It is shown how the quantitative requirements can be easily met with the design method introduced in this chapter.
Multivariable H2 Optimal Control
417
Example 14.7.1. Consider the following plant: 1 G(s) = (s + 1)3
(s − 1)2 (s − 1)2 (s − 1)(s − 2) 2(s − 1)(s − 2)
.
The plant has three NMP zeros at s = 1, one NMP zero at s = 2, and 6 stable poles at s = −1. One zero at s = 1 is the common zero of all elements of G(s). As introduced in Section 14.3, the first step is separating the common zero by removing the following factor: −s + 1 . s+1 The next step is factorizing the remainder of G(s). Let s+1 −1 s−1 s−1 . Gr (s) = G(s) = −s + 1 (s + 1)2 s − 2 2(s − 2) Since A=
1 0
0 2
1 0
GA (s) =
,B =
0 1
,F =
1/2 0 0 1/4
,
the inner factor of Gr (s) is s−1 s+1
0
0 s−2 s+2
.
The inner factor of the original plant G(s) is −s + 1 s−1 −s + 1 s+1 GA (s) = 0 s+1 s+1
0 s−2 s+2
.
Therefore s+1 −1 GM P (s) = GA −1 (s)G(s) = −s + 1 (s + 1)2
s+1 s+2
s+1 2(s + 2)
.
It is easy to verify that, for this special plant, H2 optimal control and H2 decoupling control result in the same factorization. By Theorem 14.5.2, the optimal controller is s + 1 2(s + 2) −(s + 1) −1 −1 Qopt (s) = GM P (s)GA (0) = . s+1 s + 2 −(s + 2) The plant is stable. For step inputs, choose 1 0 λ 1 s+1 J (s) = . 1 0 λ2 s+1
418
Quantitative Process Control Theory
The suboptimal controller is s+1 Q(s) = Qopt (s)J (s) = s+2
"
2(s+2) λ1 s+1 −(s+2) λ1 s+1
−(s+1) λ2 s+1 s+1 λ2 s+1
#
.
The sensitivity function is S(s) = =
I − G(s)Q(s) " (s−1)2 1 − (s+1) 2 (λ s+1) 1
0
0
1−
(s−1)(s−2) (s+1)(s+2)(λ2 s+1)
#
.
The unity feedback loop controller is C(s) =
"
2(s+1)3 s(λ1 s2 +2λ1 s+λ1 +4) −(s+1)3 s(λ1 s2 +2λ1 s+λ1 +4)
−(s+1)3 s(λ2 s2 +3λ2 s+2λ2 +6) (s+1)3 s(λ2 s2 +3λ2 s+2λ2 +6)
#
.
This controller is exact. There is no numerical error. The performance degrees are determined by the desired closed-loop responses, such as the overshoot, amplitudes of coupled responses, shape of S(s), and so on. Suppose the design specification is a 20% undershoot with the shortest rise time for both loops. One can take λ1 = 1.25 and λ2 = 1.05. The closed-loop responses are shown in Figure 14.7.1.
Example 14.7.2. Consider the plant in Example 14.4.1: 1 G(s) = s+1
s−1 −1
s−1 s−2
It has been obtained in Example 14.4.3 that " 2 GA (s) =
5s −2s−3 5(s+1)2 −4 5(s+1)
−4(s−1) 5(s+1)2 5s−3 5(s+1)
"
5s+11 5(s+1) 5s+2 5(s+1)
.
#
and GM P (s) =
5s+7 5(s+1) −1 5(s+1)
#
.
Hence, the optimal controller is Qopt (s) = GM P
−1
(s)GA
−1
1 (0) = 5(s + 1)
−(7s + 10) −(s − 5) 4s + 5 −(3s + 5)
.
Multivariable H2 Optimal Control
FIGURE 14.7.1 Responses of the system with λ1 = 1.25 and λ2 = 1.05.
419
420
Quantitative Process Control Theory
Introduce the following filter for step inputs: 1 0 . J (s) = λ1 s+1 1 0 λ2 s+1 The suboptimal controller is 1 Q(s) = Qopt (s)J (s) = 5(s + 1)
"
−(7s+10) λ1 s+1 4s+5 λ1 s+1
−(s−5) λ2 s+1 −(3s+5) λ2 s+1
#
.
The sensitivity function is S(s) = =
I − G(s)Q(s) " 5s2 −2s−3 1 − 5(s+1) 2 (λ s+1) 1 4 5(s+1)(λ1 s+1)
1−
4(s−1) 5(s+1)2 5s−3 5(s+1)(λ2 s+1)(λ1 s+1)
#
.
The unity feedback loop controller is C(s) = Q(s)[I − G(s)Q(s)]. Suppose that the design specification is y2 (t) < 0.3 for r1 (s) = 1/s and r2 (s) = 0, y1 (t) < 0.3 for r1 (s) = 0 and r2 (s) = 1/s. One can take λ1 = 1 and λ2 = 0.5. The controller is C(s) =
1 2 s(5s + 34s + 65)
−(7s2 + 41s + 34) −2(s2 − 8s − 9) 2 4s + 17s + 17 −2(3s2 + 16s + 13)
.
The closed-loop responses are shown in Figure 14.7.2. Example 14.7.3. The longitudinal dynamics of an aircraft trimmed at 25 000ft and 0.9 Mach is unstable and has two RHP phugoid modes (Figure 14.7.3). The linear model can be expressed in the form of
G(s) =
n11 (s) n12 (s) n21 (s) n22 (s) d(s)
,
where n11 (s) = n12 (s) = n21 (s) = n22 (s) = d(s)
=
−5.1240s4 − 1099.4s3 − 28390s2 − 568.48s + 24.076, −948.12s3 − 30325s2 − 56482s − 1215.3,
−0.14896s4 + 655.67s3 + 19817s2 + 385.44s − 61.970, 671.88s3 + 21446s2 + 38716s + 916.45, s6 + 64.554s5 + 1167.0s4 + 3728.6s3 − 5495.4s2 + 1102.0s + 708.10.
Multivariable H2 Optimal Control
FIGURE 14.7.2 Responses of the system with λ1 = 1 and λ2 = 0.5.
421
422
Quantitative Process Control Theory
FIGURE 14.7.3 Aircraft and vertical plane geometry.
The control variables are the angles of two flaps and the system outputs are the angle of attack (α) and the attitude angle (θ). The singular value design specification is as follows: 1. Robustness specification: −40 dB/decade attenuation and at least −20 dB at 100 rad/sec.
2. Performance specification: Minimizing the sensitivity function as much as possible.
The plant is unstable and MP. There are two unstable poles at s = 0.6898+ 0.2488i and s = 0.6898 − 0.2488i. The optimal solution is Qopt (s) = G−1 (s). Since the largest relative degree of the first column is −2, the largest relative degree of the second column is −3, and the plant has two unstable poles, the following filter is chosen: " β s2 +β s+1 # 11 12 0 4 (λ1 s+1) J (s) = . β22 s2 +β21 s+1 0 (λ2 s+1)5 With the following constraints: lim
s→0.6898+0.2488i
[1 − Ji (s)] = 0,
lim
s→0.6898−0.2488i
[1 − Ji (s)] = 0, i = 1, 2,
we have β12
=
−10.2624λ1 + 6λ21 − 0.5377λ41 +
Multivariable H2 Optimal Control
β11 β22 β21
= = =
423
1.3796(7.4387λ1 − 4λ31 + 1.3796λ41),
0.5377(7.4387λ1 − 4λ3 + 1.3796λ41), −12.828λ2 + 10λ22 − 2.6887λ42 + 0.7419λ52 +
1.3796(9.2984λ2 − 10λ32 + 6.898λ42 − 1.3656λ52), 0.53773(9.2984λ2 − 10λ32 + 6.898λ42 − 1.3656λ52 ),
Therefore, the closed-loop transfer function matrix is T (s) =
"
β12 s2 +β11 s+1 (λ1 s+1)4
0
and the sensitivity function matrix is " β s2 +β s+1 12
S(s) = I −
(λ1
0 β22 s2 +β21 s+1 (λ2 s+1)5
0
11
s+1)4
0
#
β22 s2 +β21 s+1 (λ2 s+1)5
,
#
.
FIGURE 14.7.4 Response of the system with λ1 = λ2 = 0.16. It is seen that the closed-loop response is thoroughly decoupled. Since both of the relative degrees of the two loops in the system are greater than 2, the singular value satisfies the specification of −40 dB/decade roll-off. For simplicity, let the two performance degrees be the same. Increase the performance degrees until −20 dB at 100 rad/sec is reached. The performance degrees are λ1 = λ2 = 0.16. The frequency domain responses of the closed-loop system are shown in Figure 14.7.4.
424
Quantitative Process Control Theory
Once the critical T (s) is determined, S(s) is determined at the same time owing to the constraint T (s) + S(s) = I.
14.8
Summary
In this chapter, a design procedure is developed for the H2 optimal controller. By utilizing the parameterization and the extended inner-outer factorization, the unique optimal solution is analytically derived. Given the unity feedback control loop with a plant G(s), the goal of H2 optimal control is to design a controller C(s) such that the closed-loop system is internally stable and minimizes the quadratic cost function. The optimal solution to this problem is obtained as follows: Qopt (s) = GM P −1 (s)GA −1 (0), where GA (s) and GM P (s) are the all-pass part and the MP part of G(s), respectively. GA (s) GM P (s)
¯ −1 F −1 B. = I − B ∗ (sI + A)
= GA −1 (s)G(s)
The optimal performance is
−1 ∗ −1
s B F [(AT )−1 − (−sI + AT )−1 ]B . 2
An important insight provided by the result is that, even for MIMO plants, the optimal solution can be obtained with only input-output information. It is seen in this design that the internal stability is guaranteed by controller parameterization, no weighting function needs to be chosen, and the optimal controller is analytically derived. The analytical solution to the H2 optimal control problem owes to the analytical solution to the extended innerouter factorization, of which the key is to obtain the analytical solution to a Lyapunov equation. The quantitative tuning of the obtained multivariable controller follows the same way as that in the decoupling control system. A question unsolved in this chapter is the factorization of the MIMO plant with time delay. This remains a challenging problem. It is conjectured that a rigorous solution does not exist for general plants.
Multivariable H2 Optimal Control
425
Exercises 1. The zero direction vj of zj may be obtained from an SVD of G(zj ) = U ΣV ∗ . vjT is the last column of U . Given the plant 1 s−1 4 , G(s) = 4.5 2(s − 1) s+2 compute the zero direction of this plant with SVD. 2. Compute the inner factor of the following unstable plant: 1 s−1 s−1 G(s) = . s − 3 s − 2 2(s − 2) 3. A nonsquare matrix does not have an inverse or a determinant. A partial replacement for the inverse is provided by the MoorePenrose pseudo-inverse. Assume that G(s) has more inputs than outputs. The Moore-Penrose pseudo-inverse of G(s) is called the right inverse: G+ (s) = G∗ (s)[G(s)G∗ (s)]−1 . Consider the following plant: G(s) =
s−1 s+1
s−2 s+2
.
(a) Is this plant MP? (b) Is the right inverse of this plant stable? 4. Assume that the performance index is 2
min kWp2 (s)S(s)/sk2 . Prove the optimal solution is Qopt (s)
= GM P −1 (s)[Wp2 (s)GA (s)]−1 MP {s{[Wp2 (s)GA (s)]M P GA −1 (s)/s − [Wp2 (0)GA (0)]M P GA −1 (0)/s}∗ + [Wp2 (0)GA (0)]M P GA −1 (0)}.
5. Consider the following plant 1 k11 e−θ11 s 0.878 −0.864 G(s) = 0 75s + 1 1.082 −1.096
0 k22 e−θ22 s
,
where kii ∈ [0.8, 1.2] and θii ∈ [0, 1.0], i = 1, 2. Physically, this model corresponds to a high-purity distillation column. The aim is to design a controller that meets the following quantitative robust stability and robust performance specifications:
426
Quantitative Process Control Theory (a) Closed-loop stability. (b) For a unit step reference in channel 1 at t = 0, the plant outputs y1 (tracking) and y2 (interaction) should satisfy: i. y1 (t) ≥ 0.9 for all t > 30min; ii. y1 (t) ≤ 1.1 for all t; iii. 0.99 ≤ y1 (∞) ≤ 1.01; iv. y2 (t) ≤ 0.5 for all t; v. −0.01 ≤ y2 (∞) ≤ 0.01. The corresponding requirements hold for a unit step demand in channel 2. (c) To avoid the controllers with unrealistic gains and bandwidths, the transfer function matrix between output disturbances and plant inputs be gain limited to about 50 dB and the unity gain cross over frequency of the largest singular value should be below 150 rad/min. Although the plant is simple, the design problem is difficult. Please give some suggestions on the design. 6. For Unstable NMP plants, choose a filter such that the closed-loop response is identical to that in Section 13.4.
7∗ . A state feedback system with an observer can be converted into an output feedback system. Let G(s) = C(sI − A)−1 B be the transfer function matrix of the plant, where A, B, and C are matrices of appropriate dimensions. K is the feedback gain. The reduced-order observer can be expressed as z˙
= F z + Gy + Hu,
x ˆ
= Q1 y + Q2 z,
where F , G, H, Q1 , and Q2 are matrices of appropriate dimensions (Figure E14.1). The system is equivalent to the one in Figure E14.2. Derive the expression of G1 (s) and G2 (s).
FIGURE E14.1 State feedback system with an observer.
Multivariable H2 Optimal Control
427
FIGURE E14.2 The equivalent output feedback system.
Notes and References The basis of this chapter is Zhang et al. (2011) (Zhang W. D., S. W. Gao, and D. Y. Gu, No-weight design of H2 controllers for square plants, IET Control c Theory and Applications, 2011, 5(6), 785–794. IET). This work was inspired by Morari and Zafiriou (1989, Chapter 12). The zero direction for a simple zero was first formulated by McFarlane and Karcanias (1976). The inner-outer factorization problem discussed in Sections 14.1–14.3 is closely related to another problem called the spectral factorization (that is, to find the spectral factor of a matrix-valued spectral density). One can find the algorithms for the original inner-outer factorization in, for example, Morari and Zafiriou (1989) and Oara and Varga (2000). The famous control softR ware MATLAB provides the command iofr/iofc for the original inner-outer factorization. The result in Sections 14.1–14.3 can be regarded as a special case of the Nevanlinna-Pick interpolation problem, which was discussed by Ball et al. (1990) in detail. The dual problem of the original inner-outer factorization was studied by Shaked (1989). Kucera (2007) discussed a transfer function solution to the H2 control problem. The plant in Example 14.7.3 is from The User Guide for Robust Control Toolbox (Mathworks, 2001, p. 63), where the plant is used to illustrate the design procedures of H2 control and H∞ control. The plant in Exercise 1 is from Skogestad and Postlethwaite (2005, Section 4.5). Exercise 3 gives an important feature of the nonsquare plant. The plant in Exercise 5 was given by Skogestad and Morari (1988). The plant and the design specification were reformulated by Limebeer and then published in the IEEE CDC as a Benchmark Problem (Limebeer, 1991). Exercise 7 is adapted from Zheng (1990, p. 215). The observer-based feedback is very important in LQ control, because a full state feedback is usually
428
Quantitative Process Control Theory
hard to come by, while the observer can be used to “infer” the missing state information from a few output measurements. Nevertheless, the observer-based feedback causes two new problems: the system structure is complicated and the system performance becomes sensitive to uncertainty.
Bibliography
Alcantara, S., W. D. Zhang, C. Pedreta, R. Vilanova, and S. Skogestad (2011). IMC-like analytical H∞ design with S/PS mixed sensitivity consideration: Utility in PID tuning guidance. J. of Process Control 21 (6), 976–985. Astrom, K. J. (1970). Introduction to Stochastic Control Theory. London: Academic Press. Astrom, K. J. and T. Hagglund (2005). Advanced PID Control. NC: ISA. Astrom, K. J., C. C. Hang, and B. C. Lim (1994). A new Smith predictor for controlling a process with an integrator and long dead time. IEEE Trans. Auto. Control 39 (2), 343–345. Astrom, K. J., C. C. Hang, P. Persson, and W. Ho (1992). Towards intelligent PID control. Automatica 28 (1), 1–9. Atay, F. M. (2010). Complex Time-Delay Systems: Theory and Applications. Berlin: Springer. Ball, J. A., I. Gohberg, and L. Rodman (1990). Interpolation of Rational Matrix Functions. Berlin: Birkhauser Verlag. Bhattacharyya, S. P., A. Datta, and L. H. Keel (2009). Linear Control Theory: Structure, Robustness, and Optimization. NY: CRC Press. Bittar, A. and R. M. Sales (1994). H2 and H infinity control for maglev vehicles. IEEE Control Systems Magazine 18 (4), 18–25. Boyd, S., L. Ghaoui, E. Feron, and V. Balakrishnan (1994). Linear Matrix Inequivalities in System and Control Theory. PA: SIAM. Bristol, E. H. (1966). On a new measure of interaction for multivariable process control. IEEE Trans. Auto. Control 11 (1), 133–134. Brosilow, C. and B. Joseph (2002). Techniques of Model-Based Control. Prentice Hall International Series in the Physical and Chemical Engineering Sciences. NY: Prentice Hall PTR. Brosilow, C. B. and M. Tong (1978). The structure and dynamics of inferential control system. AIChE J. 24 (3), 492–499. 429
430
Quantitative Process Control Theory
Camacho, E. F. and C. Bordons (1999). Model Predictive Control. London: Springer. Chien, I. and P. S. Fruehauf (1990). Consider IMC tuning to improve controller performance. Chemical Engineering Progress 86 (10), 33–41. Chien, I., S. C. Peng, and J. H. Liu (2002). Simple control method for integrating processes with long deadtime. J. of Process Control 12 (3), 391–404. Cohen, G. H. and G. A. Coon (1953). Theoretical considerations of retarded control. Trans. ASME 75 (7), 827–834. Coulibaly, E., S. Maiti, and C. Brosilow (1990). Internal model predictive control. In AIChE Annual Meeting, Miami, FL. Culter, C. R. and B. L. Ramaker (1979). Dynamic matrix control-a computer control algorithm. In AIChE 86th National Meeting, Houston,TX. Dahlin, E. B. (1968). Designing and tuning digital controllers. Instr. and Contr. Systms 41 (7), 77–83. D’Azzo, J. J. and C. H. Houpis (1988). Linear Control System Analysis and Design. NY: McGraw Hill. de la Barra S., B. A. L. (1994). On undershoot in SISO systems. IEEE Trans. Auto. Control 39 (3), 578–58. Deshpande, P. B. and R. H. Ash (1981). Elements of Computer Process Control. North Carolina: Instrument Society of American, Research Triangle Park. Dong, J. and C. B. Brosilow (1997). Design of robust multivariable PID controller via imc. In Proc. Amer. Contr. Conf., Albuquerque, NM, pp. 3380–3384. Dorato, P. (2000). Analytical Feedback System Design. CA: Brooks/Cole. Dorato, P. R., L. Fortuna, and G. Muscato (1992). Robust Control for Unstructured Perturbations–An Introduction. Lecture Notes in Control and Information Sciences. NY: Springer. Dorf, R. C. and R. H. Bishop (2001). Modern Control Systems (9th ed.). NJ: Prentice Hall. Doyle, J. C. (1982). Analysis of control systems with structured uncertainty. IEE Proc. - D 129 (6), 242–250. Doyle, J. C. (1983). Synthesis of robust controllers and filters. In Proc. IEEE Conference on Decision and Cotrol, San Antonio, TX, pp. 109–114.
Bibliography
431
Doyle, J. C., B. A. Francis, and A. R. Tannenbaum (1992). Feedback Control Theory. NY: Macmillan Publishing Company. Edwards, C. and I. Postlethwaite (1998). Antiwindup and bumpless transfer scheme. Automatica 34 (2), 199–210. Enns, D. H., H. Ozbay, and A. Tannenbaum (1992). Abstract model and controller design for an unstable aircraft. J. of Guidance Control and Dynamics 15 (2), 498–508. Floudas, C. A. (1995). Nonlinear and Mixed-Integer Optimization: Fundamentals and Applications. Oxford, UK: Oxford University Press. Foias, C., H. Ozbay, and A. Tannenbaum (1996). Robust Control of Infinite Dimensional Systems. Lecture Notes in Control and Information Sciences. London: Springer. Francis, B. A. (1987). A course in H∞ Control Theory. Lecture Notes in Control and Information Sciences. London: Springer. Frei, C. W., E. Bullinger, A. Gentilini, A. H. Glattfelder, T. J. Sieber, and A. Zbinden (2000). Artifact-tolerant controllers for automatic drug delivery in anesthesia. Crit. Rev. Biomed. Eng. 28 (1–2), 187–192. Garcia, C. E. and M. Morari (1982). Internal model control−1:a unifying review and some new results. Ind. Eng. Chem. Proc. Des. & Dev. 21 (2), 308–323. Glaria, J. J. and G. C. Goodwin (1994). A parameterization for the class of all stabilizing controllers for linear minimum phase plants. IEEE Trans. Auto. Control 39 (2), 433–435. Golten, J. and A. Verwer (1991). Control System Design and Simulation. NY: McGraw Hill. Goodwin, G. C., S. F. Graebe, and M. E. Salgado (2001). Control System Design. Beijing, China: Tsinghua Universtiy Press. Gu, D. Y., Y. C. Tang, L. L. Ou, and W. D. Zhang (2005). Relationship between two typical modeling methods in process control and its application in relay feedback autotuning. Dynamics of Continous Discrete and Impulsive Systems-Series A-Mathmatical Analysis 3 (4), 1650–1657. Gu, K. Q., V. L. Kharitonov, and J. Chen (2003). Stability of Time-Delay Systems. Berlin: Springer. Hang, C. C., K. J. Astrom, and W. K. Ho (1991). Refinements of the Ziegler– Nichols tuning formula. IEE Proc. -D 138 (2), 111–118.
432
Quantitative Process Control Theory
Holt, B. R. and M. Morari (1985). Design of resilient processing plants V– the effect of deadtime on dynamic resilience. Chemical Engineering Science 40 (7), 1229–1237. Howell, J. R. (1996). Comment regarding “on undershoot in SISO systems.”IEEE Trans. Auto. Control. 41 (12), 1845–1846. Iinoya, K. and R. J. Altpeter (1962). Inverse response in process control. Ind. Eng. Chem. 54 (7), 39–43. Jerome, N. F. and W. H. Ray (1986). High-performance multivariable control strategies for systems having time delays. AIChE Journal 32 (6), 914–931. Jin, Y. H. (1993). Process Control (in Chinese). Beijing, China: Tsinghua University Press. Kaya, I. (2001). Improving performance using cascade control and a Smith predictor. ISA Trans. 40 (3), 223–234. Kharitonov, V. L. (1978). Asymptotic stability of an equilibrium position of a family of systems of linear differential equations (in Russian). Differentialnye Uraveniya 14 (11), 2086–2088. Kucera, V. (1979). Discrete Linear Control: the Polynomial Equation Approach. NY: Wiley. Kucera, V. (2007). The H2 control problem: a general transfer-function solution. Int. J. of Control 80 (5), 800–815. Kuo, B. C. (2003). Automatic Control Systems (9th ed.). NY: John Wiley & Sons. Kwak, H. J., S. W. Sung, I. Lee, and J. Y. Park (1999). Modified Smith predictor with a new structure for unstable processes. Ind. Eng. Chem. Res. 38 (2), 405–411. Kwak, H. J., S. W. Sung, and I. B. Lee (2001). Modified Smith predictors for integrating processes: comparisons and proposition. Ind. Eng. Chem. Res. 40 (6), 1500–1506. Kwok, W. W. and D. E. Davison (2007). Implementation of stabilizing control laws - how many controller blocks are needed for a universally good implementation? IEEE Control Systems Magazine 27 (1), 55–60. Laub, A. J. and B. C. Moore (1978). Calculation of transmission zeros using QZ techniques. Automatica 14 (6), 557–566. Laughlin, D. L., D. E. Rivera, and M. Morari (1987). Smith predictor design for robust performance. Int. J. Control 46 (2), 477–504.
Bibliography
433
Lee, Y., J. Lee, and S. Park (2000). PID controller tuning for integrating and unstable processes with time delay. Chem. Eng. Sci. 55 (17), 3481–3493. Lee, Y., M. Lee, S. Park, and C. Brisilow (1998). PID controller tuning for desired closed loop responses for SISO systems. AIChE J. 44 (1), 106–115. Lewin, D. R. and C. Scali (1988). Feedforward control in the presence of uncertainty. Ind. Eng. Chem. Res. 27 (12), 2323–2331. Limebeer, D. J. N. (1991). The specification and purpose of a controller design case study. In Proc. IEEE Conference on Decision and Control, Brighton, UK, pp. 1579–1580. Lin, S. K. and C. J. Fang (1997). Nonovershooting and monotone nondecreasing step responses of a third order SISO system. IEEE Trans. Auto. Control 42 (9), 1299–1303. Linkens, D. A. (1993). Anaesthesia simulators for the design of supervisory rule-based control in the operating theatre. Computing and Control Engineering Journal 4 (2), 55–62. Lipschutz, S. (1968). Linear Algebra. NY: McGraw Hill. Liu, C. H. (1983). General decoupling theory of multivariable process control systems. Lecture Notes in Control and Information Sciences. Berlin: Springer. Liu, F., J. W. Zhang, and Q. Z. Qu (2002). 4WS control system design based on QFT (in Chinese). Automotive Engineering 24 (1), 68–72. Liu, T., X. He, D. Y. Gu, and W. D. Zhang (2004). Analytical decoupling control design for dynamic plants with time delay and double integrators. IEE Proc. -D 151 (6), 745–753. Liu, T., W. D. Zhang, and F. R. Gao (2007). Analytical two-degrees-offreedom (2-DOF) decoupling control scheme for multiple-input-multipleoutput (MIMO) processes with time delays. Ind. Eng. Chem. Res. 46 (20), 6546–6557. Luyben, W. L. (1986). Simple method for tuning SISO controllers in multivariable systems. Ind. Eng. Chem. Proc. Des. & Dev. 25 (3), 654–660. Luyben, W. L. (2001). Effect of derivative algorithm and tuning selection on the PID control of dead time processes. Ind. Eng. Chem. Res. 40 (16), 3605–3611. Luyben, W. L. and M. Melcic (1978). Consider reactor control lags. Hydrocarbon Processing (3), 115–117. Maciejowski, J. M. (1989). Multivariable Feedback Design. UK: Addison Wesley.
434
Quantitative Process Control Theory
Mackenroth, U. (2010). Robust Control Systems: Theory and Case Studies. Berlin: Springer. Maffezzoni, C., N. Schiavoni, and G. Ferretti (1990). Robust design of cascade control. IEEE Control Systems Magzine 10 (1), 21–25. Marshall, J. E. (1979). Control of Time Delay System. UK: Peter Peregrinus. Mathworks, T. (2001). The User’s Guide for Robust Control Toolbox (version 2.08, release 12.1). The MathWorks. Mayr, O. (1970). The Origins of Feedback Control. Cambridge, MA: MIT Press. McFarlane, A. G. J. and N. Karcanias (1976). Poles and zeros of linear multivariable systems: A survey of the algebraic, geometric and complex variable theory. Int. J. Control 24 (1), 33–74. Morari, M. and E. Zafiriou (1989). Robust Process Control. NJ: Prentice Hall, Englewood Cliffs. Newton, G. C., L. A. Gould, and J. F. Kraiser (1957). Analytical Design of Feedback Controls. NY: Wiley. Normey-Rico, J. E. and E. F. Camacho (2002). A unified approach to design dead–time compensators for stable and integrative processes with dead– time. IEEE Trans. Auto. Control 47 (2), 299–305. Oara, C. and A. Varga (2000). Computation of general inner-outer and spectral factorizations. IEEE Trans. Auto. Control 45 (12), 2307–2325. O’Dwyer, A. (2006). Handbook of PI and PID Controller Tuning Rules. London: Imperial College Press. Ogata, K. (2002). Modern Control Engineering. Prentice Hall. Ogunnaike, B. A., J. P. Lemaire, M. Morari, and W. H. Ray (1983). Advanced multivariable control of a pilot-scale distillation column. AIChE J. 29 (4), 632–640. Ou, L. L., W. D. Zhang, and L. Yu (2009). Stabilizing low-order controllers for LTI systems with time delay. IEEE Trans. Auto. Control 54 (6), 774–787. Paraskevopoulos, P., G. Pasgianos, and K. Arvanitis (2006). PID-type controller tuning for unstable first order plus dead time processes based on gain and phase margin specifications. IEEE Trans. Control Sys. Tech. 14 (5), 926–936. Postlethwaite, I. and A. G. J. MacFarlane (1979). A Complex Variable Approach to the Analysis of Linear Multivariable Feedback Systems. Berlin: Springer.
Bibliography
435
Powell, J. D., N. P. Fekete, and C. F. Chang (1998). Observer based air–fuel ratio control. IEEE Control Systems Magzine 18 (5), 72–83. Prett, D. M., C. E. Garcia, and M. Morari (1990). The Second Shell Process Control Workshop: Solutions to the Shell Standard Control Problem. London: Butterworth-Heinemann. Psarris, P. and C. A. Floudas (1990). Improving dynamic operability in MIMO systems with time delays. Chemical Engineering Science 45 (12), 3505–3524. Qiu, L. and K. M. Zhou (2009). Introduction to Feedback Control. NJ: Prentice Hall. Richalet, J. A., A. Rault, J. L. Testud, and J. Papon (1978). Model predictive heuristic control applications to an industry process. Automatica 14 (5), 413–428. Rivera, D. E., M. Morari, and S. Skogestad (1986). Internal model control–4: PID controller design. Ind. Eng. Chem. Proc. Des. & Dev. 25 (1), 252–265. Saff, E. B. and R. S. Varga (Eds.) (1977). Pade and Rational Approximation. London: Academic Press. Semino, D. and A. Brambilla (1996). An efficient structure for parallel cascade control. Ind. Eng. Chem. Res. 35 (6), 1845–1852. Shaked, U. (1989). An explicit expression for the minimum-phase image of transfer function matrices. IEEE Trans. Auto. Control 34 (12), 1290–1293. Shamash, Y. (1975). Model reduction using Routh stability criterion and the Pade approximation. Int. J. Control 21 (3), 475–484. Shinskey, F. G. (2002). Process control diagnostics. ISA 2002 www.isa.org, Technical Papers. Silva, G. J., A. Datta, and S. P. Bhattachcharyya (2002). New results on the synthesis of PID controllers. IEEE Trans. Auto. Control 47 (2), 241–252. Singh, A. and D. H. Mcewan (1975). The control of a process having appreciable transport lag – a laboratory case study. IEEE Trans. Ind. Elec. and Contr. Instr. 22 (3), 396–401. Skogestad, S. and M. Morari (1988). LV control of a high-purity distillation column. Chem. Eng. Sci. 43 (1), 33–48. Skogestad, S. and I. Postlethwaite (2005). Multivariable Feedback Control: Analysis and Design (2th ed.). West Sussex, England: Wiley-Interscience. Stahl, H. and P. Hippe (1987). Design of pole placing controllers for stable and unstable systems with pure time delay. Int. J. Control 45 (6), 2173–2182.
436
Quantitative Process Control Theory
Stefani, R. T., B. Shahian, C. J. S. Jr., and G. H. Hostetter (2002). Design of Feedback Control Systems. NY: Oxford University Press. Stephanopoulos, G. (1984). Chemical Process Control: An Introduction to Theory and Practice (4th ed.). NJ: Prentice Hall. Sun, Y., P. W. Nelson, and A. G. Ulsoy (2010). Time-delay Systems: Analysis and Control Using the Lambert W Function. NJ: World Scientific Publishing Company. Sun, Y. X. (1993). Control Paper Making Processes (in Chinese). Hangzhou, China: Zhangjiang University Press. Thirunavukkarasu, I., V. I. George, G. S. Kumar, and A. Ramakalyan (2009). Robust stability and performance analysis of unstable process with dead time using mu synthesis. ARPN Journal of Engineering and Applied Sciences 4 (2), 1–4. Vidyasagar, M. (1985). Control System Synthesis: A Factorization Approach. MA: MIT Press. Visioli, A. (2006). Practical PID Control. London: Springer. Waller, K. V. T. and C. G. Nygardas (1975). On inverse response in process control. Ind. Eng. Chem. 14 (3), 221–223. Wang, Q., Y. Zhang, and M.-S. Chiu (2002). Decoupling internal model control for multivariable systems with multiple time delays. Chemical Engineering Science 57 (1), 115–124. Wang, Q. G. (2003). Decoupling Control. Lecture Notes in Control and Information Sciences. Berlin: Springer. Wang, Y. C. and X. Z. Ren (1986). Design Samples of Industrial Control Systems (in Chinese). Beijing, China: Science Press. Wang, Y. G. and H. H. Shao (2000). Optimal tuning for PI controller. Automatica 36 (1), 147–152. Wood, R. K. and M. W. Berry (1973). Terminal composition control of a binary distillation column. Chem. Eng. Sci. 28 (9), 1707–1717. Wu, M., Y. He, and J. H. She (2010). Stability Analysis and Robust Control of Time-Delay Systems. Beijing, China: Science Press. Xiang, C., Q. Wang, X. Lu, L. Nguyen, and T. Lee (2007). Stabilization of second-order unstable delay processes by simple controllers. J. of Process Control 17 (8), 675–682.
Bibliography
437
Youla, D. C., H. A. Jabr, and J. J. Bongiorno (1976). Modern Wiener Hopf design of optimal controllers − Part II: The multivariable case. IEEE Trans. Auto. Control 21 (1), 319–338. Zaccarian, L. and A. R. Teel (2002). A common framework for anti–windup, bumpless transfer and reliable designs. Automatica 38 (10), 1735–1744. Zames, G. (1981). Feedback and optimal sensitivity: model reference transformations, multiplicative seminorms and approximate inverse. IEEE Trans. Auto. Control 26 (2), 301–320. Zames, G. and B. A. Francis (1983). Feedback, minimax sensitivity, and optimal robustness. IEEE Trans. Auto. Control 28 (5), 585–601. Zhang, W. D. (1996). Robust Control of Systems with Time Delay (in Chinese). Ph. D. thesis, Zhejiang University, Hangzhou. Zhang, W. D. (1998). Analytical Design for Process Control (in Chinese). Post-Doctoral Research Report. Shanghai Jiaotong University. Zhang, W. D. (2006). Optimal design of the RZN PID controller for stable and unstable processes with time delay. Ind. Eng. Chem. Res. 45 (4), 1408–1419. Zhang, W. D., F. Allgower, and T. Liu (2006). Controller parameterization for SISO and MIMO plants with time delay. System Control Letters 55 (10), 794–802. Zhang, W. D., S. W. Gao, and D. Y. Gu (2011). No-weight design of H2 controllers for square plants. IET Control Theory and Applications 5 (6), 785–794. Zhang, W. D., D. Y. Gu, F. Li, Q. Z. Zhang, and L. Wang (2005). Design of PID controllers with best achievable performance for MIMO systems (in Chinese). China Patent 200510112231.2. Zhang, W. D., D. Y. Gu, W. Wang, and X. M. Xu (2004). Quantitative performance design of a modified Smith predictor for unstable processes with time delay. Ind. Eng. Chem. Res. 43 (1), 56–62. Zhang, W. D., D. Y. Gu, and X. M. Xu (2002). Dual parameterization for linear nonminimum phase plants. IEE Proc. -D 149 (6), 494–496. Zhang, W. D. and C. Lin (2006). Multivariable Smith predictors design for nonsquare plants. IEEE Trans. Control Systems Tech. 14 (6), 1145–1149. Zhang, W. D., C. Lin, and L. L. Ou (2006). Algebraic solution to H2 control problems – Part II: The multivariable decoupling case. Ind. Eng. Chem. Res. 45 (21), 7163–7176.
438
Quantitative Process Control Theory
Zhang, W. D., L. L. Ou, and D. Y. Gu (2006). Algebraic solution to H2 control problems– Part I: The scalar case. Ind. Eng. Chem. Res. 45 (21), 7151–7162. Zhang, W. D. and Y. X. Sun (1995). Universal basis weight and moisture control model for paper machines (in Chinese). Zhongguo Zaozhi Xuebao/Transactions of China Pulp and Paper 10 (s1), 84–92. Zhang, W. D. and Y. X. Sun (1996a). H2 suboptimal control for uncertain time delay system (in Chinese). Kongzhi Lilun yu Yingyong/Control Theory and Applications 13 (4), 495–499. Zhang, W. D. and Y. X. Sun (1996b). Modified Smith predictor for the integrator/time delay processes. Ind. Eng. Chem. Res. 35 (8), 2769–2772. Zhang, W. D. and Y. X. Sun (1997). Optimal design of Smith predictor using Taylor series (in Chinese). Yiqi Yibiao Xuebao/Chinese Journal of Scientific Instrument 18 (2), 213–216,224. Zhang, W. D., Y. X. Sun, and X. M. Xu (1998a). New two degree-of-freedom Smith predictor for processes with time delay. Automatica 34 (10), 1279– 1282. Zhang, W. D., Y. X. Sun, and X. M. Xu (1998b). Robust digital controller design of process with dead time – some new results. IEE Proc. –D 145 (2), 159–164. Zhang, W. D., Y. X. Sun, and X. M. Xu (2001). Modeling of fourdrinier and cylinder machines. Development in Chem. Eng. and Mineral Processing 9 (1), 69–76. Zhang, W. D., H. Wang, and X. M. Xu (2002). Analytical formulas for near-H infinity control of linear systems with time delay. In Proc. Amer. Contr. Conf., Ankarage, A.K., pp. 2233–2238. Zhang, W. D., Y. G. Xi, G. K. Yang, and X. M. Xu (2002). Design PID controllers for desired time domain and frequency domain response. ISA Trans. 41 (4), 511–520. Zhang, W. D. and X. M. Xu (2000). Counterexamples for sufficient and necessary condition of internal stability. IEE Proc. -D 147 (3), 371–372. Zhang, W. D. and X. M. Xu (2002a). H infinity PID controller design for runaway processes with time delay. ISA Trans. 41 (3), 317–322. Zhang, W. D. and X. M. Xu (2002b). Quantitative performance design for H2 controllers of unstable processes with time delay (in Chinese). Yiqi Yibiao Xuebao/ Chinese J. of Scientific Instrument 23 (3), 221–225.
Bibliography
439
Zhang, W. D. and X. M. Xu (2003). Comparison of several well-known controllers used in process control. ISA Trans. 42 (2), 317–325. Zhang, W. D., X. M. Xu, and Y. X. Sun (1999). Quantitative control of integrating processes with time delay. Automatica 35 (4), 719–723. Zhang, W. D., X. M. Xu, and Y. X. Sun (2000). Quantitative performance design for inverse response processes. Ind. Eng. Chem. Res. 39 (6), 2056– 2061. Zheng, A., M. V. Kothare, and M. Morari (1994). Anti-windup design for internal model control. Int. J. Control 60 (5), 1015–1024. Zheng, D. Z. (1990). Linear System Theory (in Chinese). Beijing: Tsinghua University Press. Zhou, K. M. and J. C. Doyle (1997). Essentials Of Robust Control. NJ: Prentice Hall. Zhou, K. M., J. C. Doyle, and K. G. Glover (1996). Robust and optimal control. NJ: Prentice Hall. Zhu, L. (2005). The Measurement and Control Strategy for Molten Steel Level of Strip Casting (in Chinese). Ph. D. thesis, Shanghai. Ziegler, J. G. and N. B. Nichols (1942). Optimum settings for automatic controllers. Trans. ASME 64 (11), 759–768.
Index
Degree, 23 Determinant, 296 Adjoint, 333 Disk drive, 215 Aircraft, 420 Distillation column, 197, 272, 351, All-pass, 25, 370 357, 425 Amplitudes of coupled responses, 307 DMC, 163 Anesthesia, 286 Anti-windup, 273 Feedforward control, 279 Auto-tuning, 10 Filter, 83, 352, 374 Automobile carburetor, 145 Four-wheel steering, 318 2 DOF, 258, 376
Bandwidth, 34 Blending process, 177 Bode ∼ plot, 35 ∼ stability criterion, 35 Cascade control, 268 Causality, 20 Closed-loop transfer function, 33, 55 Complementary sensitivity function, 55, 306 Complex conjugate, 50 Complex conjugate transpose, 301 Conjugate transpose, 372 Control variable, 4 Controlled variable, 4 Controller parameterization, 59, 220, 365 Controller tuning, 8 Dahlin algorithm, 160 Deadbeat control, 160 Decentralized control, 325 Decoupler, 331 Decoupling H2 ∼, 363 Quasi-H∞ ∼, 337
Heat exchanger, 101 Heavy oil fractionator, 380 Helicopter, 267 Hot strip mill, 123 IMC, 3 ∼ controller, 59, 182 Improper, 20, 296 Improper column, 342 Inferential control, 160 Initial condition, 27 Inner-outer factorization, 390 Extended ∼, 390 H2 diagonal factorization, 368 H∞ diagonal factorization, 337 Integral absolute error, 32 Integral of time multiplied square error, 32 Integral square error, 32 Inverse response process, 128 Inverted pendulum, 253 ISE, 32 Jacket-cooled reactor, 233 Kharitonov’s Theorem, 63 441
442
Quantitative Process Control Theory
∼ stability criterion, 35 Linear fractional transformation (LFT), 314 Open-loop transfer function, 31 Load, 30 Optimal control LQ, 8 H2 ∼, 154, 389 LQG, 32 H2 decoupling ∼, 363 Lunar rover, 145 Quasi-H∞ ∼, 150 Quasi-H∞ decoupling ∼, 337 MAC, 163 Overshoot, 29 Maclaurin series, 39 Maglev, 132 Pade approximation, 24 Manipulated variable, 4 All-pass ∼, 25 Maximum Modulus Theorem, 82 Paper-making machine, 86 MIMO, 12 Paper-making process, 328 Minimum variance control, 177 Basis weight, 4 Missile, 239 Dryer, 282 Model Head section, 17 Identification ∼, 6 White water, 17 Mechanism-based ∼, 6 Parseval’s theorem, 50 Step response ∼, 37 Perfect control, 55, 159 Ultimate cycle ∼, 37 Performance degree, 83, 342, 375, 413 Model predictive control, 163 Performance index Model reference adaptive control, 59 H2 ∼, 33, 56, 307 MP, 22, 297 H∞ ∼, 57, 308 MPC, 3 Perturbation peak, 30 PID, 7 NMP, 15, 22, 128, 297 H2 ∼, 113 Nominal performance, 43 H∞ ∼, 77 Nominal plant, 6 Multivariable ∼, 354 Norm, 48 Plant Matrix Integrating ∼, 21 ∞-norm, 300 Nominal ∼, 55 Signal Stable ∼, 20 ∞-norm, 48 Uncertain ∼, 63, 64 1-norm, 48 Unstable ∼, 21 2-norm, 48, 302 Pole, 296 System Simple ∼, 199, 297 ∞-norm, 48, 303 Pole polynomial, 296 2-norm, 48, 302 Proper, 20, 296 Vector Bi-proper, 20 2-norm, 298 Strictly ∼, 20, 296 Normal rank, 296 Nuclear power plant, 168 QPCT, 8 Nyquist Recovery time, 30 ∼ path, 34 Reference, 4 ∼ plot, 34
Index Regulator problem, 7 Relative degree, 342 Relative gain array (RGA), 321 Residue Theorem, 49 Resonance frequency, 34 Resonance peak, 34 Rise time, 29 Robust performance, 62 Robust performance condition, 66, 313 Robust stability, 62 Robust stability condition, 64, 310 Robustness, 47 Sensitivity function, 55, 306 Servo problem, 7 Settling time, 30 Shower, 20 Simultaneous stabilization, 254 Singular value, 301 Singular value decomposition (SVD), 301 Singularity ∼ of a complex matrix, 313 ∼ of a transfer function matrix, 333 SISO, 11 Smith predictor, 84, 150 Spacecraft, 214 Spectral radius, 300 Stability, 26, 54, 296 Internal ∼, 54, 305 Stability margin Gain margin, 37 Phase margin, 37 Static gain, 20 Steady-state error, 30 Steady-state response, 29, 306 Strip casting process, 110 Structured singular value (SSV), 313 System gain, 51, 303 System type, 31 Taylor series, 23 Test signal, 28
443 Three-range tuning, 175 Time constant, 20 Time delay, 20, 340, 369 Trace, 300 Transit response, 29 Ultimate cycle method, 38 Uncertainty, 6 Multiplicative ∼, 63 Multiplicative input ∼, 309 Multiplicative output ∼, 308 Normalized ∼, 63, 309 Structured ∼, 62 Unstructured ∼, 63, 309 Uncertainty profile, 63 Unity feedback control loop, 27 Unstable hidden mode, 305 Waterbed effect, 235 Weighted sensitivity problem, 57 Weighting function Performance ∼, 56, 307 Uncertainty ∼, 309 White noise, 32 Windup, 272 Z-N method, 79 Zero, 296 Simple ∼, 297 Zero direction, 391, 400 Zero polynomial, 296 Zero-pole cancellation, 54