Next Article in Journal
Multi-Stage Operation Optimization of PV-Rich Low-Voltage Distribution Networks
Previous Article in Journal
Commercially Biochar Applied for Tartrazine Removal from Aqueous Solutions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fault Diagnosis in Partially Observable Petri Nets with Quantum Bayesian Learning

College of Automation Engineering, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(1), 52; https://doi.org/10.3390/app14010052
Submission received: 13 July 2023 / Revised: 28 September 2023 / Accepted: 12 October 2023 / Published: 20 December 2023

Abstract

:
This paper investigates the quantum Bayesian probability estimation of fault diagnosis based on Partially Observable Petri Nets (POPN) for a liquid-propellant rocket engine system. To solve the problem of a poor environment, a complex structure, and limited observable information in the liquid-propellant rocket engine system, a method of fault diagnosis based on POPN and quantum Bayesian probability estimation is proposed. According to the operating state and key actions of the system model, the places and transitions are set, and the unobservable key actions will become unobservable transitions. Combined with the trigger relationship of the transitions, a POPN model is established. All path estimation system states that satisfy the observable transition sequence information are traversed. If the diagnosis result is a possible failure, we establish a quantum Bayesian Petri net model corresponding to the failure transition, manually adjust the quantum parameters to calculate the quantum probability of the failure transition, and determine the system failure state. Finally, the model of the start-up process of the engine system based on the POPN is built to verify the effectiveness of the algorithm with the data in the simulation experiment.

1. Introduction

Reliable health monitoring is crucial for the safe operation of a discrete event dynamic system (DEDS). Highly constrained systems require minimal sensing and computing capacity, thus the prediction and diagnosis of the undetectable part of the fault are inevitable when only a part of the valid information is observed. The system behavior will highly change or may fail with the occurrence of some faults [1,2].
Due to the limitation of the number of sensors, to overcome the problem of incomplete observation of the information and meet the real-time requirements, the diagnosis system generally adopts the diagnosis method based on the qualitative model [3]. Petri nets were first applied to fault identification and diagnosis, power systems [4], communication systems [5], etc. Dimitri [5] proposed using Markov stochastic dynamics with the measured events and labeled sensors to represent the fault process and construct partially observable stochastic Petri nets. The probabilities of time and non-time marked trajectories consistent with the given time series are calculated systematically, and the diagnosis is based on the probability of failure. The authors of [6] proposed constructing a basis reachability graph, calculating the vector and the basis marker, identifying the fault class alarm level by introducing two kinds of fuzzy operators, and using bidirectional reasoning strategies (i.e., forward reverse reasoning) to determine the factor value of the diagnosis results. The problem of fault prediction for stochastic discrete event systems was studied, and an incremental algorithm was proposed. From the set of current possible states and their probabilities, the probability of consistent trajectories was evaluated based on the measured data, and the state estimation was obtained as a result. The probability model proposed the use of a method for evaluating future fault probability [7]. Bayesian network machine learning methods are widely used in fault prediction and diagnosis. Guo et al. [8] used the Grover quantum search algorithm to quickly search for the transformer fault, symptom type, and other target data. AHP deleted indicators with little impact on fault diagnosis and analyzed and determined the error classification rate of the variable precision rough set to obtain the minimum fault decision table to construct the Bayesian network fault reasoning model. It completed the diagnosis of transformer faults.
The current research mainly regards traditional probability estimation plus Bayesian statistical methods, and the accuracy of probability estimation needs to be improved [9,10,11,12,13]. In this paper, we first propose a fault diagnosis method based on quantum Bayesian estimation for partially observable discrete event dynamic systems [14,15,16,17,18,19,20]. When the uncertainty level of the network is very high, the uncertain elements in the network cause uncertain paths. Quantum Bayesian inference is introduced, and then the interference term is added to the Bayesian formula via the quantum superposition principle, which brings the probability estimation closer to the real probability. Compared with traditional fault diagnosis methods, the quantum Bayesian estimation method can greatly improve the accuracy of fault diagnosis. The quantum parameters are manually selected to calculate the firing probability of fault transitions and judge the fault state of the system by establishing the quantum Bayesian network model of unobservable fault transition by using the firing relationship of observable transitions and the firing probability of unobservable transitions [21,22,23,24,25,26,27].
This paper is structured as follows: Section 2 presents a description of the quantum Bayesian fault diagnosis problem in partially observable Petri nets [28,29,30,31]. Section 3 proposes a quantum Bayesian fault diagnosis method for Partially Observable Petri Nets. Section 4 illustrates the method with a case study and compares the proposed algorithm with the previous algorithm. Finally, Section 5 draws conclusions and provides some perspectives for future studies.

2. The Problem of Quantum Bayesian Fault Diagnosis for Partially Observable Petri Nets

2.1. Partially Observable Petri Nets

Definition 1.
A Partially Observable Petri Net (POPN) is defined as a sextuple:  P O P N = ( P , T o , T u , P r e , P o s t , M 0 )  and  T = T o T u P  is a set of m places,  T  is a set of n transitions,  T o  is a set of observable transitions, and  T u  is a set of unobservable transitions.  Pre N m × n  and  Post N m × n  are the forward arc matrix and backward arc matrix of transition, respectively. The matrix  C = Post-Pre ,   C N m × n  is defined as the incidence matrix of the POPN, and  N  is a set of non-negative integers.  M 0  is the initial marking of the POPN.
Let the marking of the place p be  M ( p ) , then the necessary and sufficient condition of the logical enablement of transition  t i T  at marking  M  is:
For any  p t i M ( p ) Pr e ( p , t i ) t  is prepositive set of  t t = { p P : Pr e ( p , t ) > 0 } .
Transition  t i  fires at the marking  M , which is marked as  M [ t i . If  M = M + C ( , t i )  after  t i  was fired, it is abbreviated as  M [ t i M . It is called the equation of state of the POPN, and  C ( , t i )  is the incidence matrix of the transition  t i  that is fired.

2.2. The Observation Sequence

The transition probability sequence (TPS) with the length  h  is defined as:
σ = ( t 0 , P r 0 ) ( t 1 , P r 1 ) ( t h , P r h ) ( T × K ) *
The corresponding marking is  M 0 [ t 0 M 1 [ t 1   [ t h M h + 1  or  M 0 [ σ M h + 1 , and  t 0 < t 1 < < t h t h  is the transition fired last. Transition  t i T  corresponds to the transition firing probability  P r i K [ 0 , 1 ]  is a range of probability values. However, it is clear that when  K = 0 , the observable transition probability sequence TPS does not occur. We denote as  ( σ ) = t 0 t 1 t h  the logic sequence of transitions associated with  σ  neglecting the firing probability  P r  that they have been fired.
Definition 2.
The label POPN (LPOPN) is defined as  P O P N , L . The label function allocates a label  L  or an empty sequence label  ε  for transition  t i . The observable transition set  T o = { t T | L ( t ) = L }  and the unobservable transition set  T u = { t T o | L ( t ) = ε } .
For the label function, we extend the labeling function to define the  L : T * L *  recursively as follows:
  • If,  t i T o , then  L ( t i ) = γ , γ L .
  • If  t i T u , then  L ( t i ) = ε .
  • If  σ T * Λ t i T , then  L ( σ t i ) = L ( σ ) L ( t i ) .
  • Moreover,  L ( σ ) = ε  is an empty sequence.
  • When  σ = t 0 t 1 t 2 t h , the label function is extended to:
    L ( σ ) = L ( t 0 ) L ( t 1 ) L ( t 2 ) L ( t h )
Definition 3.
The observable label probability sequence (OLPS) is composed of the set of observable transition  t i T o  and its corresponding firing probability  P r i :
σ o = ( γ e 0 , P r e 0 ) ( γ e 1 , P r e 1 ) ( γ e 2 , P r e h ) ( L × K ) *
P r e h  is the probability corresponding to the transition fired at the end of sequence  σ o . At least one TPS corresponding to  σ o .

2.3. Problem of Fault Diagnosis

In this paper, the main function of the fault diagnosis algorithm based on quantum Bayes and Petri nets is to judge whether the transitions of the unobservable part of Petri nets produces faults. The conditions of the fault diagnosis algorithm present the following assumptions:
Assumption 1.
The network  P O P N     =     ( S , T o , T u , P r e , P o s t , M 0 )  and the identification of the initial marketing  M 0  create the system.
Assumption 2.
The labels associated with the transition  t i T o  are observable.
Assumption 3.
There is no cyclic firing on the unobservable part of POPN, and it is acyclic.
Assumptions 1 and 2 show the knowledge level of the system. Assumption 3 is the common assumption in the field of fault detection based on PN model: That forbid the unobservable cycle.
Definition 4.
In the POPN, given a transition  t i  and its corresponding probability  P r i  of firing conditions, the transition probability pair is  ( t i , P r i ) . Its corresponding quantum probability amplitude is determined by Equation (1):
P r i = | e j θ i φ i | 2 φ i = e j θ i P r i
The introduction of an interference term resulted in a probability estimation value greater than 1, so this value need to be standardized by adding a normalization factor. The quantum probability table of all transitions in the POPN is  ψ = { ( t i , φ i ) | t i T } .
Definition 5.
Given a OLPS  σ o ( L × K ) * , its corresponding probability transition sequence set is:
Q ( σ o ) = { σ ( T × K ) * | M 0 [ σ M , L ( σ ) = σ o , t T : M [ t , P r t ( M 0 , σ ) > 0 }
φ t ( M 0 , σ )  is the quantum firing probability of the probability transition sequence  σ  as the initial marking  M 0  at the point of unobservable transition  t . Marking  M  can make it enabled under the condition that the transition is observable and the firing probability is  P r e h .
Definition 6.
Given an OLPS  σ o ( L × K ) * , its corresponding marking set is
C ( σ o ) = { M N m | M 0 [ σ M , σ Q ( σ o ) }
Definition 7.
Given an OLPS  σ o ( L × K ) * , its corresponding state set is
S ( σ o ) = { M h + 1 , ϕ | M h + 1 C ( σ o ) }
In the formula,  ϕ = { 0 P r i 1 } : t i A ( M i ) .
Theorem 1.
Given a OLPS  σ o ( L × K ) * , probability tables  ϕ  of transitions, fault class and system fault threshold  ρ . A fault function is defined:   T f i = { t f 1 , t f 2 , , t f k }
W : L × K × { T f 1 , T f 2 , , T f i } { N , F }
T f i T u  is the fault class and belongs to the unobservable transition set. The fault classes may be actuator fault, improper system structure maintenance, environmental interference, etc.  t f k  corresponds to specific transitions caused by the fault.
  • When fault transition  t f k  does not exist in all TPS, the system state is faultless.
  • When the fault transition  t f k  may exist in TPS, the system is in uncertain diagnosis and the fault incidence needs to be further determined. The fault probability of the system is
    P r ( σ o , ψ , T f i ) = max i P r ( t f i | t 1 , t 2 , , t n )
    if  P r ( σ o , ψ , T f i ) > ρ  the system state is fault, else the system state is faultless.
  • When the fault transition  t f k  exists in all TPS, the system state is fault.
Proof of Theorem 1:
  • If  σ Q ( σ o ) t f i T f i  satisfying  t f i σ
So the fault  t f k  cannot be fired, and any TPS  σ  does not contain fault transitions.
P r ( σ o , ψ , T f i ) = 0 ,   W ( σ o , ϕ , T f i , ρ ) = N
2.
If  σ Q ( σ o ) t f i T f i  satisfying  t f i σ
So fault transitions  t f i  may or may not be fired, and there are TPS sequences  σ  that contain fault transitions and TPS sequence  σ  that do not contain fault transitions. The fault probability of the system is:
P r ( σ o , ψ , T f i ) = max i P r ( t f i | t 1 , t 2 , , t n )
3.
If  σ Q ( σ o ) t f i T f i  satisfying  t f i σ
So fault  t f i  is fired and any TPS sequence  σ  contains fault transitions.
P r ( σ o , ψ , T f i ) = 1 ,   W ( σ o , ϕ , T f i , ρ ) = F
The fault diagnosis for the unobservable part of the POPN model needs to design a state diagnostor, and establish quantum Bayesian Petri nets with possible fault transitions, then estimate the fault probability of the POPN system with transition sequence and quantum Bayesian probability. Finally, judge the system’s state. □

3. A Quantum Bayesian Fault Diagnosis Method for Partially Observable Petri Nets

3.1. Quantum Bayesian Probability Estimation

The Bayesian network  B ( G , P )  consists of a directed acyclic graph  G  of  n  nodes and the conditional probability table  P r t  of each node [7,8]. Domain  U = { x 1 , x 2 , , x n }  is the node variable of  G p ( x i | p a r e n t s ( x i ) )  denotes the conditional probability of the variable set in the node  x i  and the parent node  p a r e n t s ( x i ) . The joint probability distribution of all variables in the Bayesian network is as follows:
P r ( U ) = p ( x 1 , x 2 , , x n ) = i = 1 n P r ( x i | p a r e n t s ( x i ) )
In Bayesian networks, let e be the observable variable and Y be the unobservable variable. Then, for the variable  x i :
P r ( x i = x i j | e ) = α P r ( x i j , e ) = α [ y Y P r ( x i j , e , y ) ]
For the random variables  x i , the number of basic events  { x i 1 , x i 2 , , x i m }  is m, and normalization factor  α       =     1 x i j x i p ( x i   =   x i j , e ) .
In quantum Bayesian networks, quantum probability amplitude is used to replace the real probability quantity:
P r ( U ) = P r ( x 1 , x 2 , , x n ) = | i = 1 n φ ( x i | p a r e n t s ( x i ) ) | 2
Application of the Born rule to Equation (3):
P r ( x i   =   x i j | e ) = α | y i = 1 n φ ( x i j | p a r e n t s ( x i j ) , e , y ) | 2
By expanding Equation (5), we obtain the quantum interference formula:
P r ( x i   =   x i j | e )     =     α ( k = 1 | Y | | i = 1 | N | φ ( x i j     |     p a r e n t s ( x i j ) , e , y     =     k ) | 2 +   2     I n t e r f e r e n c e )
and where
I n t e r f e r e n c e = k = 1 | Y | 1 m = k + 1 | Y | | φ ( x i j | p a r e n t s ( x i j ) , e , y = k ) |
| φ ( x i j | p a r e n t s ( x i j ) ) , e , y = m | cos ( θ i θ j )
When  θ i θ j = π / 2  and  cos ( θ i θ j ) = 0 , the quantum Bayesian network is transformed into the classical Bayesian network.
Using the backward reasoning of Bayesian estimation, the posterior probabilities of  x i = x i j  can be calculated from the Equations (4) and (6):
P r ( x i = x i j | x 1 , x i 1 , x i + 1 , x n ) = P r ( x i = x i j ) | a i n φ ( x a | p a r e n t s ( x a ) ) | 2 k = 1 m ( P r ( x i = x i k ) | a i n φ ( x a | p a r e n t s ( x a ) ) | 2 )
From the view of quantum mechanics, the quantum parameters generated by the interference effect are the displacement of the energy wave. From the perspective of quantum cognition, they can be interpreted as the association between events and the shared semantic relationship between them.
Definition 8.
The reliability of the fault set in the PN is called confidence [9] and it is denoted by  F b . Given the probability sequence set corresponding to the fault transition  T f i  is  Q ( σ o ) , then
F b = Q ( σ o , T f i ) Q ( σ o )
Definition 9.
Quantum Bayesian Petri nets (QBPN) are defined as a seven tuple:  N Q B = ( S , T Q B o , T Q B u , P r e , P ost , ψ , M 0 ) . In QBPN,  T Q B o T o  is the observable transition set,  T Q B u T u  is the unobservable transition set.  T Q B = T Q B o T Q B u , and  ψ  is quantum probability table of  t i T Q B .

3.2. Quantum Bayesian Probabilistic Fault Diagnosis for Partially Observable Petri Nets

We build the QBPN model of fault transition to diagnose the fault state of the system. According to quantum Bayesian estimation, the prior probability can be calculated by the corresponding observable transitions in the fault transitions pre-set, then the firing order of observable transitions in the post-set can provide us the posterior probability of fault transitions. See Algorithm 1.
Algorithm 1: Fault Diagnosis Based on QBPN
INPUT: The POPN model, quantum Bayesian probability table  ψ  and possible fault transition  t f i
OUTPUT: System’s fault probability  P r ( σ o , ψ , T f i )  
1 Initialization  t f i Q ( σ o ) , P r i [ 0 , 1 ] , φ ( t i ) , ρ [ 0 , 1 )
2  for  t f i σ Q ( σ o )  do
While
t k T o , t k M k , M i [ t f i M j [ t j M k [ t k ,
i < j k , t j T u  do
Copy all transitions  t j , place p and arcs between  t k  and  t f i  to QBPN,  t k T Q B o t j T Q B u
While
t k T o , t k M k , M k [ t k M j [ t j M i [ t f i ,
k < j i , t j T u  do
Copy all transitions  t j , place p and arcs between  t f i  and  t k  to QBPN,  t k T Q B o t j T Q B u
3    if  t k M i [ t f i t k  cannot be fired then
         Delete  t k  and its input and output arcs
4 for  t i T Q B  do
   According to the quantum probability table  ψ , set quantum probability amplitude  φ ( t i ) .
5 for  t k T Q B o  do
According to the observable transition state of the forward path, calculate  P r ( t f i | T Q B o ) .
6 for  t k T Q B o  do
According to the firing order of the post-set of observable transitions, calculate  P r ( t f | T Q B o T Q B o )
7 Choose the maximum probability of the fault transitions as the fault probability of the system  P r ( σ o , ψ , T f i )  
8 if  P r ( σ o , ψ , T f i ) > ρ  then
W ( σ o , ϕ , T f i , ρ ) = F
else    W ( σ o , ϕ , T f i , ρ ) = N
9 return  W ( σ o , ϕ , T f i , ρ )
Aiming at the unobservable fault transition in the POPN model, according to the firing relationship between the parent node and the child node, the parent node first traverses forward, stops searching when the observable transition is encountered. Transforms the transitions, places and arcs in the traversal process into quantum Bayesian node elements, and continues to traverse other parent node branches until the parent node collection is traversed. Then, the sub-nodes start to traverse backward, and stop searching when they encounter observable transitions. The transitions in the process of traversal, transform the transitions, places and arcs in the traversal process into the quantum Bayesian node element, and other sub-nodes continue to traverse until the collection of sub-nodes is traversed. Remove the transition elements causing the dead state to simplify the QBPN model structure. According to the quantum interference caused by the uncertain path, recalibrate the conditional probability table of the transition to obtain the quantum probability amplitude table. According to the pre-set of fault transition and quantum Bayesian reasoning, calculate the firing prior probability of the transition, and then the posterior probability is modified by the observable transition in the post-set. Estimate the state of the system by the maximum posteriori probability. When the fault transition is not unique, the fault with the maximum probability is selected as the fault source.

3.3. Algorithm Complexity Analysis

Starting from each fault transition, the algorithm traverses the transition sequence forward and backward, respectively, until the first observable transition occurs. In the worst case, the algorithm has to traverse  l m a x / 2  transitions each time, and the complexity is  l m a x S n u m . Then, remove irrelevant transitions, and the number of calculations is  l m a x S n u m . Moreover, set the transition firing probability and mark the quantum probability amplitude. Calculate the probability of fault, and the complexity is  l m a x . Suppose the number of fault transitions is  N f , the complexity of the algorithm is  N f l m a x 3 Q n u m 2 .

4. Case Analysis and Verification

The working principle of the liquid-propellant rocket engine in the start-up stage:
High pressure helium flows into the propellant tank and squeezes the propellant into the downstream combustion chamber to produce thrust. In Figure 1, we establish a Petri net model to simulate the start-up phase of the engine with the key nodes as the places and the key actions as the transitions. Table 1 and Table 2 show the meanings of all places and transitions, respectively.
The initial marking of the system model is  M 0 = [ 1000000000000000 ] T , observable transition set  T o = { t 0 , t 3 , t 4 , t 12 , t 13 , t 14 , t 15 } , and unobservable transition set  T u = { t 1 , t 2 , t 5 , t 6 , t 7 , t 8 , t 9 , t 10 , t 11 } . Transition  t 10  simulates fault  t f 10  and transition  t 11  simulates fault  t f 11 .

4.1. Quantum Bayesian Petri Nets of Transition

The fault transitions are  t 10  and  t 11  so that the system fault state is possible fault. Estimate the system fault probability by the QBPN fault diagnosis method. Firstly, we structure the QBPN models of the fault transition  t 10  and the fault transition  t 11  respectively. Then, calculate the firing probability of fault transitions. Finally, choose the maximum probability as the system fault probability.
In the partially observable Petri nets model, given the fault transition. Search the pre-set in all its paths forward, and search the post-set in all its paths backwards. Stop searching when an observable transition occurs. For fault transition  t 10 , Its path includes  t 3 t 5 t 10 t 9 t 8 t 14 t 15 t 12 t 3 t 5 t 10 t 9 t 8 t 15 t 12 t 3 t 5 t 10 t 15 t 12 t 3 t 5 t 10 t 14 t 12 . Observable transitions are  t 3 , t 12 , t 14 , t 15 , and unobservable transitions are  t 5 , t 10 , t 9 , t 8 . Then, establish the QBPN model corresponding to the  t 10  (leakage fault of fuel filling valve), and the subnet is shown in Figure 2.

4.2. Convert the Conditional Probability Table to Quantum Probability Amplitude Table

In the POPN model, there are unobservable transitions. When the observed transition sequence is given and the transition sequence is uncertain, we obtain the quantum probability amplitude table by Equations (1) and (6). In Figure 3, the uncertain path of  t 9  firing is  t 11 p 9 t 9 t 7 p 9 t 9  and  t 10 p 9 t 9 . And it is caused by the unobservable transition.
In Figure 4, the uncertain path of  t 14  firing is  t 5 p 7 t 10 p 14 t 14 t 6 p 6 t 8 p 14 t 14  and  t 5 p 7 t 7 p 9 t 9 p 10 t 8 p 14 t 14 . Through the path superposition principle, the uncertainty of  t 8  and  t 10  leads to the uncertainty of transition  t 14  firing.
In Figure 5, the uncertain path of  t 15  firing is  t 8 p 14 t 14 p 11   t 15 t 10 p 14 t 14 p 11 t 15 t 10 p 11 t 15  and.  t 8 p 11 t 15 . The source of uncertainty is the unobservable transition  t 8 t 10  and the observable transition  t 14 . When the observable transition  t 14  is fired, the number of the uncertain paths is 2, and the reduction of path uncertainty leads to the reduction in the interference effect.
The modification of the transition  t 14  firing probability is shown in Figure 6 as an example. When there is an uncertain path, in Table 1 the firing probability of  t 8  is 0.81 under condition  t 5  and quantum amplitude is  0.81 e θ 1 . The firing probability of  t 10  is 0.19 under condition  t 5  and the quantum amplitude is  0.19 e θ 2 . The firing probability of  t 14  is 0.63 under condition  t 5  and the quantum amplitude is  0.63 e θ 3 . The firing probability of  t 14  is 0.43 under condition  t 10  and the quantum amplitude is  0.43 e θ 4 . According to the probability information between transitions shown in Figure 6, the change curve of the probability value of quantum Bayes is obtained in Figure 7.
We obtain the following formula:
P r ( t 14 | t 5 ) = α | φ t 8 φ t 14 | t 8 + φ t 10 φ t 14 | t 10 | 2 = α ( | φ t 8 φ t 14 | t 8 | 2 + | φ t 10 φ t 14 | t 10 | 2 + 2 | φ t 8 φ t 14 | t 8 | | φ t 10 φ t 14 | t 10 | cos ( θ t 14 , t 8 θ t 14 , t 10 ) ) and   α = 1 P r ( t 14 | t 5 ) + P r ( t ¯ 14 | t 5 )
P r ( t 14 | t 5 ) = 0.592 + 0.4084 cos θ 1 + 0.7692 cos θ
P r ( t ¯ 14 | t 5 ) = 0.408 + 0.3608 cos θ 1 + 0.7692 cos θ
According to Equation (9), we obtain the probability results shown in Figure 7. The interference angle  θ  is on the interval  [ 0 , π ] , and the corresponding probability in the interval [0.5655, 0.7955] is an increasing function. Then, the firing probability  t 14  of the total probability is 0.592, and the firing probability of  t 14  by quantum Bayes theory is 0.7955. According to Equation (10), we obtain the probability results shown in Figure 8. The interference angle  θ  is on the interval  [ 0 , π ] , and the corresponding probability in the interval [0.4355, 0.2045] is a subtraction function. Then, the firing probability of  t ¯ 14  by the total probability is 0.408, and obtain the firing probability of  t ¯ 14  by quantum Bayes theory is 0.2045. From Figure 7 and Figure 8, the sum of the firing probability of  t 14  and  t ¯ 14  is 1 at the interference angle  θ  are the same, as shown in Table 3.
In Figure 9, the more complicated case,  t 8  firing probability under condition  t 3 . At this time, we adjust multiple interference angles to meet the demand.
Possible paths:  t 3     t 5     t 7     t 8 t 3 t 5 t 10 t 8 t 3 t 11 t 7 t 8  and  t 3 t 11 t 9 t 8 . Two of the different paths produce a superposition effect, and produce five interference angles  { θ 1 , θ 2 , θ 3 , θ 4 , θ 5 } . Fixing  { θ 3 , θ 4 , θ 5 } , we obtain the relation  P r ( t 8 | t 3 ) ( θ 1 , θ 2 )  between the firing probability of  t 8  under condition  t 3  and the interference angle  { θ 1 , θ 2 } . In Figure 10, the probability transformation range is [0.83–0.88]. When  θ 1 = 0 θ 2 = 0 , we obtain the maximum, and when  θ 1 = π θ 2 = π , we obtain the minimum.
Fixing  { θ 1 , θ 2 , θ 5 } , we obtain the relation  P r ( t 8 | t 3 ) ( θ 3 , θ 4 )  between the firing probability of  t 8  under condition  t 3  and the interference angle  { θ 3 , θ 4 } . In Figure 11, the probability transformation range is [0.81–0.93]. When  θ 3 = π θ 4 = 0 , we obtain the maximum, and when  θ 3 = 0 θ 4 = π , we obtain the minimum.
Quantum interference can be constructive or destructive, be selected according to needs. In Figure 10 and Figure 11, interference angle  { θ 1 , θ 2 , θ 4 }  is the most constructive interference at  θ = π , and interference angle  { θ 3 }  is the most destructive interference at  θ = π . Analyze the uncertainty of all transitions in the POPN model and correct the conditional probability.

4.3. Fault Diagnosis Results Based on QBPN

The application of the quantum Bayesian inference in the QBPN model is essential to the fault probability of unobservable fault transitions calculation, which reflects the uncertainty of fault occurrence and the conditions of the quantum interference effect.
Based on the POPN system model with an uncertain state, for the fault probability of the system estimation, the use of the QBPN fault diagnosis algorithm is vital. Table 4 shows the diagnosis results of the QBPN algorithm.
In the test, we diagnose the fault transition  t 10  and fault transition  t 11 . The observable transitions in the QBPN model are  t 0 , t 3 , t 4 , t 12 , t 14 , t 15 . When the observable label probability transition sequence  σ o = ( t 0 , 1 ) ( t 4 , 0.883 ) ( t 3 , 0.926 ) , the transition  t 10  is not in the probability transition set. The fault firing probability of  t 10  is 0. Its confidence is 0 and the fault state of the system is 0. So the system state is faultless.
When  σ o = ( t 0 , 1 ) ( t 4 , 0.883 ) ( t 3 , 0.926 ) ( t 15 , 0.879 ) , by observable transitions  t 0 t 3 t 4 , the fault probability of  t 10  is  P r ( t f 10 | t 0 , t 4 , t 3 ) = 0.1621 . According to the firing state of observable transition  t 10  and Equation (7), we calculate the QB function of  t 10  and the modified fault probability is  P r ( t f 10 | t 0 , t 4 , t 3 , t 15 ) = 0.0471 . Similarly, for the analysis of fault transition  t 11 , the fault firing probability is  P r ( t f 11 | t 0 , t 4 , t 3 , t 15 ) = 0.0076 . So the fault probability of the system is 0.0076 and the confidence is 0.4. So the fault state of the system is faultless.
When  σ o   = ( t 0 , 1 ) ( t 4 , 0.883 ) ( t 3 , 0.926 ) ( t 14 , 0.851 ) ( t 15 , 0.879 ) ( t 12 , 0.463 ) . Firstly, calculate the firing probability of fault transition  t 10 . According to Equation (6), the conditional probability of fault transition  t 10  is  P r ( t f 10 | t 0 , t 4 , t 3 ) = 0.1621 . According to the firing state of observable transition  t 14  and Equation (7), calculate the QB function. The modified firing probability of fault transition  t 10  is  P r ( t f 10 | t 0 , t 4 , t 3 , t 14 ) = 0.7569 . Adding transition  t 15 , the modified firing probability of fault transition  t 10  is  P r ( t f 10 | t 0 , t 4 , t 3 , t 14 , t 15 ) = 0.9263 . Continue to add the observable transition  t 12 , and the modified firing probability of fault transition  t 10  is  P r ( t f 10 | t 0 , t 4 , t 3 , t 14 , t 15 , t 12 ) = 0.9668 . Similarly, the modified firing probability of fault transition  t 11  is  P r ( t f 11 | t 0 , t 4 , t 3 , t 14 , t 15 , t 12 ) = 0.0006 . The system fault probability is 0.9668. The system state is fault, and the confidence is 0.6.
When  σ o = ( t 0 , 1 ) ( t 3 , 0.907 ) ( t 13 , 0.736 ) , the transition  t 11  is in all probability transition set. Then, the fault probability of  t 11  is 1. The fault probability of the system is fault, and the confidence is 1.

4.4. Algorithm Comparison

We use the BPN algorithm and the QBPN algorithm, respectively, to diagnose the same system state. After 100 simulations, we obtain the comparison diagram of the BPN algorithm and the QBPN algorithm, as shown in Figure 12. In Figure 13, the probability distribution interval of the BPN algorithm is [0.9425, 0.975], which is 0.961 after the curve fitting. In Figure 14, the probability distribution interval of the QBPN algorithm is [0.9525, 0.980], which is 0.966 after the curve fitting.
It can be concluded from Figure 12 that the QBPN algorithm can obtain better probability estimation after quantum interference correction.
In Table 5, we compare the performance of the BPN algorithm and the QBPN algorithm in this paper. On the basis of the case model, we diagnose the observable fault transitions by using the BPN algorithm. For the most complex OLPS considerable label probability sequence: after many tests, the average response time of the BPN algorithm is 300 ms. By applying the QBPN algorithm in this paper, the average response time of fault diagnosis based on the subnet model established for fault transitions is 230 ms. It is proved that the QBPN algorithm reduces the computational complexity and improves the efficiency. Meanwhile, in 5000 simulation experiments, the number of correct diagnoses the BPN algorithm is 4685. The accuracy of diagnosis is 93.70%. The QBPN algorithm modifies the fault probability by adjusting the quantum interference term. The number of correct diagnoses is 4937, and the accuracy of diagnosis is 98.74%. So the QBPN algorithm has higher fault diagnosis capability.

5. Conclusions

  • In this paper, the POPN model proposed a QBPN fault diagnosis method. We combine the intuitive analytical description method of Petri nets with the characteristics of quantum Bayesian processing uncertainty knowledge expression and inference, calculate the probability of the firing of observable transitions according to the state and the quantum interference angle, then diagnose the fault of observable transitions in the system model.
  • The QBPN model corresponding to the fault transition is established to simplify the model and reduce the complexity of the algorithm. The subnet model containing partial information has better fault-tolerance ability and better adaptability to topology changes.
  • Based on the POPN fault diagnosis model, the QBPN model is simulated and verified through the simulation platform, which verifies the reliability of the QBPN algorithm and can reduce the complexity of the algorithm.
The complexity of the QBPN algorithm based on the POPN model depends on the number of possible fault transitions, and needed plenty of time to analyze the probabilistic data in the QBPN subnet. We studied the POPN model of transition generalized constraint conditions to reduce the search path of the fault transition set to achieve the purpose of optimizing the algorithm rate. In this paper, we executed the parameter selection of the quantum Bayesian interference term manually without randomness. In the following part, we will study the influence on the parameter selection of the quantum interference term, and attempt to obtain a more realistic transition probability distribution through the MCMC random sampling algorithm to further improve the accuracy of the fault probability of the system.

Author Contributions

Conceptualization, J.L. and E.S.B.M.; methodology, J.L.; software, J.L.; validation, J.L., X.Z. and A.D.; formal analysis, X.Z.; investigation, A.D.; resources, A.D.; data curation, J.L.; writing—original draft preparation, J.L.; writing—review and editing, X.Z.; visualization, E.S.B.M.; supervision, X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

The research has been partially supported by the National Natural Science Funds (61473144).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available in article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Henry, D.; Le Peuvédic, C.; Strippoli, L.; Ankersen, F. Robust Model-Based Fault Diagnosis of Thruster Faults in Spacecraft. IFAC-PapersOnLine 2015, 48, 1078–1083. [Google Scholar] [CrossRef]
  2. Djebko, K.; Puppe, F.; Kayal, H. Model-Based Fault Detection and Diagnosis for Spacecraft with an Application for the SONATE Triple Cube Nano-Satellite. Aerospace 2019, 6, 105. [Google Scholar] [CrossRef]
  3. Jiang, L.; Li, H.; Yang, G.; Yang, Q.; Huang, H. Research progress of Spacecraft Autonomous Fault Diagnosis Technology. Acta Astronaut. Sin. 2009, 30, 28–34. [Google Scholar]
  4. Xu, B.; Yin, X.; Yin, X.; Wang, Y.; Pang, S. Fault Diagnosis of Power Systems Based on Temporal Constrained Fuzzy Petri Nets. IEEE Access 2019, 7, 101895–101904. [Google Scholar] [CrossRef]
  5. Lefebvre, D. Fault diagnosis and prognosis with partially observed stochastic Petri nets. Proc. Inst. Mech. Eng. Part O J. Risk Reliab. 2014, 228, 382–396. [Google Scholar] [CrossRef]
  6. An, R.; Liang, W. Unobservable Fuzzy Petri Net Diagnosis Technique. Aircr. Eng. Aerosp. Technol. 2013, 85, 215–221. [Google Scholar] [CrossRef]
  7. Ammour, R.; Leclercq, E.; Sanlaville, E.; Lefebvre, D. Faults prognosis using partially observed stochastic Petri-nets: An incremental approach. Discret. Event Dyn. Syst. 2018, 28, 247–267. [Google Scholar] [CrossRef]
  8. Guo, D.; Xiong, W.; Xu, Z.; Xu, J.; Han, J.; Li, Z. Research on Transformer Fault Diagnosis Based on Variable Precision Rough Set and Quantum Bayesian Network. Comput. Appl. Softw. 2017, 34, 93–99+105. [Google Scholar]
  9. Liu, J.; Zhang, Z.; Zhen, R.; Liu, H.; Yang, Z.; Wang, Z. Fault diagnosis of bipropellant propulsion system using partially observed time Petri nets. Syst. Eng. Electron. 2018, 40, 1337–1344. [Google Scholar]
  10. Lemm, J.C. Bayesian approach to inverse time-dependent quantum mechanics. Phys. Lett. A 2000, 276, 19–24. [Google Scholar] [CrossRef]
  11. Moreira, C.; Wichert, A. Andreas Exploring the relations between Quantum-Like Bayesian Networks and decision-making tasks with regard to face stimuli. J. Math. Psychol. 2017, 78, 86–95. [Google Scholar] [CrossRef]
  12. Yi, Y. Fault Diagnosis Based on Bayesian Petri Nets. Sens. Transducers 2014, 179, 114–120. [Google Scholar]
  13. Cabasino, M.P.; Giua, A.; Seatzu, C. Diagnosability of discrete event systems using labeled Petri nets. IEEE Trans. Autom. Sci. Eng. 2014, 11, 144–153. [Google Scholar] [CrossRef]
  14. Declerck, P.; Bonhomme, P. State estimation of timed labeled Petri nets with unobservable transitions. IEEE Trans. Autom. Sci. Eng. 2014, 11, 103–110. [Google Scholar] [CrossRef]
  15. Basile, F.; Cordone, R.; Piroddi, L. A branch and bound approach for the design of decentralized supervisors in Petri net models. Automatica 2015, 52, 322–333. [Google Scholar] [CrossRef]
  16. Shen, Q.; Qiu, J.; Liu, G.; Lv, K. Intermittent fault’s parameter framework and stochastic petri net based formalization model. Eksploat. I Niezawodn.-Maint. Reliab. 2016, 18, 210–217. [Google Scholar] [CrossRef]
  17. Galagedarage Don, M.; Khan, F. Dynamic process fault detection and diagnosis based on a combined approach of hidden Markov and Bayesian network model. Chem. Eng. Sci. 2019, 201, 82–96. [Google Scholar] [CrossRef]
  18. Sahu, A.R.; Palei, S.K. Real-time fault diagnosis of HEMM using Bayesian Network: A case study on drag system of dragline. Eng. Fail. Anal. 2020, 118, 104917. [Google Scholar] [CrossRef]
  19. Wang, L.; Chen, Q.; Gao, Z.; Niu, L.; Zhao, Y.; Ma, Z.; Wu, D. Knowledge representation and general Petri net models for power grid fault diagnosis. IET Gener. Transm. Distrib. 2015, 9, 866–873. [Google Scholar] [CrossRef]
  20. Zhang, Z.; Zhu, J.; Pan, F. Fault detection and diagnosis for data incomplete industrial systems with new Bayesian network approach. J. Syst. Eng. Electron. 2013, 24, 500–511. [Google Scholar] [CrossRef]
  21. Pensar, J.; Nyman, H.; Lintusaari, J.; Corander, J. The role of local partial independence in learning of Bayesian networks. Int. J. Approx. Reason. 2016, 69, 91–105. [Google Scholar] [CrossRef]
  22. Yoon, S. In-situ sensor calibration in an operational air-handling unit coupling autoencoder and Bayesian inference. Energy Build. 2020, 221, 110026. [Google Scholar] [CrossRef]
  23. Omoregbee, H.O.; Heyns, P.S. Fault detection in roller bearing operating at low speed and varying loads using Bayesian robust new hidden Markov model. J. Mech. Sci. Technol. 2018, 32, 4025–4036. [Google Scholar] [CrossRef]
  24. Lu, F.; Huang, J.; Lv, Y.; Qiu, X. Aircraft engine gas-path components health diagnosis based on nonlinear adaptive filters. Acta Aeronaut. Astronaut. Sin. 2013, 34, 2529–2538. [Google Scholar]
  25. Chen, J.; Zhai, G.; Wang, S.; Liu, Y.; Wang, H. Factors affecting characteristics of acoustic signals in particle impact noise detection for aerospace devices. Syst. Eng. Electron. 2013, 35, 889–894. [Google Scholar]
  26. Sharda, B.; Banerjee, A. Robust manufacturing system design using multi objective genetic algorithms, Petri nets and Bayesian uncertainty representation. J. Manuf. Syst. 2013, 32, 315–324. [Google Scholar] [CrossRef]
  27. Zhu, M.; Han, G.; Guo, Y. Optimized fault diagnosis based on FMEA-style CBR and BN for embedded software system. Int. J. Adv. Manuf. Technol. 2018, 94, 3441–3453. [Google Scholar]
  28. Rath, Y.; Glielmo, A.; Booth, G.H. A Bayesian inference framework for compression and prediction of quantum states. J. Chem. Phys. 2020, 153, 124108. [Google Scholar] [CrossRef]
  29. Huang, Z.; Yang, L.; Jiang, W. Uncertainty measurement with belief entropy on the interference effect in the quantum-like Bayesian Networks. Appl. Math. Comput. 2019, 347, 417–428. [Google Scholar] [CrossRef]
  30. Pienaar, J. Quantum causal models via quantum Bayesianism. Phys. Rev. A 2020, 101, 012104. [Google Scholar] [CrossRef]
  31. Al-Ajeli, A.; Parker, D. Fault diagnosis in labelled Petri nets: A Fourier–Motzkin based approach. Automatica 2021, 132, 109831–109837. [Google Scholar] [CrossRef]
Figure 1. The Petri nets model of DEDS.
Figure 1. The Petri nets model of DEDS.
Applsci 14 00052 g001
Figure 2. The QBPN model of fault transition  t 10 .
Figure 2. The QBPN model of fault transition  t 10 .
Applsci 14 00052 g002
Figure 3. The transition  t 9  of the influence of quantum interference.
Figure 3. The transition  t 9  of the influence of quantum interference.
Applsci 14 00052 g003
Figure 4. The transition  t 14  of the influence of quantum interference.
Figure 4. The transition  t 14  of the influence of quantum interference.
Applsci 14 00052 g004
Figure 5. The transition  t 15  of the influence of quantum interference.
Figure 5. The transition  t 15  of the influence of quantum interference.
Applsci 14 00052 g005
Figure 6. Classical Bayesian probability and quantum Bayesian probability.
Figure 6. Classical Bayesian probability and quantum Bayesian probability.
Applsci 14 00052 g006
Figure 7. The change in the quantum Bayesian probability value of  t 14  under the condition of  t 5 .
Figure 7. The change in the quantum Bayesian probability value of  t 14  under the condition of  t 5 .
Applsci 14 00052 g007
Figure 8. The change in the quantum Bayesian probability value of  t ¯ 14  under the condition of  t 5 .
Figure 8. The change in the quantum Bayesian probability value of  t ¯ 14  under the condition of  t 5 .
Applsci 14 00052 g008
Figure 9. The uncertain path from transition  t 3  to  t 8 .
Figure 9. The uncertain path from transition  t 3  to  t 8 .
Applsci 14 00052 g009
Figure 10. Interference angle  { θ 1 , θ 2 }  causes the change in the firing probability of  t 8  under the condition of  t 3 .
Figure 10. Interference angle  { θ 1 , θ 2 }  causes the change in the firing probability of  t 8  under the condition of  t 3 .
Applsci 14 00052 g010
Figure 11. Interference angle  { θ 3 , θ 4 }  causes the change in the firing probability of  t 8  under the condition of  t 3 .
Figure 11. Interference angle  { θ 3 , θ 4 }  causes the change in the firing probability of  t 8  under the condition of  t 3 .
Applsci 14 00052 g011
Figure 12. Comparison of fault diagnosis probability between the BPN algorithm and the QBPN algorithm.
Figure 12. Comparison of fault diagnosis probability between the BPN algorithm and the QBPN algorithm.
Applsci 14 00052 g012
Figure 13. Probability distribution based on the BPN algorithm.
Figure 13. Probability distribution based on the BPN algorithm.
Applsci 14 00052 g013
Figure 14. Probability distribution based on the QBPN algorithm.
Figure 14. Probability distribution based on the QBPN algorithm.
Applsci 14 00052 g014
Table 1. The implication of each place.
Table 1. The implication of each place.
PlaceMeaningPlaceMeaning
p0System readyp8The temperature of oxidizer pipeline is up to standard
p1Fuel pipeline connects to the heliump9The fuel filling valve works stably
p2Oxidizer pipeline connects to the heliump10Oxidizer fueling valve enabled
p3Pressurization of fuel tankp11Combustion chamber preparation
p4Pressurization of oxidizer tankp12Oxidizer tank need pressurize
p5The air pressure of fuel tank is up to standardp13Fuel tank need pressurize
p6The air pressure of oxidizer tank is up to standardp14Low gas concentration in combustion chamber
p7The temperature of fuel pipeline is up to standardp15Engine blow-off enabled
Table 2. Implication and observability of each transition.
Table 2. Implication and observability of each transition.
TransitionMeaningObservability
t0Control center initiates the commandobservable
t1Fuel pipeline valve openunobservable
t2Oxidizer pipeline valve openunobservable
t3Check the air pressure of fuel tankobservable
t4Check the air pressure of oxidizer tankobservable
t5Test the temperature of fuel pipelineunobservable
t6Test the temperature of oxidizer pipelineunobservable
t7Open the fuel filling valveunobservable
t8Open oxidizer filling valveunobservable
t9Open the self-locking valve of oxidizer pipelineunobservable
t10Close the electromagnetic valveunobservable
t11Fuel filling valve leaksunobservable
t12Regulating oxidant flowobservable
t13Regulating fuel flowobservable
t14Low gas concentration signal in combustion chamberobservable
t15The combustor receives the ignition signalobservable
t16Blow-offunobservable
Table 3. Comparison of probability estimates between the total probability and the quantum Bayesian.
Table 3. Comparison of probability estimates between the total probability and the quantum Bayesian.
Probability EstimatesValue
P r ( t 8 | t 5 ) 0.81
φ ( t 8 | t 5 ) 0.81 e θ 1
P r ( t 10 | t 5 ) 0.19
φ ( t 10 | t 5 ) 0.19 e θ 2
P r ( t 14 | t 8 ) 0.63
φ ( t 14 | t 8 ) 0.63 e θ 3
P r ( t 14 | t 10 ) 0.43
φ ( t 14 | t 10 ) 0.43 e θ 4
Total Probability  P r ( t 14 | t 5 ) 0.592
Quantum Bayesian  P r ( t 14 | t 5 ) 0.7955
Total Probability  P r ( t ¯ 14 | t 5 ) 0.408
Quantum Bayesian  P r ( t ¯ 14 | t 5 ) 0.2045
Table 4. Fault diagnosis results of the quantum Bayesian fault algorithm based on POPN.
Table 4. Fault diagnosis results of the quantum Bayesian fault algorithm based on POPN.
σ o Fault Transition Firing
Probability
θ QB Function F b P r ( σ o , ψ , T f i )   W Actual System State
( t 0 , 1 ) ( t 4 , 0.883 ) ( t 3 , 0.926 ) P r ( t f 10 | t 0 , t 4 , t 3 ) π / 2 000 N Normal
( t 0 , 1 ) ( t 4 , 0.883 ) ( t 3 , 0.926 ) ( t 15 , 0.879 ) P r ( t f 10 | t 0 , t 4 , t 3 ) π / 2 0.16210.40.0471 N Normal
P r ( t f 10 | t 0 , t 4 , t 3 , t 15 ) 00.0471
P r ( t f 11 | t 0 , t 4 , t 3 ) π / 2 0.1586
P r ( t f 11 | t 0 , t 4 , t 3 , t 15 ) 00.0076
( t 0 , 1 ) ( t 4 , 0.883 ) ( t 3 , 0.926 ) ( t 14 , 0.851 ) ( t 15 , 0.879 ) ( t 12 , 0.463 ) P r ( t f 10 | t 0 , t 4 , t 3 ) π / 2 0.16210.60.9668 F Fault
P r ( t f 10 | t 0 , t 4 , t 3 , t 14 ) 00.7569
P r ( t f 10 | t 0 , t 4 , t 3 , t 14 , t 15 ) 00.9263
P r ( t f 10 | t 0 , t 4 , t 3 , t 14 , t 15 , t 12 ) 00.9668
P r ( t f 11 | t 0 , t 4 , t 3 ) π / 2 0.1586
P r ( t f 11 | t 0 , t 4 , t 3 , t 14 , t 15 , t 12 ) 00.0006
( t 0 , 1 ) ( t 3 , 0.907 ) ( t 13 , 0.736 ) P r ( t f 11 | t 0 , t 3 , t 13 ) π / 2 111 F Fault
Table 5. Comparison of diagnostic algorithms.
Table 5. Comparison of diagnostic algorithms.
AlgorithmResponse Time (ms)Accuracy of Diagnosis (%)
BPN30093.70
QBPN23098.74
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, J.; Mvungi, E.S.B.; Zhang, X.; Dias, A. Fault Diagnosis in Partially Observable Petri Nets with Quantum Bayesian Learning. Appl. Sci. 2024, 14, 52. https://doi.org/10.3390/app14010052

AMA Style

Liu J, Mvungi ESB, Zhang X, Dias A. Fault Diagnosis in Partially Observable Petri Nets with Quantum Bayesian Learning. Applied Sciences. 2024; 14(1):52. https://doi.org/10.3390/app14010052

Chicago/Turabian Style

Liu, Jiufu, Elishahidi S. B. Mvungi, Xinzhe Zhang, and Aurea Dias. 2024. "Fault Diagnosis in Partially Observable Petri Nets with Quantum Bayesian Learning" Applied Sciences 14, no. 1: 52. https://doi.org/10.3390/app14010052

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop