Fault determination method and device, equipment and computer storage medium

By using sliding windows to build a time delay matrix and calculating the Cauchy-Schwarz divergence during the chemical process, the problem of low detection rate of micro faults in the chemical process is solved, and more accurate fault identification and detection is achieved.

CN119440886AActive Publication Date: 2025-02-14TSINGHUA UNIVERSITY

Patent Information

Application Number
CN202310947145.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-14
Estimated Expiration
2043-07-31

AI Technical Summary

Technical Problem

The detection effect of micro-failures in the chemical process is poor, and the detection rate of micro-failures is low.

Method used

By obtaining the operation data of multiple devices within the preset time period, using sliding windows to construct the time delay matrix of the operation data, and compute the Cauchy-Schwarz divergence of the time delay matrix, and detecting the fault based on the difference in the probability distribution.

Benefits of technology

More accurately identifying faults, improving the detection rate of micro faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119440886A_ABST
    Figure CN119440886A_ABST
Patent Text Reader

Abstract

The invention discloses a fault determination method and device, equipment and a computer storage medium. The method comprises the steps of obtaining operation data of multiple devices in a preset time period, constructing a first time-delay matrix and multiple second time-delay matrixes of the operation data by using a sliding window, calculating a first Cauchy-Schwarz divergence of the first time-delay matrix and a target second time-delay matrix, the target second time-delay matrix being any one of the multiple second time-delay matrixes, and calculating a second Cauchy-Schwarz divergence of the target second time-delay matrix; and if the first Cauchy-Schwarz divergence is greater than a first threshold value, determining that the operation data corresponding to the target second time-delay matrix is abnormal, and determining that a plurality of devices fail. In this way, the Cauchy-Schwarz divergence of the first time-delay matrix and the second time-delay matrix is calculated, that is, the fault problem is detected according to the difference degree of probability distribution between the data in the normal state and the test data, the fault is recognized earlier and more accurately, and the detection rate of the tiny fault is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of fault diagnosis, and in particular, relates to a fault determination method, device, equipment and computer storage medium. Background Art

[0002] With the growing demand for safe chemical process equipment and high-quality products, modern chemical industry is moving towards digitalization and intelligence, but it is also becoming more sophisticated and complex. Process monitoring is an important task to maintain process safety. In the context of interconnected chemical industry, if a certain point in the production process fails, it will spread and evolve with the interconnection of the system, causing economic losses such as equipment downtime and substandard product quality, or even safety accidents and casualties.

[0003] Intelligent process control led by abnormal monitoring technology in process industry has played an important role in ensuring the safe operation of complex industrial processes. In particular, data-driven fault detection and abnormal diagnosis technology based on multivariate statistical analysis methods has become one of the most active areas in process control research, and has achieved many results and has been promoted and applied.

[0004] However, the current detection effect of minor faults in chemical processes is poor, and the minor fault detection rate is low. Summary of the invention

[0005] The embodiments of the present application provide a method, apparatus, device and computer storage medium for determining faults, which can detect fault problems based on the difference in probability distribution between normal state data and test data, more accurately identify faults, and improve the detection rate of minor faults.

[0006] In a first aspect, an embodiment of the present application provides a method for determining a fault, the method comprising:

[0007] Obtain the operating data of multiple devices within a preset time period;

[0008] Constructing a first time-lag matrix and a plurality of second time-lag matrices of the operating data using a sliding window;

[0009] respectively calculating the first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix, wherein the first Cauchy-Schwarz divergence represents the difference between the probability distribution function of the first time-delay matrix and the probability distribution function of the target second time-delay matrix, and the target second time-delay matrix is ​​any one of the plurality of second time-delay matrices;

[0010] When the first Cauchy-Schwarz divergence is greater than the first threshold, it is determined that the operating data corresponding to the target second time-delay matrix is ​​abnormal, and multiple equipment failures are determined.

[0011] In a possible implementation, respectively calculating the first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix includes:

[0012] Determining a probability distribution function of a first time-delay matrix and a probability distribution function of a target second time-delay matrix;

[0013] Determine that the first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix satisfies the following conditions:

[0014]

[0015] Among them, X test,k represents the target second time-delay matrix, X test,ref represents the first time-delay matrix, p(X test,k ) represents the probability distribution function of the target second time-delay matrix, p(X test,ref ) represents the probability distribution function of the first time-delay matrix.

[0016] In one possible implementation, before obtaining the operation data of the plurality of devices within a preset time period, the method further includes:

[0017] Obtain historical operation data of multiple devices within a preset time period and use the historical operation data as a training set;

[0018] Constructing a third time-lag matrix and a plurality of fourth time-lag matrices of the historical operation data in the training set by using a sliding window;

[0019] respectively calculating the second Cauchy-Schwarz divergence of the third time-delay matrix and the target fourth time-delay matrix, wherein the second Cauchy-Schwarz divergence represents the difference between the probability distribution function of the third time-delay matrix and the probability distribution function of the target fourth time-delay matrix, and the target fourth time-delay matrix is ​​any one of the plurality of fourth time-delay matrices;

[0020] Based on a predetermined confidence level, a control limit corresponding to the second Cauchy-Schwarz divergence is calculated using a kernel density function, and the control limit is used as a first threshold;

[0021] Among them, the second Cauchy-Schwarz divergence of the third time-delay matrix and the target fourth time-delay matrix is ​​calculated respectively, and the following conditions are satisfied:

[0022]

[0023] Among them, p(X train,k ) represents the probability distribution function of the target fourth time-delay matrix, p(X train,ref ) represents the probability distribution function of the third time-delay matrix.

[0024] In a possible embodiment, it also includes:

[0025] Converting the operating data of multiple devices in the target second time-delay matrix into a first variable corresponding to each device, wherein the first variable includes the operating data of the devices in the target second time-delay matrix;

[0026] Calculate the first conditional Cauchy-Schwarz divergence of the first variable under two adjacent second time-lag matrices, where the first conditional Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the first variable under two adjacent second time-lag matrices;

[0027] The first conditional Cauchy-Schwarz divergence is standardized by using a predetermined mean and a predetermined standard deviation to obtain a standardized first conditional Cauchy-Schwarz divergence;

[0028] Normalize the first conditional Cauchy-Schwarz divergence after normalization to obtain the target conditional Cauchy-Schwarz divergence;

[0029] Determine the first variable corresponding to the maximum target condition Cauchy-Schwarz divergence as the fault isolation variable;

[0030] Determine the fault device information corresponding to the fault isolation variable;

[0031] The calculation of the first conditional Cauchy-Schwarz divergence of the first variable under two adjacent second time-lag matrices satisfies the following conditions:

[0032]

[0033] in, Represents the first variable at the k-1th moment The conditional probability distribution function under the condition of the second time lag matrix at the k-1th moment, Represents the first variable at the kth moment The conditional probability distribution function under the condition of the second time-delay matrix at the kth time, l represents the lth row of the time-delay matrix, represents the lth row vector of the second delay matrix, represents the first variable including the first row vector in the second time-delay matrix except the lth row vector;

[0034] The first conditional Cauchy-Schwarz divergence is standardized using a predetermined mean and a predetermined standard deviation, and the standardized first conditional Cauchy-Schwarz divergence satisfies the following conditions:

[0035]

[0036] in, represents the predetermined mean, represents the predetermined standard deviation;

[0037] The first conditional Cauchy-Schwarz divergence after normalization is normalized to obtain the target conditional Cauchy-Schwarz divergence that satisfies the following conditions:

[0038]

[0039] Wherein, m represents the mth column of the delay matrix.

[0040] In a possible implementation, before the first conditional Cauchy-Schwarz divergence is standardized by using a predetermined mean and a predetermined standard deviation to obtain the standardized first conditional Cauchy-Schwarz divergence, the method further includes:

[0041] Converting the operating data of multiple devices in the target fourth time-delay matrix into a second variable corresponding to each device, wherein the second variable includes the operating data of the devices in the target fourth time-delay matrix;

[0042] Calculate the second conditional Cauchy-Schwarz divergence of the second variable under two adjacent fourth time-lag matrices, where the second Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the second variable under two adjacent fourth time-lag matrices;

[0043] Calculate the mean and standard deviation of the second conditional Cauchy-Schwarz divergence, and use the mean as the predetermined mean and the standard deviation as the predetermined standard deviation;

[0044] Among them, the calculation of the second conditional Cauchy-Schwarz divergence of the second variable under two adjacent fourth time-lag matrices satisfies the following conditions:

[0045]

[0046] in, Represents the second variable at the k-1th moment The conditional probability distribution function under the condition of the fourth time lag matrix at the k-1th moment, The second variable representing the kth time The conditional probability distribution function under the condition of the fourth time delay matrix at the kth time, l represents the lth row of the time delay matrix, represents the lth row vector of the fourth time-delay matrix, Represents the first variable including the l-th row vector in the second time-delay matrix.

[0047] In a possible embodiment, it also includes:

[0048] The third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix is ​​calculated at every first target time length, and the third conditional Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the first variable under the second time lag matrix at every first target time length;

[0049] Calculate the average of the third conditional Cauchy-Schwarz divergence during the second target time period, where the second target time period is longer than the first target time period;

[0050] When the target third condition Cauchy-Schwarz divergence is greater than the average value, it is determined that a process abnormality occurs in the equipment corresponding to the first variable.

[0051] In a possible implementation, calculating the third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix every first target time length includes:

[0052] The third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix is ​​calculated every first target time to satisfy the following conditions:

[0053]

[0054] in, Represents the first variable at the k-1th moment The conditional probability distribution function under the condition of the second time lag matrix at the k-1th moment, Indicates the k+wth c Second variable at time -1 At the k+w c The conditional probability distribution function under the condition of the second time lag matrix at time -1, w c Indicates the first target duration, Represents the first variable including the l-th row vector in the second time-delay matrix.

[0055] In a second aspect, an embodiment of the present application provides a fault determination device, including:

[0056] An acquisition module is used to acquire the operation data of multiple devices within a preset time period;

[0057] A construction module, used for constructing a first time-lag matrix and a plurality of second time-lag matrices of operation data using a sliding window;

[0058] A calculation module, used to calculate the first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix respectively, the first Cauchy-Schwarz divergence characterizing the difference between the probability distribution function of the first time-delay matrix and the probability distribution function of the target second time-delay matrix, the target second time-delay matrix being any one of the plurality of second time-delay matrices;

[0059] The determination module is used to determine that the operation data corresponding to the target second time-delay matrix is ​​abnormal and multiple equipment failures when the first Cauchy-Schwarz divergence is greater than the first threshold.

[0060] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising:

[0061] a processor and a memory storing computer program instructions;

[0062] When the processor executes the computer program instructions, any one of the above-mentioned methods for determining a fault is implemented.

[0063] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for determining any one of the above-mentioned faults is implemented.

[0064] In a fifth aspect, an embodiment of the present application provides a computer program product, characterized in that when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the above-mentioned fault determination methods.

[0065] The fault determination method, device, equipment and computer storage medium of the embodiment of the present application include: obtaining the operation data of multiple devices within a preset time period, constructing a first time-delay matrix and multiple second time-delay matrices of the operation data using a sliding window, respectively calculating the first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix, the first Cauchy-Schwarz divergence characterizing the difference between the probability distribution function of the first time-delay matrix and the probability distribution function of the target second time-delay matrix, the target second time-delay matrix is ​​any one of the multiple second time-delay matrices, and when the first Cauchy-Schwarz divergence is greater than the first threshold, determining that the operation data corresponding to the target second time-delay matrix is ​​abnormal, and determining multiple equipment faults. In this way, by calculating the Cauchy-Schwarz divergence of the first time-delay matrix and the second time-delay matrix, that is, according to the difference in probability distribution between the data in the normal state and the test data, the fault problem is detected, the fault is more accurately identified, and the detection rate of minor faults is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0067] Figure 1 It is a flowchart of a method for determining a fault provided by an embodiment of the present application;

[0068] Figure 2 is the time delay matrix X involved in another embodiment of the present application k Schematic diagram of the structure;

[0069] Figure 3 is a flowchart of a method for determining a fault provided by another embodiment of the present application;

[0070] Figure 4 is a time delay matrix X involved in another embodiment of the present application k Schematic diagram of rewriting variable index;

[0071] Figure 5 is a schematic diagram of a fault determination result of a numerical simulation process involved in yet another embodiment of the present application;

[0072] Figure 6 is a schematic diagram of a result of determining a fault isolation variable based on a conditional Cauchy-Schwarz divergence in a numerical simulation process according to yet another embodiment of the present application;

[0073] Figure 7 is a schematic diagram of a numerical simulation process according to another embodiment of the present application based on a conditional Cauchy-Schwarz divergence change point detection result;

[0074] Figure 8 is a schematic diagram of a CSTR reaction process involved in yet another embodiment of the present application;

[0075] Fig. 9 is a schematic diagram of a result of determining a fault isolation variable based on a conditional Cauchy-Schwarz divergence in a CSTR reaction process according to yet another embodiment of the present application;

[0076] Fig.10 is a schematic diagram of a CSTR reaction process according to another embodiment of the present application based on a conditional Cauchy-Schwarz divergence change point detection result;

[0077] Fig.11 is a schematic diagram of a CSTH reaction process involved in yet another embodiment of the present application;

[0078] Fig.12It is a schematic diagram of the changes of various variables over time in normal and fault conditions during a CSTH reaction process involved in another embodiment of the present application;

[0079] Fig.13 is a schematic diagram of fault detection performance under different sliding window lengths w according to another embodiment of the present application;

[0080] Fig.14 1 is a schematic diagram of the change point detection results of the CSTH reaction process in two fault conditions of f1 and f2 according to another embodiment of the present application;

[0081] Fig.15 It is a schematic diagram of a result of determining a fault isolation variable based on a conditional Cauchy-Schwarz divergence in a CSTH reaction process according to another embodiment of the present application;

[0082] Fig.16 is a schematic diagram of a CSTH reaction process according to another embodiment of the present application, based on a conditional Cauchy-Schwarz divergence change point detection result under a fault f1;

[0083] Fig.17 is a schematic diagram of a CSTH reaction process according to another embodiment of the present application, based on a conditional Cauchy-Schwarz divergence change point detection result under a fault f2;

[0084] Fig.18 is a structural schematic diagram of a fault determination device provided in yet another embodiment of the present application;

[0085] Fig.19 It is a structural diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0086] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0087] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0088] With the growing demand for safe chemical process equipment and high-quality products, modern chemical industry is moving towards digitalization and intelligence, but it is also becoming more sophisticated and complex. Process monitoring is an important task to maintain process safety. In the context of interconnected chemical industry, if a certain point in the production process fails, it will spread and evolve with the interconnection of the system, causing economic losses such as equipment downtime and substandard product quality, or even safety accidents and casualties.

[0089] Intelligent process control led by abnormal monitoring technology in process industry has played an important role in ensuring the safe operation of complex industrial processes. In particular, data-driven fault detection and abnormal diagnosis technology based on multivariate statistical analysis methods has become one of the most active areas in process control research, and has achieved many results and has been promoted and applied.

[0090] However, the current detection effect of minor faults in chemical processes is poor, and the minor fault detection rate is low.

[0091] In order to solve the problems in the prior art, the embodiments of the present application provide a method, device, equipment and computer storage medium for determining a fault. The method for determining a fault provided by the embodiments of the present application is first introduced below.

[0092] Figure 1 A flow chart of a method for determining a fault provided in one embodiment of the present application is shown.

[0093] like Figure 1 As shown, the fault determination method provided in the embodiment of the present application includes S110 to S140.

[0094] S110. Obtaining operation data of multiple devices within a preset time period.

[0095] Here, the operation data is the online operation data in the chemical process. In some embodiments, the online operation data in the chemical process can be collected by a data acquisition device, and the online operation data in the chemical process collected in real time by the receiving data acquisition device can be received.

[0096] In some embodiments, the test set is constructed using the operating data of multiple devices within a preset time period. The operation data is standardized using the mean and standard deviation of the operation data in the test set to obtain the standardized operation data, wherein the standardized calculation formula (1) is as follows:

[0097]

[0098] in, It is the operating data of multiple devices within a preset time period. is the mean of the running data in the test set, is the standard deviation of the running data in the test set, x test,i The normalized operating data.

[0099] S120: Construct a first time-lag matrix and multiple second time-lag matrices of the operating data using a sliding window.

[0100] In some embodiments, a first time-delay matrix X of the operation data of the previous w moments is constructed using a sliding window of length w. test,w , and use the sliding window of length w to construct multiple second time-delay matrices X test,k .

[0101] Among them, X test,w It is expressed as:

[0102]

[0103] X test,k It is expressed as:

[0104]

[0105] In some embodiments, for a chemical process under normal operation, the monitoring data stream contains dynamic operation rules that change over time. If the current state of the system deviates from the normal state and exceeds the acceptable range, the current operation process has a fault. Since the probability density function of the time series can better reflect the actual state of the operation process, in order to obtain a real-time dynamic estimate of the system operation, a sliding window method is used to capture the dynamic evolution of the chemical data stream. The length of the sliding window is selected as w, and at the monitoring time k, x k and its previous w-1 running data {x test,k-w+1 ,…,x test,k-2 ,x test,k-1}Construct the delay matrix Xk , where x k =[x k,1 ,x k,2 ,…,x k,m ] T is the kth sample, i.e., the running data at time k, and the time delay matrix X k The structure of Figure 2 shown.

[0106] S130, respectively calculating the first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix, wherein the first Cauchy-Schwarz divergence represents the difference between the probability distribution function of the first time-delay matrix and the probability distribution function of the target second time-delay matrix, and the target second time-delay matrix is ​​any one of the plurality of second time-delay matrices.

[0107] Here, the Cauchy-Schwarz divergence is used to characterize the difference between two probability distribution functions.

[0108] In some embodiments, the first time delay matrix X before w time points is selected test,w (a time-delay matrix) is the normal reference state X test,ref The second delay matrix has n test -w. Calculate the normal reference state X respectively test,ref and the second time-delay matrix X test,k The first Cauchy-Schwarz divergence of test It should be noted that the first Cauchy-Schwarz divergence characterizes the difference between the probability distribution function of the first time-delay matrix and the probability distribution function of the target second time-delay matrix, that is, the difference between the probability distribution function of the time-delay matrix at each moment and the time-delay matrix under the normal reference state.

[0109] S140: When the first Cauchy-Schwarz divergence is greater than the first threshold, determining that the operating data corresponding to the target second time-delay matrix is ​​abnormal, and determining that multiple equipment failures are present.

[0110] In some embodiments, when the first Cauchy-Schwarz divergence is greater than a first threshold, that is, when the difference between the probability distribution function of the first time-delay matrix and the probability distribution function of the target second time-delay matrix is ​​greater than the first threshold, the operating data corresponding to the target second time-delay matrix is ​​determined to be abnormal, that is, multiple equipment failures are determined, and the faulty equipment information is output.

[0111] In some embodiments, in order to quantify the deviation of the operating state, the online monitoring process uses a sliding window to determine the statistical difference between the normal state and the abnormal state.test,ref =[x test,1 ,…,x test,w-1 ,x test,w ], then the time delay matrix X at the kth moment test,k With the normal reference state X test,ref The consistency between them can be analyzed by the following hypothesis test (Formula (2)):

[0112]

[0113] Based on this hypothesis test, the stable normal operation state is that the change of the probability density function value of the expected operation data is below the first threshold.

[0114] In this way, by calculating the Cauchy-Schwarz divergence of the first time-delay matrix and the second time-delay matrix, that is, according to the difference in probability distribution between normal state data and test data, the fault problem is detected, the fault is identified more accurately, and the detection rate of minor faults is improved.

[0115] Based on this, in some embodiments, the above S130 may specifically include:

[0116] Determining a probability distribution function of a first time-delay matrix and a probability distribution function of a target second time-delay matrix;

[0117] The first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix is ​​calculated using formula (3), which is as follows:

[0118]

[0119] Among them, X test,k represents the target second time-delay matrix, X test,ref represents the first time-delay matrix, p(X test,k ) represents the probability distribution function of the target second time-delay matrix, p(X test,ref ) represents the probability distribution function of the first time-delay matrix.

[0120] In some embodiments, for process industries in normal operation, the monitoring data should maintain the same distribution, so the fault detection problem becomes analyzing whether the current sample and the normal reference state belong to the same distribution, that is, the two probability distributions X test,ref and X test,k The difference between CS (p(X test,k ); p(X test,ref )).

[0121] In this way, the formula can be used to accurately calculate the difference between the sample currently being analyzed and the normal reference state.

[0122] In some embodiments, Figure 3 As shown, before the above S110, the method further includes S210 to S240.

[0123] S210: Obtain historical operation data of multiple devices within a preset time period, and use the historical operation data as a training set.

[0124] Here, the historical operation data is the original operation data (offline operation data) in the chemical process.

[0125] In some embodiments, input of historical operation data of multiple devices within a preset time period may be received. The historical operation data of multiple devices within the preset time period may be operation data stored in a database.

[0126] In some embodiments, the training set is constructed using historical operation data of multiple devices within a preset time period. Use the mean and standard deviation of the historical operation data in the training set to standardize the historical operation data to obtain the standardized training set Among them, the standardized calculation formula (4) is as follows:

[0127]

[0128] in, It is the historical operation data of multiple devices within a preset time period. is the mean of the historical running data in the training set, is the standard deviation of the running data in the test set, x train,i The normalized operating data.

[0129] S220. Construct a third time-lag matrix and a plurality of fourth time-lag matrices of the historical operation data in the training set by using a sliding window.

[0130] In some embodiments, a third time-delay matrix X of the historical operation data before w moments is constructed using a sliding window of length w. train,w , and use a sliding window of length w to construct multiple fourth time-delay matrices X train,k .

[0131] Among them, X train,w It is expressed as:

[0132]

[0133] X train,k It is expressed as:

[0134]

[0135] In some embodiments, for a chemical process under normal operation, the monitoring data stream contains dynamic operation rules that change over time. If the current state of the system deviates from the normal state and exceeds the acceptable range, the current operation process has a fault. Since the probability density function of the time series can better reflect the actual state of the operation process, in order to obtain a real-time dynamic estimate of the system operation, a sliding window method is used to capture the dynamic evolution of the chemical data stream. The length of the sliding window is selected as w, and at the monitoring time k, x k and its previous w-1 running data {x train,k-w+1 ,…,x train,k-2 ,x train,k-1}Construct the delay matrix X k , where x k =[x k,1 ,x k,2 ,…,x k,m ] is the kth sample, i.e., the running data at time k, and the time delay matrix X k The structure of Figure 2 shown.

[0136] S230, respectively calculating the second Cauchy-Schwarz divergence of the third time-delay matrix and the target fourth time-delay matrix, wherein the second Cauchy-Schwarz divergence represents the difference between the probability distribution function of the third time-delay matrix and the probability distribution function of the target fourth time-delay matrix, and the target fourth time-delay matrix is ​​any one of the plurality of fourth time-delay matrices.

[0137] Here, the Cauchy-Schwarz divergence is used to characterize the difference between two probability distribution functions.

[0138] In some embodiments, the third time delay matrix X before w time points is selected train,w (a time-delay matrix) is the normal reference state X train,ref The fourth time delay matrix has n train -w. Calculate the normal reference state X respectively train,ref and the fourth time-delay matrix X train,k The second Cauchy-Schwarz divergence of train It should be noted that the second Cauchy-Schwarz divergence characterizes the difference between the probability distribution function of the third time-delay matrix and the probability distribution function of the target fourth time-delay matrix, that is, the difference between the probability distribution function of the time-delay matrix at each moment and the time-delay matrix under the normal reference state.

[0139] S240. Based on a predetermined confidence level, calculate a control limit corresponding to the second Cauchy-Schwarz divergence using a kernel density function, and use the control limit as a first threshold.

[0140] When using D CS (p(X train,k ); p(X train,ref When monitoring the process, the normal operation data stream in the offline phase is used to obtain the control threshold. The control limit D under the predetermined confidence level η can be estimated by kernel density estimation. cl .

[0141] In some embodiments, at the first Cauchy-Schwarz divergence D CS (p(X test,k ); p(X test,ref )) is greater than the control limit D cl In this case, it is determined that the operating data corresponding to the target second time-delay matrix is ​​abnormal, and multiple equipment failures are determined.

[0142] The second Cauchy-Schwarz divergence of the third time-delay matrix and the target fourth time-delay matrix is ​​calculated using formula (5), which is as follows:

[0143]

[0144] Among them, p(X train,k ) represents the probability distribution function of the target fourth time-delay matrix, p(X train,ref ) represents the probability distribution function of the third time-delay matrix.

[0145] In this way, historical data is used as a reference to calculate control limits, which are used to alarm faults and determine equipment failures.

[0146] Based on this, in some embodiments, the method may further include:

[0147] Converting the operating data of multiple devices in the target second time-delay matrix into a first variable corresponding to each device, wherein the first variable includes the operating data of the devices in the target second time-delay matrix;

[0148] Calculate the first conditional Cauchy-Schwarz divergence of the first variable under two adjacent second time-lag matrices, where the first conditional Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the first variable under two adjacent second time-lag matrices;

[0149] The first conditional Cauchy-Schwarz divergence is standardized by using a predetermined mean and a predetermined standard deviation to obtain a standardized first conditional Cauchy-Schwarz divergence;

[0150] Normalize the first conditional Cauchy-Schwarz divergence after normalization to obtain the target conditional Cauchy-Schwarz divergence;

[0151] Determine the first variable corresponding to the maximum target condition Cauchy-Schwarz divergence as the fault isolation variable;

[0152] Determine the fault device information corresponding to the fault isolation variable;

[0153] The first conditional Cauchy-Schwarz divergence of the first variable under two adjacent second time-lag matrices is calculated using formula (6), which is as follows:

[0154]

[0155] in, Represents the first variable at the k-1th moment The conditional probability distribution function under the condition of the second time lag matrix at the k-1th moment, Represents the first variable at the kth moment The conditional probability distribution function under the condition of the second time-delay matrix at the kth time, l represents the lth row of the time-delay matrix, represents the lth row vector of the second delay matrix, represents the first variable including the first row vector in the second time-delay matrix except the lth row vector;

[0156] The first conditional Cauchy-Schwarz divergence is standardized using a predetermined mean and a predetermined standard deviation to obtain a standardized first conditional Cauchy-Schwarz divergence, which is standardized using formula (7). Formula (7) is as follows:

[0157]

[0158] in, represents the predetermined mean, represents the predetermined standard deviation;

[0159] The standardized first condition Cauchy-Schwarz divergence is normalized to obtain the target condition Cauchy-Schwarz divergence, which is normalized using formula (8). Formula (8) is as follows:

[0160]

[0161] Where m represents the mth column of the delay matrix, is the sum of the first conditional Cauchy-Schwarz divergences.

[0162] In some embodiments, when a device failure is detected, it is critical to determine which device caused the failure for process control. Fault isolation refers to identifying specific device variables that cause state changes or contribute the most to the failure. During normal operation, each device should be in a stable state; after a failure occurs, due to the complex physical or information connections in the interconnected chemical industry, the fault cause will evolve and affect other fault-related variables beyond the acceptable range, resulting in conditional correlations between variables that are different from conditional correlations under normal conditions. Therefore, it is feasible to reveal the causal relationship of variables based on the anomaly of the conditional distribution and identify fault-related variables. Due to the evolution and propagation of faults, state shifts or oscillations will cause changes in the conditional distribution values ​​corresponding to the time-delay matrix. In order to measure the causal correlation of variables, the operating data of multiple devices in the target second time-delay matrix are converted into the first variables corresponding to each device. The first variable includes the operating data of the devices in the target second time-delay matrix. For example, the second time-delay matrix X at the kth moment is converted into the first variable corresponding to each device. test,k Rewrite as variable index x l (1≤l≤m) represents the l-th dimension variable, and the rewriting process is as follows Figure 4 As shown, where X k Represents X test,k .

[0163] It should be noted that X -l represents all dimensions except the lth dimension variable, that is, p k (x l |X -l ) represents the kth moment x l The conditional probability of .

[0164] In some embodiments, during the online monitoring process, according to two adjacent time windows X k-1 and X k When judging whether the fault or abnormality is caused by the lth variable or sensor, the hypothesis test (Formula (9)) is as follows:

[0165]

[0166] This hypothesis test depends on the variable x l and X -l The dependence between them provides the explainability of fault isolation from the perspective of conditional distribution changes.

[0167] It should be noted that, during online fault isolation, in order to eliminate the unit or magnitude effects among multiple variables, the first conditional Cauchy-Schwarz divergence of each first variable is standardized and scaled to a specific interval using formula (7).

[0168] In this way, the conditional Cauchy-Schwarz divergence of each variable in the current state is calculated independently in the sliding window, and then the normalized full conditional Cauchy-Schwarz divergence of all first variables is obtained. The first variable with the largest T(l) value is considered to be the main cause variable of the fault. This is a real-time online fault isolation method that is conducive to timely identification of the main variables closely related to the current fault state.

[0169] Based on this, in some embodiments, before the first conditional Cauchy-Schwarz divergence is standardized by using a predetermined mean and a predetermined standard deviation to obtain the standardized first conditional Cauchy-Schwarz divergence, the method may further include:

[0170] Converting the operating data of multiple devices in the target fourth time-delay matrix into a second variable corresponding to each device, wherein the second variable includes the operating data of the devices in the target fourth time-delay matrix;

[0171] Calculate the second conditional Cauchy-Schwarz divergence of the second variable under two adjacent fourth time-lag matrices, where the second Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the second variable under two adjacent fourth time-lag matrices;

[0172] Calculate the mean and standard deviation of the second conditional Cauchy-Schwarz divergence, and use the mean as the predetermined mean and the standard deviation as the predetermined standard deviation;

[0173] The second conditional Cauchy-Schwarz divergence of the second variable under two adjacent fourth time-lag matrices is calculated using formula (10), and formula (10) is as follows:

[0174]

[0175] in, Represents the second variable at the k-1th moment The conditional probability distribution function under the condition of the fourth time lag matrix at the k-1th moment, The second variable representing the kth time The conditional probability distribution function under the condition of the fourth time delay matrix at the kth time, l represents the lth row of the time delay matrix, represents the lth row vector of the fourth time-delay matrix, The matrix represents a second variable corresponding to a plurality of devices.

[0176] In this way, the standard deviation and mean are set according to the historical operating data, the first conditional Cauchy-Schwarz divergence is standardized, and the unit or magnitude effects among multiple variables are eliminated.

[0177] Based on this, in some embodiments, it also includes:

[0178] The third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix is ​​calculated at every first target time length, and the third conditional Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the first variable under the second time lag matrix at every first target time length;

[0179] Calculate the average of the third conditional Cauchy-Schwarz divergence during the second target time period, where the second target time period is longer than the first target time period;

[0180] When the target third condition Cauchy-Schwarz divergence is greater than the average value, it is determined that a process abnormality occurs in the equipment corresponding to the first variable.

[0181] In some embodiments, dynamic process abnormality monitoring based on conditional Cauchy-Schwarz divergence change point detection includes: judging whether a first variable has an abnormality based on the average value of the third conditional Cauchy-Schwarz divergence of all site operation data, and determining that a device corresponding to the first variable has a fault when the target third conditional Cauchy-Schwarz divergence is greater than the average value.

[0182] In this way, considering the operating point deviation and process dynamics anomaly in the actual chemical process, the current operating state is segmented and the variables are isolated in stages, and the variables affecting the system state are regulated in time to avoid failures caused by their deviation, which helps to transform post-accident emergency treatment into pre-accident prevention. Unsupervised online monitoring is applicable to actual industrial processes. When the actual process has dynamic anomalies due to operating conditions, control loops, etc., the cause of this dynamic anomaly can be identified and process control can be performed to ensure that the system is stable in normal operating conditions.

[0183] Based on this, in some embodiments, calculating the third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix every first target time length includes:

[0184] Using formula (11), the third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix is ​​calculated every first target time. Formula (11) is as follows:

[0185]

[0186] in, Represents the first variable at the k-1th moment The conditional probability distribution function under the condition of the second time lag matrix at the k-1th moment, Indicates the k+wth c Second variable at time -1 At the k+w c The conditional probability distribution function under the condition of the second time lag matrix at time -1, w c Indicates the first target duration, The matrix includes first variables corresponding to a plurality of devices.

[0187] In some embodiments, in the interval length l c Next, calculate the k-th moment reliability interval [kl c ,k+l c The average value of the conditional Cauchy-Schwarz divergence of all first variables in the second time lag matrix If the kth moment is in the observation interval [k-1,k+w c -1] third conditional Cauchy-Schwarz divergence Greater than During the operation, the device corresponding to the first variable at the kth moment fails.

[0188] In some embodiments, the length of the second target time period is l c .

[0189] In this way, compared with determining the faulty device after a fault is detected, timely monitoring of dynamic process anomalies and identifying the variables that cause system state changes will help prevent accidents before they occur.

[0190] In the embodiments provided in the present application, when the system state changes or a fault occurs, fault diagnosis based on conditional Cauchy-Schwarz divergence can quantitatively describe the correlation between devices, and even the variable transmission relationship, to monitor and maintain the normal operation of the system.

[0191] Traditional multivariate statistical analysis methods, such as principal component analysis, partial least squares and independent component analysis, aim to project high-dimensional observation data into low-dimensional subspaces based on mathematical statistics, and then detect and analyze the generation and evolution of faults based on the variable correlation of the subspace. Considering the dynamic and nonlinear nature of the actual chemical production process, constructing a time-delay matrix based on a sliding window to capture the time correlation between consecutive samples and the cumulative correlation of the production operation process is an effective way to improve the performance of fault monitoring technology based on multivariate statistical analysis.

[0192] Due to the complexity of chemical processes, faults are considered to be deviations from the normal state, which require human intervention to determine the fault location and restore the normal process, resulting in the inability to timely perform effective regulation such as diagnosis and repair, system compensation, etc. If the degree of deviation between the current state of the system and the normal state can be accurately estimated through divergence calculation, and whether the operation process exceeds the acceptable range can be reflected in real time, effective regulation such as diagnosis and repair, system compensation, etc. can be carried out in a timely manner within the controllable range. The monitoring data stream of the process industry is the discretization of the continuous process, and the probability distribution of the obtained time series can better reflect the actual state of the operation process. However, the real-time probability density estimation of the continuous process is a difficult point in the data-driven field. To this end, a sliding window-based method is used to calculate the probability density function of the flow data in the current sliding window through non-parametric kernel density estimation, effectively capturing the dynamic evolution of the data stream; and a more effective Cauchy-Schwarz divergence is used to measure the difference between the probability distribution of the monitoring state and the normal state, and the early detection of minor faults is achieved through the deviation of the operation state of the production process. The specific sensor variables that induce the fault are further identified by combining conditional divergence, helping decision makers understand and adopt the reasoning results of the diagnostic model, so that equipment faults can be accurately identified without human intervention.

[0193] In particular, compared with isolating variables after a fault is detected, if the dynamic process anomaly can be monitored in time and the specific variables that cause the system state change can be identified, it will help to prevent accidents before they occur. The embodiments provided in this application provide a micro-fault diagnosis technology that is more suitable for process industry processes and is of great significance for effectively ensuring the operational safety and reliability of complex chemical production systems.

[0194] Based on the fault determination method provided in the above embodiment, the effect is verified and analyzed as follows.

[0195] 1. Verification and analysis based on numerical simulation

[0196] Construct a multivariate numerical simulation process as shown below:

[0197] x=As+e,

[0198] Where x=[x1,x2,x3,x4,x5,x6] T is the process variable; s = [s1, s2, s3, s4] T is an independent Gaussian distribution data source, satisfying μ=[1.2,0.7,2.3,1.7] T ; e is Gaussian white noise, ∑ e =diag{0.031,0.023,0.192,0.173,0.150,0.113}; A is the coefficient matrix

[0199] Consider failures caused by equipment deviation:

[0200]

[0201] in, is the measured value of the process variable under the fault state, x represents the normal process variable value without fault, and f represents the fault. Generate a training set containing 700 samples, of which 300 fault samples are included in the training set. The fault used here is f = 0.01 (k-700), and introduce a slow-varying fault on the variable x4 k=701,...,1000.

[0202] It should be noted that one sample corresponds to a time-delay matrix at a certain moment, and k represents the sample. One variable corresponds to one device. The process of fault detection is the process of fault determination.

[0203] The Cauchy-Schwarz divergence (CS) method proposed in the embodiment of the present application is compared with the principal component analysis method (PCA), the statistical Mahalanobis distance method (SMD), and the Wasserstein distance method (WD). The sliding window length is set to 100, and the significance level of fault detection is 0.01; in the fault detection model of principal component analysis and Wasserstein distance, the number of principal components is 3 to capture more than 95% of the variance. The fault determination results of the numerical simulation process are shown in Figure 2. Figure 5 As shown, Figure 5 (a1) in the figure is the PAC-based fault detection (principal element space) process. Figure 5 (a2) in is the PAC-based fault detection (residual space) process, Figure 5 (b1) in is the fault detection (principal element space) process based on Wasserstein distance. Figure 5 (b2) in is the fault detection (residual space) process based on Wasserstein distance. Figure 5 (c) in the figure is the fault detection process based on Mahalanobis distance. Figure 5 (d) in the figure is the fault detection process based on Cauchy-Schwarz divergence. The dotted line indicated by the arrow is the location of the abnormal operation data determined for the first time, and the solid line represents the location where the abnormal operation data occurs. Figure 5It can be seen that the fault determination method based on the PCA method cannot detect the fault in time, and the diagnostic accuracy is low; the statistical Mahalanobis distance and Wasserstein distance both successfully detect the fault, but the detection delay is long and the fault is not identified in the early stage of the fault. The monitoring statistic based on Cauchy-Schwarz divergence can detect faults earlier, is suitable for minor fault monitoring, and has high sensitivity.

[0204] In order to evaluate the stability of the fault determination method provided in the embodiment of the present application, the input was randomly disturbed 100 times under the above fault scenario. Table 1 compares the average detection performance of different methods and shows the fault detection performance on the numerical simulation data set. As can be seen from Table 1, the fault detection rate (FDR) of the monitoring statistic based on the Cauchy-Schwarz divergence is the highest (85.0%), and the fault false alarm rate (FAR) is the lowest (0.11%). Fault detection delay (FDD) is crucial for the early detection of faults. The fault determination method provided in the embodiment of the present application is 38 minutes and 74 minutes earlier than the method based on Wasserstein distance and the method based on statistical Mahalanobis distance, respectively. Earlier detection of faults is conducive to taking effective control measures to restore the process to normal.

[0205] Table 1

[0206]

[0207] Among them, T 2 Indicates Hotelling's T 2 Statistics; SPE stands for squared prediction error; W z and W e They represent the statistics of principal component space and residual space based on Wasserstein distance respectively; the statistical Mahalanobis distance method uses mean and variance as statistics. Here, the sliding window length is selected as 100 and the confidence level is set to 1%. FDR is the fault detection rate, FAR is the fault false alarm rate, and FDD is the fault detection delay, corresponding to the number of samples of fault detection delay.

[0208] The change of the operating state is mostly caused by the individual evolution or overall deviation of the variable (for example, the first variable). The main variable most relevant to the current state is determined based on the conditional distribution value of each variable after normalization. The result of determining the fault isolation variable based on the conditional Cauchy-Schwarz divergence is as follows: Figure 6 As shown, from Figure 6The curve on the left side of the figure shows that the variable x4 deviates significantly from the steady state after the fault occurs, and the deviation is the largest. Figure 6 From the curve on the right side of the figure, it can be seen that the mean and median of the variable x4 have changed significantly, and it can be considered as the main cause variable most relevant to the current fault state. This is consistent with the actual cause of the slow-changing fault, verifying the effectiveness and interpretability of the fault determination method provided in the embodiment of the present application.

[0209] As an example, further, dynamic process anomaly monitoring based on conditional Cauchy-Schwarz divergence change point detection is shown in Figure 7 It should be noted that the change point represents the variable whose target third condition Cauchy-Schwarz divergence is greater than the average value (the average value of all third condition Cauchy-Schwarz divergences in the second target time period). Figure 7 As can be seen from (a) in the figure, the position of the change point is [324, 427, 732], and the monitoring process of 1000 sample points is divided into 4 stages; the third stage [427, 732] has an upward shift in distribution, and the fourth stage [732, 1000] shows a slow upward shift. The statistical distribution of variables in each stage is shown in Figure 7 In (b), the variable distribution is relatively stable in the first and second stages. Although it is right-skewed in the first stage and left-skewed in the second stage, there is no obvious variable shift or abnormality, and both are in a normal state. Starting from the third stage, the upper quartile of variable x4 increases, causing other variables to return to the right skewness. Variable x4 deviates significantly from the normal state in the fourth stage, reflecting that variable x4 is the main cause of the fault, verifying the effectiveness of change point detection based on conditional Cauchy-Schwarz divergence for abnormal monitoring of dynamic processes.

[0210] 2. Experimental verification and analysis based on the continuous stirred tank reactor (CSTR) process

[0211] CSTR is a closed-loop reactor widely used in polymerization chemical reactions. It is a typical, highly nonlinear chemical reaction system in the process industry. Its characteristics can be expressed by the following continuous-time nonlinear differential equations:

[0212]

[0213] Where u=[C i ,T i ,T ci ] T is the input signal, C i is the reactor inlet concentration, T i is the reactor inlet temperature, T ciis the cooling water temperature at the reactor inlet, y = [C, T, T c ,Q c ] T is the output signal, C is the outlet concentration, T is the reactor temperature, T c is the cooling water temperature, Q c is the coolant flow rate, v i is the system noise, is the Arrhenius type rate constant, a and b are the reaction coefficients. The remaining parameters are described in Table 2.

[0214] The disturbance of the input signal will cause the system dynamics to change. Due to the nonlinearity of the reaction process, the measured value is a time-dependent, non-Gaussian distributed and noisy data stream. Figure 8 The reactor temperature T is controlled by the coolant flow Q c To maintain, the specific reaction parameters are shown in Table 2. For the six measured variables x = [C, T, T c ,Q,C i ,T i ] T , 2000 sample points under normal conditions are collected as training sets, and the sampling interval is 1 minute.

[0215] Table 2

[0216]

[0217]

[0218] In order to verify the capability of the fault determination method provided in the embodiment of the present application, 100 fault data are generated under each of 10 types of minor faults, and the random seeds of process noise, measurement noise and input interference are different each time. The minor fault types (parameter settings) of the CSTR process are shown in Table 3.

[0219] Table 3

[0220]

[0221] All test sets contain 1600 samples, among which the fault is introduced at the 201st sample point. The fault determination method provided in the embodiment of the present application is a general framework. In order to ensure the fairness of the comparison of different methods, the principal component analysis method and the Wasserstein distance method are analogous to the detection after spatial projection, and the subspace projection technology is extended to the fault determination method and the statistical Mahalanobis distance method provided in the embodiment of the present application. The results are compared in Table 4.

[0222] Table 4

[0223]

[0224]

[0225] Among them, MD z , MD e , W z , W e and CS z , C.S. e They respectively represent the fault detection statistical indicators in the principal component space and residual space of the fault determination methods based on the statistical Mahalanobis distance method, the Wasserstein distance method and the Cauchy-Schwarz divergence.

[0226] When subspace projection is not introduced, the average fault detection rate of the fault determination method provided in the embodiment of the present application is 89.76%, which is higher than the average fault detection rate of 82.52% of the statistical Mahalanobis distance method and the average fault detection rate of 85.74% of the Wasserstein distance method; the average fault detection delay is 130 samples, which is lower than the average fault detection delay of 102 samples of the statistical Mahalanobis distance method, but the fault false alarm rate is better than the statistical Mahalanobis distance method; when subspace projection is introduced, the fault detection rate is improved in the residual space, reaching a fault detection rate of 89.93%, and the fault detection delay is significantly shortened. The average fault detection delay is only 60 samples, which is 34 and 104 samples earlier than the statistical Mahalanobis distance method and the Wasserstein distance method, respectively. The fault false alarm rate is 0 on all data sets, which verifies the effectiveness of the fault determination method provided in the embodiment of the present application in distinguishing between normal state data distribution and fault state data distribution, and has the ability to identify minor faults at an early stage, as well as the detection stability of 10 types of faults. In the actual chemical production process, timely detection of minor faults can eliminate early hidden dangers and prevent faults from worsening.

[0227] In order to verify the accuracy of determining the fault isolation variable in the fault determination method provided in the embodiment of the present application, taking fault type f1 as an example: a sensor deviation of 5L / min is introduced on Q at the 201st sample point, and the result of determining the fault isolation variable based on the conditional Cauchy-Schwarz divergence of fault f1 is as follows: Fig. 9 As shown in Figure 2. Since the deviation value 5L is smaller than the initial value, f1 can be regarded as a minor fault. After the fault is introduced, the variables Q, C i , T iThere have been abnormal changes to varying degrees, step changes, and obvious deviations from the steady state, resulting in a large number of abnormal values ​​in the statistical distribution of the variables in the right figure, and they are concentrated on the side with larger values, showing a right skewness (such as Fig. 9 As shown in the figure on the right, the value moves up). In fact, since the fault occurred earlier, with the system regulation, the CSTR process showed a steady state under the fault after a period of time, which is manifested in Fig. 9 In the variable statistical distribution diagram on the right, there is no obvious mean shift for each variable.

[0228] For fault f1, the dynamic anomaly monitoring results based on conditional Cauchy-Schwarz divergence change point detection are as follows: Fig.10 As shown, Fig.10 As shown in (a) in the figure, the change point divides the entire monitoring interval into 8 sub-state intervals, among which the first and second stages have obvious deviations relative to other monitoring stages, indicating that a fault has occurred here; further, corresponding to Fig.10 In (b), variables Q, C i ,T i In both the first and second stages, mean shifts and outliers appeared to varying degrees, indicating that these three variables were more related to the fault. If these three variables could be adjusted in time in the first stage, the impact of the fault on the system would be reduced. Starting from the third stage, the statistical distribution of each variable remained within a small range, indicating that the process had resumed stable operation after the fault occurred. In the fifth stage, the numerical range of the variable increased, but it indicated that the process in this stage had undergone dynamic changes, and the user could determine whether the variable needed to be adjusted based on the actual situation.

[0229] 3. Experimental verification and analysis based on the Continuous Stirred Tank Heater (CSTH) process

[0230] The process principle of CSTH is as follows: Fig.11 As shown. For the verification of the fault determination method provided in the embodiment of the present application, a total of 5 variables x=[C L ,C F ,L,T,F],C L is the cold water flow rate, C Fis the cold water valve, L is the liquid level in the tank, F is the cold water flow rate, and T is the outlet water temperature. All measurements are electrical signals within the range of 420mA. The two fault scenarios used to verify the fault determination method provided in the embodiment of the present application are shown in Table 5, denoted as f1 and f2: Fault f1 is that the hot water temperature rises from 50°C to 70°C within 300s, the outlet temperature T increases, and the control loop will cause the steam valve to close slowly; Fault f2 is that the cold water valve is stuck instantly, resulting in abnormal changes in the liquid level and cold water flow F. Both test sets contain 2000 samples, and the fault is introduced in the 601st sample. Fig.12 In the figure, (a) shows the change of each variable over time under normal conditions, and (b) shows the change of each variable over time under two fault conditions, f1 and f2. Under normal conditions, each variable fluctuates stably only within a small range near its own steady state, while under fault conditions, each variable fluctuates greatly.

[0231] Table 5

[0232]

[0233]

[0234] In the process of fault determination, if the sliding window length is too large, the local stationarity or smoothness assumption may be violated; if the sliding window length is too small, the distribution estimation may be unreliable due to insufficient monitoring samples. In order to verify the relationship between the fault determination method provided in the embodiment of the present application and the sliding window length, the fault detection performance is compared under different sliding window lengths w. Fig.13 As shown, Fig.13 (a) in the figure represents the fault detection rate of fault f1 under different sliding window lengths w. Fig.13 (b) in the figure represents the false alarm rate of fault f1 under different sliding window lengths w. Fig.13 (c) in the figure represents the fault detection rate of fault f2 under different sliding window lengths w. Fig.13 (d) in the figure represents the fault false alarm rate of fault f2 under different sliding window lengths w. Fig.13 In (b) and (d) of Figure 2, all methods have the same false alarm rate for faults f1 and f2, because the first 600 normal samples of the two types of fault test sets are generated with the same noise and interference settings. Fig.13 As shown in (a) of Fig. 2, when w∈[10,110], the fault detection rate of fault f1 increases with the increase of the window length of the sliding window. Fig.13In (c), when w∈[40,80], the fault detection rate of fault f2 also increases with the increase of the window length of the sliding window, but when w∈[80,120], the fault false alarm rate increases with the increase of the window length of the sliding window. Therefore, for the fault determination method and the detection method based on the statistical Mahalanobis distance provided in the embodiment of the present application, w=70 is a good compromise between the fault detection rate and the fault false alarm rate, and w=60 is more suitable for the detection method based on the Wasserstein distance.

[0235] Comparing the detection performance of faults f1 and f2 under the window length of the optimal sliding window of each method, as shown in Table 6, the fault determination method provided in the embodiment of the present application has a higher fault detection rate than the method based on the statistical Mahalanobis distance and the method based on the Wasserstein distance, and even exceeds the fault detection method based on the deep network: variational autoencoder (VAE) and orthogonal self-attentive VAE (OSAVA). This is because the number of variables in the CSTH process is small, and the deep architecture advantage of the deep network is not brought into play. In the case of fault f1, the fault determination method provided in the embodiment of the present application has the best detection performance, the highest fault detection rate (97.79%), the lowest fault false alarm rate (0) and the smallest fault detection delay (30 samples). Although in the case of fault f2, the fault detection rate is relatively low in the residual space, it also reflects to a certain extent the effectiveness of change point detection based on conditional Cauchy-Schwarz divergence for abnormal monitoring of dynamic processes. The fault determination method provided in the embodiment of the present application detects the change points of the two fault conditions f1 and f2 respectively. Fig.14 As shown, Fig.14 (a) in Fig. 2 shows the change point detection in the case of f1 fault. Fig.14 (b) in FIG. 5 shows the change point detection in the case of f2 fault, which can effectively detect the fault in a short time.

[0236] Table 6

[0237]

[0238] Among them, the sliding window size based on the statistical Mahalanobis distance method and the Cauchy-Schwarz divergence method is set to 70, the sliding window size based on the Wasserstein distance method is set to 60, and the confidence level is set to 5%.

[0239] The fault determination method provided in the embodiment of the present application calculates the variable dependency relationship between two adjacent sliding windows through conditional Cauchy-Schwarz divergence, and the result of determining the fault isolation variable based on the conditional Cauchy-Schwarz divergence is as follows: Fig.15 As shown. Under fault f1, Fig.15 As can be seen from the left side of (a) in the figure, the outlet water temperature T and the cold water flow F deviate significantly from the steady state, and Fig.15 As can be seen in the figure on the right side of (a) in Figure 1, the statistical distribution of the outlet water temperature T and the cold water flow F presents abnormal values, which can be considered as the main cause variables most related to fault f1. In fact, the outlet water temperature T is the causal variable of fault f1. The cold water flow F, as a control variable, presents an almost consistent step change with the outlet water temperature T, and T gradually returns to a stable state under the control of F. Under fault f2, from Fig.15 As can be seen from the left side of (b) in the figure, the liquid level L in the tank deviates significantly from the steady state, and Fig.15 As can be seen in the figure on the right side of (b) in the figure, the statistical distribution of the tank liquid level L shows an abnormal value, which can be considered as the main cause variable most related to fault f2. In fact, fault f2 is caused by the cold water valve cutting off the liquid level, which causes the control loop to get stuck, but the valve position of the cold water valve and the cold water flow rate are still within the normal range, so only the tank liquid level L is identified as the variable most related to the current state.

[0240] Under faults f1 and f2, the dynamic anomaly monitoring results based on conditional Cauchy-Schwarz divergence change point detection are as follows: Fig.16 and Fig.17 As shown, from Fig.16 As can be seen from (a) in Figure 1, the fault f1 process is divided into five stages, and there are obvious step anomalies in the second, third, and fourth stages. Specifically, Fig.16 In (b), from the statistical distribution, the outlet water temperature T and the cold water flow F have a large number of outliers in the first stage of segmentation, and mean drift occurs in the second and third stages. However, in the fourth stage, the control variable F returns to normal, and the numerical range of the outlet water temperature T is reduced. Until in the fifth stage, only outliers remain in the outlet water temperature T, and the system gradually tends to be stable and controlled under regulation. Fig.17 As can be seen from (a) in the figure, the fault f2 process is divided into 11 stages, corresponding to Fig.17In (b), from the statistical distribution point of view, a large number of outliers appeared in the liquid level L in the tank in the second stage of segmentation, and mean drift appeared in the third stage. If the variable L can be regulated in the second stage, it is possible to avoid the mean drift in the third stage. Although the variables fluctuate in the subsequent stages, they are generally within the controllable range, reflecting the dynamic nature of the system. Table VII is the fault isolation variable identification results of the top three most relevant variables for faults f1 and f2. The importance of the variables and faults decreases row by row. On this basis, the user can regulate the relevant variables in combination with process knowledge to ensure that they operate in a steady state. In summary, the fault determination method provided in the embodiment of the present application is interpretable for dynamic monitoring results, and provides a reference for how to adjust the corresponding variables at each stage, which helps to transform post-accident emergency treatment into pre-accident prevention.

[0241] Table 7

[0242]

[0243]

[0244] Among them, C L is the cold water flow rate, C F is the cold water valve, L is the liquid level in the tank, F is the cold water flow, and T is the outlet water temperature. The importance of variables decreases row by row.

[0245] Based on the fault determination method provided in the above embodiment, the present application also provides a specific implementation of a fault determination device. Please refer to the following embodiment.

[0246] See first Fig.18 , the fault determination device 300 provided in the embodiment of the present application includes:

[0247] An acquisition module 310 is used to acquire operation data of multiple devices within a preset time period;

[0248] A construction module 320, configured to construct a first time-delay matrix and a plurality of second time-delay matrices of operating data using a sliding window;

[0249] A calculation module 330 is used to calculate first Cauchy-Schwarz divergences of the first time-delay matrix and the target second time-delay matrix respectively, wherein the first Cauchy-Schwarz divergence represents the difference between the probability distribution function of the first time-delay matrix and the probability distribution function of the target second time-delay matrix, and the target second time-delay matrix is ​​any one of the plurality of second time-delay matrices;

[0250] The determination module 340 is used to determine that the operation data corresponding to the target second time-delay matrix is ​​abnormal and multiple equipment failures when the first Cauchy-Schwarz divergence is greater than the first threshold.

[0251] Based on this, in some embodiments, the calculation module 330 is specifically used to:

[0252] Determining a probability distribution function of a first time-delay matrix and a probability distribution function of a target second time-delay matrix;

[0253] Determine that the first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix satisfies the following conditions:

[0254]

[0255] Among them, X tes,t k represents the target second time-delay matrix, X tes,t ref represents the first time-delay matrix, p(X test,k ) represents the probability distribution function of the target second time-delay matrix, p(X test,ref ) represents the probability distribution function of the first time-delay matrix.

[0256] Based on this, in some embodiments, the apparatus 300 may further include:

[0257] The acquisition module 310 is further configured to acquire historical operation data of multiple devices within a preset time period before acquiring the operation data of multiple devices within a preset time period, and use the historical operation data as a training set;

[0258] The construction module 320 is further used to construct a third time-lag matrix and a plurality of fourth time-lag matrices of the historical operation data in the training set by using a sliding window;

[0259] The calculation module 330 is further used to calculate the second Cauchy-Schwarz divergence of the third time-delay matrix and the target fourth time-delay matrix respectively, the second Cauchy-Schwarz divergence characterizing the difference between the probability distribution function of the third time-delay matrix and the probability distribution function of the target fourth time-delay matrix, and the target fourth time-delay matrix is ​​any one of the plurality of fourth time-delay matrices;

[0260] The calculation module 330 is further used to calculate the control limit corresponding to the second Cauchy-Schwarz divergence based on a predetermined confidence level using a kernel density function, and use the control limit as the first threshold;

[0261] Among them, the second Cauchy-Schwarz divergence of the third time-delay matrix and the target fourth time-delay matrix is ​​calculated respectively, and the following conditions are satisfied:

[0262]

[0263] Among them, p(Xtrain,k ) represents the probability distribution function of the target fourth time-delay matrix, p(X train,ref ) represents the probability distribution function of the third time-delay matrix.

[0264] Based on this, in some embodiments, the apparatus 300 may further include:

[0265] A conversion module, used for converting the operation data of multiple devices in the target second time-delay matrix into a first variable corresponding to each device, wherein the first variable includes the operation data of the device in the target second time-delay matrix;

[0266] The calculation module 330 is further used to calculate the first conditional Cauchy-Schwarz divergence of the first variable under two adjacent second time-lag matrices, where the first conditional Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the first variable under two adjacent second time-lag matrices;

[0267] The calculation module 330 is further used to standardize the first conditional Cauchy-Schwarz divergence using a predetermined mean and a predetermined standard deviation to obtain a standardized first conditional Cauchy-Schwarz divergence;

[0268] The calculation module 330 is further used to normalize the first normalized conditional Cauchy-Schwarz divergence to obtain a target conditional Cauchy-Schwarz divergence;

[0269] The determination module 340 is further used to determine that the first variable corresponding to the maximum target condition Cauchy-Schwarz divergence is a fault isolation variable;

[0270] The determination module 340 is further used to determine the fault device information corresponding to the fault isolation variable;

[0271] The calculation of the first conditional Cauchy-Schwarz divergence of the first variable under two adjacent second time-lag matrices satisfies the following conditions:

[0272]

[0273] in, Represents the first variable at the k-1th moment The conditional probability distribution function under the condition of the second time lag matrix at the k-1th moment, Represents the first variable at the kth moment The conditional probability distribution function under the condition of the second time-delay matrix at the kth time, l represents the lth row of the time-delay matrix, represents the lth row vector of the second delay matrix, represents the first variable including the first row vector in the second time-delay matrix except the lth row vector;

[0274] The first conditional Cauchy-Schwarz divergence is standardized using a predetermined mean and a predetermined standard deviation, and the standardized first conditional Cauchy-Schwarz divergence satisfies the following conditions:

[0275]

[0276] in, represents the predetermined mean, represents the predetermined standard deviation;

[0277] The first conditional Cauchy-Schwarz divergence after normalization is normalized to obtain the target conditional Cauchy-Schwarz divergence that satisfies the following conditions:

[0278]

[0279] Wherein, m represents the mth column of the delay matrix.

[0280] Based on this, in some embodiments, the apparatus 300 may further include:

[0281] The conversion module is further used to convert the operating data of multiple devices in the target fourth time-lag matrix into a second variable corresponding to each device before the first conditional Cauchy-Schwarz divergence is standardized by using a predetermined mean and a predetermined standard deviation to obtain the standardized first conditional Cauchy-Schwarz divergence, wherein the second variable includes the operating data of the device in the target fourth time-lag matrix;

[0282] The calculation module 330 is further used to calculate the second conditional Cauchy-Schwarz divergence of the second variable under two adjacent fourth time-lag matrices, where the second Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the second variable under two adjacent fourth time-lag matrices;

[0283] The calculation module 330 is further used to calculate the mean and standard deviation of the second conditional Cauchy-Schwarz divergence, and use the mean as the predetermined mean and the standard deviation as the predetermined standard deviation;

[0284] Among them, the calculation of the second conditional Cauchy-Schwarz divergence of the second variable under two adjacent fourth time-lag matrices satisfies the following conditions:

[0285]

[0286] in, Represents the second variable at the k-1th moment The conditional probability distribution function under the condition of the fourth time lag matrix at the k-1th moment, The second variable representing the kth time The conditional probability distribution function under the condition of the fourth time delay matrix at the kth time, l represents the lth row of the time delay matrix, represents the lth row vector of the fourth time-delay matrix, Represents the first variable including the l-th row vector in the second time-delay matrix.

[0287] Based on this, in some embodiments, the apparatus 300 may further include:

[0288] The calculation module 330 is further used to calculate the third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix every first target time length, where the third conditional Cauchy-Schwarz divergence represents the difference between the conditional probability distribution functions of the first variable under the second time lag matrix every first target time length;

[0289] The calculation module 330 is further used to calculate the average value of the third conditional Cauchy-Schwarz divergence within a second target time period, the length of the second target time period being greater than the first target time period;

[0290] The determination module 340 is further configured to determine that a process abnormality occurs in the equipment corresponding to the first variable when the Cauchy-Schwarz divergence of the target third condition is greater than the average value.

[0291] Based on this, in some embodiments, the calculation module 330 may be specifically used for:

[0292] The third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix is ​​calculated every first target time to satisfy the following conditions:

[0293]

[0294] in, Represents the first variable at the k-1th moment The conditional probability distribution function under the condition of the second time lag matrix at the k-1th moment, Indicates the k+wth c Second variable at time -1 At the k+w c The conditional probability distribution function under the condition of the second time lag matrix at time -1, w c Indicates the first target duration, Represents the first variable including the l-th row vector in the second time-delay matrix.

[0295] The various modules of the fault determination device provided in the embodiment of the present application can realize the functions of the various steps of the above-mentioned fault determination method and achieve the corresponding technical effects, which will not be repeated here for the sake of concise description.

[0296] Based on the same inventive concept, an embodiment of the present application also provides an electronic device.

[0297] Fig.19 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0298] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.

[0299] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0300] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside of an integrated gateway disaster recovery device. In a specific embodiment, memory 402 is a non-volatile solid-state memory.

[0301] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.

[0302] The processor 401 implements any one of the fault determination methods in the above embodiments by reading and executing computer program instructions stored in the memory 402 .

[0303] In one example, the electronic device may further include a communication interface 403 and a bus 410. Fig.19 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.

[0304] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0305] The bus 410 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, a front side bus (Front Side Bus, FSB), a hypertransport (Hyper Transport, HT) interconnection, an industry standard architecture (Industry Standard Architecture, ISA) bus, an infinite bandwidth interconnection, a low pin count (Linear Predictive Coding, LPC) bus, a memory bus, a micro channel architecture (MicroChannel Architecture, MCA) bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) bus, a video electronics standard association local (VESA Local Bus, VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 410 may include one or more buses. Although the embodiments of the present application describe and illustrate a specific bus, the present application considers any suitable bus or interconnection. The electronic device can execute the fault determination method in the embodiments of the present invention, thereby implementing the above fault determination method.

[0306] In addition, in combination with the fault determination method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the fault determination methods in the above embodiment is implemented.

[0307] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes each process of implementing any one of the above-mentioned fault determination method embodiments.

[0308] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0309] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0310] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0311] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0312] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for determining a fault, characterized in that: include: Obtain the operating data of multiple devices within a preset time period; constructing a first time-lag matrix and a plurality of second time-lag matrices of the operating data using a sliding window; respectively calculating first Cauchy-Schwarz divergences of the first time-delay matrix and a target second time-delay matrix, wherein the first Cauchy-Schwarz divergences characterize the difference between the probability distribution function of the first time-delay matrix and the probability distribution function of the target second time-delay matrix, and the target second time-delay matrix is ​​any one of the plurality of second time-delay matrices; When the first Cauchy-Schwarz divergence is greater than a first threshold, it is determined that the operating data corresponding to the target second time-delay matrix is ​​abnormal, and the multiple equipment failures are determined.

2. The method for determining a fault according to claim 1, characterized in that: The first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix is ​​calculated respectively, comprising: Determining a probability distribution function of the first time-delay matrix and a probability distribution function of the target second time-delay matrix; Determine that the first Cauchy-Schwarz divergence of the first time-delay matrix and the target second time-delay matrix satisfies the following condition: Among them, X test,k represents the target second time-delay matrix, X test,ref represents the first time-delay matrix, p(X test,k ) represents the probability distribution function of the target second time-delay matrix, p(X test,ref ) represents the probability distribution function of the first time-delay matrix.

3. The method for determining a fault according to claim 2, characterized in that: Before obtaining the operation data of the plurality of devices within a preset time period, the method further includes: Acquire historical operation data of the plurality of devices within the preset time period, and use the historical operation data as a training set; Constructing a third time-lag matrix and a plurality of fourth time-lag matrices of the historical operation data in the training set by using a sliding window; respectively calculating a second Cauchy-Schwarz divergence of the third time-delay matrix and a target fourth time-delay matrix, wherein the second Cauchy-Schwarz divergence represents a difference between a probability distribution function of the third time-delay matrix and a probability distribution function of the target fourth time-delay matrix, and the target fourth time-delay matrix is ​​any one of the plurality of fourth time-delay matrices; Based on a predetermined confidence level, calculating a control limit corresponding to the second Cauchy-Schwarz divergence using a kernel density function, and using the control limit as a first threshold; The second Cauchy-Schwarz divergence of the third time-delay matrix and the target fourth time-delay matrix is ​​calculated respectively, and the following conditions are satisfied: Among them, p(X train,k ) represents the probability distribution function of the target fourth time-delay matrix, p(X train,ref ) represents the probability distribution function of the third time-delay matrix.

4. The method for determining a fault according to claim 3, characterized in that: Also includes: Converting the operating data of multiple devices in the target second time-delay matrix into a first variable corresponding to each device, wherein the first variable includes the operating data of the devices in the target second time-delay matrix; Calculating a first conditional Cauchy-Schwarz divergence of the first variable under two adjacent second time-lag matrices, where the first conditional Cauchy-Schwarz divergence represents a difference in a conditional probability distribution function of the first variable under two adjacent second time-lag matrices; Standardizing the first conditional Cauchy-Schwarz divergence using a predetermined mean and a predetermined standard deviation to obtain a standardized first conditional Cauchy-Schwarz divergence; Normalizing the standardized first conditional Cauchy-Schwarz divergence to obtain a target conditional Cauchy-Schwarz divergence; Determine that a first variable corresponding to the maximum target condition Cauchy-Schwarz divergence is a fault isolation variable; Determine the fault device information corresponding to the fault isolation variable; The first conditional Cauchy-Schwarz divergence of the first variable under two adjacent second time-lag matrices satisfies the following conditions: in, Represents the first variable at the k-1th moment The conditional probability distribution function under the condition of the second time lag matrix at the k-1th moment, Represents the first variable at the kth moment The conditional probability distribution function under the condition of the second time-delay matrix at the kth time, l represents the lth row of the time-delay matrix, represents the lth row vector of the second delay matrix, represents the first variable including the first row vector in the second time-delay matrix except the lth row vector; The first conditional Cauchy-Schwarz divergence is standardized by using a predetermined mean and a predetermined standard deviation, so that the standardized first conditional Cauchy-Schwarz divergence satisfies the following conditions: in, represents the predetermined mean, represents the predetermined standard deviation; The standardized first conditional Cauchy-Schwarz divergence is normalized to obtain a target conditional Cauchy-Schwarz divergence that satisfies the following conditions: Wherein, m represents the mth column of the delay matrix.

5. The method for determining a fault according to claim 4, characterized in that: Before normalizing the first conditional Cauchy-Schwarz divergence by using a predetermined mean and a predetermined standard deviation to obtain the normalized first conditional Cauchy-Schwarz divergence, the method further includes: Converting the operating data of multiple devices in the target fourth time-delay matrix into a second variable corresponding to each device, wherein the second variable includes the operating data of the device in the target fourth time-delay matrix; Calculating a second conditional Cauchy-Schwarz divergence of the second variable under two adjacent fourth time-lag matrices, where the second Cauchy-Schwarz divergence represents a difference in a conditional probability distribution function of the second variable under two adjacent fourth time-lag matrices; Calculating a mean and a standard deviation of the second conditional Cauchy-Schwarz divergence, and using the mean as a predetermined mean and the standard deviation as a predetermined standard deviation; The second conditional Cauchy-Schwarz divergence of the second variable under two adjacent fourth time-lag matrices satisfies the following conditions: in, Represents the second variable at the k-1th moment The conditional probability distribution function under the condition of the fourth time lag matrix at the k-1th moment, The second variable representing the kth time The conditional probability distribution function under the condition of the fourth time delay matrix at the kth time, l represents the lth row of the time delay matrix, represents the lth row vector of the fourth time-delay matrix, Represents the first variable including the l-th row vector in the second time-delay matrix.

6. The method for determining a fault according to claim 4 or 5, characterized in that: Also includes: Calculating a third conditional Cauchy-Schwarz divergence of the first variable under the second time-lag matrix at every first target duration, wherein the third conditional Cauchy-Schwarz divergence represents a difference between conditional probability distribution functions of the first variable under the second time-lag matrix at every first target duration; calculating an average value of the third conditional Cauchy-Schwarz divergence within a second target time period, wherein the second target time period is longer than the first target time period; When the target third condition Cauchy-Schwarz divergence is greater than the average value, it is determined that a process abnormality occurs in the equipment corresponding to the first variable.

7. The method for determining a fault according to claim 6, characterized in that: The calculating the third conditional Cauchy-Schwarz divergence of the first variable under the second time lag matrix at every first target time length includes: The third conditional Cauchy-Schwarz divergence of the first variable under the second time-lag matrix is ​​calculated every first target time to satisfy the following condition: in, Represents the first variable at the k-1th moment The conditional probability distribution function under the condition of the second time lag matrix at the k-1th moment, Indicates the k+wth c Second variable at time -1 At the k+w c The conditional probability distribution function of the second time lag matrix under the condition of time -1, the w c Indicates the first target duration, Represents the first variable including the l-th row vector in the second time-delay matrix.

8. A fault determination device, characterized in that: The device comprises: An acquisition module is used to acquire the operation data of multiple devices within a preset time period; A construction module, configured to construct a first time-lag matrix and a plurality of second time-lag matrices of the operation data by using a sliding window; a calculation module, configured to respectively calculate a first Cauchy-Schwarz divergence of the first time-delay matrix and a target second time-delay matrix, wherein the first Cauchy-Schwarz divergence represents a difference between a probability distribution function of the first time-delay matrix and a probability distribution function of the target second time-delay matrix, and the target second time-delay matrix is ​​any one of the plurality of second time-delay matrices; A determination module is used to determine that the operating data corresponding to the target second time-delay matrix is ​​abnormal and the multiple equipment failures when the first Cauchy-Schwarz divergence is greater than a first threshold.

9. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the fault determination method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the fault determination method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the fault determination method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • A design method for on-line fault detection of high-speed railway traction system

    CN109214277A

  • Transformer fault detection and classification method based on DKPCA and KFDA

    CN112465010A

  • Fault detection method based on improved KECA, electronic equipment and readable storage medium

    CN113743476A

  • Multi-working-condition process industrial fault detection and diagnosis method based on deep transfer learning

    CN114065613A

  • Industrial process tiny fault detection method based on standard variable analysis and JS divergence fusion

    CN114995338A

Cited By

  • Method and device for determining equipment fault result and electronic equipment

    CN120336935A

  • Method, device and electronic equipment for determining equipment failure results

    CN120336935B