• Aucun résultat trouvé

Dynamic Bayesian Networks model to estimate process availability

N/A
N/A
Protected

Academic year: 2021

Partager "Dynamic Bayesian Networks model to estimate process availability"

Copied!
7
0
0

Texte intégral

(1)

HAL Id: hal-00128463

https://hal.archives-ouvertes.fr/hal-00128463

Submitted on 1 Feb 2007

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Dynamic Bayesian Networks model to estimate process availability

Philippe Weber

To cite this version:

Philippe Weber. Dynamic Bayesian Networks model to estimate process availability. Sep 2002, pp.184- 189. �hal-00128463�

(2)

Dynamic Bayesian Networks model to estimate process availability.

Weber P.

Centre de Recherche en Automatique de Nancy (CRAN), CNRS UMR 7039 Université Henri Poincaré, Nancy 1

2, rue Jean Lamour

F-54519 VANDOEUVRE-LES-NANCY Cedex – FRANCE Email: [philippe.weber@esstin.uhp-nancy.fr]

Abstract

The prospective work reported here explores a new methodology to develop Dynamic Bayesian Network-based Availability and prognosis for manufacturing processes. This work is justified with the complex systems by the need of controlling and maintaining in dynamical way the global system performances in order to optimise the maintenance strategies. The added value of our methodology is to formalise the dynamic models by means of Dynamic Bayesian Networks (DBNs). The feasibility of this methodology is tested in a simple case of the system availability estimation comparing DBN model with the classical Markov chain model.

Keywords: Dynamic Bayesian Network, Markovian process, Markov chain, Availability.

1. INTRODUCTION

One of the main challenges of the Extended Enterprise is to maintain and optimise, in dynamics, the quality of the services delivered by industrial objects all along their life cycle. In that way, to control the direct and indirect costs of the system compared with the necessary availability, is a first challenge raised. The objective is thus to have maintenance processes mainly in terms of decision-making aids in order to guarantee maximum components availability keeping the system in operation.

Nowadays, most of current automated systems do not provide the means for intelligent interpretation of information copying with large process disturbances and for predicting the consequences of a future action.

However tools issued from Artificial Intelligence are used now to bring a first decision-making aid for manufacturing systems. Recent works on system safety and Bayesian Networks (BNs) are developed [6]. Moreover, Bouissou propose [2], within the SERENE project, a hierarchical decomposition of the decision-making model for system safety analysis. As for them, Bobbio [1] explain how the Fault Tree can be achieved using BNs. Using the Object Oriented

Bayesian Networks (OOBNs) concept defined by Koller [8] the authors Weber et al. propose a model based decision. The model allows the fault diagnosis or availability estimation to compare several maintenance strategy ([12] and [13]). The solution proposed in these last papers are based on a static modelling of the system.

In order to add the dynamic dimension of this model we propose to introduce Dynamic Bayesian Networks as an equivalent model to the Markov chain [4] [11]. Thus, this paper is dedicated to the comparison between Markov chain and the Dynamic Bayesian Network. The proposed methodology has originality on formalising, by means of DBNs (section 2), a model of component availability (section 3). To show the feasibility of this prospective methodology an simulation of a classical serial system is developed (section 4) to estimate the availability of the system. Section 5 presents the conclusions and prospects.

2. BAYESIAN NETWORK THEORY

The Bayesian Networks (BNs) are probabilistic networks based on graphs theory. Nodes represent the various variable of the system and the edges which

(3)

connect them indicate the dependency between variables. Variables are defined over several states.

The dynamic bayesian networks allow to take time into account defining different nodes to model the variable states in regards to different time slices.

2.1. The Bayesian Network notations

The BNs are Directed Acyclic Graph (DAG), they are used to represent uncertain knowledge in Artificial Intelligence [5]. A BN is defined as a pair: G=((N, E),P), where (N,E) represents the DAG; “N” is a set of nodes; “E” is a set of directed edges EN×N, describing the dependencies between nodes. P represents the set of Conditional Probability Tables (CPT) which quantify the dependency between variables. In this work, the BN represent discrete random variables, and each nodes are defined over different states.

A discrete random variable X is represented by a node nN with a finite number of mutually exclusive states. The states are defined in a state space

{

n nK

}

n k

n: s1,...s ,...s

S . The vector D(n) denotes a

probability distribution over these states:

[

p pk pK

]

n) ... ...

( = 1

D

≥0

pk and 1

1

∑ =

= K

k pk (1)

Where pk is the probability of n being in state skn defined in the following as:

) ( nk

k n s

p =P = (2)

The nodes ni and nj are linked by a directed edge, if the pair

(

ni,nj

)

E and

(

nj,ni

)

E. ni is then considered as the parent of nj. The set of parents of a node n is defined as π

( )

n . If π

( )

n =φ, then n is

a root node (π

( )

ni =φ, and π

( )

nj =ni).

ni nj

Fig. 1. A basic BN.

In pair G, each node of N is associated to a Conditional Probability Table (CPT) of the set P. The CPT quantify the dependencies between random variables as conditional probabilities.

The nodes ni and nj (Fig. 1.) are defined over the states i

{

i i

}

nK n : s1n ,...s

S and j

{

j j

}

n L n n : s1 ,...s

S . The a

priori probability P

(

ni =skni

)

allows to define the CPT of the node ni because ni is a root node:

ni

s1 P(ni=s1ni)

… …

ni

sk P(ni=skni)

… …

ni ni

sK P(ni=snKi) Tab. 1

This conditional probability table is written as a vector:

( )

T

n K i

n i i

i i

s n

s n n





=

=

=

) (

...

)

( 1

P P

P (3)

Where T denote the transposition operator.

The CPT of nj is defined by the conditional probabilities P

( )

njni over each nj state knowing the state of ni (Table 2).

nj s1nj slnj snLj

ni

s1 P

(

nj =s1nj n1=s1ni

) (

j i ni

)

n L

j s n s

n = = 1

P

i

n

ni

sK

(

j i nKi

)

n

j s n s

n = 1 =

P

(

j i nKi

)

n L

j s n s

n = =

P Tab. 2 CPT of the node nj

(4)

The CPT of nj is defined by the conditional probabilities P

( )

njni over each nj state knowing the state of ni (Table 2).

Knowing its parents π

( )

nj , the CPT of nj is defined as a matrix P(njπ(nj)):

( )

( ) ( )

( ) ( )





=

=

=

=

=

=

=

=

= π

j i j i

j i j i

Kn i n L n j

K i n j

i n n L n j

i n j

j j

s n s n s

n s n

s n s n s

n s n

n n

P P

P P

L

M M

L

1

1 1

1

) ( P

(4)

In a BN, a probability is allowed to each state of the nodes. These probabilities are defined, a priori, for root nodes and computed by inference for the others.

The computation is based on the probabilities of the parents states and the CPT.

The probabilities P(nj=s1nj) is computed as follows:

( )

( ) ( )

(

j i

) (

i

)

i j i

j

n K i n K i n j

i n i n

n j n j

s n s n s n

s n s n s n s n

=

=

= +

+

=

=

=

=

=

P P

P P

P

1

1 1

1 1

... (5)

Then for each nj states the equation (5) leads to the following matrix relation:

( )

nj =D

( )

niP

(

nj π(nj)

)

D (6)

And a generalisation of (6) is:

( )

nj =D

(

π(ni)

)

P

(

nj π(nj)

)

D (7)

where D

(

π(nj)

)

represents the vector of the probability distribution over all combination of the states of each nj parent’s nodes.

Moreover, the most important use of BN is in revising probabilities according to the actual observations of events. In this way, inference computes the probabilities allowed to a node state, knowing the state of one or several variables. If the knowledge about events is unavailable then the computation is based on a priori probabilities.

However if the knowledge is increasing, the computation takes it into account and the results are adapted to the process state. It is then possible to estimate the impacts of a random variable on the other variable of the process modelled as a BN.

Knowledge is formalised as evidence, (hard) evidence (instantiation) of the random variable X in a

BN is evidence that the state of the node nN is one of the states

{

n nK

}

n k

n: s1,...s ,...s

S . For instance X is in state s1n:

1 ) (n=s1n =

P and P(n=skn1)=0 (8) Nevertheless knowledge can be uncertain. Then, the notion of soft evidence is introduced. The soft evidence for a node n is any evidence that enables to update the prior probability values for the states of n. The soft evidence is an instantiation of the node representing the random variable using knowledge as a distribution over the set

{

n nK

}

n k

n: s1,...s ,...s

S . For

instance X is in state s1n and snK with the same probability and not in the other states:

5 . 0 ) (n=s1n =

P , P(n=snK)=0.5

and P(n=skn( )1,K )=0. (9)

2.2. Dynamic time-sliced Bayesian Network A Dynamic Bayesian Network (DBN) is a extended version of the Bayesian Network, including temporal information. DBN provides a representation of the different states of a process based on a set of time-indexed random variables. Then random variable Xi is represented at the time t by a node n(i,t)N with a finite number of states i

{

i ni Kni

}

k n : s1n,...s ,...s

S .

( )

ni,t

D denotes a probability distribution over these states at the time t. Several stages of the time are represented by several sets of nodes N

( )

t1 ,…N

( )

tτ .

( )

t1

N defined the random variables in a time slice t1. Directed arcs between time slices represent the temporal dependence between a variable and its states at different future time slices. Then DBN models random variables and their impacts over the future distribution of other variables.

Defining these impacts as transition-probabilities between the states of the variable at (t) and at (t+1), these transition-probabilities lead to defined an inter- time slices conditional probability tables equivalent to the CPT defined in the previous section.

( )it

n ,

(i,t+1) n

)) ( (ni,t+1π ni,t+1 P

Fig. 2. A DBN for the random variable Xi with 2 time slices.

(5)

The P(ni,t+1π(ni,t+1)) respects the Markov properties means that the future is conditionally independent of the past given the present [7].

Moreover this CPT P(ni,t+1π(ni,t+1)) is equivalent to a markovian model of the variable Xi (Figure 2).

Starting from a observed situation at time t, the probability distribution D(ni,t+1) over ni states is computed by the inference of the DBN.

To compute the probability distribution D(ni,t+T), several solutions are proposed in the literature. One of them consist in developing T time slices [7], another solution is based on iterative inferences which is the solution developed in this paper.

The inference is key point in the DBN because it allows to introduce the notion of time. It is so possible to calculate the behaviour of the distribution of Xi over its states at the time (t+dt) knowing the states distribution at time (t). The states distribution at (t+2dt)… are computed using successive inferences.

To perform the successive inferences, input nodes and output nodes are defined. The input nodes are nodes allowing to describe the observation in the time slice (t). The output nodes represent the result on the variables after inference in the time slice (t+dt). To initialise the iterative inference process, the output node results are considered as the new observations.

Then soft evidence are used to initialise n(i,t) through a time feedback.

( )it n ,

(i,t+1) n time feedback

inference

)) ( (ni,t+1π ni,t+1 P

Fig. 3. A DBN for the random variable Xi with 2 time slices.

3. DYNAMIC BAYESIAN NETWORK TO REPRESENT A COMPONENT AVAILABILITY

3.1. Classical Markov Chain model

To model the component availability, the classical method used is based on Markov Chain theory. This method leads to a graph (Fig. 4), considering the component as a random discrete variable Xi with two states Sn:

{ }

s1n,s2n . The state s1n represent that the

component Xi is available, and the state s2n represent that the component is unavailable.

The matrix Q represents the transition probability between the different states s1n and s2n.



 

µ

− µ

λ λ

= −

Q (10)

As it is presented in figure 4, different nodes are defined to model the random variable at several times.

It is on the Dynamic Bayesian Networks principle that the Markov model of the component Xi availability and unavailability is translated to a Bayesian Network model.

µ λ

s1n s2n

Fig. 4. A Markov Process for the random variable Xi.

3.2. Dynamic Bayesian Network model

To represent the Dynamic Bayesian Network equivalent of the Markov process, two nodes are defined:

- the node n(i,t) represents the component at time slice t,

- the node n(i,t+dt) represents the component at time slice (t+dt).

A directed edge links the node n(i,t) to n(i,t+dt). This edge represents the dependency of the component states at the time slice (t+dt) to the states of the component at the time slice (t).

Conditional probability tables are associated to each nodes. They are used to compute the probability distribution over the variable states at each inference.

For instance, between two variable with two states, it will be necessary to use a table of 4 values. Assuming that dt =1, a discrete representation of the Markov chain model make it possible to define an equivalent DBN. The CPT of n(i,t+1) performing a Dynamic Bayesian Network equivalent to the Markov model is defined as:

Q I

P(ni,t+1π(ni,t+1))= − (11) The equation (11) defines the CPT linking the two time slices. Thus these parameters represent the transition rate between the states of the variable Xi.

(6)

Then the parameters are those defined to build the Markov model of the component availability.

Then Markov model and Dynamic Bayesian Network model are equivalent.

To calculate P(n=s1n,t+1) the probability that the variable Xi is in the state s1n at (t+1), the following equation is used:

)) , ( ), , ( ( ) 1 ,

(n=s1n t+ = f Pn=s1n t Pn=s2n t

P (12)

This probability depends on the state of Xi at the time t. The result is based on the equation (5) :

( )

( ) ( )

(

n s t n s t

) (

n s t

)

t s n t s n t s n t s n

n n

n

n n

n n

, ,

1 ,

, ,

1 , 1 ,

2 2

1

1 1

1 1

=

= +

= +

=

= +

=

= +

=

P P

P P

P

(13)

Leading to:

( )

(

n s t

) (

n s t

)

t s n

n n

n

, ,

) 1 ,

2 1

1

=

⋅ µ +

=

⋅ λ

= +

=

P P

- (1

P (14)

The equation (14) corresponds to the classical formula of the discrete model of the Markov chain given in figure 4.

4. APPLICATION :

The Figure 5 depicts graphically the Markov chain model of a system composed by two components A and B in series. As it is shown by the figure, to model this system, for which two components can not fall out of order at the same time, different states s1n, sn2 and

s3n are used:

• The state s1n represents that the system is available this state corresponds to the case that the component A and the component B are both available.

• The state s2n represents that the system is unavailable due to the failure of the component A (A is unavailable and B is available).

• The state s3n represents that the system is unavailable due to the failure of the component B (A is available and B is unavailable).

The transition matrix Q defined the probability related to the different states s1n, sn2 and s3n.





µ

− µ

µ

− µ

λ λ λ + λ

=

2 2

1 1

2 1 2 1

0 0 )

(

Q (15)

µ1

λ1

s1n

s2n

µ2

λ2 s3n

Fig. 5. Markov chain modelling a serial system.

An equivalent model of this Markov chain realised by means of a Dynamic Bayesian Network is presented figure 6. The node AB1 represents the system at the time t and regroups the states of variables A and B. This variable contains three different states which correspond in three possible configurations which are: system is available (s1n), system is unavailable due to A (s2n), and system is unavailable due to B (s3n). System can then evolve according to the probability of every state which correspond to the values of the failure rates and repair rate of the two components. The result of this degradation is modelled by the variable AB2

representing the state of the system at the time t+1.

The probability of the states of the system ‘sys’ and the components A2 and B2 can be extracted without any difficulty by a simple shaping of values. These variable have two states (available or unavailable).

Bayesian Network Structure

AB1

AB2

sys A2 B2

A(t+1) Available Unavailable

System States time t

System States time t+1

B(t+1) Available Unavailable System (t+1)

Available Unavailable

Fig. 6. Equivalent Bayesian network to the Markov chain of the serial system.

AB2

AB1 System

Available A

Unavailable B

Unavailable System

Available 1-(λ12) λ1 λ2 A

Unavailable µ1 1-µ1 0

B

Unavailable µ2 0 1−µ2

Tab. 3 CPT of AB2

(7)

The CPT used to estimate the dynamic behaviour of the system availability is defined in Table 3 (from eq. (11) and (15)). This table corresponds to the CPT of the node AB2. The Figure 7 and 8 represents a system, where components A and B are identical. The parameters used are : λ12=0.01 and µ12=0.03.

Results obtained by means of DBN are identical to those obtained with the Markov Chain model.

The inferences are realised by means of program using an iterative procedure. The Matlab Bayes Net Toolbox (BNT) [10] developed by Murphy [9] is used to compute the inferences of the DBN in order to simulate the availability behaviour of the component.

The software Supercab+ [3] is used to simulate the Markov Chain model. The system availability is estimated and the asymptotic availability is equal to 0.6 after 200 inferences. For the components the asymptotic availability is equal to 0,8.

0 20 40 60 80 100 120 140 160 180 200

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

System Availability

inferences

Available Unavailable

Fig. 7. DBN estimation of the system availability.

0 20 40 60 80 100 120 140 160 180 200

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Availability of A or B

inferences

Available Unavailable

Fig. 8. DBN estimation of the Components A and B availability.

5. CONCLUSION AND FURTHER WORK

The proposed method is based on the Dynamic Bayesian Networks theory and carried out that it is possible to build easily the structure of a DBN model representing the availability of a system. We showed the correspondence that it is possible to establish among Markov chain and DBN.

Our working perspectives are now to solve problem of complex systems with many components.

In this case the Markov Chain are constituted by an important set of nodes and the transition matrix has a great dimension. Our objective is to decompose the model in independent sub-systems, so that the problem is more simple.

BNs constitute a powerful tool for decision- making aid in maintenance. The taking into account of the economic aspect is also possible in the BN formalism while adding to the network, nodes of costs (e.g. costs related to the failure) and nodes of decision (e.g. strategy of maintenance).

REFERENCES

[1] Bobbio, A., L. Portinale, M. Minichino and E. Ciancamerla:

“Improving the analysis of dependable systems by mapping fault trees into Bayesian networks”, Reliability Engineering and System Safety, vol. 71, pp. 249-260, (2001).

[2] Bouissou, M., F. Martin and A. Ourghanlian: “Assessment of a Safety-Critical System Including Software: A Bayesian Belief Network for Evidence Sources”, RAMS'99 Reliability and Maintainability Symposium. Washington, (1999).

[3] Cabarbaye A.: “Supercab+”, Internet:

//www.cabinnovation.fr, (2002).

[4] Hung K. B., S. Venkatesk, G. West: “Layered dynamic probabilistic networks for spatio-temporal modelling”, Intelligent Data Analysis, Vol. 3, pp. 339-361, (1999).

[5] Jensen, F.V.: “An Introduction to Bayesian Networks”, UCL Press. London, (1996).

[6] Kang, C.W. and M.W. Golay “A Bayesian belief network- based advisory system for operational availability focused diagnosis of complex nuclear power systems”, Expert Systems with Applications, vol. 17, pp. 21-32, (1999).

[7] Kjaerulff U.: “dHugin: a computational system for dynamic time-sliced Bayesian networks”, Internationnal journal of forecasting, Vol. 11, pp. 89-111, (1995).

[8] Koller D., Pfeffer A.: “Object-oriented Bayesian networks”, Thirteenth Annual Conference on Uncertainty in Artificial Intelligence, Brown University, Providence, Rhode Island, USA, 1-3 août (1997).

[9] Murphy K. and Saire Mian: “Modelling Gene Expression Data using Dynamic Bayesian Networks”, Technical report of CSD University of California, (1999).

[10] Murphy K.: Bayes Net Toolbox for Matlab. Internet:

//http.cs.berkley.edu/~murphyk/Bayes/bnt.html, (2002).

[11] Padhraic S.: “Belief networks, hidden Markov models, and Markov random fields : A unifying view”, Pattern Recognition Letters, vol. 18, pp. 1261-1268, (1997).

[12] Weber P., M.C. Suhner and B. Iung: “System approach-based Bayesian Network to aid maintenance of manufacturing process”, In 6th IFAC Symposium on Cost Oriented Automation, Low Cost Automation, Berlin, Germany, 8-9 octobre (2001).

[13] Weber P. and M.C. Suhner: “An application of Bayesian Networks to the Performance Analysis of a Process”, In λµ 13, ESREL02, Lyon, France, 19-21 mars (2002).

Références

Documents relatifs

The approach proposed in this paper relies on Bayesian Networks (BN) and has with advantage to represent human behaviour by probabilistic cause-effect relations

We have described a non-homogeneous DBN, which has various advantages over existing schemes: it does not require the data to be discretized (as opposed to [1]); it allows the

Commonly used temporal models for human motion, such as hidden Markov models, Kalman filters, or autoregressive filters, have been shown to belong to the same family of models

Table 1 shows the task structure, the user’s goal structure (AV pairs) and the knowledge structure which will be simply a set of counters associated to each goal AV pair

The proposed method, based on the Dynamic Bayesian Networks theory, easily allows constructing DBN structures for the modelling of the temporal evolution of

Besides, we can note that these tables can be used to compute plausibility and belief functions on each compo- nent or node of the network in order to give information on

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

The use of DBN modelling to analyse the deterioration system is more suitable to solve this problem, it permits to minimize considerably the number of parameters to stand for