Full text
Universitat Polit` ecnica de Catalunya Programa de Doctorat: Autom` atica, Rob` otica i Visi´ o Tesi Doctoral DIAGNOSIS AND FAULT-TOLERANT CONTROL USING SET-BASED METHODS Feng XU Directors: Dr. Vicen¸c Puig Cayuela i Dr. Carlos Ocampo Mart´ınez Setembre de 2014
To my family and people who encourage me. . .
"Only knowledge is eternal !"
Declaration I hereby declare that this dissertation is the result of my own work and is not substantially the same as any work that has been submitted for a degree, diploma or other qualifications at any other university or institution. Feng XU Barcelona, Spain, September 2014 v
Acknowledgements It is an exciting moment for me to arrive at the end of my Ph.D. research. On the road to this moment, like most of Ph.D. students, I have experienced excitement, depression, success and failure. But, nowadays all of these complex feelings have been integrated into my life of this period, which has added beautiful colors to my memory. The past time of my Ph.D. research has significant impact on my mind, knowledge, value, etc. Thanks to this period, I have built a foundation for my future academic exploration. Wherever I will be, I will try my best to use the knowledge and experience I have obtained to contribute to the world, my country, my family and myself. Here, I want to express my sincerest gratitude to those people/institutions deeply affecting me during this wonderful journey. First, I want to thank my Ph.D. supervisors Dr. Vicenç Puig Cayuela and Dr. Carlos Ocampo Martínez for their efforts to guide me. They help me a lot from the application of my Ph.D. position to my daily life in Barcelona. I recall that, especially at the beginning, I almost know nothing about the city, the university, the institute and the research topic. However, they guide me to learn how to find materials, propose ideas, write scientific documents and so on with their great patience. They also establish academic platforms to let me share ideas with some other researchers in the field, which is key for me to understand the world of knowledge. If I become a researcher/teacher in the future, these experience will be my wealth. Second, I want to thank Dr. Sorin Olaru from Supeléc (France). In my eyes, he is an excellent researcher who can always give me some key suggestions from writing to thinking. Sometimes, he "attacks" my ideas and gives harsh comments. But because of these rigid suggestions, I can be driven to do something better than what I imagine at the beginning. This is very helpful for me to grow up. Besides, I also thank Dr. Sorin Olaru and Dr. Silviu-Iulian Niculescu to accept me as a visiting Ph.D. student in Supeléc and finance my academic stay there. This experience gives me chance to understand how the people in one of the most prestigious French schools are doing their research. With no doubt, I am inspired by the people there. Hence, I want to express my gratitude to all the people (Didier Dumur, Pedro Rodriguez, Martin Gulan, Ngoc Anh Nguyen, Minh Tri Nguyen, Mohamad Koteich, Sofiane Ben Chabane, etc.) I met in the Automatic Control Group of Supeléc for their help. Third, I want to thank Dr. Florin Stoican from the “Politehnica” University of Bucharest (Romania) for his help on the topic of invariant sets in fault detection and isolation and faulttolerant control. Frankly speaking, I learn about my Ph.D. topic by starting reading his wonderful Ph.D. dissertation. In my research, whenever I meet some troubles on the topic and send emails to him for help, he always patiently gives me constructive suggestions to continue my work. He also gives me a lot of important comments for my research papers and helps me improve my writing skills. Fourth, I want to thank all the people (Juan Manual Grosso Pérez, Bernat Joseph Duran, Syed Farzad Husain, David Martínez Martínez, Eloy Retamino Carrion, Edgar Simo Serra, etc.) at the Institut de Robòtica i Informàtica Industrial. They provide me a friendly atmosphere, which allows me to focus on my research and enjoy my life in Barcelona. Especially vii
thank Juan Manual Grosso Pérez who always positively discusses some common topics of our research with me and motivates me a lot. I will always memorize the precious lunch time together with these inspiring people. Fifth, I want to thank my undergraduate supervisor Dr. Jiang Dongfang in the School of Automation of the Northwestern Polytechnical University, Xi’an, P.R.China. He guides me from a childish middle school student to an engineer. Not only before but also after I left the university, I have been obtaining important suggestions from him to plan my future career. Sixth, I want to thank my Ph.D. Scholarship provider (China Scholarship Council). This is an organization that takes responsibility for the Chinese government to select and finance thousands of excellent Chinese master and Ph.D. students every year to pursue higher academic experience in world-famous universities/institutes. For the government, the council and the students, I believe that we have a common dream to completely revive the historical glory of the country as one of the most important leaders in the world. Based on the current economic, scientific and technical foundations built by the previous generations, I always believe that our young generation can completely accomplish this historical mission. Seventh, I want to thank the projects/grants that partially finance my research. They are the Spanish research projects CICYT SHERECS DPI-2011-26243 and WATMAN (DPI2009- 13744) of the Science and Technology Ministry, the DGR of Generalitat de Catalunya (SAC group Ref. 2009/SGR/1491) and the contract i-Sense (FP7-ICT-2009-6-270428) by the European Commission. Finally, I want to thank my parents, brother, relatives and friends who encourage me. Especially for my parents, I only went back to see them one time during my Ph.D. because of time. Hence, I always feel guilty that I do not take enough responsibility to observe filial piety. Feng XU Barcelona, Spain, September 2014 viii
Abstract The fault-tolerant capability is an important performance specification for technical systems. Examples showing its importance are some catastrophes in civil aviation. According to official investigations, some air accidents due to failures are technically avoidable if the pilots can take right measures. But, relying on the skill and experience of the pilots, it cannot be guaranteed that reliable flight decisions are always made. Instead, if fault-tolerant strategies can be included in the decision-making procedure, it will be very useful for safer flight. Fault-tolerant control is generally classified into passive and active fault-tolerant control. Passive fault-tolerant control relies on the robustness of the controller, which can only provide limited fault-tolerant ability, while active fault-tolerant control turns to a fault detection and isolation module to obtain fault information and then to actively take actions to tolerate the effect of faults. Generally, active fault-tolerant control has more powerful fault-tolerant ability than passive fault-tolerant control. In this dissertation, one focuses on active fault-tolerant control, which for this case considers model predictive control and set-based fault detection and isolation. Model predictive control is a successful advanced control strategy in process industry and has been widely used for processes such as chemistry and water treatment, because of its ability to deal with multivariable constrained systems. However, the performance of model predictive control has deep dependence on model accuracy. Realistically, it is impossible to avoid the effect of modelling errors, disturbances, noises and faults, which always result in model mismatch. Comparatively, model mismatch induced by faults is possible to be effectively handled by suitable fault-tolerant strategies. The objective of this dissertation is to endow model predictive control with faulttolerant ability to improve its effectiveness. In order to reach this objective, set-based fault detection and isolation methods are used in the proposed fault-tolerant schemes. The important advantage of set-based fault detection and isolation is that it can make robust fault detection and isolation decisions, which is the key for taking right fault-tolerant measures. This dissertation includes four parts. The first part introduces this research, presents the state of the art and gives an introduction of used research tools. The second part proposes setbased fault detection and isolation for actuator and sensor faults, which is involved in interval observers and invariant sets. In the second part, the relationship between interval observers and invariant sets is firstly investigated. Then, actuator and sensor faults are separately coped with depending on their own features. The third part focuses on actuator and sensor fault-tolerant model predictive control, where the control strategy is robust model predictive control. The last part draws some conclusions, summarizes this research and gives clues for the future work. Key words:Fault Detection and Isolation, Fault-tolerant Control, Model Predictive Control, Invariant Sets, Interval Observers, Zonotopes. ix
Contents I Preliminaries 5 1 Introduction 6 1.1 Motivation..................................... 6 1.2 Objectives of Dissertation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.3 OutlineofDissertation .............................. 9 2 Research Background 12 2.1 StateoftheArt .................................. 12 2.1.1 Faults and Fault Tolerance . . . . . . . . . . . . . . . . . . . . . . . . 12 2.1.2 Set-based Fault Detection and Isolation . . . . . . . . . . . . . . . . . 13 2.1.3 Fault-tolerant Model Predictive Control . . . . . . . . . . . . . . . . . 15 2.2 ResearchTools .................................. 16 2.2.1 PolyhedralSets.............................. 16 2.2.2 InvariantSets............................... 21 2.2.3 Robust Model Predictive Control . . . . . . . . . . . . . . . . . . . . . 23 2.3 Summary ..................................... 26 II Fault Detection and Isolation 28 3 Invariant Sets and Interval Observers 29 3.1 ProblemFormulation ............................... 29 3.2 Invariant Sets in Fault Detection . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.3 Interval Observers in Fault Detection . . . . . . . . . . . . . . . . . . . . . . . 31 3.4 Relationship of Invariant Sets and Interval Observers . . . . . . . . . . . . . . 33 xvii
CONTENTS 3.4.1 Bounds of Interval Observers . . . . . . . . . . . . . . . . . . . . . . 33 3.4.2 Relationship in Terms of Intermediate Sets . . . . . . . . . . . . . . . 35 3.4.3 Relationship in Terms of Residuals . . . . . . . . . . . . . . . . . . . 35 3.4.4 BriefDiscussions............................. 36 3.5 Comparison of Invariant Sets and Interval Observers . . . . . . . . . . . . . . 37 3.5.1 Computational Complexity . . . . . . . . . . . . . . . . . . . . . . . . 37 3.5.2 Conservatism in Fault Detection . . . . . . . . . . . . . . . . . . . . . 38 3.6 IllustrativeExample................................ 39 3.6.1 Relationship in Terms of Set Sizes . . . . . . . . . . . . . . . . . . . . 40 3.6.2 Relationships in Terms of Bounds . . . . . . . . . . . . . . . . . . . . 43 3.6.3 Relationships in Transient and Steady Fault Detection . . . . . . . . . 43 3.6.4 Comparison of Computational Complexity . . . . . . . . . . . . . . . 43 3.7 Summary ..................................... 44 4 Actuator-fault Detection and Isolation using Set-based Methods 45 4.1 Introduction.................................... 45 4.2 ProblemFormulation ............................... 46 4.2.1 PlantModels ............................... 46 4.2.2 IntervalObservers ............................ 47 4.3 ResidualAnalysis................................. 49 4.3.1 ResidualZonotopes............................ 49 4.3.2 Adaptive Bounds for Residual Zonotopes . . . . . . . . . . . . . . . . 50 4.3.3 Static Bounds for Residual Zonotopes . . . . . . . . . . . . . . . . . . 51 4.4 Fault Detection and Isolation Conditions . . . . . . . . . . . . . . . . . . . . . 52 4.4.1 Theoretical Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . 52 4.4.2 PracticalConditions ........................... 54 4.5 Fault Detection and Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 4.5.1 Fault Detection and Isolation . . . . . . . . . . . . . . . . . . . . . . . 54 4.5.2 InitialZonotopes............................. 58 4.6 IllustrativeExample................................ 59 4.7 Summary ..................................... 64 5 Sensor-fault Detection and Isolation using Set-based Methods 65 xviii
CONTENTS 5.1 Introduction.................................... 65 5.2 ProblemFormulation ............................... 66 5.2.1 PlantModels ............................... 66 5.2.2 IntervalObservers ............................ 67 5.3 ResidualAnalysis................................. 67 5.3.1 ResidualZonotopes............................ 68 5.3.2 Residual-bounding Zonotopes . . . . . . . . . . . . . . . . . . . . . . 68 5.4 Fault Detection and Isolation Conditions . . . . . . . . . . . . . . . . . . . . . 69 5.4.1 Collecting Process Information . . . . . . . . . . . . . . . . . . . . . . 69 5.4.2 Fault Detection and Isolation Conditions . . . . . . . . . . . . . . . . 71 5.5 Fault Detection and Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 5.5.1 FaultDetection.............................. 74 5.5.2 FaultIsolation .............................. 75 5.5.3 Starting Sets for Fault Isolation . . . . . . . . . . . . . . . . . . . . . 78 5.5.4 Fault Detection and Isolation Algorithm . . . . . . . . . . . . . . . . . 81 5.6 IllustrativeExample................................ 83 5.7 Summary ..................................... 92 III Fault-tolerant Control 93 6 Fault-tolerant Model Predictive Control for Actuator Faults 94 6.1 Introduction.................................... 94 6.2 ProblemFormulation ............................... 95 6.2.1 PlantModels ............................... 95 6.2.2 SetpointTracking............................. 96 6.2.3 Observers................................. 97 6.2.4 Model Predictive Controllers . . . . . . . . . . . . . . . . . . . . . . . 97 6.3 Fault Detection and Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.1 SystemAnalysis ............................. 98 6.3.2 FaultDetection.............................. 99 6.3.3 FaultIsolation ..............................100 6.4 Fault-tolerantControl...............................104 xix
CONTENTS 6.4.1 Model Predictive Control . . . . . . . . . . . . . . . . . . . . . . . . . 104 6.4.2 Transient-state Behaviors . . . . . . . . . . . . . . . . . . . . . . . . . 105 6.4.3 Active Fault Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 6.4.4 Fault-tolerant Control Algorithm . . . . . . . . . . . . . . . . . . . . . 107 6.5 IllustrativeExample................................108 6.6 Summary .....................................119 7 Fault-tolerant Model Predictive Control for Sensor Faults 120 7.1 Introduction....................................120 7.2 ProblemFormulation...............................121 7.2.1 PlantModels ...............................121 7.2.2 SetpointTracking.............................122 7.3 Fault Detection and Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 7.3.1 FaultDetection..............................123 7.3.2 FaultIsolation ..............................124 7.4 Fault-tolerantControl...............................128 7.4.1 Model Predictive Controller . . . . . . . . . . . . . . . . . . . . . . . 128 7.4.2 Robust State Estimation . . . . . . . . . . . . . . . . . . . . . . . . . 129 7.4.3 Fault-tolerant Control Approach . . . . . . . . . . . . . . . . . . . . . 130 7.4.4 Fault-tolerant Control Algorithm . . . . . . . . . . . . . . . . . . . . . 132 7.5 IllustrativeExample................................133 7.6 Summary .....................................144 IV Concluding Remarks 145 8 Conclusions and Future Research 146 8.1 MainConclusions.................................146 8.2 FutureResearch..................................148 xx
CONTENTS Notations BrUnitary box composed of runitary intervals RSet of real numbers R+Set of positively real numbers RnSet of n-dimensional real vectors Rn +Set of n-dimensional positively real vectors Rm×nSet of real m×nmatrices NSet of natural numbers |·|Absolute value k·ksEuclidean s-norm ⊕Minkowski sum Pontryagin difference IIdentity matrix with suitable dimensions OZero matrix with suitable dimensions diag(·) Diagonal matrix with suitable dimensions center(·) Center of a centered set αTTranspose of a vector/matrix α [x,x]/(x,x) Interval/Open interval (x1,x2,...,xn) Row vector ([x1,x1],[x2,x2],...,[xn,xn]) Row interval vector 1
CONTENTS Acronyms FTC Fault-tolerant Control AFTC Active Fault-tolerant Control PFTC Passive Fault-tolerant Control FD Fault Detection FI Fault Isolation FDI Fault Detection and Isolation FDD Fault Detection and Diagnosis MPC Model Predictive Control FTMPC Fault-tolerant Model Predictive Control PI Positively Invariant RPI Robust Positively Invariant mRPI Minimal Robust Positively Invariant CI Controlled Invariant MCI Maximal Controlled Invariant RCI Robust Controlled Invariant MRCI Maximal Robust Controlled Invariant 2
CONTENTS List of Figures Figure 3.1 System framework Figure 3.2 Relationship in terms of set sizes Figure 3.3 Relationship in terms of bounds Figure 3.4 Two approaches in FD Figure 4.1 Actuator FDI scheme Figure 4.2 FDI of Fault 1 Figure 4.3 FDI of Fault 2 Figure 5.1 FD of Fault 1 Figure 5.2 FI of Fault 1 Figure 5.3 FD of Fault 2 Figure 5.4 FI of Fault 2 Figure 6.1 Actuator FTMPC scheme Figure 6.2 Circuit Figure 6.3 After-fault sets of output estimation errors Figure 6.4 FD of Fault 1 Figure 6.5 Outputs of Scenario 1 Figure 6.6 Inputs of Scenario 1 Figure 6.7 States of Scenario 1 Figure 6.8 FD of Fault 2 Figure 6.9 FI of Fault 2 Figure 6.10 Outputs of Scenario 2 Figure 6.11 Inputs of Scenario 2 Figure 6.12 States of Scenario 2 Figure 7.1 Sensor FTMPC scheme Figure 7.2 Relevant state sets Figure 7.3 Output sets for active FI Figure 7.4 FD of Fault 1 Figure 7.5 FI of Fault 1 Figure 7.6 Inputs of Scenario 1 Figure 7.7 Comparison of states and state estimations of Fault 1 Figure 7.8 FD of Fault 2 Figure 7.9 FI of Fault 2 Figure 7.10 Inputs of Scenario 2 Figure 7.11 Comparison of states and state estimations of Fault 2 3
CONTENTS List of Tables Table 4.1 Parameters of CSTR Table 5.1 Residual zonotopes Table 5.2 Limit sets of residual-bounding zonotopes Table 5.3 Transformation of Table 5.2 Table 5.4 RPI sets of residual zonotopes Table 5.5 Available off-line system information Table 6.1 Sets of output estimation errors 4
Part I Preliminaries 5
Chapter 2 Research Background This chapter introduces the background knowledge related to this research, which includes polyhedral sets, invariant sets and robust MPC. The set-theoretic methods are the core tools of FDI of this research. The robust MPC technique is the control strategy used for fault tolerance in the proposed FTC schemes. 2.1 State of the Art This section introduces the notions of faults and fault tolerance and briefly reviews the progress of fault-tolerant strategies. Considering that the topic of this dissertation concentrates on fault tolerance using robust MPC and set-theoretic methods, this section focuses on the research background related to these areas. 2.1.1 Faults and Fault Tolerance A fault in a dynamic system is a deviation of the system structure or system parameters from its nominal system [5]. Faults may occur in the plant, sensors or actuators. Plant faults change the plant input/output relationship, sensor faults affect the link of the plant and controller, while actuator faults reduce the ability of the controller to influence the plant. Generally, the occurrence of faults always affects the normal operation of the system to some extent, seriously even resulting in catastrophes. For the sake of preserving system performance, failure avoidance/system safety, some necessary measures should be taken for the fault-affected system. The objective of FTC is to keep the system performance even in the presence of faults. Generally, FTC is classified into passive fault-tolerant control (PFTC) and active fault-tolerant control (AFTC) [5]. PFTC utilizes the controller robustness to tolerate the effect of faults, where one robust controller is used to resist the effect of possible 12
2.1 State of the Art faults. Different from PFTC, after fault occurrence, the first step of AFTC is to obtain fault information by FDD, then the second step is to tolerant faults by control redesign. In the PFTC schemes, generally, fault tolerance is achieved without changing the controller. This implies that the controller is used to deal with all possible faults. Hence, the fault-tolerant ability of PFTC schemes is restrictive and can only adapt limited changes of the system induced by faults. With less flexibility, PFTC can only deal with a finite number of faults and the obtained solutions are suboptimal. Some PFTC approaches found in the literature are H∞robust control, adaptive compensation, quantitative feedback theory and variable structure control/sliding mode control. In [21], an overview of PFTC can be found. Different from PFTC, AFTC includes FDD and control redesign. As said in [5], FDD includes the steps of fault detection, isolation, identification and estimation and can be implemented by means of a variety of methods, which are generally classified into model-based and data-based approaches. The model-based techniques use the mathematical models of the system as references to compare with the measured signals of the system. In the literature [72], the model-based methods include the four commonly used techniques: state estimation, parameter estimation, simultaneous/joint state & parameter estimation and parity space. The data-based techniques mainly include those methods using statistical methods, neural networks, fuzzy logic, etc. The other step of AFTC is control redesign. In the AFTC schemes, after fault occurrence, the fault information can be obtained by FDD. Then, the obtained fault information is used to actively tolerate the effect of faults. Control redesign can be implemented by fault accommodation and control reconfiguration. Fault accommodation is limited to internal controller changes and adapts control parameters to the dynamics of the faulty system and the input and output of the plant remain the same as the nominal system, which means that the loop cannot be restructured. If fault accommodation cannot deal with faults, one has to reconfigure the control loop (i.e., control reconfiguration) to maintain stability and acceptable performance [5]. When using control reconfiguration, it means that the control loop has to be restructured to handle the faults and the controller parameters must be also adjusted to accommodate the changes in the faulty dynamics. As reviewed in [72], the existing reconfigurable control design methods fall into pseudo inverse, gain scheduling/linear parameter varying, model following, adaptive control, multiple model, feedback linearization/dynamic inversion, MPC, generalized internal model control, neural networks, fuzzy logic, etc. 2.1.2 Set-based Fault Detection and Isolation As aforementioned, FDI can be implemented by means of different methods. Under the framework of model-based FDI, for the systems with disturbances and noises, FDI 13
2.1 State of the Art usually uses the methods such as Kalman filters and unknown input observers [14,45, 63], where the priori knowledge of the distributions of disturbances and noises should be available. Differently, the proposed FDI methods in this dissertation are based on sets, which can provide FDI robustness by only requiring the bounds of disturbances and noises without need of their probabilistic distributions. In the literature, there exist three commonly used set-based FD approaches, i.e., invariant set-based, interval observer-based, set membership estimation [2,15,17,20, 40,41,44,48,54,55,57,58,60,62]. The common feature of these FD approaches consists in testing consistency between the measured real-time signals and the reference signals estimated from the system models. For a faultless system, based on the nominal system model, one can construct a healthy invariant set to confine the residual in the nominal operation. Thus, as long as the system is healthy, the residual will always stay inside the healthy invariant set at steady state (this point will be further explained later). Thus, whenever it is detected that the residual goes out of its healthy invariant set, it implies that faults have occurred in the system. Please see [56,57] for the details of this approach. The interval observer-based method consists in designing an interval observer based on the nominal system model [18–20,36,39,40,47–49,52]. Provided that an initial state set that contains the initial state of the system is given, the interval observer can estimate the upper and lower bounds of states and outputs in real time by using the measured inputs and outputs. FD based on interval observers is implemented by testing consistency between the measured outputs and their estimated bounds. If a violation is detected, it implies that the system has become faulty. Otherwise, it is still considered that the system is faultless. Differently, the objective of set-membership estimation approaches is to robustly estimate the system states [2,15,29,46,54]. It is known that the real system is always affected by uncertainties such as disturbances and noises. It is impossible to obtain the accurate state values. The set-membership approaches estimate the sets of all possible states by two steps, i.e., prediction and correction steps. The prediction step uses the current system inputs and the estimated state set at the previous time instant to predict the state set at the current time instant. The correction step uses the current outputs to correct the predicted state set from the prediction step and obtains a more accurate state estimation set at the current time instant. If the state estimation set obtained after the prediction and correction steps is empty, it means that the system has become faulty. Otherwise, it is still considered that the system is healthy [7,13]. Although all the aforementioned set-based approaches have been successfully used in FD, few works on the FI application of interval observers are proposed. Before, interval observer or set-membership estimation based fault diagnosis schemes generally rely on some other FI techniques [7,47]. Thus, as one of the objectives of this research, this dissertation wants to implement interval observer-based FI and extend interval observers to the application of FTC. 14
2.1 State of the Art 2.1.3 Fault-tolerant Model Predictive Control In [31], the inclusion of fault tolerance in MPC was proposed, where it is said that the basis for the proposal is that, since MPC relies on an explicit internal model, failures can be handled by updating the internal model and on-line optimizer can work out how to control the system in its new condition. In this dissertation, the proposed FTC schemes are implemented based on robust MPC strategies and set-based FDI methods. The objective of this dissertation is to exert the advantages of both MPC and set-based FDI. In this way, the proposed FTMPC schemes cannot only deal with multivariable constrained systems with uncertainties but also resist the effect of faults and generate optimal control actions under the framework of MPC. In the literature, MPC is used for fault tolerance under either the PFTC or AFTC frameworks. In the case of PFTC, fault tolerance relies on robustness of MPC controllers [1]. It is known that MPC is an optimization-based control strategy. Thus, a degree of mismatch between the internal models of MPC controllers and those of the real system could be corrected in some sense. This endows MPC controllers with passive fault-tolerant capability. In [42], the passive and active FTMPC strategies are compared based on their applications in the Barcelona Sewer Network. Under the assumption that fault information can be ideally obtained and used for AFTC, the simulation results motivate the use of AFTC to implement control objectives. In [34], MPC with fault-tolerant function was applied to control the concentration and level of a solid crystal dissolution tank. In [59], MPC-based robust control is implemented for fault tolerance, where after faults, the system states are steered into a defined region to tolerate the effect of faults. In the AFTC schemes, MPC controllers should be integrated with an FDI module, where the FDI module detects, diagnoses faults and provides fault information to the MPC controllers to implement fault-tolerant function. But, due to the effect of faults, it is difficult to cope with the issues related to feasibility guarantees, constraint satisfaction and state estimation in the FTMPC schemes. Generally, some existing AFTC schemes only investigate the effectiveness of MPC as the AFTC control strategy, where it is assumed that the FDI module is perfect and can obtain all needed fault information [16,22,42,69]. In some other AFTC schemes, the FDI module is really designed and integrated into the FTMPC schemes, where the FDI mechanisms are designed by different FDI strategies. For example, in [63], an active FTMPC scheme using the Kalman filters is proposed, which focuses on the implementation of an active FTMPC scheme without considering the details such as feasibility guarantees. In [11], an active FTMPC scheme is implemented to show how MPC can be integrated into the AFTC schemes. In the literature, the existing works related to active FTMPC mainly focus on whether or not active FTMPC is implementable. As aforementioned, some related works assume that the FDI module is perfect and the fault information can be ideally obtained. But, in reality, these assumptions are impossible. This implies that some 15
2.2 Research Tools proposed active FTMPC schemes are still far away from practical applications. More FTMPC works can be found in [9,24,33,37,54,64]. This dissertation focuses on active FTMPC schemes with set-based FDI, which consider the aforementioned problems. Actually, there only exist few works related to active FTMPC implementation using set-based FDI. In [70,71], FTMPC schemes integrating invariant set-based FDI are presented for actuator and sensor faults, respectively. The advantage of the schemes is its less computational complexity due to the use of tube-based MPC and invariant set-based FDI. However, due to passive implementation of FDI, it implies the loss of potential FDI performance in some sense if one wants to obtain FDI guarantees. In [51], an FTMPC scheme using the set-membership FDI approach is introduced, whose advantages consist in using an active FI method that can reduce FI conservatism. However, due to the requirements of computing separating inputs on-line, this approach has high complexity. Additionally, a method considering the design of separating inputs for active fault diagnosis is proposed in [50]. The feature of the method in [50] consists in that it computes separating inputs off-line and can reduce computational complexity with respect to the on-line computation of separating inputs, which perhaps can be integrated into an FTMPC framework. However, since the off-line computation of separating inputs is based on partitioning an output set that includes all possible outputs under all possible system modes (healthy or faulty), it is more conservative when comparing with the case of using the real-time measured outputs. Comparing with these approaches or schemes, this dissertation proposes active FTMPC schemes for actuator and sensor FTC with a balance between FDI conservatism, complexity and efficiency. 2.2 Research Tools 2.2.1 Polyhedral Sets Polyhedra are a kind of fundamental geometric objects that have been widely investigated. The use of polyhedra is related to many fields such as fault diagnosis, state estimation, control and optimization. In what follows, one will recapitulate the background knowledge of polyhedra required in this research. 2.2.1.1 Polytopes Polyhera are an useful convex geometrical representation of linear constraints in control and optimization. Polyhedra are formed by a group of half-spaces [4]. Because of the convexity, polyhedra own a good balance between complexity and flexibility. Polyhedra have dual mathematical representations, i.e., half-spaces (H-polyhedron) and vertices (V-polyhedron). The half-space representation is firstly introduced [4]. 16
2.2 Research Tools Definition 2.1. An open half-space in Rnis the set {x∈Rn:hx <v}and a closed half-space in Rnis the set {x∈Rn:hx ≤v}, where h is a vector with compatible dimensions and v is a scalar. Definition 2.2. An H-polyhedron P ⊂Rnis an intersection of a finite set of closed half-spaces with a form P={x∈Rn:Fx ≤b,F∈Rm×n,b∈Rm},(2.1) where fix≤bi(i =1,2,...,m) is the i-th half-space, where fiis the i-th row of F and biis the i-th component of b. Remark 2.1. In this dissertation, the inequalities should be understood elementwise. For example, the inequality (2.1)includes m elementwise inequalities. The V-polyhedron representation of polyhedra is based on the convex hull of a finite set of points and the cone of a finite set of vectors. Definition 2.3. A set S is said to be convex if for all x1∈S and x2∈S , it satisfies αx1+(1 −α)x2∈S,for all 0≤α≤1. Definition 2.4. A C-set is a compact and convex set that contains the origin in its non-empty interior. Definition 2.5. The image of a set S under a mapping M is defined as M(S)={y:y=M(x),x∈S}. Definition 2.6. The convex hull of a set V ={v1,v2,...,vp} ⊂ Rnof points is defined as the set of all convex combinations of the points in V, i.e., conv(V)={x:x=Vα, p X i=1 αi=1, α ≥0, α ∈Rp},(2.2) where αiis the i-th component of αand p denotes the number of points. Definition 2.7. The cone of a set Y ={y1,y2,...,yq} ⊂ Rnof vectors is defined as cone(Y)={y:y=Yβ, β ≥0, β ∈Rq},(2.3) where βiis the i-th component of βand q denotes the number of vectors. In order to give the definition of the V-polyhedron form, the Minkowski sum and Pontryagin difference of sets are given in Definitions 2.8 and 2.9, respectively. 17
2.2 Research Tools Definition 2.8. Given two sets X1⊂Rnand X2⊂Rn, the Minkowski sum of the two sets is X1⊕X2={x:x1+x2,x1∈X1,X2∈X2}. Definition 2.9. Given two sets Y ⊂Rnand Y1⊂Rn, the Pontryagin difference of the two sets is YY1={y2:y1+y2∈Y,∀y1∈Y1}. Based on the definitions of the convex set, the cone and the Minkowski sum in Definitions 2.3,2.7 and 2.8, the V-polyhedron representation of polyhedra can be obtained. Definition 2.10. A V-polyhedron P⊂Rnis the Minkowski sum of the convex hull of a set V={v1,v2,...,vp} ⊂ Rnof points and the cone of a finite set Y ={y1,y2,...,yq} ⊂ Rn of vectors, i.e., P=conv(V)⊕cone(Y).(2.4) The representation duality of polyhedra provides the flexibility for its wide applications. In some applications, the H-polyhedron representation is better to describe the problems, while in some others, the V-polyhedron representation may be more appropriate. This flexibility is based on the equivalence of the two representations. Remark 2.2. The H-polyhedron and V-Polyhedron representations of polyhedra are equivalent and these two representations can be converted into each other [73]. However, they are mathematically (but not algorithmically) equivalent. According to the aforementioned results of polyhedron, one can give the definition of polytopes as in Definition 2.11. Definition 2.11. A polytope is a polyhedron that is bounded. Remark 2.3. An H-polytope is an H-polyhedron that is bounded and a V-polytope is a V-polyhedron that is bounded. Similarly, the H-polytope and V-Polytope are mathematically (but not algorithmically) equivalent. The operation of extracting the vertices of an H-polytope is called as vertex enumeration. The conversion between the H-polytope and V-polytope representations is implemented via vertex enumeration [8]. According to the results in [10], any convex body can be approximated arbitrarily well by a polytope. In this dissertation, polytopes are only used as the tool of set manipulations. Thus, only the knowledge of polytopes related to this research is presented here. For more details, the readers can be referred to the aforementioned relevant literature. 18
2.2 Research Tools 2.2.1.2 Zonotopes Zonotopes are a special type of convex polytopes, which have the symmetric feature with respect to their centers. Zonotopes have two different but equivalent definitions. The first definition is based on the Minkowski sum of straight line segments and the second one is based on the image of hypercubes. In this research, the second definition is more interesting, which is formally given in Definition 2.12. Definition 2.12. An m-order zonotope Z is defined as Z =g⊕HBm, where g and H are called the center and segment matrix (also generator matrix), respectively. The motivation to use zonotopes in this research consists in their geometric features, which can simplify the propagation of set-based dynamics. Property 2.1. Given two zonotopes Z1=g1⊕H1Bm1⊂Rnand Z2=g2⊕H2Bm2⊂Rn, Z1⊕Z2=(g1+g2)⊕[H1H2]Bm1+m2. Property 2.2. Given a zonotope Z =g⊕HBm⊂Rnand a compatible matrix K, KZ =Kg ⊕KHBm. The smallest box containing a zonotope Zis called the interval hull of Z, who is defined in Definition 2.13. Definition 2.13. The interval hull Z of a zonotope Z =g⊕HBm⊂Rnis the smallest box containing Z, i.e., Z={x:|xi−gi|≤k Hik1}, where Hiis the i-th row of H, xiand giare the i-th components of x and g, respectively. Definition 2.14. The interval hull width of Z =g⊕HBm⊂Rnis defined as a vector width(Z)=(2kH1k1,2kH2k1,...,2kHnk1)T, where 2kHik1denotes the width of the i-th interval component of Z. The complexity of zonotopes is described by their order. The higher the order is, the more complex a zonotope is. In some applications, it is required to approximate highorder zonotopes with lower-order zonotopes. According to [15], a reduction method of zonotope complexity is presented in Property 2.3. Property 2.3. Given a zonotope Z =g⊕HBm⊂Rnand an integer s (with n <s<m), denote by ˆ H the matrix resulting from the reordering of the columns of the matrix H in decreasing Euclidean norm. Z ⊆g⊕[ˆ HTQ]Bswhere ˆ HTis obtained from the first s −n columns of the matrix ˆ H and Q ∈Rn×nis a diagonal matrix whose elements satisfy Qii =Pm j=s−n+1|ˆ Hi j |,i=1,...,n. 19
2.2 Research Tools Definition 2.15. A strip is defined as S ={x:|cx −d| ≤ σ}, where c is a compatible vector, and d and σare scalars. Moreover, in [2], a method to compute a zonotope that contains the intersection of a strip and a zonotope is given. Property 2.4 summarizes this method. Property 2.4. Given a zonotope Z =g⊕HBm⊂Rn, a strip S ={x∈Rn| |cx −d| ≤ σ} and a vector λ∈Rn, then Z ∩S⊆ˆ Z(λ)=ˆg(λ)⊕ˆ H(λ)Bm+1holds, where ˆg(λ)= g+λ(d−cg)and ˆ H(λ)=[(I−λc)Hσλ]. Besides, a method proposed in [30] to compute a zonotope approximation of the intersection of a zonotope and a polytope is presented in Property 2.5. Property 2.5. Given a matrix Λ∈Rn×m, a zonotope Z =g⊕HBr, and an H-polytope P={x∈Rn:|Cx −d| ≤ [φ1, φ2, ..., φm]T}, with C ∈Rm×n, d ∈Rm,φi∈R+(i = 1,2, ..., m), define a vector ˆg(Λ)=g+Λ(d−Cg)and a matrix ˆ H(Λ)=[(I−ΛC)HΛφ], with a diagonal matrix Λ = diag(φ1, φ2, ..., φm). Then a family of zonotopes (parameterized by the matrix Λ) that contains the intersection of the zonotope Z and the polytope P is obtained such as Z ∩P⊆ˆ Z(Λ)=ˆg⊕ˆ HBr+m. In this dissertation, the proposed set-based approaches propagate system uncertainties through the system model and the uncertainties are bounded by zonotopes. According to [2,23], the properties related to zonotope inclusion are given in Properties 2.6 and 2.7. Property 2.6. Given a family of zonotopes denoted by Z =g⊕HBm, where g ∈Rnis a vector and H∈Rn×mis an interval matrix, a zonotope inclusion (Z)is defined by (Z)=g⊕[mid(H)H]Bm+n, where the matrix H is a diagonal matrix with Hii =Xm j=1 diam(H)i j 2,i=1,2,· · · ,n, where mid(·)and diam(·)compute the center and diameter of interval matrices. Property 2.7. Given Zk+1=AZk⊕Buk, where Aand Bare interval matrices and uk is the input at time instant k, if Zkis a zonotope with the center gkand segment matrix Hk, Zk+1can be bounded by a zonotope Ze k+1=gk+1⊕Hk+1Br, 20
2.2 Research Tools with gk+1=mid(A)gk+mid(B))uk, Hk+1=[J1J2J3], J1=seg((AHk)), J2=diam(A) 2gk, J3=diam(B) 2uk, where seg(·)computes the segment matrix of a zonotope. Zonotopes are used as the containment sets in this research. In propagation of the set-based dynamics, the advantage of zonotopes consists in their balance among compactness, complexity and precision (see [47,48] for the applications of zonotopes in interval methods). In reality, the system constraints and uncertainties are often described by convex sets. Since it is possible to approximate convex sets by zonotopes, with a degree of approximations, zonotopes can always be used. However, zonotopes are just one choice and their applications should consider the particular situations. 2.2.2 Invariant Sets This section introduces the basic set invariance notions related to the linear discrete time-variant dynamics. These notions are the important basis of the proposed approaches in this research. 2.2.2.1 Robust Positively Invariant Set One firstly considers the notions of PI and RPI sets corresponding to the dynamics free from or affected by process disturbances, respectively. Definition 2.16. A set X is a PI set of the dynamics xk+1=f(xk)if for any xk∈X, one has xk+1∈X for all k ≥0. Definition 2.17. A set X is an RPI set of the dynamics xk+1=f(xk, ωk)if for xk∈X and ωk∈W, one always has xk+1∈X. Definition 2.18. The mRPI set of the dynamics is defined as an RPI set contained in any closed RPI set and the mRPI set is unique and compact. Definition 2.19. A Schur matrix is a square matrix composed of real entries and with all its eigenvalues inside the unit circle. 21
Part II Fault Detection and Isolation 28
Chapter 3 Invariant Sets and Interval Observers This chapter introduces interval observers and invariant sets and their applications in fault diagnosis. Most importantly, the objective of this chapter is to investigate the relationship of interval observers and invariant sets and to discuss their advantages and disadvantages, respectively. 3.1 Problem Formulation In order to explain the FD principles of interval observers and invariant sets, one considers a fundamental system framework, which is shown in Figure 3.1. Observer Plant Figure 3.1: System framework For brevity, in this chapter, the linear discrete time-invariant plant is redefined as xk+1=Axk+Buk+ωk,(3.1a) yk=Cxk+ηk,(3.1b) where A∈Rn×n,B∈Rn×pand C∈Rq×nare constant parametric matrices, xk∈Rn, uk∈Rpand yk∈Rqare state, input and output vectors, respectively, ωk∈Wand ηk∈Vare the bounded process disturbance and measurement noise, respectively, and kdenotes the k-th discrete time instant. The bounding sets Wand Vare defined as W={ω∈Rn:|ω−ωc|≤¯ω, ωc∈Rn,¯ω∈Rn},(3.2a) V={η∈Rq:|η−ηc|≤¯η, ηc∈Rq,¯η∈Rq},(3.2b) 29
3.2 Invariant Sets in Fault Detection where ωc,ηc, ¯ωand ¯ηare constant vectors. It can be observed that the sets Wand V can be rewritten as zonotopes W=ωc⊕H¯ωBn,(3.3a) V=ηc⊕H¯ηBq,(3.3b) where H¯ω∈Rn×nand H¯η∈Rq×qare two diagonal matrices with their diagonal entries composed of ¯ωand ¯η, respectively. Assumption 3.1. The system described in Figure 3.1 is stable and the pair (A,C) is detectable. 3.2 Invariant Sets in Fault Detection For the system shown in Figure 3.1, if the invariant set-based approach is used to implement fault diagnosis, according to [41,44,55,57,58], a Luenberger observer based on the model (3.1) should be designed as ˆxk+1=Aˆxk+Buk+L(yk−Cˆxk),(3.4a) ˆyk=Cˆxk,(3.4b) where ˆxkand ˆykare the estimated state and output at time instant k, and Lis the observer gain matrix designed to assure the contractiveness of the observer. Note that the contractiveness of the observer (3.4) is always possible under Assumption 3.1. Furthermore, according to the measured output vector ykand the estimated output vector ˆyk, one can define a residual for the invariant set-based FD method as ris k=yk−ˆyk =C˜xk+ηk,(3.5) where ris kdenotes the residual at time instant k, the superscript is denotes invariant sets, and the state estimation error ˜xkof the observer is defined as ˜xk=xk−ˆxk. Furthermore, by using (3.1) and (3.4), the dynamics of ˜xkcan be derived as ˜xk+1=(A−LC) ˜xk−Lηk+ωk.(3.6) It is known that ωkand ηkare bounded. Thus, one can construct an RPI set to confine ˜xkas in (3.6) [25,44]. The resultant RPI set of ˜xkis denoted as Φ˜xand the corresponding set to confine the residual is computed as Ris =CΦ˜x⊕V.(3.7) 30
3.3 Interval Observers in Fault Detection According to the definition of the RPI sets, once ˜xkenters into its RPI set Φ˜x, then it will always remain inside the RPI set and the same result holds for the residual ris k. Thus, as long as ˜xk∈Φ˜xholds, one will always have ris k∈Ris.(3.8) The invariant set-based FD method consists in testing whether or not the residual ris kstrictly belongs to its healthy set Ris in real time. If, at one time, the residual exits its healthy set, it is indicated that the system has become faulty1. Otherwise, it is considered that the system is still healthy. Remark 3.1. If needed, one can also add ωcand ηcinto (3.4). However, in the case that ωcand ηcare not zero, it means that one only adds an offset to the corresponding invariant set, which does not affect general conclusions presented in this chapter. 3.3 Interval Observers in Fault Detection Instead of invariant sets, if interval observers are used for fault diagnosis, the plant should be monitored by an interval observer, which takes the worst case of uncertainties into account. The set-based form of the interval observer, based on the plant model (3.1), is designed as ˆ Xk+1=(A−LC)ˆ Xk⊕ {Buk}⊕{Lyk} ⊕ (−L)V⊕W,(3.9a) ˆ Yk=Cˆ Xk⊕V,(3.9b) where ˆ Xkand ˆ Ykare the estimated state and output sets at time instant k, respectively, and Lis the observer gain matrix that is chosen to guarantee the set-mapping contractiveness of the interval observer and the avoidance of the wrapping effect [39]. Note that the interval observer (3.9) is designed based on a Luenberger observer ˆxk+1=Aˆxk+Buk+L(yk−Cˆxk)+˘ωk,(3.10a) ˆyk=Cˆxk+˘ηk,(3.10b) where the signals ˘ωkand ˘ηkare artificial and bounded, i.e., ˘ωk∈Wand ˘ηk∈V, which are used to simulating the effect of ωkand ηkon the plant (3.1). 1In this dissertation, the terms such as faults,become faulty,fault occurrence,fault detection and isolation and fault-tolerant control are generally related to the mode switching among different faulty modes, fault detection from healthy to faulty and system recovery from faulty to healthy as long as the proposed approaches can deal with these situations. 31
3.3 Interval Observers in Fault Detection Remark 3.2. Theoretically, the observer gain matrices of (3.9)and (3.4)can be designed separately. But, for the sake of comparing the two FD approaches, one uses the same observer gain L for both (3.9)and (3.4). However, one should notice that the observer gain can affect the effectiveness of the fault diagnosis approaches. Please see [40] for more information on this point. Using zonotope operations in Section 2.2.1, (3.9) can be transformed into the center-segment matrix form. Thus, the centers ˆxc k+1and ˆyc kand segment matrices ˆ Hx k+1 and ˆ Hy kof ˆ Xk+1and ˆ Ykcan be computed as ˆxc k+1=(A−LC) ˆxc k+Buk+Lyk−Lηc+wc,(3.11a) ˆ Hx k+1=[(A−LC)ˆ Hx k−LH¯ηH¯ω],(3.11b) ˆyc k=Cˆxc k+ηc,(3.11c) ˆ Hy k=[Cˆ Hx kH¯η].(3.11d) Assumption 3.2. The initial state of the plant is denoted as x0and x0belongs to the initial zonotope ˆ X0of the interval observer. Remark 3.3. The initial set ˆ X0can be arbitrarily assigned if necessary, which means that it is always possible to find a set to bound x0. Additionally, this also implies the designing flexibility of the interval observer-based approach at the initial phase. In order to implement the interval observer-based FD, a residual should be defined. However, the residual definition here is different from the conventional one, which is in terms of sets, i.e., Rio k={yk} ⊕ (−ˆ Yk) ={Cxk+ηk}⊕{(−Cˆ Xk)⊕(−V)} =C{{xk} ⊕ (−ˆ Xk)}⊕{ηk} ⊕ (−V),(3.12) where Rio kdenotes the residual zonotope at time instant kand the superscript io represents interval observers. In (3.11), it can be observed that, as kincreases, the order of segment matrices of residual zonotopes grows dramatically. In order to propagate the dynamics of the interval observer, it is necessary to control the order of zonotopes. In Property 2.3, a method is proposed to reduce the complexity of zonotopes by using low-order zonotopes to over-approximate high-order zonotopes. Under Assumption 3.2, when the interval observer (3.9) is used to monitor the dynamic behaviors of the system, as long as the system is healthy, the residual zonotopes should always contain the origin. Thus, the interval observer-based FD method consists in checking whether or not 0∈Rio k(3.13) 32
3.4 Relationship of Invariant Sets and Interval Observers is violated in real time, where 0is the origin. If (3.13) is violated, it means that the system has become faulty. Otherwise, it is considered that the system is still in the healthy operation. More details on the FD application of interval observers can be referred to [18–20,36,39,40,47–49,52]. Note that, sometimes, instead of checking (3.13), another relatively rough but simple consistency-testing method is to test whether or not 0∈Rio k holds for FD, where Rio kdenotes the interval hull of the residual zonotope Rio k. Remark 3.4. Since the computation of state and output intervals is based on the interval hull of zonotopes, for brevity, all discussions are directly based on zonotopes in the sequel. 3.4 Relationship of Invariant Sets and Interval Observers In this section, the relationship of interval observers and invariant sets is briefly investigated, which is based on the results in [68]. 3.4.1 Bounds of Interval Observers In order to analyze residual zonotopes defined in (3.12) for the interval observer-based approach, a zonotope ˜ Xk={xk} ⊕ (−ˆ Xk) =(xk−ˆxc k)⊕ˆ Hx kBsk(3.14) is defined, where skdenotes the order of ˜ Xkand ˆ Xkis denoted as ˆ Xk=ˆxc k⊕ˆ Hx kBsk. Using the notations ˜xc kand ˜ Hkto denote xk−ˆxc kand ˆ Hx k, respectively, ˜ Xkis rewritten as ˜ Xk=˜xc k⊕˜ HkBsk. Furthermore, taking into account (3.1a), (3.11a) and (3.11b), the center and segment matrix of ˜ Xk+1can be derived as ˜xc k+1=(A−LC) ˜xc k−L(ηk−ηc)+(ωk−ωc),(3.15a) ˜ Hk+1=ˆ Hx k+1=[(A−LC)ˆ Hx k−LH¯ηH¯ω].(3.15b) 33
3.4 Relationship of Invariant Sets and Interval Observers According to zonotope operations, an equivalent zonotope-based form of (3.15) can be deduced as ˜ Xk+1=(A−LC)˜ Xk⊕(−L)[(ηk−ηc)⊕H¯ηBq]⊕[(ωk−ωc)⊕H¯ωBn].(3.16) According to the expression (3.14), the left side of (3.16) can be rewritten as ˜ Xk+1=˜xc k+1⊕˜ Hk+1Bsk+1 =(xk+1−ˆxc k+1)⊕ˆ Hx k+1Bsk+1 ={xk+1} ⊕ [(−ˆxc k+1)⊕ˆ Hx k+1Bsk+1],(3.17) while the right side of (3.16) can be rewritten as ˜ Xk+1=(A−LC)[(xk−ˆxc k)⊕ˆ Hx kBsk]⊕(−L)[(ηk−ηc)⊕H¯ηBq] ⊕[(ωk−ωc)⊕H¯ωBn] ={(A−LC)xk} ⊕ (A−LC)[(−ˆxc k)⊕ˆ Hx kBsk]⊕ {(−L)ηk} ⊕(−L)[(−ηc)⊕H¯ηBq]⊕ {ωk} ⊕ [(−ωc)⊕H¯ωBn].(3.18) When (3.9) estimates state and output zonotopes, one only uses the bounds of the disturbance and noise, which corresponds to the worst case of the considered uncertainties in the plant. It can be observed that the expressions (3.17) and (3.18) correspond to xk+1−ˆxk+1and (A−LC)(xk−ˆxk)−Lηk+ωk+L˘ηk−˘ωk, respectively. Using ˘xkto characterize xk−ˆxk, one obtains the corresponding equivalent dynamics of (3.16)1 ˘xk+1=(A−LC) ˘xk−Lηk+ωk+L˘ηk−˘ωk.(3.19) If considering Wand Vinto (3.19), a set-based form of (3.19) can be obtained as ˘ Xk+1=(A−LC)˘ Xk⊕(−L)V⊕W⊕LV ⊕(−W).(3.20) By using zonotope operations, the center ˘xc k+1and segment matrix ˘ Hk+1of ˘ Xk+1 described by (3.20) can be derived as ˘xc k+1=(A−LC) ˘xc k,(3.21a) ˘ Hk+1=[(A−LC)˘ Hk−LH¯ηH¯ωLH¯η−H¯ω].(3.21b) By comparing (3.16) and (3.20), it is shown that zonotopes estimated by (3.20) bound those estimated by (3.16) at each time instant, as long as the initial condition ˜ X0⊆˘ X0holds. Finally, according to (3.12) and (3.20), zonotopes bounding residual zonotopes can be derived as ˘ Rio k=C˘ Xk⊕V⊕(−V).(3.22) 1xk−ˆxkis different from ˜xk=xk−ˆxkin (3.5). The former corresponds to interval observers while the latter corresponds to invariant sets. Thus, the notations ˘xkand ˜xkare used to distinguish them. 34
3.4 Relationship of Invariant Sets and Interval Observers 3.4.2 Relationship in Terms of Intermediate Sets An RPI set of the dynamics (3.6) can be constructed by Theorem 2.1, which is denoted as Φ˜x 0with the center ξc 0(since Wand Vare zonotopes, the construction of Φ˜x 0implies that it can also be denoted as a zonotope). According to Proposition 2.1 and using the RPI set Φ˜x 0as an initial set, another squeezed RPI set with an arbitrarily expected precision to the mRPI set of (3.6) can be obtained by iterating Φ˜x j+1=(A−LC)Φ˜x j⊕(−L)V⊕W,j∈N,(3.23) where jrepresents the j-th element of this set sequence. Moreover, (3.23) can be unfolded into the same form as that of (3.15), with the center ξc j+1and segment matrix H˜x j+1being ξc j+1=(A−LC)ξc j−Lηc+ωc,(3.24a) H˜x j+1=[(A−LC)H˜x j−LH¯ηH¯ω].(3.24b) In Proposition 2.1, as jtends to infinity, the set sequence (3.23) converges to the mRPI set of (3.6), which is denoted as Φ˜x ∞with the center ξc ∞. Furthermore, comparing (3.15), (3.21) and (3.24) with each other, as kand jtend to infinity, one has ˜xc ∞=[I−(A−LC)]−1[(ω∞−Lη∞)−(ωc−Lηc)],(3.25a) ˘xc ∞=0,(3.25b) ξc ∞=[I−(A−LC)]−1(ωc−Lηc),(3.25c) k˜ H∞ik1=kH˜x ∞ik1≤k ˘ H∞ik1,(3.25d) where irepresents the i-th row of a matrix and ω∞∈Wand η∞∈Vare unknown, bounded and random variables. Thus, the centers of ˜ X∞and Φ˜x ∞have the relationship ˜xc ∞+ξc ∞=[I−(A−LC)]−1(ω∞−Lη∞), where because ω∞and η∞are bounded, ˜xc ∞+ξc ∞ are also bounded, whose bounds can be clearly derived by using Wand V. It can be observed that in (3.25d) the sizes1of ˜ X∞and Φ˜x ∞are the same and both are smaller than the size of ˘ X∞. Considering (3.25a), (3.25b) and (3.25d), ˜ X∞has the same size but generally different center with Φ˜x ∞. 3.4.3 Relationship in Terms of Residuals It is known that, for the interval observer-based method, the residual zonotopes defined in (3.12) can be rewritten as Rio k=C˜ Xk⊕ {ηk} ⊕ (−V),(3.26) 1The size of a zonotope is used to describe the volume of the zonotope. However, one has difficulties to compute the volume of a zonotope. Thus, in this dissertation, the size is indirectly described by the interval hull width of the zonotope as in Definition 2.14. 35
3.4 Relationship of Invariant Sets and Interval Observers where Rio kis always bounded by its bounding set ˘ Rio kgiven in (3.22), as long as the initial condition ˜ X0⊆˘ X0holds (i.e., Rio 0⊆˘ Rio 0). As per (3.14) and (3.26), the center rio,c kand segment matrix Hio kof Rio khave the expressions rio,c k=C˜xc k+ηk−ηc,(3.27a) Hio k=[C˜ Hx kH¯η].(3.27b) Similarly, for the invariant set-based method, by substituting (3.23) and (3.24) into (3.7), the residual set Ris jcorresponding to RPI sets can be obtained as Ris j=CΦ˜x j⊕V,(3.28) where jdenotes the number of iterative steps indicated in Proposition 2.1, which does not mean the time instant. Similarly, the center ris,c jand segment matrix His jof Ris jcan be obtained as ris,c j=Cξc j+ηc,(3.29a) His j=[CH ˜x jH¯η].(3.29b) According to (3.25), (3.27b) and (3.29b), as kand jtend to infinity, the size of Rio k converges to that of the smallest residual set Ris ∞corresponding to the mRPI set Φ˜x ∞of the dynamics (3.6). It can also be observed that the centers of Rio ∞and Ris ∞are generally different but have relationship rio,c ∞+ris,c ∞=C[I−(A−LC)]−1(ω∞−Lη∞)+η∞, where, since ω∞and η∞are bounded, rio,c ∞+ris,c ∞is also bounded. This implies that, as ktends to infinity, Rio ∞will be a set that has the same size but generally different center with Ris ∞. Residual zonotopes estimated by the interval observer have bounding zonotopes, (i.e., if Rio 0⊆˘ Rio 0, then Rio k⊆˘ Rio kfor all k≥0). But, one cannot assure that, at infinity, Ris ∞is bounded by ˘ Rio ∞. However, if one can assure Φ˜x ∞⊆˘ X∞, then Ris ∞can be bounded by ˘ Rio ∞. Thus, by comparing (3.15) with (3.21), it can be observed that the difference of ˜ X∞and ˘ X∞is from the term −Lηk+ωkas in (3.15a). Thus, at infinity, considering (3.25a) and (3.25c), a condition such that Ris ∞⊆˘ Rio ∞can be obtained as ωc−Lηc∈W⊕L(−V)⊕ {−(ωc−Lηc)}, i.e., 2(ωc−Lηc)∈W⊕L(−V).(3.30) 3.4.4 Brief Discussions Based on the residual forms (3.5) and (3.12) for the interval observer-based and the invariant set-based approaches, the relationship of both FD approaches is briefly summarized as follows: 36
3.5 Comparison of Invariant Sets and Interval Observers •The principles of both FD approaches are similar. For the invariant set-based approach, the invariant set is fixed and determined off-line but the residual is obtained in real time, while, for the interval observer-based approach, the origin 0is fixed but residual zonotopes are computed on-line. •As ktends to infinity, the size of residual zonotopes estimated by the interval observer converges to that of the smallest residual set Ris ∞. •The center of Rio ∞has a mathematical relationship with that of Ris ∞. •As long as the corresponding initial condition is satisfied, Rio kis always bounded by ˘ Rio k. Although one cannot draw the same conclusion for Ris kand ˘ Rio k,Ris ∞can also be bounded by ˘ Rio ∞under the condition (3.30). Remark 3.5. Both FD approaches detect faults by testing consistency between the current behaviors of the system and the nominal behaviors from the nominal system model. Thus, once interval vectors estimated by the nominal interval observer do not include the origin or the residual exits the healthy residual set, it is considered that the system has become faulty, which means that the aforementioned discussions are generally suitable for all detectable1faults by both approaches. Note that the established relationship can also be extended to the case of faulty operation, as long as both interval observers and invariant sets are designed and constructed based on the same model of the faulty system. 3.5 Comparison of Invariant Sets and Interval Observers 3.5.1 Computational Complexity The computational complexity of the interval observer-based approach is mainly from the type of containment sets to propagate the effect of uncertainties throughout the system model and the algorithms to compute intervals. In [49], the algorithms to implement interval observers are classified into the region-based and trajectory-based algorithms. Generally, the former has lower computational complexity than the latter and different types of containment sets require different computational efforts. Besides, the interval observer-based approach estimates state and output sets on-line, which increases computational burden. For the invariant set-based approach, since the key invariant set is computed offline, the computational complexity of invariant sets does not play a decisive role in the complexity of the approach. During the runtime of the invariant set-based approach, its computational cost reduces to simple on-line set membership testing, i.e., check 1For the notion of fault detectability and isolability, one can turn to books related to this topic such as [5]. 37
3.7 Summary the CPU time is around 0.145110 seconds, while for the interval observer-based approach, the CPU time is around 0.691144 seconds. This shows that the invariant setbased approach has very obvious advantage in terms of computational complexity. The computer type model for this testing is HP Elitebook 6930p (processor: Inter(R) Core(TM)2 Duo CPU p8700, 2.53GHz; RAM: 4.00GB; 64-bit operating system). Remark 3.8. One should use different examples to show different relationships of interval observers and invariant sets. But, in this chapter, without loss of generality, one uses the same example with some different parameters to show all the aforementioned relationships for brevity. For example, in Figures 3.3(b) and 3.4, one changes the center of the set V of measurement noises, while for the results of the other figures, one uses the original parameters given at the beginning of this section. Remark 3.9. Theoretically, for a system, as long as its invariant sets can be constructed and its interval observers can be computationally feasible, one can use invariant sets and interval observers for its fault diagnosis. Realistically, invariant set construction and interval observer implementation depend on the complexity of the system such as the number of inputs, states and outputs. However, this is already out of the scope of this dissertation and could be a separate topic of the future research. 3.7 Summary This chapter analyzes the interval observer-based and the invariant set-based FD approaches. The former can provide the system information during the whole process with higher computational complexity, while the latter focuses more on the steady-state behaviors of the system with lower computational complexity. Both interval observers and invariant sets have their own advantages and disadvantages, respectively. The next chapters are to explore the possibility of combining both approaches in fault diagnosis. 44
Chapter 4 Actuator-fault Detection and Isolation using Set-based Methods This chapter proposes an actuator FDI approach based on the results obtained in the previous chapter. This FDI approach is based on a bank of interval observers, each of which is designed to match a healthy or faulty actuator mode. In order to guarantee FDI, a collection of invariant set-based FDI conditions are established. Under these FDI conditions, all considered actuator faults can be detected and then isolated. A continuous stirred-tank reactor (CSTR) example is used to illustrate the effectiveness of the proposed FDI approach. 4.1 Introduction Interval observers, as one of set-theoretic approaches, are well-known for robust FD, which consists in propagating the effect of uncertainties through system models to generate real-time output intervals [20,36,39]. Provided that the system is healthy, the output vectors should be inside their intervals estimated by the interval observer based on the system nominal model. When the system is affected by faults, once the current outputs violate their intervals, the FD task will be triggered. Regarding FI, interval observers generally turn to other FI techniques. So far, few works have been done for the FI application of interval observers, especially for the interval observerbased FI with FI guarantees. The objective of this chapter is to propose an interval observer-based FDI approach for actuator faults, in which both FD and FI are implemented by means of interval observers and without relying on other FI techniques. This chapter is based on the works [65,67] and follows the system framework shown in Figure 4.1. In this chapter, the design of interval observers is based on the Luenberger-observer structure. The uncertainties (disturbances, bias and noises, etc) and unknown but bounded faults are 45
4.2 Problem Formulation considered. In order to obtain a balance of computational precision and complexity, the proposed approach uses zonotopes as its bounding set to propagate the effect of uncertainties on the plant. Interval observer 0 ... Interval observer 1 Interval observer M Plant FDI logic FDI decision Figure 4.1: Actuator FDI scheme This approach has three main contributions. First, the proposed approach provides a novel perspective to the FI application of interval observers by combining interval observers with invariant sets. Second, by using interval observers, the proposed method can deal with unknown but bounded actuator faults. Third, this technique can detect and isolate actuator faults during the transition induced by faults with FDI guarantees. 4.2 Problem Formulation 4.2.1 Plant Models This chapter considers the linear discrete time-invariant plant under the effect of actuator faults, which is modelled as xk+1=Axk+BFiuk+ωk,(4.1a) yk=Cxk+ηk,(4.1b) where the matrix Fi(i∈I={0,1,· · · ,M}models a finite range of healthy or faulty actuator modes important to system performance/safety)1is a p×pdiagonal matrix modelling the i-th actuator mode and all the other parameters/variables in (4.1) respect the corresponding definitions as in (3.1). F0is the identity matrix with suitable dimensions and describes the healthy actuator mode, and Fi(i,0) models the fault-affected system. The diagonal elements of Fi 1A system mode characterizes the system as being under a certain dynamics, which corresponds to either healthy or faulty behaviors. 46
4.2 Problem Formulation (i,0) belong to the interval [0,1], where an element taking the value 0 or 1 represents the complete outage or health of the corresponding actuator, respectively, while taking a value inside (0,1) denotes the partial performance degradation of the corresponding actuator. Besides, the uncertainties ωkand ηkare unknown but bounded by known sets Wand Vas defined in (3.2). Assumption 4.1. The pairs (A,BFi)for all i ∈Iare stabilizable and the pair (A,C)is detectable. Remark 4.1. The scheme in Figure 4.1 is not a closed-loop system, which does not explicitly consider the effect of inputs on the system stability. Thus, for the actuator FDI approach proposed in this chapter, the system stability assumption should be the first priority under Assumption 4.1. Assumption 4.2. In the i-th actuator-fault mode, Fiis bounded by an interval matrix Fi(i.e., Fi∈Fi), where Fi(the actual magnitude of the i-th fault) is unknown but Fi (the bound of the considered magnitude of the i-th fault) is given and known. Remark 4.2. A fault occurrence (or mode switching) indicates a change from Fito Fj(i ,j) in (4.1). Since the actual actuator-fault magnitude is unknown, when the system is in the operation of the i-th mode, Fican be any value inside its bound Fi, which implies that Fican be constant or time-varying with any profile. 4.2.2 Interval Observers Interval observers use the inputs and outputs to estimate the state and output sets. The interval observer corresponding to the healthy operation is firstly introduced to explain the general design of interval observers, which is further employed for the description of the rest of interval observers. 4.2.2.1 Interval Observer for Healthy Mode Based on (4.1), the healthy interval observer with Luenberger structure ˆxk+1=Aˆxk+BF0uk+L0(yk−ˆyk)+ˇωk,(4.2a) ˆyk=Cˆxk+ˇηk,(4.2b) is designed to monitor the system, where L0is the observer gain matrix. In the Luenberger-observer structure (4.2), the uncertain variables ˇωkand ˇηkare used to describe the effect of ωkand ηkin the plant (4.1) on the state and output estimations ˆxk and ˆyk, respectively. The uncertain variables ˇωkand ˇηkare different from ωkand ηk but are defined to have the same bounds, respectively (i.e., ˇωk∈Wand ˇηk∈V). By 47
4.2 Problem Formulation substituting (4.2b) into (4.2a), (4.2) can be equivalently transformed into ˆxk+1=(A−L0C) ˆxk+BF0uk+L0yk−L0ˇηk+ˇωk,(4.3a) ˆyk=Cˆxk+ˇηk.(4.3b) While acknowledging that the actual noises are not measurable but manipulated set-wise, ˇwkand ˇηkrespectively emulate ωkand ηkfrom (4.1) and are used to cover the effect of ωkand ηkon the state and output estimations from (4.2). In the healthy mode, the healthy interval observer able to estimate the state and output sets that bound the system states and outputs is obtained as ˆ X0 k+1=(A−L0C)ˆ X0 k⊕ {BF0uk}⊕{L0yk} ⊕ (−L0)V⊕W,(4.4a) ˆ Y0 k=Cˆ X0 k⊕V(4.4b) by substituting the sets Wand Vbounding ˇwkand ˇηkinto (4.3), where ˆ X0 kand ˆ Y0 kare the estimated state and output sets at time instant k, respectively, and L0is chosen to assure that A−L0Cis a Schur matrix, which is always possible under Assumption 4.1. Remark 4.3. The interval observer is a set-based observer that converges under the Schur-matrix hypothesis for the matrix A −L0C independent of the topology of the sets in the construction. Naturally, these properties are inherited in the case of zonotopic sets used in this chapter. Considering that Wand Vare zonotopes as in (3.3), zonotopes to bound the estimated outputs and states can be constructed by introducing zonotopic sets of ˇωkand ˇηk into the observer mapping (4.3) and using zonotope arithmetic at each time instant. Assumption 4.3. The initial state of the plant is denoted as x0and all interval observers are initialized by a common zonotopic set ˆ X0such that x0∈ˆ X0holds. Remark 4.4. Although the initial set of each interval observer can be assigned differently, for brevity, one uses one initial set for the initialization of all interval observers. Remark 4.5. Under Assumption 4.3, it is guaranteed that the current states and outputs are always bounded by the state and output zonotopes estimated by an interval observer whose internal model matches the current system mode. Since interval observers are based on zonotopes, the discussion is also based on zonotopes in the remaining of the chapter. 4.2.2.2 Interval Observers for Actuator-fault Modes Similarly, the j-th interval observer matching the j-th actuator-fault mode ( j,0) is designed as ˆ Xj k+1=(A−LjC)ˆ Xj k⊕ {BFjuk}⊕{Ljyk} ⊕ (−Lj)V⊕W,(4.5a) ˆ Yj k=Cˆ Xj k⊕V,(4.5b) 48
4.3 Residual Analysis where ˆ Xj kand ˆ Yj kare the estimated state and output zonotopes at time instant k, respectively, and Ljis chosen to assure that A−LjCis a Schur matrix, which is guaranteed by Assumption 4.1. Remark 4.6. The gains of different interval observers are separately designed. Remark 4.7. In Property 2.7, if Hk,Band ukare zero, Property 2.7 will reduce to the computation of a zonotope to bound the multiplication of an interval matrix and a vector. In this case, by using the reduced result of Property 2.7, the term Fjukin (4.5)can be over-approximated by a zonotope whose center and segment matrix are mid(Fj)ukand diam(Fj) 2uk, respectively. As per Remark 4.7,Fjukin (4.5) can be replaced by its zonotopic over-approximation. In this way, one can obtain a computable form of (4.5), i.e., an over-approximation of (4.5). Moreover, using zonotope manipulations, the obtained computable form of (4.5) can be equivalently split into the center-segment matrix description ˆxj,c k+1=(A−LjC) ˆxj,c k+B mid(Fj)uk+Ljyk−Ljηc+wc,(4.6a) ˆ Hj,x k+1=[(A−LjC)ˆ Hj,x kBdiam(Fj) 2uk−LjH¯ηH¯ω],(4.6b) ˆyj,c k=Cˆxj,c k+ηc,(4.6c) ˆ Hj,y k=[Cˆ Hj,x kH¯η],(4.6d) where ˆxj,c k+1and ˆyj,c kare the centers of ˆ Xj k+1and ˆ Yj k, and ˆ Hj,x k+1and ˆ Hj,y kare the segment matrices of ˆ Xj k+1and ˆ Yj k, respectively. For brevity, one uses the same notations ˆ Xj k+1and ˆ Yj kto denote the state and output set estimations of both (4.5) and (4.6). It can be observed that ˆ Xj k+1and ˆ Yj kcorresponding to (4.6) are the over-approximations of ˆ Xj k+1and ˆ Yj kin (4.5), respectively, where the former is the particular implementation of interval observers while the latter is the theoretical expression of interval observers. Since only (4.6) is used to estimate state and output sets in the proposed approach, ˆ Xj k+1and ˆ Yj kused in the remaining of the chapter denote the state and output sets estimated by (4.6). Remark 4.8. Letting j =0in (4.6), the center ˆx0,c k+1and segment matrix ˆ H0,x k+1of ˆ X0 k+1, and the center ˆy0,c kand segment matrix ˆ H0,y kof ˆ Y0 k, corresponding to the healthy interval observer, can be accurately obtained. 4.3 Residual Analysis 4.3.1 Residual Zonotopes It is necessary to define a residual for the model-based FDI approach. Different from the traditional residual definition as a vector, the residual here is defined in terms of 49
4.3 Residual Analysis zonotopes. According to (4.1), (4.4) and (4.6), the residual zonotope is defined as Ri j k={yk} ⊕ (−ˆ Yj k) ={Cxk+ηk} ⊕ (−Cˆ Xj k)⊕(−V) =C{{xk} ⊕ (−ˆ Xj k)}⊕{ηk} ⊕ (−V),(4.7) where Ri j kdenotes the residual zonotope estimated by the j-th interval observer when the plant is in the i-th mode at time instant k. To obtain the set values of Ri j k, the expression ˜ Xi j k={xk} ⊕ (−ˆ Xj k) in (4.7) should be considered, which is derived as ˜ Xi j k={xk} ⊕ (−ˆ Xj k) =(xk−ˆxj,c k)⊕ˆ Hj,x kBsj k,(4.8) where sj krepresents the order of the zonotope ˜ Xi j k. According to (4.1) and (4.6), at time instant k+1, using ˜xi j,c k+1and ˜ Hi j,x k+1to denote xk+1−ˆxj,c k+1and ˆ Hj,x k+1as in (4.8), the center ˜xi j,c k+1and segment matrix ˜ Hi j,x k+1of ˜ Xi j k+1can be computed as ˜xi j,c k+1=(A−LjC) ˜xi j,c k+B(Fi−mid(Fj))uk−Lj(ηk−ηc)+(ωk−ωc),(4.9a) ˜ Hi j,x k+1=ˆ Hj,x k+1, ˆ Hj,x k+1=[(A−LjC)ˆ Hj,x kBdiam(Fj) 2uk−LjH¯ηH¯ω].(4.9b) By substituting (4.8) into (4.7), the residual zonotope can be rewritten as Ri j k=C˜ Xi j k⊕ {ηk} ⊕ (−V).(4.10) 4.3.2 Adaptive Bounds for Residual Zonotopes Substituting Fi,Wand Vinto (4.9a) to respectively replace Fi,ωkand ηk, one can obtain a zonotope ˇ Xi j k+1to bound ˜ Xi j k+1described by (4.8) and (4.9). Moreover, the center ˇxi j,c k+1and segment matrix ˇ Hi j,x k+1of ˇ Xi j k+1can be derived as ˇxi j,c k+1=(A−LjC) ˇxi j,c k+Bmid(Fi)uk−Bmid(Fj)uk,(4.11a) ˇ Hi j,x k+1=[(A−LjC)ˇ Hi j,x kBdiam(Fi) 2ukBdiam(Fj) 2ukLjH¯η−LjH¯ηH¯ω−H¯ω]. (4.11b) Using Remark 4.7 and zonotope manipulations, an equivalent compact form of (4.11) can be derived as ˇ Xi j k+1=(A−LjC)ˇ Xi j k⊕Bˇ Ui⊕B(−ˇ Uj)⊕Lj(−V)⊕W⊕LjV⊕(−W),(4.12) 50
4.3 Residual Analysis where the sets ˇ Uiand ˇ Ujare zonotopes, which are computed by ˇ Ui={mid(Fi)uk} ⊕ diam(Fi) 2ukBsˇui,(4.13a) ˇ Uj={mid(Fj)uk} ⊕ diam(Fj) 2ukBsˇuj,(4.13b) where sˇujand sˇujare the orders of ˇ Ujand ˇ Uj, respectively. Proposition 4.1. If ˜ Xi j k∗⊆ˇ Xi j k∗holds, ˜ Xi j kwill always be bounded by ˇ Xi j kfor all k >k∗. Proof : Since (4.11) is obtained by substituting the bounds of Fi,ωkand ηkinto (4.9), if, at time instant k∗,˜ Xi j k∗⊆ˇ Xi j k∗holds, then after k∗, the inclusion will always hold. According to Proposition 4.1, by introducing ˇ Xi j kand Vinto (4.10), a computable bound for Ri j kcan be obtained as ˇ Ri j k=Cˇ Xi j k⊕V⊕(−V).(4.14) 4.3.3 Static Bounds for Residual Zonotopes In (4.12), the adaptive bound ˇ Xi j kof ˜ Xi j kalways tracks the evolution of control inputs. Since FDI conditions of the proposed approach are established by using fixed steady sets, in order to establish FDI conditions, it is necessary to obtain a static bound for ˜ Xi j k (not affected by the evolution of inputs). Assumption 4.4. The input vector ukof the plant is bounded by U={u∈Rp:|u−uc|≤¯u,uc∈Rp,¯u∈Rp}, where the vectors ucand ¯u are constant. Furthermore, the set U can be rewritten as a zonotope U =uc⊕H¯uBp, where H¯u∈Rp×pis a diagonal matrix with the main diagonal being composed of ¯u. By replacing ukin (4.11) with its bound U, one can obtain a static bound denoted as ˘ Xi j k+1for both ˜ Xi j k+1and ˇ Xi j k+1and the set-based dynamics of ˘ Xi j k+1are expressed as ˘ Xi j k+1=(A−LjC)˘ Xi j k⊕B˘ Ui⊕B(−˘ Uj)⊕Lj(−V)⊕W⊕LjV⊕(−W),(4.15) where, according to Properties 2.6 and 2.7 in Chapter 2, the sets ˘ Uiand ˘ Ujare zonotopes, which are computed by ˘ Ui={mid(Fi)uc} ⊕ [seg((FiH¯u)) diam(Fi) 2uc]Bs˘ui,(4.16a) ˘ Uj={mid(Fj)uc} ⊕ [seg((FjH¯u)) diam(Fj) 2uc]Bs˘uj,(4.16b) 51
4.4 Fault Detection and Isolation Conditions where s˘uiand s˘ujdenote the orders of the zonotopes ˘ Uiand ˘ Uj, respectively. Thus, from the set-theoretic point of view, one can define an equivalent dynamics for (4.15), which is presented as ˘xi j k+1=(A−LjC) ˘xi j k+B˘uik−B˘ujk−Ljηk+˘ωk+Lj˘ηk−ωk,(4.17) where ˘uik∈˘ Ui, ˘ujk∈˘ Uj, ˘ηk∈Vand ˘ωk∈Whold. As per the notions of RPI and mRPI sets, an RPI set for (4.17) can be computed and further written in the zonotopic form. Moreover, using the RPI set as an initial set for (4.15), after a finite number of iterations, an RPI approximation (denoted as ˚ Xi j) with an arbitrarily expected precision to the mRPI set of (4.17) can be computed. Since the mRPI set is the limit set of (4.15), as long as the precision of ˚ Xi j is satisfactory, ˚ Xi j can reliably replace the use of the mRPI set. In the proposed approach, for each mode, the corresponding interval observer is designed according to the system mode model. By substituting ˘ Xi j kin (4.15) into (4.10), a static bound ˘ Ri j kfor both Ri j kand ˇ Ri j kcan be obtained as ˘ Ri j k=C˘ Xi j k⊕V⊕(−V).(4.18) Remark 4.9. Two different residual-related sets ˇ Ri j kand ˘ Ri j kare considered in the proposed approach. ˇ Ri j kand ˘ Ri j kas the two different bounds of Ri j khave different uses, i.e., ˇ Ri j kis used for the on-line FI during the transition while ˘ Ri j kis used to establish FDI conditions. This will be elaborated in the following contents. Since the set ˚ Xi j is an RPI approximation of the mRPI set ˘ Xi j ∞, one can obtain a suitable approximation ˚ Ri j ∞for ˘ Ri j ∞, which is expressed as ˚ Ri j ∞=C˚ Xi j ⊕V⊕(−V).(4.19) In Section 4.3, when i=0 and j=0, the relevant conclusions reduce to the case corresponding to the healthy interval observer under the healthy mode. 4.4 Fault Detection and Isolation Conditions This section establishes FDI conditions for the proposed approach at steady state by using the static bound of residual zonotpes and the notion of invariant sets. 4.4.1 Theoretical Conditions For the proposed approach, the theoretical FDI conditions are established by determining the dynamic behaviors of the system at infinity. As ktends to infinity, a collection 52
4.4 Fault Detection and Isolation Conditions of guaranteed FDI conditions can be established using the static residual-bounding zonotopes ˘ Ri j ∞as indicated in (4.18). Theorem 4.1. Given the plant (4.1)and a bank of interval observers (4.4)and (4.5), for any mode i, if the static residual-bounding zonotopes corresponding to interval observers satisfy 0∈˘ Rii ∞and 0<˘ Ri j ∞,j,i,i,j∈I,(4.20) once a considered mode occurs, the detection and isolation of the mode can be guaranteed as the system converges to the steady state of the mode. Proof : The proof includes three parts. The first one is to prove that (4.20) provides asymptotic FDI conditions. The second one focuses on the dynamic behaviors of the static residual-bounding zonotopes at infinity, i.e., ˘ Ri j ∞translates the behaviors of the plant at steady state, which guarantees FDI. The third one is to prove that (4.20) guarantees FDI during the transition induced by mode switching. •The satisfaction of (4.20) implies that only residual zonotopes estimated by the interval observer matching the current mode contain the origin 0at infinity while residual zonotopes, estimated by the interval observers not matching the current mode, exclude 0at infinity. Thus, (4.20) guarantees that the considered modes satisfying the theorem are detectable and isolable. •Without loss of generality, the following proof is based on the relevant set-based dynamics. (4.15) shows that the time-variant term is (A−LjC)˘ Xi j k, which means that the differences of ˘ Xi j kat different time instants, are determined by the shape of ˘ Xi j 0, while the contractive factor A−LjCis determined by the placement of the eigenvalues of A−LjC(system matrix of the dynamics of the j-th interval observer). Thus, after a waiting time assessed by the eigenvalues of A−LjCafter mode switching, (4.15) enters into its steady state. Then, the set values of ˘ Xi j k after entering into the steady state can be sufficiently close1to the set ˘ Xi j ∞, which implies that ˘ Xi j ∞can be used to approximately describe the dynamic behaviors of the whole process after the waiting time. Thus, as long as Theorem 4.1 is satisfied, FDI of all the considered modes can be guaranteed after they occur. •The considered modes can be detected and isolated at latest when the system enters into steady state, which is implemented by finding the interval observer that estimates residual zonotopes that can include the origin 0. Regarding the implementation of FI during the transition, it will be detailed in Section 4.5. 1˘ Xi j kis inside the set described as the Minkowski sum of {pi j} ⊕ (1 +){˘ Xi j ∞⊕ {−pi j}}, where pi j denotes the center of ˘ Xi j ∞and is a scalar that satisfies > 0. 53
4.6 Illustrative Example mass balance and energy balance in the reactor, the process is depicted by a non-linear dynamic model given in [38] (please read [38] for all the details about the CSTR case study in this chapter). As per [38], cAis the concentration of the component A,Tis the reactor temperature, qcis the input and cAis the output, and the nominal values for the CSTR model parameters are given in Table 4.1. The operating point of the CSTR is chosen as cAo=8.235 ×10−2mol/l,(4.31a) To=441.81K.(4.31b) The discrete-time linear model of the system around the operating point defined by (4.31) is obtained as xk+1="0.8976 −0.0002 −0.4894 0.7606 #xk+"0 0.0024#Fuk+ωi k,(4.32a) yk=h1 0ixk,(4.32b) where ωi kis a bounded signal to model the discretization errors1between the linearized continuous-time model and linear discrete-time model for the i-th mode. The proposed approach only requires the bounds of ωi kand does not require their real-time values. In simulation, empirical values are given for the bounds of ωi k, which are obtained as ¯ω0=h0.001 0.001iT, ω0c=h0 0iT,(4.33a) ¯ω1=h0.002 0.002iT, ω1c=h0.015 0.015iT,(4.33b) ¯ω2=h0.003 0.003iT, ω2c=h0.03 0.03iT.(4.33c) Remark 4.14. Since the proposed FDI approach considers the linear discrete timeinvariant systems, while the CSTR is a highly non-linear system, in this case study, the simulations are done based on the linearized model of the CSTR and ωi kis empirically decided by simulations. Faults affecting the valve position corresponding to the coolant flow are considered, i.e., the flow rate of the coolant is affected. Thus, the faults are modelled as Fin (4.32), where 0 and 1 denote the complete outage and healthy operation of the valve, respectively, and a value inside (0,1) denotes that the valve loses partial performance. Here, two faults are considered, i.e., F0(healthy), F1(fault 1) and F2(fault 2). It is known the particular magnitude of faults is unknown in reality. Thus, one considers the bounds of F1and F2, which are denoted as intervals F1=[0.1,0.3],F2=[0.5,0.7].(4.34) 1Realistically, the errors are possible to be different for different modes, which does not conflict with (4.1). 60
4.6 Illustrative Example If F1and F2satisfy the proposed FDI conditions, a fault occurrence with any fault magnitude inside F1or F2is detectable and isolable. These two operating regions F1 and F2of the valve are monitored by two interval observers. Whenever the operating situation of the valve drops into either of the two regions, they can be detected and isolated by the proposed approach. Based on (4.32) and (4.34), three interval observers with the form indicated in (4.4) and (4.5) are designed to monitor the linearized continuous-time model. The gain matrices and initial conditions for the interval observers and the waiting time for the steady-state FI are given as: •Observer gains: L0=L1=L2="0.1582 11.6106#. •Initial conditions: x0="0 0#,ˆ X0="0 0#⊕"0.05 0 0.05 0.05 0.05 0 #B3. •Waiting time T:T=20∆t. The actual magnitudes of actuator faults are given as F1=0.15,F2=0.55, which are inside the bounds indicated in (4.34), respectively. In simulation, the input around the operating point is a sinusoidal signal that oscillates in an interval ∆qc∈[−20,20]. According to Theorem 2.1 and Proposition 2.1 and iterating (4.15) thirty steps, as explained in Section 4.3.3, the RPI approximations of the limit sets of the static residual-bounding zonotpes for each interval observer are computed. Furthermore, the interval hulls of these RPI approximations are presented as: •For interval observer 0: ˚ R10 ∞=[0.0477,0.0719], ˚ R20 ∞=[0.1035,0.1356]. •For interval observer 1: ˚ R01 ∞=[−0.0719,−0.0477], ˚ R21 ∞=[0.0396,0.0799]. 61
4.6 Illustrative Example Table 4.1: Parameters of CSTR Variable Symbol Nominal value Tank volume V100 [l] Feed flow rate q100 [l/min] Feed concentration cA f 1 [mol/l] Feed temperature Tf350 [K] Coolant flow rate qc100 [mol/l] Coolant temperature Tc350 [K] Densities ρ,ρc1000 [g/l] Specific heats Cp,Cpc 1 [cal/(g K)] Pre-exponential factor k07.2×1010 [1/min] Exponential factor E/R9.98 ×103[K] Heat of reaction −∆H2.0×105[cal/mol] Heat transfer charact. hA 7.0×105[1/(min K)] Sampling period ∆t0.1 [min] •For interval observer 2: ˚ R02 ∞=[−0.1356,−0.1035], ˚ R12 ∞=[−0.0799,−0.0396]. As per the discussions in this chapter, ˚ R00 ∞,˚ R11 ∞and ˚ R22 ∞can always include 0, they are omitted here. It can be observed that all the RPI approximations corresponding to a bank of interval observers satisfy the FDI conditions as established in (4.19), which implies that the proposed technique can be used for FDI. Remark 4.12 suggests an initial zonotope ˜ Xdetermined by the plant physical constraints. ˜ Xis used by Property 2.4 to construct initial zonotopes for the initialization of the dynamics of the static residual-bounding zonotopes whenever a fault is detected. By simulations, ˜ Xis empirically given as ˜ X="0 0#⊕"0.15 0 0.15 0 5 5 #B3, which can bound ˜ Xi j kin any mode. Besides, the parameter λin Property 2.4 (note that a selection strategy of λcan be found in [2]) is given as λ=h1 1iT. In this example, the fault modes 1 and 2 are simulated separately. The fault scenarios for both fault modes are set as follows: from time instants 0 to 49, the actuator 62
4.6 Illustrative Example 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −0.2 −0.15 −0.1 −0.05 0 0.05 0.1 0.15 Time Residual R0 R1 R2 ˇ R00 ˇ R11 ˇ R22 Figure 4.2: FDI of Fault 1 is healthy, from time instants 50 to 99 an actuator fault occurs and from time instants 100 to 150 the actuator recovers to the healthy mode. The simulation results of the fault 1 are presented in Figure 4.2. From time instants 0 to 49, the actuator is healthy, thus, residual zonotopes1(R0in Figure 4.2) estimated by the healthy interval observer can always contain the origin. At time instant 50, the fault 1 occurs. Then, R0excludes the origin at time instant 52, which indicates that the fault is detected at time instant 52. At the same time, ˇ R11 and ˇ R22 corresponding to the interval observers 1 and 2 are initialized to start the transient FI task. At time instant 53, it can be observed that R1⊆ˇ R11 but R2*ˇ R22, which implies that the fault 2 does not occur while the fault 1 has occurred in the system. The same conclusion can be drawn when one analyzes the steady-state behaviors and it can be observed that 0∈R1,0<R0and 0<R2after T, which also indicates that the fault 1 has occurred in the system. Besides, from time instants 100 to 150, a recovery process is introduced, which can be understood in the same way. Regarding the fault 2, the results are given in Figure 4.3, which can be explained similarly as the fault 1. Thus, as per the results, the proposed FDI technique is 1For theoretical analysis, one uses Ri j kto denote the residual zonotope estimated by the j-th interval observer in the i-th mode at time instant k. But, in the figures, one only uses Rito denote the residual zonotopes from the i-th interval observer. 63
4.7 Summary 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −0.2 −0.15 −0.1 −0.05 0 0.05 0.1 0.15 Time Residual R0 R1 R2 ˇ R00 ˇ R11 ˇ R22 Figure 4.3: FDI of Fault 2 effective to detect the faults and further isolate the faults during the transition between two different modes. Remark 4.15. There are two different FI strategies in the proposed FDI approach. One is for the transient-state FI and the other is for the steady-state FI. However, notice that the emphasis of the proposed FI approach consists in the transient-state FI strategy, while the steady-state FI strategy is used as FI guarantees of the transientstate FI strategy when the transient-state FI strategy loses its effectiveness. 4.7 Summary In this chapter, an actuator FDI approach using a bank of interval observers is proposed, where invariant set-based FDI conditions are established to guarantee FDI. Under the FDI conditions, the approach can provide two different FI mechanisms that can be selected according to the need of actual applications. The first FI mechanism can isolate faults during the transition between induced by mode switching while the second one usually needs more time to isolate faults but with less computational load. The future research consists in loosening the FDI conditions and extending the approach into the system with parametric uncertainties. 64
Chapter 5 Sensor-fault Detection and Isolation using Set-based Methods In this chapter, the main objective is to propose a sensor FDI approach based on interval observers. For the set-based approach, the important challenge is how to reduce the conservatism of guaranteed FDI conditions as much as possible. In this chapter, based on invariant sets, a collection of guaranteed FDI conditions are established by using the system-operating information from all interval observers. If all considered sensor faults satisfy the FDI conditions, it can be guaranteed that they are detectable and isolable. This chapter concludes with a case study based on a subsystem of a wind turbine benchmark, which illustrates the effectiveness of the proposed technique. 5.1 Introduction In [65–67], interval observers have been extended for FDI in terms of actuator faults. However, considering differences between actuator and sensor faults, if one applies the approach proposed in Chapter 4into sensor FDI, the obtained results will be more conservative in terms of FDI guarantees. In order to obtain a less conservative set-based sensor FDI approach, one proposes a method to make full use of all available and useful system-operating information and simultaneously reduce computational complexity as much as possible. This chapter aims to propose a set-based robust sensor FDI approach with no need of multisensor redundancy [58]. It has been stated that, to improve the set-based FDI approach, one has to propose tighter guaranteed FDI conditions. Additionally, because of different characteristics of actuator and sensor faults, comparing with the works for actuator FDI [65,66], the approach proposed in this chapter pays more extra efforts to implement set-based robust detection and isolation for sensor faults. 65
5.2 Problem Formulation The contribution of the approach proposed in this chapter is threefold. First, the FDI decision is jointly made by both interval observer-based and the invariant setbased FDI mechanisms. Second, the proposed approach uses the system-operating information captured by all interval observers for establishing FDI conditions and implementing FDI. Third, in this FDI approach, a mechanism to reduce computational complexity as much as possible is also proposed, which aims to obtain a balance between FDI performance and computational complexity. 5.2 Problem Formulation 5.2.1 Plant Models The proposed sensor FDI scheme has the same structure as that in Figure 4.1, where the linear discrete time-invariant plant under the effect of sensor faults is modelled as xk+1=Axk+Buk+ωk,(5.1a) yk=GiCxk+ηk.(5.1b) In the model (5.1), Gi(i∈I={0,1,· · · ,M}) is a q×qdiagonal matrix1used to model the i-th sensor mode, where Mdenotes the number of the considered sensor faults. Besides, G0is the identity matrix denoting the healthy sensor mode, while Gi (i,0) denotes the i-th sensor-fault mode, whose diagonal elements take values2from an interval [0,1]. Remark 5.1. The number M of the considered sensor faults is different from that of sensors in a system, because there may be several fault modes critical to the system performance/safety corresponding to one sensor, which should be monitored on-line. Thus, in this approach, M +1interval observers are designed, each of which corresponds to one sensor mode. Assumption 5.1. The pair (A,B)is stabilizable and the pairs (A,GiC) are detectable for all i ∈I. Assumption 5.2. The occurrence of any considered mode can persist sufficiently long time such that the FDI module has enough responsive time to detect and isolate them. Since the scheme in Figure 4.1 is open-loop, which does not take the effect of inputs on the system stability into account. Realistically, one should firstly assure system stability for analyzing the proposed approach. 1Each row of Ccorresponds to a sensor and the status of the i-th sensor is modelled by the value of the i-th diagonal element of Gi. 2For the diagonal elements of Gi, taking the values 0 and 1 denotes the complete outage and health of the corresponding sensor, respectively, while taking a value inside the interval (0,1) denotes partial performance degradation of the corresponding sensor. 66
5.3 Residual Analysis The proposed approach can be used for both single or multiple faults. For single faults, the fault-modelling matrix Gifor each considered mode only has one diagonal element not equal to 1, while for multiple faults, Gihas several different diagonal elements not equal to 1. More details will be presented in this chapter. 5.2.2 Interval Observers In Figure 4.1, a bank of interval observers are used to monitor the considered modes. In accordance with the model (5.1), the interval observer corresponding to the j-th (j∈I) mode is designed as ˆ Xj k+1=(A−LjGjC)ˆ Xj k⊕ {Buk}⊕{Ljyk} ⊕ (−Lj)V⊕W,(5.2a) ˆ Yj k=GjCˆ Xj k⊕V,(5.2b) where ˆ Xj kand ˆ Yj kare the state and output sets estimated by the j-th interval observer, respectively, and the gain Ljis chosen to guarantee that A−LjGjCis a Schur matrix. Assumption 5.3. The initial state of the plant and the initial state set of all interval observers are denoted as x0and ˆ X0, respectively, and x0∈ˆ X0holds. Remark 5.2. For each interval observer, its initial set can be different. However, for simplicity, a common set is used as the initial set for all interval observers. Since Wand Vare zonotopes, if the initial set ˆ X0is chosen as a zonotope, ˆ Xj k+1and ˆ Yj kare also zonotopes. By using zonotope operations, (5.2) can be transformed into the equivalent center-segment matrix form ˆxj,c k+1=(A−LjGjC) ˆxj,c k+Buk+Ljyk−Ljηc+wc,(5.3a) ˆ Hj,x k+1=[(A−LjGjC)ˆ Hj,x k−LjH¯ηH¯ω],(5.3b) ˆyj,c k=GjCˆxj,c k+ηc,(5.3c) ˆ Hj,y k=[GjCˆ Hj,x kH¯η],(5.3d) where ˆxj,c k, ˆyj,c k,ˆ Hj,x kand ˆ Hj,y kare the centers and segment matrices of ˆ Xj kand ˆ Yj k, respectively. Remark 5.3. Under Assumptions 5.1 and 5.3, the state xkshould be always contained inside the state set estimated by the interval observer matching the current system mode at steady state if there is no mode switching. The same results hold for the output and corresponding estimated output set. 5.3 Residual Analysis In this section, for the proposed FDI technique, residuals are defined in terms of zonotopes and the corresponding bounding sets of residual zonotopes are derived. 67
5.3 Residual Analysis 5.3.1 Residual Zonotopes If the system currently operates in the i-th mode, the residual zonotope corresponding to the j-th interval observer at time instant kis defined as Ri j k={yk} ⊕ (−ˆ Yj k) ={GiCxk+ηk} ⊕ (−GjCˆ Xj k)⊕(−V) =GjC{{xk} ⊕ (−ˆ Xj k)}⊕{(Gi−Gj)Cxk}⊕{ηk} ⊕ (−V),(5.4) where, denoting by ˜ Xi j kthe term {xk} ⊕ (−ˆ Xj k), the residual zonotope is rewritten as Ri j k=GjC˜ Xi j k⊕ {(Gi−Gj)Cxk}⊕{ηk} ⊕ (−V).(5.5) Moreover, since ˜ Xi j k+1is a zonotope, ˜xi j,c k+1and ˜ Hi j,x k+1are used to denote its center and segment matrix, respectively. Thus, by using (5.1) and (5.3), one can have ˜xi j,c k+1=xk+1−ˆxj,c k+1,(5.6a) ˜ Hi j,x k+1=ˆ Hj,x k+1,(5.6b) where, using (5.1), (5.3) and (5.6), ˜xi j,c k+1and ˜ Hi j,x k+1can be further derived as ˜xi j,c k+1=(A−LjGjC) ˜xi j,c k+Lj(Gj−Gi)Cxk−Lj(ηk−ηc)+ωk−ωc,(5.7a) ˜ Hi j,x k+1=ˆ Hj,x k+1=[(A−LjGjC)ˆ Hj,x k−LjH¯ηH¯ω].(5.7b) 5.3.2 Residual-bounding Zonotopes In (5.7), one cannot measure ˜xi j,c ksince it involves unmeasurable quantities (ηk,ωkand xk). Thus, to precisely describe the bounds of residual zonotopes, one needs to consider residual-bounding zonotopes which are defined to contain the corresponding residual zonotopes. In order to obtain residual-bounding zonotopes, Assumption 4.4 is made for the plant inputs. For construction of invariant sets, the system dynamics (5.1a) can be rewritten as xk+1=Axk+[B I]"uk ωk#.(5.8) Considering uk∈Uand ωk∈Was in Assumption 4.4 and (3.2), an RPI set, denoted as X, can be constructed to confine the states of the dynamics (5.8) by using Theorem 2.1 and Proposition 2.1. Remark 5.4. Any set X ⊂Rninvariant with respect to the dynamics (5.8)is also invariant with respect to all modes (healthy or faulty). This statement holds since the dynamics (5.8)are not affected by these sensor faults directly or indirectly, as long as the inputs are bounded by the same set. 68
5.4 Fault Detection and Isolation Conditions Since Uand Ware considered as zonotopes, Xis also a zonotope and is denoted as X=xc⊕HxBn, where xcand Hxare the center and segment matrix, respectively. By substituting X,W and Vinto (5.7) to replace xk,ωkand ηk, respectively, a bounding zonotope (denoted as ˘ Xi j k+1with the center ˘xi j,c k+1and segment matrix ˘ Hi j,x k+1) to contain ˜ Xi j k+1is obtained as ˘xi j,c k+1=(A−LjGjC) ˘xi j,c k+Lj(Gj−Gi)Cxc,(5.9a) ˘ Hi j,x k+1=[(A−LjGjC)˘ Hj,x kLj(Gj−Gi)CHx−LjH¯ηH¯ωLjH¯η−H¯ω].(5.9b) Note that, comparing (5.7) with (5.9), it can be observed that (5.9) is the set-valued version of (5.7) by considering the bounds of states and uncertainties. Remark 5.5. As per (5.7)and (5.9), if ˜ Xi j k∗⊆˘ Xi j k∗holds, ˜ Xi j kshould always be contained by ˘ Xi j kfor all k ≥k∗. Furthermore, as per (5.5) and Remark 5.5, one obtains a residual-bounding zonotope ˘ Ri j kto contain Ri j k: ˘ Ri j k=GjC˘ Xi j k⊕(Gi−Gj)CX ⊕V⊕(−V).(5.10) For the center-segment matrix description, an equivalent set description1of (5.9) is obtained as ˘ Xi j k+1=(A−LjGjC)˘ Xi j k⊕Lj(Gj−Gi)CX ⊕LjV⊕(−W)⊕(−LjV)⊕W.(5.11) As stated in Proposition 2.1, as ktends to infinity, the set sequence generated by (5.11) converges to the mRPI set of the dynamics (5.7) if one considers xk∈X,ωk∈W and ηk∈V, and an RPI approximation of the mRPI set with an arbitrarily expected precision can be constructed by iterating (5.11) from an initial RPI set of (5.7). 5.4 Fault Detection and Isolation Conditions This section proposes a novel set-based FDI strategy for sensor faults by combining both interval observer-based and invariant set-based FDI mechanisms. 5.4.1 Collecting Process Information At each time instant, the system operation can be monitored in terms of residual zonotopes by means of a bank of interval observers. For brevity, in the i-th mode, one defines a vector2of residual zonotopes to collect residual zonotopes estimated by all 1The equivalence of (5.9) and (5.11) can be verified by applying zonotope operations into (5.11) to obtain its center-segment matrix equivalent form, which is the same with (5.9). 2Because, in any mode, residual zonotopes are obtainable, without ambiguity, the notation Ri kcorresponding to the i-th mode can be generally replaced by the notation Rk. 69
5.5 Fault Detection and Isolation By means of the dynamics (5.11), with the corresponding starting sets at the FD time kd, the set sequences ˘ Xj j k(k≥kdand j∈Ii) can be generated, which will always contain state estimation error sets ˜ Xj j k(k≥kd) according to Remark 5.5 if the current mode is also the j-th one. Furthermore, by using (5.10), the corresponding residualbounding zonotope sequences ˘ Rj j k(k≥kdand j∈Ii) can be computed, respectively. The generated residual-bounding zonotope sequence ˘ Rj j k(k≥kd) will always contain the residual zonotopes estimated by the j-th interval observer if the current system is also in the j-th mode. However, if the current system is not in the j-th mode, the sequence ˘ Rj j k(k≥kd) may not contain the residual zonotopes Rf j k(k≥kd) even at the FD time kd. This can be explained by the fact that residual-bounding zonotopes depend on the system modes (see (5.10)). At time instant kd, even though the starting sets of (5.11) for all the interval observers j∈Iirespectively satisfy ¯ Xf j kd⊇˜ Xf j kd,f,i,(5.20) it cannot still guarantee ˘ Rj j kd⊇Rf j kd, where ˘ Rj j kdis computed as ˘ Rj j kd=GjC¯ Xf j kd⊕V⊕(−V).(5.21) Thus, whenever a fault is detected, the proposed transient FI strategy generates M residual-bounding zonotope sequences ˘ Rj j k(k≥kdand j∈Ii), each of which corresponds to one candidate mode. This implies that, among the Mresidual-bounding zonotope sequences, there exists at least one (i.e., the one matching the current afterfault mode) that can always contain the residual zonotopes estimated by its corresponding interval observer for all k≥kd. Based on this fact, the proposed transient-state FI strategy is summarized as follows. In the i-th mode, when a fault is detected at the FD time kd,Mresidual-bounding zonotope sequences described by the candidate-mode set Iican be generated by initializing (5.11) with their corresponding starting sets and using (5.10), the transient-state FI strategy consists in searching a mode by testing whether or not Rf j k⊆˘ Rj j k,j∈Ii,for all k≥kd(5.22) holds in real time. If a violation of (5.22) corresponding to the j-th interval observer is detected, one immediately stops generating its corresponding residual-bounding zonotope sequence and removes the index jfrom the candidate-mode set Ii. Testing and removing are repeated until the time instant when the set Iiremains only one element or the time window used to describe the transition completely elapses. This time instant and this unique element indicates the FI time and fault, respectively. Remark 5.11. Since sensor faults can immediately affect the system outputs, this means that a sensor fault is possible to be isolated by the FI strategy proposed in (5.22)at the FD time instant kd(see (5.20)and (5.21)). 76
5.5 Fault Detection and Isolation This means that, by using the FI strategy, the FI decision perhaps can be directly obtained by initialization at time instant kd. Remark 5.12. It is possible that, even though the proposed transient-state FI algorithm is persistently executed, there always exist at least two elements in Iiduring the corresponding time window. This implies that accurate FI may not be obtained only by the proposed transient-state FI during the transition. In this chapter, in order to describe the transition induced and the persistent time of the use of this transient-state FI strategy, a proper time window should be defined in advance. In order to avoid the situation indicated in Remark 5.12, one also proposes a steadystate FI strategy to complement the transient-state FI strategy by using residual zonotopes and testing the inclusion between residual zonotopes and 0after the time window. By testing these inclusions, one can obtain the fault signature vector Fi. Finally, by matching the matrix Fiwith the rows of the matrix I0, if one row of the matrix I0 can match Fi, then the index of this row indicates the new mode. This steady-state FI strategy is summarized in Proposition 5.3. Proposition 5.3. After applying the transient-state FI strategy over a defined time window, if there still exist at least two elements in Ii, FI can still be guaranteed by searching an unique row of the matrix I0that can match the fault signature vector Fi and the FI decision is indicated by the index of this row. Proof : Under Proposition 5.1, as ktends to infinity, all residual-bounding zonotope sequences converge to their corresponding fixed sets (i.e., the elements of the matrix M). Since if residual-bounding zonotope sequences do not contain 0, it is guaranteed that its corresponding residual zonotopes in Table 5.1 at steady state do not contain 0 too. Moreover, in the case that an interval observer matches the current system mode, the residual zonotopes estimated by this interval observer can contain 0at steady state. This implies that, under Proposition 5.1, the fault signature vector Fiis different in different modes and can match one and only one row of the matrix I0. Thus, FI can be guaranteed by comparing Fiwith the rows of the matrix I0on-line. In order to explain how to obtain the fault signature vector Fi, one still uses the example given by (5.15) and (5.16). Firstly, one assumes that the system is in the healthy mode at the beginning, after a fault is detected, one knows that all the faults 1, 2 and 3 are candidates. With the matrix (5.16), it can be observed that the faults 1 and 2 can be distinguished by using residual zonotopes estimated by the observer 2, the faults 1 and 3 by the observer 1 and the faults 2 and 3 by the observer 2. This means that, after a fault is detected, one only needs to use residual zonotopes estimated by the interval observers 1 and 2, while the other two interval observers 0 and 3 are not necessary to use. Thus, from the computational point of view, F0should be a two-dimensional vector whose elements are composed of the binary information by testing inclusion between residual zonotopes estimated by the interval observers 1 and 2 and the origin. 77
5.5 Fault Detection and Isolation But, for simplicity, one can always define F0as a four-dimensional vector, whose four elements are obtained by testing inclusion between residual zonotopes estimated by all the four interval observers and the origin. But, finally, only the 1-st and 2-nd elements of F0are used to compare with the 1-st and 2-nd elements of Row 1, 2 and 3 of the matrix (5.16) for FI, while the 0-th and 3-rd elements of F0are not useful. Remark 5.13. In this chapter, the whole FI algorithm simultaneously includes the two FI strategies respectively presented in (5.22)and Proposition 5.3. The former may be able to isolate faults during the transition but without FI guarantees, while the latter with FI guarantees requires longer FI time after the transition. 5.5.3 Starting Sets for Fault Isolation In Section 5.5.2, it can be observed that the starting sets for residual-bounding zonotope sequences are crucial for the transient-state FI strategy. An idea to construct these starting sets is given. Firstly, by using a zonotope V0=H¯ηBq, in the unknown mode f, for the j-th interval observer, the corresponding residual zonotope indicated in (5.4) can be transformed into Rf j kd=GjC˜ Xf j kd⊕ {(Gf−Gj)Cxkd}⊕{ηkd−ηc} ⊕ (−V0).(5.23) By adding −(ηkd−ηc) and −(Gf−Gj)Cxkdto both sides, the previous equation turns into Rf j kd⊕ {−(ηkd−ηc)} ⊕ {−(Gf−Gj)Cxkd}=GjC˜ Xf j kd⊕(−V0).(5.24) Considering ηkd−ηc∈V0and xkd∈X, one further has GjC˜ Xf j kd⊕(−V0)⊆Rf j kd⊕(−V0)⊕(Gj−Gf)CX.(5.25) Since V0can be removed from both sides of the equation, one can obtain GjC˜ Xf j kd⊆Rf j kd⊕(Gj−Gf)CX.(5.26) It can be observed that the right side of (5.26) is dependent of modes. But, before the fault is isolated, it is not possible to know the new mode. Thus, one should construct initial sets without being affected by modes. Here, one has to consider three different cases. •If j,fand j=0, one always has Gj−Gf=diag(0,...,0,1−gf,0,...,0). where gfis the f-th diagonal element of Gfthat models the f-the sensor fault. 78
5.5 Fault Detection and Isolation •If j,fand j,0, one always has Gj−Gf=diag(0,...,0,gj−1,0,...,0,1−gf,0,...,0), where gjis the j-th diagonal element of Gjthat models the j-the sensor fault. •If j=f, one always has Gj−Gf=0. By summarizing the aformentioned three cases, one can obtain that, if j=0, one always has Gj−Gf∈Gf j =diag([0,1−g1],[0,1−g2],...,[0,1−gq]), while if j,0, one always has Gj−Gf∈Gf j =diag([0,1−g1],...,[0,1−gj−1],1−gj,[0,1−gj+1],...,[0,1−gq]). where Gf j is a diagonal interval matrix that can always include Gj−Gfinside its interval as long as the mode switching from the j-th mode occurs. Thus, one can further have (Gj−Gf)CX ⊆Gf jCX,(5.27) where, considering that Xis a zonotope and Gf j is an interval matrix, with Properties 2.6 and 2.7,Gf jCX can be over-approximated by a zonotope denoted as Zf j =zf j,c⊕Hf j zBsf j , where sf j is the order of Zf j. Thus, in order to remove the effect of modes, a solution is to further transform (5.26) into GjC˜ Xf j kd⊆Rf j kd⊕Zf j.(5.28) Since Rf j kdis zonotope, the term Rf j kd⊕Zf j can be rewritten into the zonotopic form Rf j kd⊕Zf j =rf j,c kd⊕Hf j,r kdBsf j,r kd,(5.29) where sf j,r kdis the zonotope order, and rf j,c kdand Hf j,r kdcan be respectively derived as rf j,c kd=ykd−ˆyc,y kd+zf j,c,(5.30a) Hf j,r kd=[ˆ Hj,y kdHf j z].(5.30b) With the help of the zonotopic form of Rf j kd⊕Zf j, (5.28) is rewritten as GjC˜ Xf j kd⊕ {−rf j,c kd} ⊆ Hf j,r kdBsf j,r kd.(5.31) 79
5.5 Fault Detection and Isolation Using F(l), Hf j,r kd(l) and rf j,c kd(l) to denote the l-th rows of GjCand Hf j,r kdand the l-th component of rf j,c kd, respectively, one can obtain a group of inequalities corresponding to (5.31), where the l-th inequality can be written as |F(l) ˜xf j k−rf j,c kd(l)|≤k Hf j,r kd(l)k1,l=1,2,· · · ,q,(5.32) where ˜xf j krepresents the elements that satisfy (5.32). Remark 5.14. It can be observed that the description (5.32)is more conservative than (5.31), which means, if the q inequalities of (5.32)can determine a closed set, the closed set can fully contain ˜ Xf j kdin (5.31). Assumption 5.4. For the j-th interval observer, ˜ Xjdenotes a given zonotope determined by the physical constraints of the system and can always bound ˜ Xi j kfor all i ∈I. As per Property 2.4, each inequality out of the qinequalities of (5.32) generally determines a strip and the qinequalities together can form a closed set that contains ˜ Xf j kd. However, there exist two possible cases that depend on the system dynamics. •If the qinequalities themselves can form a closed set, this set can contain ˜ Xf j kd, •If the qinequalities cannot form a closed set (i.e., there are not enough strips such that their intersection cannot lead to a closed set), then ˜ Xjindicated in Assumption 5.4 can be further used to construct a closed set that can contain ˜ Xf j kd. However, because Property 2.4 can only compute a zonotope approximation of the intersection of a zonotope and a strip, for the j-th interval observer, ˜ Xjhas to be used as the initial zonotope of Property 2.4 for both cases. As seen in Section 5.5.2, for the j-th interval observer, the constructed starting zonotope for the residual-bounding zonotope sequence is denoted as ¯ Xf j kd. Remark 5.15. In a particular case, if the matrix GjC is invertible, (5.28)can be directly transformed into ˜ Xf j kd⊆(GjC)−1{Rf j kd⊕Zf j},(5.33) where (GjC)−1denotes the inverse of GjC and (GjC)−1{Rf j kd⊕Zf j}is directly used as the starting set ¯ Xf j kd. At the FD time kd, the proposed FI approach constructs a group of starting sets for generating Mcorresponding residual-bounding set sequences ˘ Rj j k(j∈Ii). As derived before, for the j-th interval observer, its residual-bounding set sequence is generated by initializing its corresponding dynamics (5.11) with the starting set ˘ Xj j kd=¯ Xf j kd,for all j∈Ii.(5.34) 80
5.5 Fault Detection and Isolation As said in Remark 4.13, one can also use Property 2.5 to construct the starting sets. However, there is a difference in the case of sensor faults, which is that, for each interval observer, one should construct a starting set. Thus, totally, one should construct Mstarting sets at one time for Minterval observers corresponding to all candidate modes. 5.5.4 Fault Detection and Isolation Algorithm According to the aforementioned discussions, based on the FDI conditions in Proposition 5.1, faults can be detected by Proposition 5.2. Whenever a fault is detected, after applying the proposed FI strategies in (5.22) and Proposition 5.3, theoretically, the worst case is that the fault can only be isolated at infinity because the FDI conditions are built by means of the limit sets of residual-bounding zonotopes. However, from the practical point of view, it is impossible to obtain residual-bounding zonotopes at infinity. Thus, in order to establish the proposed FDI conditions and implement the proposed FDI approach, one has to consider the RPI approximations of the limit sets (i.e., ˘ Ri j ∞) of residual-bounding zonotopes. According to Theorem 2.1, for the set-based dynamics (5.11), the mRPI set ˘ Xi j ∞can be approximated by an RPI set ˚ Xi j with an arbitrarily approximate precision to ˘ Xi j ∞. Thus, the set ˘ Ri j ∞can be approximated by the corresponding set ˚ Ri j =GjC˚ Xi j ⊕(Gi−Gj)CX ⊕V⊕(−V).(5.35) One should notice that whenever ˜ Xi j kgoes into and stays inside ˚ Xi j,Ri j kalso goes into and stays inside ˚ Ri j. Since all RPI sets (i.e., ˚ Ri j) can be computed off-line, all entries of Table 5.2 is over-approximated by Table 5.4. Table 5.4: RPI sets of residual zonotopes Interval Observer 0 · · · Interval Observer i· · · Interval Observer M Mode 0 ˚ R00 · · · ˚ R0i· · · ˚ R0M . . .. . .· · · . . .· · · . . . Mode i˚ Ri0· · · ˚ Rii · · · ˚ RiM . . .. . .· · · . . .· · · . . . Mode M˚ RM0· · · ˚ RMi · · · ˚ RMM According to the definition of the mRPI set in Definition 2.18,˘ Xi j ∞⊆˚ Xi j and ˘ Ri j ∞⊆˚ Ri j hold. This implies that after initializing (5.11), the set sequence of the corresponding residual-bounding zonotopes will finally enter into and stay inside its corresponding set (i.e., ˚ Ri j) as kincreases. 81
5.5 Fault Detection and Isolation Algorithm 2 FD algorithm Require: ˆ X0,Iand current mode index i∈I; Ensure: f; 1: Interval observer initialization: ˆ Xi j 0=ˆ X0(for all j∈I); 2: At time instant k: No fault alarm and f←FAULT; 3: while f,TRUE do 4: k←k+1; 5: Obtain Rk; 6: if (5.17) or (5.18) makes a fault alarm then 7: f←TRUE; 8: end if 9: end while 10: return f; Thus, as long as the given approximate precision is sufficiently high, Table 5.4 can be used to replace Table 5.2 for verifying the FDI conditions in Proposition 5.1. Moreover, Table 5.3 can be derived from Table 5.4. Furthermore, based on Table 5.4, for the i-th mode, one defines a vector ˚ Ri=(˚ Ri0,˚ Ri1,· · · ,˚ RiM),(5.36) which is used for Algorithm 2to carry out the FD strategy. The proposed FI algorithm is a combination of the two FI strategies presented in (5.22) and Proposition 5.3. Practically, once a fault is detected, this FI algorithm firstly starts up the FI strategy as in (5.22). If the FI strategy in (5.22) cannot isolate the fault within a defined time window, the FI algorithm will terminate it and then the FI strategy in Proposition 5.3 is started to guarantee FI at steady state. Thus, in this FI algorithm, the defined time window for the transient-state FI strategy is used as a switching mechanism between the two FI strategies in (5.22) and Proposition 5.3. According to (5.11), after the initialization required to obtain residual-bounding zonotope sequences on-line, the differences between the set values of residual-bounding zonotopes at different time instants are dependent of the term (A−LjGjC)˘ Xi j k, i.e., the eigenvalues of A−LjGjCand the starting set of initialization. Because all eigenvalues of A−LjGjCare inside the unit circle, after the transition induced by a mode switching, all residual-bounding zonotope sequences finally enter into steady state and can sufficiently and asymptotically approximate their corresponding limit sets. This implies that, at steady state, the difference between the set values of a residual-bounding zonotope sequence at different time instants will gradually decrease. This fact allows to define a proper time window as mentioned in Remark 5.12 as the switching mechanism between the two FI strategies. Definition 5.1. The time window T starting from the FD time instant kdis defined at least as the maximal settling time of the dynamics of all interval observers such that 82
5.6 Illustrative Example the proposed FI strategy in Proposition 5.3 can guarantee FI. Remark 5.16. The transitions between different modes are determined by the eigenvalues of the corresponding dynamics. Theoretically, it can also be assessed by the settling time of interval observers. Most importantly, a proper time window can always be selected by a sufficient number of simulations. As per Definition 5.1 and Remark 5.16, a mechanism of switching between the proposed FI strategies in (5.22) and Proposition 5.3 is introduced by the time window Tand the proposed FI algorithm is summarized as follows: 1. Once a fault is detected by Proposition 5.2, the transient-state FI strategy in (5.22) is firstly started to isolate the fault within the time window T. 2. After T, if the fault is still not isolated, then the first FI strategy is terminated and the FI algorithm starts up the second FI strategy proposed in Proposition 5.3 for FI at steady state . 3. After the second strategy enters in operation, at each time instant, the inclusion between residual zonotopes and 0is tested, and the testing results are used to compare with the off-line inclusion information stored in each row of I0. 4. If at a time instant, the obtained inclusion results (i.e., Fi) match one row of I0, the index of this row indicates the fault (this index is assumed as f). 5. In order to improve reliability of the FI decision given in Step 4,Rk⊆˚ Rfcan also be tested. If Rk⊆˚ Rfholds, the FI decision of Step 4can be confirmed. Otherwise the second FI strategy in Proposition 5.3 is repeated again. Remark 5.17. Both Steps 4and 5, respectively considering the invariant set-based and the interval observer-based FI principles, are used to make FI decisions. However, the core step is Step 4, while Step 5is an assistant step. For simplicity, one can also omit Step 5and only use Step 4. Notice that, the proposed FDI approach is based on the combination of invariant sets and interval observers. By this combination, the conservatism of FDI conditions should be reduced in some sense because of the use of all available system-operating information from all the corresponding interval observers. Comparing with the interval observer-based or the invariant set-based approach, the FDI effectiveness and reliability is possible to be improved. 5.6 Illustrative Example The second pitch system of a wind turbine benchmark proposed in [43] is used as the case study. Please see [43] for the details of the structure of this pitch system. The 83
5.6 Illustrative Example continuous-time dynamics of this subsystem can be found in [61], i.e., ˙x(t)=Ax(t)+Bu(t),(5.37a) y(t)=Cx(t).(5.37b) In this subsystem, two sensors are used to measure the pitch position y(t), whose measurements are y1(t)=G1(Cx(t)+η1(t)),(5.38a) y2(t)=G2(Cx(t)+η2(t)),(5.38b) where y1(t) and y2(t) denote the measurements of the first and second sensors, respectively, η1(t) and η2(t) are the corresponding measurement noises, G1and G2model the fault in the first and second sensors, respectively. If G1(or G2) is the identity matrix, it means that the corresponding sensors are healthy. Otherwise, it implies that the corresponding sensors becomes faulty. Besides, the control action is designed as u(t)=ure f (t)+uf(t),(5.39) where ure f (t) is the given input and uf(t) is the feedback with a form uf(t)=y(t)− 0.5(y1(t)+y2(t)).Furthermore, one can equivalently reformulate (5.37) and (5.38) of the pitch system into a compact form, which describes the pitch system, i.e., ˙x(t)=Ax(t)+Bu(t),(5.40a) y12(t)=G12Cx(t)+η(t),(5.40b) where y12(t)="y1(t) y2(t)#,G12 ="G1 G2#, ηk="G10 0G2#"η1(t) η2(t)#. The sets of the noises of the sensors are described by ¯η1=0.8, η1c=0, ¯η2=0.8 and η2c=0, which follows the form of uncertainties in (3.2). The parameters of the second pitch system are given as A="−13.33 −123.43 1 0 #,B="1 0#,C=h0 123.43i. Remark 5.18. Since the noises are Gaussian, the aforementioned bounds are empirical values according to the fact that, usual choices for Gaussian distribution, are the band [−3σ,3σ] with probability of 99%, or band [−6σ,6σ] with probability of 99.99%. The sampling time of the pitch system is 0.01s. After discretization, the system parameters are Ad="0.867 −1.234 0.01 1 #,Bd="0.01 0#,Cd=h0 123.43i. 84
5.6 Illustrative Example In this case study, one considers two faults in the two sensors, respectively, and it is assumed that one and only one sensor becomes faulty at any given time (note that one can also consider that two sensors become faulty simultaneously). Thus, the system should have three different sensor modes: healthy, fault in the first sensor and fault in the second sensor, which are respectively modelled as G0 12 ="1 1#,G1 12 ="0.1 1#,G2 12 ="1 0.1#. In this chapter, one assumes that the reference input1of the pitch system varies in the operating range ure f (t)∈[10◦,30◦]. Furthermore, as per (5.39), by simulating the pitch system with a time span of 106s, an empirical bound of u(t) is obtained as u(t)∈ [8.561,52.2314]. Thus, based on the obtained discrete-time dynamics, Theorem 2.1 and Proposition 2.1, an RPI approximation of the mRPI set of states is constructed by iterating 150 times from an initial state RPI set, which is denoted as X="0 0.2463#⊕"2.3934 0 0 0.2252#B2. Three interval observers are respectively designed to monitor the three modes. The initial state of the system and the initial zonotope of interval observers are respectively given as x0="0 0#,ˆ X0="0 0#⊕"1 0 0 1#B2. In order to obtain guaranteed FDI, one has to check the corresponding FDI conditions in Proposition 5.1. As per Theorem 2.1 and Proposition 2.1, for each mode, the RPI approximations of the limit sets (i.e., ˘ Ri j ∞) of the relevant residual-bounding zonotopes, indicated in Table 5.4, are obtained by iterating the dynamics (5.11) 120 times with initial RPI sets of ˜ Xi j k. These RPI approximations are presented as follows: •For the healthy mode: ˚ R00 =([−3.6507,3.6507],[−3.6507,3.6507])T, ˚ R01 =([0.7196,53.5725],[−9.0443,4.7407])T, ˚ R02 =([−9.0443,4.7407],[0.7196,53.5725])T. •For the fault in the first sensor: ˚ R10 =([−59.8823,26.8929],[−8.2239,29.9569])T, ˚ R11 =([−0.3651,0.3651],[−3.6507,3.6507])T, ˚ R12 =([−63.4498,47.4594],[0.4448,58.1507])T. 1In this case study, as an example, the reference input is chosen as a sinusoidal signal. 85
5.7 Summary Similarly, FDI of the second fault is illustrated in Figures 5.3 and 5.4. In Figure 5.3, it is seen that a fault is detected at time instant 42 (i.e., 0<R0 42,R0 42 *˚ R00,R1 42 * ˚ R01 or R2 42 *˚ R02). In Figure 5.4, it can be observed that R1 42 *˘ R11 42 and R2 42 ⊆˘ R22 42 hold, which means that the second sensor fault has occurred by the transient-state FI strategy. Moreover, if considering the steady-state FI strategy in Proposition 5.3, one can observe that 0<R1 47 (or/and 0∈R2 47) holds, which is in accordance with Row 2 of the matrix I0in (5.41), which means that at time instant 47, the fault can also be isolated by the steady-state FI strategy. Remark 5.22. According to the proposed FI algorithm, after a fault is detected, the fault should be either in the first or second sensor. Thus, as seen in the matrix I0in (5.41), one only needs to use the residual zonotopes estimated by either the interval observer 1or 2(or both of these two interval observers), which corresponds to the bold and italic columns of Row 1and 2of the matrix I0, respectively. This can reduce computational complexity of FI. Besides, because of space limit, please zoom in if some figures are not clear enough. 5.7 Summary This chapter proposes a sensor FDI approach based on set-theoretic approaches. In this approach, two different set-theoretic FDI mechanisms are simultaneously used, i.e., invariant set-based and interval observer-based mechanisms. This approach implements the combination of invariant sets and interval observers for sensor FDI, and both FD and FI decisions are based on these two FDI mechanisms. In order to reduce computational complexity, the available but redundant/unnecessary system-operating information is discarded by the proposed approach. For sensor faults, this approach can isolate faults during the transition induced by faults and the fastest FI case is that sensor faults are isolated at the same time when they are detected. For simplicity, this chapter only considers the linear time-invariant system with given magnitudes of sensor faults. However, in principle, it should be able to be extended to the system with parametric uncertainties and unknown but bounded sensor faults. 92
Part III Fault-tolerant Control 93
Chapter 6 Fault-tolerant Model Predictive Control for Actuator Faults This chapter focuses on the implementation of an actuator FTMPC scheme. In this FTMPC scheme, tube-MPC is used as the control strategy, FD is implemented by invariant sets and FI is done by MPC and tubes. Different from the passive fault diagnosis approaches proposed in the previous part, this chapter proposes an active FI method by using the constraint-handling ability of MPC, which can reduce the conservatism of guaranteed FI conditions. At the end of this chapter, an example is used to illustrate the effectiveness of the proposed FTMPC scheme. 6.1 Introduction In the previous part, one proposed the actuator and sensor FDI approaches. However, since the proposed methods are passive, where only the process information captured by interval observers can be used for FDI, one can only reduce the conservatism by making full use of those obtained system-operating information. Obviously, this passive acquisition of the system-operating information always has a bottleneck. In this part, one proposes an active approach to break through the mentioned bottleneck of the passive methods by using the constraint-handling ability of MPC. This active approach can obtain less conservative FI conditions by manipulating control inputs to excite the system. In this case, one can obtain more fault information that is unobtainable only by means of the passive methods. Considering that MPC can explicitly deal with multivariable constrained systems, it is meaningful to implement MPC schemes with fault-tolerant capability. Actually, the FTMPC technique has been investigated in the literature, which is presented in Part I. Comparing with the FTMPC schemes proposed in [51,71], this chapter proposes a 94
6.2 Problem Formulation new FTMPC scheme, which cannot only obtain FI guarantees with less conservative FI conditions but also implement FTC with low computational complexity. Plant MPC 0 Switching logic NS 0 MPC 1 NS 1 MPC p NS p ... ... - - - Observer 0 Observer 1 Observer p ... FDI ... - - - ... Figure 6.1: Actuator FTMPC scheme For less complexity, one selects tube-based MPC as the control strategy in this proposed FTMPC scheme. Instead of interval observers, one only uses Luenberger observers, which cannot only reduce computational complexity but also accord with the tube-based MPC framework based on Luenberger observers. Additionally, considering different characteristics of actuator and sensor faults, this chapter only concentrates on coping with tolerance of actuator faults. The proposed FTMPC scheme is shown in Figure 6.1. 6.2 Problem Formulation 6.2.1 Plant Models In this chapter, one considers the linear discrete time-invariant plant under the effect of actuator faults, which is modelled as (4.1). As the objective of this chapter is to propose an actuator FTC scheme, one should make several assumptions as in the previous part. Assumption 6.1. The pairs (A,BFi) for all i ∈Iand (A,C) are stabilizable and detectable, respectively. Assumption 6.2. The occurrence of actuator mode can persist sufficiently long time such that the FDI module has enough responsive time to detect and isolate them. Remark 6.1. For simplicity, this chapter only considers single faults but the proposed approach can also be extended for the case of multiple faults in principle. In Chapter 4, the proposed actuator FDI approach considers unknown but bounded faults, which accords with the realistic fault features that fault magnitudes are generally unknown. But, for simplicity, this chapter only considers faults with given magnitudes. 95
6.2 Problem Formulation However, in principle, the proposed actuator FTC scheme should also be able to be extended for unknown but bounded actuator faults. As said in Remark 6.1, the fault-modelling matrix Fishould take p+1 values (i∈I={0,1,2,...,p}). In this chapter, for simplicity, one considers the complete actuator outage. Thus, F0is the identity matrix denoting the healthy actuator mode and Fi(i,0) modelling the i-th actuator-fault mode is expressed as Fi= 1 ...i ↓ 0 ...1 .(6.1) Additionally, the hard state and input constraints are considered, which are denoted as X={x∈Rn:|x−xc|≤¯x,xc∈Rn,¯x∈Rn},(6.2a) U={u∈Rp:|u−uc|≤¯u,uc∈Rp,¯u∈Rp},(6.2b) respectively, where all the vectors xc,uc, ¯xand ¯uare constant and known. 6.2.2 Setpoint Tracking There are totally p+1 considered actuator modes (healthy or faulty), for each mode, one has an output-tracking objective. Hence, one should have p+1 reference models, each of which corresponds to one considered actuator mode. For the i-th actuator mode, the corresponding reference model is given as xre f k+1=Axre f k+BFiure f k,(6.3a) yre f k=Cxre f k,(6.3b) where ure f k,xre f kand yre f kdenote the reference inputs, states and outputs, respectively. Remark 6.2. In this chapter, without loss of generality, one considers tracking given output setpoints. The same principle could be extended to deal with time-variant reference-tracking problem. Besides, if necessary, one can also add the vectors ωc and ηcinto the reference model (6.3). In the i-th actuator mode, the control objective is to track a given setpoint y∗ i, i.e., in the absence of uncertainties and/or faults, one should have lim k→∞ (yk−y∗ i)→0.(6.4) By using (6.3), a state-input setpoint pair (x∗ i,u∗ i) in the steady-state operation of the i-th actuator mode can be computed by "A−I BFi C O #"x∗ i u∗ i#="O y∗ i#.(6.5) 96
6.2 Problem Formulation Assumption 6.3. The equation (6.5)for all i ∈Iis solvable in order to obtain the corresponding state-input setpoint pair. It can be observed that, under Assumption 6.3, a state-input setpoint pair (x∗ i,u∗ i) corresponding to y∗ ican be obtained by solving (6.5). Note that, for each mode, the state-input setpoint pair may be not unique. Remark 6.3. Ideally, the system control objective should be able to track a given output signal, i.e., all the p +1given outputs should be the same. But, under the effect of faults, sometimes, the closed-loop system has to face a degree of performance degradation. In this case, the given output setpoints may take different values. 6.2.3 Observers A bank of observers are designed for the proposed actuator scheme, each of which is designed to match one actuator mode. Thus, the observer matching the j-th ( j∈I) mode can be designed as ˆxj k+1=(A−LjC) ˆxj k+BFjuk+Ljyk,(6.6a) ˆyj k=Cˆxj k,(6.6b) where ˆxj kand ˆyj kare the estimated states and outputs, respectively, and Ljis the j-th observer gain. Assumption 6.4. For each observer, the corresponding observer gain can stabilize the observer dynamics, i.e., for all j ∈I, A −LjC is a Schur matrix. Note that, under Assumption 6.1, it is always possible to find a gain matrix Ljthat satisfies Assumption 6.4. 6.2.4 Model Predictive Controllers For the collection of the considered actuator modes, a bank of tube-based MPC controllers are used to control the system, each of which corresponds to one actuator mode. As introduced in Chapter 2, the nominal system corresponding to the i-th actuator mode is obtained by neglecting the uncertainties ωkand ηk, which is given as ¯xi k+1=A¯xi k+BFi¯ui k,(6.7a) ¯yi k=C¯xi k.(6.7b) Remark 6.4. Similar with Remark 6.2, if necessary, the vectors ωcand ηccan be added into the nominal system (6.7). 97
6.3 Fault Detection and Isolation According to [35], the control law of the i-th tube-based MPC controller has the following form uk=¯ui k+Ki( ˆxi k−¯xi k),(6.8) where ¯ui kis generated by the nominal optimization problem of the i-th tube-based MPC controller (see (2.14)). The i-th nominal optimization problem uses (6.7) as its internal model and Kiis the feedback gain designed for the i-th tube-based MPC controller. 6.3 Fault Detection and Isolation 6.3.1 System Analysis In the steady-state operation of the i-th actuator mode, the i-th tube-based MPC controller, the i-th state-input pair (x∗ i,u∗ i) and the i-th observer are used in the closed-loop system. The state estimation error of the j-th observer in the i-th mode is defined as ˜xi,j,i k=xk−ˆxj k.(6.9) Remark 6.5. In the superscript of ˜xi,j,i k, the first index denotes that the plant is in the i-th mode, the second index denotes the j-th observer and the third index denotes that the i-th tube-based MPC controller is active in the closed-loop system. In (6.9), if j,i, using (4.1), (6.6) and (6.8), the dynamics of ˜xi,j,i kare derived as ˜xi,j,i k+1=(A−LjC) ˜xi,j,i k+B(Fi−Fj)¯ui k+B(Fi−Fj)Ki( ˆxi k−¯xi k)+ωk−Ljηk(6.10) and the corresponding output estimation error of the j-th observer is derived as ˜yi,j,i k=yk−ˆyj k =C˜xi,j,i k+ηk.(6.11) Besides, in the steady-state operation of the i-th mode, the term ˆxi k−¯xi koccurring in (6.8) and (6.10) is denoted by ei,i,i k=ˆxi k−¯xi k,(6.12) whose dynamics can be derived by using (6.6) and (6.7) as ei,i,i k+1=(A+BFiKi)ei,i,i k+LiC˜xi,i,i k+Liηk,(6.13) where ˜xi,i,i kcorresponds to the case of j=iin (6.9) and its dynamics can be obtained by letting j=iin (6.10), i.e., ˜xi,i,i k+1=(A−LiC) ˜xi,i,i k+[I−Li]"ωk ηk#.(6.14) 98
6.3 Fault Detection and Isolation Assumption 6.5. The matrix A +BFiKifor all i ∈Iis a Schur matrix. Since ωk∈Wand ηk∈Vare bounded as defined in (3.2), an RPI set (denoted as ˜ Xi,i,i) of ˜xi,i,i kcan be constructed. According to the notion of invariant sets, as long as ˜xi,i,i k∗∈˜ Xi,i,i, ˜xi,i,i k∈˜ Xi,i,ialways holds for all k>k∗. Similarly, considering ˜xi,i,i k∈˜ Xi,i,i, an RPI set (denoted as Ei,i,i) of ei,i,i kcan be constructed by using (6.13). In the i-th mode, if a fault is detected, for the FI point of view, one defines an input set ¯ Ui ffor the nominal control input ¯ui k(i.e., ¯ui k∈¯ Ui f) as ¯ Ui f={¯ui∈Rp:¯ui−¯ui,c f≤¯ui f,¯ui,c f∈Rp,¯ui f∈Rp}, where the vectors ¯ui,c fand ¯ui fare constant and known. Remark 6.6. The input set ¯ Ui fis only used for on-line FI when a fault is detected in the i-th actuator mode. The use of ¯ Ui fwill be detailed in the following contents. Similarly, if considering ei,i,i k∈Ei,i,iand ¯ui k∈¯ Ui fin (6.10), an RPI set (denoted as ˜ Xi,j,i) of ˜xi,j,i kcan be obtained. The corresponding set of the output estimation error is ˜ Yi,j,i=C˜ Xi,j,i⊕V,(6.15) where, in the case of j=i, the output estimation error set ˜ Yi,i,icorresponding to ˜ Xi,i,i can be obtained as well. Remark 6.7. From the FD point of view, all the RPI sets ˜ Xi,i,i, Ei,i,iand ˜ Xi,j,ishould be as small as possible. Since ˜yi,j,i kis available while ˜xi,j,i kis unavailable, ˜yi,j,i kis used as the residual signal in this proposed FTC scheme. 6.3.2 Fault Detection The FD approach used in this scheme is a passive approach, which is based on invariant sets. Thus, the FD task can be simplified into only testing whether the residual ˜yi,j,i k is inside its corresponding set or not. The advantage of the invariant set-based FD consists in its low complexity. As analyzed in Subsection 6.3.1, for each mode i∈I, only the sets ˜ Xi,i,iand ˜ Yi,i,iare independent of ¯ui k, while ˜ Xi,j,iand ˜ Yi,j,i(j,i) depend on ¯ui k. Thus, in order to assure that FD is not affected by the FI task (the FI details will be given in next sections), in the i-th mode, only the set ˜ Yi,i,iis used for the FD task, i.e., testing whether or not ˜yi,i,i k∈˜ Yi,i,i(6.16) 99
6.3 Fault Detection and Isolation is violated in real time. If a violation of (6.16) is detected, it means that a fault has occurred. Otherwise, it is considered that the system still operates in the i-th mode. Note that, for some faults, even though they occur in the system, perhaps (6.16) is still not violated. This means that these faults cannot be detected, isolated and actively tolerated by the proposed scheme. Instead, they can only be implicitly tolerated to some extent by the PFTC ability of the proposed scheme. 6.3.3 Fault Isolation 6.3.3.1 System after Actuator Faults The FI task is started when a fault is detected. Without loss of generality, it is assumed that the l-th fault occurs at time instant kd. Although the mode has changed from i to l, before the fault is isolated (i.e., the system is reconfigured), the system structure does not change yet, which implies that the closed-loop system is still composed of the same components. As per (4.1), (6.6), (6.7) and (6.8), when the l-th fault occurs, the state estimation error of the j-th observer changes from ˜xi,j,i kto ˜xl,j,i kwith the dynamics ˜xl,j,i k+1=(A−LjC) ˜xl,j,i k+B(Fl−Fj)¯ui k+B(Fl−Fj)Kiel,i,i k+ωk−Ljηk(6.17) and ei,i,i kin (6.13) changes to el,i,i kwith the dynamics el,i,i k+1=(A+BFiKi)el,i,i k+LiC˜xl,i,i k+Liηk.(6.18) In order to collect the whole process information after the l-th fault from the i-th mode, one defines a vector ξi→l k= ˜xl,0,i k . . . ˜xl,i,i k . . . ˜xl,p,i k el,i,i k . As per (6.17) and (6.18), the dynamics of ξi→l kcan be obtained as ξi→l k+1=Ai→lξi→l k+Bi→l¯ui k+Eω i→lωk+Eη i→lηk,(6.19) where Ai→l= A−L0C O ··· O B(Fl−F0)Ki . . .. . .··· . . .. . . O A−LiC··· O B(Fl−Fi)Ki . . .. . .··· . . .. . . O O ··· A−LpC B(Fl−Fp)Ki O LiC··· O A+BFiKi , 100
6.3 Fault Detection and Isolation Bi→l= B(Fl−F0) . . . B(Fl−Fi) . . . B(Fl−Fp) O ,Eω i→l= I . . . I . . . I O ,Eη i→l= −L0 . . . −Li . . . −Lp Li . Assumption 6.6. For the i-th mode, the observer and feedback gains L0,L1,...,Lp and Kican assure that the matrix Ai→lis a Schur. Moreover, for the other considered modes, this condition should also be satisfied. Similarly, considering ¯ui k∈¯ Ui f,ωk∈Wand ηk∈V, an RPI set of ξi→l kcan be computed, which is denoted as Ξi→l. By projecting Ξi→ltowards the component space, an RPI set of each component of ξi→l kcan be obtained. For example, an RPI set (denoted as ˜ Xl,j,i) of ˜xl,j,i kcan be obtained by projecting Ξi→lto the space of ˜xl,j,i k. Similarly, an RPI set (denoted as El,i,i) of el,i,i kcan be computed by projection. This implies that, after the l-th fault, ˜xl,j,i kand el,i,i kshould enter into ˜ Xl,j,iand El,i,i, respectively. Moreover, the set of the output estimation error corresponding to ˜ Xl,j,iis ˜ Yl,j,i=C˜ Xl,j,i⊕V.(6.20) Thus, the sets of output estimation errors corresponding to each observer and each mode (the i-th mode or a mode switching from the i-th mode) are listed in Table 6.1, where each row corresponds to one actuator mode. Table 6.1: Sets of output estimation errors Observer 0 · · · Observer i· · · Observer p Mode 0 ˜ Y0,0,i· · · ˜ Y0,i,i· · · ˜ Y0,p,i . . .. . .· · · . . .· · · . . . Mode i˜ Yi,0,i· · · ˜ Yi,i,i· · · ˜ Yi,p,i . . .. . .· · · . . .· · · . . . Mode p˜ Yp,0,i· · · ˜ Yp,i,i· · · ˜ Yp,p,i 6.3.3.2 Residual Tubes The dynamics of ˜xl,l,iextracted from (6.19) is used for FI, which has the form ˜xl,l,i k+1=(A−LlC) ˜xl,l,i k+ωk−Llηk.(6.21) 101
6.5 Illustrative Example 1. It is assumed that the system is in steady state of the i-th mode. The FD task consists in real-time testing whether (6.16) is violated or not. If (6.16) is not violated, it is considered that the system is still in the i-th mode. Otherwise, it implies that a fault has occurred. 2. Once a fault is detected at time instant kd, the active FI approach is started to isolate the fault by respectively switching the constraints of (6.30) from ¯ Xi,¯ Ui and ¯ Xi Tto ¯ Xi f,¯ Ui fand ¯ Xf i Tto satisfy the FI conditions on-line. 3. Simultaneously, at the FD time kd,poutput-estimation-error tubes (6.23) are initialized by the starting sets constructed by (6.27). For each tube, (6.25) is realtime tested. Whenever a tube violates (6.25), it is terminated and the index of this tube is removed from a collect of fault candidates. Until there is one and only one tube left, it implies that the fault is isolated. 4. Once the fault (assume that it is indexed by l) is isolated, the l-th observer, the l-th MPC controller and the l-th state-input setpoint pair are selected to reconfigure the system (the constraint sets are simultaneously switched to ¯ Xl,¯ Uland ¯ Xl T for the new MPC controller, respectively). Then, the whole procedure will be repeated to monitor this new mode again. Remark 6.13. Before, one discussed sensor FDI and FTC but did not mention system recovery from faulty to healthy. Actually, the proposed scheme can deal with system recovery with the same principle. 6.5 Illustrative Example In this section, an electric circuit from [41] is used as the case study of the proposed scheme, which is shown in Figure 6.2. The continuous-time dynamics of this circuit are given in [41], where the system matrices are A= −1 (R1+R2)Cp R1 (R1+R2)Cp 1 L(R2 R1+R2−1) −1 L(R1R2 R1+R2−R3),B= 1 (R1+R2)Cp0 −R2 L(R1+R2) 1 L,(6.32a) E="α1 (R1+R2)Cp 1 L(α2−R2 R1+R2α1)#,C="1 0 0R3#.(6.32b) All parameters of this circuit used here are from those in [41]. Please see [41] to obtain the definitions/values of all the signals/variables appearing in Figure 6.2. The only difference here is that one considers measurement noises in the current example. Note that the inputs of this circuit as shown in Figure 6.2 are the power sources V1(t) and V2(t), the states are composed of the capacitor voltage vC(t) and the inductor currency iL(t), the outputs are the voltages of the capacitor and the resistor R3, and α1 108
6.5 Illustrative Example Figure 6.2: Circuit and α2are proportionality constants. With a sampling time 1/15s, the dynamics of the circuit can be discretized as xk+1=Adxk+BdFiuk+Edwk,(6.33a) yk=Cdxk+ηk,(6.33b) with Ad="0.8693 2.6144 −0.0016 1.0327#,Bd="0.131 0 −0.082 0.083#,Ed="0.1307 0.0016#,Cd="1 0 0 20#. In (6.33), the uncertainties ωk(originated from d(t) in Figure 6.2) and ηkare bounded, whose bounds are given as |ω| ≤ 1.5 and |η| ≤ h0.05 0.05iT. In this case study, two actuator faults are considered, either of which corresponds to one actuator. Thus, in total, there are three actuator modes considered, which are denoted as F0(healthy mode), F1 (complete outage of the first actuator) and F2(complete outage of the second actuator). The values of these matrices are F0="1 0 0 1#,F1="0 0 0 1#,F2="1 0 0 0#. Additionally, the state and input constraints of the system are considered as U={u:"−10 −10#≤u≤"10 10#},X={x:"−10 −10#≤x≤"10 10#}. Based on (6.33), three observers with the mathematical form (6.6) are designed, each of which matches one actuator mode. Correspondingly, three tube-based MPC controllers are designed to control the system, each of which is used for one mode. 109
6.5 Illustrative Example Figure 6.3: After-fault sets of output estimation errors 110
6.5 Illustrative Example 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 Time Signal ˜ Y000 k(1) ˜yi00 k(1) 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 Time Signal ˜ Y000 k(2) ˜yi00 k(2) Figure 6.4: FD of Fault 1 111
6.5 Illustrative Example 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 0 2 4 6 8 10 12 14 16 18 Time Signal y(1) y(2) Figure 6.5: Outputs of Scenario 1 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −3 −2 −1 0 1 2 3 4 5 6 Time Signal u(1) u(2) Figure 6.6: Inputs of Scenario 1 112
6.5 Illustrative Example 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 0 1 2 3 4 5 6 7 8 9 Time Signal x(1) x(2) Figure 6.7: States of Scenario 1 Note that all the three tube-based MPC controllers should be designed to stabilize the closed-loop system. The corresponding feedback gains are designed as K0="0.1232 3.4734 −0.3848 −5.0688#,K1="0.1232 3.4734 −0.3848 −5.0688#,K2="0.1232 3.4734 −0.3848 −5.0688#. The output setpoints for the three actuator modes are respectively given as y∗ 0="8 8#,y∗ 1="5 5#,y∗ 2="5 5#. Corresponding to these output setpoints, three state-input setpoint pairs can be obtained (each of which corresponds to one output setpoint) x∗ 0="8.0 0.4#,x∗ 1="5.0 0.25#,x∗ 2="5.0 0.25#,u∗ 0="0.888 0.178#,u∗ 1="0 0.183#,u∗ 2=h0.178 0i. In this illustrative example, two fault scenarios are considered, each of which corresponds to one actuator fault: •From time instants 0 to 75, the system is healthy and from time instants 76 to 150, the first actuator fault occurs. 113
6.5 Illustrative Example 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5 Time Signal ˜ Y000 k(1) ˜yi00 k(1) 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −10 −5 0 5 10 15 Time Signal ˜ Y000 k(2) ˜yi00 k(2) Figure 6.8: FD of Fault 2 114
6.5 Illustrative Example 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 Time Signal ˜ Y111 k(1) ˜ Y222 k(1) ˜yi10 k(1) ˜yi20 k(1) 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −20 −15 −10 −5 0 5 10 15 20 Time Signal ˜ Y111 k(2) ˜ Y222 k(2) ˜yi10 k(2) ˜yi20 k(2) Figure 6.9: FI of Fault 2 115
6.5 Illustrative Example •From time instants 0 to 75, the system is healthy and from time instants 76 to 150, the second actuator fault occurs. 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −5 0 5 10 15 20 Time Signal y(1) y(2) Figure 6.10: Outputs of Scenario 2 For these two scenarios, one needs to design the FI input and state and terminal constraint sets for the nominal MPC optimization problem of the healthy tube-based MPC controller, which are given as ¯ U0 f={u:"4.8 4.8#≤u≤"5.2 5.2#}, ¯ X0 f={x:"−8.4767 −0.9232#≤x≤"8.4767 0.4232#}, ¯ Xf 0 T={x:"−8.4767 −0.9232#≤x≤"8.4767 0.4232#}. Moreover, based on ¯ U0 f, the after-fault sets of output estimation errors of the two actuator-fault modes switched from the healthy mode can be constructed. Note that this example only takes the process from healthy to faulty as an example and does not consider system recovery. Thus, according to guaranteed FI conditions in Proposition 6.2, one only needs ˜ Y110 ∩˜ Y210 =∅,˜ Y120 ∩˜ Y220 =∅, which are shown in Figure 6.3. This 116
6.5 Illustrative Example 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 −8 −6 −4 −2 0 2 4 6 Time Signal u(1) u(2) Figure 6.11: Inputs of Scenario 2 0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 0 1 2 3 4 5 6 7 8 9 Time Signal x(1) x(2) Figure 6.12: States of Scenario 2 117
7.3 Fault Detection and Isolation As defined in (3.2), Wand Vare zonotopes. By defining ˆ X0as a zonotope, ˆ Xj k+1and ˆ Yj kare zonotopes as well. Using zonotope operations, the computational complexity of interval observers can be managed along the state dynamics evolution. Using zonotope properties, interval observers (7.4) can be propagated on-line by preserving zonotopic structure and guaranteeing containment. If the j-th interval observer matches the current mode, in the steady-state operation of this mode, one should have xk∈ˆ Xj k, yk∈ˆ Yj k. In the i-th mode, the i-th interval observer is selected by the system. To detect faults, the residual (in terms of sets) corresponding to the i-th mode is defined as Rii k=yk−ˆ Yi k.(7.6) Remark 7.5. Although a bank of interval observers operate concomitantly, only residual zonotopes of the interval observer matching the current mode is used for FD. As stated in Remark 7.5, when the system is in the i-th sensor mode, the FD task is implemented by testing whether or not 0∈Rii k(7.7) is violated in real time. If a violation is detected, it means that a sensor fault has occurred. Otherwise, it is considered that the system is still in the i-th mode. Note that the satisfaction of (7.7) does not always imply that the system is healthy because the FD strategy cannot be able to be sensitive to all of sensor faults. For undetectable faults, only the potential PFTC ability of the proposed scheme can be used to tolerate them to some extent. 7.3.2 Fault Isolation 7.3.2.1 Fault Isolation Conditions If the system is open-loop, at time instant when a sensor fault occurs, the fault only affects the output component corresponding to the faulty sensor (i.e., one output component corresponds to one sensor). But, in the closed-loop system, due to the controller, the effect of sensor faults on the output components are masked and coupled, which increases difficulty for sensor fault diagnosis. Different from the passive methods, the proposed FI approach in this chapter is active by impacting the effect of the controller on the plant to decouple the effect of different sensor faults on different output components on-line in terms of FI such that 124
7.3 Fault Detection and Isolation one sensor fault only corresponds to one output component. To explain the proposed FI approach, it is assumed that the inputs of the plant are bounded by a zonotopic set Uf={u∈Rp:u−uc f≤¯uf,uc f∈Rp,¯uf∈Rp}, where Ufsatisfies the hard input constraint of the plant Uf⊆U.(7.8) Additionally, the output equation (7.1a) can be further rewritten as xk+1=Axk+hB Ii"uk ωk#.(7.9) Thus, by considering uk∈Ufand ωk∈W, an RPI set of the dynamics (7.9) can be constructed, which is denoted as Xfcentered at xc f=(I−A)−1(Buc f+ωc).(7.10) Furthermore, according to (7.1b), in the i-th sensor fault mode, the corresponding output set can be obtained as Yi f=GiCXf⊕V, where Yi fis centered at yc,i f=mid(Gi)Cxc f+ηc. If Giin (7.1a) takes the value G0, the corresponding output set in the healthy mode is Y0 f=CXf⊕V, where Y0 fis centered at yc,0 f=Cxc f+ηc. The output set has qcomponents, each of which is an interval that can be obtained by projecting the output set towards the corresponding dimension. In terms of uk∈Uf, only the i-th component of Yi fis different from that of Y0 f because of the effect of the i-th sensor fault, while all the other components are the same. Furthermore, in contrast to Y0 f, one defines a set Yf=GfCXf⊕V, where Yfdescribes all the considered sensor faults and is centered at yc f=mid(Gf)Cxc f+ ηc. By comparing Y0 f,Yi fwith Yf, it can be observed that: •All the interval components of Y0 fare different from those of Yf, respectively. •Only the i-th interval component of Yi f(i,0) is the same as that of Yf, while all the other components are different from those of Yf. 125
7.3 Fault Detection and Isolation For brevity, the l-th interval components of Y0 f,Yi fand Yfare denoted as Y0 f(l), Yi f(l) and Yf(l), which are centered at yc,0 f(l), yc,i f(l) and yc f(l) (denote the l-th components of yc,0 f,yc,i fand yc f), respectively. Proposition 7.1. For the plant (7.1)under the constraints (6.2), if there exists a set Uf that satisfies (7.8)such that Y0 f(l)∩Yf(l)=∅ for all l ∈I\ {0}, all the considered sensor modes can be isolated after their detection. Proof : If the inputs are bounded by Uf, because of the separation of the l-th interval components, i.e, Y0 f(l)∩Yf(l)=∅, once the l-th fault has occurred, the l-th output component finally enters into the l-th interval of Yf(l) instead of Y0 f(l), while all the other output components enter into the corresponding components of Y0 f(l) instead of Yf(l), respectively, which indicates the l-th fault. Assumption 7.5. There exists an input set Uf⊆U such that all the considered sensor modes can satisfy Proposition 7.1. 7.3.2.2 Fault Isolation Strategy It is known that sensor faults do not change the dynamics of the plant. Thus, if a sensor fault is detected at time instant kd, the current state of the plant is still inside XM(XM is defined as the MRCI set of the dynamics (7.1a) under constraints (6.2)), i.e., xkd∈XM.(7.11) At time instant kd, the proposed FI approach switches the input constraint of the min-max MPC controller from Uto Ufto start active FI. After constraint switching, if the MPC controller is feasible, the generated control action should satisfy ukd∈Uf.(7.12) In order to isolate a fault during the transition induced by the fault, at the FD time kd, one initializes a set-based dynamics Xk+1=AXk⊕Buk⊕W,(7.13a) Yk=GfCXk⊕V(7.13b) with Xkd=XMat time instant kdand uk∈Uf(k≥kd). Afterwards, the state and output set sequences can be generated by (7.13). Moreover, by using ˇ Xkd=XMat time instant kdto initialize the other set-based dynamics ˇ Xk+1=Aˇ Xk⊕BUf⊕W,(7.14a) ˇ Yk=GfCˇ Xk⊕V,(7.14b) 126
7.3 Fault Detection and Isolation the other state and output set sequences can be generated by (7.14). The state set sequence generated by (7.14a) will converge to the mRPI set of the dynamics (7.1a) with respect to uk∈Ufand ωk∈W, enter into and stay inside Xf. Correspondingly, the output set sequence generated by (7.14b) will finally enter into and stay inside Yf. Proposition 7.2. At the FD time instant kd, by using XMto initialize (7.13)and (7.14) and comparing (7.13)with (7.14), for all k ≥kd, Xk⊆ˇ Xkand Yk⊆ˇ Ykalways hold. Proof : Comparing (7.13) with (7.14), it can be observed that (7.14) is a set-based dynamics of (7.13) by considering the input set Ufduring active FI process. Moreover, with XMto initialize both (7.13) and (7.14) at time instant kd, i.e., Xkd⊆ˇ Xkd, it can be obtained, for all k≥kd,Xk⊆ˇ Xkand Yk⊆ˇ Ykwill always hold. Under Proposition 7.2, considering (7.11) and (7.12), one has the conclusion presented in Proposition 7.3. Proposition 7.3. Given the plant (7.1), the state and output set sequences generated by (7.13), starting from the FD time kd, xk∈Xkcan hold for all k ≥kd. If the plant is healthy, no components of ykand Ykcan persistently satisfy yk(l)∈Yk(l)(l ∈I\ {0}) for all k ≥kd, while if the l-th fault has occurred, the l-th components of ykand Ykcan satisfy yk(l)∈Yk(l)for all k ≥kdbut all the other components of ykand Ykcannot. Proof : First, because of (7.11), (7.12) and uk∈Uffor all k≥kd, comparing (7.1) with (7.13), xk∈Xkwill hold for all k≥kd. Second, under Proposition 7.2, comparing (7.14) with (7.13), Xkand Ykfinally enter into Xfand Yfand stay inside, respectively. For the l-th sensor-fault mode, under the FI conditions in Proposition 7.1, starting from the FD time kd, only yk(l)∈Yk(l) will hold for all k≥kdwith the initialization Xkd=XM, while all the other components of ykdo not have the same conclusion. For the healthy mode, since all the components of Y0 fare separate from the corresponding components of Yf, respectively, no components of ykcan be contained by the corresponding interval of Ykfor all k≥kd. Thus, under FI conditions proposed in Propositions 7.1,7.3 and Assumption 7.5, if a considered sensor fault is detected, by using the output sets generated by (7.13), the fault can be isolated by real-time testing whether or not yk(l)∈Yk(l),k≥kd(7.15) is violated for all l∈I\ {0}. According to the real-time testing of (7.15) for all the components, one can have the FI conclusions: •If the plant recovers to the health from a faulty mode, for k≥kd, by testing (7.15), at a time instant when all the output components violate (7.15), it implies that the healthy mode is isolated at this time instant. 127
7.4 Fault-tolerant Control •If the plant changes into another fault from a faulty mode or the healthy mode, only the output component corresponding to the occurring faulty mode can always respect (7.15) while all the others will finally diverge from the corresponding interval components of Yk, respectively. Thus, the proposed FI approach consists in searching this component that indicates the fault and the corresponding time instant that indicates the FI time. 7.4 Fault-tolerant Control 7.4.1 Model Predictive Controller In this proposed scheme, the robust MPC controller is implemented by using the min-max MPC technique, which is introduced in Chapter 2. In the steady-state operation of the i-th mode, the i-th state-input setpoint pair and the i-th interval observer are used in the closed-loop system and the corresponding robust MPC controller is designed as Jk=min umax w N−1 P j=0 k(xk+j|k−x∗ i)k2 Q+k(uk+j|k−u∗ i)k2 R+k(xk+N|k−x∗ i)k2 P subject to xk+j|k∈X, uk+j|k∈U, xk+N|k∈XM, xk|k=ˆxk, ∀ωk+j|k∈W,(7.16) where Nis the prediction horizon, u=[uk|k,uk+1|k,...,uk+N−1|k], w=[ωk|k, ωk+1|k, . . . , ωk+N−1|k], Q,Rand Pare positive-definite weighting matrices and the internal model of the MPC controller is given as xk+j+1|k=Axk+j|k+Buk+j|k+ωk+j|k. In the i-th mode, if no fault is detected, the MPC controller is used to robustly control the system to track the i-th output setpoint y∗ i(see (7.16)). If a fault is detected, at the FD time, active FI is started by switching the input and terminal state constraints of (7.16) from Uand XMto Ufand XMf, respectively, i.e., Jk=min umax w N−1 P j=0 k(xk+j|k−x∗ i)k2 Q+k(uk+j|k−u∗ i)k2 R+k(xk+N|k−x∗ i)k2 P subject to xk+j|k∈X, uk+j|k∈Uf, xk+N|k∈XMf, xk|k=ˆxk, ∀ωk+j|k∈W.(7.17) By means of active FI, once a sensor fault can be isolated, the system is correspondingly reconfigured by the MPC controller indicated in (7.16) with the state-input setpoint pair and interval observer corresponding to the new sensor mode. 128
7.4 Fault-tolerant Control Remark 7.6. As mentioned in Chapter 2, the main advantage of min-max MPC with respect to tube-based MPC consists in that it can directly deal with the plant constraint. As long as a min-max MPC controller is feasible, the plant constraints can always be guaranteed during both steady and transient state as seen in (7.16)and (7.17). This feature is the key to decouple the effect of different sensor faults on different output components in terms of sensor FI. 7.4.2 Robust State Estimation Under the constraints (6.2), one can construct the MRCI set XMfor the plant (7.1). Since XM is used as the terminal state constraint of the MPC controller (7.16), ideally, if the initial state is inside XMand the real states are available for the MPC controller updating, the states can always be confined inside XMand the MPC controller can always be feasible. Unfortunately, it is impossible to obtain the real states. Instead, one has to estimate the states and use state estimation for the updating of the MPC controller. 7.4.2.1 State Estimation For feasibility and stability of the MPC controller with state estimation, one still uses the MRCI set XMas the terminal state constraint at steady state in the proposed scheme as in (7.16). Proposition 7.4. In the steady-state operation, as long as the MPC controller (7.16)is updated by a point inside XMat each time instant, i.e., ˆxk∈XM, it can keep feasible such that the generated control actions always satisfy uk∈U. Proof : This can be understood according to the definition of the MRCI set. Furthermore, in order to guarantee that the states can always be inside the constraint set X, one makes the following assumptions. Assumption 7.6. The mRPI set (denoted as Xm) corresponding to uk∈U and ωk∈W for the dynamics (7.9)is contained in the set X. Assumption 7.7. There exists α≥1such that the initial state x0of (7.1a)satisfies x0∈¯ X= αXmand ¯ X⊂XM. Remark 7.7. At steady state, the MPC controller can guarantee constraint satisfaction. But, during the transition induced by faults, one cannot make the same conclusion, Thus, Assumptions 7.6 and 7.7 are especially made to guarantee constraint satisfaction at transient state. Thus, in the steady-state operation, because of uk∈U, the states always stay inside ¯ X. Furthermore, if the system is in the steady-state operation of the i-th mode, the i-th interval observer can real-time estimate sets to contain the current system states, i.e., xk∈ˆ Xi k. 129
7.4 Fault-tolerant Control Thus, based on ¯ Xand ˆ Xi k, one has xk∈¯ X∩ˆ Xi k.(7.18) In the i-th steady-state mode, the following method is used to obtain the state estimation, i.e., ˆxk=center( ¯ X∩ˆ Xi k),(7.19) where ˆxkis the estimation of xk, which is used to update the MPC controller (7.16) to generate control actions at each time instant. Remark 7.8. Actually, any point inside the set ¯ X∩ˆ Xi kcan be used as the state estimation. But, for brevity, one selects the center as given in (7.19). If ¯ X∩ˆ Xi kis not centered, center(¯ X∩ˆ Xi k) denotes the center of the convex hull of ¯ X∩ˆ Xi k. Proposition 7.5. Under Assumption 7.6, the optimization problem (7.16)of the MPC controller with the state estimation (7.19)is recursively feasible in the steady-state operation. Moreover, the real states xkare always confined inside ¯ X. Proof : Under Assumption 7.6,¯ Xis contained inside XM, which implies ˆxk∈XMaccording to the definition of the RPI set. Thus, at each step, with (7.19), the MPC controller (7.16) is always feasible. If the MPC controller is feasible, uk∈Ualways holds, which always implies that the states will still stay inside their RPI set, i.e., xk∈¯ X⊆X. 7.4.2.2 Stability with State Estimation When using the state estimation (7.19) to update the MPC controller, there always exist state estimation errors that are defined as ˜xk=xk−ˆxk,(7.20) Since both xkand ˆxkare confined in the intersection ¯ X∩ˆ Xi k, ˜xkshould be bounded. In the worst case, i.e., ¯ Xcoincides with ˆ Xi k, the bound of ˜xkcan be obtained as ˜xk∈¯ X⊕(−¯ X).(7.21) Note that, because the coincidence of ¯ Xand ˆ Xi kis a low probability event, the real-time bound of ˜xkis less conservative than (7.21). Since the plant is assumed to be stable for RPI set construction as in Assumption 7.2, the bounding of ˜xkalso implies stability of the system with the state estimation (7.19). 7.4.3 Fault-tolerant Control Approach 7.4.3.1 Active Fault Isolation As aforementioned, once a sensor fault (indexed by j(j,i)) is detected at time instant kd, the proposed FI approach activates FI by switching the constraints of the MPC controller from U and XMto Ufand XMf, respectively. 130
7.4 Fault-tolerant Control Proposition 7.6. Under Assumptions 7.5 and 7.6, the mRPI set (denoted as Xmf) for the dynamics (7.9)corresponding to uk∈Ufis contained in Xm. Moreover, XMfis an RCI set for the dynamics (7.9)corresponding to uk∈U. Proof : Because of Uf⊆U, the mRPI set for the dynamics (7.9) corresponding to uk∈Uf should be contained in the mRPI set corresponding to uk∈U. Furthermore, both mRPI sets are contained in X. For Uf⊆U,XMfcan satisfy the definition as an RCI set of the system corresponding to uk∈U, which indicates XMf⊆XM. After input constraint set switching, it is not guaranteed that xk∈ˆ Xi kcan always hold during active FI, which implies that (7.19) cannot guarantee the feasibility of the MPC controller (7.17). Thus, it is necessary to propose a new strategy to update the MPC controller to guarantee active FI and feasibility at transient state. In order to avoid infeasibility of (7.17) during active FI, for each step k≥kd, one uses ˆxk=center(XMf) (7.22) as state estimation to update (7.17) to generate control actions for FI implementation. By means of (7.22), during active FI, the feasibility of the MPC controller can always be guaranteed, i.e., uk∈Uf, which implies the satisfaction of the FI conditions given in Proposition 7.1 on-line. Furthermore, FI can be implemented by using the FI approach (7.15). One should realize when using the state estimation (7.22) to update the MPC controller (7.17) instead of using the real states, there always exist errors. In spite of the errors, there are several reasons that support this strategy. •By using (7.22) to update the MPC controller, the generated control law ukkeeps constant, i.e., the injection of a step signal to the plant. Since the plant is stable, the errors will not be amplified and the system can always keep stable. •During active FI, MPC feasibility implies uk∈Uf. Thus, the states finally converge into Xfand stay inside, which has no relevance to the aforementioned errors. •Since the proposed FI strategy can isolate faults and reconfigure the system during the transition induced by the faults, a short FI time can limit the effect of the errors. At time instant kiwhen the fault is isolated (assume it is the j-th mode), the MPC constraints of (7.17) are switched back to Uand XMfrom Ufand XMf, respectively (i.e., (7.16)). Proposition 7.7. At the FI time ki, xki∈¯ X (i.e., xki∈XM). Furthermore, the MPC controller is always feasible and xk∈XMfor all k ≥ki. Proof : Because of xk∈¯ X⊆XMin the steady-state operation. At the FD time kd, although the constraints Uand XMare switched into Ufand XMf, respectively, one still has uk∈Uf⊆ Uwith (7.22), which implies that the states still stay inside ¯ X. At the FI time kiwhen the constraints are switched back into Uand XM,xki∈¯ Xstill holds and the feasibility of (7.16) assures xk∈XMfor all k≥ki. 131
7.4 Fault-tolerant Control Remark 7.9. It is assumed that the j-th mode ( j ,i) is isolated. Under Proposition 7.7, at time instant ki, if the j-th interval observer satisfies xki∈ˆ Xj ki, the state estimations similar with (7.19)can be directly used for the new MPC controller and the FD mechanism based on the j-th interval observer is restarted for k ≥ki. If xki<ˆ Xj ki, the strategy similar to (7.22)is firstly used to guarantee the feasibility of the new MPC controller for k ≥kitill a time instant when xk∈ˆ Xj kholds. Then, the state estimation (7.19)starts to be used for the new MPC controller and the FD mechanism based on the j-th interval observer is restarted. Remark 7.9 mentions the feasibility problem during the initial phase after system reconfiguration. However, since the real state xkiis unknown, one cannot use the strategy in Remark 7.9 to guarantee the feasibility and the accurate restarting of the FD mechanism. But, because one knows that xki∈XMholds, one can re-initialize the j-th interval observer and then directly use (7.19) at the FI time instant to guarantee the recursive feasibility after reconfiguration. Proposition 7.8. When the j-th sensor mode is isolated at the FI time ki, one can use XMto re-initialize the dynamics of the j-th interval observer, i.e., ˆ Xj ki=XM. In this way, the state estimation(7.19)corresponding to the j-th interval observer can be directly used for the updating of the new MPC controller and the FD mechanism based on the j-th interval observer is restarted for k ≥ki. In additional to Proposition 7.8, one can use another different strategy to guarantee feasibility of the MPC controller and avoid false fault alarms during the initial stage after reconfiguration, which is summarized in Proposition 7.9. Proposition 7.9. It is assumed that the j-th mode ( j ,i) is isolated. Under Proposition 7.7, for k ≥ki, if the intersection ¯ X∩ˆ Xj kis not empty, ˆxk=center(¯ X∩ˆ Xj k)is used for the MPC controller, otherwise, (7.22)continues to be used. It is guaranteed that, several steps later after reconfiguration, ¯ X∩ˆ Xj k,∅can persistently hold. 7.4.4 Fault-tolerant Control Algorithm As previously discussed, an FTC algorithm is summarized for the proposed FTMPC scheme, which is presented as follows: •It is assumed that the system is in the i-th mode, i.e., the i-th state-input setpoint pair is used for tracking and the i-th interval observer is used for FD and robust state estimation. •When a fault is detected at time instant kd, the MPC controller is simultaneously switched to (7.17) from (7.16). Here, (7.22) is used to guarantee feasibility of (7.17) and active FI, (7.13) is initialized by XMto generate the output set sequence for the FI strategy (7.15) to isolate the fault. 132
7.5 Illustrative Example •Once the fault is isolated (it is assumed that the index is j(j,i)), the system is reconfigured and the strategy proposed in Propositions 7.8 or 7.9 is used for the new mode. Afterwards, the whole algorithm is repeated to monitor the new mode. Remark 7.10. In the same principle, this sensor FTC scheme can also deal with sensor recovery from faulty to healthy. Remark 7.11. Interval observer implementation and set computation in this scheme are fully based on zonotopes. Please see Chapter 2for zonotope properties and operations. 7.5 Illustrative Example In this section, one also takes the circuit in [41] as an example. The chart and system matrices of the circuit can be seen in (6.32) and Figure 6.2. However, different from the circuit in Chapter 6, one considers sensor faults instead of actuator faults here and uses a different group of parameters. The values of relevant parameters in (6.32) and Figure 6.2 are given as R1= 30Ω,R2=1000Ω,R3=20Ω,L=80mH, Cp=50µF, Req =R1+R2and α1=α2=1. With a sampling time of 1/15s, the dynamics of the circuit can be discretized as xk+1=Adxk+Bduk+Edwk,(7.23a) yk=GiCdxk+ηk,(7.23b) where Ad="0.8706 3.8835 −0.0024 0.2395#,Bd="0.1294 0.0667 −0.0809 0.0833#,Ed="0.1294 0.0024#,Cd="1 0 0 20#. Moreover, in (7.23), the process disturbances and measurement noises of the circuit are bounded, which are given as |ω| ≤ 1.5 and |η| ≤ h0.1 0.1iT. Besides, in this example, all the relevant designing parameters are presented as follows: •Observer gains1: L0="0.4706 0.1942 −0.0024 −0.013#,L1="9.4110 0.1942 −0.0485 −0.013#,L2="0.4706 3.8835 −0.0024 −0.2605#. •Considered fault magnitudes: G1="[0,0.1] 1 0 1#,G2="1 0 0 [0,0.1]#,Gf="[0,0.1] 0 0 [0,0.1]#. •Actual fault magnitudes2:G1="0.05 1 0 1#,G2="1 0 0 0.05#. 1L1and L2are obtained using mid(G1) and mid(G2), respectively. 2G1and G2denote the actual fault magnitudes, i.e., G1∈G1and G2∈G2. Note that the occurrence of any fault magnitude inside G1and G2can be isolated if they can be detected. 133