You are on page 1of 17

CEAS Aeronaut J (2016) 7:315331

DOI 10.1007/s13272-016-0189-0

ORIGINAL PAPER

SPYDER: a software package for system diagnosis engineering


C. Modest1 F. Thielecke1

Received: 12 December 2014 / Revised: 28 September 2015 / Accepted: 1 March 2016 / Published online: 28 March 2016
 Deutsches Zentrum fur Luft- und Raumfahrt e.V. 2016

Abstract Modern aircraft systems comprise hardware 1 Introduction


and software with high complexity. In order to assure an
operation at high availability and low maintenance cost, In the year 2050, all European flights should arrive within
diagnosis functions become essential. These functions 1 min of the planned arrival time [1]. This is a very
detect faults and failures, identify sources of faults and ambitious aim considering the current status. In 2012,
failures and assess the current state of health. A reduction 16.7 % of all European flights had a delay of more than
in operating cost, better planning of maintenance actions, 15 min [2]. That was mainly due to technical issues [3]
and new business cases for operator and equipment man- which caused maintenance actions, high cost and incon-
ufactures are gained as a result. A systematic approach for veniences for passengers.
the design and test of diagnosis functions supported by an To close the gap, efficient diagnosis functions are seen
integrated model-based tool chain is introduced in this as key contributors. These detect faults and failures, iden-
paper. That is the SPYDER concept, a Software Package tify root causes, and assess the health status of systems and
for sYstem Diagnosis EngineeRing. Embedded into the components. Therewith, a system operation at higher
general system development process, a stepwise design and availability and reduced maintenance cost is gained. Long
test of diagnosis functions is performed. It focuses on aircraft on ground (AOG) times induced by high rates of
failures and starts with failureeffect analysis, continues false alarms and no-fault-founds (NFF) [4] indicate that
with sensor placement and proceeds further to configura- current diagnosis functions and development strategies
tion and testing. The method has been applied to multi- possess weaknesses. Instead of supporting the system
functional fuel cell systems that are used as illustrative operation they often lead to hindrances. This motivates the
examples. use of more efficient diagnosis functions that are developed
in a systematic and model-based process. These functions
Keywords Failure diagnosis  Fuel cells  Model-based can be split into two main areas of application. This con-
systems engineering  Expert systems cerns fault diagnosis and failure diagnosis. The latter is in
the focus of the paper at hand. A novel development
framework for failure diagnosis is introduced. This consists
of an interwoven process, an implementation strategy and a
tool. The overall goal is to increase the efficiency and ease
the implementation of failure diagnosis for complex air-
This paper is based on a presentation at the German Aerospace
craft systems.
Congress, September1618, 2014, Augsburg, Germany. The paper is organized as follows. Section 2 gives a
general overview about failure diagnosis. Related work in
& C. Modest the field of software tools, development processes and
christian.modest@tuhh.de
implementation strategies is presented in Sect. 3. A concept
1
Hamburg University of Technology, Institute of Aircraft for more efficient diagnosis functions is illustrated in Sect. 4.
Systems Engineering, Nesspriel 5, 21129 Hamburg, Germany Section 5 depicts an embedded framework for the design and

123
316 C. Modest and F. Thielecke

test. This is supported by the model-based tool chain SPY- Data acquisition is performed on the lowest level. This
DER which is introduced in Sect. 6. The software package is about filtering and conversion of sensor signals into
consists of four modules that are demonstrated by means of a digital quantities. Preprocessed data is gained. Data
case study in Sect. 7. The content of the paper is summarized manipulation is carried out in the next step. Signal analysis
in Sect. 8 and an outlook on open topics is given in the end. and the combination of different signals is done to extract
Extensions to include fault diagnosis functions are discussed. features. The latter indicate abnormal behavior and the
occurrence of failures. The assessment of the behavior,
either normal or persistent faulty, is done by state detec-
2 Diagnosis functions tion. Threshold checking and pattern recognition tech-
niques are possible activities for evaluation of features.
There are various definitions of failure diagnosis for tech- Discrete failure indicators and specific feature character-
nical processes. In a generalization, according to Isermann istics are derived. These are input to the health assessment
[5], it is the task of determining type, size, location and module where potential sources of failures, failure modes
time of detection of a failure. Blanke [6] and Ding [7] (FM), and certainty factors for each FM are determined.
define diagnosis to be not only the localization and iden- This definition of failure diagnosis is referred to in the
tification but also the detection of failures. There are fur- following.
ther definitions like [8] and all have in common that they
differ slightly in what to include and what to perform in
failure diagnosis. The ISO 13374 [9] on condition moni- 3 Related work
toring and diagnostics of machines makes an attempt to
standardize fault and failure diagnosis. It defines six The ISO 13374 standard defines a framework for fault and
functional blocks by means of interfaces. Four of the failure diagnosis. However, the development and imple-
blocks are related to failure diagnosis as are depicted in mentation of the specific functions is left to the user.
Fig. 1. The functions themselves are not defined in [9]. The Therefore, the content of the paper affects three aspects of
blocks are explained in the following by means of imple- current research. These are strategies for design and test,
menting diagnosis functions. The latter are seen as methods software tools that assist the development, and measures
to fill the blocks with life. for the implementation of diagnosis functions.

3.1 Development processes

There are various publications on the design of diagnosis


FM3
Certainty

FM4
FM2

and general health management functions. A generic


FM1

FM6

FMN
FM5

approach for health management systems engineering is


Health proposed by Wilmering [10]. This shows different steps of
Assessment development, but focuses thereby on general aspects and
Indicator

the distribution of work between company and supplier.


Charact.

1 Different tasks that have to be done during development


are mentioned, but it is not depicted how to do it. The
State Detection importance of designing diagnosis and health management
t t
functions into the system and using systems engineering
Raw data Prepr. data Feature

Threshold
principles is emphasized by Scandura [11]. However, no
guidelines are provided. Further approaches exist that
Data Manipulation mostly deal with the development of advanced models for
t
direct online integration and the operation parallel to the
supervised system [12, 13].

Data Acquisition 3.2 Software tools


t
Commercial software packages can give assistance in
developing diagnosis functions. The tool made by PHM
Sensors
t technology provides a functional modeling framework
[14]. System behavior is reduced to causal relationships
Fig. 1 Diagnosis functions according to ISO 13374. that can be influenced by failures. A failure effect analysis

123
SPYDER: a software package 317

can be carried out but bidirectional failure propagation 3. What will efficient diagnosis functions look like which
cannot be taken into account directly. The software can support a variety of aircraft systems?
RODON by Combitech AB uses a physical modeling
approach based on a Modelica like language [15]. Failure
modes are modeled phenomenologically. It enables the
4 Diagnosis engine
study of failure effect relations using bidirectional failure
propagation. However, it is limited to static system
The SPYDER concept is a novel development framework
behavior. Although, both the packages can give support in
for failure diagnosis. It aims to provide efficient diagnosis
early design phases of diagnosis functions they are limited
functions that support a variety of aircraft systems. A
in their application areas. Extensions of models to deal
central element is the separation between the model-based
with dynamic behavior, deeper failure analysis for deter-
development of failure diagnosis functions in an offline
mining quantitative failure characteristics, the analysis of
process and their online execution. No model is used dur-
faults and the configuration of diagnosis functions are not
ing run-time, but only a flexible and compact diagnosis
possible.
engine. The latter works with condensed and structured
knowledge in the form of diagnosis rules. These are of the
3.3 Implementation strategies
generic form if..then.. and are executed by software agents,
which are depicted in Fig. 2. These agents perform state
To cope with increased system complexity and system
detection and health assessment in a distributed and hier-
interdependency, distributed and hierarchical approaches
archical manner.
for the implementation of diagnosis functions are in the
The lowest layer of the diagnosis engine consists of
focus of current research. A three step approach is pro-
monitoring agents. These instances evaluate features by
posed by Hess [16]. This goes from measurements and
means of threshold checking. By that, indicators are
control data on a component level to a health status on a
derived. The latter indicate the occurrence of abnormal
system and aircraft level. It is a general approach that
behavior in terms of failures. An example is the indication
provides no means for handling and combining data and
of effects of a breakdown of a compressor. Indicators
specific algorithms to use. Felke [17] proposes a four step
possess discrete values in the range f1; 0; 1g. Depending
approach. Compared to Hess, further instances are intro-
on the context this is translated by low, nominal and high
duced for specific components. All instances of this
approach work on the ISO 13374 standard which is repe-
ated on every level. However, no measures are provided to
rated suspects
implement the functions. There are further publications
Aircraft Diagnostic
like [18], but none does actually show how to stepwise Agent
concentrate data and come to a final conclusion about a
certainty
suspects

Assessment
current health status and existing failures.

Health
3.4 Summary and discussion
characteristics

A survey of current literature showed, that there is a deficit


symptoms

in approaches that fully enable the integrated development Certainty Agent


and actual implementation of efficient diagnosis functions Fusion Agent
for a variety of aircraft systems. No methods exist right
indicators

now that combine processes for the design and test,


Detection

implementation strategies and appropriate software tools.


Detection Agent Shape Agent
State

However, only the combined consideration will lead to a


reduction in cost for development and operation, and an
increase in efficiency. Therefore, three key questions have
been formulated, that will be dealt with in the following Monitoring Agents
parts of the paper:
1. How can the design and test of diagnosis functions be features
standardized? (Data Manipulation)
2. How can knowledge of failures be encoded for the
specific target system? Fig. 2 Hierarchical and distributed diagnosis engine

123
318 C. Modest and F. Thielecke

as well as false and true. An example for the first case is the hypothesis. The certainty factor itself is defined as the ratio
indicator m_ Air 1 which denotes that an air mass flow of matching degrees of fuzzy diagnosis rules with specific
m_ Air is low in the specific state. It thus falls below a lower conclusion FM, e.g., air-valve-jammed, to the sum of all
threshold. The air mass flow m_ Air is directly used as a matching degrees irrespectively of the actual conclusion.
feature. A further example is m_ Failure 1 which is derived By that, the certainty is in the continuous range [0, 1] and a
from m_ Failure m_ cmd  m_ act [ 0:3  m_ cmd . In this case, the list of rated suspects is gained in the end.
indicator color, which is 1, is translated with true and the The key aspect of the proposed diagnosis engine is the
difference between commanded and actual mass flow is utilization of diagnosis rules and diagnosis agents. The
used as a feature. This means that features are generally latter are used to reveal symptoms, infer suspects, deter-
defined as quantifying parameters. A detection agent mine certainty factors and combine results from different
combines indicators and operating conditions to reveal systems on the overall aircraft level. These tasks are per-
symptoms. These have discrete values in the range f0; 1g formed by pattern recognition techniques, resolution
which is translated by the terms false and true. The com- strategies for generating and testing suspects as well as
bination of the indicator m_ Air 1 and the operating fuzzy logic and fuzzy inference for the provision of cer-
conditions Ops Active gives the exemplary symptom 1 = tainty factors. All these techniques are implemented and
1 (true). All symptoms are correlated by a fusion agent. executed using rule-based expert systems [19]. This means
This agent infers from symptoms to failures by means of that the core of each diagnosis agent is based on a rule-
generating and testing hypotheses. The latter are called based expert system.
suspects. In a continuation of the example, an initial Expert systems consist of a knowledge base and an
list of suspects would be fair-compressor-defective; inference procedure to infer from facts from the system
. . .; air-valve-jammedg. All the elements of the list can about symptoms, suspects and certainties in the current
explain the occurrence of symptom 1 = 1. To isolate the case. A fix core has been developed that comprises algo-
actual failure all suspects are tested on basis of further rithms on pattern recognition techniques, resolution
symptoms. An example for the latter is symptom 2 = 1. strategies and fuzzy inference. These algorithms are inde-
This is defined as the combination of Ops = Active and an pendent from the target system. An adjustment takes place
indicator for air mass flow in another branch of the by means of specific diagnosis rules. Therewith, a flexible
exemplary system. If the indicator possesses a value of 0 implementation of failure diagnosis functions is gained that
which equals nominal in this case the air-compressor could supports a variety of aircraft systems. The failure diagnosis
be tested failure free by means of this falsification functions are separated into dedicated sub-functions to
approach. A final set of suspects is gained in the end which handle system complexity and make the overall failure
is reduced to those failures that can fully explain all the diagnosis more efficient.
detected symptoms. All the tasks mentioned are performed In general, the formalization of knowledge and the
individually for each system. A system-wide health transfer into the knowledge base of an expert system is
assessment is done by an aircraft diagnostic agent. That exhaustive. It is called the knowledge acquisition bottle-
agent takes into account functional inter-dependencies neck in literature [19]. To overcome this drawback, a
between systems and failure propagation over system systematic design and test procedure supported by a model-
interfaces. The technology used is again a resolution based tool chain is introduced in the following. Diagnosis
strategy as in the case of the fusion agent. The left branch rules are thereby deduced from models and required
of the diagnosis engine provides a list of suspects, which symptoms, indicators and features are identified.
are equally possible sources of the detected abnormal
system behavior. This result is gained in a transparent and
documented way which will be shown later in more detail. 5 Embedded development process for diagnosis
To have a further possibility to pinpoint the exact failure functions
and making an estimate of the most likely suspect, cer-
tainty factors are calculated. This is done by means of the The development of diagnosis functions can be standard-
right branch of the diagnosis engine and fuzzy logic and ized by an embedded model-based system engineering
fuzzy inference techniques. A shape agent is awakened (MBSE) approach. This follows the common V-model [20]
when symptoms are detected. It provides characteristics of as shown in Fig. 3.
each feature. This is defined as the actual difference The general system design process is divided into two
between feature and threshold as shown in Fig. 1. The main phases. These are the definition phase on the left
characteristics are processed by a certainty agent which is branch and the integration phase on the right branch. In the
in charge of calculating a certainty factor for each definition phase, an architecture of the physical system is

123
SPYDER: a software package 319

1. Analysis and definition of diagnosis 7. Virtual sets is performed and a Pareto optimal solution is identi-
requirements integration test fied. The maximal sensor-feature architecture is reduced to
2. Design of diagnosis the most valuable pairs therewith. A sensor recommenda-
6. Model-based test
concepts of all diagnosis tion is given as a result.
3. Detailing of diagnosis elements The chosen solution is enhanced in the fourth step.
concepts Characteristics of features are taken into account, which
4. Elaboration of final enables the assignment of certainty factors to failures and
diagnosis concept the assessment of a health status for system and compo-
Require- A/C
Level
nents. Fuzzy diagnosis rules are trained to perform fuzzy
ments 5. Coding inference for both the tasks. Failure indicator matrices are
System System transferred into exact diagnosis rules. Both types of rules
Architecture test are saved in a xml data format and stored in a database.
Component Component Coding is performed in the fifth step and executable soft-
design test ware code is gained. A model-based test is carried out in
the sixth step. This is performed separately for each ele-
Hardware realization ment and level of the diagnosis engine. That means that
System development each agent is tested separately. The final verification is
done in the seventh step by means of the interaction of the
Embedded development of diagnosis functions complete diagnosis engine and a system simulation
extended by noise and disturbances. Therewith, faults in
Fig. 3 Framework of an embedded development process for diag-
nosis functions the design phase can be identified that become only visible
by means of the complex interaction.
Although cost and effort has to be spend on developing
developed on basis of requirements for system operation. models, it is assumed that this is compensated by an
In following steps, the system functions to be performed increase in diagnostic efficiency and a drastic reduction in
are divided into sub-functions and respective suitable so- life cycle cost of the system by utilizing the proposed
lution approaches are identified. These solutions are approach. Key issues like completeness with respect to
designed in detail and realized by appropriate components. failure modes, divergence of indicators, and unambigu-
In the integration phase, a test of components is initially ousness in the isolation of failures can be handled and
pursued. This is followed by system integration and system documented systematically.
test and final verification. This classical V-model is
enhanced by a model-based approach for design and test of
diagnosis functions. A double V-model results in the con- 6 Software package for system diagnosis
sequence with prior virtual tests before actual hardware engineering
realization. In the first step of the model-based design of
diagnosis functions, all requirements affecting the diag- The model-based tool chain SPYDER supports the devel-
nosis functions are gathered. This concerns the opment of diagnosis functions. SPYDER consists of four
detectability of failures, the level of detail for the isolation modules as depicted in Fig. 4. An overview is given in the
of failures and temporal aspects of failure detection. A following. A detailed description follows in Sect. 7 by
maximal sensor-feature architecture is defined by experi- means of a case study.
ence in the second step. This provides feature candidates
that are analyzed in later steps to identify an optimal sen-
sor-feature subset. A quasi static model propagates failure
behavior and identifies relations between failure and fea-
tures. The latter are evaluated to gain indicators. The
results are summarized in failure indicator matrices.
A detailing takes place in the third step. A dynamic
model allows deeper failure analysis by taking into account
temporal properties of failure propagation. Complex indi-
cators are gained from the temporal appearance of indi-
cators. Minimal sets of indicators are then identified that
enable the detection and isolation of failures according to
the required level of detail. An assessment of the indicator Fig. 4 Module concept of SPYDER

123
320 C. Modest and F. Thielecke

The failureeffect modeling module is about the mod- agent, certainty agent and aircraft diagnostic agent. The
eling and simulation of failures on the component level as diagnosis modules are directly readable by the cores of
well as the derivation of indicators. In the first step, failure each generic diagnosis agent. C-code is generated for
models of all components are developed. This is done by monitoring agents and the shape agent. Executable diag-
means of an extension of the basic nominal behavior with a nosis functions are gained in the end. Therewith, this
phenomenological failure description. The failure models module supports the steps 5, 6 and 7 of the development
are developed according to a SPYDER grammar. This process according to Fig. 3.
means that each model comprises a mask where a failure
mode variable fm, a failure mode description fm_str as
well as the time of failure occurrence fm_time are defined. 7 Case study
A deep model analysis is performed in the next step. This
means that all implemented failures are identified and a Current research deals with the integration of fuel cells
respective name and failure model path are stored in an (FC) on board of future aircraft [23]. FC enable the gen-
array. Afterwards, the array is used to subsequently simu- eration of electrical power without the emission of green-
late all failures and save failure effects in terms of features. house gases and noise. A concept for the utilization of
The user has to define at which features to look at. All the these benefits consists of the replacement of the auxiliary
features are then assessed automatically by means of power unit (APU). The APU is a combustion engine that is
threshold checking. It is taken into account either user mainly used to deliver electrical power during ground
defined thresholds or nominal behavior as a reference. phase. However, the provision of the same amount of
Indicators are gained by that. The results in terms of failure power using FC results in an increased system weight.
indicator relations are stored as failure indicator tables for Hence, to make sure, that the use of FC is not only eco-
documentation purposes. This module supports the steps 2, logically beneficial, but also economically feasible, the
3 and 4 of the development process according to Fig. 3. integration has to be done in a multifunctional approach.
Failure indicator tables are transferred into failure indicator This means that besides the electrical power all other
matrices in the indicator and sensor selection module. The products of the FC have to be used and further systems be
matrices are evaluated stepwise with respect to diagnosis replaced to overcome the weight penalty. Figure 5 illus-
requirements and optimization criteria. The latter concern trates the architecture of an exemplary multifunctional fuel
unambiguity, effort and cost, amongst others. Valid solu- cell system.
tions are highlighted by means of a radial visualization Main elements are two fuel cell systems that each
method according to [21]. The method is used to display all comprise two fuel cell stacks, an air supply with com-
optimal solutions in a circle with n axes where n equals the pressor, a hydrogen recirculation and a cooling circle. The
number of criteria. Each solution is normalized and the supply with reactants takes place with pure hydrogen and
influence of each criteria is illustrated by means of a spring air from the aircraft cabin. As a product of the electro-
model. The most optimal solution would thus be in the chemical processes exhaust gas in form of oxygen depleted
middle of the circle where each criteria would have the
most optimal value. This visualization method supports the Avionics Control + Failure Diagnosis
diagnosis designer in the identification of the final solution. Interfaces
This consists of an optimal set of indicators and sensors.
This module supports the steps 3 and 4 of the development Fuel cell system 1 Kerosine tank 1
process according to Fig. 3. Cargo bay 1
The transformation of failure indicator matrices into Air
exact diagnosis rules takes place in the rule generation Air
module. For the purpose of deeper failure analysis and the Cabin H2 dryer
Exhaust air

assignment of certainty factors to suspects, fuzzy diagnosis


rules are deduced from failure characteristics and an
inference training procedure according to [22]. Both types H2 tank Cooling Kerosine tank 2
of rules are saved in xml data files. Therewith, the rules are
human readable and transparent. This module supports the
steps 4 and 5 of the development process according to Cargo bay 2
Fig. 3. The management of exact and fuzzy diagnosis rules Fuel cell system 2 Kerosine tank 3
is done in the configuration of diagnosis engine module. Environment
The xml data files are transferred into diagnosis modules
that define the specific behavior of detection agent, fusion Fig. 5 Illustrative architecture of a multifunctional fuel cell system

123
SPYDER: a software package 321

Exhaust Air approach is thus promising. It is demonstrated in the fol-


Check valve lowing by means of the SPYDER tool.

Cooling 7.1 Failureeffect modeling


fluid
To cooling From cooling The Failureeffect modeling module deals with all aspects
-+ -+
of modeling, simulating and assessing faulty system
= + = Fuel Cell
DC-DC Stack behavior. A model is used to comprise:
Converter
= - = Environ. Knowledge about functionality,
H2 Knowledge about failures,
Recirculation
Sensor Knowledge about topology,
Knowledge about interfaces and sensors.
Purge
Modul Nominal system and component behavior, functions to be
Valve performed and operating conditions to be considered are
H2-Pump
based on knowledge about functionality. This basis is
extended with failures on the component level. Electrical
loads and physical quantities are shared with external
Compr. systems and the environment bidirectionally via interfaces.
This includes failure behavior that is originating from
outside the multifunctional fuel cell system (MFFCS), as
Pipe
H2 well as failure behavior which is originating from the
MFFCS. This behavior is propagated by means of the
Air From tank topology and can be observed through sensors. In total, the
From cabin model comprises knowledge from different domains which
allows the deep analysis of failures and their effects. The
Fig. 6 Excerpt of fuel cell system 1 comprising components from
Matlab toolbox Simscape has been used to derive a model
multiple physical domains
of the exemplary MFFCS [24]. This toolbox allows an
a-causal and component based modeling of physical
air is gained. This is used for kerosine tank inerting and behavior by means of equations. It starts with modeling of
cargo bay fire suppression. Water as product of the air quasi-static behavior and continuous with dynamic prop-
drying process is fed to the on-board water system. A more erties if sufficient information are available from system
detailed look into one of the redundant fuel cell systems is development. It is therewith suitable for the application of
depicted in Fig. 6. The system comprises two fuel cell the steps 2, 3 and 4 of the development process according
stacks that are supplied with pressurized air by a com- to Fig. 3. The model validation is an important aspect to
pressor. The latter takes the air from the cabin. Pressurized assure the significance of the gained results. However, the
hydrogen is taken directly from the H2 tank. Several pipes multifunctional fuel cell system is a project of ongoing
and valves are used for transportation and control of the research. Real test-rig data is not fully available at the
fluids. Via interfaces and DC-DC converters, electrical current point of time. The data that was available has been
loads are applied to the fuel cell stacks. Cooling is per- used to validate the model to some extent. For other aspects
formed in a series connection. Sensors exist to a certain assumptions have been made. It is important to note that
extent to control the system. this specific case study has not the aim to make statements
In total consequence, a highly complex system results that directly lead to the purchase of sensors and other
that poses high demands on failure diagnosis. Without avionic hardware. The method is the focus of this paper. If
proving that failures can be detected, isolated and identified changes occur during the system development or current
efficiently there will be no chance to bring such a system assumptions prove to be wrong, the development steps for
on board of future aircraft. Challenges that arise in this the failure diagnosis functions can iteratively and easily be
context are the handling of system complexity, the run through further times. Due to its conception the SPY-
derivation of diagnostic knowledge, the placement of DER approach is very flexible. Hence, the aim is to provide
sensors, and the integration of all diagnosis functions into a method that is ready and powerful, when it comes to the
the avionic environment. Dealing with these issues in a real integration of a MFFCS on board of future aircraft.
manual way is laborious, cost intensive and prone to human Failures of the multifunctional fuel cell system are modeled
errors. The application of the model-based SPYDER phenomenologically on the component level. Figure 7

123
322 C. Modest and F. Thielecke

Capacity
Pipe failure mode port
physical El. Motor
port
Env. Mech.
Leakage Shaft
kv
failure mode
port
Compr.
failure signal

Fig. 7 Failure model of an air pipe


Compressor
Map
shows a an illustrative example of a failure model of a pipe
of the air supply.
The model comprises a block representing the pipes Fig. 8 Failure model of an air compressor
capacity and a valve representing a controllable leakage.
The integration into the overall model is done via three
ports. Two of them are physical conserving and bidirec-
tional. The failure mode port is unidirectional. By means of Jam
a failure signal, the valve can be opened and a leakage be Mech. A B
simulated. This is achieved by an adaption of the specific Shaft Ground
flow coefficient kv , which influences the mass flow m_ Air
Rupture Inertia
through the valve. In detail, m_ Air is a function of flow
d
coefficient kv , density q, temperature T, and pressure p
J
[25]:
r
qair;in  pair;out c
m_ Air kv   pair;in  pair;out : 1 (c,d)=f(FM)
Tair;in
A failure signal activates the failure mode FM in the model Fig. 9 Failure model of a mechanical shaft
by means of an ifelse clause. The kv factor is changed
thereby from zero to a specific kv;leak: value:
 The Jam block is linked to two physical ports. At port B
kv;leak:; if FM leakage failure;
kv 2 there is a solid ground attached where the rotational
0; otherwise: velocity x is set to zero and the torque t is undefined. The
The current focus of the SPYDER approach is on failures. Jam block itself comprises two physical equations. The first
Therefore, the kv;leak: factor has to be set to a value that equation defines the difference in rotational velocity:
represents a failure of the pipe and not a fault. Hence, the Dx Ax  Bx : 3
factor has been set to value where a direct effect on the
system operation is achieved. This will be shown in detail The second equation defines the torque to be equal at both
in the following. Thereby, the detection of small leakages the ports:
is not an aim of the current approach. A failure model of an t tA tB : 4
air compressor is depicted in Fig. 8.
It comprises an electrical motor, a mechanical shaft, the Both the equations are influenced by the failure of a jam. In
compressor itself as well as a compressor map. For details that case, Dx is set to zero and the torque t is set to be
about modeling of the nominal behavior please see [26] undefined. In case of the nominal behavior, the torque is set
and [27]. The electrical motor, the mechanical shaft as well to zero and Dx is undefined:
as the compressor are assumed to be influenced by failures. if FM == Jam Dx 0 else t 0: 5
Relevant failures have been chosen based on [28]. An
example of a failure model of the mechanical shaft is According to the phenomenological approach several fail-
shown in Fig. 9. It includes a mechanical jam and a rupture. ures have been modeled. This covers high leakages of pipes
The first one is modeled as a simplified clutch whereas the and valves, jamming of valves, mechanical failures of the
last one is represented by adapting damping factor d and compressor, as well as increased activation losses and
spring constant c. reduced efficiency of the fuel cells, amongst others. A

123
SPYDER: a software package 323

reuse of the failure models is achieved by a failure model voltage U [v] mass flow m [kg/s]
library and the object oriented modeling approach. This
Lower 0.05
eases iterative development loops, design changes and 180
further applications. The failureeffect modeling module threshold
identifies all failure modes FM that are currently imple-
mented in the components of the MFFCS. All FM are then 120
simulated consecutively for different operating conditions. 0.01
In the case study two operating conditions are considered. tF tF
t t
These are depicted in Fig. 10 by means of the electrical

indicator U*

indicator m*
load that has to be provided by all the fuel cell stacks. In
operating condition one there is no load acting on the 0 0
system whereas in the second operating condition a load of
30 kW has been applied. A drop in electrical voltage U can
be observed as an effect. An increase in current I happens -1 -1
likewise and a new operating point on the fuel cells U-I
curve is reached. tD,1 t tD,2 t
All effects of failures are observed by means of a
Fig. 11 Effects of a leakage of an air pipe
maximal sensor-feature architecture. This has been imple-
mented in the model using engineering judgment. Sensor
types and positions have been chosen that can provide y seconds for x cycles. Values for y and x are chosen by
valuable information for failure diagnosis. The analysis in engineering judgment. As a result of the threshold check-
SubSect. 7.2 will show which sensors, features and indi- ing, indicators with values in the range f1; 0; 1g are
cators are actually needed in an optimal case. It will give gained. These discrete values are then transferred into more
sensor recommendations. Figure 11 depicts exemplary descriptive values of the range fLow, Nom, Highg. Hence,
effects of the failure of a high leakage of the air pipe. The the indicators of the previous example are assigned the
factor kv;leak: from Eq. 2 has been assigned a value in a value Low at times td;1 and td;2 respectively. Therewith, the
magnitude such that a persistent deviation in voltage can be general procedure of assigning values to indicators looks
observed. At time tF the failure has been activated in the like follows:
8
model. Two features are shown, which are mass flow of air < Low;
> if f \ threshlow & t [ tp ;
at the inlet of fuel cell stack A, and the voltage at the Indicator X High; if f [ threshhigh & t [ tp ; 6
electrical interface to the DCDC converter. For the eval- >
:
Nom; otherwise:
uation of the features, threshold checking has been chosen
as a simple and robust technique [5]. The failureeffect modeling module allows an automatic
The threshold checking is realized with state charts. evaluation of features and determination of indicators. This
These comprise an initial state, a counter state and a failure is based on a function library, where state charts are
state. The features fi are checked for exceeding or falling deposited. The designer of the diagnosis functions has to
below an upper or lower threshold thresh for a persistence choose the features of interest. State charts are then loaded
time tp . The counter state is reached from the initial state, if and configured automatically. The relation between failures
a deviation between fi and thresh occurs. A transition to the and indicators is summarized in failure indicator tables.
failure state is triggered after the deviation persisted for Different classes of indicators are considered thereby and
time tp . This time includes a check of the deviation every each class defines its own table. The classes are related to
the system function to be performed, the detection of
potentially latent failures, sensor failures, and further
electrical load P [kW] voltage U [v] information needed only for failure isolation. Sub-sets of
30
the maximal sensor-feature architecture are allocated to
180 each class of indicators. A persistent deviation between
Operating
condition 1 expected and observed voltage output occurred in the
Operating previous example. Voltage is directly linked to the system
15 condition 2
120 function of providing electrical power. Hence, it has been
chosen as one of the features for the first class of indicators.
tP tP Further features are measurements of current at both the
t t
fuel cell stacks, mass flow of oxygen depleted air and mass
Fig. 10 Operating conditions of the illustrative example. flow of water at the outlet of the MFFCS. The relation

123
324 C. Modest and F. Thielecke

Table 1 Effects of failures with relevance to functions to be fulfilled Table 2 Effects of failures that can support failure isolation
Component Failure mode Effect-func. Det. Component Failure mode Effect-maint. Det.

Compressor Jam Ind. U  = Low 8 Compressor ... ... ...


... ... ... ... ... ...
Air pipe ... ... ... Air pipe ... ... ...
 
Highly increas. leakage Ind. U = Low 8 Highly increas. leakage Ind. m_ = Low 8
... ... ... ...
FC stack A ... ... ... FC stack A ... ... ...
Mass transp. Ind. U  = Low 8 Mass transp. losses Ind. TH2 = Low 8
losses ... ... ... ...

between failure and indicator is shown in Table 1 by means


Table 3 Effects of failures that can help in detecting latent failures.
of three examples.
The failure indicator table has four columns which Component Failure mode Effect-early Det.
represent a component, a failure mode, effects and the
Compressor Increased friction Ind. PC = High 1
operational interval of detecting the indicators. This inter-
... 1
val is related to operating conditions and control states.
Pipe ... ... ...
Using indicators from this table, failures can be detected 
Highly increas. leakage Ind. I H2 ;valve = 8
during operation of the system. The isolation of failures
can be started in the next step. However, as there are High
generally more failures that lead to the same effect, in the Ind. p = Low 7
current case a decreased voltage, assigning a specific fail- ... ...
ure might not always be possible. Leakage of the air pipe FC stack A ... ... ...

and mass transportation losses of fuel cell stack A are Mass transp. losses Ind. I H2 ;valve = 8
illustrative examples. To be able to localize the failure, High
further indicators are taken into account. These are related ... ...
only to the failure isolation. Table 2 shows an exemplary Purge module Breakdown Ind. m_ H2 = Low 1
summary. Chosen features are measurements of mass flow ... ... 1
and temperature amongst others.
It has been shown, that a high leakage of the air pipe make these specific failures detectable, further indicators
does not only cause a drop in voltage but also a decrease in are taken into account. In this case study, these indicators
air mass flow m_ provided to the fuel cell stacks. This are based on measurements of pressure and valve control
indicator is not needed to detect the system function rele- current amongst others. The relation between failures and
vant failure, but can help in the isolation of the origin of the indicators is summarized in Table 3
decreased voltage. The same applies for the indicator of a Increased friction in the compressor has no direct effect
low temperature T of hydrogen H2 at the outlet of fuel cell on any of the system functions. Electrical power can be
stack A. By means of these indicators, the two failures of delivered at the same quality as well as exhaust gas and
the example could be isolated explicitly. That is the reason water. However, a direct effect can result if the failure
why these indicators are declared as having a maintenance progresses further or the system reaches a certain opera-
effect. Not all failures have a direct effect on any of the tional state. That is a reason why the failure should be
system functions. This is due to redundancy and time made detectable. This can be done by means of the indi-
dependent propagation of failure effects. By that, these cator PC = High, which represents higher power con-
failures potentially remain hidden in the system. An sumption in the compressor compared to the nominal state.
example of the case study is a breakdown of the purge In general, indicators of the class of potentially latent
module from Fig. 6. In the specific case, the fuel cell stacks failures may also relate to failures that have an actual effect
are still operational for a period of time and no effect on on the system functions. The high leakage of the air pipe
system function is observed. The same applies for an has an effect on system pressure and on the valve control
increased friction of the compressor. However, reaching a current of the hydrogen supply which is part of a control
certain operational state, a loss of system function can loop. Therewith, these indicators can provide further
occur. An example would be a hydrogen clogging in the information for failure isolation. If they also enable the
fuel cells due to a breakdown of the purge module. To detection of the potentially latent failures, they may be

123
SPYDER: a software package 325

optimal choices as the synergies are high. An answer on the separated into sub-sets of failures, which have an effect on
selection of optimal indicators will be given in Sub- the system functions to be performed, which have no direct
sect. 7.2. All indicators of the three classes are related to effect on system functions, and those failures related to
features, which are based on measurements from sensors. sensors and interfaces. According to the failure indicator
Sensors are prone to failures as well. To offer specific tables and the previous analysis, the indicators are sepa-
means to detect such failures and isolate them to be root rated into sub-sets of indicators, which are related to the
cause of the effects introduced previously, a fourth class of system function, to latent failures, to failure localization,
indicators with respective table is taken into account. The sensor failure and the temporal occurrence. The leakage of
structure of the table is similar to the previous ones. For an air pipe highlights the link between failure and indica-
further information please refer to [29]. All tables are tors in Fig. 12.
stored as Excel data sheets, which are input to the indicator The relations between failures and indicators are trans-
and sensor selection module. ferred into indicator sets. These are specific patterns, which
are f2; 3g, f5; 6g, f7g for the example of the high leakage
7.2 Indicator and sensor selection of the air pipe. The relation between indicator and sensor is
stored in a directed graph as shown in Fig. 13. Furthermore,
A maximal sensor-feature architecture has been defined by the graph comprises the link between simple and complex
engineering judgment. This leads to multiple indicators indicators by means of the logical and. The sets and the
where each failure that has been simulated is linked to at graph are evaluated stepwise to identify an optimal com-
least one indicator. The indicator and sensor selection bination of indicators and sensors which enable the
module deals with the identification of an optimal minimal detection of all relevant failures and the localization
set of all indicators and their related sensors. This is based according to a required level of detail.
on requirements that determine the detectability of relevant The basic approach for evaluation is presented in [30]. It
failures and the isolation of root causes to a specific level of is based on the theory of minimal hitting sets 31]. The
detail. The Data from the first SPYDER module is con- focus is on failures and indicators with respect to the sys-
tained in Excel data sheets, which are now analyzed in tem functions. Further indicators, which are needed for a
detail. The last column of the data sheets provides infor- required level of failure isolation are identified. Optimality
mation about the interval and specific points of time, where is defined in terms of maximal divergence of indicators and
indicators are detected. This information is used to analyze the amount of sensors. A sensor recommendation for
specific traces of failures by taking into account the tem- failure diagnosis is given. An extension of this approach
poral occurrence of the related indicators. This can provide considering failures with no direct effect on system func-
further means for pinpointing sources of failures. It defines tions, complex indicators and multiple criteria of optimal-
the concept of complex indicators. An example is given by ity is introduced in [32]. In relation to the example this
means of Eq. 7: means, if the indicators f5g and f6g which are Ind. IH2 ;valve
followedby = High, and p = Low, are part of an optimal minimal set for
High leakage of air pipe : p Low ! the detection of all relevant failures, the complex indicator
7
IH 2 ;valve high
declares
! Compl. Ind.16. f16g would be activated by means of the directed graph for
failure localization. It thus comes for free without raising
It has been shown, that a high leakage from the air pipe the effort. Apart from hard facts, like amount of sensors
leads to a decreased mass flow of air at the inlet of fuel and indicators, as well as weight of wiring for sensors,
stack A. A drop in pressure follows likewise. Analyzing the diagnostic performance is taken into account in determin-
temporal occurrence of all respective indicators, it can be ing optimality. This concerns ambiguity groups of failures
shown, that for this particular failure the drop in pressure is that all point to the same indicators. Nevertheless, the basis
always followed by an increase of valve control current of diagnostic performance is mainly influenced by the
influencing the mass flow of hydrogen provided to the fuel requirements. There, it is explicitly defined, which level of
cell stack. In the example, a trace of two indicators was failure isolation should be achieved during operation.
taken into account. However, the indicator and sensor Sensors are prone to failures as well. This has to be con-
selection module provides means to the user to set the sidered during the design of diagnosis functions. Sensor
maximal length of existing traces to be considered. The failures can lead to false alarms, NFF or latent failures of
relation between failures and simple as well as complex other system components. An approach for handling of
indicators is transferred into failure indicator matrices. An sensor failures is introduced in [29]. Based on the directed
illustrative example is depicted in Fig. 12. There are 20 graph and a specific set of indicators, dedicated sensor
matrices, which are related to four classes of failures and failures of the respective matrix are activated and consid-
five classes of indicators. The total amount of failures is ered during the evaluation of all the matrices. In case of the

123
326 C. Modest and F. Thielecke

Ind. U* = Low Ind. p* = Low Ind. m* = Low Ind. U*M.Sens. = Low complex Indicator

Ind.10

Ind.12
Ind.13

Ind.14
Ind.15
Ind.16
Ind.11
Ind.1
Ind.2
Ind.3

Ind.4
Ind.5
Ind.6

Ind.7
Ind.8
Ind.9
{
FM 1
: : 1.Failures that effect
Highly increased FM D system functions
leakage of air pipe FM F

FM G

Increased friction
of compressor
:
FM I
:
{ 2.Failures without direct effect
on system functions

{
FM J
: : 3.Sensor failures
Loss of mass flow FM R
sensor lane

{
Interface failure FM S
ATA24 : : 4.Interface failures
FM Z
{
{
{
{
{
1.Indicators related 3.Indicators related 5.Complex indicators
to system functions to failure localization
2.Indicators related 4.Indicators related
to latent failures to sensor failures

Fig. 12 Failure indicator matrices showing the relation between failures and indicators.

sensor 2 7.3 Rule generation


sensor 3 voltmeter
sensor 1
The rule generation module deals with the transformation
of failure indicator matrices and complex indicators into a
feature set of exact diagnosis rules. For deeper analysis of failure
indicator
characteristics fuzzy diagnosis rules are trained in the end.
& An optimal set of indicators has been identified using the
previous module. Therewith, the failure indicator matrices
complex indicator
can be reduced to the valid columns. These columns are
Fig. 13 Directed graph that contains the relation between sensors, now combined and transferred into four sets of exact
indicators and complex indicators. diagnosis rules. These are deduce rules, detect rules, sus-
pect rules and clear rules. All the rules consist of a premise
and a conclusion. The activation of the premise will lead to
example, specific failures of the voltmeter would be taken
a firing of the rule and new facts are gained that are based
into account amongst others. Interface failures are listed as
on the rules conclusion. The detection agent utilizes
a fourth group, but do not need to be dealt with by an
deduce rules for the deduction of complex indicators from
extended analysis. They are important when it comes to the
the temporal occurrence of simple indicators:
configuration phase of diagnosis functions. Summarizing
the result of the indicator and sensor selection module, an if p Low followed by IH 2 ;valve High
optimal set of indicators and sensors, as well as failure 8
then deduce complex indicator 16 = true:
indicator matrices are gained. For the case study, 12 indi-
cators are required for failure detection, two indicators are Different indicators are combined by the detection agent to
required to assure the root cause isolation under all cir- reveal symptoms. This is done by means of detect rules.
cumstances, and 20 complex indicators are accompanying Four cases are distinguished. The first case is illustrated in
all relevant simple indicators. Eq. 9. It deals with symptoms related to the system

123
SPYDER: a software package 327

functions. Indicators of class one according to Fig. 12 are element of the list can fully explain the detected primary
combined with the operational condition Ops to detect symptom. However, the list of suspects can be long so that
primary symptoms: secondary symptoms are taken into account to test the
necessary condition for the particular hypothesis. This is
if U  Low and I  High and ... and Ops Load
done by means of clear rules:
then detect primary Symptom 1:
9 if secondary Symptom 1 = true then clear
14
FM 1, Mass transp. Losses of FC Stack A:
Equation 10 depicts the second case. It is about symptoms
without direct relation to any of the system functions. Failures that cannot explain the secondary symptoms are
Indicators of the classes one and two are combined and cleared from the list of suspects and tested to be failure
indicators of class one possess nominal values: free. The list of suspects is reduced therewith. Hence, the
if U  Nom and I  Nom and ... and p Low final diagnosis is inferred by means of several clear rules. A
list of potential sources of failure is gained in the end which
and Ops Load
can explain all observed symptoms. All elements of this list
then detect primary Symptom 2: are hypotheses that could equally have caused the abnor-
10 mal behavior. In a continuation of the previous example,
the high leakage of the air pipe can be localized explicitly.
Sensor failures can lead to the detection of primary symp- This is done by one suspect rule and one clear rule.
toms of the previous two cases. If there is no link, indicators Another example is given in Fig. 14. There, a failure
of class four are used for the detection of symptoms, so that occurred in the system and the respective effects can be
these sensor failures do not remain hidden in the system. detected by means of two primary indicators. The primary
Indicators of the classes one and four are combined and symptom four is assigned and a list of suspects is gained.
indicators of class one possess nominal values: This list is already a small part of the overall system that
if U  Nom and I  Nom and ... and could have caused the symptom. By means of one sec-

UM:Sens Low and Ops Load 11 ondary indicator, the secondary symptom 23 is detected. A
clear rule leads to the final diagnosis of three suspects of
then detect primary Symptom 3:
the hydrogen supply. The way this result is gained is
All previous indicators are used to detect symptoms of transparent and well documented which marks a major
abnormal behavior and trigger the failure localization in the aspect of the SPYDER approach. The diagnostic result is
fusion agent. Hence, they are called primary indicators. based on a chosen requirement for the design of the diag-
Extensions of the specific patterns in the rules premises are nosis functions. This requirement said, that air supply,
done by means of secondary indicators. These belong to the hydrogen supply and fuel cell stacks should always be fully
classes two, three, four and five and are used for the separable. This is the case for the current example. A finer
detection of secondary symptoms. These are symptoms, granularity is not possible and could only be achieved
which are accompanying primary symptoms and help when relying on exact diagnosis rules by further sensors
failure localization: and indicators. However, the characteristics of the failure
have not been taken into account yet. This offers the pos-
if primary Symptom 1 true and m
_ Low sibility for a deeper failure analysis. The characteristics of
12
then detect secondary Symptom 1: all final suspects of the previous example are depicted in
Fig. 15. It shows the deviation between the observed fea-
The fusion agent combines all symptoms to generate and
ture IH2 ;valve and the threshold, related to the threshold.
test hypotheses about sources of failures. These tasks are
It is obvious that the failure mode three of the hydrogen
performed by means of two rules that are gained from the
valve has a much higher effect on the observed deviation
columns of the failure indicator matrices. Suspect rules
than the failure modes four and five of the hydrogen pump.
mark the starting point for the reasoning procedure about
Hence, this specific feature offers means for a detailed root
failures and symptoms:
cause identification. This is carried out with fuzzy logic
if primary Symptom 1 = true then suspect and fuzzy inference as is indicated in the right part of
FM 1; . . .; Leakage of Air pipe, Mass transp. 13 Fig. 15. There, the range of the deviations is divided into
Losses of FC Stack A: three parts, which are low, medium and high deviation.
These parts are each characterized by fuzzy membership
The conclusion of a suspect rule constitutes a list of functions which allow the determination of a matching
hypotheses, which are potential sources of failures. Each degree l which lies within the continuous range [0, 1]. The

123
328 C. Modest and F. Thielecke

Failure Ops if IH2 ;valve has characteristic high


Effects Prim.Symptom 4 Suspect 15
Rule then assign H2 Valve - FM 3:

Suspected Candidates The specific fuzzy diagnosis rule says that in the case that
Prim.Indicators
Air Valve B - FM 2 the failure characteristic is high the failure mode three of
I_fc1_nom
Air Valve B - FM 3 the H2 valve is assigned. The significance of this rule is
I_fc2_low
FC Stack B - FM 4 transformed to a certainty factor for the failure mode. This
FC Stack B - FM 5
Sec.Indicator
H2 Pump B - FM 4 is done by means of the ratio of the matching degree ln ci
IH2,valve = High of the specific rule n with conclusion FMn and character-
H2 Pump B - FM 5
Effects

H2 Valve B - FM 3 istics c related to the matching degrees of all other fuzzy


diagnosis rules. The generalized scheme is shown in
Eq. 16.
Sec.Symptom 23 P
Ops

c;FMFMn ln c
Clear Rule FM P ; ln c [ 0: 16
c ln c
Clear Candidates Resolution
Air Valve B - FM 2 By applying Eq. 16 a certainty factor H2ValveFM3 of 90%
Air Valve B - FM 3 - can be determined in the current example. To always come
FC Stack B - FM 4 to a correct certainty degree by means of the fuzzy infer-
FC Stack B - FM 5 ence, some challenges arise. On the one hand, the width of
the membership functions has to be determined. On the
MFFCS with Final Diagnosis other hand, the amount of functions has to be defined,
Failure H2 Pump B - FM 4 either low, medium, high like in the example, or very low,
H2 Pump B - FM 5
H2 Valve B - FM 3 low,...,high, very high, or further increments. Finally, it has
to be evaluated which indicator characteristics have to be
Air Valve B - FM 2 : half opened FC Stack B - FM 5 : cell failures
Air Valve B - FM 3 : stuck closed H2 Pump B - FM 4 : blockage combined using the fuzzy inference. An approach to cope
FC Stack B - FM 4 : reduced efficiency H2 Pump B - FM 5 : high leakage
H2 Valve B - FM 3 : stuck closed
with all the challenges is presented in [22]. There, a genetic
optimization procedure is used to derive the optimal shape
Fig. 14 Utilizing suspect and clear rules to infer root causes of a of membership functions, the required amount, as well as
detected failure. the required patterns in the specific rules premise. Hence,
finally a diagnostic result is gained, that consists of a list of
rated suspects. It is achieved in a documented way and
characteristic IH2,valve [-]

characteristic IH2,valve [-]

H2 Valve B - enables the planning of maintenance actions.


FM 3 high
Fuzzy
membership 7.4 Configuration of diagnosis engine
function med.
The configuration of the diagnosis engine deals with the
H2 PUMP B -
FM 4 / FM 5 utilization of diagnosis rules. Executable diagnosis func-
low tions are gained. In the consequence the step 5 of the
proposed development approach according to Fig. 3 is
0 0 supported. This enables the steps 6 and 7 which covers the
t t
integration phase. However, that is not in the focus of this
Fig. 15 Taking into account the failure characteristics for root cause paper. At this point several exact and Fuzzy diagnosis rules
localization. exist. The configuration of diagnosis engine module deals
with the management of these rules and the configuration
of the diagnosis engine. This is depicted in Fig. 16.
combination of matching degrees for several indicator All diagnosis rules are saved in a xml data format and
characteristics enables the assignment of a certainty degree stored in a xml database. Python scripts, templates to be
to each suspect of the final diagnosis. This task is per- filled and xslt techniques are used to automatically inter-
formed by means of fuzzy diagnosis rules and fuzzy rogate the database and transfer required data into different
inference. An example of a fuzzy diagnosis rule is illus- diagnosis modules. The latter adapt the core of all diag-
trated in Eq. 15. nosis agents to the specific target system. This means that

123
SPYDER: a software package 329

exact diagnosis rules 8 Conclusion

Current statistics indicate that there are deficits in the


.xml
implementation and development of diagnosis functions
Fuzzy diagnosis rules for aircraft systems. High rates of NFF and long times of
Database AOG demonstrate ongoing weaknesses. In the consequence
and with respect to ambitious goals for the future of
.xml
European air traffic, more powerful diagnosis functions are
required. This is addressed in the paper at hand by means
of the SPYDER concept. The latter is a systematic
Configuration scripts & templates
approach for the design, test and implementation of diag-
nosis functions for aircraft systems supported by a model-
based tool chain Three key questions concerning the
Diagnosis modules development of diagnosis functions have been formulated
in Sect. 3. These are repeated in the following and
exact Fuzzy
answered according to the content of the paper.
1. How can the design and test of diagnosis functions be
standardized?
behavior

behavior

Diagnosis engine The design and test of diagnosis functions is standardized


Fix core Fix core
according to systems engineering principles. Integrated
into the common V-model, seven steps are run through.
Exact part Fuzzy part This starts with the definition of requirements, proceeds
Fig. 16 Overview of the configuration of diagnosis engine module.
further to coding and ends with a virtual integration test.
Main issues like completeness with respect to failure
modes, diverge of indicators, and groups of unambiguous
the diagnosis modules are related to the detection of failures are handled and documented systematically.
symptoms, the execution of logical resolution and fuzzy
inference as well as the provisioning of outputs to the user. 2. How can knowledge of failures be encoded for the
An example of a part of one of the modules of the detection specific target system?
agent looks like follows: The knowledge of failures and effects is encoded system-
atically in failure-indicator matrices. These are gained from
simulation studies performed on basis of physical models.
The matrices are transformed into diagnosis rules. The
latter are used to configure a diagnosis engine. Hence, in
form of diagnosis rules, a human readable and transparent
format has been chosen that enables a good traceability and
documentation.
3. What will efficient diagnosis functions look like which
The code highlights one detect rule. The primary symptom can support a variety of aircraft systems?
4 is detected if the premise is fulfilled. This is the case if A multi-agent concept in terms of a diagnosis engine has
the operational condition equals Load and the indicators been introduced. This consists of several generic comput-
possess values of Nom and Low. All diagnosis modules are ing instances with clear functions and interfaces. An
loaded by the diagnosis engine. The latter consists of example is the detection agent, which performs a detection
several diagnosis agents. These agents are assigned to an of symptoms by means of indicator patterns. All the agents
exact and a fuzzy part of the engine. Both parts are are based on a rule-based expert-system. The latter com-
implemented by adapting the rule-based expert system prises a generic core that is adapted to the specific function
CLIPS [19]. By that, executable diagnosis functions are and aircraft system by means of the diagnosis rules. A
gained in the end. The gap between defining diagnosis flexible support of a variety of aircraft systems is achieved
requirements and implementing and executing diagnosis thereby. The configuration of each agent is performed
functions is finally closed. efficiently by means of standardized xml techniques and

123
330 C. Modest and F. Thielecke

templates In a case study, the SPYDER concept has been managementperspectives of an emerging field, pp 4154. SAE
applied to a multifunctional fuel cell system. Valuable International, Warrendale (2011)
11. Scandura, P.A: Integrated vehicle health management as a system
results were gained which demonstrate that a good benefit engineering discipline. The 24th digital avionics systems con-
in the support of the development and implementation of ference (DASC) (2005)
diagnosis functions for complex aircraft systems is 12. Kurtoglu, T., Stephen, B. J., Barszcz E., Johnson, R. J., Robinson,
achieved. The focus of this paper was on a method for the P. I.: Integrating system health management into the early design
of aerospace systems using functional fault analysis. IEEE
development of diagnosis functions for failure detection, international conference on prognostics and health management
isolation and identification. A point of current research is (2008) (ISBN 9778-1-4244-1936-4)
the extension of the method to also deal with faults. This 13. Kacprzynski, G.J., Roemer, M.J., Hess, A.J., Bladen, K.R.:
can be achieved in two ways. The first one consists of an Extending FMECA-health management design optimization for
aerospace applications. IEEE aerospace conference 2001, 6,
extension of the class of failures that do not have any direct 31053112 (2001)
effect on the system functions. This class can also hold 14. Niculita, O., Jennions, I.K.:Use of COTS functional analysis
faults which by definition have no direct effect on system software as an IVHM design tool for detection and isolation of
functions. However, it has to be analyzed if discrete indi- UAV fuel system faults. In: Roychoudhury, I., Celaya, J.R.,
Saxena, A., (eds) Proceedings of the annual conference of the
cators are appropriate also for fault diagnosis. Therefore, prognostics and health management society 2012, PHM society,
the second way consists of an extension of the right branch 2845. (2012) (ISBN 978-1-936263-05-9)
of the diagnosis engine. The fuzzy part is extended so that 15. Bunus, P., Isaksson, O., Frey, B., Munker, B.: Model-based
not only certainties for failures are provided but at specific diagnostics techniques for avionics applications with Rodon. In:
von Estorff, O., Thielecke, F. (eds) Proceedings of the 2nd
operational states the system behavior is evaluated to infer international workshop on aircraft system technologies. Shaker
faults. This has the advantage that feature values are ana- (2009) (ISBN 978-3-8322-8071-0)
lyzed quantitatively rather than condensed to discrete 16. Hess, A., Fila, L.: The joint strike fighter (JSF) PHM concept:
indicators. A better analysis of the actual system behavior potential impact on aging aircraft problems. IEEE aerospace
conference proceedings, 6, 30213026 (2002)
seems achievable by that. Apart from faults, interface 17. Felke, T., Hadden, G.D., Miller, D., Mylaraswamy, D.:Archi-
failures have to be considered in more detail. A new class tectures for integrated vehicle health management. AIAA pro-
of diagnosis rules is under development for that. ceedings, 2010. AIAA infotech aerospace conference (2010)
18. Keller, K., Wiegand, D., Swearingen, K., Reisig, C., Black, S.,
Gillis, A., Vandernoot, M.: An architecture to implement inte-
grated vehicle health management systems. AUTOTESTCON
proceedings, 2001. IEEE systems readiness technology confer-
References ence, pp. 215 (2001)
19. Giarratano, Joseph C.: Expert systems: principles and program-
1. European Commission: Flightpath 2050 - Europes vision for ming. The PWS series in computer science. PWS Publ. Co.,
aviation. Report of the high level group on aviation research (2011) Boston (1994). (ISBN 0-534-93744-6)
2. European Organisation for the Safety of Air Navigation: Perfor- 20. Haskins, C. (ed): Systems engineering handbooka guide for
mance review report: an assessment of air traffic management in system life cycle processes and activities. INCOSEinterna-
Europe during the calendar year 2012. Eurocontrol-Performance tional council on systems enginnering, 3rd ed (2006)
Review Commission, Brussels (2013) 21. Raksch, C.: Eine Methode zur optimalen Redundanzallokation im
3. European Organisation for the Safety of Air Navigation: Coda Vorentwurf fehlertoleranter Flugzeugsysteme. Ph.D. Hamburg
digestdelays to air transport in Europeannual 2012. Euro- University of Technology (2013)
control-Central Office for Delay Analysis, Brussels (2013) 22. Modest, C., Thielecke, F.: Derivation of fuzzy diagnosis rules for
4. Pecht, M., Dube M., Natishand M., Williams R., Banner J.: multifunctional fuel cell systems. In: Bregon, A., Daigle, M.J.
Evaluation of built-in test. IEEE Trans. Aerosp. Electron. Syst. (eds.) Proceedings of the European conference of the prognostics
37, 266271 and health management society 2014, PHM society, pp 643653.
5. Isermann, R.: Fault-diagnosis systems: an introduction from fault (2014) (ISBN 978-1-936263-16-5)
detection to fault tolerance. Springer, Berlin (2006) (ISBN 23. Law, B.: Airbus multifunctional fuel cell integration. Deutscher
9783540303688) Luft- und Raumfahrtkongress (DLRK) 2012, Berlin. (2012)
6. Blanke, M., Schroder, J.: Diagnosis and fault-tolerant control, 24. Grymlas, J., Thielecke, F.:Modellbasierter Entwurfsprozess fnr
2nd edn. Springer, Berlin (2006) (ISBN 9783540356530) Brennstoffzellensysteme unter Verwendung eines mehrstufigen
7. Ding, S.:Model-based fault diagnosis techniques: design Bibliothekskonzepts. Deutscher Luft- und Raumfahrtkongress
schemes, algorithms, and tools. Adv Ind Control. Springer, (DLRK) 2012, Berlin, Deutsche Gesellschaft fur Luft- und
London (2013) (ISBN 9781447147992) Raumfahrt (2013)
8. Vachtsevanos, G.:Intelligent fault diagnosis and prognosis for 25. Herwig, H.:Stromungsmechanik: Eine Einfuhrung in die Physik
engineering systems. Wiley, Hoboken (2006) (ISBN und die mathematische Modellierung von Stromungen. Springer,
9780471729990) Berlin (2006) (ISBN 3540324410)
9. International Organization for Standardization (ISO):Condition 26. Pukrushpan, J.T.: Modeling and control of fuel cell systems and
monitoring and diagnostics of machinesdata processing, com- fuel processors. Dissertation, The University of Michigan (2003)
munication and presentationpart 1: general guidelines (2003) 27. Neumann, U.:Methoden zur signal- und modellbasierten Last-
10. Wilmering, T.J., Davies, P.: Health management systems engi- begrenzung in verzweigten mechanischen Landeklappen-An-
neering. In: Jennions, I.K. (ed.) Integrated vehicle health triebssystemen von Transportflugzeugen, volumeBd. 2009, 2 of

123
SPYDER: a software package 331

Schriftenreihe Flugzeug-Systemtechnik. Shaker, Aachen (2009) annual conference of the prognostics and health management
(ISBN 978-3-8322-8314-8) society 2012, PHM Society, pp 233248. (2012) (ISBN 978-1-
28. (U.S.), Reliability Analysis Center: Failure mode/mechanism 936263-05-9)
distributions, Reliability Analysis Center (1997) 31. Reiter, R.: A theory of diagnosis from first principles. In: Elsevier
29. Modest, C., Thielecke, F.: Methodik zum integrierten Entwurf (ed.) Artificial intelligence, 32, 5795. Elsevier, Essex (1987)
optimierter Diagnosefunktionen fur Hochauftriebssysteme. 32. Modest, C., Thielecke, F.: Multi-objective design of optimized
Deutscher Luft- und Raumfahrtkongress (DLRK) 2013, Stuttgart. diagnosis functions for high lift actuation systems. SAE aerotech
Deutsche Gesellschaft fur Luft- und Raumfahrt (2013) congress and exhibition 2013, Montreal. SAE international
30. Modest, C., Thielecke, F.:A design methodology of optimized (2013)
diagnosis functions for high lift actuation systems. In: Roy-
choudhury, I., Celaya, J.R., Saxena, A. (eds.) Proceedings of the

123

You might also like