Markov model PFD and MTTFsp algorithm based on service time

Through the Markov model PFD and MTTFsp algorithm based on service time, the reliability index of the safety instrument system is calculated by combining the service time and inspection and test coverage, which solves the problem of failing to consider the service time and inspection and test coverage in the existing technology. , achieving a more accurate reliability assessment.

CN115423006BActive Publication Date: 2024-10-15INSTR TECH & ECONOMY INST P R CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211010197.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2024-10-15
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

When calculating the reliability of safety instrument systems, the existing technology fails to fully consider the service time and inspection test coverage of the equipment, resulting in a large gap between the calculation results and the actual reliability, and cannot meet the needs of engineering applications.

Method used

The Markov model PFD and MTTFsp algorithms based on service time are used to calculate the reliability indicators PFDavg and PFSavg of the safety instrument function by introducing service time and inspection test coverage, taking into account common cause failures in multiple structural configurations, and using random transition probability The matrix and the starting probability matrix calculate the state transition diagram, and then calculate the reliability parameters of each component unit.

Benefits of technology

It more truly reflects the reliability level of safety instrument functions, provides a more accurate reference for equipment use and maintenance, and meets the actual needs of the project.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115423006B_ABST
    Figure CN115423006B_ABST
Patent Text Reader

Abstract

The present invention discloses a Markov model PFD and MTTFsp algorithm based on service time. The present invention calculates PFDavg, PFSavg and MTTFsp of the Markov model by combining the structural configuration, inspection and test interval, inspection and test coverage and service time of the safety instrument function. The PFD is displayed as an average value PFDavg corresponding to the service time, and the PFS is displayed as an average value PFSavg corresponding to the service time. PFD is a probability of dangerous failure on demand, PFS is a probability of safe failure, PFDavg is an average probability of dangerous failure on demand, PFSavg is an average probability of safe failure, and MTTFsp is an average time between correct operation and failure. The present invention combines the structural configuration, inspection and test interval, inspection and test coverage and service time on site to more truly reflect the reliability level of the safety instrument function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hardware reliability assessment of safety instrument systems (SIS) in process industries such as petroleum, natural gas, chemical industry, electric power, metallurgy, pharmaceuticals, refrigeration, and offshore platforms, and specifically to a Markov model PFD and MTTFsp algorithm based on service time. Background Art

[0002] Since 2000, with the release of the functional safety basic standards IEC61508 and IEC61511, functional safety technology has been widely used internationally. China has also converted it into GB / T 20438 and GB / T21109. Subsequently, GB / T 35320, GB / T 32857 and other functional safety related technical method standards have been released to provide guidance for the use of functional safety technology to achieve safety assurance in industries such as petroleum, chemical, electric power, pharmaceutical, and railway. With the widespread application of GB / T 20438 and GB / T 21109, the concept of functional safety has been effectively popularized. In process industries such as petroleum, chemical, electric power, and pharmaceutical, functional safety research is about how to ensure that the protection layer, including the safety instrument system, achieves sufficient risk control capabilities. Safety instrument system is a safety control technology that must be used by process industrial enterprises such as petroleum, chemical, electric power, and pharmaceutical. Its characteristics are that it is in a dormant state when the process equipment is operating normally, monitoring the dangers that appear or lurk in the production process, issuing alarm information or directly executing the predetermined program, and immediately bringing the equipment into a safe state to prevent accidents and reduce the hazards and impacts caused by accidents. Safety instrument system is composed of one or more safety instrument functions with specific protection scenarios.

[0003] The reliability indicators for measuring safety instrument functions include PFDavg, PFSavg and MTTFsp. Commonly used reliability calculation methods include reliability block diagram method, fault tree analysis method and Markov model analysis method.

[0004] At present, the common practice in the reliability calculation process is to assume that the failure rate of the equipment during use is a constant. The result calculated based on such an ideal state is often lower than the actual failure rate. This is because during the use of process industry sites, there are objective situations where the failure rate is higher than the constant value due to factors such as aging, deterioration of operating conditions, or inability to fully cover inspection and testing. Therefore, the actual reliability level is lower than the calculated result.

[0005] The paper "Research on Rapid SIL Verification Method Based on Markov Process" published in the 9th issue of "Automation Instrumentation" in 2021, based on Markov process theory, optimizes the high-order matrix power operations in the calculation process of conventional methods. This method theoretically guarantees that there is no loss of calculation accuracy, and the calculation efficiency can be increased by more than 160 times, which solves the problem that the current SIL verification method is difficult to balance the calculation efficiency and accuracy; however, the paper uses the existing Markov model. Such calculation results do not take into account the impact of service time and inspection test coverage on failure rate, and cannot truly reflect the reliability level of the equipment. It cannot provide effective reference and basis for the use and maintenance of on-site equipment, and cannot meet the actual application needs of engineering. Summary of the invention

[0006] The purpose of the present invention is to provide a Markov model PFD and MTTFsp algorithm based on service time. The present invention introduces service time and inspection test coverage into the calculation process according to the on-site operation and maintenance conditions, which can more truly reflect the reliability level of the safety instrument function.

[0007] Taking into account the service time of the equipment, PFD is displayed as the average value PFDavg corresponding to the service time, and PFS is displayed as the average value PFSavg corresponding to the service time; PFD is the probability of dangerous failure on demand, PFDavg is the average probability of dangerous failure on demand, PFS is the probability of safe failure, and PFSavg is the average probability of safe failure.

[0008] To solve the above technical problems, the present invention adopts the following technical solution: a Markov model PFD and MTTFsp algorithm based on service time, comprising the following steps:

[0009] S110. The hardware structure of each component unit of the safety instrument function is configured with a calculation method and state transition diagram based on the Markov model;

[0010] S120. The calculation method of PFDavg, PFSavg and MTTFsp for common hardware structure configurations based on the Markov model introduces detectable dangerous failure rate, undetectable dangerous failure rate, detectable safety failure rate and undetectable safety failure rate. Based on the service time, inspection and test interval and inspection and test coverage, the undetectable dangerous failure rate corresponding to the service time can be calculated. For multiple structure configurations, potential common cause failures should be considered, and common cause failure factors are introduced to calculate the common cause detectable dangerous failure rate, the common cause undetectable dangerous failure rate based on the service time, the common cause detectable safety failure rate, the common cause undetectable safety failure rate, the non-common cause detectable dangerous failure rate, the non-common cause undetectable dangerous failure rate based on the service time, the non-common cause detectable safety failure rate and the non-common cause undetectable safety failure rate;

[0011] S130, bring detectable dangerous failure rate, undetectable dangerous failure rate based on service time, detectable safety failure rate, undetectable safety failure rate, common cause detectable dangerous failure rate, common cause undetectable dangerous failure rate based on service time, common cause detectable safety failure rate, common cause undetectable safety failure rate, non-common cause detectable dangerous failure rate, non-common cause undetectable dangerous failure rate based on service time, non-common cause detectable safety failure rate, and non-common cause undetectable safety failure rate into the random transition probability matrix as needed according to the structural configuration characteristics, obtain the steady-state probability matrix by calculation, and then introduce the starting probability matrix, use the starting probability matrix and the steady-state probability matrix as parameters to calculate the state matrix from day 1 to day y, and then calculate the average probability of each state from state 1 to state w in the state transition diagram;

[0012] S140, calculating the PFDavg of the hardware structure of each component unit of the safety instrument function according to the average probability of the corresponding dangerous failure state in the state transition diagram;

[0013] S150, calculating the PFSavg of the hardware structure of each component unit of the safety instrument function according to the average probability of the corresponding safety failure state in the state transition diagram;

[0014] S160, obtaining a truncation matrix according to the random transition probability matrix, subtracting the truncation matrix from the identity matrix to obtain an intermediate matrix, and performing an inverse calculation on the intermediate matrix to obtain an N matrix;

[0015] S170. Calculate the MTTFsp of the hardware structure of each component unit of the safety instrument function based on the N matrix.

[0016] In the aforementioned Markov model PFD and MTTFsp algorithm based on service time, the hardware structure in step S110 includes 1oo1, 1oo1D, 1oo2, 1oo2D, 1oo3, 2oo2, 2oo2D and 2oo3.

[0017] In the aforementioned Markov model PFD and MTTFsp algorithm based on service time, the step S120 includes:

[0018] S121, PFDavg, PFSavg and MTTFsp calculation methods for common hardware structure configurations based on Markov models, introduction of λ dd , du , sd and λ su ,λ dd is the detectable dangerous failure rate, λ du is the undetectable dangerous failure rate, λ sdis the detectable safety failure rate, λ su is the undetectable safety failure rate;

[0019] S122. Calculate the undetectable dangerous failure rate corresponding to the service time based on the service time, the inspection and test interval, and the inspection and test coverage. The calculation process is as follows:

[0020] The undetectable dangerous failure rate λ corresponding to the current service time du-MT The calculation formula is:

[0021]

[0022] MT is the abbreviation of Mission Time, which means the service time; TI is the abbreviation of Test Interval, which means the inspection test interval; PTC is the abbreviation of Proof Test Coverage, which means the inspection test coverage;

[0023] S123. Due to the potential common cause failure of multiple structural configurations, the common cause failure factor β is introduced, and the failure rate calculation formula is as follows:

[0024] Calculation of common cause:

[0025] λ ddc =λ dd ×β;λ duc-MT =λ du-MT ×β;λ sdc =λ sd ×β;λ suc =λ su ×β;

[0026] λ ddc is the common cause detectable dangerous failure rate, λ duc-MT is the common cause undetectable dangerous failure rate based on service time, λ sdc is the common cause detectable safety failure rate, λ suc The rate of undetectable safety failures due to common causes;

[0027] Calculation of non-common cause part:

[0028] λ ddn =λ dd ×(1-β);λ dun-MT =λ du-MT ×(1-β);λ sdn =λ sd ×(1-β);

[0029] λ sun =λ su ×(1-β);

[0030] λ ddnis the non-common cause detectable dangerous failure rate, λ dun-MT is the non-common cause undetectable dangerous failure rate based on service time, λ sdn is the non-common cause detectable safety failure rate, λ sun The safety failure rate is non-common cause undetectable;

[0031] S124. Calculate the maintenance rate μ0 using the following formula:

[0032]

[0033] MRT is mean repair time;

[0034] S125. Calculate the maintenance rate μ1 using the following formula:

[0035]

[0036] MTTR is mean time to repair;

[0037] S126. Calculate the maintenance rate μ2 using the following formula:

[0038]

[0039] In the aforementioned Markov model PFD and MTTFsp algorithm based on service time, the step S130 includes:

[0040] S131, according to the structural configuration characteristics, dd , du , sd , su , ddc , duc , sdc , suc , ddn , dun , sdn , sun Substituting μ0, μ1 and μ2 into P, we get P 1 , the calculation interval is specified to be 1 hour, where P is the random transition probability matrix, also called the transfer matrix, P 1 is the transfer matrix of the first hour;

[0041] P 1 Introduce the calculation formula:

[0042] P x =P x-1 ×P 1 ; x is the number of hours;

[0043] Calculate the P at 24 hours 24 As a steady-state probability matrix;

[0044] S132, introduce a row matrix S with the same number of columns as the P matrix and the first column number is 1 and the remaining columns are 0 0 As the starting probability matrix, S 0 With P 24 Multiply them together to get the state matrix of day 1 as S 1 , the calculation interval is specified as 1 day, through the formula:

[0045] S y =S y-1 ×P 24 ; y is the number of days, and y is determined by the number of days corresponding to TI;

[0046] Calculate the state matrix S from day 2 to day y in sequence 2 ...S y ;

[0047] S133, by S 1 To S y The probability calculation result of state 0 is obtained by extracting the value of the state 0 position corresponding to each matrix in By analogy, we can get the probability calculation result of state 1 The probability calculation result of state w

[0048] By calculation formula:

[0049] w is the number of states;

[0050] Get the average probability calculation result of state w.

[0051] In the aforementioned Markov model PFD and MTTFsp algorithm based on service time, the step S140 is specifically as follows:

[0052] When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating PFDavg is:

[0053]

[0054] When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating PFDavg is:

[0055]

[0056] When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating PFDavg is:

[0057]

[0058] When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating PFDavg is:

[0059]

[0060] When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating PFDavg is:

[0061]

[0062] When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating PFDavg is:

[0063]

[0064] When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating PFDavg is:

[0065]

[0066] When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating PFDavg is:

[0067]

[0068] In the aforementioned Markov model PFD and MTTFsp algorithm based on service time, the step S150 is specifically as follows:

[0069] When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating PFSavg is:

[0070]

[0071] When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating PFSavg is:

[0072]

[0073] When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating PFSavg is:

[0074]

[0075] When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating PFSavg is:

[0076]

[0077] When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating PFSavg is:

[0078]

[0079] When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating PFSavg is:

[0080]

[0081] When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating PFSavg is:

[0082]

[0083] When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating PFSavg is:

[0084]

[0085] In the aforementioned Markov model PFD and MTTFsp algorithm based on service time, the step S160 is specifically as follows:

[0086] The truncation matrix Q can be obtained by deleting the rows and columns where the safety failure state is located in the P matrix. The intermediate matrix [IQ] is obtained by subtracting the truncation matrix Q from the identity matrix I, and the inverse calculation is performed to obtain the N matrix. The formula is as follows:

[0087] N=[IQ] -1 ; I is the identity matrix, Q is the truncation matrix;

[0088] In the aforementioned Markov model PFD and MTTFsp algorithm based on service time, the step S170 is specifically as follows:

[0089] The N matrix provides the total time increment after the hardware starts from the starting state and goes through each successful state. The first row represents the total time increment starting from state 0. Reliability assessment generally pays more attention to the situation starting from state 0. The formula for calculating MTTFsp is:

[0090] v is the number of columns of the N matrix;

[0091] When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating MTTFsp is:

[0092]

[0093] When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating MTTFsp is:

[0094]

[0095] When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating MTTFsp is:

[0096]

[0097] When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating MTTFsp is:

[0098]

[0099] When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating MTTFsp is:

[0100]

[0101] When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating MTTFsp is:

[0102]

[0103] When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating MTTFsp is:

[0104]

[0105] When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating MTTFsp is:

[0106]

[0107] Compared with the prior art, the beneficial effect of the present invention is that the present invention is based on the Markov model PFD and MTTFsp algorithm of service time, and combines the structural configuration, inspection and test interval, inspection and test coverage and service time of the safety instrument function, and can more truly reflect the reliability level of the safety instrument function in combination with the actual site. BRIEF DESCRIPTION OF THE DRAWINGS

[0108] Figure 1 It is a schematic diagram of the calculation process of the present invention;

[0109] Figure 2 It is a diagram of the data input interface of the computing software of the present invention;

[0110] Figure 3 It is a diagram showing the result interface of the calculation software of the present invention;

[0111] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. DETAILED DESCRIPTION

[0112] Embodiment 1 of the present invention: A Markov model PFD and MTTFsp algorithm based on service time comprises the following steps:

[0113] S110. The hardware structure of each component unit of the safety instrument function is configured with a calculation method and state transition diagram based on the Markov model;

[0114] S120. The calculation method of PFDavg, PFSavg and MTTFsp for common hardware structure configurations based on the Markov model introduces detectable dangerous failure rate, undetectable dangerous failure rate, detectable safety failure rate and undetectable safety failure rate. Based on the service time, inspection and test interval and inspection and test coverage, the undetectable dangerous failure rate corresponding to the service time can be calculated. For multiple structure configurations, potential common cause failures should be considered, and common cause failure factors are introduced to calculate the common cause detectable dangerous failure rate, the common cause undetectable dangerous failure rate based on the service time, the common cause detectable safety failure rate, the common cause undetectable safety failure rate, the non-common cause detectable dangerous failure rate, the non-common cause undetectable dangerous failure rate based on the service time, the non-common cause detectable safety failure rate and the non-common cause undetectable safety failure rate;

[0115] S130, bring detectable dangerous failure rate, undetectable dangerous failure rate based on service time, detectable safety failure rate, undetectable safety failure rate, common cause detectable dangerous failure rate, common cause undetectable dangerous failure rate based on service time, common cause detectable safety failure rate, common cause undetectable safety failure rate, non-common cause detectable dangerous failure rate, non-common cause undetectable dangerous failure rate based on service time, non-common cause detectable safety failure rate, and non-common cause undetectable safety failure rate into the random transition probability matrix as needed according to the structural configuration characteristics, obtain the steady-state probability matrix by calculation, and then introduce the starting probability matrix, use the starting probability matrix and the steady-state probability matrix as parameters to calculate the state matrix from day 1 to day y, and then calculate the average probability of each state from state 1 to state w in the state transition diagram;

[0116] S140, calculating the PFDavg of the hardware structure of each component unit of the safety instrument function according to the average probability of the corresponding dangerous failure state in the state transition diagram;

[0117] S150, calculating the PFSavg of the hardware structure of each component unit of the safety instrument function according to the average probability of the corresponding safety failure state in the state transition diagram;

[0118] S160, obtaining a truncation matrix according to the random transition probability matrix, subtracting the truncation matrix from the identity matrix to obtain an intermediate matrix, and performing an inverse calculation on the intermediate matrix to obtain an N matrix;

[0119] S170. Calculate the MTTFsp of the hardware structure of each component unit of the safety instrument function based on the N matrix.

[0120] Embodiment 2 of the present invention: PFD and MTTFsp algorithm based on the Markov model of service time, when the safety instrument function hardware structure is configured as 1oo3, PFDavg, PFSavg and MTTFsp are calculated, where TI is 12 months, that is, TI is 365 days, that is, TI is 8760 hours, MT is 96 months, MRT is 8 hours, MTTR is 24 hours, PTC is 95%, β is 0.1, λ du is 4.48E-7, dd is 3.20E-7, λ su is 6.50E-7, λ sd is 2.0OE-6, then:

[0121]

[0122] λ duc-MT =λ du-MT ×β=1.89×10 -8

[0123] λ dun-MT =λ du-MT ×(1-β)=6.11×10 -7

[0124] λ ddc =λ dd ×β=9.60×10 -9

[0125] λ ddn =λ dd ×(1-β)=3.10×10 -7

[0126] λ suc =λ su ×β=1.95×10 -8

[0127] λ sun =λ su ×(1-β)=6.31×10 -7

[0128] λ sdc =λ sd ×β=6.00×10 -8

[0129] λ sdn =λ sd ×(1-β)=1.94×10 -6

[0130] μ0=1÷MRT=0.125

[0131] μ1=1÷MTTR=0.042

[0132] μ2=1÷(Ti÷2+MTTR)=0.00023

[0133] Note: The units of different parameters in the same formula should be unified before calculation.

[0134] Combining the above parameters, we get the transfer matrix P 1 for:

[0135]

[0136] The calculation interval is set to 1 hour, using the formula:

[0137] P x =P x-1 ×P 1 ; x is the number of hours;

[0138] Get P 24 , the starting probability matrix of the 1oo3 structure is S 0 =[1 0 0 0 0 0 0 0], through the formula:

[0139] S y =S y-1 ×P 24 ; y is the number of days, and y is determined by the number of days corresponding to TI;

[0140] The state matrix S from the 2nd day to the 365th day is calculated in sequence 2 ...S 365 , through the formula:

[0141] w is the number of states;

[0142] The average probability Z1...Z7 of state 1 to state 7 is calculated in sequence, using the formula:

[0143]

[0144] get

[0145]

[0146] By formula:

[0147]

[0148] get

[0149]

[0150] Delete the row and column where the safe failure state of the 1oo3 structure corresponds to "state 5" in the P matrix to obtain the truncation matrix Q:

[0151]

[0152] By formula:

[0153] N=[IQ] -1 ; I is the identity matrix, Q is the truncation matrix;

[0154] Get the N matrix through the formula:

[0155] v is the number of columns of the N matrix;

[0156] Get MTTFsp:

[0157]

[0158] Embodiment 3 of the present invention: A Markov model PFD and MTTFsp algorithm based on service time comprises the following steps:

[0159] S110. For the hardware structure of each component unit of the safety instrument function, a calculation method and a state transition diagram based on the Markov model are configured. The hardware structure includes 1oo1, 1oo1D, 1oo2, 1oo2D, 1oo3, 2oo2, 2oo2D and 2oo3;

[0160] S120. The calculation method of PFDavg, PFSavg and MTTFsp for common hardware structure configurations based on the Markov model introduces detectable dangerous failure rate, undetectable dangerous failure rate, detectable safety failure rate and undetectable safety failure rate. Based on the service time, inspection and test interval and inspection and test coverage, the undetectable dangerous failure rate corresponding to the service time can be calculated. For multiple structure configurations, potential common cause failures should be considered, and common cause failure factors should be introduced to calculate the common cause detectable dangerous failure rate, the common cause undetectable dangerous failure rate based on the service time, the common cause detectable safety failure rate, the common cause undetectable safety failure rate, the non-common cause detectable dangerous failure rate, the non-common cause undetectable dangerous failure rate based on the service time, the non-common cause detectable safety failure rate and the non-common cause undetectable safety failure rate; specifically:

[0161] S121, PFDavg, PFSavg and MTTFsp calculation methods for common hardware structure configurations based on Markov models, introduction of λ dd , du , sd and λ su,λ dd is the detectable dangerous failure rate, λ du is the undetectable dangerous failure rate, λ sd is the detectable safety failure rate, λ su is the undetectable safety failure rate;

[0162] S122. Calculate the undetectable dangerous failure rate corresponding to the service time based on the service time, the inspection and test interval, and the inspection and test coverage. The calculation process is as follows:

[0163] The undetectable dangerous failure rate λ corresponding to the current service time du-MT The calculation formula is:

[0164]

[0165] MT is the abbreviation of Mission Time, which means the service time; TI is the abbreviation of Test Interval, which means the inspection test interval; PTC is the abbreviation of Proof Test Coverage, which means the inspection test coverage;

[0166] S123. Due to the potential common cause failure of multiple structural configurations, the common cause failure factor β is introduced, and the failure rate calculation formula is as follows:

[0167] Calculation of common cause:

[0168] λ ddc =λ dd ×β;λ duc-MT =λ du-MT ×β;λ sdc =λ sd ×β;λ suc =λ su ×β;

[0169] λ ddc is the common cause detectable dangerous failure rate, λ duc-MT is the common cause undetectable dangerous failure rate based on service time, λ sdc is the common cause detectable safety failure rate, λ suc The rate of undetectable safety failures due to common causes;

[0170] Calculation of non-common cause part:

[0171] λ ddn =λ dd ×(1-β);λ dun-MT =λ du-MT ×(1-β);λ sdn =λ sd ×(1-β);

[0172] λsun =λ su ×(1-β);

[0173] λ ddn is the non-common cause detectable dangerous failure rate, λ dun-MT is the non-common cause undetectable dangerous failure rate based on service time, λ sdn is the non-common cause detectable safety failure rate, λ sun The safety failure rate is non-common cause undetectable;

[0174] S124. Calculate the maintenance rate μ0 using the following formula:

[0175]

[0176] MRT is mean repair time;

[0177] S125. Calculate the maintenance rate μ1 using the following formula:

[0178]

[0179] MTTR is mean time to repair;

[0180] S126. Calculate the maintenance rate μ2 using the following formula:

[0181]

[0182] S130, according to the structural configuration characteristics, the detectable dangerous failure rate, the undetectable dangerous failure rate based on the service time, the detectable safety failure rate, the undetectable safety failure rate, the common cause detectable dangerous failure rate, the common cause undetectable dangerous failure rate based on the service time, the common cause detectable safety failure rate, the common cause undetectable safety failure rate, the non-common cause detectable dangerous failure rate, the non-common cause undetectable dangerous failure rate based on the service time, the non-common cause detectable safety failure rate, and the non-common cause undetectable safety failure rate are brought into the random transition probability matrix as needed, and the steady-state probability matrix is ​​obtained by calculation. Matrix, and then introduce the initial probability matrix, use the initial probability matrix and the steady-state probability matrix as parameters to calculate the state matrix from day 1 to day y, and then calculate the average probability of each state from state 1 to state w in the state transition diagram; Markov model is expressed in the form of probability matrix, and the number located in a row and column of the random transition probability matrix P represents the transition probability from the state represented by a row to the state represented by a column; Markov model is expressed in the form of probability matrix, and the number located in a row and column of the random transition probability matrix P represents the transition probability from the state represented by a row to the state represented by a column; specifically:

[0183] S131, according to the structural configuration characteristics, dd, du , sd , su , ddc , duc , sdc , suc , ddn , dun , sdn , sun Substituting μ0, μ1 and μ2 into P, we get P 1 , the calculation interval is specified to be 1 hour, where P is the random transition probability matrix, also called the transfer matrix, P 1 is the transfer matrix of the first hour;

[0184] P 1 Introduce the calculation formula:

[0185] P x =P x-1 ×P 1 ; x is the number of hours;

[0186] Calculate the P at 24 hours 24 As a steady-state probability matrix;

[0187] S132, introduce a row matrix S with the same number of columns as the P matrix and the first column number is 1 and the remaining columns are 0 0 As the starting probability matrix, S 0 With P 24 Multiply them together to get the state matrix of day 1 as S 1 , the calculation interval is specified as 1 day, through the formula:

[0188] S y =S y-1 ×P 24 ; y is the number of days, and y is determined by the number of days corresponding to TI;

[0189] Calculate the state matrix S from day 2 to day y in sequence 2 ...S y ;

[0190] S133, by S 1 To S y The probability calculation result of state 0 is obtained by extracting the value of the state 0 position corresponding to each matrix in By analogy, we can get the probability calculation result of state 1 The probability calculation result of state w

[0191] By calculation formula:

[0192] w is the number of states;

[0193] Get the average probability calculation result of state w.

[0194] S140, based on the average probability of the corresponding dangerous failure state in the state transition diagram, calculate the PFDavg of the hardware structure of each component unit of the safety instrument function; specifically:

[0195] When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating PFDavg is:

[0196]

[0197] When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating PFDavg is:

[0198]

[0199] When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating PFDavg is:

[0200]

[0201] When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating PFDavg is:

[0202]

[0203] When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating PFDavg is:

[0204]

[0205] When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating PFDavg is:

[0206]

[0207] When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating PFDavg is:

[0208]

[0209] When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating PFDavg is:

[0210]

[0211] S150, based on the average probability of the corresponding safety failure state in the state transition diagram, calculate the PFSavg of the hardware structure of each component unit of the safety instrument function; specifically:

[0212] When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating PFSavg is:

[0213]

[0214] When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating PFSavg is:

[0215]

[0216] When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating PFSavg is:

[0217]

[0218] When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating PFSavg is:

[0219]

[0220] When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating PFSavg is:

[0221]

[0222] When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating PFSavg is:

[0223]

[0224] When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating PFSavg is:

[0225]

[0226] When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating PFSavg is:

[0227]

[0228] S160, obtaining a truncation matrix according to the random transition probability matrix, subtracting the truncation matrix from the unit matrix to obtain an intermediate matrix, and performing an inverse calculation on the intermediate matrix to obtain an N matrix; specifically:

[0229] The truncation matrix Q can be obtained by deleting the rows and columns of the safety failure state in the P matrix. The intermediate matrix [IQ] is obtained by subtracting the truncation matrix Q from the unit matrix I, and the inverse calculation is performed to obtain the N matrix. The calculation formula is:

[0230] N=[IQ] -1 ; I is the identity matrix, Q is the truncation matrix;

[0231] S170, calculate the MTTFsp of the hardware structure of each component unit of the safety instrument function according to the N matrix;

[0232] Specifically:

[0233] The N matrix provides the total time increment after the hardware starts from the starting state and goes through each successful state. The first row represents the total time increment starting from state 0. Reliability assessment generally pays more attention to the situation starting from state 0. The formula for calculating MTTFsp is:

[0234] v is the number of columns of the N matrix;

[0235] When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating MTTFsp is:

[0236]

[0237] When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating MTTFsp is:

[0238]

[0239] When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating MTTFsp is:

[0240]

[0241] When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating MTTFsp is:

[0242]

[0243] When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating MTTFsp is:

[0244]

[0245] When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating MTTFsp is:

[0246]

[0247] When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating MTTFsp is:

[0248]

[0249] When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating MTTFsp is:

[0250]

[0251] The working principle of an embodiment of the present invention is as follows: a state transition diagram of common hardware structures is drawn based on the Markov model as a theoretical basis. The common hardware structures include 1oo1, 1oo1D, 1oo2, 1oo2D, 1oo3, 2oo2, 2oo2D and 2oo3, and PFDavg, PFSavg and MTTFsp are calculated in combination with Mission Time and PTC, wherein Mission Time is the combined service time, PTC is the inspection test coverage, PFDavg is the average probability of dangerous failure when required, PFSavg is the average probability of safe failure, and MTTFsp is the average time between correct operation failures.

Claims

1. Calculation method of PFD and MTTFsp based on the Markov model of service time, It is characterized in that The following steps are involved: S110. The hardware structure of each component unit of the safety instrument function is configured with a calculation method and state transition diagram based on the Markov model; S120. The calculation method of PFDavg, PFSavg and MTTFsp for common hardware structure configurations based on the Markov model introduces detectable dangerous failure rate, undetectable dangerous failure rate, detectable safety failure rate and undetectable safety failure rate. Based on the service time, inspection and test interval and inspection and test coverage, the undetectable dangerous failure rate corresponding to the service time can be calculated. For multiple structure configurations, potential common cause failures should be considered, and common cause failure factors are introduced to calculate the common cause detectable dangerous failure rate, the common cause undetectable dangerous failure rate based on the service time, the common cause detectable safety failure rate, the common cause undetectable safety failure rate, the non-common cause detectable dangerous failure rate, the non-common cause undetectable dangerous failure rate based on the service time, the non-common cause detectable safety failure rate and the non-common cause undetectable safety failure rate; S130, bring detectable dangerous failure rate, undetectable dangerous failure rate based on service time, detectable safety failure rate, undetectable safety failure rate, common cause detectable dangerous failure rate, common cause undetectable dangerous failure rate based on service time, common cause detectable safety failure rate, common cause undetectable safety failure rate, non-common cause detectable dangerous failure rate, non-common cause undetectable dangerous failure rate based on service time, non-common cause detectable safety failure rate, and non-common cause undetectable safety failure rate into the random transition probability matrix as needed according to the structural configuration characteristics, obtain the steady-state probability matrix by calculation, and then introduce the starting probability matrix, use the starting probability matrix and the steady-state probability matrix as parameters to calculate the state matrix from day 1 to day y, and then calculate the average probability of each state from state 1 to state w in the state transition diagram; S140, calculating the PFDavg of the hardware structure of each component unit of the safety instrument function according to the average probability of the corresponding dangerous failure state in the state transition diagram; S150, calculating the PFSavg of the hardware structure of each component unit of the safety instrument function according to the average probability of the corresponding safety failure state in the state transition diagram; S160, obtaining a truncation matrix according to the random transition probability matrix, subtracting the truncation matrix from the identity matrix to obtain an intermediate matrix, and performing an inverse calculation on the intermediate matrix to obtain an N matrix; S170, calculate the MTTFsp of the hardware structure of each component unit of the safety instrument function according to the N matrix; The step S120 includes: S121, PFDavg, PFSavg and MTTFsp calculation methods for common hardware structure configurations based on Markov models, introduction of λ dd , du , sd and λ su ,λ dd is the detectable dangerous failure rate, λ du is the undetectable dangerous failure rate, λ sd is the detectable safety failure rate, λ su is the undetectable safety failure rate; S122. Calculate the undetectable dangerous failure rate corresponding to the service time based on the service time, the inspection and test interval, and the inspection and test coverage. The calculation process is as follows: The undetectable dangerous failure rate λ corresponding to the current service time du-MT The calculation formula is: MT is the abbreviation of Mission Time, which means the service time; TI is the abbreviation of Test Interval, which means the inspection test interval; PTC is the abbreviation of Proof Test Coverage, which means the inspection test coverage; S123. Due to the potential common cause failure of multiple structural configurations, the common cause failure factor β is introduced, and the failure rate calculation formula is as follows: Calculation of common cause: l ddc =λ dd ×b;l duc-MT =λ du-MT ×b;l sdc =λ sd ×b;l suc =λ su ×b; λ ddc is the common cause detectable dangerous failure rate, λ duc-MT is the common cause undetectable dangerous failure rate based on service time, λ sdc is the common cause detectable safety failure rate, λ suc The rate of undetectable safety failures due to common causes; Calculation of non-common cause part: l ddn =λ dd ×(1-β);λ dun-MT =λ du-MT ×(1-β);λ sdn =λ sd ×(1-β); l sun =λ su ×(1-β); λ ddn is the non-common cause detectable dangerous failure rate, λ dun-MT is the non-common cause undetectable dangerous failure rate based on service time, λ sdn is the non-common cause detectable safety failure rate, λ sun The safety failure rate is non-common cause undetectable; S124, calculate the maintenance rate μ 0 , the calculation formula is: MRT is mean repair time; S125, calculate the maintenance rate μ 1 , the calculation formula is: MTTR is mean time to repair; S126. Calculate the maintenance rate μ 2 , the calculation formula is:

2. The method for calculating PFD and MTTFsp based on the Markov model of service time according to claim 1, It is characterized in that The hardware structure in step S110 includes 1oo1, 1oo1D, 1oo2, 1oo2D, 1oo3, 2oo2, 2oo2D and 2oo3.

3. The calculation method of PFD and MTTFsp based on the Markov model of service time according to claim 1, It is characterized in that The step S130 includes: S131, according to the structural configuration characteristics, dd , du , sd , su , ddc , duc , sdc , suc , ddn , dun , sdn , sun , μ 0 , μ 1 and μ 2 Substitute P to get P 1 , the calculation interval is specified to be 1 hour, where P is the random transition probability matrix, also called the transfer matrix, P 1 is the transfer matrix of the first hour; P 1 Introduce the calculation formula: P x =P x-1 ×P 1 ; x is the number of hours; Calculate the P at 24 hours 24 as a steady-state probability matrix; S132, introduce a row matrix S with the same number of columns as the P matrix and the first column number is 1 and the remaining columns are 0 0 As the starting probability matrix, S 0 With P 24 Multiply them together to get the state matrix of day 1 as S 1 , the calculation interval is specified as 1 day, through the formula: S y =S y-1 ×P 24 ; y is the number of days, and y is determined by the number of days corresponding to TI; Calculate the state matrix S from day 2 to day y in sequence 2 ...S y ; S133, by S 1 To S y The probability calculation result of state 0 is obtained by extracting the value of the state 0 position corresponding to each matrix in By analogy, we can get the probability calculation result of state 1 The probability calculation result of state w By calculation formula: w is the number of states; Get the average probability calculation result of state w.

4. The method for calculating PFD and MTTFsp based on the Markov model of service time according to claim 2 or 3, It is characterized in that The step S140 is specifically as follows: When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating PFDavg is: When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating PFDavg is: When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating PFDavg is: When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating PFDavg is: When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating PFDavg is: When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating PFDavg is: When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating PFDavg is: When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating PFDavg is:

5. The method for calculating PFD and MTTFsp based on the Markov model of service time according to claim 2 or 3, It is characterized in that The step S150 is specifically as follows: When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating PFSavg is: When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating PFSavg is: When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating PFSavg is: When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating PFSavg is: When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating PFSavg is: When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating PFSavg is: When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating PFSavg is: When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating PFSavg is:

6. The method for calculating PFD and MTTFsp based on the Markov model of service time according to claim 3, It is characterized in that The step S160 is specifically as follows: The truncation matrix Q can be obtained by deleting the rows and columns of the safety failure state in the P matrix. The intermediate matrix [IQ] is obtained by subtracting the truncation matrix Q from the unit matrix I, and the inverse calculation is performed to obtain the N matrix. The calculation formula is: N=[I-Q] -1 ; I is the identity matrix and Q is the truncation matrix.

7. The method for calculating PFD and MTTFsp based on the Markov model of service time according to claim 2 or 6, It is characterized in that The step S170 is specifically as follows: The N matrix provides the total time increment after the hardware starts from the starting state and goes through each successful state. The first row represents the total time increment starting from state 0. Reliability assessment generally pays more attention to the situation starting from state 0. The formula for calculating MTTFsp is: v is the number of columns of the N matrix; When the safety instrument function hardware structure is configured as 1oo1, the formula for calculating MTTFsp is: When the safety instrument function hardware structure is configured as 1oo1D, the formula for calculating MTTFsp is: When the safety instrument function hardware structure is configured as 1oo2, the formula for calculating MTTFsp is: When the safety instrument function hardware structure is configured as 1oo2D, the formula for calculating MTTFsp is: When the safety instrument function hardware structure is configured as 1oo3, the formula for calculating MTTFsp is: When the safety instrument function hardware structure is configured as 2oo2, the formula for calculating MTTFsp is: When the safety instrument function hardware structure is configured as 2oo2D, the formula for calculating MTTFsp is: When the safety instrument function hardware structure is configured as 2oo3, the formula for calculating MTTFsp is: