Search

CN-122016020-A - Liquid level meter fault diagnosis method and device, electronic equipment and storage medium

CN122016020ACN 122016020 ACN122016020 ACN 122016020ACN-122016020-A

Abstract

The application provides a liquid level meter fault diagnosis method and device, electronic equipment and storage medium, belonging to the field of liquid level meter fault diagnosis, wherein the liquid level meter comprises a servo channel and a magnetic flap channel, the method collects historical data of the two channels to calculate a dynamic threshold value, and comparing the real-time liquid level difference value with a dynamic threshold value, carrying out interlocking verification on the separated scenes, and determining the corresponding fault type based on a verification result by combining a preset channel state condition and a characteristic change time sequence condition. The fault diagnosis method and device for the liquid level meter, the electronic equipment and the storage medium can improve the operation safety and reliability of the liquid level meter.

Inventors

  • QIU HONGWEI
  • LIN QINGHE
  • QIU HONGBO

Assignees

  • 固安通盛仪表有限公司

Dates

Publication Date
20260512
Application Date
20260226

Claims (10)

  1. 1. A method of diagnosing a liquid level gauge fault, the liquid level gauge including a servo channel and a magnetic flap channel, the method comprising: Acquiring historical data of the servo channel and the magnetic flap channel in a preset historical time window, and calculating a liquid level deviation dynamic threshold, a first operation characteristic dynamic threshold and a second operation characteristic dynamic threshold based on the historical data, wherein the historical data comprises first liquid level data and first operation characteristic data acquired based on the servo channel, and second liquid level data and second operation characteristic data acquired based on the magnetic flap channel; Calculating a real-time liquid level difference value between the first liquid level data and the second liquid level data acquired at the current moment, and comparing the real-time liquid level difference value with the liquid level deviation dynamic threshold value; If the real-time liquid level difference value is smaller than or equal to the liquid level deviation dynamic threshold value, performing first interlocking verification according to the first operation characteristic data, the second operation characteristic data, the first operation characteristic dynamic threshold value and the second operation characteristic dynamic threshold value to judge whether a channel hidden fault exists or not; and determining a corresponding fault type from a predefined fault type set based on the first interlocking verification result or the second interlocking verification result, wherein each fault type in the fault type set is associated with a preset channel state condition and a characteristic change time sequence condition.
  2. 2. The method of diagnosing a liquid level meter fault as recited in claim 1, wherein said calculating a liquid level deviation dynamic threshold, a first operating characteristic dynamic threshold, and a second operating characteristic dynamic threshold based on said historical data comprises: Calculating the mean value and standard deviation of the liquid level difference values at each sampling moment in the preset historical time window based on the first liquid level data and the second liquid level data in the historical data, and determining the dynamic threshold value of the liquid level deviation according to the mean value and the standard deviation; Calculating a first characteristic mean value and a first characteristic standard deviation based on first operation characteristic data in the historical data, and determining the first operation characteristic dynamic threshold according to the first characteristic mean value and the first characteristic standard deviation; And calculating a second characteristic mean value and a second characteristic standard deviation based on second operation characteristic data in the historical data, and determining the second operation characteristic dynamic threshold according to the second characteristic mean value and the second characteristic standard deviation.
  3. 3. The method of diagnosing a liquid level meter fault as recited in claim 2, wherein said determining said dynamic threshold of liquid level deviation from said mean and standard deviation includes: Respectively carrying out statistical analysis on the first operation characteristic data and the second operation characteristic data in the preset historical time window, and respectively calculating characteristic statistics of the first operation characteristic data and the second operation characteristic data in each preset sub-window; Comparing the characteristic statistics with a preset state transition threshold value for each preset sub-window, judging that the running state is transited when the duration that the characteristic statistics continuously exceed the state transition threshold value reaches a preset minimum stable duration, and recording a transition moment point; Dividing the history time window into a plurality of subintervals with different steady-state characteristics based on all recorded time points; Respectively calculating a subinterval mean value and a subinterval standard difference of the liquid level difference value in each subinterval; calculating the comprehensive standard deviation according to the maximum value in all sub-period standard deviations; The liquid level deviation dynamic threshold is determined based on the mean and the integrated standard deviation.
  4. 4. The method of diagnosing a liquid level meter fault as recited in claim 1, wherein said process of first interlock verification includes: if each sampling value of the first operation characteristic data in the continuous N sampling periods is larger than a first operation characteristic dynamic threshold value, the change amplitude of the second liquid level data in the continuous N sampling periods is smaller than a first preset stable threshold value, and each sampling value of the second operation characteristic data in the continuous N sampling periods is smaller than or equal to a second operation characteristic dynamic threshold value, judging that a hidden fault exists in the servo channel; And/or the number of the groups of groups, If each sampling value of the second operation characteristic data in the continuous N sampling periods is larger than a second operation characteristic dynamic threshold value, the change amplitude of the first liquid level data in the continuous N sampling periods is smaller than a second preset stable threshold value, and each sampling value of the first operation characteristic data in the continuous N sampling periods is smaller than or equal to a first operation characteristic dynamic threshold value, judging that a hidden fault exists in the magnetic flap channel; Wherein N is an integer greater than 1.
  5. 5. The method of diagnosing a liquid level meter fault as recited in claim 1, wherein said second interlock verification process includes: If each sampling value of the first operation characteristic data in the continuous M sampling periods is larger than a first operation characteristic dynamic threshold value and each sampling value of the second operation characteristic data in the continuous M sampling periods is smaller than or equal to a second operation characteristic dynamic threshold value, judging that the liquid level is inconsistent due to the servo channel fault; And/or the number of the groups of groups, If each sampling value of the second operation characteristic data in the continuous M sampling periods is larger than the second operation characteristic dynamic threshold value and each sampling value of the first operation characteristic data in the continuous M sampling periods is smaller than or equal to the first operation characteristic dynamic threshold value, judging that the liquid level is inconsistent due to the failure of the magnetic flap channel; Wherein M is an integer greater than 1.
  6. 6. The level gauge fault diagnosis method of claim 4 or 5, comprising a predefined set of fault types; The determining, based on the first interlock verification or the second interlock verification result, a corresponding fault type from a predefined set of fault types includes: obtaining a candidate fault type set matched with the current first interlocking verification result or the second interlocking verification result from the predefined fault type set, wherein the candidate fault type set comprises all fault types meeting the preset channel state condition; respectively acquiring time sequence change curves of the first operation characteristic data and the second operation characteristic data in a fault judging time window, wherein the fault judging time window at least covers the continuous N or M sampling periods for judging; performing matching degree calculation on the time sequence change curve and the characteristic change time sequence conditions associated with each fault type in the candidate fault type set; And determining the fault type corresponding to the characteristic change time sequence condition with the highest matching degree with the time sequence change curve as the corresponding fault type.
  7. 7. The method for diagnosing a malfunction of a fluid level gauge according to claim 1, further comprising: Acquiring real-time data of one or more auxiliary monitoring parameters, wherein the auxiliary monitoring parameters are independent of the first operation characteristic data and the second operation characteristic data and are used for representing the integral operation working condition or the external environment of the liquid level meter; Calculating a working condition deviation coefficient based on the real-time data of the auxiliary monitoring parameters and the historical data of the auxiliary monitoring parameters in the preset historical time window, wherein the working condition deviation coefficient represents the deviation degree of the current working condition and the normal working condition in the preset historical time window; When a fault judgment result is obtained based on the first interlocking verification or the second interlocking verification, carrying out weighted verification on the fault judgment result by combining the working condition deviation coefficient; if the confidence coefficient after the weighted verification is lower than a preset threshold value, outputting the fault judging result and adding a manual inspection prompt, and if the confidence coefficient is higher than or equal to the preset threshold value, directly outputting the determined fault type.
  8. 8. A level gauge fault diagnosis apparatus, wherein the level gauge comprises a servo channel and a magnetic flap channel, the apparatus comprising: The system comprises a threshold value determining module, a liquid level deviation dynamic threshold value determining module and a magnetic flap channel determining module, wherein the threshold value determining module is used for acquiring historical data of the servo channel and the magnetic flap channel in a preset historical time window and calculating a liquid level deviation dynamic threshold value, a first operation characteristic dynamic threshold value and a second operation characteristic dynamic threshold value based on the historical data; The comparison module is used for calculating a real-time liquid level difference value between the first liquid level data and the second liquid level data acquired at the current moment and comparing the real-time liquid level difference value with the liquid level deviation dynamic threshold value; The first fault judging module is used for carrying out first interlocking verification according to the first operation characteristic data, the second operation characteristic data, the first operation characteristic dynamic threshold and the second operation characteristic dynamic threshold if the real-time liquid level difference value is smaller than or equal to the liquid level deviation dynamic threshold so as to judge whether a channel hidden fault exists; The second fault judging module is used for determining corresponding fault types from a predefined fault type set based on the first interlocking verification or the second interlocking verification result, and each fault type in the fault type set is associated with a preset channel state condition and a characteristic change time sequence condition.
  9. 9. An electronic device comprising a processor and a memory, the memory having stored therein a computer program that is loaded and executed by the processor to implement the level gauge fault diagnosis method of any one of claims 1 to 7.
  10. 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, which is loaded and executed by a processor to implement the level gauge fault diagnosis method according to any one of claims 1 to 7.

Description

Liquid level meter fault diagnosis method and device, electronic equipment and storage medium Technical Field The application belongs to the technical field of fault diagnosis of liquid level meters, and particularly relates to a fault diagnosis method and device of a liquid level meter, electronic equipment and a storage medium. Background In industrial production, the liquid level meter is widely applied, and the fault diagnosis accuracy directly influences the production stability. The existing fault diagnosis method of the liquid level meter mostly adopts a fixed threshold value for judgment, cannot adapt to complex working condition differences such as medium characteristic fluctuation, environmental temperature change and the like, and lacks effective double-channel interlocking verification logic. This leads to it not only to be difficult to troubleshoot the passageway hidden trouble when the liquid level measurement is unanimous, but also can't accurate location liquid level inconsistent trouble passageway, and then causes the misjudgement of fault diagnosis, leaks the problem of judging frequently, has increased equipment maintenance cost, still constitutes potential risk to industrial production's steady operation, consequently need relevant technical scheme with the security and the reliability that promote the level gauge operation urgently. Disclosure of Invention The application provides a fault diagnosis method and device for a liquid level meter, electronic equipment and a storage medium, so as to improve the operation safety and reliability of the liquid level meter. According to an aspect of an embodiment of the present application, there is provided a fault diagnosis method for a liquid level meter, the liquid level meter including a servo channel and a magnetic flap channel, the method including: Collecting historical data of the servo channel and the magnetic flap channel in a preset historical time window, and calculating a liquid level deviation dynamic threshold, a first operation characteristic dynamic threshold and a second operation characteristic dynamic threshold based on the historical data, wherein the historical data comprises first liquid level data and first operation characteristic data which are acquired based on the servo channel, and second liquid level data and second operation characteristic data which are acquired based on the magnetic flap channel; Calculating a real-time liquid level difference value between the first liquid level data and the second liquid level data acquired at the current moment, and comparing the real-time liquid level difference value with a liquid level deviation dynamic threshold value; If the real-time liquid level difference value is smaller than or equal to the liquid level deviation dynamic threshold value, performing first interlocking verification according to the first operation characteristic data, the second operation characteristic data, the first operation characteristic dynamic threshold value and the second operation characteristic dynamic threshold value to judge whether a channel hidden fault exists; based on the first interlocking verification or the second interlocking verification result, determining a corresponding fault type from a predefined fault type set, wherein each fault type in the fault type set is associated with a preset channel state condition and a characteristic change time sequence condition. According to an aspect of an embodiment of the present application, there is provided a fault diagnosis device for a liquid level meter including a servo channel and a magnetic flap channel, the device including: The system comprises a threshold value determining module, a control module and a control module, wherein the threshold value determining module is used for acquiring historical data of a servo channel and a magnetic flap channel in a preset historical time window and calculating a liquid level deviation dynamic threshold value, a first operation characteristic dynamic threshold value and a second operation characteristic dynamic threshold value based on the historical data; the comparison module is used for calculating a real-time liquid level difference value between the first liquid level data and the second liquid level data acquired at the current moment and comparing the real-time liquid level difference value with a liquid level deviation dynamic threshold value; The first fault judging module is used for carrying out first interlocking verification according to the first operation characteristic data, the second operation characteristic data, the first operation characteristic dynamic threshold and the second operation characteristic dynamic threshold to judge whether a channel hidden fault exists or not if the real-time liquid level difference value is smaller than or equal to the liquid level deviation dynamic threshold; The second fault judging module is used for determining corresponding fault types