Automatica. Robust PID controller tuning based on the heuristic Kalman algorithm

Similar documents
Robust fixed-order H Controller Design for Spectral Models by Convex Optimization

A NEW APPROACH TO MIXED H 2 /H OPTIMAL PI/PID CONTROLLER DESIGN

A brief introduction to robust H control

IMC based automatic tuning method for PID controllers in a Smith predictor configuration

Norm invariant discretization for sampled-data fault detection

Robust Loop Shaping Controller Design for Spectral Models by Quadratic Programming

Fixed Order H Controller for Quarter Car Active Suspension System

Frequency-Domain Robust Control Toolbox

Design and Tuning of Fractional-order PID Controllers for Time-delayed Processes

Robust Observer for Uncertain T S model of a Synchronous Machine

H State-Feedback Controller Design for Discrete-Time Fuzzy Systems Using Fuzzy Weighting-Dependent Lyapunov Functions

Static Output Feedback Stabilisation with H Performance for a Class of Plants

THIS paper deals with robust control in the setup associated

Model-based PID tuning for high-order processes: when to approximate

Chapter 2. Classical Control System Design. Dutch Institute of Systems and Control

GAIN SCHEDULING CONTROL WITH MULTI-LOOP PID FOR 2- DOF ARM ROBOT TRAJECTORY CONTROL

This article appeared in a journal published by Elsevier. The attached copy is furnished to the author for internal non-commercial research and

Stochastic Optimization with Inequality Constraints Using Simultaneous Perturbations and Penalty Functions

MRAGPC Control of MIMO Processes with Input Constraints and Disturbance

Run-to-Run MPC Tuning via Gradient Descent

Optimization based robust control

Part II. Advanced PID Design Methods

A NUMERICAL METHOD TO SOLVE A QUADRATIC CONSTRAINED MAXIMIZATION

Robust and Gain-Scheduled PID Controller Design for Condensing Boilers by Linear Programming

MULTILOOP PI CONTROLLER FOR ACHIEVING SIMULTANEOUS TIME AND FREQUENCY DOMAIN SPECIFICATIONS

Multiobjective Optimization Applied to Robust H 2 /H State-feedback Control Synthesis

APPROXIMATE SOLUTION OF A SYSTEM OF LINEAR EQUATIONS WITH RANDOM PERTURBATIONS

Simultaneous State and Fault Estimation for Descriptor Systems using an Augmented PD Observer

FINITE HORIZON ROBUST MODEL PREDICTIVE CONTROL USING LINEAR MATRIX INEQUALITIES. Danlei Chu, Tongwen Chen, Horacio J. Marquez

Computation of Stabilizing PI and PID parameters for multivariable system with time delays

Research Article An Equivalent LMI Representation of Bounded Real Lemma for Continuous-Time Systems

OBSERVER DESIGN WITH GUARANTEED BOUND FOR LPV SYSTEMS. Jamal Daafouz Gilles Millerioux Lionel Rosier

NDI-BASED STRUCTURED LPV CONTROL A PROMISING APPROACH FOR AERIAL ROBOTICS

Iterative Controller Tuning Using Bode s Integrals

An Adaptive LQG Combined With the MRAS Based LFFC for Motion Control Systems

THE ANNALS OF "DUNAREA DE JOS" UNIVERSITY OF GALATI FASCICLE III, 2000 ISSN X ELECTROTECHNICS, ELECTRONICS, AUTOMATIC CONTROL, INFORMATICS

A unified double-loop multi-scale control strategy for NMP integrating-unstable systems

LMI based output-feedback controllers: γ-optimal versus linear quadratic.

Introduction. Performance and Robustness (Chapter 1) Advanced Control Systems Spring / 31

Denis ARZELIER arzelier

Adaptive Dual Control

AN OPTIMIZATION-BASED APPROACH FOR QUASI-NONINTERACTING CONTROL. Jose M. Araujo, Alexandre C. Castro and Eduardo T. F. Santos

Design of Decentralised PI Controller using Model Reference Adaptive Control for Quadruple Tank Process

Global Optimization of H problems: Application to robust control synthesis under structural constraints

Here represents the impulse (or delta) function. is an diagonal matrix of intensities, and is an diagonal matrix of intensities.

Lyapunov Stability of Linear Predictor Feedback for Distributed Input Delays

Chapter 7 Interconnected Systems and Feedback: Well-Posedness, Stability, and Performance 7. Introduction Feedback control is a powerful approach to o

Analysis and Synthesis of Single-Input Single-Output Control Systems

CHAPTER 5 ROBUSTNESS ANALYSIS OF THE CONTROLLER

Gain Scheduling Control with Multi-loop PID for 2-DOF Arm Robot Trajectory Control

Lecture 6. Chapter 8: Robust Stability and Performance Analysis for MIMO Systems. Eugenio Schuster.

Auxiliary signal design for failure detection in uncertain systems

ROBUSTNESS COMPARISON OF CONTROL SYSTEMS FOR A NUCLEAR POWER PLANT

IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 53, NO. 9, OCTOBER

Robust Internal Model Control for Impulse Elimination of Singular Systems

I. D. Landau, A. Karimi: A Course on Adaptive Control Adaptive Control. Part 9: Adaptive Control with Multiple Models and Switching

Robust multivariable pid design via iterative lmi

Design and Stability Analysis of Single-Input Fuzzy Logic Controller

2nd Symposium on System, Structure and Control, Oaxaca, 2004

On Identification of Cascade Systems 1

9. Two-Degrees-of-Freedom Design

Applying Particle Swarm Optimization to Adaptive Controller Leandro dos Santos Coelho 1 and Fabio A. Guerra 2

Design Methods for Control Systems

LMI Based Model Order Reduction Considering the Minimum Phase Characteristic of the System

Matrix Equations in Multivariable Control

SYNTHESIS OF LOW ORDER MULTI-OBJECTIVE CONTROLLERS FOR A VSC HVDC TERMINAL USING LMIs

Theory in Model Predictive Control :" Constraint Satisfaction and Stability!

3.1 Overview 3.2 Process and control-loop interactions

Chapter 2 Review of Linear and Nonlinear Controller Designs

Comparative analysis of decoupling control methodologies and multivariable robust control for VS-VP wind turbines

Robust and Optimal Control, Spring A: SISO Feedback Control A.1 Internal Stability and Youla Parameterization

LPV Decoupling and Input Shaping for Control of Diesel Engines

DECENTRALIZED CONTROL DESIGN USING LMI MODEL REDUCTION

STATE ESTIMATION IN COORDINATED CONTROL WITH A NON-STANDARD INFORMATION ARCHITECTURE. Jun Yan, Keunmo Kang, and Robert Bitmead

PID control of FOPDT plants with dominant dead time based on the modulus optimum criterion

Control of Chatter using Active Magnetic Bearings

Exam. 135 minutes, 15 minutes reading time

Fixed-Order Robust H Controller Design with Regional Pole Assignment

Parameterized Linear Matrix Inequality Techniques in Fuzzy Control System Design

Linear & nonlinear classifiers

Constrained State Estimation Using the Unscented Kalman Filter

Multi-objective Optimization Framework for Networked Predictive Controller Design

Let the plant and controller be described as:-

MTNS 06, Kyoto (July, 2006) Shinji Hara The University of Tokyo, Japan

Chapter 9 Robust Stability in SISO Systems 9. Introduction There are many reasons to use feedback control. As we have seen earlier, with the help of a

(Continued on next page)

Process Identification for an SOPDT Model Using Rectangular Pulse Input

Stochastic Models, Estimation and Control Peter S. Maybeck Volumes 1, 2 & 3 Tables of Contents

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

DISCRETE TIME H CONTROL OF TIP-TILT MODES WITH SATURATING ACTUATORS

Graph and Controller Design for Disturbance Attenuation in Consensus Networks

ADAPTIVE TEMPERATURE CONTROL IN CONTINUOUS STIRRED TANK REACTOR

IMPROVED MPC DESIGN BASED ON SATURATING CONTROL LAWS

AN EXTENSION OF GENERALIZED BILINEAR TRANSFORMATION FOR DIGITAL REDESIGN. Received October 2010; revised March 2011

Internal Model Control of A Class of Continuous Linear Underactuated Systems

An Optimization-based Approach to Decentralized Assignability

The model reduction algorithm proposed is based on an iterative two-step LMI scheme. The convergence of the algorithm is not analyzed but examples sho

Chapter Stability Robustness Introduction Last chapter showed how the Nyquist stability criterion provides conditions for the stability robustness of

Multiobjective Robust Dynamic Output-feeback Control Synthesis based on Reference Model

and Mixed / Control of Dual-Actuator Hard Disk Drive via LMIs

Transcription:

Automatica 45 (2009) 2099 206 Contents lists available at ScienceDirect Automatica journal homepage: www.elsevier.com/locate/automatica Brief paper Robust PID controller tuning based on the heuristic alman algorithm Rosario Toscano Patrick Lyonnet Université de Lyon Laboratoire de Tribologie et de Dynamique des Systèmes CNRS UMR553 ECL/ENISE 58 rue Jean Parot 42023 Saint-Etienne cedex 2 France a r t i c l e i n f o a b s t r a c t Article history: Received 6 September 2008 Received in revised form 28 January 2009 Accepted 5 May 2009 Available online 30 June 2009 eywords: PID controller H control Robustness Non-convex optimization problems Heuristic alman algorithm This paper presents a simple but effective tuning strategy for robust PID controllers satisfying multiple H performance criteria. Finding such a controller is known to be computationally intractable via the conventional techniques. This is mainly due to the non-convexity of the resulting control problem which is of the fixed order/structure type. To solve this kind of control problem easily and directly without using any complicated mathematical manipulations and without using too many user defined parameters we utilize the heuristic alman algorithm (HA) for the resolution of the underlying constrained non-convex optimization problem. The resulting tuning strategy is applicable both to stable and unstable systems without any limitation concerning the order of the process to be controlled. Various numerical studies are conducted to demonstrate the validity of the proposed tuning procedure. Comparisons with previously published works are also given. 2009 Elsevier Ltd. All rights reserved.. Introduction It is a matter of fact that the PID (proportional-integralderivative) controller is the most widely used in industrial applications. This is mainly due to its ability in solving a broad class of practical control problems as well as its structural simplicity allowing the operators to use it without much difficulty. In addition many PID tuning rules have been reported in the literature (see Aström and Hägglund (995) for a good overview) which are simple and easy to use. However most of these tuning methods have a limited domain of applications mainly due to restrictive assumptions concerning the process model. Consequently developing PID tuning techniques for arbitrary process models satisfying some performance specifications remains an important issue. H control theory is a good approach to tackle this problem. Indeed many robust stability and performance problems can be cast and solved into the H framework without any limitation in the order of the plant. However the order of the controller thus obtained is almost always greater than or equal to that of the process. This is of course unacceptable for a correct implementation with most of the commercially available PID controllers (Grassi & Tsakalis 2000). In these conditions the design step must take into account the structure of the controller. This paper was not presented at any IFAC meeting. This paper was recommended for publication in revised form by Associate Editor Masayuki Fujita under the direction of Editor Ian R. Peterson. Corresponding author. Tel.: +33 477 43 84 84; fax: +33 477 43 75 39. E-mail addresses: toscano@enise.fr (R. Toscano) lyonnet@enise.fr (P. Lyonnet). Unfortunately the problem of designing a robust controller with a given fixed structure (e.g. a PID) remains an open issue. This is mainly due to the fact that the set of all fixed order/structure stabilizing controllers is non-convex and disconnected in the space of controller parameters. This is a major source of computational intractability and conservatism (Rockafellar 993). Nevertheless due to their practical importance some new approaches for structured control have been proposed in the literature. Most of them are based on the resolution of Linear Matrix Inequalities LMIs (see for instance: Apkarian Noll and Duong Tuan (2003) Cao Lam and Sun (998) Ebihara Tokuyama and Hagiwara (2004) Genc (2000) Grigoriadis and Skelton (994) He and Wang (2006) Iwasaki and Skelton (995) Mattei (2000) and Saeki (2006)). However a major drawback with these kinds of approaches is the use of Lyapunov variables whose number grows quadratically with the system size. For instance if we consider a system of order 70 this requires at least the introduction of 2485 unknown variables whereas we are looking for the parameters of a fixed order/structure controller which contains a comparatively very small number of unknowns. It is then necessary to introduce new techniques capable of dealing with the non-convexity of certain problems arising in automatic control without introducing extra unknown variables. In this spirit im Maruta and Sugie (2008) (see also Maruta im and Sugie (2008)) have proposed to solve the non-convex optimization problem arising in the design of optimal PI/PID controllers by the use of an augmented Lagrangian particle swarm optimization (ALPSO) (Sedlaczek & Eberhard 2006). Although the results obtained with this method are very convincing it seems that the weakness of this approach lie mainly in the large number of parameters which have to be set by the user namely: the 0005-098/$ see front matter 2009 Elsevier Ltd. All rights reserved. doi:0.06/j.automatica.2009.05.007

200 R. Toscano P. Lyonnet / Automatica 45 (2009) 2099 206 number of particles the initial velocity of the particles and their initial positions the value of the inertia factor the value of the cognitive factor the value of the social factor and the maximum number of iterations. In addition to these latter parameters some other parameters have to be set by the user to handle the constraints of the optimization problem. The difficulty is that there is no systematic procedure to select correctly the above mentioned parameters. The only way is thus to proceed by trial and error but this is time consuming and can be very difficult to do for a large number of parameters. Since the problem of selecting in advance many parameters is not obvious at all it appears necessary to develop tuning strategies requiring the smallest possible number of user defined parameters. For this purpose it seems interesting to use the heuristic alman algorithm (Toscano and Lyonnet in press-a; in press-b) because it possesses only three user defined parameters. The HA (Heuristic alman Algorithm) enters into the category of the so called evolutionary computation algorithms. It shares with PSO interesting features such as: ease of implementation low memory and CPU speed requirements search procedure based only on the values of the objective function no need of strong assumptions such as linearity differentiability convexity etc to solve the optimization problem. In fact it could be used even when the objective function cannot be expressed in an analytic form in this case the objective function is evaluated through simulations. The main objective of this paper is to develop a simple and easy to use tuning strategy for robust PID controllers satisfying multiple H specifications. Finding such controller gain is known to be computationally intractable by the conventional techniques. Therefore to solve this design problem easily and directly without using too many user defined parameters we utilize the heuristic alman algorithm for the resolution of the underlying constrained non-convex optimization problem. The resulting tuning method is applicable both to stable and to unstable systems without any limitation concerning the order of the process to be controlled. However it is difficult to guarantee its effectiveness in a theoretical way because as the PSO HA is essentially a stochastic method. Nevertheless we have evaluated the effectiveness of the proposed method empirically through various numerical experiments. The remaining part of this paper is organized as follows. In Section 2 the robust PID controller design based on the heuristic alman algorithm (HA) is presented. Section 3 shows the validity of the proposed approach on various numerical applications comparisons with previously published works are also given. Finally Section 4 concludes this paper. 2. Robust PID controller design based on the heuristic alman algorithm (HA) In this section a practical design procedure to determine the PID tuning parameters is presented. To this end we first formulate the problem of designing a robust PID controller as an optimization problem. 2.. Formulation of the optimization problem Consider the general feedback setup shown in Fig. in which G(s) represents the transfer matrix of the generalized process to be controlled A B B 2 z w = G(s) with: G(s) = y u C D D 2 C 2 D 2 D 22 () Fig.. Block diagram of the PID feedback control system. and PID (s) is the transfer matrix of the PID controller PID (s) = p + i s + s d + τ s = A B C D 0 0 i A B with: = 0 C D τ I τ 2 d (2) I I p + τ d where p R n u n y is the proportional gain i R n u n y and d R n u n y are the integral and derivative gains respectively and τ is the time constant of the filter applied to the derivative action. This low-pass first-order filter ensures the properness of the PID controller and thus its physical realizability. In addition since G(s) is strictly proper (i.e. it is assumed that D 22 = 0) the properness of the controller ensures the well-posedness of feedback loop. As depicted Fig. the closed-loop system has m external input vectors w R n w... w m R n w m and m output vectors z R n z... z m R n zm. Roughly speaking the global input vector w = w w m T captures the effects of the environment on the feedback system; for instance noise disturbances and references. The global output vector z = z z m T contains all characteristics of the closed-loop system that are to be controlled. To this end the PID control law PID (s) utilizes the measured output vector y R n y to elaborate the control action vector u R n u which modify the natural behavior of the process G(s). The objective is then to determine the PID parameters ( p i d τ) allowing to satisfy some performance specifications such as: a good set point tracking a satisfactory load disturbance rejection a good robustness to model uncertainties and so one. A powerful way to enforce these kinds of requirements is first to formulate the performance specifications as an optimization problem and then to solve it by an appropriate method. In the H framework the optimization problem can take one of the following forms: min s.t. or also: min J (x) = T w z (s x) g (x) = arg max {Re(λ i(x)) i} λ min 0 λ i (x) g 2 (x) = T w2 z 2 (s x) γ 2 0. g m (x) = T wm z m (s x) γ m 0 J λ (x) = arg max λ i (x) {Re(λ i(x)) i} s.t. g (x) = T w z (s x) γ 0 g 2 (x) = T w2 z 2 (s x) γ 2 0. g m (x) = T wm z m (s x) γ m 0 where T wi z i (s x) denotes the closed-loop transfer matrix from w i to z i x R n x is the vector of decision variables regrouping the entries of the matrices p i d and the time constant τ : x = (3) (4)

R. Toscano P. Lyonnet / Automatica 45 (2009) 2099 206 20 loss of generality we assume that the vectors are ordered by their increasing cost function i.e.: Fig. 2. Principle of the algorithm. vec( p ) vec( i ) vec( d ) τ T λ i (x) denotes the ith pole of the closed-loop system and s is the Laplace variable. In the formulation (3) the constraint g (x) is required to ensure the stability of the closed-loop system. To do so the parameter λ min must be set to a negative value. Note that the formulations (3) and (4) are quite general and can be used to specify many control objectives. For instance the formulation (3) includes the PID loopshaping design problem whereas (4) includes the single or mixed sensitivity PID control problem. In the numerical experiments we will see some applications belonging to theses two kind of control problems. The constrained optimization problem (3) (or (4)) can be transformed into an unconstrained one by introducing a new objective function which includes penalty functions. For instance the problem (3) can be reformulated as: J(x) = J (x) + p m max(g i (x) 0). (5) The setting of the weighting factor p is not very critical it is only required to penalize more or less strongly the violations constraints. In all our experiment p has been set to 00. In these conditions we have to find the optimal vector of decision variables x opt R n x defined as: x opt = arg min J(x). (6) x It can be noticed that contrary to the approaches proposed by Ho (2003) and Hwang and Hsiao (2002) the resolution of the optimization problem (6) give directly the values of the n x design parameters without having to fix one of them in advance. Unfortunately the problem thus posed is among the fixed structure/order H controller design problems which is known to be non-convex and thus computationally intractable. Therefore due to the practical importance of the PID control it seems very useful to develop new design strategies for designing optimal robust PID controllers. To this end we present now a brief overview of HA which is capable of dealing with non-convex optimization problems. A more detailed study can be found in Toscano and Lyonnet in press-a; in press-b 2.2. Resolution of the optimization problem via the HA The principle of HA is depicted Fig. 2. The HA includes a Gaussian random generator which produces at each iteration a collection of N vectors that are distributed about a given mean vector m k with a given variance covariance matrix Σ k. This collection can be written as follows: x(k) = { x k x2... } k xn k (7) where x i k is the ith vector generated at the iteration number k: xi k = x i k xi n x k T and x i lk is the lth component of xi k (l =... n x). This random generator is applied to the cost function J. Without J(x ) < k J(x2) < < k J(xN k ). (8) The principle of the algorithm is to modify the parameters of the Gaussian generator so that its mean vector m k coincides with the optimum x opt. More precisely let N ξ be the number of considered best samples that is such that J(x N ξ ) < k J(xi ) k for all i > N ξ. The problem is how to modify the parameters of the Gaussian generator to achieve a reliable estimate of the optimum? To solve this problem a measurement process followed by a alman estimator is introduced. The measurement process consists in computing the average of the candidates that are the most representative of the optimum. For the iteration k the measurement denoted ξ k is then defined as follows: ξ k = N ξ Nξ x i k (9) where N ξ is the number of considered candidates. The alman estimator is used to update the parameters of the Gaussian generator in accordance with the information drawn from the samples i.e. the value of ξ k and the variance vector associated to the best samples: V k = N T ξ (x i k N ξ Nξ k) 2... (x i ξ n x k n x k) 2. (0) ξ Based on the alman equations the updating rules of the Gaussian generator are as follows (see (Toscano and Lyonnet in press-a; in press-b) for a detailed derivation): m k+ = m k + L k (ξ k m k ) S k+ = S k + a k (W k S k ) with: L k = Σ k (Σ k + diag(v k )) W k = vec d (I L k )Σ /2 ( k ( ) ) n 2 x α min vik a k = ( ( min n x n x ) ) n 2 x vik + max i n x (w ik ) () (2) where S k is the standard deviation vector of the Gaussian generator S k = (vec d (Σ k )) /2 vec d (.) is the diagonal vector of the matrix (.) v ik represents the ith component of the variance vector V k defined in (0) w ik is the ith component of the vector W k and the scalar α (0 is given by the designer. The flowchart of the HA is given in Fig. 3. 2.3. Initialization and parameter settings The initial parameters of the Gaussian generator are selected to cover the entire search space. To this end the following rule is used: m 0 = µ.. µ nx µ i = x i + x i 2 Σ 0 = σ 2 0....... 0 σ 2 n x σ i = x i x i i =... n x 6 (3) where x i (respectively x i ) is the ith upper bound (respectively lower bound) of the hyperbox search domain.

202 R. Toscano P. Lyonnet / Automatica 45 (2009) 2099 206 Minimize J λ (x) = arg max {Re(λ i(x)) i} λ i (x) (4) Subject to: x i x i x i i =... n x where λ i (x) represents the ith pole of the closed-loop system. Let x the solution found by HA to the problem (4). If J λ (x ) < 0 then the problem is feasible within D. In this case m 0 (see relation (3)) can be initialized with x leading thus to a search domain centered around a feasible controller parameters. In the case where J λ (x ) 0 because of the stochastic nature of HA this does not necessarily mean that the problem is not feasible (in this case we will say that the problem is probably not feasible). Note that since the hyperbox search domain does not contain a priori all feasible solutions the proposed method can only provide a local optimal solution. However this is not a major disadvantage because a local optimal solution is often sufficient in practice. Further it must be noticed that the theoretical guarantee to obtain a global optimal solution can only be given for convex problems. This is not the case of the considered optimization problems which are non-convex and non-smooth in nature and then not solvable via usual techniques. Therefore the proposed approach seems to be an interesting way for solving this kind of difficult problems in a straightforward manner. 3. Numerical experiments Fig. 3. Flow chart of the HA. Table Effect of the HA parameters ( : increase : decrease). Parameter N N ξ α Number of function evaluations Average error With this rule 99% of the samples are generated in the intervals µ i ± 3σ i i =... n x. We have thus to set the three following parameters: the number of points N the number of best candidates N ξ and the coefficient α. To facilitate this task Table summarizes the influence of these parameters on the number of function evaluations (and so on the CPU time) and on the average error. 2.4. The feasibility issue Note that the initialization rule (3) requires the knowledge of the bounds of a feasible search domain. In many engineering problems these bounds are often known a priori because they are linked to purely material physical considerations. This is not so clear in control problem for which we have to impose a priori an hyperbox search domain containing stabilizing controllers (i.e. potential solutions of the optimal H problem). Finding a priori such a hyperbox is not trivial at all. However for a given hyperbox search domain it is possible using HA to say whether or not the problem is feasible. More precisely the feasibility problem can be stated as follows. Given the hyperbox search domain D = {x i R : x i x i x i i =... n x } is there a stabilizing controller? This important issue can be treated via HA by solving the following optimization problem: In this section the ability of HA in solving the problem of designing a robust SISO or MIMO PID controller is tested on various numerical examples including stable or unstable plants non-minimum phase SISO or MIMO low or high order systems. In all cases our results are compared to those obtained via other synthesis methods. The various experiments were performed using a.2 GHz Celeron personal computer. 3.. Mixed sensitivity approach In this section for comparison purpose the same optimization problem as the one presented in im et al. (2008) is considered: min s.t. J λ (x) = arg max {Re(λ i(x)) i} λ i (x) g (x) = sup W S (s) s=jω S(s x) s=jω 0 ω 0 g 2 (x) = sup W T (s) s=jω T(s x) s=jω 0 ω 0 g 3 (x) = J λ (x) λ min 0 (5) where x = x x 2 x 3 x 4 T is the vector of decision variables s is the Laplace variable ω is the frequency (rad/s) j is the unit imaginary number S(s x) is the sensitivity function defined as S(s x) = /( + L(s x)) T(s x) is the closed-loop system defined as T(s x) = L(s x)/( + L(s x)) L(s x) is the open-loop transfer function defined as L(s x) = G(s)(s x) where G(s) is the transfer function of the system to be controlled and (s x) is the transfer function of the PID controller which depends upon the decision variables as follows: ( (s x) = 0 x + x 0 x 2s + 0 3 ) s. + 0 (x 3 x 4 ) (6) s Note that the relationship between the decision variables of the optimization problem and the parameters of the PID controller are defined as: p = 0 x T i = 0 x 2 T d = 0 x 3 N = 0 x 4 (7) This is done to ensure a broader parameter space of ( p T i T d N). The frequency-dependent weighting functions W S (s) and W T (s) are set in order to meet the performance specifications of the closed-loop system. Note that the optimization problem (5) is of the form (4).

R. Toscano P. Lyonnet / Automatica 45 (2009) 2099 206 203 Table 2 Comparison of the best solutions found via ALPSO and HA (a) without violation constraint (b) case of a small violation constraint. ALPSO HA (a) HA (b) x 3.2548 3.2542 3.2556 x 2 0.8424 0.8634 0.8354 x 3 0.750 0.7493 0.7539 x 4 2.337 2.339 2.327 g (x) 6. 0 3 9.6 0 4 4.9 0 3 g 2 (x) 4.0 0 4.2 0 3 2.8 0 3 J(x).797.706.7435 Table 3 Statistical results (a) without violation constraint (b) case of a small violation constraint. ALPSO HA (a) HA (b) Best.797.706.7435 Mean.7023.738 Worst.689.7323 Std Dev 0.0048 0.0030 CPU time 687 s 266 s 248 s NbFuncEval 25 000 5427 5072 3... Application to a magnetic levitation system The optimization problem (5) has been solved for the magnetic levitation system described in Sugie Simizu and Imura (993). The process model is defined as: P(s) = 7.47 (s 22.55)(s + 20.9)(s + 3.99). (8) The frequency-dependent weighting functions W S (s) and W T (s) are respectively given as: 5 W S (s) = s + 0.. (9) 43.867(s + 0.066)(s + 3.4)(s + 88) W T (s) = (s + 0 4 ) 2 The search space is: 2 x 4 x 2 x 3 x 4 3. In this test we performed the minimization 30 times and we compared our results with those obtained via ALPSO. The following parameters have been used: N = 50 N ξ = 5 and α = 0.4. The best solutions obtained via ALPSO and HA are listed in Table 2(a) and the statistical results are shown in Table 3(a) (the mark means that the corresponding result is not available). The better value of the objective function obtained with ALPSO is due to the violation of the constraint g (x) this is not at all the case in our solution for which all constraints are satisfied. From Table 3(a) we can observe that the number of function evaluations and the related CPU time are very small compared to ALPSO. It is interesting to note that if as in ALPSO a small violation of the constraint g (x) is tolerated we obtain the results listed in Tables 2(b) and 3(b). From Table 2(b) it can be seen that the best solution found by HA is significantly better than the solution found by ALPSO with in addition a smaller violation constraint. Table 3(b) shows that the worst solution found by HA is better than the solution found via ALPSO in addition the number of function evaluations (and so the corresponding CPU time) remains very small compared to ALPSO. 3.2. PID loop-shaping design H loop-shaping design procedure proposed by McFarlane and Glover (992) is an efficient method to design robust controllers Fig. 4. Loop-shaping H design. and has been successfully applied to a variety of practical problems. In this framework the plant G(s) is first shaped with a precompensator W (s) and a post-compensator W 2 (s). The ponderations W and W 2 are chosen so that the weighted plant W 2 GW has a desired loop shape typically a large gain at low frequencies for performance and a small gain at high frequencies for noise attenuation. Once the desired loop shape is achieved H norm of the transfer function matrix from disturbances w and w 2 to the outputs z and z 2 (see Fig. 4) is minimized over all stabilizing controllers : = arg min T zw () = arg min HW2 GW H HW 2 GW H (20) with: H = (I W 2 GW ) Subject to: max {Re(λ i()) i} < 0. λ i () The final controller is then implemented as W W 2 and has no specific structure. The quantity ɛ = / T zw ( ) is known as the robust stability margin; usually value of ɛ > 0.2 or 0.3 is considered as very satisfactory in the sense that the controller does not significantly alter the desired open-loop frequency response. Moreover this ensures robustness of the closed-loop system to coprime factor uncertainties (McFarlane & Glover 992). For loop-shaping design with PID we adopt the strategy introduced in Apkarian Bompart and Noll (2007) and Genc (2000). In this approach the controller is structured as = W PID where PID is the PID controller (2). Thus the optimization problem (20) becomes: PID Subject to: = arg min T zw ( PID ) PID max {Re(λ i( PID )) i} < 0 λ i ( PID ) where T zw ( PID ) is given by: W T zw ( PID ) = PID HW 2 GW W PID H HW 2 GW H H = (I W 2 G PID ). (2) (22) The final controller is then implemented as PID W 2. Since W 2 is usually chosen as a low-pass filter the resulting controller has better noise attenuation in the high frequency range than an usual PID controller. 3.2.. Application to a separating tower We consider now the application of the HA to the control design for a chemical process described in Apkarian et al. (2007) and Genc (2000). It consists of a 24-tray tower for separating methanol and water. The transfer matrix model for controlling the temperature on the 4th and 7th trays is given as: 2.2e s = 7s + t 4 t7 2.8e.8s 9.5s +.3e 0.3s 7s + 4.3e 0.35s 9.2s + u Note that this optimization problem is of the form (3). u 2. (23)

204 R. Toscano P. Lyonnet / Automatica 45 (2009) 2099 206 The transfer matrix (23) is approximated by a rational model using 2nd-order Padé approximation of the delays. This lead to a 2thorder model. The weighting matrix W and W 2 are taken from Genc (2000) and Apkarian et al. (2007): 5s + 2 W (s) = s + 0.00 0 0 W 2 (s) = s + 0 0 0 5s + 2 s + 0.00 0 0. (24) s + 0 The complete system incorporating the compensators is therefore of 8th-order. Our objective is to find the PID parameters x = x... x 3 ( 3 x i 3 i =... 3) defined as follows: p x x PID (s x) = 2 + x 3 x 4 i x5 x 6 x 7 x 8 s + d x9 x 0 x x 2 s + x 3 s (25) to obtain the best possible robustness margin. In Genc (2000) a state space BMI formulation has been used to characterize PID solutions of the H optimization problem (2). The algorithm used to solve this problem is a D iteration scheme. The author reported 38 min of CPU time to obtain the following solution: 2.479.2098 p =.667 2.4766 0.4657 0.3 i = (26) 0.2329 0.487 0.0534 0.0072 d = τ = 0.06. 0.05 0.0434 The corresponding robustness margin is ɛ = /4.02 = 0.249. In Apkarian et al. (2007) the same problem was solved using a nonsmooth optimization technique. The algorithm was initialized with the solution (26) and the following PID was found in about min: 2.6047 0.6543 p =.253 2.3226 i = 0.744 0.255 d = τ = 0.527..560 0.033 0.8527 0.259 0.070 0.9362 (27) The corresponding robustness margin is ɛ = /2.9 = 0.343. This is an impressive improvement in term of CPU time and robustness margin compared to the result reported by Genc (2000). In our case we solved the optimization problem 5 times (N = 50 N ξ = 2 and α = 0.5) the corresponding statistical results are shown Table 4. The best solution found via HA is as follows: 2.609 0.6952 p =.068 2.4394 0.8025 0.2047 i = (28) d = 0.0390 0.8408 0.7442 0.2852.5979 0.0300 τ = 0.538. The corresponding robustness margin is ɛ = /2.93 = 0.34. Step responses are shown in Fig. 5. The best solution (28) was found in about 66 s on.2 GHz Celeron personal computer. Note that this PID controller is very close to the result obtained by Apkarian et al. (2007). However it must be noticed that the proposed approach is very easy to use and does not require any complicated mathematical derivation. Compared to D iteration or nonsmooth optimization HA seems to be a good alternative in terms of simplicity near optimality of the solutions and computation time. Fig. 5. Step responses obtained with the HA PID controller. Fig. 6. Step responses obtained with the PID controller (30).

R. Toscano P. Lyonnet / Automatica 45 (2009) 2099 206 205 2.22e 2.5s 2.94(7.9s + )e 0.05s 0.2s 0.07e 0.64e 20s (36s + )(25s + ) (23.7s + ) 2 (3.6s + )(7s + ) (29s + ) 2.33e 5s.0s 3.46e 0.5e 7.5s 2s.68e G(s) = (35s + ) 2 (32s + ) (32s + ) 2 (28s + ) 2.06e 22s 3s.0s 3.5e 4.4e 5.38 0.5s (7s + ) 2 (2s + ) 2 (6.2s + ) (7s + ) 5.73e 2.5s 4.32(25s + )e 0.0s.25e 2.8s 4.78e.5s (50s + )(8s + ) (50s + )(5s + ) (43.6s + )(9s + ) (48s + )(5s + ) Box I. Table 4 Statistical results (separating tower). T zw ( PID ) HA Best Mean Worst 2.93 3.23 3.78 Standard Deviation 0.3 CPU time (Average) 70 s Iterations (Average) 83 between its channels (i.e. Box I does not exhibit open-loop column diagonal dominance). To apply our approach the transfer matrix Box I is approximated by a rational model using 2nd-order Padé approximation of the delays. This lead to a 60th-order model. The weighting matrix W and W 2 are as follows: Fig. 7. Step responses obtained with static decoupling and decentralized control. 3.2.2. Application to a 4 4 chemical process In this last experiment we show the ability of HA to deal with high dimensional MIMO control problems. For this purpose we consider the control design for a 4 4 chemical process (Alatiqui column) described in Chen and Seborg (2003). The transfer matrix of this process is given by Box I. A non-negligible difficulty for the control of this process comes from the presence of long time delay as well as strong interaction 268( + 90s) W (s) = I 4 W 2 (s) = 5 + 5285s s + 5 I 4. (29) The complete system incorporating the compensators is therefore of 72th-order. Our objective is to find the PID parameters x = x... x 49 within the hyperbox search domain D = {x i R : 0 x i 0 i =... 49} satisfying (2). First we use the approach described in Section 2.4 to evaluate the feasibility problem. Solving problem (4) via HA we get an initial stabilizing controller parameters x stab (see Appendix) which shows that D is feasible (i.e. it contain potential solutions). Thus problem (2) can then be solved within D. Starting HA from x stab we solved the optimization problem (2) 5 times (N = 50 N ξ = 5 and α = 0.4) the corresponding statistical results are shown Table 5. The best solution found via HA is as follows: 0.7398.5709 0.3564 0.0693 2.080 2.9866 0.3792 2.5675 p =.420.2494 0.883 2.7487.478.3537 2.3469 2.6240 0.042 0.0068 0.070 0.0272 0.049 0.004 0.050 0.0785 i = 0.088 0.0 0.2302 0.0797 (30) 0.05 0.0066 0.99 0.089 0.8027 0.76 0.44 0.397.5728 0.6678 0.0509 0.9496 d = 0.4279.8348 0.0335 0.5448 0.5928 0.2767 0.6895 0.958 τ = 0.6646. The corresponding robustness margin is ɛ = /2.983 = 0.33. Step responses are shown in Fig. 6. The best solution (30) was found in about 2580 s. For comparison Fig. 7 gives the step responses obtained with a decentralized control using a static decoupler (see Chen and Seborg (2003)). From Figs. 6 and 7 we can appreciate the quality of the responses obtained via H loop-shaping technique: better transient responses as well as lowest interactions between channels.

206 R. Toscano P. Lyonnet / Automatica 45 (2009) 2099 206 Table 5 Statistical results (4 4 chemical process). T zw ( PID ) HA Best Mean Worst 2.983 3.09 3.26 Standard Deviation 0.05 CPU time (Average) 2760 s Iterations (Average) 78 4. Conclusion In this paper a straightforward design method for robust PID controllers satisfying multiple H performance criteria was developed. This sort of control problem usually results in a nonconvex constrained optimization problem which is known to be very difficult to deal with. This is why to solve in a direct way this kind of control problem we have proposed to use the Heuristic alman Algorithm. Indeed HA runs without any conservative assumption usually required in the conventional methods in addition it allows to determine PID gains by solving the constrained optimization problem in a direct way without requiring too many design parameters unlike other stochastic algorithms such as ALPSO. Various simulation studies have demonstrated the validity of the proposed approach and comparisons with previously published works have shown that HA leads to better results notably concerning the minimality of the solutions found and the CPU time. Appendix. Initial stabilizing controller x stab x stab = 0.888.6427 0.2887 0.095 2.360 2.740.574 2.6494 2.092 0.7752 0.8620 2.628.826.430 2.2920 2.7665 0.0638 0.0078 0.0798 0.0500 0.0588 0.07 0.035 0.0587 0.086 0.0026 0.0342 0.0959 0.005 0.032 0.0555 0.0002 0.3900 0.3476 0.3904 0.042 0.0929 0.3375 0.638 0.406 0.262 0.4938 0.0735 0.03 0.029 0.4360 0.3509 0.2246 0.7052 T References (A.) Aström. J. & Hägglund T. (995). PID controllers: Theory design and tuning. Research Triangle Park North Carolina: Instrument Society of America. Apkarian P. Bompart V. & Noll D. (2007). Nonsmooth structured control design with application to PID loop-shaping of a process. International Journal of Robust Nonlinear Control 7 320 342. Apkarian P. Noll D. & Duong Tuan H. (2003). Fixed-order Hinf control design via a partially augmented Lagrangian method. International Journal of Robust and Nonlinear Control 3 37 48. Cao Y. Lam J. & Sun Y.-X. M. (998). Static output feedback stabilization: An ILMI approach. Automatica 34 64 645. Chen D. & Seborg E. (2003). Design of decentralized PI control systems based on Nyquist stability analysis. Journal of Process Control 3 27 39. Ebihara Y. Tokuyama. & Hagiwara T. (2004). Structured controller synthesis using LMI and alternating projection method. International Journal of Control 77 37 47. Genc A. U. (2000). A state space algorithm for designing H loop-shaping PID controllers. Tech. report Cambridge U: Cambridge University. Grassi E. & Tsakalis. (2000). PID controller tuning by frequency loop-shaping: Application to diffusion furnace temperature control. IEEE Transactions on Control Systems Technology 8 842 847. Grigoriadis. M. & Skelton R. E. (994). Alternating convex projection methods for covariance control design. International Journal of Control 60 083 06. He Y. & Wang Q. G. (2006). An improved ILMI method for static output feedback control with application to multivariable PID control. IEEE Transaction on Automatic Control 5 678 683. Hwang C. & Hsiao C. Y. (2002). Solution of a non-convex optimization arising in PI/PID control design. Automatica 38 895 904. Ho M. (2003). Synthesis of H PID controllers: A parametric approach. Automatica 36 069 075. Iwasaki T. & Skelton R. E. (995). The XY-centering algorithm for the dual LMI problem: A new approach to fixed-order control design. International Journal of Control 62 257 272. im T. H. Maruta I. & Sugie T. (2008). Robust PID controller tuning based on the constrained particle swarm optimization. Automatica 44 04 0. Maruta L. im T. H. & Sugie T. (2008). Synthesis of fixed-structure H controllers via constrained particle swarm optimization. Proc. of the 7th IFAC world congress (pp. 7843 7848). Mattei M. (2000). Sufficient conditions for the synthesis of H fixed-order controllers. International Journal of Robust and Nonlinear Control 0 237 248. McFarlane D. & Glover. (992). A loop shaping design procedure using H synthesis. IEEE Transactions on Automatic Control 37 759 769. Rockafellar R. T. (993). Lagrange multipliers and optimality. SIAM Review 35 83 238. Saeki M. (2006). Fixed structure PID controller design for standard H control problem. Automatica 42 93 00. Sedlaczek. & Eberhard P. (2006). Using augmented Lagrangian particle swarm optimization for constrained problems in engineering. Structural and Multidisciplinary Optimization 32 277 286. Toscano R. & Lyonnet P. (2009). Heuristic alman Algorithm for solving optimization problems. IEEE transaction on systems man and cybernetics part B (in press). Toscano R. & Lyonnet P. (2009). A new heuristic approach for non-convex optimization. Information Sciences (in press). Sugie T. Simizu. & Imura J. (993). H control with exact linearization and its application to magnetic levitation systems. In IFAC 2th World congress (pp. 363 366). Vol. 4. Rosario Toscano was born in Catania Italy. He received his masters degree with specialization in control from the Institut National des Sciences Appliquées de Lyon in 996. He received the Ph.D. degree from the Ecole Centrale de Lyon in 2000. He received the HDR degree (Habilitation to Direct Research) from the University Jean Monnet of Saint-Etienne in 2007. He is currently an associate professor at the Ecole Nationale d Ingénieurs de Saint- Etienne (ENISE). His research interests include dynamic reliability fault detection robust control and multimodel approach applied to diagnosis and control. Patrick Lyonnet was born in Roman France. He received the M.S. degree from the Université de Technologie de Compiégne France in 979 and the Ph.D. degree from the same université in 99. He is currently professor at the Ecole Nationale d Ingénieurs de Saint-Etienne (ENISE). His research interests in the Laboratory of Tribology and Dynamical Systems (LTDS UMR 553) include fault detection reliability and the maintenance of industrial systems. He is an active member of the institute of management of the risk.