Anda di halaman 1dari 16

ISA Transactions 47 (2008) 127–142

www.elsevier.com/locate/isatrans

Tuning of fault tolerant control design parameters


Pedro G. DeLima, Gary G. Yen ∗
Oklahoma State University, School of Electrical and Computer Engineering, 202 Engineering South, Stillwater, OK 74078, USA

Received 23 July 2007; received in revised form 10 September 2007; accepted 17 September 2007
Available online 29 October 2007

Abstract

This paper presents two major contributions in the field of fault tolerant control. First, it gathers points of concern typical to most fault tolerant
control applications and translates the chosen performance metrics into a set of six practical design specifications. Second, it proposes initialization
and tuning procedures through which a particular fault tolerant control architecture not only can be set to comply with the required specifications,
but also can be tuned online to compensate for a total of twelve properties, such as the noise rejection levels for fault detection and diagnosis
signals. The proposed design is realized over a powerful architecture that combines the flexibility of adaptive critic designs with the long term
memory and learning capabilities of a supervisor. This paper presents a practical design procedure to facilitate the applications of a fundamentally
sound fault tolerant control architecture in real-world problems.
c 2007, ISA. Published by Elsevier Ltd. All rights reserved.

Keywords: Fault tolerant control; Fault detection and diagnosis; Tuning and adaptation; Adaptive critics

1. Introduction The design process of a Fault Tolerant Control (FTC)


solution often starts from gathering a list of control objectives,
Every control problem has a set of objectives and constraints specifications, and constraints and then translating these into
specific to itself that affect the choices of the control paradigm design parameters to be suited for a particular application.
and the actual implementation. Maximum overshoot, maximum Specifications related to Fault Detection and Diagnosis (FDD),
acceptable reference tracking error, and actuator saturation an intrinsic step to active FTC, include: fault detection
limits are common examples of such peculiarities that in the delay [1], Abrupt Known Fault (AKF) identification delay [2],
practice of control systems translate into controller design and maximum false alarm and miss-diagnosis rates [3].
parameters. Even though not all control design approaches are Examples of specifications related to the controller response to
capable of converting all forms of real-world specifications a fault also exist in the literature, including maximum controller
directly into design parameters, most will at least recognize reconfiguration delay [4], maximum acceptable performance
their importance and discuss how different design decisions loss under a fault scenario [5], maximum increase in control
affect such particular points of interest. For instance, even effort under a fault scenario [6], and maximum overshoot
though we might know at design time the saturation limits
during reconfiguration [7]. However, two major deficiencies
of an actuator, there is no readily available design parameter
can be clearly identified in the field [8]. First, no single
in classical PID control that will lead directly to a design of
approach in the literature has provided enough design flexibility
a controller that will not exceed such thresholds during the
to address a significant number of FTC specifications, nor
course of its operation. However, if after implementation the
clearly indicated how particular design choices affect each and
actuator saturation is interfering in a significant way with the
every one of them. Second, to the best of our knowledge,
main control missions, there are guidelines on how to modify
no FTC approach has provided any design procedure through
the existing control parameters in order to reduce the likelihood
which its parameters can be adjusted to achieve a specific set of
that such limits are reached.
FTC specifications.
∗ Corresponding author. Tel.: +1 405 744 7743; fax: +1 405 744 9198. The goal of the proposed approach is to address the two
E-mail addresses: pdelima@okstate.edu (P.G. DeLima), previously stated deficiencies using a building block of an
gyen@okstate.edu (G.G. Yen). encompassing FTC architecture that combines the adaptation

c 2007, ISA. Published by Elsevier Ltd. All rights reserved.


0019-0578/$ - see front matter
doi:10.1016/j.isatra.2007.09.002
128 P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142

power of Adaptive Critic Design (ACD) neural control and


the reasoning capability of an FTC supervisor [9]. Similar to
other such solutions, when initially proposed, the developed
architecture also suffered from both deficiencies. Therefore,
the first step involves the modification of the quality indexes
used by the FTC supervisor in order to improve their capability
to capture the qualitative measures related to FDD and the
switching and learning operations governed by the supervisor’s
two decision logics. Such modifications then result in the
creation of twelve FTC design parameters, which leads to
sufficient design flexibility to meet a series of FTC goals, such
as maximum fault detection delay. After detailed description
Fig. 1. General diagram of the proposed scheme.
of the effects of each design parameter in twenty six different
aspects of the FTC response, an offline procedure for the
determination of values for all twelve design parameters is
presented. Since the proposed FTC approach is designed to
deal with Abrupt Unknown Faults (AUFs), there is no sufficient
information at design time to guarantee that the offline
determined design parameters will fulfill all FTC specifications
once applied under real-world complications. Instead, the
offline parameter design procedure provides only suitable initial
conditions and a table look-up method is then proposed for
efficient parameter tuning during online operations.
As the focus of this research is not on the theory or
algorithm development, but on a practical tuning procedure to
suit real-world fault tolerant control applications, no literature
review pertaining to FTC is included here. The interested
readers are referred to the references cited in [9]. This paper
is divided as follows. Section 2 provides a brief background
on the previously developed supervised FTC architecture [10].
Section 3 proposes an extended version of all three quality
Fig. 2. Fault detection and diagnosis decision logic.
indexes, each involving four design parameters, and details how
modifications in each design parameter affect the final FTC speed of the GDHP controller for abrupt faults known at design
response. Section 4 presents the proposed offline procedure for time as well as faults autonomously modeled and addressed
the generation of suitable initial conditions for the FTC design online during a previous occurrence. Moreover, the supervisor
parameters and describes the online tuning procedure. Section 5 also decreases the chance of instability in the online GDHP re-
then presents the results of the application of the proposed configurable controller by preventing malfunctions within its
methodology to fulfill the FTC specifications of a simulated training algorithm (that would lead to divergence or local min-
plant subject to a series of nonlinear AUFs. Closing remarks ima convergence) from building up to the point of degrading
are provided in Section 5. the tracking performance of the plant. At the core of the super-
2. The supervised adaptive critic fault tolerant controller visor, two decision logics perform fault detection and diagnosis
(Fig. 2), as well as controller malfunction detection (Fig. 3).
For the completeness of the presentation, a brief introduction The operations of both decision logics depend upon the
is given concerning the supervised adaptive critic fault tolerant correct estimation of different system conditions through three
control architecture shown in Fig. 1. The readers are referred to independent quality indexes. The controller quality index qc (t)
the details in [9,10]. has the goal of providing an estimate on the degree of success of
At a lower hierarchical level, a baseline nonlinear reconfig- the continuously adapting GDHP controller. On the other hand,
urable controller generates identification models and new con- the identification quality index qi (t) focuses on an estimation
trol solutions for previously unknown faults. To implement such of how well the knowledge stored in the Dynamic Model
a controller as well as an identifier for fault modeling, an adap- Bank (DMB) is capable of describing the current dynamics.
tive critic design known as Globalized Dual Heuristic Program- Finally, the weight quality index qw (t) offers an estimate of the
ming (GDHP) manages a set of three recurrent neural networks. degree of activity within three neural networks that compose
The use of GDHP grants the architecture the power to preserve the GDHP controller.
system stability and recover performance as much as possible The thresholds are defined for the controller and identifica-
in the presence of faults that may extend the order or add cru- tion quality indexes, dividing them into high and low states.
cial nonlinearities to the dynamics of the system. Operating on The threshold for qc (t) defines what is to be considered as an
a higher level, an FTC supervisor increases the reconfiguration acceptable performance, while the ones for qi (t) stipulate the
P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142 129

(transition to State 3), and a new set of parameters are added


to the DMB. In this case the plant will only remain in State 3
for a few iterations since qi (t) will decrease rapidly due to the
new model in the bank. There are however two other possible
outcomes for the system in State 2. The first one addresses
the possibility of a known fault to happen abruptly before the
fault currently active is completely dealt with. In this case qi (t)
reaches a low value prior to qc (t) and switching to the known
environment takes place. The second scenario addresses the
situation in which the performance remains below the desired
level. Even if an ideal reconfigurable controller is available, this
situation can still occur as the desired performance level might
become unreachable due to actuator or physical limitations in
a particular fault scenario. In such a case, the decision logic
remains in State 2, as the quality of the control cannot be
improved by supervisor intervention.
For the weight quality index, two thresholds are used to
Fig. 3. Controller malfunction detection decision logic. distinguish between high activity H qw , standard activity Sqw ,
and low activity Lqw . Controller malfunction detection takes
degree of similarity of the input–output behavior that should be
precedence over the FDD, ensuring that only a functional
used to consider two models equivalent. Four states, tagged 1
GDHP controller is used for fault recovery and that malfunction
to 4, are defined. It is important to recognize that in this for-
within the controller does not interfere with the FDD process.
mulation the actions of switching and adding to the DMB take
By using the information contained in the controller and the
place in the transition between states. State 1 (Lqc , Lqi ) is char-
weight quality indexes, it is possible to verify the condition of
acterized by the reconfigurable controller performing satisfac-
the GDHP controller over two different malfunctions. The first
torily over a known environment (i.e. with a matching model
one relates to the online GDHP training, converging to a local
in the DMB) while in State 1, an abrupt fault may cause the
minimum and therefore being incapable of reaching the optimal
performance to be degraded enough for the controller quality
tracking error. Such a malfunction is characterized by a high
index qc (t) to be classified as high. If in this case qi (t) also ex-
control quality index (H qc ) matched by a low weight quality
ceeds its high threshold (implying that no model in the DMB
index (Lqw ). The second malfunction relates to controller
matches the current dynamics), the abrupt fault is classified as
divergence and is marked by both a high control quality index
unknown and State 2 is reached. In State 2 the supervisor does
(H qc ) and a high weight quality index (H qw ). Fig. 3 displays a
not possess specific knowledge to provide to the GDHP con-
flow chart that illustrates the controller malfunction detection
troller, which is then responsible to generate a control solution
procedure engaged at every iteration. Note that in a healthy
to this new fault scenario. On the other hand, if qi (t) remains
training situation, a high control quality index, and therefore
low, the abrupt fault is declared as known, and the decision logic
elevated tracking error over time, would generate changes in
moves to State 4. Switching takes place in this transition by
the weight structure of the neural networks indicating Sqw .
loading a previously computed (online or offline) solution from
In order to increase noise rejection and reduce the probability
the DMB to the GDHP controller. The decision process then re-
of false alarms, an observation time is used during which
mains in State 4 until either the performance is recovered (Lqc ) such conditions must remain unaltered so that a controller
or another fault takes place before that is achieved guarantee- malfunction can be positively detected.
ing that chattering behavior due to continuous shifting does not
take place. 3. Novel quality indexes
The plant working under satisfactory performance levels
while in an unknown scenario characterizes State 3. There Although in their original formulations, the quality indexes
are two distinct events that can lead the plant to State 3, the introduced in [9] were successful in achieving basic FTC
first being the occurrence of an incipient fault and the second goals, their lack of flexibility prevented the supervisor response
regarding the development of a control solution for a previously to be adjusted to match even a small set of realistic FTC
unknown fault. Incipient faults, often connected to component specifications. Therefore, modifications to all three quality
aging, may be gradually adapted by the reconfigurable indexes are introduced at first. Such modifications do not alter
controller and eventually indicate a high qi (t), even though their nature, but increase the number of design parameters to
qc (t) remains low during all the process. In this case, there is make it possible for the user to, for instance, adjust how fast
no purpose in learning a new environment/controller pair since AUFs are classified without affecting the classification speed of
the parameters are continuously changing. As a matter of fact, AKF.
if allowed to learn all the transient models, the DMB might 3.1. Identification quality index
rapidly grow to an intractable size. When the GDHP controller
is adapting to a new environment (State 2), qc (t) is expected Focusing first on the identification quality index, one of the
to decrease to the point where it crosses its lower threshold key aspects of its novel formulation is that it contains a set
130 P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142

of two distinct parameters, applied to the filter depending on other hand, decreasing its value also has two beneficial effects.
whether the measured identification error is greater (γiu ) or First, a lower H qi value leads to faster classification of AUFs.
smaller (γid ) than the value of qi (t − 1). Also instead of using Second, it also causes a reduction on the chance of transitory
a single threshold to create the logic regions of high and low and permanent misclassification of AUFs as variations of AKFs
values of qi (t), two distinct thresholds are used: H qi signals already stored in the DMB.
that the quality index is high after it goes beyond it, while Lqi Finally, we focus on the fourth identification design
signals that the quality index is low after it goes below it. The parameter: the lower threshold Lqi . Increasing its value leads
use of the two threshold levels not only allows for different to faster AKF classification since the threshold will be reached
responses to be adjusted, but also creates a hysteresis region earlier as qi (t) decreases. Also, an increase in its value leads
that contributes to the noise rejection. Eq. (1) brings the new to an expansion on the region that accounts for the variability
formulation in a discrete form: of each particular fault scenario. If this threshold is made
too small, two instances of the same fault, an increase in the
qi (t) = γi min k R̂ m (t) − R(t)k + (1 − γi )qi (t − 1), (1) friction of an actuator joint for example, can be classified as
m∈M
two separate faults, each with their own model and control
where M is a set of models currently stored in the DMB, R(t) is
solution in the DMB. Situations such as these are undesirable
the output of the plant, R̂ m (t) is the output of the plant predicted
since the resulted control solutions will be close to each
by the DMB model m, the norm k·k is defined as the sum of the
other that the difference can be quickly dealt with by the
absolute value of all vector elements, and γi assumes the value
underlying adaptation capability. On the other hand, decreasing
of γid if minm∈M k R̂ m (t) − R(t)k ≤ qi (t − 1) or γiu otherwise.
the value of Lqi leads to a better discernment (less chance of
In this manner, the identification quality index presents
misclassification), as well as overall greater noise rejection due
the user with four design parameters that can be adjusted
to the increase of the hysteresis region.
independently in order to modify the response of the fault
tolerant controller to match its goals in a given application. The
3.2. Controller quality index
ultimate adjustment of each design parameter is the subject of
the next section, but first it is important to explore how changes
in each one of the identification design parameters (i.e., γiu , The controller quality index, qc (t), is reformulated into a
γid , H qi , and Lqi ) affect the response of the fault tolerant structure similar to the identification quality index presented in
controller as a whole. For instance, since γiu is used when the Eq. (1). As can be seen in Eq. (2), qc (t) also makes use of two
identification error over all models in the DMB is increasing, distinct filter parameters (i.e., γcu and γcd ), making it possible
using a greater value leads to faster AUF classification. On for the quality index to respond differently for increasing
the other hand, by decreasing its value, we obtain a greater and decreasing tracking errors. As with its identification
noise rejection since (1) acts as a low pass filter on the counterpart, two thresholds, H qc and Lqc , are also used to
identification error which is directly affected by the quality respectively determine levels of logic high and low values
of the plant’s output signal. Moreover, by decreasing γiu , independently.
significant identification error is required to be present for a qc (t) = γc U (t) + (1 − γc )qc (t − 1), (2)
greater length in time in order to substantially impact qi (t),
decreasing the chance of AKFs being transitorily misclassified where U (t) is the value of the utility function at time t, and γc
as AUFs in the interactions immediately after the occurrence assumes the value of γcd if U (t) ≤ qc (t − 1) or γcu otherwise.
of a fault before a sufficient amount of input–output data is Within the proposed supervisor, the pair formed by qi (t) and
collected. qc (t) is responsible for the determination of the four states that
The effects of the other filter parameter γid , on the compose the FDD decision logic (Fig. 2). Therefore, as outlined
other hand, are different. Since it dictates how fast a low for the identification quality index, the values of the four design
identification error can affect qi (t), increasing it leads to faster parameters of qc (t) will also have a direct impact on the
AKF classification. However, decreasing its value reduces the supervisor’s estimation of the plant’s health and determination
chance of AKF misclassification before a significant number of of when to perform the actions of switching and adding.
input–output data points are collected. Moreover, adjusting the Following the same order of analysis used in the
filter parameter only alters the rate of decay. The actual time identification design parameters, we start by focusing on γcu .
that the quality index qi (t) takes to assume a low logic value is As can be expected, increasing its value enables larger tracking
a function of Lqi value as well as the actual identification error errors to translate more quickly into higher qc (t) values, making
history. The limit over which values of qi (t) are considered high the detection of all faults faster. Furthermore, higher values
is determined by the H qi threshold. Increasing its value leads will also increase the chance of detecting faults with short
to higher noise rejection, but different from the decrease of γiu persistence, whose detrimental effect might go unnoticed if the
which leads to the rejection of high frequency noise. Increasing tracking error with short time span is filtered out before it is
the value of this design parameter also decreases the chance of completely expressed. On the other hand, smaller values of γcu
transitory misclassification of AKFs as AUFs caused by peaks provide a greater noise rejection, preventing high frequency
in qi (t) after the occurrence of a fault and before a model measure and transmission noise to be interpreted as faults in
with low identification error can be fully expressed. On the the plant.
P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142 131

As for the filter parameter γcd , increasing it leads to a faster Varying the four weight design parameters modifies how
detection that the acceptable operational performance has been qw (t) interprets the degree of activity within the NNs. Starting
recovered, a situation that leads to the addition of a new fault with γwu , increasing it leads to a faster detection of controller
solution to the DMB in the event of an AUF. It is important malfunction due to online training algorithm divergence and a
to force reaching this decision fast enough so that an effective faster representation of the actual NN activity after a switching
way to respond to a particular fault can be learned before the event by the supervisor. On the other hand, due to the same
dynamics of the plant change once more due to an aggravation switching events and also due to abrupt changes in the plant
of the fault or in the event that the fault is transitory by nature. dynamics caused by faults, spikes of high activity might surface
However, if set too high, this filter parameter will lead to a in the NNs even during healthy operation and decreasing γwu
greater chance of a control solution to be added to the DMB leads to smaller chances that such spikes will translate to
before an entire reference cycle is covered, leading to the incorrect identification of adaptation divergence. Similarly, if
learning of incorrect solutions in the event of faults. As for noise increased, γwd leads to a faster CMD in the event of local minima
rejection in the determination of the plant’s health, smaller convergence. However, if decreased, it leads to a smaller chance
values of γcd will grant it for a similar reason as γcu provides of incorrect stagnation or incorrect true minima convergence
noise rejection to fault detection. detection before all state space covered by the reference cycle
Once qc (t) extends beyond H qc , its high logic value is asso- is explored.
ciated in the decision logic with situations of free and switched Because the weight update equation in the backpropagation
learning. Increasing H qc leads to a greater margin of accep- online training algorithm of GDHP is a function of the weights
tance of suboptimal tracking error and amount of control ef- in the previous iteration, training divergence leads to a steady
fort. This also leads to a greater noise rejection in all frequency growth in the activity of the NNs. Therefore, independent of the
ranges when performing fault detection. Smaller values for the value chosen for H qw , a divergent controller will always lead
H qc threshold lead to faster fault detection and a higher chance qw (t) over it, correctly detecting and identifying the controller
of successful detection. As a matter of fact, if set too high, H qc malfunction. However, decreasing it leads to a faster detection
can cause less detrimental faults not be detectable, independent and therefore a greater chance that the recovery process can take
of the amount of time the fault remains active. place while the diverging pattern is restricted to the internal
The lower threshold Lqc of the controller quality index weights of the NNs and has not yet affected the input to the
makes the decision to add a new control solution to the DMB plant severely. On the other hand, increasing its value reduces
to be reached sooner if its value is increased. Increasing the chance of incorrectly detecting a divergent behavior during
it also leads to a greater chance of adding such solutions normal training activity as a result of an abrupt fault.
independent of the time required. In extreme circumstances, Modifications on Lqw have effects similar to the ones of the
if made too small, the Lqc threshold may not allow a control high threshold. Increasing it leads to faster CMD in the event
solution to be added to the DMB if the fault is severe enough of local minima convergence. On the other hand, decreasing
that the minimum reachable U (t) is higher than the adjusted it provides a lesser chance that the adaptation process is seen
threshold. On the other hand, decreasing the value of Lqc as if it had already converged while significant adaptation
leads to a smaller chance of adding a new solution before the is still taking place, constituting a controller malfunction
whole reference cycle has been covered. Smaller levels for this misdetection.
threshold also provide solutions with greater quality and greater A summary of the effects on the performance of the
specificity, while also granting increased noise rejection. proposed FTC architecture caused by all weight quality index
3.3. Weight quality index design parameters as well as those from qc (t) and qi (t) can be
found in Table 1.
The primary role of the weight quality index, qw (t), is to
provide a measure of the degree of activity within the neural 4. FTC design parameters’ initialization process
networks that compose the ACD controller. This information is
then used in conjunction with qc (t) in the CMD decision logic In the previous section, the three quality indexes used by the
to determine the health of the adaptation process of the baseline proposed FTC supervisor are revised to extended formulations
controller. As with the previous two quality indexes, qw (t) is that possess a total of twelve design parameters. While such
also extended to admit different filter responses for increases flexibility is necessary in order to allow the user to adjust the
(γwu ) and decreases (γwd ) in the amount of network activity, as response of the supervisor to each particular FTC application, it
shown in Eq. (3) in its discrete formulation. also creates the challenge of how to proceed in the adjustment
of each and all parameters. As shown previously, each one of
qw (t) = γw ∆w(t) + (1 − γw )qw (t − 1), (3) the design parameters affects the response of the supervisor in
where γw assumes the value of γwd if ∆w(t) ≤ qw (t − 1) or γwu multiple and conflicting ways, making the offline adjustment of
otherwise, and the variation of the weights of the identification, such parameters a nontrivial task.
action, and critic NNs, ∆w(t), is defined in Eq. (4). As a matter of fact, to precisely determine the value of all
design parameters at design time can be impossible to perform
∆w(t) = kwi (t) − wi (t − 1)k + kwa (t) − wa (t − 1)k in applications that concern themselves with the occurrence
+ kw c (t) − w c (t − 1)k. (4) of unknown faults. Therefore, the proposed procedure for the
132 P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142

Table 1
Summary of effects of the twelve design parameters on the proposed architecture

Lqi H qi γid γiu


Increase • Faster AKF classification. • Less chance of transitory • Faster AKF classification. • Faster AUF classification.
misclassification of AKFs as
AUFs.
• Expansion on the region that • Greater noise rejection
accounts for fault variability. (amplitude).
Decrease • Less chance of • Faster classification of • Less chance of transitory • Greater noise rejection (frequency).
misclassification by model AUFs. AKF misclassification.
generalization.
• Greater noise rejection • Less chance of transitory • Greater noise rejection • Less chance of transitory
(amplitude). and permanent (frequency). misclassification of AKFs as AUFs.
misclassification of AUFs as
AKFs variations.

Lqc H qc γcd γcu

Increase • Faster decision to add a new • Greater margin of • Faster decision to add a new • Faster fault detection.
solution to the DMB. acceptance of suboptimal solution to the DMB.
tracking error and/or amount
of control effort.
• Greater chance of adding • Greater noise rejection • Greater chance of detecting faults
suboptimal solutions to the (amplitude). with short persistence.
DMB.
Decrease • Less chance adding • Faster fault detection. • Less chance of adding • Greater noise rejection (frequency).
solutions to the DMB before solutions to the DMB before
all reference cycle is explored. whole reference cycle is
explored.
• Greater noise rejection • Higher chance of successful • Greater noise rejection
(amplitude). detection. (frequency).

Lqw H qw γwd γwu

Increase • Faster detection of controller • Less chance of incorrectly • Faster detection of controller • Faster detection of controller
malfunction (local minima). detecting a divergent behavior malfunction (local minima). malfunction (divergence).
during normal adaptation
activity.
• Faster representation of actual NN
activity after switching.

Decrease • Less chance that the • Faster detection of controller • Less chance of incorrect Less chance that high activity spikes
adaptation process is seen as it malfunction (divergence). convergence detection before are misclassified as divergent
had already converged while whole reference cycle is behaviors.
significant adaptation was still explored.
in progress.

determination of the twelve design parameters that meet the the focus is on the performance of the plant under fault
required FTC specifications is performed in two stages: offline scenarios, which in some applications can be allowed to
determination of initial values and online parameter tuning. be somewhat smaller than the nominal scenario and still be
In the offline determination of initial values, a sequence of considered as an applicable solution.
synthetic faults are simulated over the plant’s nominal dynamics • Maximum fault detection delay: Fault detection is the first
and the supervisor’s design parameters are adjusted one at a step in any active intervention by the FTC supervisor
time through an intricate procedure introduced in this section or human operator and therefore must be the fastest
in order to generate a simulation response that achieves the information to be gathered.
following key FTC specifications: • Maximum acceptable reconfiguration time for AKFs: The
• Maximum acceptable tracking error and/or permissible proposed FTC supervisor is capable of achieving this goal
control effort under the nominal scenario: This specification by switching to a solution stored in the DMB, but only after
determines the actual control goal of the plant under nominal the AKF is correctly identified and classified.
operation conditions, not to be compromised by the addition • Maximum fault identification delay for AUF: Although
of the FTC adaptive controller or supervisor. faster to be identified than known faults, AUFs present a
• Maximum acceptable tracking error and/or permissible greater challenge since the baseline controller must by itself
control effort under a fault scenario: In this specification determine a solution through online adaptation.
P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142 133

• Minimum observation time before adding a new model to the limits produce suitable values for the low and high thresholds
DMB: This last specification depends mainly on the length respectively. An over-bar is adopted in the notation to indicate a
of the desired reference cycle, but can also be determined by threshold limit, as in L̄qi , being the measured limit of Lqi , the
the frequency in which an intermittent known fault affects lower threshold of the identification quality index.
the plant. The next steps deal with obtaining the threshold limits
One important design choice to be made prior to the from the simulation data for the identification and controller
procedure for determination of initial values of the design thresholds. Starting with the lower identification threshold,
parameters is to establish the complexity of the baseline as it is related to the identification of known faults, L̄qi is
adaptive controller. In the case of the proposed architecture, obtained from the maximum observed value (after the transitory
this translates to choosing the size and architecture of the three response) when the plant enters a known scenario, in this
NNs that compose the GDHP adaptive controller. The number case, when the plant returns to the nominal scenario from a
of weights, their configuration, and choice of training algorithm fault scenario. In order to obtain H̄ qi , it is necessary to first
will all have an effect on how the design parameters affect measure the maximum value assumed by qi (t) in each fault
the response of the supervisor, so it is essential to select the (and therefore unknown) scenario. The limit for the higher
appropriate values in advance. Having set the complexity of identification threshold is obtained from the minimum of such
the baseline adaptive controller, the next step is to simulate measurement, as it indicates the minimum response expressed
the synthetic fault sequence and record the responses of the by an AUF.
three quality indexes. In order to observe the reaction of the The determination of the limit L̄qc can actually be made
indexes to both known and unknown faults, as well as allow directly from the FTC specifications, by taking the value of
full expression of the adaptive controller training process, the the utility function U (t) that corresponds to the minimum
supervisor’s operations of switching and adding are disabled acceptable performance under a fault scenario. On the other
during the simulation. The simulation starts with the plant hand, H̄ qc is related to the transient performance degradation
having the nominal dynamics, where it remains until the used to, among other things, detect the occurrence of a fault,
baseline adaptive controller provides a control solution with and therefore must be obtained from the simulation data.
a performance level equal to or higher than the minimum As mentioned previously, the weight quality index threshold
acceptable tracking error under nominal condition. Once such is involved exclusively in the CMD decision logic. Different
a level is reached, the simulation is paused and the developed from the previously discussed thresholds, the ones related to
nominal control solution and identification model are added qw (t) deal with the extreme situations of controller malfunction
to the DMB. Doing so provides the supervisor with a control due to divergence and local minima convergence and therefore
solution for the nominal scenario that fulfills one of its FTC can have initial values extrapolated directly from the data.
specifications and also makes all subsequent times the plant The purpose of the lower threshold is to inform the CMD
assumes the nominal dynamics to be interpreted as a known decision logic as to when all NNs have converged. Therefore, a
scenario by the supervisor and generate the related responses in suitable initial value can be obtained from the overall minimum
all quality indexes. among the maximum values assumed by qw (t) during the last
As made clear in Table 1, although relevant distinctions reference cycles in each scenario. The higher threshold, on the
exist, many threshold alteration effects are shared with the other hand, serves the purpose of detecting divergent behavior
filter parameters of the same quality index. Therefore, in the within the NNs characterized by an increased degree of activity.
proposed methodology, initial values for thresholds are defined Due to the nature of NN learning algorithm divergence, the
first based on exclusively individual effects, followed by the activity within an NN, as translated into qw (t), continuously
filter parameters, whose determination focuses primarily on increases. Therefore, any threshold value applied to H qw will
temporal effects. For this reason, during the simulation all filter eventually be crossed in the event of a divergent controller
parameters are set to 1, resulting in filters with no memory and malfunction. However, the smaller the value attributed to it,
in practice allowing the threshold to be set according to the the sooner qw (t) will indicate to the CMD decision logic that
unfiltered information. The methodology for the determination the learning process is no longer stable and greater is the
of suitable initial values for the thresholds involves the chance that corrective measure can be taken while the effects
gathering of responses in the simulations that represent limits of the malfunction remain internal and before the operation
in the expression of the unfiltered quality indexes during certain of the plant is compromised. Nevertheless, it is important to
situations relevant to each threshold. For the identification and ensure that this threshold will not in any event be achieved
controller ones, these limits cannot be used directly as the during healthy adaptive controller operation, otherwise its
thresholds as they cannot be expected to represent overall limits efficiency could be compromised due to incorrect supervisory
for all possible fault scenarios, including those unknown during intervention. Therefore, the initial value for H qw is chosen as
design time. In order to provide suitable initial conditions one order of magnitude higher than the maximum qw (t) value
that, once again, can be fine tuned once applied in practice, observed throughout the simulation.
the actual initial condition values for the identification and Having adjusted all six thresholds to suitable values given
controller thresholds are obtained from within the range defined the levels observed in the simulated response, the next half
by the obtained limits. We have found in simulated experiments of the proposed approach involves the adjustment of filter
that using 25% and 75% of the gap between the measured parameters that will control the time for the quality indexes
134 P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142

Table 2
Summary of the proposed procedure for the initialization of FTC design parameters

Simulation setup
• Start the simulation with the plant under the nominal scenario until the baseline controller produces a solution capable of providing the plant with a tracking
performance equal or superior to the required nominal performance.
• Switching is deactivated in the supervisor. Adding models and solutions to the DMB is also deactivated after a model of the nominal dynamics is added in the
first part of the simulation.
• Store the unfiltered values of qw (t) and qc (t) so that different filter parameters can be applied later without the need for further data acquisition.
• Pre-set all filter parameters to 1 (no memory)
• Apply a series of linear synthetic faults, compensating for the application’s number of inputs, outputs and order of the nominal dynamics.
• Store in file (not in the DMB) copies of the weights of the IdNN at the last iteration within each fault scenario.

FTC design parameters’ initialization procedure

1. Obtain L̄qi from the maximum value observed (after the transitory response) when the plant returns to the nominal scenario from a fault scenario.
2. Measure the maximum qi (t) value observed during each fault scenario after the initial transitory peak. Obtain H̄ qi from the lesser of such measurements.
3. Calculate L̄qc using the desired U (t) level that corresponds to the acceptable performance when the plant is under a fault scenario.
4. Obtain H̄ qc from the minimum qc (t) peak observed following a change in the dynamics of the plant.
5. Obtain Lqi and H qi by setting them at respectively 25% and 75% of the difference between L̄qi and H̄ qi . Do the same for the qc (t) equivalents.
6. Set Lqw to the minimum among the maximum qw (t) value observed in the last reference cycles of each scenario.
7. Set H qw to one order of magnitude higher than the maximum observed qw (t) value.
8. Using the previously defined control thresholds and the stored qc (t):
8.1 Set γcd so that at least one full reference cycle is covered before Lqc is reached.
8.2 Set γcu in order to provide less than the permissible maximum fault detection delay.
9. Using the previously defined weight thresholds and the stored qw (t):
9.1 Set γwd so that at least three reference cycles are covered before Lqw is reached.
9.2 Set γwu to 1 (no memory).
10. Retrieve the copies of the weights of the IdNN obtained for each fault scenario and use them to again generate qi (t) as the supervisor had solutions for the
nominal as well as all fault scenarios within the DMB during simulation time. Using the previously defined identification thresholds and the stored identification
models:
10.1 Set γid to provide less than the maximum permissible AKFs identification delay. (direct impact on maximum permissible AKFs reconfiguration delay).
10.2 Set γiu to provide less than the maximum permissible identification delay for all AUFs.

to cross their respective thresholds in a manner to fulfill cycles are required due to the manner these two quality indexes
the temporal FTC specifications. Although adjusting the filter interact in the CMD decision logic. For γwu , a value of 1 can be
parameters may seem a computationally expensive process, maintained as an initial value for this design parameter due to
testing for different filter values required few computations the fact that the higher threshold is already positioned far from
since for qc (t) and qw (t) the signals to be filtered are already signals obtained during healthy learning and due to the fact that
available as the unfiltered versions obtained during simulation, early CMD is critical for its recovery.
and the filters themselves are not more complex than first order The calculation of the effect of different filtering values
low pass filters. Starting with the filter parameters of qc (t), γcd on the response of qi (t) is slightly more computationally
should be adjusted so that, from the last moment the U (t) peaks expensive than the other two quality indexes since in order to
over the higher threshold, at least one reference cycle is covered provide sufficient data, the identification quality index must
before the filtered quality index reaches its lower threshold be calculated as if all fault scenarios were AKF. It is with
level, as observed in all scenario transitions. The reason for this this purpose that the weights of the IdNN at the end of each
build-in delay of one cycle is that a low value of qc (t), among scenario are stored and used to calculate the identification error
other functions, indicates that a suitable solution was found for of all models throughout the simulation. For γid , experiment
an AUF and that therefore such a solution can be added to the with different values in order to provide less than the maximum
DMB. acceptable identification delay for AKFs as observed in all
The desired fault detection time can be achieved by adjusting scenarios. Note that this delay has a direct impact on the
γcu in order to regulate the delay between the introduction specification for the maximum acceptable reconfiguration
of a fault scenario and the time the filtered qc (t) reaches its time for AKFs since the supervisor can only increase the
higher threshold. Adjusting the filter parameter to provide a reconfiguration speed of such faults after they were correctly
fault detection delay less than or equal to the specified one in identified and classified. Finally, adjust γiu so as to provide less
all fault scenarios in the simulations provides a suitable initial than the maximum permissible identification delay for AUFs.
value. For the weight quality index, γwd should be adjusted in Table 2 summarizes the simulation details and the procedure
order to provide a wait at least three reference cycles before to generate suitable initial conditions for all twelve FTC
allowing the lower threshold to be reached. As can be expected, thresholds and filter parameters as described in detail above.
the reasoning behind this step is similar to the determination of Having concluded this stage, the supervisor is configured
the initial value of γcd , with the difference that more reference to be applied to the actual plant. As mentioned previously,
P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142 135

Table 3 Table 4
Summary of FTC specifications Simulation sequence for the linear synthetic fault set

FTC specification Limit Active time interval Plant dynamics


Maximum acceptable tracking 0.02 0–15,000 Nominal — Eq. (4)
error under the nominal scenario 15,000–25,000 Abrupt fault 1 — Eq. (7)
Maximum acceptable tracking 0.05 25,000–35,000 Abrupt fault 2 — Eq. (8)
error under a fault scenario 35,000–45,000 Nominal — Eq. (4)
Maximum fault 75 it. (0.15 ref.) 45,000–55,000 Abrupt fault 3 — Eq. (9)
detection delay 55,000–65,000 Abrupt fault 4 — Eq. (10)
Maximum fault identification 100 it. (0.2 ref.) 65,000–75,000 Nominal — Eq. (4)
delay for AUF
Maximum acceptable reconfiguration 3500 it. (7 ref.)
time for AKFs where R t (t) is the desired reference with a cycle of 500 itera-
Minimum observation time 750 it. (1.5 ref.) tions described in Eq. (7)
before adding a new model to the DMB
R t (t) =
Temporal values expressed in number of iterations (it.) and in terms of the
length of the cyclic reference period (ref.).
  π  

 
sin t + 0.4 sin t
 250 250  . (7)

it is possible that in the event of AUFs, not all FTC   π  

(t + 150) + 0.6 sin (t + 190)
 
specifications will be fulfilled as it is possible that unmodeled 0.1 + sin
250 250
system properties will cause the quality indexes to respond
inaccurately. To correct this, the user is directed to use Table 1
as a look-up table and make the necessary adjustments on the 5.1. Adjusting initial design parameters using simulated linear
design parameters to rectify specific deficiencies. faults

5. Simulation results From the FTC specifications in Table 3, it is possible


to directly set L̄qc = 0.05, however in order to set the
In this section we demonstrate how the proposed procedures values of the remaining thresholds, it is necessary to run a
can be used in practice to configure the twelve design param- simulation sequence using the same adaptive controller we
eters of the proposed FTC approach before its actual applica- seek to apply to deal with faults in the actual plant. Taking
tion to the nonlinear complex plant under real-world complica- into consideration the presence of three states, two inputs and
tions. In particular, the plant of interest has 2-input, 2-output, two outputs, and assuming a certain degree of complexity for
3-state, and will be subject to nonlinear faults that will greatly the unknown fault scenarios, all three neural networks that
change its dynamics. The offline simulation procedure will be compose the ACD adaptive controller are created as two layered
conducted by applying a sequence of synthetic linear faults to recurrent neural networks with 40 hidden neurons. Having set
the nominal model in order to generate information to be used the baseline adaptive controller, the next step is to determine a
to produce initial values for 12 design parameters that aim at simulation sequence with synthetic faults represented by linear
achieving the FTC specifications listed in Table 3. For the sake systems with the same dimensions as that of the nominal plant.
of understanding, we assume in this simulation that the plant al- Eqs. (8)–(11) describe the dynamics of abrupt faults 1 to 4,
ready has a stable controller designed for the nominal dynamics respectively. Table 4 displays the simulation sequence and the
and that the FTC architecture is mounted over the loop contain- timing of each fault.
ing the plant and the nominal controller. Under these circum-
x1 (t + 1) = −0.44x1 (t) − 0.09x2 (t)

stances, we can assume without loss of applicability that the 
−0.01x3 (t) + 2u 1 (t)


nominal dynamics are described by Eq. (5). (8)
 x 2 (t + 1) = x 3 (t) − 2u 2 (t)
x1 (t + 1) = u 1 (t)

x3 (t + 1) = x1 (t)


x2 (t + 1) = x3 (t) (5)
x1 (t + 1) = −0.67x1 (t) − 0.11x3 (t) + 5u 1 (t)

x3 (t + 1) = u 2 (t),

x2 (t + 1) = 0.1x2 (t) + 2u 2 (t) (9)
where u 1 (t) and u 2 (t) are the inputs of the plant and the states 
x3 (t + 1) = 0.3x1 (t)
x1 (t) and x2 (t) compose the output of the plant, also rep-
x1 (t + 1) = −0.19x1 (t) − 0.1x2 (t)

T
resented in vector form in R(t) = x1 (t) x2 (t) . In this
 
−0.17x3 (t) + 1.2u 1 (t)

demonstration, we assume that the desired minimum perfor- (10)
x 2 (t + 1) = 0.9x 1 (t) + 1.32u 2 (t)
mance of the plant under the nominal scenario corresponds to

x3 (t + 1) = x2 (t) − 0.7u 1 (t)


U (t) = 0.02, where U (t) is chosen as shown in Eq. (6) fo-
x1 (t + 1) = 0.2x1 (t) − 0.96x2 (t)

cusing exclusively on the tracking error of the output. On the 
other hand, a performance of U (t) = 0.05 is still considered +0.4x3 (t) + u 1 (t)


(11)
acceptable under a fault scenario.  x 2 (t + 1) = 0.9x 1 (t) + 1.5u 2 (t)
x3 (t + 1) = x2 (t) + u 1 (t).


T
U (t) = R(t) − R t (t) R(t) − R t (t) ,

(6)
136 P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142

Table 5
Initial values for the identification and control thresholds calculated from
observed limits
Threshold Initial value
Lqc 0.253
H qc 0.658
Lqi 0.382
H qi 0.511

In order to determine the initial values for the weight quality


index thresholds, an exploration of the unfiltered qw (t) gener-
ated during the simulation (Fig. 6(a)) is required. The maximum
observed peak value of the weight quality index during opera-
tion in the absence of controller malfunctions is 566.5, leading
to the adjustment of the higher threshold H qw to 5665. For the
Fig. 4. Unfiltered qc (t) transitory response as it returned to the nominal lower threshold, we focus on the maximum response observed
scenario at iteration 65,000. after controller convergence at each scenario. Fig. 6(b) displays
the minimum of such measurements, adjusting the initial value
Following the directives laid down in the previous section, of the lower weight threshold Lqw to 3.75.
the simulation is run for a total of 75,000 iterations. Analyzing Having set initial values for all thresholds, the next step is the
the transitory behavior of qc (t) after the introduction of each configuration of the filter parameters. The identification quality
scenario, the minimum peak value is observed when the plant index is then recalculated independently to allow different filter
returns to the nominal scenario at iteration 65,000 (Fig. 4), parameters to be tested in order to fulfill the FTC specifications.
setting H̄ qc at 0.860. Fig. 7 illustrates the distinct difference between qi (t) before
After the transitory response, the maximum value of qi (t) and after filtering with its initial parameters. In Fig. 8, it is
observed while in the nominal scenario is of 0.318, establishing possible to see how, using the thresholds defined previously,
in this manner L̄qi . The measurement, obtained in the first the filtered qi (t) correctly identifies all scenarios as known and
time the plant returned to the nominal scenario after 35,000 classifies correctly which of the models in the DMB represents
iterations, can be seen in Fig. 5(a). Moving forward, Fig. 5(b) the current observed dynamics. Note also that all transitory
shows the response of qi (t) while abrupt fault 3 is active. The periods during which the models are misclassified occur within
maximum value observed in this scenario (after the transitory period during which qi (t) transitorily misidentifies an AKF as
response generated by the abrupt change in dynamics) is the an AUF. This behavior is expected and desired since neither
minimum among all other scenarios, determining the limit of correct identification nor classification can occur until sufficient
the high qi (t) threshold, H̄ qi , to be set at 0.575. data is made available and while an AKF remains transitorily
Having obtained the limits for the identification and misidentified as an AUF the switching command is not issued
controller thresholds, it is then possible to determine the initial by the decision logic.
value recommendations for these thresholds as described in the Adjusting γiu to 0.8 provides a maximum AUF identification
previous section. The calculation results lead to the values listed delay of 68 iterations (less than the specified 100 iterations),
in Table 5. observed after the system’s dynamics abruptly changed at

Fig. 5. (a) Response of the unfiltered identification quality index as the plant returns to the nominal scenario at iteration 35,000. (b) The unfiltered identification
quality index during the occurrence of abrupt fault 3.
P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142 137

Fig. 6. (a) Resulting unfiltered weight quality index from the synthetic fault sequence simulation. (b) Detail of the response of qw (t) during a period when no faults
are active in the plant. The minimum qw (t) response after controller convergence can be seen in this graph.
observed fault detection delay of 55 iterations (less than the
required 75 iterations). Triggered by a high logic value of qc (t),
the maximum observed fault detection delay can be seen in
Fig. 10(a). A series of values for γcd are tested, checking for
the resulting minimum number of iterations observed before a
control success is declared by a return of the logic value of qc (t)
to low. Adjusting the parameter to 0.002 provides a minimum
observation time of 853 iterations (beyond the specified 750
iterations) as seen in Fig. 10(b). The resulting filtered qc (t) can
be seen in Fig. 11.
Following the proposed procedure, the adjustment of the fi-
nal two design parameters take place by keeping γwu as 1 (unfil-
tered) and varying γwd in order to prevent a low logic value to be
expressed before sufficient observation time is allowed. In this
case, given the specified minimum observation time for mod-
Fig. 7. Comparison between unfiltered and filtered identification quality
els to be added to the DMB, γwd is modified until a minimum
indexes. The horizontal dashed lines indicate the adjusted threshold levels. The observation time of 1620 iterations was obtained, leading to a
simulation section displayed in the graph draws attention to the introduction of value of 0.0007 for the filter parameter Fig. 12(a). A compari-
an AKF at iteration 45,000. son of the response of the filtered and unfiltered qw (t) through
the course of the entire simulation can be seen in Fig. 12(b).
iteration 65,000 (Fig. 9(a)). In order to provide the means
Having concluded the determination of initial values for all
for the final configured supervisor to be able to comply with
twelve proposed FTC design parameters, Table 6 summarizes
the desired maximum reconfiguration time for AKF, correct
the results as they would be used in practice to configure the
fault identification must occur before a switching operation
FTC supervisor for application to the real-world plant.
takes place. Therefore, γid is set to 0.002, which produced
a maximum AKF identification delay of 3204 iterations 5.2. Applying the configured supervisor to a plant subject to
among all scenario changes experienced in the linear dynamics nonlinear faults
simulation (as shown in Fig. 9(b)).
In order to achieve fault detection under the specified In this demonstration, the real-world plant was simulated
maximum delay, γcu is set to 0.6, resulting in a maximum by a plant subjected to nonlinear fault scenarios of greater

Fig. 8. The first graph gives the logic state of qi (t) which is low (0) or high (1) throughout the simulation. The second graph displays the model identified as active
at each iteration; model 1 pertains to the nominal dynamics, while models 2–5 pertain to the four fault scenarios.
138 P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142

Fig. 9. (a) Longest AUF identification delay (after γiu adjustment) observed here as the time taken by qi (t) to assume its high logic value. (b) Identification quality
index logic state reacting to the introduction of an AKF at iteration 25,000.

Fig. 10. (a) Change in the logic state of qc (t) in response to the change in the dynamics of the plant at 65,000. (b) Logic state of qc (t) following the introduction of
new dynamics at iteration 65,000 and subsequent performance recovery.

Table 6
Initial values for the twelve proposed FTC design parameters

Threshold Initial value Filter parameter Initial value


Lqc 0.253 γiu 0.8
H qc 0.658 γid 0.002
Lqi 0.382 γcu 0.6
H qi 0.511 γcd 0.002
Lqw 3.75 γwu 1
H qw 5665 γwd 0.0007

subject to two novel AUFs and one incipient fault. In addition,


one of the AUFs was presented twice in order to present the
FTC architecture with the challenge to learn a solution for an
AUF in its first occurrence, and then apply it directly once the
fault is recognized as an AKF in its second occurrence.
Fig. 11. Comparison between the values of qc (t) before and after filtering using The timeline for introduction of fault scenarios can be
the chosen parameters. seen in Table 7. Eqs. (12) and (13) describe the dynamics of
abrupt fault 1 and abrupt fault 2, respectively. Additionally, the
complexity than the linear ones used in the linear synthetic fault incipient fault is described as a gradual change in the nominal
sequence. Through the course of the simulation, the plant was dynamics (Eq. (5)) leading to the dynamics described in
P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142 139

Fig. 12. (a) Logic state of qw (t) (low (0), normal (1) and high (2) depicting the healthy activity in the adaptive critic controller following the introduction of new
dynamics and subsequent convergence. (b) Comparison between filtered and unfiltered qw (t) throughout the whole simulation.

Table 7 Table 8
Simulation sequence of actual implementation Information gathered and actions taken by the supervisor

Active time interval Plant dynamics Iteration Supervisor’s responses


0–15,000 Nominal — Eq. (4) 15,002 Abrupt unknown fault
15,000–25,000 Abrupt Fault 1 — Eq. (11) 18,936 Control success — ADD model 2
25,000–35,000 Nominal — Eq. (4) 18,937 Performance recovered (model 2)
35,000–45,000 Incipient Fault 25,046 Abrupt known fault — SWITCH to model 2
45,000–55,000 Abrupt Fault 2 — Eq. (12) 25,087 Abrupt unknown fault
55,000–65,000 Abrupt Fault 1 — Eq. (11) 25,513 Abrupt known fault — SWITCH to model 1
25,930 Performance recovered (model 1)
43,896 Incipient fault
Eq. (14) at the end of its active interval. 45,012 Abrupt unknown fault
48,470 Control success — ADD model 3
x1 (t + 1) = x32 (t) + u 1 (t)

48,471 Performance recovered (model 3)
x (t + 1) = x3 (t) − 0.8x2 (t)u 2 (t) (12) 55,035 Incipient fault
 2 55,046 Abrupt unknown fault
x3 (t + 1) = −0.5x3 (t) + 1.5u 2 (t) 55,503 Abrupt known fault — SWITCH to model 2
56,086 Performance recovered (model 2)
x1 (t + 1) = 0.5x1 (t) − 0.7x
 π 3 (t) +
2
 1.5u 1 (t)



u 1 (t)

− 0.001 sin


4

scenario becomes active during the simulation, the largest
x2 (t) (13)
 x2 (t + 1) = 2x3 (t) + x2 (t)u 1 (t) + 0.2 observed tracking error after the transient response caused by
1 + x3 (t)
2



 the change in dynamics is of 0.004, safely below the desired
x3 (t + 1) = 0.04x3 (t) + u 2 (t) + 0.6u 2 (t) sin (x1 (t)/2)

0.02. Fig. 13 displays the value of the instantaneous tracking
x1 (t) error (as available in U (t)) during the last five cycles of

x1 (t + 1) = u 1 (t) + 1.25u 2 (t) +


1 + x12 (t) the referred scenario, while Fig. 14 shows the actual outputs
(14) of the plant as they closely follow the desired sinusoidal
x (t + 1) = (1 + 0.5 sin (4x3 (t)))x3 (t)
 2

x3 (t + 1) = u 2 (t). trajectories.

The tracking error during a fault scenario is also a concern
Throughout the simulation, the supervisor, operating with in the specification for this demonstration. The maximum
the design parameters stipulated in the previous subsection, is observed tracking error in the last five cycles among all fault
capable of correctly identifying all fault scenarios and performs scenarios is observed at the re-introduction of abrupt fault
the operations of adding new models to the database and 1. The measured value of 0.034, although higher than the
switching to known solutions in a manner to increase the one achieved during nominal operation, is still below the
efficiency of the FTC response. Table 8 provides a timeline specified maximum of 0.05. Fig. 15 displays the referred
of the supervisor’s responses, including the information made tracking error, and Fig. 16 brings the slightly deteriorated,
available to the user and the actions taken in interaction with but still acceptable, outputs of the plant under the same fault
the baseline controller and the DMB. scenario.
The first specification posed in this demonstration indicates The maximum observed fault detection delay can be
a maximum acceptable tracking error for the plant during obtained directly from Table 8 by measuring the maximum
nominal operation. Comparing when twice the nominal time gap between the introduction of a fault scenario and the
140 P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142

Fig. 13. Reference tracking error during the last five cycles in the nominal Fig. 16. The plant’s two outputs during the fault scenario with maximum
scenario. observed tracking error. Reference signals are plotted in dashed lines.

Fig. 14. The plant’s two outputs during nominal operation. Reference signals Fig. 17. Response of qc (t) in the first 200 iterations after introduction of abrupt
are plotted in dashed lines. fault 1. Maximum observed fault detection delay occurs at 46 iterations after the
fault introduction as the quality index crosses H qc .

fault is present, not to identify it. The presence of responses


such as these is expected and both proposed decision logics are
built taking such transitory behavior into account. Therefore,
fault detection delay is measured until the detection of a fault,
independent if it was correctly identified at the onset or not.
With this in mind, the maximum observed fault detection
delay is of 42 iterations (below the specified maximum of 75
iterations), recorded at the re-introduction of abrupt fault 1. The
referred event can also be graphically seen in Fig. 17 as fault
detection takes place in the instant qc (t) crosses over the its high
threshold.
For the maximum AUF identification delay we focus on the
supervisory response (as shown in Table 8) during the first
occurrence of the two abrupt faults at iterations 15,000 and
45,000. The maximum observed delay is of 12 iterations, well
Fig. 15. Maximum reference tracking error observed during the last five cycles below the specified limit of 100 iterations. One key aspect of
over all fault scenarios. the proposed FTC architecture and an FTC specification in this
demonstration is the amount of time allowed for reconfiguration
time the supervisor detects a fault. It is important to clarify of an AKF. In the simulation, the abrupt fault 1 is introduced
that the goal of fault detection is merely to indicate that a twice and the supervisor must successfully learn a solution in
P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142 141

Table 9
Comparison of FTC specifications and achieved simulation results

FTC specification Desired Achieved


Maximum acceptable tracking error under the nominal scenario 0.02 0.004
Maximum acceptable tracking error under a fault scenario 0.05 0.034
Maximum fault detection delay 75 it. (0.15 ref.) 46 it. (0.09 ref.)
Maximum fault identification delay for AUF 100 it. (0.2 ref.) 12 it. (0.02 ref.)
Maximum acceptable reconfiguration time for AKFs 3500 it. (7 ref.) 1086 it. (2.17 ref.)
Minimum observation time before adding a new model to the DMB 750 it. (1.5 ref.) 1948 it. (3.89 ref.)

below the value specified by the lower qc (t) threshold, until


the time the new control solution is added to the DMB. This
process occurs twice in the simulation, once for each abrupt
fault. As seen in Fig. 19, the minimum observed wait time for
the addition of a new model to the DMB occurred during abrupt
fault 2 and had the value of 1948 iterations, a number safely
larger than the required minimum of 750 iterations. Table 9
summarizes the results of this demonstration by comparing
the stipulated FTC specifications and the achieved results. The
methodology for generating suitable initial values for all design
parameters is successful in configuring an FTC supervisor
capable of achieving all specifications without the need of
further tuning.

6. Conclusions
Fig. 18. Faster reconfiguration time through switching operation on the second
occurrence of abrupt fault 1. The reconfiguration time of 1086 iterations is
achieved when qc (t) moves below Lqc . Although any successful FTC approach must be tuned to
address faults in specific ways to match the requirements
the fault’s first occurrence, autonomously add it to the DMB and of each plant, no existing approach provides either sufficient
recall it in the fault’s second occurrence fast enough in order flexibility, or a guideline of how to adjust design parameters
to provide a shorter reconfiguration delay. In the simulation, in order to fulfill fundamental FTC specifications. In the
an actual reconfiguration delay for AKFs of 1086 iterations is presented work, three quality indexes which compose the core
achieved, making it less than one third the specified maximum of a powerful FTC architecture were extended in order to
of 3500 iterations and almost one fourth of the reconfiguration provide a sufficient degree of flexibility to the supervisor’s
time taken during the first occurrence of 3937 iterations. A response. Then, in order to regulate the response of the
graphical indication of how important the choice of suitable supervisor to match six key FTC specifications, a methodology
thresholds and filter parameters is for the efficiency of the for the generation of suitable initial conditions for twelve
supervisor can be found in Fig. 18, which depicts the response design parameters was presented, along with a look-up table
of the controller quality index during the second occurrence of approach for the fine tuning of such parameters during actual
the abrupt fault 1. implementation. The simulation results reveal that the initial
The final FTC specification of this demonstration deals with conditions set for the design parameters successfully adjusted
the minimum time desired for observation of the behavior of the supervisor, providing an FTC response that fulfills all
the plant before a new solution is added to the DMB. This time specifications even when previously unknown nonlinear faults
gap is obtained from the last moment the tracking error goes are introduced.

Fig. 19. Logic state of qc (t) (left) and unfiltered tracking error with controller thresholds (right) provide a visualization of the observed minimum wait time to add
a solution to the DMB.
142 P.G. DeLima, G.G. Yen / ISA Transactions 47 (2008) 127–142

References [6] Liu X, Dexter A. Fault-tolerant supervisory control of VAV air-


conditioning system. Energy and Buildings 2001;3(4):379–89.
[1] Mosca E, Agnoloni T. Switching supervisory control based on controller
[7] Blanke M, Izadi-Zamanabadi R, Lootsma T. Fault monitoring and re-
falsification and closed-loop performance inference. Journal of Process
configurable control for a ship propulsion plant. International Journal of
Control 2002;12(4):457–66.
Adaptive Control Signal Processing 1998;12(8):671–88.
[2] Wilson E, Lages C, Mah R. Gyro-based maximum-likelihood thruster
[8] Yen GG, Leong WF. Fault classification on vibration data with wavelet
fault detection and identification. In: Proceedings of the American control
conference. 2002. p. 4525–30. based feature selection scheme. ISA Transactions 2006;45(2):141–51.
[3] Bonivento C, Paoli A, Marconi L. Fault-tolerant control of the ship [9] Yen GG, deLima PG. Improving the performance of globalized dual
propulsion system benchmark. Control Engineering Practice 2003;11(5): heuristic programming for fault tolerant control through an online learning
483–92. supervisor. IEEE Transactions on Automation Science and Engineering
[4] Liu W. An on-line expert system-based fault-tolerant control system. 2005;2(2):121–31.
Expert Systems with Applications 1996;11(1):59–64. [10] deLima PG, Yen GG. Accommodating controller malfunctions through
[5] Izadi-Zamanabadi R, Blanke M. A ship propulsion system as a benchmark fault tolerant control architecture. IEEE Transactions on Aerospace and
for fault-tolerant control. Control Engineering Practice 1999;7(2):227–39. Electronics Systems 2007;43(2):706–22.

Anda mungkin juga menyukai