Mechanical seal failure early warning method, device, computer equipment and storage medium

By performing feature extraction and difference calculation on the monitoring signals of mechanical seals, the problem of inability to make full use of monitoring data in traditional methods is solved, more accurate fault warnings are achieved, and the accuracy and efficiency of mechanical seal fault detection are improved.

CN113947115BActive Publication Date: 2024-09-13TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111157931.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2024-09-13
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

Traditional mechanical seal failure early warning methods cannot make full use of monitoring data, resulting in the inability to provide more accurate failure early warning, especially as the number of monitoring devices and sampling rates increase.

Method used

By obtaining the monitoring signal set of the target collection period, feature extraction is performed to obtain the feature vector, and the difference is calculated with the feature vectors of multiple historical collection cycles to determine whether the mechanical seal is faulty, and the degree of difference between the feature vector and the historical vector is used Make fault determinations and avoid relying on experience to set thresholds.

Benefits of technology

It achieves more accurate early warning of mechanical seal failures, makes full use of monitoring data, and improves the accuracy and efficiency of early warning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113947115B
    Figure CN113947115B
Patent Text Reader

Abstract

The present application relates to a mechanical seal fault warning method, device, computer equipment and storage medium. The method comprises: obtaining a target monitoring signal set corresponding to a target acquisition cycle, the target monitoring signal set comprising a plurality of monitoring signal values ​​of a mechanical seal acquired within the target acquisition cycle; performing feature extraction on the target monitoring signal set to obtain a feature vector of the target monitoring signal set; obtaining feature vectors of each historical monitoring signal set corresponding to a plurality of historical acquisition cycles, wherein the plurality of historical acquisition cycles are located before the target acquisition cycle in time; determining the degree of difference between the feature vector of the target monitoring signal set and the feature vectors of each of the historical monitoring signal sets, and determining whether the mechanical seal has a fault based on the degree of difference. The present method can make full use of each signal value in the monitored mechanical seal, thereby providing an accurate fault warning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of fault detection, and in particular to a mechanical seal fault early warning method, device, computer equipment and storage medium. Background Art

[0002] Mechanical seals, also known as face seals, need to maintain low or no leakage while reducing or eliminating friction and wear of the friction pair to extend its life. In order to determine whether the mechanical seal is in normal operation, it is necessary to monitor the mechanical seal for faults and issue an early warning when a fault occurs.

[0003] In traditional technology, the early warning strategy is that technicians set corresponding thresholds for each signal value in the monitored mechanical seal based on experience. When each signal value reaches the corresponding level threshold, a warning of the corresponding level is triggered.

[0004] However, the number of monitoring devices and sampling rates are increasing, resulting in the inability of technicians to fully utilize all monitoring data to implement early warning strategies in traditional technologies, and thus to provide more accurate fault warnings. Summary of the invention

[0005] Based on this, it is necessary to provide a mechanical seal fault warning method, device, computer equipment and storage medium that can fully utilize the various signal values ​​in the monitored mechanical seal to provide accurate fault warning in response to the above technical problems.

[0006] In a first aspect, a mechanical seal failure early warning method is provided, the method comprising:

[0007] Acquire a target monitoring signal set corresponding to a target acquisition cycle, the target monitoring signal set including a plurality of monitoring signal values ​​of the mechanical seal acquired within the target acquisition cycle; perform feature extraction on the target monitoring signal set to obtain a feature vector of the target monitoring signal set; acquire feature vectors of each historical monitoring signal set corresponding to a plurality of historical acquisition cycles, wherein the plurality of historical acquisition cycles are located before the target acquisition cycle in time; determine the degree of difference between the feature vector of the target monitoring signal set and the feature vectors of each of the historical monitoring signal sets, and determine whether the mechanical seal is faulty based on the degree of difference.

[0008] In one embodiment, determining the degree of difference between the feature vector of the target monitoring signal set and the feature vectors of each of the historical monitoring signal sets includes:

[0009] Calculate the first standardized vector of the characteristic vector of the target monitoring signal set, and obtain the second standardized vector of the characteristic vector of each historical monitoring signal set obtained by historical calculation; calculate the first density value corresponding to the characteristic vector of the target monitoring signal set according to the first standardized vector and the second standardized vectors; calculate the second density value corresponding to the characteristic vector of each historical monitoring signal set according to the second standardized vectors; calculate the first initial difference degree parameter corresponding to the characteristic vector of the target monitoring signal set according to the first density value and the second density value; calculate the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set according to the second density value; smooth the first initial difference degree parameter according to the first initial difference degree parameter and the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set, and obtain the difference degree parameter corresponding to the characteristic vector of the target monitoring signal set.

[0010] In one embodiment, feature extraction is performed on the target monitoring signal set to obtain a feature vector corresponding to the target monitoring signal set, including:

[0011] Different types of statistical calculations are performed on each monitoring signal value included in the target monitoring signal set to obtain multiple statistical characteristic values, and a characteristic vector corresponding to the target monitoring signal set is constructed based on the multiple statistical characteristic values; wherein the different types of statistical calculations include at least one of the following: average value calculation; standard deviation calculation; skewness calculation; kurtosis calculation; average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation after filtering processing; average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation after implementing empirical mode decomposition; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, a difference calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then an average value calculation or a standard deviation calculation, a skewness calculation, and a kurtosis calculation is performed; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, a sum calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then an average value calculation or a standard deviation calculation, a skewness calculation, and a kurtosis calculation is performed.

[0012] In one embodiment, obtaining feature vectors of each historical monitoring signal set corresponding to multiple historical collection periods includes: obtaining feature vectors of each historical monitoring signal set from a sample set, wherein the sample set is used to store the corresponding feature vector after extracting features from the monitoring signal set corresponding to a certain collection period to obtain the corresponding feature vector.

[0013] In one embodiment, the method further includes: detecting whether the feature vector corresponding to the target monitoring signal set is the Nth feature vector not stored in the sample set, where N is a positive integer; if so, storing the feature vector corresponding to the target monitoring signal set in the sample set.

[0014] In one embodiment, the feature vector corresponding to the target monitoring signal set is stored in the sample set, including: detecting whether the feature vectors stored in the sample set reaches a maximum sample number; if the maximum sample number is reached, deleting the N feature vectors first stored in the sample set from the sample set, and storing the feature vector corresponding to the target monitoring signal set in the sample set.

[0015] In one embodiment, obtaining the feature vector of each historical monitoring signal set from the sample set includes: detecting whether the feature vectors stored in the sample set reach a minimum sample number; if the minimum sample number is reached, obtaining the feature vector of each historical monitoring signal set from the sample set.

[0016] In one of the embodiments, the method further includes: if the minimum number of samples is not reached, prohibiting the acquisition of the feature vectors of each of the historical monitoring signal sets from the sample set, and storing the feature vectors corresponding to the target monitoring signal set in the sample set.

[0017] In a second aspect, a mechanical seal failure early warning device is provided, the device comprising:

[0018] A first acquisition module is used to acquire a target monitoring signal set corresponding to a target acquisition period, where the target monitoring signal set includes a plurality of monitoring signal values ​​of the mechanical seal acquired within the target acquisition period;

[0019] An extraction module is used to extract features from the target monitoring signal set to obtain a feature vector of the target monitoring signal set;

[0020] A second acquisition module is used to acquire feature vectors of each historical monitoring signal set corresponding to a plurality of historical acquisition cycles, wherein the plurality of historical acquisition cycles are located before the target acquisition cycle in time;

[0021] The determination module is used to determine the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each of the historical monitoring signal sets, and determine whether the mechanical seal has a fault based on the degree of difference.

[0022] In one embodiment, the determination module is specifically used to:

[0023] Calculate the first standardized vector of the characteristic vector of the target monitoring signal set, and obtain the second standardized vector of the characteristic vector of each historical monitoring signal set obtained by historical calculation; calculate the first density value corresponding to the characteristic vector of the target monitoring signal set according to the first standardized vector and the second standardized vectors; calculate the second density value corresponding to the characteristic vector of each historical monitoring signal set according to the second standardized vectors; calculate the first initial difference degree parameter corresponding to the characteristic vector of the target monitoring signal set according to the first density value and the second density value; calculate the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set according to the second density value; smooth the first initial difference degree parameter according to the first initial difference degree parameter and the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set, and obtain the difference degree parameter corresponding to the characteristic vector of the target monitoring signal set.

[0024] In one embodiment, the extraction module is specifically used to:

[0025] Different types of statistical calculations are performed on each monitoring signal value included in the target monitoring signal set to obtain multiple statistical characteristic values, and a characteristic vector corresponding to the target monitoring signal set is constructed based on the multiple statistical characteristic values; wherein the different types of statistical calculations include at least one of the following: average value calculation; standard deviation calculation; skewness calculation; kurtosis calculation; average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation after filtering processing; average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation after implementing empirical mode decomposition; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, a difference calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then an average value calculation or a standard deviation calculation, a skewness calculation, and a kurtosis calculation is performed; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, a sum calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then an average value calculation or a standard deviation calculation, a skewness calculation, and a kurtosis calculation is performed.

[0026] In one embodiment, the second acquisition module is specifically used to: obtain the feature vector of each historical monitoring signal set from the sample set, wherein the sample set is used to store the corresponding feature vector obtained after performing feature extraction on the monitoring signal set corresponding to a certain acquisition period to obtain the corresponding feature vector.

[0027] In one embodiment, the device further comprises:

[0028] A detection module, used to detect whether the feature vector corresponding to the target monitoring signal set is the Nth feature vector that is not stored in the sample set, where N is a positive integer;

[0029] The first storage module is used to store the feature vector corresponding to the target monitoring signal set in the sample set when it is detected that the feature vector corresponding to the target monitoring signal set is the Nth feature vector not stored in the sample set.

[0030] In one embodiment, the first storage module is specifically used to: detect whether the feature vectors stored in the sample set reaches the maximum number of samples; if the maximum number of samples is reached, the N feature vectors first stored in the sample set are deleted from the sample set, and the feature vectors corresponding to the target monitoring signal set are stored in the sample set.

[0031] In one of the embodiments, the second acquisition module is specifically used to: detect whether the feature vectors stored in the sample set have reached a minimum sample number; if the minimum sample number has been reached, acquire the feature vectors of each historical monitoring signal set from the sample set.

[0032] In one embodiment, the device further comprises:

[0033] The second storage module is used to prohibit obtaining the feature vectors of each historical monitoring signal set from the sample set if the minimum number of samples is not reached, and store the feature vector corresponding to the target monitoring signal set in the sample set.

[0034] In a third aspect, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the methods described in the first aspect when executing the computer program.

[0035] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any one of the first aspects are implemented.

[0036] The above-mentioned mechanical seal fault early warning method, device, computer equipment and storage medium can obtain the characteristic vectors of all target monitoring signal sets collected by the monitoring device at the corresponding sampling rate in real time by obtaining the target monitoring signal set corresponding to the target acquisition period and performing feature extraction on the target monitoring signal set, and obtain the characteristic vectors of each historical monitoring signal set corresponding to multiple historical acquisition periods respectively, and then judge whether the mechanical seal has a fault based on the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each historical monitoring signal set; the calculation of the degree of difference uses the characteristic vector of the target monitoring signal set and the characteristic vector of each historical monitoring signal set, that is, the monitoring device is fully utilized to collect all monitoring data at the corresponding sampling rate, and it is no longer necessary for technical personnel to set thresholds based on experience. Instead, it can directly judge whether the mechanical seal has a fault based on the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each historical monitoring signal set, thereby providing a more accurate early warning. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 An application environment diagram of the mechanical seal failure early warning method provided in an embodiment of the present application;

[0038] Figure 2 A flow chart of a mechanical seal failure early warning method provided in an embodiment of the present application;

[0039] Figure 3 A flow chart of a feature extraction method provided in an embodiment of the present application;

[0040] Figure 4 A flowchart of a storage process provided in an embodiment of the present application;

[0041] Figure 5 A flowchart of another storage process provided in an embodiment of the present application;

[0042] Figure 6 A flowchart of a method for determining a degree of difference provided in an embodiment of the present application;

[0043] Figure 7 A flowchart of a multi-level sealing abnormality monitoring and early warning provided in an embodiment of the present application;

[0044] Figure 8 A block diagram of a first mechanical seal failure warning device provided in an embodiment of the present application;

[0045] Fig. 9 A block diagram of a second mechanical seal failure warning device provided in an embodiment of the present application;

[0046] Fig.10 A block diagram of a third mechanical seal failure warning device provided in an embodiment of the present application;

[0047] Fig.11 A block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] Mechanical seals, also known as end face seals, refer to devices that prevent fluid leakage by maintaining contact and relative sliding of at least one pair of end faces perpendicular to the axis of rotation under the action of fluid pressure and the elastic force of the compensation mechanism and the cooperation of auxiliary seals; the friction pair is formed by the two end faces in relative motion and the fluid medium; the mechanical seal needs to reduce or eliminate the friction and wear of the friction pair while maintaining low leakage or no leakage to extend its service life.

[0050] At present, many monitoring technologies have been gradually applied to mechanical seals in an attempt to determine whether the mechanical seals are in a normal operating state through signals monitored by monitoring devices.

[0051] In the related technology, a fault warning is provided for a mechanical seal failure. The related warning strategy is that the technician sets a corresponding fault level threshold for each monitoring data based on experience based on the data monitored by the monitoring device. When each data value reaches the corresponding level threshold, a warning of the corresponding level is triggered.

[0052] However, with the increasing number of monitoring devices and sampling rates, the types and numbers of monitoring data are increasing. In the early warning strategies of related technologies, the experience of technicians cannot keep up with the changes in the monitoring devices in a timely manner, and the monitored data cannot be fully utilized, thus failing to provide more accurate fault warnings.

[0053] The mechanical seal failure warning method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Sensors 1 to n are connected to the computer device 101 in communication; the sensor realizes the function of the monitoring device, and can be a pressure sensor, a temperature sensor, a displacement sensor, a flow sensor, etc. The sensor transmits the collected data of the mechanical seal to the computer device 101; wherein the number of sensors can be set according to the number of signals that the mechanical seal needs to monitor. The computer device 101 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices.

[0054] In the present application embodiment, Figure 2As shown, it shows a flow chart of a mechanical seal failure early warning method provided by an embodiment of the present application, in which the method is applied to Figure 1 The computer device in the example is used to illustrate, including the following steps:

[0055] Step 201 : acquiring a target monitoring signal set corresponding to a target acquisition period, wherein the target monitoring signal set includes a plurality of monitoring signal values ​​of a mechanical seal acquired within the target acquisition period.

[0056] Among them, the target collection cycle is a time interval, and the target collection cycle can be set to different durations according to the capabilities of the computer equipment. Typically, the target collection cycle can be five minutes; the monitoring device, that is, the sensor, monitors and collects multiple detection signal values ​​of the mechanical seal within the target collection cycle, and the multiple monitoring signal values ​​constitute a target monitoring signal set.

[0057] Step 202: extract features from the target monitoring signal set to obtain a feature vector of the target monitoring signal set.

[0058] Among them, the target monitoring signal set corresponding to the acquired target acquisition period includes multiple monitoring signal values ​​of the mechanical seal collected during the target acquisition period, and the characteristic vector of the target monitoring signal set is obtained according to the multiple monitoring signal values ​​in the target monitoring signal set.

[0059] Step 203 : acquiring feature vectors of each historical monitoring signal set corresponding to a plurality of historical collection periods respectively, wherein the plurality of historical collection periods are located before the target collection period in terms of time.

[0060] Among them, the historical collection cycle is located before the target collection cycle in time, that is, the historical collection cycle can be after the target monitoring signal set corresponding to the j-th target collection cycle is obtained, when the j+1 target collection cycle arrives, the j-th target collection cycle is taken as the historical collection cycle; accordingly, the target monitoring signal set corresponding to the j-th target collection cycle is the historical monitoring signal set corresponding to the historical collection cycle, and the historical monitoring signal set has its corresponding feature vector; therefore, after obtaining the feature vector of the target monitoring signal set, the feature vector of each historical monitoring signal set can also be obtained; it should be noted that the above j has no specific meaning and is only used to represent the j-th target collection cycle.

[0061] Step 204, determining the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each of the historical monitoring signal sets, and determining whether the mechanical seal has a fault according to the degree of difference.

[0062] Among them, after the characteristic vector of the target monitoring signal set is obtained, the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each historical monitoring signal set is determined according to the characteristic vector of the target monitoring signal set and the characteristic vector of each historical monitoring signal set. The degree of difference can be characterized by: based on the characteristic vector of each historical monitoring signal set, to what extent the characteristic vector of the target monitoring signal set is normal or abnormal. Therefore, based on the degree of difference, it can be determined whether the mechanical seal is faulty and the degree of the fault can be determined.

[0063] The above-mentioned mechanical seal fault early warning method can obtain the characteristic vectors of all target monitoring signal sets collected by the monitoring device at the corresponding sampling rate in real time by obtaining the target monitoring signal set corresponding to the target acquisition period and performing feature extraction on the target monitoring signal set, and obtain the characteristic vectors of each historical monitoring signal set corresponding to multiple historical acquisition periods respectively, and then judge whether the mechanical seal has a fault based on the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each historical monitoring signal set; the calculation of the degree of difference uses the characteristic vector of the target monitoring signal set and the characteristic vector of each historical monitoring signal set, that is, it makes full use of all monitoring data collected by the monitoring device at the corresponding sampling rate, and then through the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each historical monitoring signal set, it can be achieved to provide a more accurate early warning of whether the mechanical seal has a fault.

[0064] In the present application embodiment, Figure 3 As shown, it shows a flow chart of a feature extraction method provided in an embodiment of the present application. Feature extraction of a target monitoring signal set may include the following steps:

[0065] Step 301 : performing different types of statistical calculations on each monitoring signal value included in the target monitoring signal set to obtain a plurality of statistical characteristic values.

[0066] Among them, one or more types of statistical calculations can be performed on each monitoring signal value included in the target monitoring signal set as needed, and each statistical calculation obtains a corresponding statistical characteristic value; when multiple different types of statistical calculations are performed, corresponding multiple statistical characteristic values ​​are obtained.

[0067] Step 302, constructing a feature vector corresponding to the target monitoring signal set based on the multiple statistical feature values. Among them, the different types of statistical calculations include at least one of the following: average calculation; standard deviation calculation; skewness calculation; kurtosis calculation; average calculation or standard deviation calculation, skewness calculation, kurtosis calculation after filtering; average calculation or standard deviation calculation, skewness calculation, kurtosis calculation after implementing empirical mode decomposition; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, the difference calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then the average calculation or standard deviation calculation, skewness calculation, kurtosis calculation is performed; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, the sum calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then the average calculation or standard deviation calculation, skewness calculation, kurtosis calculation is performed.

[0068] Among them, each statistical calculation obtains a corresponding statistical characteristic value, and the statistical characteristic value is used as a dimension of the characteristic vector corresponding to the target monitoring signal set. After performing multiple different types of statistical calculations, the corresponding multiple statistical characteristic values ​​are each used as a dimension of the characteristic vector corresponding to the target monitoring signal set; for example, the average value of each monitoring signal value included in the target monitoring signal set is calculated to obtain an average value, and the average value is used as a dimension of the characteristic vector corresponding to the target monitoring signal set; for another example, each monitoring signal value included in the target monitoring signal set is first filtered, and then the standard deviation is calculated, and the obtained standard deviation value is used as a dimension of the characteristic vector corresponding to the target monitoring signal set; it should be noted that the above-mentioned filtering processing and the implementation of empirical mode decomposition processing can be combined with the above-mentioned average value calculation, standard deviation calculation, skewness calculation, kurtosis calculation, difference calculation and sum calculation as needed.

[0069] In an embodiment of the present application, obtaining feature vectors of each historical monitoring signal set corresponding to multiple historical collection periods includes: obtaining feature vectors of each historical monitoring signal set from a sample set, wherein the sample set is used to store the corresponding feature vector obtained after feature extraction is performed on the monitoring signal set corresponding to a certain collection period to obtain the corresponding feature vector.

[0070] Among them, the feature vector corresponding to the monitoring signal set corresponding to a certain acquisition period is stored in the sample set, and the feature vector stored in the sample set may be the feature vector corresponding to some historical monitoring signal sets; the sample set may set the number of feature vectors that can be stored, the maximum number of feature vectors that can be stored is recorded as the maximum number of samples, and the minimum number of feature vectors that can be stored is recorded as the minimum number of samples; when the number of feature vectors stored in the sample set does not reach the minimum sample value, each time a feature vector corresponding to a target monitoring signal set is obtained, the feature vector is directly stored in the sample set; when the feature vectors stored in the sample set reach the minimum sample value, each time a feature vector corresponding to a target monitoring signal set is obtained, it is not directly stored in the sample set.

[0071] As mentioned above, the sample set is used to store feature vectors. After the feature vector corresponding to the target monitoring signal set is obtained, the feature vector corresponding to the target monitoring signal set needs to be stored in the sample set. The storage process is described below:

[0072] like Figure 4 As shown, it shows a flowchart of a storage process provided by an embodiment of the present application, including the following steps:

[0073] Step 401 , detecting whether the feature vector corresponding to the target monitoring signal set is the Nth feature vector not stored in the sample set, where N is a positive integer.

[0074] Step 402: If it is detected that the feature vector corresponding to the target monitoring signal set is the Nth feature vector not stored in the sample set, the feature vector corresponding to the target monitoring signal set is stored in the sample set.

[0075] Among them, the value N can be set to different positive integer values ​​according to the processing capacity of the computer device; if N is set to be equal to 1, that is, each time a feature vector corresponding to a target monitoring signal set is detected, the feature vector corresponding to the target monitoring signal set is stored in the sample set; if N>1, for example, N is set to 50, and the number of feature vectors not stored in the sample set is n, when a feature vector corresponding to a target monitoring signal set is detected, n=1 is set to determine whether n is equal to N. Since n is less than 50 at this time, the feature vector is not stored in the sample set, and then the feature vector corresponding to the next target monitoring signal set is continuously detected. At this time, n=2 is set to determine whether n is equal to N. Since n is less than 50 at this time, the feature vector is not stored in the sample set, and then the feature vector corresponding to the next target monitoring signal set is continuously detected. Then, the value of n is continuously updated, and it is determined whether n is equal to N, until n is equal to N, that is, there are 50 feature vectors not stored in the sample set. At this time, these 50 feature vectors not stored in the sample set are stored in the sample set.

[0076] Step 403: Check whether the feature vectors stored in the sample set have reached the maximum number of samples.

[0077] Step 404: if the maximum number of samples is reached, the N feature vectors first stored in the sample set are deleted from the sample set, and the feature vector corresponding to the target monitoring signal set is stored in the sample set.

[0078] Among them, the maximum number of samples in the sample set is N M When it is detected that the feature vectors stored in the sample set have reached the maximum number of samples, and when the number of feature vectors not stored in the sample set has reached N, the N feature vectors that were first stored in the sample set in time are deleted from the sample set, and then the N feature vectors that have not been stored in the sample set are stored in the sample set, so that the number of feature vectors stored in the sample set remains at the maximum number of samples N. M If the maximum number of samples is not reached, when the number of feature vectors not stored in the sample set reaches N, these N feature vectors are directly stored in the sample set.

[0079] In the present application embodiment, Figure 5 As shown, it shows a flowchart of another storage process provided by an embodiment of the present application, which may include the following steps:

[0080] Step 501, detecting whether the feature vectors stored in the sample set have reached the minimum sample quantity;

[0081] Step 502A: if the minimum number of samples is reached, then the feature vector of each historical monitoring signal set is obtained from the sample set;

[0082] Step 502B: if the minimum number of samples is not reached, obtaining the feature vectors of each historical monitoring signal set from the sample set is prohibited, and the feature vector corresponding to the target monitoring signal set is stored in the sample set.

[0083] Among them, the minimum sample number of the sample set is Nm. When it is detected that the feature vector stored in the sample set is greater than or equal to the minimum sample number, the feature vector of each stored historical monitoring signal set can be obtained from the sample set; when it is detected that the feature vector stored in the sample set is less than the minimum sample number, it is prohibited to obtain the feature vector of each historical monitoring signal set from the sample set, and the feature vector corresponding to the target monitoring signal set is stored in the sample set, until the feature vector stored in the sample set is greater than or equal to the minimum sample number, the prohibition of obtaining the feature vector of each historical monitoring signal set from the sample set is cancelled, and the feature vector corresponding to the target monitoring signal set is stored in the sample set, at which time the feature vector of each historical monitoring signal set can be obtained from the sample set.

[0084] In the present application embodiment, Figure 6 As shown, it shows a flow chart of a method for determining the degree of difference provided by an embodiment of the present application, determining the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each of the historical monitoring signal sets, and determining whether the mechanical seal has a fault according to the degree of difference may include the following steps:

[0085] Step 601, calculate the first normalized vector of the characteristic vector of the target monitoring signal set, and obtain the second normalized vector of the characteristic vector of each historical monitoring signal set obtained by historical calculation.

[0086] Among them, the number of feature vectors in the sample set is N T , the i-th dimension of the feature vector of the monitoring signal set of the j-th acquisition period is recorded as The dimension of the feature vector is recorded as M; the second normalized vector of the feature vector of the j-th historical monitoring signal set is recorded as The second normalized vector The i-th dimension of The second normalized vector Depend on The characteristic vector of the target monitoring signal set is recorded as x, and the first normalized vector of the characteristic vector of the target monitoring signal set is recorded as x * , the first normalized vector x * The i-th dimension is denoted as x(i)* , the first normalized vector x * By x (i)* Composition; According to N in the sample set T The feature vector of the historical monitoring signal set and the feature vector of the target monitoring signal set;

[0087] On the one hand, the first normalized vector and the second normalized vector can be obtained by the following calculation process:

[0088] x can be obtained through the following calculation process (i)* :

[0089]

[0090]

[0091]

[0092] The first normalized vector x * According to the above formula, x (i)* Constructed to obtain the first standardized vector x * ; Correspondingly, the second normalized vector The i-th dimension It can be obtained by the following formula:

[0093]

[0094] Second normalized vector According to the above formula The second normalized vector is constructed

[0095] It should be noted that the above j and M have no specific meanings, and j and M are positive integers.

[0096] On the other hand, the first normalized vector can be obtained by the following calculation process:

[0097] The above calculation process is used to obtain the first standardized vector x * and the second normalized vector After that, in N m >M, the N in the sample set T The feature vectors corresponding to the historical monitoring signal sets are concatenated into a matrix As shown below:

[0098]

[0099] right Transpose to get Then Perform singular value decomposition to obtain:

[0100]

[0101]

[0102]

[0103] Where U is an M×M matrix, and 1≤k≤M, then we have mutually orthogonal, according to the singular value σ M Sort in descending order.

[0104] Pick

[0105] Typically, the parameter γ can be set to 0.85.

[0106] Then the first normalized vector x is calculated according to the following formula * Projected into the subspace, using α (k) (k=1,2,...,K) approximate characterization:

[0107]

[0108] The deviation value is ε, which is obtained by the following formula:

[0109]

[0110] Incorporating the 2-norm of the deviation value ε into the above subspace, we get:

[0111] x ** =[α (1) α (2) ... α (K) ||ε||]

[0112] Using the above x ** Replace x * , that is, let x * =x ** , get the new first standardized vector x * , with the new first normalized vector x * Proceed to the next step of calculation.

[0113] Step 602, calculating a first density value corresponding to the feature vector of the target monitoring signal set based on the first standardized vector and each second standardized vector; calculating a second density value corresponding to the feature vector of each historical monitoring signal set based on each second standardized vector.

[0114] The first density value corresponding to the feature vector of the target monitoring signal set is recorded as ρ(x *), according to the first normalized vector and each second normalized vector calculated above, the first density value ρ(x * ):

[0115]

[0116] Among them, N T is the number of feature vectors in the sample set, is a kernel function, which can be as follows:

[0117]

[0118] In the above formula, h is the kernel scale, typically, h can be 1, and M is the dimension of the first normalized vector and each second normalized vector.

[0119] According to the second normalized vectors obtained by the above calculation, the second density value corresponding to the feature vector of each historical monitoring signal set is calculated by the following formula:

[0120]

[0121] In the above formula, N T is the number of eigenvectors in the sample set, and the K function in the above formula is the kernel function used to calculate the first density value.

[0122] Step 603, calculate the first initial difference degree parameter corresponding to the characteristic vector of the target monitoring signal set according to the first density value and each second density value; calculate the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set according to each second density value.

[0123] The first density value is ρ(x * ), accordingly, each second density value is The first initial difference degree parameter corresponding to the feature vector of the target monitoring signal set is recorded as According to the first density value ρ(x * ) and each second density value The first initial difference degree parameter corresponding to the characteristic vector of the target monitoring signal set is calculated by the following formula

[0124]

[0125] The second initial difference degree parameter corresponding to the feature vector of each historical monitoring signal set is recorded as According to the second density value The second initial difference degree parameter is calculated by the following formula:

[0126]

[0127] In the above formula, N T is the number of eigenvectors in the sample set, and j is the jth eigenvector in the sample set.

[0128] Step 604 , smoothing the first initial difference degree parameter according to the first initial difference degree parameter and the second initial difference degree parameter corresponding to the feature vector of each historical monitoring signal set to obtain the difference degree parameter corresponding to the feature vector of the target monitoring signal set.

[0129] Among them, the first initial difference degree parameter is recorded as Correspondingly, the second initial difference degree parameter of the feature vector of each historical monitoring signal set is recorded as The difference degree parameter corresponding to the characteristic vector of the target monitoring signal set is recorded as y N ; According to the first initial difference degree parameter and the second initial difference degree parameter of the characteristic vector of each historical monitoring signal set, the first initial difference degree parameter is smoothed to obtain the difference degree parameter corresponding to the characteristic vector of the target monitoring signal set, wherein the smoothing acts on the historical dimension; the difference degree parameter y can be obtained by smoothing the following formula: N :

[0130]

[0131] When Nj≤N m When , Nj in the above formula is equal to 0, where Nm is the minimum number of samples.

[0132] In the above formula, N is used to represent the feature vector of the Nth target monitoring signal set, j is the jth feature vector in the sample set; Ne is the number of feature steps for smoothing, N E The maximum length of time used for smoothing calculations can be N E ≤Nm, where Nm is the minimum number of samples in the sample set, which can generally be N E =3Ne.

[0133] In the present application embodiment, Figure 7As shown, it shows a flow chart of a multi-stage sealing abnormality monitoring and early warning provided by an embodiment of the present application, using displacement sensors to monitor the X displacement signal of the near-pump position axis, the Y displacement signal of the near-pump position axis, the X displacement signal of the near-motor position axis, and the Y displacement signal of the near-motor position axis respectively; using pressure sensors to monitor the seal injection water pressure signal, the second-stage seal front pressure signal, and the third-stage seal front pressure signal respectively, using temperature sensors to monitor the seal injection water temperature signal and the leakage pipeline temperature signal respectively, and using flow sensors to monitor the leakage pipeline flow signal.

[0134] Set the collection period to 5 minutes and the minimum number of samples in the sample set to N. m =500, maximum sample size N m = 10000, the number of feature vectors stored in the sample set is N T , the number of feature vectors not stored in the sample set is T = 100, and the number of feature steps for smoothing is set to N e = 100, the maximum time length N used when performing smoothing calculations E =300, set a counting variable n, initialize n=0, the counting variable n is used to calculate the cumulative number of feature vectors not stored in the sample set, when the counting variable is equal to T, initialize n to n=0, and restart the calculation of the number of feature vectors not stored in the sample set; set the mild warning threshold y A is 0.25, the severe warning threshold y B is 1.

[0135] For example, an average value is calculated for multiple monitoring signal values ​​collected in the first acquisition cycle of the X-displacement signal near the pump position axis to obtain an average value, and the average value is used as a dimension of the feature vector of the first acquisition cycle of the X-displacement signal near the pump position axis; a standard deviation is calculated for multiple monitoring signal values ​​collected in the first acquisition cycle of the X-displacement signal near the pump position axis to obtain a standard deviation value, and the standard deviation value is used as a dimension of the feature vector of the first acquisition cycle of the X-displacement signal near the pump position axis; a skewness is calculated for multiple monitoring signal values ​​collected in the first acquisition cycle of the X-displacement signal near the pump position axis to obtain a skewness value, and The skewness value is used as a dimension of the feature vector of the first acquisition cycle of the axis X displacement signal near the pump position; the kurtosis of multiple monitoring signal values ​​collected in the first acquisition cycle of the axis X displacement signal near the pump position is calculated to obtain a skewness value, and the kurtosis value is used as a dimension of the feature vector of the first acquisition cycle of the axis X displacement signal near the pump position, and finally the feature vector of the first acquisition cycle of the axis X displacement signal near the pump position is formed; the same process is performed in the second acquisition cycle to obtain the corresponding feature vector, and the feature vectors of the subsequent acquisition cycles are obtained in sequence; the feature vector of the first acquisition cycle is added to the sample set, and the sample set is updated to N at this time T =1; then judge N T Is it less than N? m , since at this time N T Less than N m , then add the feature vector of the second acquisition cycle to the sample set and update it to N T =2, then judge N T Is it less than N? m , since at this time N T Less than N m , then the feature vector of the third acquisition cycle is added to the sample set, until the 500th feature vector is added to the sample set, that is, at this time N T =500, judge N T Is it less than N? m , at this time N T Not less than N m , judge N T Is it greater than N? M , at this time N T No more than N M , establish model f, which includes standardization, kernel density estimation, initial difference degree calculation, and smoothing. The standardization includes using N in the sample set T According to the following calculation process, the value corresponding to each eigenvector is obtained:

[0136]

[0137]

[0138]

[0139] The j in the above example is used to represent the jth acquisition cycle, and the i in the above example is used to represent the i-th dimension of the feature vector. That is, the i-th dimension of the feature vector of the jth acquisition cycle is recorded as Thus, the normalized value of the feature vector of the jth acquisition cycle is This normalization process ends.

[0140] Then continue to get the feature vector of the 501th acquisition cycle, record this feature vector as x, and the feature vector x after standardization is recorded as x * , standardize x in the model and use the following formula to get x (i)* :

[0141]

[0142] x * The x obtained from the above formula is (i)* Constructed to obtain x * ;

[0143] In this model, according to x * and each A kernel density estimation process is performed, which is expressed as follows:

[0144]

[0145] Among them, h in the above formula is the kernel scale. Typically, the kernel scale h can be 1. is a kernel function, which can be as follows:

[0146]

[0147] That is, ρ(x * ), the ρ(x * ) is x * The density value of

[0148]

[0149] In this model, according to ρ(x * ) and each Calculate the initial difference degree, and record the initial difference degree parameter of the feature vector x as y * ,y * It can be obtained according to the following formula:

[0150]

[0151] Correspondingly, according to the following formula, we can get

[0152]

[0153] In this model, according to y * and each Perform smoothing to obtain the difference parameter y of the feature vector x N , the smoothing process can be as follows:

[0154]

[0155] Wherein, N is the starting point from monitoring the displacement signal of the X-axis near the pump position, and the current feature vector x is the feature vector of the Nth acquisition cycle.

[0156] The difference parameter y N Input warning device, y N The absolute value of |y N |, set the mild abnormal warning threshold y in the warning device A is 0.25, the severe abnormality warning threshold y B is 1, for y N Make early warning judgment: first judge |y N Is it greater than y? A If not, end the warning judgment; if yes, judge |y N Is it greater than y? B If not, the early warning device issues a mild abnormality warning, and then ends the early warning judgment; if so, the early warning device issues a severe abnormality warning, and then ends the early warning judgment; after the early warning judgment is completed, the feature vector x is not added to the sample set, and the counting variable n is updated to be equal to 1.

[0157] Then, the obtained 502nd eigenvector and subsequent eigenvectors are subjected to standardization, kernel density estimation, initial difference degree calculation, and smoothing in the model f to obtain the corresponding difference degree parameter, which is input into the early warning device for early warning judgment; and the counting variable n is updated. After each early warning judgment, the counting variable n is increased by 1; until the counting variable is equal to T, n is initialized to n=0, and the number of eigenvectors not stored in the sample set is calculated again; and T eigenvectors not stored in the sample set are stored in the sample set, and it is judged whether the number of eigenvectors in the sample set is greater than the maximum number of samples N mIf so, the first T feature vectors stored in the sample set are removed from the sample set, and the model f is updated for the updated sample set. That is, in the standardization process, the feature vectors in the updated sample set are used to perform standardization, kernel density estimation, initial difference degree calculation, and smoothing.

[0158] The Y displacement signal of the near pump position axis, the X displacement signal of the near motor position axis, the Y displacement signal of the near motor position axis, the seal injection water pressure signal, the second-stage seal front pressure signal, the third-stage seal front pressure signal, the seal injection water temperature signal, the leakage pipeline temperature signal, and the leakage pipeline flow signal are all subjected to the same above-mentioned processing as the near pump position axis X displacement signal, and the corresponding multiple monitoring signal values ​​collected in each collection cycle are all subjected to the same above-mentioned processing as the near pump position axis X displacement signal, so that the pump position axis Y displacement signal, the near motor position axis X displacement signal, the near motor position axis Y displacement signal, the seal injection water pressure signal, the second-stage seal front pressure signal, the third-stage seal front pressure signal, the seal injection water temperature signal, the leakage pipeline temperature signal, and the leakage pipeline flow signal can all be subjected to the near pump position axis X displacement signal and also perform fault early warning judgment.

[0159] It should be understood that although Figure 2-7 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-7 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0160] In the embodiment of the present application, a block diagram of a first mechanical seal failure warning device is shown. The mechanical seal failure warning device can be configured in a computer device, such as Figure 8 As shown, the mechanical seal failure warning device 800 may include: a first acquisition module 801 , an extraction module 802 , a second acquisition module 803 and a determination module 804 .

[0161] The first acquisition module 801 is used to acquire a target monitoring signal set corresponding to a target acquisition period, where the target monitoring signal set includes a plurality of monitoring signal values ​​of the mechanical seal acquired within the target acquisition period.

[0162] The extraction module 802 is used to extract features from the target monitoring signal set to obtain a feature vector of the target monitoring signal set.

[0163] The second acquisition module 803 is used to acquire the feature vectors of each historical monitoring signal set corresponding to a plurality of historical acquisition periods, wherein the plurality of historical acquisition periods are located before the target acquisition period in time.

[0164] The determination module 804 is used to determine the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each of the historical monitoring signal sets, and determine whether the mechanical seal has a fault according to the degree of difference.

[0165] In an embodiment of the present application, the determination module 804 is specifically used to: calculate the first standardized vector of the characteristic vector of the target monitoring signal set, and obtain the second standardized vector of the characteristic vector of each historical monitoring signal set obtained by historical calculation; calculate the first density value corresponding to the characteristic vector of the target monitoring signal set according to the first standardized vector and each of the second standardized vectors; calculate the second density value corresponding to the characteristic vector of each of the historical monitoring signal sets according to each of the second standardized vectors; calculate the first initial difference degree parameter corresponding to the characteristic vector of the target monitoring signal set according to the first density value and each of the second density values; calculate the second initial difference degree parameter corresponding to the characteristic vector of each of the historical monitoring signal sets according to each of the second density values; smooth the first initial difference degree parameter according to the first initial difference degree parameter and the second initial difference degree parameter corresponding to the characteristic vector of each of the historical monitoring signal sets, and obtain the difference degree parameter corresponding to the characteristic vector of the target monitoring signal set.

[0166] In the embodiment of the present application, the extraction module 802 is specifically used to: perform different types of statistical calculations on each of the monitoring signal values ​​included in the target monitoring signal set to obtain multiple statistical characteristic values, and construct a characteristic vector corresponding to the target monitoring signal set based on the multiple statistical characteristic values; wherein the different types of statistical calculations include at least one of the following: average value calculation; standard deviation calculation; skewness calculation; kurtosis calculation; average value calculation after filtering; standard deviation calculation after filtering; skewness calculation after filtering; kurtosis calculation after filtering; average value calculation after implementing empirical mode decomposition; Perform empirical mode decomposition and then calculate the standard deviation; perform empirical mode decomposition and then calculate the skewness; perform empirical mode decomposition and then calculate the kurtosis; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, perform difference calculation on the multiple monitoring signal values ​​at the same sampling time and then calculate the average value; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, perform difference calculation on the multiple monitoring signal values ​​at the same sampling time and then calculate the standard deviation; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, perform sum calculation on the multiple monitoring signal values ​​at the same sampling time and then calculate the average value; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, perform sum calculation on the multiple monitoring signal values ​​at the same sampling time and then calculate the standard deviation.

[0167] In an embodiment of the present application, the second acquisition module 803 is specifically used to: obtain the feature vector of each historical monitoring signal set from a sample set, wherein the sample set is used to store the corresponding feature vector obtained after performing feature extraction on the monitoring signal set corresponding to a certain acquisition period to obtain the corresponding feature vector.

[0168] In the embodiment of the present application, the second acquisition module 803 is specifically used to: detect whether the feature vectors stored in the sample set reaches the minimum sample number; if the minimum sample number is reached, obtain the feature vectors of each historical monitoring signal set from the sample set.

[0169] In the present application embodiment, Fig. 9 , which shows a block diagram of a second mechanical seal failure warning device provided in an embodiment of the present application; the mechanical seal failure warning device 900 further includes: a detection module 805 and a first storage module 806 .

[0170] The detection module 805 is used to detect whether the feature vector corresponding to the target monitoring signal set is the Nth feature vector that is not stored in the sample set, where N is a positive integer.

[0171] The first storage module 806 is configured to store the feature vector corresponding to the target monitoring signal set in the sample set when it is detected that the feature vector corresponding to the target monitoring signal set is the Nth feature vector not stored in the sample set.

[0172] In an embodiment of the present application, the first storage module 806 is specifically used to: detect whether the feature vectors stored in the sample set reaches the maximum sample number; if the maximum sample number is reached, the N feature vectors first stored in the sample set are deleted from the sample set, and the feature vectors corresponding to the target monitoring signal set are stored in the sample set.

[0173] In the present application embodiment, Fig.10 As shown, it shows a block diagram of a third mechanical seal failure warning device provided in an embodiment of the present application; the mechanical seal failure warning device 1000 also includes: a second storage module 907.

[0174] The second storage module 907 is used to prohibit obtaining the feature vectors of each historical monitoring signal set from the sample set if the sample set does not reach the minimum sample quantity, and store the feature vector corresponding to the target monitoring signal set in the sample set.

[0175] The mechanical seal failure warning device provided in the embodiment of the present application can implement the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0176] The specific definition of the mechanical seal failure warning device can be found in the definition of the mechanical seal failure warning method above, which will not be repeated here. Each module in the above-mentioned mechanical seal failure warning device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0177] In an embodiment of the present application, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for mechanical seal fault warning data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a mechanical seal fault warning method is implemented.

[0178] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0179] In one embodiment of the present application, a computer device is provided, which may be a server. The computer device includes a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:

[0180] Acquire a target monitoring signal set corresponding to a target acquisition cycle, the target monitoring signal set including a plurality of monitoring signal values ​​of the mechanical seal acquired within the target acquisition cycle; perform feature extraction on the target monitoring signal set to obtain a feature vector of the target monitoring signal set; acquire feature vectors of each historical monitoring signal set corresponding to a plurality of historical acquisition cycles, wherein the plurality of historical acquisition cycles are located before the target acquisition cycle in time; determine the degree of difference between the feature vector of the target monitoring signal set and the feature vectors of each of the historical monitoring signal sets, and determine whether the mechanical seal is faulty based on the degree of difference.

[0181] In one embodiment of the present application, when the processor executes the computer program, the processor further implements the following steps:

[0182] Calculate the first standardized vector of the characteristic vector of the target monitoring signal set, and obtain the second standardized vector of the characteristic vector of each historical monitoring signal set obtained by historical calculation; calculate the first density value corresponding to the characteristic vector of the target monitoring signal set according to the first standardized vector and the second standardized vectors; calculate the second density value corresponding to the characteristic vector of each historical monitoring signal set according to the second standardized vectors; calculate the first initial difference degree parameter corresponding to the characteristic vector of the target monitoring signal set according to the first density value and the second density value; calculate the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set according to the second density value; smooth the first initial difference degree parameter according to the first initial difference degree parameter and the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set, and obtain the difference degree parameter corresponding to the characteristic vector of the target monitoring signal set.

[0183] In one embodiment of the present application, when the processor executes the computer program, the processor further implements the following steps:

[0184] Different types of statistical calculations are performed on each monitoring signal value included in the target monitoring signal set to obtain multiple statistical characteristic values, and a characteristic vector corresponding to the target monitoring signal set is constructed based on the multiple statistical characteristic values; wherein the different types of statistical calculations include at least one of the following: average value calculation; standard deviation calculation; skewness calculation; kurtosis calculation; average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation after filtering processing; average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation after implementing empirical mode decomposition; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, a difference calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then an average value calculation or a standard deviation calculation, a skewness calculation, and a kurtosis calculation is performed; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, a sum calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then an average value calculation or a standard deviation calculation, a skewness calculation, and a kurtosis calculation is performed.

[0185] In one embodiment of the present application, when the processor executes the computer program, it also implements the following steps: obtaining the feature vector of each historical monitoring signal set from the sample set, wherein the sample set is used to store the corresponding feature vector after extracting the feature of the monitoring signal set corresponding to a certain acquisition period to obtain the corresponding feature vector.

[0186] In one embodiment of the present application, when the processor executes the computer program, it also implements the following steps: detecting whether the feature vector corresponding to the target monitoring signal set is the Nth feature vector that is not stored in the sample set, where N is a positive integer; if so, storing the feature vector corresponding to the target monitoring signal set in the sample set.

[0187] In one embodiment of the present application, the processor also implements the following steps when executing the computer program: detecting whether the feature vectors stored in the sample set reaches the maximum number of samples; if the maximum number of samples is reached, deleting the N feature vectors first stored in the sample set from the sample set, and storing the feature vectors corresponding to the target monitoring signal set in the sample set.

[0188] In one embodiment of the present application, when the processor executes the computer program, it also implements the following steps: detecting whether the feature vectors stored in the sample set reaches the minimum sample number; if the minimum sample number is reached, obtaining the feature vectors of each historical monitoring signal set from the sample set.

[0189] In one embodiment of the present application, the processor further implements the following steps when executing the computer program: if the minimum number of samples is not reached, it is prohibited to obtain the feature vectors of each historical monitoring signal set from the sample set, and the feature vectors corresponding to the target monitoring signal set are stored in the sample set.

[0190] The computer device provided in the embodiment of the present application has similar implementation principles and technical effects to those of the above-mentioned method embodiment, and will not be described in detail here.

[0191] In one embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0192] Acquire a target monitoring signal set corresponding to a target acquisition cycle, the target monitoring signal set including a plurality of monitoring signal values ​​of the mechanical seal acquired within the target acquisition cycle; perform feature extraction on the target monitoring signal set to obtain a feature vector of the target monitoring signal set; acquire feature vectors of each historical monitoring signal set corresponding to a plurality of historical acquisition cycles, wherein the plurality of historical acquisition cycles are located before the target acquisition cycle in time; determine the degree of difference between the feature vector of the target monitoring signal set and the feature vectors of each of the historical monitoring signal sets, and determine whether the mechanical seal is faulty based on the degree of difference.

[0193] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are implemented:

[0194] Calculate the first standardized vector of the characteristic vector of the target monitoring signal set, and obtain the second standardized vector of the characteristic vector of each historical monitoring signal set obtained by historical calculation; calculate the first density value corresponding to the characteristic vector of the target monitoring signal set according to the first standardized vector and the second standardized vectors; calculate the second density value corresponding to the characteristic vector of each historical monitoring signal set according to the second standardized vectors; calculate the first initial difference degree parameter corresponding to the characteristic vector of the target monitoring signal set according to the first density value and the second density value; calculate the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set according to the second density value; smooth the first initial difference degree parameter according to the first initial difference degree parameter and the second initial difference degree parameter corresponding to the characteristic vector of each historical monitoring signal set, and obtain the difference degree parameter corresponding to the characteristic vector of the target monitoring signal set.

[0195] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are implemented:

[0196] Different types of statistical calculations are performed on each monitoring signal value included in the target monitoring signal set to obtain multiple statistical characteristic values, and a characteristic vector corresponding to the target monitoring signal set is constructed based on the multiple statistical characteristic values; wherein the different types of statistical calculations include at least one of the following: average value calculation; standard deviation calculation; skewness calculation; kurtosis calculation; average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation after filtering processing; average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation after implementing empirical mode decomposition; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, a difference calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then an average value calculation or a standard deviation calculation, a skewness calculation, and a kurtosis calculation is performed; when the target detection signal set includes monitoring signal values ​​measured by multiple different sensors, a sum calculation is performed on multiple monitoring signal values ​​at the same sampling time, and then an average value calculation or a standard deviation calculation, a skewness calculation, and a kurtosis calculation is performed.

[0197] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are implemented: obtaining a feature vector of each historical monitoring signal set from a sample set, wherein the sample set is used to store the corresponding feature vector obtained after performing feature extraction on the monitoring signal set corresponding to a certain acquisition period to obtain the corresponding feature vector.

[0198] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are implemented: detecting whether the feature vector corresponding to the target monitoring signal set is the Nth feature vector that is not stored in the sample set, where N is a positive integer; if so, storing the feature vector corresponding to the target monitoring signal set in the sample set.

[0199] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are implemented: detecting whether the feature vectors stored in the sample set reaches the maximum number of samples; if the maximum number of samples is reached, deleting the N feature vectors first stored in the sample set from the sample set, and storing the feature vectors corresponding to the target monitoring signal set in the sample set.

[0200] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are implemented: detecting whether the feature vectors stored in the sample set reaches the minimum sample number; if the minimum sample number is reached, obtaining the feature vectors of each historical monitoring signal set from the sample set.

[0201] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are implemented: if the minimum number of samples is not reached, it is prohibited to obtain the feature vectors of each historical monitoring signal set from the sample set, and the feature vectors corresponding to the target monitoring signal set are stored in the sample set.

[0202] The computer-readable storage medium provided in this embodiment has similar implementation principles and technical effects to those of the above method embodiments, and will not be described in detail here.

[0203] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in M ​​forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SyMchliMk) DRAM (SLDRAM), memory bus (RaMbus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0204] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0205] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A mechanical seal failure early warning method, characterized in that: The method comprises: Acquire a target monitoring signal set corresponding to a target acquisition period, wherein the target monitoring signal set includes a plurality of monitoring signal values ​​of the mechanical seal acquired within the target acquisition period; Performing feature extraction on the target monitoring signal set to obtain a feature vector of the target monitoring signal set; Acquire feature vectors of each historical monitoring signal set respectively corresponding to a plurality of historical collection periods, wherein the plurality of historical collection periods are located before the target collection period in time; Determining the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each of the historical monitoring signal sets, and determining whether the mechanical seal has a fault according to the degree of difference; The determining of the difference between the characteristic vector of the target monitoring signal set and the characteristic vectors of each of the historical monitoring signal sets includes: Calculating a first normalized vector of a characteristic vector of the target monitoring signal set, and obtaining a second normalized vector of a characteristic vector of each of the historical monitoring signal sets obtained by historical calculation; Calculate a first density value corresponding to the feature vector of the target monitoring signal set according to the first standardized vector and each of the second standardized vectors; Calculate a second density value corresponding to a feature vector of each of the historical monitoring signal sets according to each of the second standardized vectors; Calculating a first initial difference degree parameter corresponding to the feature vector of the target monitoring signal set according to the first density value and each of the second density values; Calculating, according to each of the second density values, a second initial difference degree parameter corresponding to the feature vector of each of the historical monitoring signal sets; According to the first initial difference degree parameter and the second initial difference degree parameter corresponding to the feature vector of each of the historical monitoring signal sets, the first initial difference degree parameter is smoothed to obtain the difference degree parameter corresponding to the feature vector of the target monitoring signal set.

2. The method according to claim 1, characterized in that The step of extracting features from the target monitoring signal set to obtain a feature vector corresponding to the target monitoring signal set includes: Performing different types of statistical calculations on each of the monitoring signal values ​​included in the target monitoring signal set to obtain a plurality of statistical characteristic values, and constructing a characteristic vector corresponding to the target monitoring signal set based on the plurality of statistical characteristic values; The different types of statistical calculations include at least one of the following: Calculate the average value; Calculate the standard deviation; Calculate skewness; Calculate the kurtosis; After filtering, calculate the average value or standard deviation, skewness, or kurtosis; After implementing empirical mode decomposition, calculate the mean value or standard deviation, skewness, and kurtosis; In the case where the target monitoring signal set includes monitoring signal values ​​measured by multiple different sensors, performing difference calculation on the multiple monitoring signal values ​​at the same sampling time and then performing average calculation or standard deviation calculation, skewness calculation, and kurtosis calculation; In the case where the target monitoring signal set includes monitoring signal values ​​measured by multiple different sensors, the multiple monitoring signal values ​​at the same sampling time are summed and then the average value calculation or standard deviation calculation, skewness calculation, and kurtosis calculation are performed.

3. The method according to claim 1, characterized in that The step of obtaining the characteristic vectors of each historical monitoring signal set corresponding to a plurality of historical collection periods includes: The feature vector of each of the historical monitoring signal sets is obtained from a sample set, wherein the sample set is used to store the corresponding feature vector obtained after feature extraction is performed on the monitoring signal set corresponding to a certain collection period to obtain the corresponding feature vector.

4. The method according to claim 3, characterized in that The method further comprises: Detecting whether the feature vector corresponding to the target monitoring signal set is the Nth feature vector that is not stored in the sample set, where N is a positive integer; If so, the feature vector corresponding to the target monitoring signal set is stored in the sample set.

5. The method according to claim 4, characterized in that The storing the feature vector corresponding to the target monitoring signal set into the sample set includes: Detecting whether the feature vectors stored in the sample set have reached a maximum number of samples; If the maximum number of samples is reached, the N feature vectors first stored in the sample set are deleted from the sample set, and the feature vectors corresponding to the target monitoring signal set are stored in the sample set.

6. The method according to claim 3, characterized in that The step of obtaining the feature vector of each of the historical monitoring signal sets from the sample set includes: Detecting whether the feature vectors stored in the sample set have reached a minimum sample quantity; If the minimum number of samples is reached, the feature vector of each of the historical monitoring signal sets is obtained from the sample set.

7. The method according to claim 6, characterized in that The method further comprises: If the minimum number of samples is not reached, it is prohibited to obtain the feature vectors of each of the historical monitoring signal sets from the sample set, and the feature vectors corresponding to the target monitoring signal set are stored in the sample set.

8. A mechanical seal failure warning device, characterized in that: Used to execute the mechanical seal failure early warning method according to any one of claims 1 to 7, the device comprises: A first acquisition module, used to acquire a target monitoring signal set corresponding to a target acquisition period, wherein the target monitoring signal set includes a plurality of monitoring signal values ​​of the mechanical seal acquired within the target acquisition period; An extraction module, used to extract features from the target monitoring signal set to obtain a feature vector of the target monitoring signal set; A second acquisition module is used to acquire feature vectors of each historical monitoring signal set corresponding to a plurality of historical acquisition cycles, wherein the plurality of historical acquisition cycles are located before the target acquisition cycle in time; The determination module is used to determine the degree of difference between the characteristic vector of the target monitoring signal set and the characteristic vector of each of the historical monitoring signal sets, and determine whether the mechanical seal has a fault based on the degree of difference.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.