[go: up one dir, main page]

CN112270128B - A fault diagnosis method for hydraulic end of drilling pump based on dynamic fault tree - Google Patents

A fault diagnosis method for hydraulic end of drilling pump based on dynamic fault tree Download PDF

Info

Publication number
CN112270128B
CN112270128B CN202011178173.4A CN202011178173A CN112270128B CN 112270128 B CN112270128 B CN 112270128B CN 202011178173 A CN202011178173 A CN 202011178173A CN 112270128 B CN112270128 B CN 112270128B
Authority
CN
China
Prior art keywords
event
failure
gate
state
fault
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN202011178173.4A
Other languages
Chinese (zh)
Other versions
CN112270128A (en
Inventor
李波
何旋
胡家文
洪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN202011178173.4A priority Critical patent/CN112270128B/en
Publication of CN112270128A publication Critical patent/CN112270128A/en
Application granted granted Critical
Publication of CN112270128B publication Critical patent/CN112270128B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/04Inference or reasoning models
    • G06N5/042Backward inferencing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N7/00Computing arrangements based on specific mathematical models
    • G06N7/01Probabilistic graphical models, e.g. probabilistic networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Algebra (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Computational Linguistics (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)

Abstract

The invention discloses a drilling pump hydraulic end fault diagnosis method based on a dynamic fault tree, and relates to the field of fault diagnosis. The invention aims to improve a fault diagnosis method of a discrete-time Bayesian network based on a dynamic fault tree. The core of the invention is to construct a mapping relation of 'rate parameter lambda-division number n', and the time division number n can be selected more scientifically by using a fault diagnosis method of a discrete time Bayesian network based on a dynamic fault tree; the method solves the problem of inaccurate diagnosis caused by the fact that researchers select the time division number n subjectively by proposing a mode of establishing the corresponding relation of the rate parameter lambda-the division number n, improves the reliability of fault diagnosis, and can provide reference for other similar complex machines when using the fault diagnosis method.

Description

一种基于动态故障树的钻井泵液力端故障诊断方法A fault diagnosis method for hydraulic end of drilling pump based on dynamic fault tree

技术领域technical field

本发明涉及故障诊断领域,具体指改进的基于动态故障树的离散时间贝叶斯网络故障诊断方法。The invention relates to the field of fault diagnosis, in particular to an improved discrete-time Bayesian network fault diagnosis method based on a dynamic fault tree.

背景技术Background technique

故障树分析法是在全面准确地掌握系统结构和原理的前提下,首先确定系统顶事件,再根据中心事件逐步逐层的进行分析,将引起顶事件的所有原因找出,直到底事件为止,构成了自顶向下的诊断流程。针对建立故障树中的顶事件、中间事件和底事件之间存在的逻辑关系,不断的完善故障树。确定故障树之后,采用定性分析法和定量分析法分析故障树。但现代工程的故障通常伴随着失效时间、顺序等复杂的动态特性。单纯的使用常规的故障树方法,得到的故障准确度较低。20世纪90年代提出了动态故障树分析法,此分析法对具有动态故障逻辑的系统具有较强的建模与分析能力。动态故障树与常规故障树的区别就在于引入了一系列动态逻辑门来描述系统的时序规则和动态时效行为。目前求解动态故障树的算法主要有:基于马尔科夫链的动态故障树分析算法、基于贝叶斯网络的动态故障树分析算法、基于梯形公式动态故障树的近似算法。通过对比,基于贝叶斯网络的算法在做动态故障树分析时更加合适。但是此方法存在一个不足之处,时间划分数n是由研究人员主观确定或只确定一个划分数n。对于复杂机械来说,零部件或系统的状态退化是随着时间推移逐步进行的,而且不同对象的退化效率也不相同。The fault tree analysis method is based on the premise of fully and accurately grasping the system structure and principle, first determine the top event of the system, and then analyze it step by step according to the central event, and find out all the causes of the top event until the bottom event. It constitutes a top-down diagnostic process. In order to establish the logical relationship between the top event, the middle event and the bottom event in the fault tree, the fault tree is continuously improved. After determining the fault tree, use qualitative analysis and quantitative analysis to analyze the fault tree. However, the failure of modern engineering is usually accompanied by complex dynamic characteristics such as failure time and sequence. Simply using the conventional fault tree method, the obtained fault accuracy is low. In the 1990s, the dynamic fault tree analysis method was proposed, which has strong modeling and analysis capabilities for systems with dynamic fault logic. The difference between dynamic fault tree and conventional fault tree is that a series of dynamic logic gates are introduced to describe the timing rules and dynamic aging behavior of the system. At present, the algorithms for solving dynamic fault tree mainly include: dynamic fault tree analysis algorithm based on Markov chain, dynamic fault tree analysis algorithm based on Bayesian network, and approximate algorithm of dynamic fault tree based on trapezoidal formula. By comparison, the algorithm based on Bayesian network is more suitable for dynamic fault tree analysis. But this method has a shortcoming, the time division number n is determined by the researcher subjectively or only one division number n is determined. For complex machinery, the state degradation of components or systems is carried out gradually over time, and the degradation efficiency of different objects is not the same.

发明内容SUMMARY OF THE INVENTION

本发明的目的是对基于动态故障树的离散时间贝叶斯网络的故障诊断方法进行改进。本发明的核心是构造“率参数λ--划分数n”映射关系,在使用基于动态故障树的离散时间贝叶斯网络的故障诊断方法,能够更科学地选取时间划分数n,使故障诊断结果更可靠。The purpose of the present invention is to improve the fault diagnosis method of discrete time Bayesian network based on dynamic fault tree. The core of the present invention is to construct the mapping relationship of "rate parameter λ--division number n". When using the fault diagnosis method of discrete-time Bayesian network based on dynamic fault tree, the time division number n can be selected more scientifically, so that the fault diagnosis can be improved. The results are more reliable.

本发明技术方案为一种基于动态故障树的钻井泵液力端故障诊断方法,该方法包括:The technical scheme of the present invention is a method for diagnosing the hydraulic end of a drilling pump based on a dynamic fault tree, the method comprising:

步骤1:采用演绎推理法建立钻井泵液力系统动态故障树:Step 1: Use the deductive reasoning method to establish the dynamic fault tree of the drilling pump hydraulic system:

步骤1.1:以钻井泵液力端故障作为动态故障树的顶部事件,以液力端中主部件里的子部件易发生的故障作为中间事件,子部件中元器件的故障作为底事件;Step 1.1: Take the failure of the hydraulic end of the drilling pump as the top event of the dynamic fault tree, take the failure of the sub-components in the main component in the hydraulic end as the intermediate event, and the failure of the components in the sub-component as the bottom event;

步骤1.2:根据钻井泵液力端的工作原理和故障发生机理,使用相应的动态逻辑门将各级事件与顶事件相连,从底事件至顶事件,采用动态逻辑门将各级事件进行相连,得到钻井泵液力端的动态故障树;Step 1.2: According to the working principle and failure mechanism of the hydraulic end of the drilling pump, use the corresponding dynamic logic gate to connect the events at all levels with the top event, from the bottom event to the top event, use the dynamic logic gate to connect the events at all levels to obtain the drilling pump. Dynamic fault tree of the liquid end;

步骤2:将动态故障树转换为贝叶斯网络模型,并建立“率参数λ--时间划分数n”对应关系;Step 2: Convert the dynamic fault tree into a Bayesian network model, and establish the corresponding relationship of "rate parameter λ--time division number n";

步骤2.1:把动态故障树转化成贝叶斯网络模型;其中动态故障树的顶事件、中间事件、底事件分别对应贝叶斯网络模型的根节点、中间节点、叶子节点动态故障树中各逻辑门在贝叶斯网络模型中的表达方法为:Step 2.1: Convert the dynamic fault tree into a Bayesian network model; the top event, middle event, and bottom event of the dynamic fault tree correspond to the root nodes, middle nodes, and leaf nodes of the Bayesian network model. Each logic in the dynamic fault tree The expression method of the gate in the Bayesian network model is:

与门:AND gate:

令X=[X1,X2,…,Xm],其中m为与门的输入事件个数,Xi,i=1,2,…,m为输入事件的状态变量,其状态组合数为(N+1)m;令Y为与门输出的状态变量,所有变量的状态空间都为{1,2,…,N+1},令k=max(X1,X2,…,Xm),j为判断定值;与门的失效机理为所有输入事件发生则输出事件发生,则输出事件应处于所有事件的状态值的最大值,因此,在输入事件任意状态组合中,Y的条件概率分布为:Let X=[X 1 ,X 2 ,...,X m ], where m is the number of input events of the AND gate, X i ,i=1,2,...,m is the state variable of the input event, and the number of state combinations thereof is (N+1) m ; let Y be the state variable output by the AND gate, the state space of all variables is {1,2,...,N+1}, let k=max(X 1 ,X 2 ,..., X m ), j is the judgment fixed value; the failure mechanism of the AND gate is that the output event occurs when all input events occur, then the output event should be at the maximum value of the state values of all events, therefore, in any state combination of input events, Y The conditional probability distribution of is:

Figure BDA0002749333900000021
Figure BDA0002749333900000021

或门:OR gate:

或门的失效机理为只要输入事件中有一个件发生则输出事件发生,因此或门输出事件的状态与输入事件中状态的最小值相同;令r=min(X1,X2,…,Xm),则或门输出事件的条件概率分布为:The failure mechanism of the OR gate is that as long as one of the input events occurs, the output event occurs, so the state of the OR gate output event is the same as the minimum value of the state in the input event; let r=min(X 1 ,X 2 ,...,X m ), then the conditional probability distribution of the OR gate output event is:

Figure BDA0002749333900000022
Figure BDA0002749333900000022

优先与门:Priority AND gate:

假设输入事件为A、B,输出事件为Y,状态值分别为a、b和y,优先与门的失效机理为在A与B都失效的情况下,A比B先失效,事件Y才会发生,即当a<b时,输出事件Y处于状态b;反之,输出事件Y处于状态N+1,代表Y未发生故障;则优先与门输出事件Y的条件概率分布如下:Assuming that the input events are A and B, the output event is Y, and the state values are a, b, and y, respectively, the failure mechanism of the priority AND gate is that when both A and B fail, A fails before B, and event Y will fail. occurs, that is, when a<b, the output event Y is in the state b; otherwise, the output event Y is in the state N+1, which means that Y has not failed; then the conditional probability distribution of the output event Y of the priority AND gate is as follows:

当a<b时,When a < b,

Figure BDA0002749333900000023
Figure BDA0002749333900000023

当a≥b时,When a≥b,

Figure BDA0002749333900000031
Figure BDA0002749333900000031

顺序相关门:Sequence dependent gates:

顺序相关门强制其输入事件按照特定的顺序发生,而不会按照其它的顺序发生失效。顺序相关门与优先与门类似,都表示基本事件的时序性,它们的区别在于:顺序相关门中的输入事件不能按照任意顺序失效;而优先与门可以以任意顺序失效,只有特定顺序的失效才会触发其输出事件的失效。因此顺序相关门可以改为多个优先与门级联的形式;Sequence-dependent gates force their input events to occur in a particular order and not fail in any other order. Sequential correlation gates are similar to priority AND gates in that they both represent the timing of basic events. The difference between them is that input events in sequential correlation gates cannot fail in any order; while priority AND gates can fail in any order, only in a specific order. will trigger the failure of its output event. Therefore, the sequential correlation gate can be changed to the form of multiple priority AND gates cascaded;

功能相关门:Function related gates:

设功能相关门只有一个相关输入事件A,触发事件为Tr,输出事件为T;当Tr发生时其相关事件A发生,输出事件T发生;当A独立发生失效时,输出事件T也会发生;在输入事件与输出事件之间增加一个中间节点A′来代表因Tr触发或者由A本身的独立失效所导致的A失效的总失效事件,p,q为对应的事件状态,则功能相关门输出事件的条件概率分布为:Suppose the function-related gate has only one related input event A, the trigger event is Tr, and the output event is T; when Tr occurs, its related event A occurs, and output event T occurs; when A fails independently, output event T also occurs; An intermediate node A' is added between the input event and the output event to represent the total failure event of A failure caused by Tr triggering or the independent failure of A itself, p, q are the corresponding event states, then the function-related gate output The conditional probability distribution of the event is:

Figure BDA0002749333900000032
Figure BDA0002749333900000032

步骤2.2:设定n的取值范围,采用事先采集的多组数据,选取不同的率参数λ计算系统的可靠度;对比各组数据之间系统可靠度的最大差值比例,可以获得率参数λ在不同范围内应选取的最合适的时间划分数n,并建立“率参数λ--划分数n”对应关系;Step 2.2: Set the value range of n, use multiple sets of data collected in advance, and select different rate parameters λ to calculate the reliability of the system; compare the maximum difference ratio of the system reliability between each group of data, the rate parameter can be obtained λ should select the most suitable time division number n in different ranges, and establish the corresponding relationship of "rate parameter λ--division number n";

步骤3:定义贝叶斯网络模型中节点的状态;Step 3: Define the state of the nodes in the Bayesian network model;

把整个任务构成的时间区间[0,t]分成n个长度相等的子区间,每个子区间的长度为Δ=t/n,则整个时间轴[0,+∞)被划分成n+1个子区间;当某节点A对应的零部件在任务时间t内第i个时间区间内发生失效时,即A在时间区间[(i-1)Δ,iΔ]内失效,则称节点A处于状态i;如果A在任务时间t内未失效,即A在[t,∞)内失效,则称A处于状态n+1;Divide the time interval [0, t] composed of the entire task into n sub-intervals of equal length, and the length of each sub-interval is Δ=t/n, then the entire time axis [0, +∞) is divided into n+1 sub-intervals interval; when a component corresponding to a node A fails within the i-th time interval within the task time t, that is, A fails within the time interval [(i-1)Δ, iΔ], then node A is said to be in state i ; If A does not fail within task time t, that is, A fails within [t, ∞), then A is in state n+1;

通过以上定义,得到贝叶斯网络中的所有节点的状态空间为如下的时间区间:[0,Δ],(Δ,2Δ],…,((n-1)Δ,nΔ],(nΔ,+∞),简记为{1,2,…,n+1},系统以及部件的失效时间X总对应着n+1个区间的某一个区间i;系统处于前n个状态的概率之和即为该系统在任务时间t时的故障率,系统处于第n+1个状态的概率即为系统在任务时间t时的非故障率;Through the above definition, the state space of all nodes in the Bayesian network is obtained as the following time interval: [0,Δ],(Δ,2Δ],…,((n-1)Δ,nΔ],(nΔ, +∞), abbreviated as {1,2,…,n+1}, the failure time X of the system and components always corresponds to a certain interval i of n+1 intervals; the sum of the probabilities that the system is in the first n states is the failure rate of the system at task time t, and the probability that the system is in the n+1th state is the non-failure rate of the system at task time t;

步骤4:根据贝叶斯网络模型中节点的状态建立所有结点的概率分布,完成对基于贝叶斯网络的动态故障树故障诊断的定量计算;Step 4: establish the probability distribution of all nodes according to the state of the nodes in the Bayesian network model, and complete the quantitative calculation of the dynamic fault tree fault diagnosis based on the Bayesian network;

步骤5:反向推理求得故障诊断结果;Step 5: Reverse reasoning to obtain fault diagnosis results;

每个节点的条件概率分布表示为P(Xi|pa(Xi)),用以表达子节点与父节点之间的定量关系;在给定根节点的先验概率分布和非根节点的条件概率分布的条件下,得到包含所有节点的联合概率分布,进而对目标节点进行边缘化计算,得到其边缘概率分布;最后利用贝叶斯网络的反向推理,计算出各个底事件的故障概率,根据故障概率大小排列,输出诊断结果。The conditional probability distribution of each node is expressed as P(X i |pa(X i )), which is used to express the quantitative relationship between child nodes and parent nodes; the prior probability distribution at a given root node and the non-root node’s Under the condition of conditional probability distribution, the joint probability distribution including all nodes is obtained, and then the target node is marginalized to obtain its marginal probability distribution; finally, the failure probability of each bottom event is calculated by the reverse reasoning of Bayesian network. , arrange according to the size of the failure probability, and output the diagnosis results.

进一步的,所述步骤1.1中的顶事件为液力端故障,中间事件为:吸入管故障、阀故障、活塞故障、液缸故障、排出管故障、空气包故障、安全阀故障,底事件为:吸入管路密封不严、吸入滤网堵死、阀磨损严重、阀盖未上紧、导向套卡死、活塞磨损严重、活塞螺母松动、液缸进入空气、缸盖未上紧、缸盖压盖松动、排出滤筒堵塞、排出管路堵塞、充气接头堵死、空气包内囊破裂、截止阀密封不严、安全阀设置不当;Further, the top event in the step 1.1 is the hydraulic end failure, the middle event is: suction pipe failure, valve failure, piston failure, liquid cylinder failure, discharge pipe failure, air bag failure, safety valve failure, and the bottom event is: : The suction pipeline is not tightly sealed, the suction filter is blocked, the valve is severely worn, the valve cover is not tightened, the guide sleeve is stuck, the piston is severely worn, the piston nut is loose, the liquid cylinder enters the air, the cylinder head is not tightened, the cylinder head The gland is loose, the discharge filter cartridge is blocked, the discharge pipeline is blocked, the inflation joint is blocked, the inner bag of the air bag is ruptured, the shut-off valve is not tightly sealed, and the safety valve is improperly set;

步骤1.2中各事件之间的关系为:The relationship between the events in step 1.2 is:

吸入管路密封不严、吸入滤网堵死通过优先与门与吸入管故障相连;阀磨损严重、阀盖未上紧、导向套卡死通过或门与阀故障相连;活塞磨损严重、活塞螺母松动通过或门与活塞故障相连;液缸进入空气、缸盖未上紧、缸盖压盖松动通过顺序相关门与液缸故障相连;排出滤筒堵塞、排出管路堵塞通过或门与排出管故障相连;充气接头堵死、空气包内囊破裂、截止阀密封不严通过功能相关门与空气包故障相连,充气接头堵死和截止阀密封不严为功能相关门的相关事件输入,空气包内囊破裂为功能相关门的触发事件输入,空气包故障为功能相关门的输出;安全阀设置不当通过与门与安全阀故障相连。The suction pipeline is not tightly sealed, the suction filter screen is blocked and the door is connected to the suction pipe fault; the valve is seriously worn, the valve cover is not tightened, the guide sleeve is stuck through or the door is connected to the valve fault; the piston is seriously worn, and the piston nut Looseness is connected to the fault of the piston through the OR door; the cylinder enters the air, the cylinder head is not tightened, the cylinder head gland is loose and is connected to the fault of the cylinder through the sequence-related door; the discharge filter cartridge is blocked, the discharge line is blocked, and the or door is connected to the discharge pipe The fault is connected; the inflation joint is blocked, the inner bag of the air bag is ruptured, and the shut-off valve is not tightly sealed. It is connected to the air bag fault through the function-related door. The rupture of the inner bag is the trigger event input of the function-related door, and the air bag failure is the output of the function-related door; the improper setting of the safety valve is connected with the door and the safety valve fault.

进一步的,所述步骤5的具体方法为:Further, the specific method of the step 5 is:

包含m个节点的离散时间贝叶斯网络DTBN中,非叶节点用事件Ui表示,其中1≤i≤m-1,Ui的发生区间为{[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)};如果顶事件UT在任务时间T内发生,则顶事件的发生时刻必定在[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(nΔ,+∞)其中一个区间内;因此,UT在任务时间T内发生的概率可直接计算得到并表示为:In the discrete-time Bayesian network DTBN containing m nodes, the non-leaf nodes are represented by events U i , where 1≤i≤m-1, and the occurrence interval of U i is {[0,Δ],(Δ,2Δ] ,...,((n-1)Δ,nΔ],(T,+∞)}; if the top event U T occurs within the task time T, then the top event must occur at [0,Δ], (Δ,2Δ],...,((n-1)Δ,nΔ],(nΔ,+∞) in one of the intervals; therefore, the probability of U T occurring within the task time T can be directly calculated and expressed for:

Figure BDA0002749333900000041
Figure BDA0002749333900000041

式中,ui表示Ui的发生区间,ui属于{[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)};In the formula, ui represents the occurrence interval of U i , and ui belongs to {[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)} ;

然后使用反向推理的方法可以求得系统故障时各个部件的失效概率。Then the failure probability of each component can be obtained when the system fails by using the method of reverse reasoning.

本发明的优点:本发明通过提出建立“率参数λ--划分数n”对应关系的方式消除了研究人员凭主观选择时间划分数n所造成的诊断不准确问题,提高了故障诊断的可靠性,并可为其他类似复杂机械使用此故障诊断方法时提供参考。Advantages of the present invention: The present invention eliminates the problem of inaccurate diagnosis caused by the researcher's subjective selection of the time division number n by proposing to establish a corresponding relationship between "rate parameter λ--division number n", and improves the reliability of fault diagnosis. , and can provide a reference for other similar complex machinery using this fault diagnosis method.

附图说明Description of drawings

图1为本发明流程图。Fig. 1 is a flow chart of the present invention.

图2为钻井泵液力端的动态故障树模型。Figure 2 shows the dynamic fault tree model of the hydraulic end of the drilling pump.

图3为当n取不同的值时系统可靠性比较曲线。Figure 3 is a system reliability comparison curve when n takes different values.

图4为与门/或门/优先与门转换为贝叶斯网络规则图。Figure 4 is a diagram of the conversion of an AND gate/OR gate/precedence AND gate into a Bayesian network rule.

图5为顺序相关门先转换为优先与门再转化为贝叶斯网络规则图。Figure 5 is a diagram of sequential correlation gates first converted into priority AND gates and then into Bayesian network rules.

图6为功能相关门转换为贝叶斯网络规则图。Figure 6 is a diagram showing the transformation of functional correlation gates into Bayesian network rules.

图7为钻井泵液力端动态故障树所转换的贝叶斯网络模型。Fig. 7 is the Bayesian network model converted from the dynamic fault tree of the hydraulic end of the drilling pump.

具体实施方式Detailed ways

先结合实例、附图对本发明做进一步描述:First, the present invention will be further described in conjunction with examples and accompanying drawings:

步骤1:采用演绎推理法建立钻井泵液力端的动态故障树:Step 1: Use the deductive reasoning method to establish the dynamic fault tree of the hydraulic end of the drilling pump:

1、以钻井泵液力端系统故障作为钻井泵液力端动态故障树的顶部事件,以钻井泵液力端的液力端故障与动力端故障作为第二级中间事件M1和M2,以每个主要部件里的各个子部件易发生的故障作为下一级事件,依次类推至元器件的故障作为底事件,对顶事件、各中间事件和底事件进行编码,如表1所示1. Take the hydraulic end system failure of the drilling pump as the top event of the dynamic fault tree of the hydraulic end of the drilling pump, take the hydraulic end failure and power end failure of the drilling pump as the second-level intermediate events M1 and M2, and take each The faults that are prone to occur in each sub-component in the main component are regarded as the next-level event, and the faults of the components are analogized as the bottom event, and the top event, each intermediate event and the bottom event are coded, as shown in Table 1.

表1事件代号与事件名称对应关系Table 1 Correspondence between event code and event name

事件代号event code 事件event 事件代号event code 事件event 事件代号event code 事件event TT 液力端故障Liquid end failure X1X1 吸入管路密封不严The suction line is not tightly sealed X9X9 缸盖未上紧Cylinder head not tightened AA 吸入管故障Suction pipe failure X2X2 吸入滤网堵死Clogged suction filter X10X10 缸盖压盖松动Cylinder head cover loose BB 阀故障valve failure X3X3 阀磨损严重Serious valve wear X11X11 排出滤筒堵塞Clogged discharge filter cartridge CC 活塞故障Piston failure X4X4 阀盖未上紧The valve cover is not tightened X12X12 排出管路堵塞Blocked discharge line DD 液缸故障Cylinder failure X5X5 导向套卡死Guide bush stuck X13X13 充气接头堵死Inflatable connector blocked EE 排出管故障Discharge pipe failure X6X6 活塞磨损严重Severely worn piston X14X14 空气包内囊破裂ruptured air bag FF 空气包故障Air bag failure X7X7 活塞螺母松动Piston nut loose X15X15 截止阀密封不严The globe valve is not tightly sealed GG 安全阀故障Safety valve failure X8X8 液缸进入空气Cylinder enters air X16X16 安全阀设置不当Improperly set safety valve

其中,T为顶事件,A、B、C、D、E、F、G为中间事件,X1-X15为底事件。Among them, T is the top event, A, B, C, D, E, F, G are the middle events, and X1-X15 are the bottom events.

2、根据钻井泵液力端的工作原理和故障发生机理,使用相应的动态逻辑门将各级事件与顶事件相连,从底事件至顶事件,采用动态逻辑门将各级事件进行相连,得到钻井泵液力端的动态故障树,如附图2。2. According to the working principle and failure mechanism of the hydraulic end of the drilling pump, use the corresponding dynamic logic gate to connect the events at all levels with the top event, from the bottom event to the top event, use the dynamic logic gate to connect the events at all levels to obtain the drilling pump fluid. The dynamic fault tree of the force end is shown in Figure 2.

步骤2:根据系统的失效分布模型建立“率参数λ--划分数n”对应关系Step 2: According to the failure distribution model of the system, establish the corresponding relationship of "rate parameter λ--division number n"

1、首先把动态故障树模型的拓扑结构转化成贝叶斯网络模型的网络结构。再根据式1-6中的条件概率表构造方法,运用Matlab编制各种逻辑门的条件概率表构造函数,再运用BNT工具箱及变量消元算法求解BN模型。1. First, transform the topology of the dynamic fault tree model into the network structure of the Bayesian network model. Then, according to the conditional probability table construction method in formula 1-6, use Matlab to compile the conditional probability table construction function of various logic gates, and then use the BNT toolbox and the variable elimination algorithm to solve the BN model.

2、考虑到计算量的问题,将n的取值范围定在[1,10]以内,选取不同的率参数λ计算系统的可靠度,对比各组数据之间系统可靠度的最大差值比例,可以获得率参数λ在不同范围内应选取的最合适的时间划分数n,并建立“率参数λ--划分数n”对应关系。2. Considering the problem of calculation amount, set the value range of n within [1,10], select different rate parameters λ to calculate the reliability of the system, and compare the maximum difference ratio of the system reliability between each group of data , the most suitable time division number n that should be selected in different ranges of the rate parameter λ can be obtained, and the corresponding relationship of "rate parameter λ--division number n" can be established.

以λ∈(0.1×10-6h-1,4.5×10-6h-1)的率参数为例,假设任务时间t=50000h,当n取2、3、4时,系统可靠度随时间的变化曲线如附图3。由计算数据分析得到:在每个时间点上,n取3获得的数据与n取2获得的数据可靠度的最大差值比例为0.0521%,n取4获得的数据与n取3获得的数据可靠度的最大差值比例为0.0297%,因此在(0.1×10-6h-1,4.5×10-6h-1)区间内的率参数λ对应的时间划分数n为4。Taking the rate parameter of λ∈(0.1×10 -6 h -1 , 4.5×10 -6 h -1 ) as an example, assuming that the task time t=50000h, when n is 2, 3, and 4, the system reliability varies with time The change curve is shown in Figure 3. It is obtained from the analysis of the calculated data: at each time point, the maximum difference between the data obtained by n is 3 and the data obtained by n is 2 is 0.0521%, the data obtained by n is 4 and the data obtained by n is 3 The maximum difference ratio of reliability is 0.0297%, so the time division number n corresponding to the rate parameter λ in the interval of (0.1×10 -6 h -1 , 4.5×10 -6 h -1 ) is 4.

步骤3:定义网络中节点的状态Step 3: Define the state of the nodes in the network

把整个任务构成的时间区间[0,t]分成n个长度相等的子区间,每个子区间的长度为Δ=t/n,则整个时间轴[0,+∞)被划分成n+1个子区间。当某节点A对应的零部件在任务时间t内第i个时间区间内发生失效时,即A在时间区间[(i-1)Δ,iΔ]内失效,则称节点A处于状态i。如果A在任务时间t内未失效,即A在[t,∞)内失效,则称A处于状态n+1。Divide the time interval [0, t] composed of the entire task into n sub-intervals of equal length, and the length of each sub-interval is Δ=t/n, then the entire time axis [0, +∞) is divided into n+1 sub-intervals interval. When a component corresponding to a node A fails within the i-th time interval within the task time t, that is, A fails within the time interval [(i-1)Δ, iΔ], then the node A is said to be in state i. If A does not fail within task time t, that is, A fails within [t, ∞), then A is said to be in state n+1.

通过以上定义,得到贝叶斯网络中的所有节点的状态空间为如下的时间区间:Through the above definition, the state space of all nodes in the Bayesian network is obtained as the following time interval:

[0,Δ],(Δ,2Δ],…,((n-1)Δ,nΔ],(nΔ,+∞)。简记为{1,2,…,n+1},系统以及不见的失效时间X总对应着n+1个区间的某一个区间i。系统处于前n个状态的概率之和即为该系统在任务时间t时的故障率,系统处于第n+1个状态的概率即为系统在任务时间t时的非故障率。[0,Δ],(Δ,2Δ],…,((n-1)Δ,nΔ],(nΔ,+∞). Abbreviated as {1,2,…,n+1}, the system and the invisible The failure time X always corresponds to a certain interval i of n+1 intervals. The sum of the probabilities of the system in the first n states is the failure rate of the system at the task time t, and the system is in the n+1th state. The probability is the non-failure rate of the system at task time t.

步骤4:将动态故障树模型转换为贝叶斯网络模型;Step 4: Convert the dynamic fault tree model to a Bayesian network model;

按照动态故障树的顶事件、中间事件、底事件分别对应贝叶斯网络模型的根节点、中间节点、叶子节点的规则将动态故障树事件转化为贝叶斯网络节点,与门(AND)、或门(OR)、优先与门(PAND)转化为贝叶斯网络模型规则如附图4,顺序相关门(SEQ)先转换为优先与门再转化为贝叶斯网络模型如附图5,功能相关门(FDEP)转化为贝叶斯网络模型如附图6。按照上述规则,钻井泵液力端动态故障树转换为贝叶斯网络模型如附图7。在贝叶斯网络模型中,每个根节点旁列有一个边缘概率分布表(Marginal ProbabilityDistribution,MPD),分别列出该节点的所有状态及其对应的概率。每个非根节点带有一个条件概率分布表(Conditional Probability Distribution,CPD),记录该节点在给定其父节点的状态组合下的条件概率分布。According to the rules that the top event, middle event and bottom event of the dynamic fault tree correspond to the root node, middle node and leaf node of the Bayesian network model respectively, the dynamic fault tree event is transformed into a Bayesian network node, and the AND gate (AND), OR gate (OR), priority AND gate (PAND) are converted into Bayesian network model rules as shown in Figure 4, sequence correlation gate (SEQ) is first converted into priority AND gate and then converted into Bayesian network model as shown in Figure 5, The functional correlation gate (FDEP) was transformed into a Bayesian network model as shown in Figure 6. According to the above rules, the dynamic fault tree of the hydraulic end of the drilling pump is converted into a Bayesian network model as shown in Figure 7. In the Bayesian network model, there is a marginal probability distribution table (Marginal Probability Distribution, MPD) next to each root node, which lists all the states of the node and their corresponding probabilities. Each non-root node has a conditional probability distribution table (Conditional Probability Distribution, CPD), which records the conditional probability distribution of the node given the state combination of its parent nodes.

步骤5:建立所有结点的概率分布Step 5: Build the probability distribution of all nodes

即完成对基于贝叶斯网络的动态故障树故障诊断的定量分析。That is, the quantitative analysis of dynamic fault tree fault diagnosis based on Bayesian network is completed.

与门AND gate

令X=[X1,X2,…,Xm],其中m为与门的输入事件个数,Xi,i=1,2,…,m为输入事件的状态变量,其状态组合数为(n+1)m,n为时间划分数。令Y为与门输出的状态变量,所有变量的状态空间都为{1,2,…,n+1},令k=max(X1,X2,…,Xm)。与门的失效机理为所有输入事件发生则输出事件发生,则输出事件应处于所有事件的状态值的最大值,因此,在输入事件任意状态组合中,Y的条件概率分布为:Let X=[X 1 ,X 2 ,...,X m ], where m is the number of input events of the AND gate, X i ,i=1,2,...,m is the state variable of the input event, and the number of state combinations thereof is (n+1) m , where n is the number of time divisions. Let Y be the state variable output by the AND gate, the state space of all variables is {1,2,...,n+1}, let k=max(X 1 ,X 2 ,...,X m ). The failure mechanism of the AND gate is that the output event occurs when all input events occur, and the output event should be at the maximum value of the state values of all events. Therefore, in any state combination of input events, the conditional probability distribution of Y is:

Figure BDA0002749333900000071
Figure BDA0002749333900000071

表示在与门输出节点的CPD表中,元素的取值为0或1,且每一行中仅在输入事件状态最大值对应的列上的元素为1,其他元素为0。Indicates that in the CPD table of the output node of the AND gate, the value of the element is 0 or 1, and only the element in the column corresponding to the maximum value of the input event state in each row is 1, and the other elements are 0.

或门OR gate

和与门类似,不同点在于,或门的失效机理为只要输入事件中有一个件发生则输出事件发生,因此或门输出事件的状态与输入事件中状态的最小值相同。令r=min(X1,X2,…,Xm),则或门输出事件的条件概率分布为Similar to the AND gate, the difference is that the failure mechanism of the OR gate is that as long as one of the input events occurs, the output event occurs, so the state of the OR gate output event is the same as the minimum value of the state in the input event. Let r=min(X 1 , X 2 ,...,X m ), then the conditional probability distribution of the OR gate output event is

Figure BDA0002749333900000072
Figure BDA0002749333900000072

该分布同与门的形式一致,区别在于每一行中在输入事件状态的最小值对应的列上的元素为1,其它元素为0。The distribution is the same as the form of the AND gate, the difference is that the element in the column corresponding to the minimum value of the input event state in each row is 1, and the other elements are 0.

优先与门priority AND gate

假设输入事件为A、B,输出事件为Y,状态值分别为a、b和y。优先与门的失效机理为在A与B都失效的情况下,A比B先失效,事件Y才会发生,即当a<b时,输出事件Y处于状态b;反之,输出事件Y处于状态n+1,代表Y未发生故障。Y的条件概率分布如下:Suppose the input events are A, B, the output event is Y, and the state values are a, b, and y, respectively. The failure mechanism of the priority AND gate is that when both A and B fail, A fails before B before event Y occurs, that is, when a < b, output event Y is in state b; otherwise, output event Y is in state n+1, which means that Y has not failed. The conditional probability distribution of Y is as follows:

当a<b时,When a < b,

Figure BDA0002749333900000081
Figure BDA0002749333900000081

当a≥b时,When a≥b,

Figure BDA0002749333900000082
Figure BDA0002749333900000082

公式3表明当输入事件满足优先失效条件时,输出事件处于输入事件B所在状态的概率为1。公式4表明当输入事件不满足优先失效条件时,输出事件Y处于状态n+1的概率为1。Equation 3 shows that when the input event satisfies the priority failure condition, the probability that the output event is in the state of the input event B is 1. Equation 4 indicates that when the input event does not satisfy the priority failure condition, the probability that the output event Y is in state n+1 is 1.

顺序相关门:Sequence dependent gates:

顺序相关门强制其输入事件按照特定的顺序发生,而不会按照其它的顺序发生失效。顺序相关门与优先与门类似,都表示基本事件的时序性,它们的区别在于:顺序相关门中的输入事件不能按照任意顺序失效;而优先与门可以以任意顺序失效,只有特定顺序的失效才会触发其输出事件的失效。因此在计算时将顺序相关门转换为多个优先与门级联的形式。Sequence-dependent gates force their input events to occur in a particular order and not fail in any other order. Sequential correlation gates are similar to priority AND gates in that they both represent the timing of basic events. The difference between them is that input events in sequential correlation gates cannot fail in any order; while priority AND gates can fail in any order, only in a specific order. will trigger the failure of its output event. Therefore, the sequential correlation gate is converted into a cascaded form of multiple priority AND gates during calculation.

功能相关门function related gate

假设功能相关门只有一个相关输入事件A,触发事件为Tr,输出事件为T。当Tr发生时其相关事件A发生,输出事件T发生;当A独立发生失效时,输出事件T也会发生。也就是说,事件A无论是独立失效还是相关失效,都会导致输出事件T的发生。为了更加直观和方便地确定节点的CPD表(条件概率分布表),在输入事件与输出事件之间增加一个中间节点A′来代表因Tr触发或者由A本身的独立失效所导致的A失效的总失效事件(如果不增加该节点,节点A的失效概率分布将不再是边缘分布,而是受Tr影响的条件概率分布)。因此其条件概率分布表即为一个单位矩阵E,其条件概率分布为:Assume that the function-related gate has only one related input event A, the trigger event is Tr, and the output event is T. When Tr occurs, its related event A occurs, and output event T occurs; when A fails independently, output event T also occurs. That is to say, whether event A is an independent failure or a related failure, it will lead to the occurrence of output event T. In order to determine the CPD table (conditional probability distribution table) of the node more intuitively and conveniently, an intermediate node A' is added between the input event and the output event to represent the failure of A caused by Tr triggering or the independent failure of A itself. Total failure events (if this node is not added, the failure probability distribution of node A will no longer be a marginal distribution, but a conditional probability distribution affected by Tr). Therefore, its conditional probability distribution table is a unit matrix E, and its conditional probability distribution is:

Figure BDA0002749333900000083
Figure BDA0002749333900000083

步骤6:反向推理求得故障诊断结果Step 6: Reverse reasoning to obtain fault diagnosis results

根据贝叶斯网络的条件独立性可知,每个节点的条件概率分布可以表示为P(Xi|pa(Xi)),用以表达节点与父节点之间的定量关系。在给定根节点的先验概率分布和非根节点的条件概率分布的条件下,可以得到包含所有节点的联合概率分布,进而对目标节点进行边缘化计算,得到其边缘概率分布。最后利用贝叶斯网络的反向推理,计算出各个底事件的故障概率,根据故障概率大小排列,输出诊断结果。According to the conditional independence of the Bayesian network, the conditional probability distribution of each node can be expressed as P(X i |pa(X i )) to express the quantitative relationship between the node and the parent node. Given the prior probability distribution of the root node and the conditional probability distribution of the non-root nodes, the joint probability distribution including all nodes can be obtained, and then the marginalized calculation of the target node is performed to obtain its marginal probability distribution. Finally, using the reverse reasoning of the Bayesian network, the failure probability of each bottom event is calculated, and the diagnosis results are output according to the size of the failure probability.

包含m个节点的DTBN中,非叶节点用事件Ui(1≤i≤m-1)表示,Ui的发生区间为{[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)}。如果顶事件UT在任务时间T内发生,则顶事件的发生时刻必定在[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(nΔ,+∞)其中一个区间内。因此,UT在任务时间T内发生的概率可直接计算得到并表示为:In a DTBN containing m nodes, non-leaf nodes are represented by events U i (1≤i≤m-1), and the occurrence interval of U i is {[0,Δ],(Δ,2Δ],...,( (n-1)Δ,nΔ],(T,+∞)}.If the top event U T occurs within the task time T, then the top event must occur at [0,Δ],(Δ,2Δ], ...,((n-1)Δ,nΔ],(nΔ,+∞) in one of the intervals. Therefore, the probability of U T occurring within the task time T can be directly calculated and expressed as:

Figure BDA0002749333900000091
Figure BDA0002749333900000091

式中,ui表示Ui的发生区间,ui属于{[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)}。In the formula, ui represents the occurrence interval of U i , and ui belongs to {[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)} .

然后使用反向推理的方法可以求得系统故障时各个部件的失效概率。Then the failure probability of each component can be obtained when the system fails by using the method of reverse reasoning.

钻井泵液力端故障分布函数近似的指数分布的率参数λ在区间(0.1×10-6h-1,4.5×10-6h-1)之内,因此时间划分数n取4。当系统故障时,即叶子节点状态为5时,利用贝叶斯网络的反向推理,计算出各个底事件的故障概率如表2所示。The rate parameter λ of the exponential distribution approximated by the hydraulic end fault distribution function of the drilling pump is within the interval (0.1×10 -6 h -1 , 4.5×10 -6 h -1 ), so the time division number n is taken as 4. When the system fails, that is, when the state of the leaf node is 5, the reverse reasoning of the Bayesian network is used to calculate the failure probability of each bottom event as shown in Table 2.

表2顶事件发生时各底事件故障概率表Table 2 Failure probability of each bottom event when the top event occurs

事件代号event code 故障概率Failure probability 事件代号event code 故障概率Failure probability X1X1 0.02310.0231 X9X9 0.05610.0561 X2X2 0.02610.0261 X10X10 0.04720.0472 X3X3 0.10900.1090 X11X11 0.08420.0842 X4X4 0.03540.0354 X12X12 0.02330.0233 X5X5 0.02610.0261 X13X13 0.04630.0463 X6X6 0.01160.0116 X14X14 0.03210.0321 X7X7 0.15620.1562 X15X15 0.05690.0569 X8X8 0.10080.1008 X16X16 0.01030.0103

由此表,X16失效的概率最小,而X7、X3、X8的故障概率最大,因此活塞螺母松动、阀磨损严重、液缸进入空气的故障发生概率较大。From this table, the probability of failure of X16 is the smallest, while the probability of failure of X7, X3, and X8 is the largest. Therefore, the failure probability of loose piston nut, serious valve wear, and air entering the cylinder is more likely.

Claims (3)

1.一种基于动态故障树的钻井泵液力端故障诊断方法,该方法包括:1. A method for diagnosing faults at the hydraulic end of a drilling pump based on a dynamic fault tree, the method comprising: 步骤1:采用演绎推理法建立钻井泵液力系统动态故障树:Step 1: Use the deductive reasoning method to establish the dynamic fault tree of the drilling pump hydraulic system: 步骤1.1:以钻井泵液力端故障作为动态故障树的顶部事件,以液力端中主部件里的子部件易发生的故障作为中间事件,子部件中元器件的故障作为底事件;Step 1.1: Take the failure of the hydraulic end of the drilling pump as the top event of the dynamic fault tree, take the failure of the sub-components in the main component in the hydraulic end as the intermediate event, and the failure of the components in the sub-component as the bottom event; 步骤1.2:根据钻井泵液力端的工作原理和故障发生机理,使用相应的动态逻辑门将各级事件与顶事件相连,从底事件至顶事件,采用动态逻辑门将各级事件进行相连,得到钻井泵液力端的动态故障树;Step 1.2: According to the working principle and failure mechanism of the hydraulic end of the drilling pump, use the corresponding dynamic logic gate to connect the events at all levels with the top event, from the bottom event to the top event, use the dynamic logic gate to connect the events at all levels to obtain the drilling pump. Dynamic fault tree of the liquid end; 步骤2:将动态故障树转换为贝叶斯网络模型,并建立“率参数λ--时间划分数n”对应关系;Step 2: Convert the dynamic fault tree into a Bayesian network model, and establish the corresponding relationship of "rate parameter λ--time division number n"; 步骤2.1:把动态故障树转化成贝叶斯网络模型;其中动态故障树的顶事件、中间事件、底事件分别对应贝叶斯网络模型的根节点、中间节点、叶子节点, 动态故障树中各逻辑门在贝叶斯网络模型中的表达方法为:Step 2.1: Convert the dynamic fault tree into a Bayesian network model; the top event, middle event, and bottom event of the dynamic fault tree correspond to the root node, middle node, and leaf node of the Bayesian network model, respectively. The expression method of logic gate in Bayesian network model is: 与门:AND gate: 令X=[X1,X2,…,Xm],其中m为与门的输入事件个数,Xi,i=1,2,…,m为输入事件的状态变量,其状态组合数为(n +1)m;令Y为与门输出的状态变量,所有变量的状态空间都为{1,2,…,n +1},令k=max(X1,X2,…,Xm),j为判断定值;与门的失效机理为所有输入事件发生则输出事件发生,则输出事件应处于所有事件的状态值的最大值,因此,在输入事件任意状态组合中,Y的条件概率分布为:Let X=[X 1 ,X 2 ,...,X m ], where m is the number of input events of the AND gate, X i ,i=1,2,...,m is the state variable of the input event, and the number of state combinations thereof is (n +1) m ; let Y be the state variable output by the AND gate, the state space of all variables is {1,2,...,n +1}, let k=max(X 1 ,X 2 ,..., X m ), j is the judgment value; the failure mechanism of the AND gate is that the output event occurs when all input events occur, then the output event should be at the maximum value of the state values of all events, therefore, in any state combination of input events, Y The conditional probability distribution of is:
Figure FDA0002749333890000011
Figure FDA0002749333890000011
或门:OR gate: 或门的失效机理为只要输入事件中有一个件发生则输出事件发生,因此或门输出事件的状态与输入事件中状态的最小值相同;令r=min(X1,X2,…,Xm),则或门输出事件的条件概率分布为:The failure mechanism of the OR gate is that as long as one of the input events occurs, the output event occurs, so the state of the OR gate output event is the same as the minimum value of the state in the input event; let r=min(X 1 ,X 2 ,...,X m ), then the conditional probability distribution of the OR gate output event is:
Figure FDA0002749333890000012
Figure FDA0002749333890000012
优先与门:Priority AND gate: 假设输入事件为A、B,输出事件为Y,状态值分别为a、b和y,优先与门的失效机理为在A与B都失效的情况下,A比B先失效,事件Y才会发生,即当a<b时,输出事件Y处于状态b;反之,输出事件Y处于状态n +1,代表Y未发生故障;则优先与门输出事件Y的条件概率分布如下:Assuming that the input events are A and B, the output event is Y, and the state values are a, b, and y, respectively, the failure mechanism of the priority AND gate is that when both A and B fail, A fails before B, and event Y will fail. occurs, that is, when a<b, the output event Y is in state b; otherwise, the output event Y is in state n + 1, which means that Y has not failed; then the conditional probability distribution of the output event Y of the priority AND gate is as follows: 当a<b时,When a < b,
Figure FDA0002749333890000021
Figure FDA0002749333890000021
当a≥b时,When a≥b,
Figure FDA0002749333890000022
Figure FDA0002749333890000022
顺序相关门:Sequence dependent gates: 顺序相关门强制其输入事件按照特定的顺序发生,而不会按照其它的顺序发生失效;顺序相关门与优先与门类似,都表示基本事件的时序性,它们的区别在于:顺序相关门中的输入事件不能按照任意顺序失效;而优先与门可以以任意顺序失效,只有特定顺序的失效才会触发其输出事件的失效; 因此顺序相关门可以改为多个优先与门级联的形式;The sequential correlation gate forces its input events to occur in a specific order, and will not fail in other orders; the sequential correlation gate is similar to the priority AND gate, both of which represent the timing of basic events. The difference between them is: the sequential correlation gate The input events cannot fail in any order; the priority AND gate can fail in any order, and only the failure of a specific order will trigger the failure of its output event; therefore, the sequence-dependent gate can be changed to a cascade of multiple priority AND gates; 功能相关门:Function related gates: 设功能相关门只有一个相关输入事件A,触发事件为Tr,输出事件为T;当Tr发生时其相关事件A发生,输出事件T发生;当A独立发生失效时,输出事件T也会发生;在输入事件与输出事件之间增加一个中间节点A′来代表因Tr触发或者由A本身的独立失效所导致的A失效的总失效事件,p,q为对应的事件状态,则功能相关门输出事件的条件概率分布为:Suppose the function-related gate has only one related input event A, the trigger event is Tr, and the output event is T; when Tr occurs, its related event A occurs, and output event T occurs; when A fails independently, output event T also occurs; An intermediate node A' is added between the input event and the output event to represent the total failure event of A failure caused by Tr triggering or the independent failure of A itself, p, q are the corresponding event states, then the function-related gate output The conditional probability distribution of the event is:
Figure FDA0002749333890000023
Figure FDA0002749333890000023
步骤2.2:设定n的取值范围,采用事先采集的多组数据,选取不同的率参数λ计算系统的可靠度;对比各组数据之间系统可靠度的最大差值比例,可以获得率参数λ在不同范围内应选取的最合适的时间划分数n,并建立“率参数λ--划分数n”对应关系;Step 2.2: Set the value range of n, use multiple sets of data collected in advance, and select different rate parameters λ to calculate the reliability of the system; compare the maximum difference ratio of the system reliability between each group of data, the rate parameter can be obtained λ should select the most suitable time division number n in different ranges, and establish the corresponding relationship of "rate parameter λ--division number n"; 步骤3:定义贝叶斯网络模型中节点的状态;Step 3: Define the state of the nodes in the Bayesian network model; 把整个任务构成的时间区间[0,t]分成n个长度相等的子区间,每个子区间的长度为Δ=t/n,则整个时间轴[0,+∞)被划分成n+1个子区间;当某节点A对应的零部件在任务时间t内第i个时间区间内发生失效时,即A在时间区间[(i-1)Δ,iΔ]内失效,则称节点A处于状态i;如果A在任务时间t内未失效,即A在[t,∞)内失效,则称A处于状态n+1;Divide the time interval [0, t] composed of the entire task into n sub-intervals of equal length, and the length of each sub-interval is Δ=t/n, then the entire time axis [0, +∞) is divided into n+1 sub-intervals interval; when a component corresponding to a node A fails within the i-th time interval within the task time t, that is, A fails within the time interval [(i-1)Δ, iΔ], then node A is said to be in state i ; If A does not fail within task time t, that is, A fails within [t, ∞), then A is in state n+1; 通过以上定义,得到贝叶斯网络中的所有节点的状态空间为如下的时间区间:Through the above definition, the state space of all nodes in the Bayesian network is obtained as the following time interval: [0,Δ],(Δ,2Δ],…,((n-1)Δ,nΔ],(nΔ,+∞),简记为{1,2,...,n+1},系统以及部件的失效时间X总对应着n+1个区间的某一个区间i;系统处于前n个状态的概率之和即为该系统在任务时间t时的故障率,系统处于第n+1个状态的概率即为系统在任务时间t时的非故障率;[0,Δ],(Δ,2Δ],…,((n-1)Δ,nΔ],(nΔ,+∞), abbreviated as {1,2,...,n+1}, the system And the failure time X of the component always corresponds to a certain interval i of n+1 intervals; the sum of the probabilities that the system is in the first n states is the failure rate of the system at the task time t, and the system is in the n+1th The probability of the state is the non-failure rate of the system at task time t; 步骤4:根据贝叶斯网络模型中节点的状态建立所有结点的概率分布,完成对基于贝叶斯网络的动态故障树故障诊断的定量计算;Step 4: establish the probability distribution of all nodes according to the state of the nodes in the Bayesian network model, and complete the quantitative calculation of the dynamic fault tree fault diagnosis based on the Bayesian network; 步骤5:反向推理求得故障诊断结果;Step 5: Reverse reasoning to obtain fault diagnosis results; 每个节点的条件概率分布表示为P(Xi|pa(Xi)),用以表达子节点与父节点之间的定量关系;在给定根节点的先验概率分布和非根节点的条件概率分布的条件下,得到包含所有节点的联合概率分布,进而对目标节点进行边缘化计算,得到其边缘概率分布;最后利用贝叶斯网络的反向推理,计算出各个底事件的故障概率,根据故障概率大小排列,输出诊断结果。The conditional probability distribution of each node is expressed as P(X i |pa(X i )), which is used to express the quantitative relationship between child nodes and parent nodes; the prior probability distribution at a given root node and the non-root node’s Under the condition of conditional probability distribution, the joint probability distribution including all nodes is obtained, and then the target node is marginalized to obtain its marginal probability distribution; finally, the failure probability of each bottom event is calculated by the reverse reasoning of Bayesian network. , arrange according to the size of the failure probability, and output the diagnosis results.
2.如权利要求1所述的一种基于动态故障树的钻井泵液力端故障诊断方法,其特征在于,所述步骤1.1中的顶事件为液力端故障,中间事件为:吸入管故障、阀故障、活塞故障、液缸故障、排出管故障、空气包故障、安全阀故障,底事件为:吸入管路密封不严、吸入滤网堵死、阀磨损严重、阀盖未上紧、导向套卡死、活塞磨损严重、活塞螺母松动、液缸进入空气、缸盖未上紧、缸盖压盖松动、排出滤筒堵塞、排出管路堵塞、充气接头堵死、空气包内囊破裂、截止阀密封不严、安全阀设置不当;2. The method for diagnosing the hydraulic end of a drilling pump based on a dynamic fault tree as claimed in claim 1, wherein the top event in the step 1.1 is a hydraulic end failure, and the middle event is: a suction pipe failure , valve failure, piston failure, cylinder failure, discharge pipe failure, air bag failure, safety valve failure, the bottom events are: the suction pipeline is not tightly sealed, the suction filter is blocked, the valve is seriously worn, the valve cover is not tightened, The guide sleeve is stuck, the piston is seriously worn, the piston nut is loose, the cylinder enters the air, the cylinder head is not tightened, the cylinder head gland is loose, the discharge filter cartridge is blocked, the discharge pipeline is blocked, the inflation joint is blocked, and the inner bag of the air bag is ruptured , The shut-off valve is not tightly sealed, and the safety valve is improperly set; 步骤1.2中各事件之间的关系为:The relationship between the events in step 1.2 is: 吸入管路密封不严、吸入滤网堵死通过优先与门与吸入管故障相连;阀磨损严重、阀盖未上紧、导向套卡死通过或门与阀故障相连;活塞磨损严重、活塞螺母松动通过或门与活塞故障相连;液缸进入空气、缸盖未上紧、缸盖压盖松动通过顺序相关门与液缸故障相连;排出滤筒堵塞、排出管路堵塞通过或门与排出管故障相连;充气接头堵死、空气包内囊破裂、截止阀密封不严通过功能相关门与空气包故障相连,充气接头堵死和截止阀密封不严为功能相关门的相关事件输入,空气包内囊破裂为功能相关门的触发事件输入,空气包故障为功能相关门的输出;安全阀设置不当通过与门与安全阀故障相连。The suction pipeline is not tightly sealed, the suction filter screen is blocked and the door is connected to the suction pipe fault; the valve is seriously worn, the valve cover is not tightened, the guide sleeve is stuck through or the door is connected to the valve fault; the piston is seriously worn, and the piston nut Looseness is connected to the fault of the piston through the OR door; the cylinder enters the air, the cylinder head is not tightened, the cylinder head gland is loose and is connected to the fault of the cylinder through the sequence-related door; the discharge filter cartridge is blocked, the discharge line is blocked, and the or door is connected to the discharge pipe The fault is connected; the inflation joint is blocked, the inner bag of the air bag is ruptured, and the shut-off valve is not tightly sealed. It is connected to the air bag fault through the function-related door. The rupture of the inner bag is the trigger event input of the function-related door, and the air bag failure is the output of the function-related door; the improper setting of the safety valve is connected with the door and the safety valve fault. 3.如权利要求1所述的一种基于动态故障树的钻井泵液力端故障诊断方法,其特征在于,所述步骤5的具体方法为:3. a kind of fault diagnosis method of drilling pump hydraulic end based on dynamic fault tree as claimed in claim 1, is characterized in that, the concrete method of described step 5 is: 包含m个节点的离散时间贝叶斯网络DTBN中,非叶节点用事件Ui表示,其中1≤i≤m-1,Ui的发生区间为{[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)};如果顶事件UT在任务时间T内发生,则顶事件的发生时刻必定在[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(nΔ,+∞)其中一个区间内;因此,UT在任务时间T内发生的概率可直接计算得到并表示为:In the discrete-time Bayesian network DTBN containing m nodes, the non-leaf nodes are represented by events U i , where 1≤i≤m-1, and the occurrence interval of U i is {[0,Δ],(Δ,2Δ] ,...,((n-1)Δ,nΔ],(T,+∞)}; if the top event U T occurs within the task time T, then the top event must occur at [0,Δ], (Δ,2Δ],...,((n-1)Δ,nΔ],(nΔ,+∞) in one of the intervals; therefore, the probability of U T occurring within the task time T can be directly calculated and expressed for:
Figure FDA0002749333890000041
Figure FDA0002749333890000041
式中,ui表示Ui的发生区间,ui属于{[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)};In the formula, ui represents the occurrence interval of U i , and ui belongs to {[0,Δ],(Δ,2Δ],...,((n-1)Δ,nΔ],(T,+∞)} ; 然后使用反向推理的方法可以求得系统故障时各个部件的失效概率。Then the failure probability of each component can be obtained when the system fails by using the method of reverse reasoning.
CN202011178173.4A 2020-10-29 2020-10-29 A fault diagnosis method for hydraulic end of drilling pump based on dynamic fault tree Expired - Fee Related CN112270128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011178173.4A CN112270128B (en) 2020-10-29 2020-10-29 A fault diagnosis method for hydraulic end of drilling pump based on dynamic fault tree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011178173.4A CN112270128B (en) 2020-10-29 2020-10-29 A fault diagnosis method for hydraulic end of drilling pump based on dynamic fault tree

Publications (2)

Publication Number Publication Date
CN112270128A CN112270128A (en) 2021-01-26
CN112270128B true CN112270128B (en) 2022-10-11

Family

ID=74344882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011178173.4A Expired - Fee Related CN112270128B (en) 2020-10-29 2020-10-29 A fault diagnosis method for hydraulic end of drilling pump based on dynamic fault tree

Country Status (1)

Country Link
CN (1) CN112270128B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114925865A (en) * 2022-06-08 2022-08-19 山西科达自控股份有限公司 Fault diagnosis method for electromechanical braking system of mine electric locomotive and storage medium
CN115167358A (en) * 2022-07-14 2022-10-11 中铁第四勘察设计院集团有限公司 A fault diagnosis method, device, system and storage medium
CN117236428A (en) * 2023-09-12 2023-12-15 哈尔滨工程大学 Bayesian network-based fault diagnosis method for complex system in nuclear power plant

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6336108B1 (en) * 1997-12-04 2002-01-01 Microsoft Corporation Speech recognition with mixtures of bayesian networks
CN104063586A (en) * 2014-06-11 2014-09-24 西北工业大学 Polymorphic failure tree-based bayesian network failure prediction method
CN106401597A (en) * 2016-10-27 2017-02-15 华中科技大学 A failure prediction and diagnosis control method suitable for shield machine
CN110442833A (en) * 2019-06-10 2019-11-12 内蒙古工业大学 One kind assessing Wind turbines health state evaluation method based on various dimensions SCADA data
CN111275195A (en) * 2020-02-13 2020-06-12 辽宁石油化工大学 A dynamic Bayesian network modeling method based on coal gasification equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8832497B2 (en) * 2012-02-07 2014-09-09 A.L.D. Advanced Logistics Development Ltd Methods, apparatus and systems for performing dynamic fault tree analysis

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6336108B1 (en) * 1997-12-04 2002-01-01 Microsoft Corporation Speech recognition with mixtures of bayesian networks
CN104063586A (en) * 2014-06-11 2014-09-24 西北工业大学 Polymorphic failure tree-based bayesian network failure prediction method
CN106401597A (en) * 2016-10-27 2017-02-15 华中科技大学 A failure prediction and diagnosis control method suitable for shield machine
CN110442833A (en) * 2019-06-10 2019-11-12 内蒙古工业大学 One kind assessing Wind turbines health state evaluation method based on various dimensions SCADA data
CN111275195A (en) * 2020-02-13 2020-06-12 辽宁石油化工大学 A dynamic Bayesian network modeling method based on coal gasification equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Dynamic Fault-tree Models for Fault-Tolerant Computer Systems;Joanne Bechta Dugan等;《IEEE TRANSACTIONS ON RELIABILITY》;19920930;第41卷(第3期);363-377 *
基于动态故障树的钻井泵故障诊断专家系统的设计与实现;何旋;《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》;20220115(第(2022)01期);B019-160 *
复杂系统动态故障树分析的新方法及其应用研究;李彦锋;《中国博士学位论文全文数据库 工程科技Ⅱ辑》;20140615(第(2014)06期);C029-27 *

Also Published As

Publication number Publication date
CN112270128A (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN112270128B (en) A fault diagnosis method for hydraulic end of drilling pump based on dynamic fault tree
CN112365066B (en) Elevator fault prediction method, system, device, computer equipment and storage medium
CN105717912B (en) A kind of electromechanical actuator analysis method for reliability based on fuzzy dynamic fault tree
CN108491860B (en) Shale gas fracturing equipment full life cycle real-time reliability dynamic evaluation method and device
CN106503368A (en) A kind of multi-state System Reliability modeling method related based on failure mechanism
CN111581831B (en) Failure-related multi-state system reliability assessment method
Gong et al. Remaining useful life prediction based on multisensor fusion and attention TCN-BiGRU model
CN107516104A (en) A method and device for generating an optimized CART decision tree based on dichotomy
JP7351050B1 (en) Safety diagnosis method and device for airplane landing gear
CN104503434A (en) Fault diagnosis method based on active fault symptom pushing
Shiozaki et al. Fault diagnosis of chemical processes utilizing signed directed graphs-improvement by using temporal information
CN110210150B (en) Aero-engine reliability analysis method based on multi-state multivalued decision diagram
CN109894495B (en) A method and system for anomaly detection of extruder based on energy consumption data and Bayesian network
CN115563824B (en) Machine learning-based two-phase material composite pipe performance prediction method
Kamal An approach to the diagnosis of intermittent faults
CN110333694B (en) Fuzzy Petri network-based numerical control equipment fault diagnosis method
CN112966368B (en) Reliability evaluation method considering common cause failure PMS
CN117094164A (en) Sensor layout optimization method based on mixed information entropy
CN116388769B (en) Computer storage optimization method for environment detection data
CN115526119A (en) Method for automatically generating dynamic fault tree model
CN114462788A (en) Multi-state element reliability evaluation method based on half Markov process
CN116306205A (en) Reliability Evaluation Method of Complex System Based on Discrete Events and Monte Carlo Simulation
CN101387886A (en) How to deal with incomplete fault diagnosis information
CN108334717B (en) Complex equipment motion infinitesimal chain reliability modeling method
CN113361074B (en) A Dynamic Fault Tree Analysis Method Based on Hybrid Binary Decision Diagram

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20221011