Liquid level measurement method and device, storage medium and computer device

By using multi-sensor data acquisition and outlier data filtering, combined with various liquid level value judgment methods, the problem of inaccurate data from liquid level monitoring equipment has been solved, enabling accurate liquid level measurement in dynamic environments.

CN116952334BActive Publication Date: 2026-01-16GUANGDONG RONGWEN ENERGY SCI & TECH GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310803511.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2026-01-16
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

Existing liquid level monitoring equipment is susceptible to equipment failure, data anomalies, and environmental factors, resulting in inaccurate or unreliable monitoring data and posing safety hazards.

Method used

Data is collected using multiple liquid level sensors. Outliers are removed by outlier filtering technology. The actual liquid level is determined by combining the highest frequency liquid level value, the median liquid level value, and the average liquid level value.

Benefits of technology

Even under dynamic conditions of fluctuating liquid levels, it can accurately obtain liquid level values, improving the accuracy and reliability of monitoring and reducing safety hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116952334B_ABST
    Figure CN116952334B_ABST
Patent Text Reader

Abstract

The application provides a liquid level measurement method and device, a storage medium and a computer device. The method comprises the following steps: collecting a first liquid level data set of a liquid level object to be detected by a plurality of liquid level sensors; performing outlier filtering on the first liquid level data set to obtain a second liquid level data set from which abnormal values are removed; obtaining a highest frequency liquid level value, a liquid level median value and a liquid level average value from the second liquid level data set; and obtaining an actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level average value and a preset liquid level value judgment mode. The application can accurately measure the liquid level value of the liquid level object to be detected in a dynamic state.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of liquid level measurement, in particular to a liquid level measurement method and device, a storage medium and a computer device. BACKGROUND

[0002] Liquid level monitoring is a very important work in the fields of industrial production, natural resource protection and urban construction, and is widely used in places such as dams, rivers, reservoirs and tunnels. Its accuracy and reliability are directly related to the safety and stability of production and life. At present, liquid level monitoring mainly relies on sensors, water gauges and measuring instruments, and the existing liquid level monitoring systems on the market mostly use single sensors for monitoring. However, these devices have certain defects, such as device failure, data anomalies and instability, and environmental factors, such as waves caused by fast-moving objects, wind and rain, which can also affect data collection values, resulting in inaccurate or unreliable monitoring data, which poses a safety hazard and economic loss to production and life. SUMMARY

[0003] The purpose of the present application is to overcome the shortcomings and deficiencies in the prior art, and to provide a liquid level measurement method, device, storage medium and computer device, which can accurately measure the liquid level value of a dynamic liquid level object to be detected.

[0004] One embodiment of the present application provides a liquid level measurement method, comprising:

[0005] acquiring a first liquid level data set of a liquid level object to be detected by a plurality of liquid level sensors;

[0006] performing outlier data filtering on the first liquid level data set to obtain a second liquid level data set with abnormal values removed;

[0007] obtaining the highest frequency liquid level value, the liquid level median value and the liquid level average value from the second liquid level data set;

[0008] obtaining the actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level average value and a preset liquid level value determination method.

[0009] Further, the step of performing outlier data filtering on the first liquid level data set to obtain a second liquid level data set with abnormal values removed comprises:

[0010] calculating the data average value and the data standard deviation of the first liquid level data set;

[0011] calculating the difference between each data in the first liquid level data set and the data average value;

[0012] obtaining a standardized difference value of each liquid level data in the first liquid level data set according to the data standard deviation and the difference between each data and the data average value;

[0013] if the standardized difference value is greater than a preset outlier threshold value, determining that the corresponding liquid level data is outlier data;

[0014] excluding all outlier data in the first liquid level data set to obtain the second liquid level data set.

[0015] Further, the step of obtaining the actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level average value, and a preset liquid level value determination method comprises:

[0016] determining the difference between the highest frequency liquid level value and the liquid level median value as a first bit value difference;

[0017] if the first bit value difference is less than or equal to a preset first threshold value, determining that the highest frequency liquid level value is the actual liquid level value of the liquid level object to be detected.

[0018] if the first bit value difference is greater than the first threshold value, obtaining the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value.

[0019] Further, the step of obtaining the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value if the first bit value difference is greater than the first threshold value comprises:

[0020] determining the difference between the liquid level median value and the liquid level average value as a second bit value difference;

[0021] if the second bit value difference is less than or equal to a preset second threshold value, determining that the liquid level median value is the actual liquid level value of the liquid level object to be detected.

[0022] Further, the step of obtaining the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value if the first bit value difference is greater than the first threshold value comprises:

[0023] if the second bit value difference is greater than the second threshold value, determining that the liquid level average value is the actual liquid level value of the liquid level object to be detected.

[0024] Further, if the actual liquid level value of the liquid level object to be detected exceeds a preset alarm threshold value, an alarm is given to the administrator or an alarm information is sent to the management center of the liquid level object to be detected.

[0025] One embodiment of the present application further provides a liquid level measuring device, comprising:

[0026] a first liquid level data set obtaining module, configured to collect a first liquid level data set of a liquid level object to be detected by a plurality of liquid level sensors;

[0027] a second liquid level data set obtaining module, configured to perform outlier filtering on the first liquid level data set to obtain a second liquid level data set in which outliers are removed;

[0028] a liquid level value data obtaining module, configured to obtain a highest frequency liquid level value, a liquid level median value and a liquid level average value from the second liquid level data set;

[0029] an actual liquid level value obtaining module, configured to obtain an actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level average value and a preset liquid level value determination mode.

[0030] Further, the second liquid level data set obtaining module comprises:

[0031] a calculation module, configured to calculate a data average value and a data standard deviation of the first liquid level data set;

[0032] a difference value obtaining module, configured to calculate a difference value between each data in the first liquid level data set and the data average value;

[0033] a standardized difference value obtaining module, configured to obtain a standardized difference value of each liquid level data in the first liquid level data set according to the data standard deviation and the difference value between each data and the data average value;

[0034] an outlier data obtaining module, configured to determine that the liquid level data corresponding to the standardized difference value greater than a preset outlier threshold value is outlier data;

[0035] a data excluding module, configured to exclude all outlier data in the first liquid level data set to obtain the second liquid level data set.

[0036] One embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the liquid level measuring method.

[0037] One embodiment of the present application further provides a computer device, which comprises a storage, a processor and a computer program stored in the storage and executable by the processor, and the processor implements the steps of the liquid level measuring method when executing the computer program.

[0038] Compared with the prior art, the application collects a first liquid level data set of a liquid level object to be detected through a plurality of liquid level sensors, then obtains a second liquid level data set with abnormal values removed through outlier data filtering, and then obtains an actual liquid level value of the liquid level object to be detected according to a highest frequency liquid level value, a liquid level median value and a liquid level average value of the second liquid level data set. Even when the liquid surface of the liquid level object to be detected is in a dynamic state with liquid surface fluctuation, the actual liquid level value can be accurately obtained from a plurality of liquid level data.

[0039] In order to more clearly understand the application, the specific embodiments of the application will be described below with reference to the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS

[0040] Figure 1 Flow chart of a liquid level measurement method according to an embodiment of the application.

[0041] Figure 2 Module connection diagram of a liquid level measurement device according to an embodiment of the application.

[0042] 100, liquid level measurement device; 101, first liquid level data set acquisition module; 102, second liquid level data set acquisition module; 103, liquid level value data acquisition module; 104, actual liquid level value acquisition module. DETAILED DESCRIPTION

[0043] In order to make the objects, technical solutions and advantages of the application clearer, the embodiments of the application will be further described in detail below with reference to the accompanying drawings.

[0044] It should be clear that the described embodiments are only a part of the embodiments of the application, rather than all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the embodiments of the application.

[0045] When the following description refers to the accompanying drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. In the description of the application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not necessarily mean a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the application can be understood according to specific circumstances. The singular forms "a", "an" and "the" used in the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The word "if" used herein can be interpreted as "when" or "when" or "in response to determining".

[0046] Further, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. The association relationship of "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the three cases of A existing alone, A and B existing together, and B existing alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.

[0047] Please refer to Figure 1 , which is a flowchart of the liquid level measurement method of the first embodiment of the present application, comprising:

[0048] S1: collecting a first liquid level data set of a liquid level object to be detected by a plurality of liquid level sensors;

[0049] Wherein, the liquid level object to be detected includes but is not limited to dams, rivers, reservoirs and tunnels, etc. The plurality of liquid level sensors are distributed at a plurality of positions of the liquid level object to be detected.

[0050] The first liquid level data set includes liquid surface data when the liquid surface of the liquid level object to be detected is dynamic.

[0051] S2: outlier data filtering is performed on the first liquid level data set to obtain a second liquid level data set with abnormal values removed;

[0052] S3: obtaining the highest frequency liquid level value, the liquid level median value and the liquid level average value from the second liquid level data set;

[0053] The highest frequency liquid level value refers to the liquid level data with the highest frequency in the second liquid level data set.

[0054] S4: obtaining the actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level average value, and a preset liquid level value judgment method.

[0055] Compared with the prior art, the present application collects a first liquid level data set of a liquid level object to be detected by a plurality of liquid level sensors, then removes abnormal values through outlier data filtering to obtain a second liquid level data set, and then obtains the actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value and the liquid level average value of the second liquid level data set. Even if the liquid surface of the liquid level object to be detected is in a dynamic state with liquid surface fluctuations, the actual liquid level value can be accurately obtained from a plurality of liquid level data.

[0056] In one possible embodiment, the step of S2: outlier data filtering is performed on the first liquid level data set to obtain a second liquid level data set with abnormal values removed, comprising:

[0057] S21: calculate a data mean value and a data standard deviation of the first liquid level data set;

[0058] S22: calculate a difference between each data and the data mean value in the first liquid level data set;

[0059] S23: obtain a standardized difference value of each liquid level data in the first liquid level data set according to the data standard deviation and the difference between each data and the data mean value;

[0060] S24: if the standardized difference value is greater than a preset outlier threshold value, determine that the corresponding liquid level data is outlier data;

[0061] S25: exclude all outlier data in the first liquid level data set to obtain the second liquid level data set.

[0062] In the embodiment, through steps S21-S25, abnormal data obviously deviating from the overall liquid level data can be removed, and normal liquid level data is retained, so as to improve the accuracy of judging the actual liquid level value.

[0063] In an available embodiment, the step S4 of obtaining the actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level mean value, and a preset liquid level value judgment mode comprises:

[0064] S41: determine a first bit value difference as a difference between the highest frequency liquid level value and the liquid level median value;

[0065] S42: if the first bit value difference is less than or equal to a preset first threshold value, determine that the highest frequency liquid level value is the actual liquid level value of the liquid level object to be detected.

[0066] S43: if the first bit value difference is greater than the first threshold value, obtain the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level mean value.

[0067] In the embodiment, if the first bit value difference between the highest frequency liquid level value and the liquid level median value is less than or equal to the preset first threshold value, it indicates that the highest frequency liquid level value and the liquid level median value are not greatly different, so the highest frequency liquid level value can be directly determined as the actual liquid level value of the liquid level object to be detected. If the first bit value difference between the highest frequency liquid level value and the liquid level median value is greater than the preset first threshold value, it indicates that the highest frequency liquid level value and the liquid level median value are greatly different, so the actual liquid level value of the liquid level object to be detected needs to be determined again according to the liquid level median value and the liquid level mean value.

[0068] In an embodiment, the step S43 of obtaining the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value when the first bit value difference is greater than the first threshold value comprises:

[0069] S431: determining a difference between the liquid level median value and the liquid level average value as a second bit value difference;

[0070] S432: determining the liquid level median value as the actual liquid level value of the liquid level object to be detected when the second bit value difference is less than or equal to a preset second threshold value.

[0071] In the embodiment, when the second bit value difference between the liquid level median value and the liquid level average value is less than or equal to the preset second threshold value, it is indicated that the liquid level median value and the liquid level average value are not greatly different, and the liquid level median value can be determined as the actual liquid level value.

[0072] In an embodiment, the step S43 of obtaining the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value when the first bit value difference is greater than the first threshold value comprises:

[0073] S433: determining the liquid level average value as the actual liquid level value of the liquid level object to be detected when the second bit value difference is greater than the second threshold value.

[0074] In the embodiment, when the second bit value difference between the liquid level median value and the liquid level average value is greater than the preset second threshold value, it is indicated that the liquid level median value and the liquid level average value are greatly different, and the liquid level average value is determined as the actual liquid level value.

[0075] In an embodiment, when the actual liquid level value of the liquid level object to be detected exceeds a preset alarm threshold value, an alarm is given to an administrator or alarm information is sent to a management center of the liquid level object to be detected. Through the alarm or the sending of the alarm information, the administrator can be timely informed that the actual liquid level value of the liquid level object to be detected is too high.

[0076] The second embodiment of the application further provides a liquid level measuring device 100, comprising:

[0077] A first liquid level data set acquisition module 101 is configured to collect a first liquid level data set of a liquid level object to be detected by a plurality of liquid level sensors.

[0078] A second liquid level data set acquisition module 102 is configured to filter outlier data from the first liquid level data set to obtain a second liquid level data set from which abnormal values are removed.

[0079] The liquid level value data acquisition module 103 is configured to acquire the highest frequency liquid level value, the liquid level median value and the liquid level average value from the second liquid level data set.

[0080] The actual liquid level value acquisition module 104 is configured to acquire the actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level average value and a preset liquid level value determination mode.

[0081] In an embodiment, the second liquid level data set acquisition module 102 comprises:

[0082] The calculation module is configured to calculate the data average value and the data standard deviation of the first liquid level data set.

[0083] The difference value acquisition module is configured to calculate the difference value between each data in the first liquid level data set and the data average value.

[0084] The standardized difference value acquisition module is configured to acquire the standardized difference value of each liquid level data in the first liquid level data set according to the data standard deviation and the difference value between each data and the data average value.

[0085] The outlier data acquisition module is configured to determine that the corresponding liquid level data is outlier data if the standardized difference value is greater than a preset outlier threshold value.

[0086] The data exclusion module is configured to exclude all outlier data in the first liquid level data set to obtain the second liquid level data set.

[0087] In an embodiment, the actual liquid level value acquisition module 104 comprises:

[0088] The first bit value difference value acquisition submodule is configured to determine the difference value between the highest frequency liquid level value and the liquid level median value as a first bit value difference value.

[0089] The first actual liquid level value acquisition submodule is configured to determine that the highest frequency liquid level value is the actual liquid level value of the liquid level object to be detected if the first bit value difference value is less than or equal to a preset first threshold value.

[0090] The second actual liquid level value acquisition submodule is configured to acquire the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value if the first bit value difference value is greater than the first threshold value.

[0091] It should be noted that the liquid level measuring device provided by the second embodiment of the present application only takes the above-mentioned division of the functional modules as an example when performing the liquid level measuring method, and in actual application, the above-mentioned functions can be completed by different functional modules according to the needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above-mentioned functions. In addition, the liquid level measuring device provided by the second embodiment of the present application and the liquid level measuring method of the first embodiment of the present application belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.

[0092] One embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the steps of the liquid level measuring method.

[0093] One embodiment of the present application further provides a computer device, which comprises a storage, a processor and a computer program stored in the storage and executable by the processor, and the processor realizes the steps of the liquid level measuring method when executing the computer program.

[0094] The device embodiments described above are only schematic, wherein the components illustrated as separate components can or can not be physically separate, and the components illustrated as a unit can or can not be a physical unit, that is, they can be located in one place or distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present application. Those skilled in the art can understand and implement it without creative labor.

[0095] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0096] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function selected in one or more boxes.

[0097] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function selected in one or more boxes.

[0098] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0099] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0100] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.

[0101] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not only include those elements, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.

[0102] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the scope of claims of the present application.

Claims

1. A method of measuring a liquid level, characterized by, The method comprises the following steps: acquiring a first liquid level data set of a liquid level object to be detected by a plurality of liquid level sensors; performing outlier filtering on the first liquid level data set to obtain a second liquid level data set from which outliers are removed; obtaining a highest frequency liquid level value, a liquid level median value and a liquid level average value from the second liquid level data set; obtaining an actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level average value and a preset liquid level value determination mode, comprising: determining a first liquid level difference value as a difference between the highest frequency liquid level value and the liquid level median value; if the first liquid level difference value is less than or equal to a preset first threshold value, determining that the highest frequency liquid level value is the actual liquid level value of the liquid level object to be detected; if the first liquid level difference value is greater than the first threshold value, obtaining the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value.

2. The liquid level measuring method according to claim 1, characterized in that The step of performing outlier filtering on the first liquid level data set to obtain a second liquid level data set from which outliers are removed comprises: calculating a data average value and a data standard deviation of the first liquid level data set; calculating a difference between each data in the first liquid level data set and the data average value; obtaining a standardized difference value of each liquid level data in the first liquid level data set according to the data standard deviation and the difference between each data and the data average value; if the standardized difference value is greater than a preset outlier threshold value, determining that the corresponding liquid level data is outlier data; excluding all outlier data in the first liquid level data set to obtain the second liquid level data set.

3. The liquid level measuring method according to claim 1, characterized in that, The step of obtaining the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value if the first liquid level difference value is greater than the first threshold value comprises: determining a second liquid level difference value as a difference between the liquid level median value and the liquid level average value; if the second liquid level difference value is less than or equal to a preset second threshold value, determining that the liquid level median value is the actual liquid level value of the liquid level object to be detected.

4. The liquid level measuring method according to claim 3, characterized in that The step of obtaining the actual liquid level value of the liquid level object to be detected according to the liquid level median value and the liquid level average value if the first liquid level difference value is greater than the first threshold value comprises: if the second liquid level difference value is greater than the second threshold value, determining that the liquid level average value is the actual liquid level value of the liquid level object to be detected.

5. The liquid level measuring method according to claim 1, characterized in that, The method further comprises: if the actual liquid level value of the liquid level object to be detected exceeds a preset alarm threshold value, reminding an administrator by an alarm or sending alarm information to a management center of the liquid level object to be detected.

6. A liquid level measuring device, characterized in that The method comprises the following steps: a first liquid level data set acquisition module for acquiring a first liquid level data set of a liquid level object to be detected by a plurality of liquid level sensors; a second liquid level data set acquisition module for performing outlier filtering on the first liquid level data set to obtain a second liquid level data set from which outliers are removed; a liquid level value data acquisition module for obtaining a highest frequency liquid level value, a liquid level median value and a liquid level average value from the second liquid level data set; An actual liquid level value obtaining module is configured to obtain an actual liquid level value of the liquid level object to be detected according to the highest frequency liquid level value, the liquid level median value, the liquid level average value, and a preset liquid level value determination mode. A first bit value difference is determined as a difference between the highest frequency liquid level value and the liquid level median value. If the first bit value difference is less than or equal to a preset first threshold value, the highest frequency liquid level value is determined as the actual liquid level value of the liquid level object to be detected. If the first bit value difference is greater than the first threshold value, the actual liquid level value of the liquid level object to be detected is obtained according to the liquid level median value and the liquid level average value.

7. The liquid level measuring device according to claim 6, characterized in that The second liquid level data set obtaining module includes: A calculation module is configured to calculate a data average value and a data standard deviation of the first liquid level data set. A difference value obtaining module is configured to calculate a difference value between each data in the first liquid level data set and the data average value. A standardized difference value obtaining module is configured to obtain a standardized difference value of each liquid level data in the first liquid level data set according to the data standard deviation and the difference value between each data and the data average value. An outlier data obtaining module is configured to determine the corresponding liquid level data as outlier data if the standardized difference value is greater than a preset outlier threshold value. A data excluding module is configured to exclude all outlier data in the first liquid level data set to obtain the second liquid level data set.

8. A computer readable storage medium storing a computer program, characterized in that: The computer program is executed by the processor to implement the steps of the liquid level measurement method according to any one of claims 1 to 5.

9. A computer device, comprising: The computer program is executed by the processor to implement the steps of the liquid level measurement method according to any one of claims 1 to 5. The computer program is executed by the processor to implement the steps of the liquid level measurement method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Liquid level detection method, control device, processing unit, device and storage medium

    CN115307703A

  • Flow rate monitoring device, flow rate monitoring method, and program

    JP7177215B1