Automatic Fault Tree Generation From SysML System Models
Automatic Fault Tree Generation From SysML System Models
net/publication/262198322
CITATIONS READS
65 3,648
3 authors:
Jean-Yves Choley
ISAE-Supméca - Institut supérieur de mécanique de Paris
184 PUBLICATIONS 1,182 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Faïda Mhenni on 02 October 2014.
Abstract— Safety critical systems must satisfy in- at providing estimations about probabilities, rates and
creasingly rigorous safety requirements with shor- severity of consequences. To perform safety analyses, the
tening time to market. In order to validate these two most traditionally used fault modeling techniques are
requirements, different safety analysis techniques can
be carried out. However, traditionally, these safety Failure Modes and Effects Analysis (FMEA)and Fault
analyses are performed manually with separate tools. Tree Analysis (FTA) [1], [2]. Other techniques such as
Consequently, they are time consuming and error FFA, HAZOP, etc. are also used [3].
prone and are not automatically updated when the The safety analyses mentioned above are usually per-
system models are. formed manually and separately with independent tools,
In this paper, a methodology is proposed to in-
tegrate safety analysis within a systems engineering based on informal design documents [4]. Consequently,
approach. This methodology is based on SysML mo- they occur late in the design process when the design
dels and aims at generating (semi-) automatically is already finalized and thus, miss the opportunity to
safety analysis artifacts, mainly FMEA and FTA, influence design choices and decisions. Furthermore, va-
from system models. Preliminary functional and com- rious safety studies are performed with different tools and
ponent FMEA are automatically generated from the
functional and structural models respectively, then at different stages of the design process and the consis-
completed by safety experts. By representing SysML tency between these studies is not ensured [3]. Safety
structural diagram as a directed multi-graph, through analysis results may also be inconsistent with the system
a graph traversal algorithm and some identified pat- models since there is usually a gap between the design
terns, generic fault trees are automatically generated process and safety analyses that are not automatically
with corresponding logic gates and events.
The proposed methodology provides the safety ex- updated according to design changes.
pert with assistance during safety analysis. It helps re- Model-Based Systems Engineering (MBSE) approach
ducing time and error proneness of the safety analysis is required to manage the complexity, enhance consis-
process. It also helps ensuring consistency since the tency and allow modeling and simulation of the whole
safety analysis artifacts are automatically generated system. In this approach, SysML [5], [6], an OMG stan-
from the latest system model version. The metho-
dology is applied to a real case study, the electro- dard is becoming more and more supported by industry
mechanical actuator EMA. because it provides a consistent, well-defined, and well-
understood language to communicate the requirements
I. INTRODUCTION and corresponding designs among engineers. That ’s why
Today’s technical systems are integrating more func- SysML is choosen as the support modeling language in
tionalities to offer more assistance and comfort to users. our work.
As a result, engineers are facing challenges to successfully Joining the safety analysis together with the design
design systems with high complexity while industrial process through SysML models will enhance consistency
competitiveness requires them to shorten time to market in the whole system, enable earlier error detection, avoid
and reduce costs. The increasing complexity of manu- expensive redesign and reduce time to market delays.
factured systems makes their development more difficult Some works about the integration of safety analysis in
since huge efforts are required to manage the complexity, the early design stage, based on the functional models
maintain consistency through the development, and deal have been carried out both in industrial and academic
with numerous requirements relevant to multiple do- domains [7], [8], [9], [10].
mains. The aim of this paper is to propose a new metho-
Technical systems may potentially be harmful to hu- dology that integrates systems engineering with safety
mans or facilities. Several safety analysis techniques have assessment. It allows the automatic generation of safety
been developed in order to assess the potential risks of analysis artifacts, namely FMEA and FTA. FMEAs are
industrial systems. These techniques can be split into generated firstly, in the functional then the structural
two categories : qualitative and quantitative approaches. design phases. Fault trees are generated next based on
Qualitative methods try to find the causal dependen- the structural model and the component FMEA results.
cies between a hazard on system level and failures of Block patterns and graph traversal algorithms are used
individual components, while quantitative methods aim to generate automatically fault trees, based on the to-
1 ISMEP, Saint-Ouen, France, [email protected], pology of the system. Then specific fault trees regarding
[email protected] to specific undesired top events are derived from auto-
2 EISTI, Cergy, France, [email protected] generated one.
This paper is organized as follows. In section II, a brief In [15], fault trees are constructed from MATLAB
overview of the related work is given. Then the integrated Simulink models. The nominal model is built in Simulink
methodology is presented in section III. A focus is given and then is manually extended with failure behavioral
in section III-B to the automatic fault tree generation information of the system. Based on this extended model
which is the main contribution of this paper. A case study and the classification of components, fault tree for a
is given in section IV. Finally, the paper is concluded in specific top event is automatically constructed.
section V. An automatic generation of fault trees from AADL
(Architecture Analysis and Design Language) models is
II. State of the Art
proposed in [4]. In this work, the system architectural
A. Integration of Safety Analysis and SysML model is built with the AADL language and then is
The integration of safety analysis and MBSE has been annotated with fault and failure information using the
carried out in different researches [9], [7], [11], [12]. Error Annex, a sub-language of AADL. Based on the
Dubois [9] proposed to directly include safety requi- annotated model, fault trees are automatically generated
rements in the design process with SysML. For this in a commercial tool : CAFTA. However, as far as we
purpose, a SysML profile respecting safety standards know, there is no related work concerning the fault tree
called RPM (Requirement Profile for MeMVaTEX) was generation from SysML models as in our study.
developed. The requirement stereotype of SysML is
III. Integrated SE/SA methodology
replaced by the MeMVaTEX requirement, by adding
various properties such as verifiable, verification type, The proposed methodology aims at integrating safety
derived from, satisfied by, refined by, traced to, etc. In analysis within the systems engineering approach. It
this work, only the integration of safety requirements is consists in performing the appropriate safety analysis at
considered and these requirements are traced to the other the appropriate design stage based on the available sys-
elements of the model but safety analyses techniques are tem models. It allows starting safety analysis very early
performed separately. in the design process, since only an abstract functional
P. David attempted to integrate reliability analysis in representation of the system is available. It is then kept
the design process based on an MBSE approach with updated as long as the design evolves. A safety profile
SysML [7], [13]. In this work, a preliminary FMEA with different safety stereotypes is associated to SysML
report is generated by extracting the needed information models in order to store these updates in the database.
on the dysfunctional behavior from functional SysML Consistency is maintained throughout the whole process.
models. Dysfunctional models are then constructed using Two well known safety techniques, FMEA and FTA,
the AltaRica language in order to compute reliability are used in this methodology. The FMEA generation
indicators. Then the final FMEA report is obtained with will be described in section III-A. Then the fault tree
help from experts in the safety domain. To facilitate generation is detailed in section III-B.
such a deductive and iterative method, a database of
A. Overview of the integrated methodology -FMEA gene-
dysfunctional behaviors is kept updated in order to
ration
rapidly identify failure modes in different analysis phases.
R. Guillerm in [11] and [14] proposes a method for In the scope of this paper, only the requirements defini-
safety management in complex systems engineering. The tion and analysis as well as architectural design processes
proposed method is based on the elicitation and declina- of the systems engineering approach are relevant to our
tion of safety requirements. It combines three of the well work. The requirement definition and analysis process
knows safety analysis techniques, FMECA, fault trees aims at providing a comprehensive and consistent set
and event trees to define all safety requirements at the of requirements that will be the basis for the following
system level and then, based on the system decomposi- design steps. In the second phase, system functions are
tion, declines these requirements at the component level. identified from functional requirements and one or more
The information model that supports this approach is functional architectures are defined and compared. In
built in SysML. SysML, functions are represented by activity elements.
Each activity can be detailed in an activity diagram to
B. Automatic Fault Tree Generation show how its input flows are transformed into output
Fault trees are widely used for safety assessment and flows through sub-functions. This results in a hierarchical
reliability of systems for over 40 years [15]. Manual breakdown of the system functions with different levels
construction of fault trees is time consuming and error of abstraction. At this level, safety analysis can already
prone, especially for complex systems. To cope with this start. A preliminary functional FMEA is automatically
complexity, automatic generation of fault tree has been generated from the SysML functional models and then
subject of many research works. The main difference completed by the safety expert. Derived safety requi-
concerns the type of the starting model based on which rements are integrated in the SysML model and, if
the generation is performed. In the following, a brief necessary, a new design iteration is performed in order to
overview of some recent works is given. take into account the resulting changes. For each design
iteration, the safety analysis is also updated according to port, or when the node has been already visited.
the updated system model. Then components are alloca- To facilitate the fault tree generation, we also use
ted to functions to define the physical structure of the the ”divide and conquer” principle by identifying some
system. In the same way, several physical structures are interesting patterns in an IBD. They are entry, exit and
considered and compared according to different criteria feedback patterns. Another kind of pattern, named re-
like performance, cost and safety among others. For each dundant pattern, related to safety design criteria where a
physical structure, two complementary safety analysis ar- part block can have input ports coming from components
tifacts (FMEA, FTA) are automatically generated from assuring redundancy for higher reliability is also studied.
SysML models. First a preliminary component FMEA Each pattern gives rise to a sub-fault tree and the whole
is automatically generated then completed by safety fault tree will be assembled automatically by using the
expert. To maintain consistency with the functional mentioned graph traversal algorithm.
FMEA, the component FMEA contains the functions The following subsections describe the recognized pat-
allocated to each component and their respective failure terns as well as their generated fault trees. In order to
modes. These are translated into the corresponding com- gain space, all the patterns are grouped in an illustrating
ponent failure modes by the safety expert. The derived IBD in Fig. 1 and the comments written in a note show
safety requirements from this step are also integrated us the corresponding pattern.
and accounted for in the system models. The design and
safety analysis are iterated as long as necessary. The
final step is the generation of the fault trees to assess
the fault propagation inside the system and check if
the system satisfies the safety requirements, notably the
failure rates.
A. Introduction
Fig. 4. Fault Tree for Feedback Pattern in Fig. 1 A preliminary FMEA is automatically generated from
the IBD in Fig. 6 containing the list of components. To
4) Redundant pattern: When a part in an IBD receives ensure the consistency of the component FMEA with
item flows coming from redundant blocks that carry respect to the functional FMEA, the functions allocated
out the same system function, we say that we have a to each component and their failure modes are also
redundant pattern (B2, B11 and B12 in Fig. 1). In this added in the preliminary component FMEA. The safety
case, an AND gate is used for different faults coming expert then associates the functional failure modes into
from different inputs to model the fact that if there is no the corresponding component failure to obtain the final
internal failure in the component B2, the component will FMEA. Table I shows an extract of the final component
not work only if all the redundant item flows fail. The FMEA for the EMA containing the failure modes leading
fault tree for our example of redundant pattern is given to the “Aileron locked” undesired event, which will be
in Fig. 5. used for the fault tree generation.
TABLE I
Extract of the component FMEA of the EMA
References
[1] C. A. Ericson, Hazard Analysis Techniques for System Safety.
John Wiley & sons, 2005.
[2] N. Xiao, H.-Z. Huang, Y. L. L. He, and T. Jin, “Multiple
failure modes analysis and weighted risk priority number
evaluation in FMEA,” Engineering Failure Analysis, vol. 18,
pp. 1162–1170, 2011.
[3] Y. Papadopoulos, J. A. McDermid, R. Sasse, and G. Heiner,
“Analysis and synthesis of the behaviour of complex program-
mable electronix systems in conditions of failure,” Reliability
Engineering & System Safety, vol. 71, pp. 229–247, 2001.
[4] A. Joshi, P. Binns, and S. Vestal, “Automatic generation
of static fault trees from AADL models,” in Proceedings
of the IEEE/IFIP Conference on Dependable Systems and
NetworksŠ Workshop on Dependable Systems, DSN07-WADS,
Edinburgh, Scotland-UK, June, 2007.
[5] (2013) www.omgsysml.org.
[6] OMG Systems Modeling Language (OMG SysML), OMG Std.,
June 2012.
[7] P. David, V. Idasiak, and F. Kratz, “Reliability study of com-
plex physical systems using SysML,” Reliability Engineering
and System Safety, vol. 95, no. 4, pp. 431 – 450, 2010.