Valve fault diagnosis method, device, equipment and storage medium
By acquiring and analyzing the operating parameter information of the valve, calculating error information and scores, the problem of inaccurate valve fault diagnosis in the existing technology is solved, and systematic and accurate improvements are achieved, complex fault modes can be identified and valve status can be comprehensively evaluated. .
Patent Information
- Application Number
- CN202411311088.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-09-20
AI Technical Summary
The existing valve fault diagnosis methods rely on a single parameter or a small number of parameters, lack comprehensive and systematic analysis, and are susceptible to operating conditions and environmental noise, resulting in inaccurate and reliable diagnostic results.
By obtaining the operating parameter information of the valve to be tested, generating performance parameter information based on the preset performance parameter generation rules, calculating error information, and using the scoring rules to score each fault mode to generate a matching degree, and finally determining the valve fault diagnosis result.
It realizes systematic diagnosis of valve faults, improves the accuracy of fault identification and the ability to identify complex fault patterns, and provides multi-dimensional analysis to comprehensively evaluate the working status of the valve.
Smart Images

Figure CN118817293B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of valve detection technology, and in particular to a valve fault diagnosis method, device, equipment and storage medium. Background Art
[0002] Valves are crucial control components in industrial piping systems. Their main function is to regulate the flow, pressure and direction of the medium. With the development of industrial automation, valves are increasingly used in industries such as petroleum, chemical, and electric power. However, due to long-term use and complex and changing working conditions, valves often have various faults, such as seal failure, valve stem jamming, valve seat wear, etc. These faults not only affect the normal operation of the valve, but may even lead to serious production safety accidents. Therefore, timely and accurate fault diagnosis of valves is of great significance.
[0003] Most existing valve fault diagnosis methods rely on changes in a single parameter or a small number of parameters for diagnosis. They lack comprehensive and systematic analysis and are easily affected by changes in operating conditions and environmental noise, resulting in inaccurate and unreliable diagnostic results. Summary of the invention
[0004] The present application provides a valve fault diagnosis method, device, equipment and storage medium to solve the problems raised by the above background technology.
[0005] In a first aspect, the present application provides a valve fault diagnosis method, comprising:
[0006] Acquire operating parameter information of the valve to be tested, and generate performance parameter information of the valve to be tested based on a preset performance parameter generation rule and the operating parameter information;
[0007] Determining error information of the performance parameter information based on preset standard performance parameter information;
[0008] Scoring each preset fault mode based on the error information and a preset scoring rule to obtain a score corresponding to each fault mode;
[0009] The matching degree corresponding to each of the fault modes is generated based on the score corresponding to each of the fault modes, and the fault diagnosis result of the valve to be tested is generated based on the matching degree corresponding to each of the fault modes.
[0010] In a possible implementation, the operating parameter information includes valve closing operating parameter information and valve opening operating parameter information, and the step of generating the performance parameter information of the valve to be tested based on a preset performance parameter generation rule and the operating parameter information includes:
[0011] The valve closing performance parameter information is generated based on the performance parameter generation rule and the valve closing operation parameter information, and the valve opening performance parameter information is generated based on the performance parameter generation rule and the valve opening operation parameter information; the valve closing performance parameter information and the valve opening performance parameter information constitute the performance parameter information.
[0012] In a possible implementation, the valve closing operation parameter information includes a valve closing current change curve, a valve closing voltage change curve, a valve closing power change curve, a valve closing valve stem thrust change curve, and valve closing limit switch feedback information, and the valve closing performance parameter information is generated based on the performance parameter generation rule and the valve closing operation parameter information, including:
[0013] Determine the valve closing critical moment information based on the performance parameter generation rule, the valve closing current change curve, the valve closing valve stem thrust change curve and the valve closing limit switch feedback information; wherein the valve closing critical moment information includes multiple valve closing critical moments;
[0014] Determine, based on the performance parameter generation rule, in the valve closing key moment information, first target moment information corresponding to current, second target moment information corresponding to voltage, and third target moment information corresponding to power;
[0015] Generate the valve closing current parameter information corresponding to the first target time information based on the performance parameter generation rule and the valve closing current change curve, generate the valve closing voltage parameter information corresponding to the second target time information based on the performance parameter generation rule and the valve closing voltage change curve, and generate the valve closing power parameter information corresponding to the third target time information based on the performance parameter generation rule and the valve closing power change curve;
[0016] The operating time of the valve closing motor is determined based on the performance parameter generation rule and the valve closing key moment information; the valve closing current parameter information, the valve closing voltage parameter information, the valve closing power parameter information and the valve closing motor operating time constitute the valve closing performance parameter information.
[0017] In a possible implementation manner, the performance parameter information includes multiple performance parameters, the standard performance parameter information includes multiple standard performance parameters, and the determining the error information of the performance parameter information based on the preset standard performance parameter information includes:
[0018] For each of the performance parameters, the first absolute value of the difference between the performance parameter and the standard performance parameter corresponding to the performance parameter is calculated, and the first percentage of the first absolute value to the standard performance parameter corresponding to the performance parameter is calculated; the first percentage corresponding to each of the performance parameters constitutes the error information.
[0019] In a possible implementation, each of the fault modes is provided with theoretical error information, the theoretical error information includes theoretical error values corresponding to multiple fault parameters, each of the theoretical error values is provided with a weight, the error information includes multiple error values, and the preset fault modes are scored based on the error information and a preset scoring rule to obtain scores corresponding to each of the fault modes, including:
[0020] For each of the fault modes, target error information corresponding to the fault mode is determined in the error information based on theoretical error information corresponding to the fault mode, and a score corresponding to the fault mode is generated based on the theoretical error information, the target error information and weights corresponding to each theoretical error value of the theoretical error information; wherein the error type corresponding to the theoretical error information is consistent with the error type corresponding to the target error information;
[0021] Wherein, generating the score corresponding to the fault mode based on the theoretical error information, the target error information and the weights corresponding to the theoretical error values of the theoretical error information includes:
[0022] For each of the theoretical error values, based on the theoretical error value, the target error value corresponding to the theoretical error value in the target error information, and the weight corresponding to the theoretical error value, an intermediate score corresponding to the theoretical error value is obtained;
[0023] The intermediate scores are added together to obtain a score corresponding to the failure mode.
[0024] In a possible implementation, obtaining an intermediate score corresponding to the theoretical error value based on the theoretical error value, a target error value corresponding to the theoretical error value in the target error information, and a weight corresponding to the theoretical error value includes:
[0025] Calculating a second absolute value of the difference between the theoretical error value and the target error value, and subtracting the second absolute value from a preset value to obtain a target difference value; wherein the preset value is greater than the second absolute value;
[0026] The product of the weight and the target difference is calculated, and the ratio of the product to the preset value is calculated; the ratio is the intermediate score.
[0027] In a possible implementation, generating the matching degree corresponding to each fault mode based on the score corresponding to each fault mode, and generating the fault diagnosis result of the valve to be tested based on the matching degree corresponding to each fault mode, includes:
[0028] Add up the scores to get the total score.
[0029] For each of the fault modes, calculating a second percentage between the score corresponding to the fault mode and the total score value; the second percentage is a matching degree corresponding to the fault mode;
[0030] A fault diagnosis result of the valve to be tested is generated based on the matching degree corresponding to each of the fault modes.
[0031] In a second aspect, the present application provides a valve fault diagnosis device, comprising:
[0032] An acquisition module, used for acquiring operating parameter information of the valve to be tested, and generating performance parameter information of the valve to be tested based on a preset performance parameter generation rule and the operating parameter information;
[0033] A determination module, configured to determine error information of the performance parameter information based on preset standard performance parameter information;
[0034] A scoring module, used to score each preset fault mode based on the error information and a preset scoring rule, to obtain a score corresponding to each fault mode;
[0035] A generating module is used to generate a matching degree corresponding to each of the fault modes based on the score corresponding to each of the fault modes, and to generate a fault diagnosis result of the valve to be tested based on the matching degree corresponding to each of the fault modes.
[0036] In a third aspect, the present application provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the valve fault diagnosis method as described in any one of the above items is implemented.
[0037] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the valve fault diagnosis method as described in any one of the above items is implemented.
[0038] The present application provides a valve fault diagnosis method, device, equipment and storage medium, wherein the method includes: obtaining the operating parameter information of the valve to be tested, and generating the performance parameter information of the valve to be tested based on the preset performance parameter generation rules and the operating parameter information; determining the error information of the performance parameter information based on the preset standard performance parameter information; scoring each preset fault mode based on the error information and the preset scoring rule to obtain the score corresponding to each fault mode; generating the matching degree corresponding to each fault mode based on the score corresponding to each fault mode, and generating the fault diagnosis result of the valve to be tested based on the matching degree corresponding to each fault mode. On the one hand, the method realizes the systematic diagnosis of the valve fault. Compared with the traditional method that only relies on a single parameter or a small number of parameters, the method provides a more comprehensive diagnostic perspective, can better identify complex fault modes, and improve the accuracy of the fault diagnosis results. On the other hand, the method can diagnose the valve fault during the use of the valve. On the other hand, the method can identify and distinguish different types of fault modes through scoring rules and matching degree calculation. This multi-dimensional analysis helps to comprehensively evaluate the working state of the valve and can better identify complex fault modes. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0040] Figure 1 A flow chart of a valve fault diagnosis method provided in an embodiment of the present application;
[0041] Figure 2 A schematic block diagram of the structure of a valve fault diagnosis device provided in an embodiment of the present application;
[0042] Figure 3 A schematic block diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change based on actual conditions.
[0045] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0046] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0047] Valves are crucial control components in industrial piping systems. Their main function is to regulate the flow, pressure and direction of the medium. With the development of industrial automation, valves are increasingly used in industries such as petroleum, chemical, and electric power. However, due to long-term use and complex and changing working conditions, valves often have various faults, such as seal failure, valve stem jamming, valve seat wear, etc. These faults not only affect the normal operation of the valve, but may even lead to serious production safety accidents. Therefore, timely and accurate fault diagnosis of valves is of great significance.
[0048] Most existing valve fault diagnosis methods rely on changes in a single parameter or a small number of parameters for diagnosis, lack comprehensive and systematic analysis, and are easily affected by changes in working conditions and environmental noise, resulting in inaccurate and unreliable diagnostic results. To this end, the present application provides a valve fault diagnosis method, device, equipment and storage medium to solve the above problems.
[0049] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0050] See also Figure 1 , Figure 1 A flow chart of a valve fault diagnosis method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the valve fault diagnosis method provided in the embodiment of the present application includes steps S1 to S4.
[0051] Step S1: Acquire operating parameter information of a valve to be tested, and generate performance parameter information of the valve to be tested based on a preset performance parameter generation rule and the operating parameter information.
[0052] The operating parameter information includes valve closing operating parameter information corresponding to the closing process of the valve to be tested and valve opening operating parameter information corresponding to the opening process of the valve to be tested.
[0053] Specifically, first, the valve closing operation parameter information is obtained during the process of the valve to be tested being closed, and the valve closing operation parameter information includes but is not limited to the valve closing current change curve, the valve closing voltage change curve, the valve closing power change curve, the valve closing valve stem thrust change curve and the valve closing limit switch feedback information, and the valve opening operation parameter information is obtained during the process of the valve being opened, and the valve opening operation parameter information includes but is not limited to the valve opening current change curve, the valve opening voltage change curve, the valve opening power change curve, the valve opening valve stem thrust change curve and the valve opening limit switch feedback information. It can be understood that the valve closing current change curve and the valve opening current change curve refer to the current change curve in the motor used to drive the valve to be tested, the valve closing voltage change curve and the valve opening voltage change curve refer to the voltage change curves at both ends of the motor used to drive the valve to be tested, and the valve closing power change curve and the valve opening power change curve refer to the change curves of the electric power consumed by the motor used to drive the valve to be tested.
[0054] Then, the valve closing performance parameter information is generated based on the performance parameter generation rule and the valve closing operation parameter information, and the valve opening performance parameter information is generated based on the performance parameter generation rule and the valve opening operation parameter information; the valve closing performance parameter information and the valve opening performance parameter information constitute the performance parameter information.
[0055] Further, the generating of the valve closing performance parameter information based on the performance parameter generating rule and the valve closing operation parameter information includes: determining the valve closing critical moment information based on the performance parameter generating rule, the valve closing current variation curve, the valve closing valve stem thrust variation curve and the valve closing limit switch feedback information; wherein, the valve closing critical moment information includes a plurality of valve closing critical moments; determining the first target moment information corresponding to the current, the second target moment information corresponding to the voltage and the third target moment information corresponding to the power in the valve closing critical moment information based on the performance parameter generating rule; determining the first target moment information corresponding to the current, the second target moment information corresponding to the voltage and the third target moment information corresponding to the power in the valve closing critical moment information based on the performance parameter generating rule and the valve closing current variation curve; determining the first target moment information corresponding to the current, the second target moment information corresponding to the voltage and the third target moment information corresponding to the power in the valve closing critical moment information based on the performance parameter generating rule and the valve closing current variation curve; determining the first target moment information corresponding to the voltage ...; determining the first target moment information corresponding to the voltage, the second target moment information corresponding to the voltage and the third target moment information corresponding to the power in the valve closing critical moment information based on the performance parameter generating rule and the valve closing current variation curve; determining the first target moment information corresponding to the voltage, the second target moment information corresponding to the voltage and the third target moment information corresponding to the power in the valve The valve closing current parameter information corresponding to the first target moment information is generated based on the flow change curve, and the valve closing voltage parameter information corresponding to the second target moment information is generated based on the performance parameter generation rule and the valve closing voltage change curve, and the valve closing power parameter information corresponding to the third target moment information is generated based on the performance parameter generation rule and the valve closing power change curve; the valve closing motor operation time is determined based on the performance parameter generation rule and the valve closing key moment information; the valve closing current parameter information, the valve closing voltage parameter information, the valve closing power parameter information and the valve closing motor operation time constitute the valve closing performance parameter information.
[0056] Furthermore, the critical moments for closing the valve include but are not limited to the moment when the valve motor starts C0, the moment when the valve current peaks C1, the moment when the valve motor current stops changing C7, the moment when the friction force of the closing stroke starts C3, the moment when the friction force of the closing stroke ends C4, the moment when the midpoint of the invalid motion interval of the valve is closed C2, the moment when the valve closing indicator light turns on C5, and the moment when the valve opening indicator light turns off C6. The critical moment information for closing the valve is determined based on the performance parameter generation rule, the valve closing current change curve, the valve closing valve stem thrust change curve and the valve closing limit switch feedback information, including: determining the moment corresponding to the starting point of the continuous surge in current on the valve closing current change curve as the valve motor starting moment C0; determining the moment corresponding to the maximum current value on the valve closing current change curve as the valve current peak moment C1; determining the moment corresponding to the starting point of the continuous no change in current on the valve closing current change curve as the moment when the valve motor current stops changing C7; determining the critical moment information for closing the valve The moment corresponding to the starting point of the first thrust stable interval of the valve stem thrust change curve is the starting moment C3 of the closing stroke friction force; the moment corresponding to the ending point of the first thrust stable interval of the closing valve stem thrust change curve is determined to be the ending moment C4 of the closing stroke friction force; the middle moment between the starting moment of the thrust change interval before the starting moment C3 of the closing stroke friction force and the closing valve current peak moment C1 is determined to be the midpoint moment C2 of the closing valve invalid motion interval; based on the feedback information of the closing valve limit switch, the valve closing indicator light turning on moment C5 and the valve opening indicator light turning off moment C6 are determined.
[0057] Furthermore, the determining of the first target moment information corresponding to the current, the second target moment information corresponding to the voltage and the third target moment information corresponding to the power in the valve closing critical moment information based on the performance parameter generation rule includes: determining C0, C3 and C4 as the first target moment information; determining C3 and C4 as the second target moment information; determining C1, C2, C3, C4 and C7 as the third target moment information.
[0058] Further, the valve closing current parameter information corresponding to the first target moment information is generated based on the performance parameter generation rule and the valve closing current change curve, the valve closing voltage parameter information corresponding to the second target moment information is generated based on the performance parameter generation rule and the valve closing voltage change curve, and the valve closing power parameter information corresponding to the third target moment information is generated based on the performance parameter generation rule and the valve closing power change curve, including: determining the maximum current value between C0 and C3 and the average current value between C3 and C4 on the valve closing current change curve; determining the average voltage value between C3 and C4 on the valve closing voltage change curve; determining the power value corresponding to C1, the power value corresponding to C2, the maximum power value between C3 and C4, the average power value between C3 and C4, and the power value corresponding to C7 on the valve closing power change curve.
[0059] Further, determining the running time of the valve closing motor based on the performance parameter generation rule and the valve closing key moment information includes: determining the time between C0 and C7 as the running time of the valve closing motor.
[0060] Further, the generating of valve opening performance parameter information based on the performance parameter generating rule and the valve opening operation parameter information includes: determining valve opening critical moment information based on the performance parameter generating rule, the valve opening current variation curve, the valve opening valve stem thrust variation curve and the valve opening limit switch feedback information; wherein the valve opening critical moment information includes a plurality of valve opening critical moments; determining fourth target moment information corresponding to current, fifth target moment information corresponding to voltage and sixth target moment information corresponding to power in the valve opening critical moment information based on the performance parameter generating rule; determining fourth target moment information corresponding to current, fifth target moment information corresponding to voltage and sixth target moment information corresponding to power in the valve opening critical moment information based on the performance parameter generating rule and the valve opening current variation curve. The valve opening current parameter information corresponding to the first target moment information is generated based on the flow change curve, and the valve opening voltage parameter information corresponding to the second target moment information is generated based on the performance parameter generation rule and the valve opening voltage change curve, and the valve opening power parameter information corresponding to the sixth target moment information is generated based on the performance parameter generation rule and the valve opening power change curve; the valve opening motor operation time is determined based on the performance parameter generation rule and the valve opening key moment information; the valve opening current parameter information, the valve opening voltage parameter information, the valve opening power parameter information and the valve opening motor operation time constitute the valve opening performance parameter information.
[0061] Furthermore, the critical moments for valve opening include but are not limited to the valve opening motor starting moment O0, the valve opening current peak moment O1, the valve opening motor current stopping changing moment O7, the midpoint moment O2 of the valve opening invalid motion interval, the opening stroke friction force starting moment O4, the opening stroke friction force ending moment O5, the valve opening indicator light turning on moment O3, and the valve closing indicator light turning off moment O6. The information on the critical moment for valve opening determined based on the performance parameter generation rule, the valve opening current change curve, the valve opening valve stem thrust change curve and the valve opening limit switch feedback information includes: determining the starting point of the continuous surge in current on the valve opening current change curve as the valve opening motor starting moment O0; determining the maximum current value on the valve opening current change curve as the valve opening current peak moment O1; determining the starting point of the continuous no-change in current on the valve opening current change curve as the valve opening motor current stopping changing moment O7; determining the valve opening valve The middle moment between the starting point of the first thrust increase on the stem thrust change curve and the valve opening current peak moment O1 is the midpoint moment O2 of the valve opening invalid motion interval; the starting point of the first thrust stability interval of the valve stem thrust change curve is determined to be the starting moment O4 of the opening stroke friction; the ending point of the first thrust stability interval of the valve stem thrust change curve is determined to be the ending moment O5 of the opening stroke friction; based on the feedback information of the valve opening limit switch, the valve opening indicator light turning on moment O3 and the valve closing indicator light turning off moment O6 are determined.
[0062] Furthermore, the fourth target moment information corresponding to the current, the fifth target moment information corresponding to the voltage and the sixth target moment information corresponding to the power are determined in the valve opening key moment information based on the performance parameter generation rule, including: determining O0, O4 and O5 as the fourth target moment information; determining O4 and O5 as the fifth target moment information; determining O1, O2, O4, O5 and O7 as the sixth target moment information.
[0063] Further, the valve opening current parameter information corresponding to the first target moment information is generated based on the performance parameter generation rule and the valve opening current change curve, and the valve opening voltage parameter information corresponding to the second target moment information is generated based on the performance parameter generation rule and the valve opening voltage change curve, and the valve opening power parameter information corresponding to the sixth target moment information is generated based on the performance parameter generation rule and the valve opening power change curve, including: determining the maximum current value between O0 and O4 and the average current value between O4 and O5 on the valve opening current change curve; determining the average voltage value between O4 and O5 on the valve opening voltage change curve; determining the power value corresponding to O1, the power value corresponding to O2, the maximum power value between O4 and O5, the average power value between O4 and O5, and the power value corresponding to O7 on the valve opening power change curve.
[0064] Further, determining the running time of the valve opening motor based on the performance parameter generation rule and the valve opening key moment information includes: determining the time between O0 and O7 as the running time of the valve opening motor.
[0065] Step S2: Determine error information of the performance parameter information based on preset standard performance parameter information.
[0066] Table 1
[0067]
[0068] Specifically, the performance parameter information includes a plurality of performance parameters, the standard performance parameter information includes a plurality of standard performance parameters, and the error information of the performance parameter information is determined based on the preset standard performance parameter information, including: for each of the performance parameters, calculating a first absolute value of a difference between the performance parameter and a standard performance parameter corresponding to the performance parameter, and calculating a first percentage of the first absolute value to the standard performance parameter corresponding to the performance parameter; the first percentage corresponding to each of the performance parameters
[0069] Exemplarily, the performance parameter information is shown in the second column of data in Table 1, the standard performance parameter information is shown in the third column of data in Table 1, and the error information is shown in the fourth column of data in Table 1.
[0070] Step S3: scoring each preset fault mode based on the error information and a preset scoring rule to obtain a score corresponding to each fault mode.
[0071] Specifically, each of the fault modes is provided with theoretical error information, the theoretical error information includes theoretical error values corresponding to multiple fault parameters, each of the theoretical error values is provided with a weight, the error information includes multiple error values, and the method of scoring each preset fault mode based on the error information and a preset scoring rule to obtain a score corresponding to each fault mode includes: for each fault mode, determining the target error information corresponding to the fault mode in the error information based on the theoretical error information corresponding to the fault mode, and generating the score corresponding to the fault mode based on the theoretical error information, the target error information and the weights corresponding to each theoretical error value of the theoretical error information; wherein the error type corresponding to the theoretical error information is consistent with the error type corresponding to the target error information; wherein, generating the score corresponding to the fault mode based on the theoretical error information, the target error information and the weights corresponding to each theoretical error value of the theoretical error information includes: for each theoretical error value, obtaining an intermediate score corresponding to the theoretical error value based on the theoretical error value, the target error value corresponding to the theoretical error value in the target error information and the weight corresponding to the theoretical error value; and adding each of the intermediate scores to obtain the score corresponding to the fault mode.
[0072] Further, the intermediate score corresponding to the theoretical error value is obtained based on the theoretical error value, the target error value corresponding to the theoretical error value in the target error information and the weight corresponding to the theoretical error value, including: calculating the second absolute value of the difference between the theoretical error value and the target error value, and subtracting the second absolute value from a preset value to obtain a target difference; wherein the preset value is greater than the second absolute value; calculating the product of the weight and the target difference, and calculating the ratio of the product to the preset value; the ratio is the intermediate score.
[0073] Table 2
[0074]
[0075] Exemplarily, the theoretical error information corresponding to the fault "internal leakage" is shown in Table 2, and the preset value is 100.
[0076] From Table 1 and Table 2, we can know that the target error information corresponding to the fault "internal leakage" is shown in Table 3.
[0077] Table 3
[0078]
[0079] The middle score corresponding to the fault parameter valve closing motor running time is 20%×(100-(0.068-0.0312)) / 100=0.200, the middle score corresponding to the fault parameter valve closing average current value is 35%×(100-(9.649-0.005)) / 100=0.316, and the middle score corresponding to the fault parameter valve closing average voltage is 45%×(100-(0.271-0.003)) / 100=0.449. The score corresponding to the fault "internal leakage" in this fault diagnosis is 0.200+0.316+0.449=0.965.
[0080] Step S4: generating a matching degree corresponding to each of the fault modes based on the scores corresponding to each of the fault modes, and generating a fault diagnosis result of the valve to be tested based on the matching degree corresponding to each of the fault modes.
[0081] Specifically, the matching degree corresponding to each fault mode is generated based on the score corresponding to each fault mode, and the fault diagnosis result of the valve to be tested is generated based on the matching degree corresponding to each fault mode, including: adding each score to obtain a total score value; for each fault mode, calculating the second percentage between the score corresponding to the fault mode and the total score value; the second percentage is the matching degree corresponding to the fault mode; and generating the fault diagnosis result of the valve to be tested based on the matching degree corresponding to each fault mode.
[0082] The method provided in this embodiment, on the one hand, obtains the performance parameter information shown in Table 1 by analyzing the operating parameter information of the valve to be tested during the closing and opening processes, and performs a detailed analysis of the performance parameter information shown in Table 1, thereby achieving a systematic diagnosis of valve faults. Compared with the traditional method that only relies on a single parameter or a small number of parameters, the method provides a more comprehensive diagnostic perspective, can better identify complex fault modes, and improve the accuracy of fault diagnosis results. On the other hand, the method can diagnose valve faults during the use of the valve. On the other hand, the method can identify and distinguish different types of fault modes through scoring rules and matching calculations. This multi-dimensional analysis helps to comprehensively evaluate the working status of the valve and can better identify complex fault modes.
[0083] See also Figure 2 , Figure 2 A schematic block diagram of the structure of a valve fault diagnosis device 100 provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the valve fault diagnosis device 100 comprises:
[0084] The acquisition module 110 is used to acquire the operating parameter information of the valve to be tested, and generate the performance parameter information of the valve to be tested based on a preset performance parameter generation rule and the operating parameter information.
[0085] The determination module 120 is configured to determine error information of the performance parameter information based on preset standard performance parameter information.
[0086] The scoring module 130 is used to score each preset fault mode based on the error information and a preset scoring rule to obtain a score corresponding to each fault mode.
[0087] The generating module 140 is used to generate the matching degree corresponding to each of the fault modes based on the score corresponding to each of the fault modes, and to generate the fault diagnosis result of the valve to be tested based on the matching degree corresponding to each of the fault modes.
[0088] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned valve fault diagnosis method embodiment, and will not be repeated here.
[0089] The terminal device 200 provided in the above embodiment can be implemented in the form of a computer program. The computer program can be Figure 3 The system is run on the terminal device 200 shown.
[0090] See also Figure 3 , Figure 3 The present invention provides a schematic block diagram of the structure of a terminal device 200 according to an embodiment of the present application. The terminal device 200 includes a processor 201 and a memory 202. The processor 201 and the memory 202 are connected via a device bus 203, wherein the memory 202 may include a non-volatile storage medium and an internal memory.
[0091] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed by the processor 201, the processor 201 can execute any of the above-mentioned valve fault diagnosis methods.
[0092] The processor 201 is used to provide computing and control capabilities to support the operation of the entire terminal device 200.
[0093] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can execute any of the above-mentioned valve fault diagnosis methods.
[0094] Those skilled in the art will understand that Figure 3The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the terminal device 200 involved in the scheme of the present application. The specific terminal device 200 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0095] It should be understood that the processor 201 may be a central processing unit (CPU), and the processor 201 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0096] In some embodiments, the processor 201 is used to run a computer program stored in the memory to implement the following steps:
[0097] Acquire operating parameter information of the valve to be tested, and generate performance parameter information of the valve to be tested based on a preset performance parameter generation rule and the operating parameter information;
[0098] Determining error information of the performance parameter information based on preset standard performance parameter information;
[0099] Scoring each preset fault mode based on the error information and a preset scoring rule to obtain a score corresponding to each fault mode;
[0100] The matching degree corresponding to each of the fault modes is generated based on the score corresponding to each of the fault modes, and the fault diagnosis result of the valve to be tested is generated based on the matching degree corresponding to each of the fault modes.
[0101] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the terminal device 200 described above can refer to the corresponding process of the aforementioned valve fault diagnosis method, which will not be repeated here.
[0102] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the one or more processors implement the valve fault diagnosis method provided in the embodiment of the present application.
[0103] The computer-readable storage medium may be an internal storage unit of the terminal device 200 in the aforementioned embodiment, such as a hard disk or memory of the terminal device 200. The computer-readable storage medium may also be an external storage device of the terminal device 200, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped with the terminal device 200.
[0104] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A valve fault diagnosis method, It is characterized in that include: Acquire operating parameter information of the valve to be tested, and generate performance parameter information of the valve to be tested based on a preset performance parameter generation rule and the operating parameter information; Determining error information of the performance parameter information based on preset standard performance parameter information; Scoring each preset fault mode based on the error information and a preset scoring rule to obtain a score corresponding to each fault mode; Generating a matching degree corresponding to each of the fault modes based on the scores corresponding to each of the fault modes, and generating a fault diagnosis result of the valve to be tested based on the matching degree corresponding to each of the fault modes; Wherein, the operating parameter information includes valve closing operating parameter information and valve opening operating parameter information, and the performance parameter information of the valve to be tested is generated based on the preset performance parameter generation rule and the operating parameter information, including: Generate valve closing performance parameter information based on the performance parameter generation rule and the valve closing operation parameter information, and generate valve opening performance parameter information based on the performance parameter generation rule and the valve opening operation parameter information; the valve closing performance parameter information and the valve opening performance parameter information constitute the performance parameter information; The valve closing operation parameter information includes a valve closing current change curve, a valve closing voltage change curve, a valve closing power change curve, a valve closing valve stem thrust change curve and valve closing limit switch feedback information. The valve closing performance parameter information is generated based on the performance parameter generation rule and the valve closing operation parameter information, including: Determine the valve closing critical moment information based on the performance parameter generation rule, the valve closing current change curve, the valve closing valve stem thrust change curve and the valve closing limit switch feedback information; wherein the valve closing critical moment information includes multiple valve closing critical moments; Determine, based on the performance parameter generation rule, in the valve closing key moment information, first target moment information corresponding to current, second target moment information corresponding to voltage, and third target moment information corresponding to power; Generate the valve closing current parameter information corresponding to the first target time information based on the performance parameter generation rule and the valve closing current change curve, generate the valve closing voltage parameter information corresponding to the second target time information based on the performance parameter generation rule and the valve closing voltage change curve, and generate the valve closing power parameter information corresponding to the third target time information based on the performance parameter generation rule and the valve closing power change curve; Determine the running time of the valve closing motor based on the performance parameter generation rule and the valve closing key moment information; the valve closing current parameter information, the valve closing voltage parameter information, the valve closing power parameter information and the valve closing motor running time constitute the valve closing performance parameter information; Each of the fault modes is provided with theoretical error information, the theoretical error information includes theoretical error values corresponding to multiple fault parameters, each of the theoretical error values is provided with a weight, the error information includes multiple error values, and the preset fault modes are scored based on the error information and preset scoring rules to obtain scores corresponding to each of the fault modes, including: For each of the fault modes, target error information corresponding to the fault mode is determined in the error information based on theoretical error information corresponding to the fault mode, and a score corresponding to the fault mode is generated based on the theoretical error information, the target error information and weights corresponding to each theoretical error value of the theoretical error information; wherein the error type corresponding to the theoretical error information is consistent with the error type corresponding to the target error information; Wherein, generating the score corresponding to the fault mode based on the theoretical error information, the target error information and the weights corresponding to the theoretical error values of the theoretical error information includes: For each of the theoretical error values, based on the theoretical error value, the target error value corresponding to the theoretical error value in the target error information, and the weight corresponding to the theoretical error value, an intermediate score corresponding to the theoretical error value is obtained; The intermediate scores are added together to obtain a score corresponding to the failure mode.
2. The valve fault diagnosis method according to claim 1, It is characterized in that The performance parameter information includes a plurality of performance parameters, the standard performance parameter information includes a plurality of standard performance parameters, and the error information of the performance parameter information is determined based on the preset standard performance parameter information, including: For each of the performance parameters, the first absolute value of the difference between the performance parameter and the standard performance parameter corresponding to the performance parameter is calculated, and the first percentage of the first absolute value to the standard performance parameter corresponding to the performance parameter is calculated; the first percentage corresponding to each of the performance parameters constitutes the error information.
3. The valve fault diagnosis method according to claim 1, It is characterized in that Obtaining an intermediate score corresponding to the theoretical error value based on the theoretical error value, a target error value corresponding to the theoretical error value in the target error information, and a weight corresponding to the theoretical error value, comprises: Calculating a second absolute value of the difference between the theoretical error value and the target error value, and subtracting the second absolute value from a preset value to obtain a target difference value; wherein the preset value is greater than the second absolute value; The product of the weight and the target difference is calculated, and the ratio of the product to the preset value is calculated; the ratio is the intermediate score.
4. The valve fault diagnosis method according to claim 1, It is characterized in that Generating the matching degree corresponding to each fault mode based on the score corresponding to each fault mode, and generating the fault diagnosis result of the valve to be tested based on the matching degree corresponding to each fault mode, comprises: Add up the scores to get the total score. For each of the fault modes, calculating a second percentage between the score corresponding to the fault mode and the total score value; the second percentage is a matching degree corresponding to the fault mode; A fault diagnosis result of the valve to be tested is generated based on the matching degree corresponding to each of the fault modes.
5. A valve fault diagnosis device, It is characterized in that include: An acquisition module, used for acquiring operating parameter information of the valve to be tested, and generating performance parameter information of the valve to be tested based on a preset performance parameter generation rule and the operating parameter information; A determination module, configured to determine error information of the performance parameter information based on preset standard performance parameter information; A scoring module, used to score each preset fault mode based on the error information and a preset scoring rule, to obtain a score corresponding to each fault mode; A generating module, configured to generate a matching degree corresponding to each of the fault modes based on a score corresponding to each of the fault modes, and to generate a fault diagnosis result of the valve to be tested based on the matching degree corresponding to each of the fault modes; Wherein, the operating parameter information includes valve closing operating parameter information and valve opening operating parameter information, and the performance parameter information of the valve to be tested is generated based on the preset performance parameter generation rule and the operating parameter information, including: Generate valve closing performance parameter information based on the performance parameter generation rule and the valve closing operation parameter information, and generate valve opening performance parameter information based on the performance parameter generation rule and the valve opening operation parameter information; the valve closing performance parameter information and the valve opening performance parameter information constitute the performance parameter information; The valve closing operation parameter information includes a valve closing current change curve, a valve closing voltage change curve, a valve closing power change curve, a valve closing valve stem thrust change curve and valve closing limit switch feedback information. The valve closing performance parameter information is generated based on the performance parameter generation rule and the valve closing operation parameter information, including: Determine the valve closing critical moment information based on the performance parameter generation rule, the valve closing current change curve, the valve closing valve stem thrust change curve and the valve closing limit switch feedback information; wherein the valve closing critical moment information includes multiple valve closing critical moments; Determine, based on the performance parameter generation rule, in the valve closing key moment information, first target moment information corresponding to current, second target moment information corresponding to voltage, and third target moment information corresponding to power; Generate the valve closing current parameter information corresponding to the first target time information based on the performance parameter generation rule and the valve closing current change curve, generate the valve closing voltage parameter information corresponding to the second target time information based on the performance parameter generation rule and the valve closing voltage change curve, and generate the valve closing power parameter information corresponding to the third target time information based on the performance parameter generation rule and the valve closing power change curve; Determine the running time of the valve closing motor based on the performance parameter generation rule and the valve closing key moment information; the valve closing current parameter information, the valve closing voltage parameter information, the valve closing power parameter information and the valve closing motor running time constitute the valve closing performance parameter information; Each of the fault modes is provided with theoretical error information, the theoretical error information includes theoretical error values corresponding to multiple fault parameters, each of the theoretical error values is provided with a weight, the error information includes multiple error values, and the preset fault modes are scored based on the error information and preset scoring rules to obtain scores corresponding to each of the fault modes, including: For each of the fault modes, target error information corresponding to the fault mode is determined in the error information based on theoretical error information corresponding to the fault mode, and a score corresponding to the fault mode is generated based on the theoretical error information, the target error information and weights corresponding to each theoretical error value of the theoretical error information; wherein the error type corresponding to the theoretical error information is consistent with the error type corresponding to the target error information; Wherein, generating the score corresponding to the fault mode based on the theoretical error information, the target error information and the weights corresponding to the theoretical error values of the theoretical error information includes: For each of the theoretical error values, based on the theoretical error value, the target error value corresponding to the theoretical error value in the target error information, and the weight corresponding to the theoretical error value, an intermediate score corresponding to the theoretical error value is obtained; The intermediate scores are added together to obtain a score corresponding to the failure mode.
6. A terminal device, It is characterized in that The terminal device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the valve fault diagnosis method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the valve fault diagnosis method according to any one of claims 1 to 4 is implemented.
