A control method for automatically measuring the depth of a liquid level

By combining machine learning and compensation algorithms with liquid level sensors, displacement sensors, and pressure sensors, the problems of liquid level sensor drift and environmental influences are solved, and high-precision automatic liquid level depth measurement is achieved.

CN115752640BActive Publication Date: 2026-02-17GUANGXI UNIVERSITY OF TECHNOLOGY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211507659.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-29
Publication Date
2026-02-17
Estimated Expiration
2042-11-29

AI Technical Summary

Technical Problem

Existing liquid level sensors are prone to zero-point and range drift after prolonged use, and are susceptible to environmental and weather factors, leading to inaccurate measurements and high sensor replacement costs.

Method used

Training data is constructed using machine learning algorithms. Combined with liquid level sensors, displacement sensors, and pressure sensors, liquid level is zeroed through compensation algorithms and a moving module. Real-time measurement, calibration, and error compensation are performed using a carbon fiber composite moving platform.

Benefits of technology

It improves the accuracy and adaptability of liquid level measurement, reduces environmental impact, and realizes high-precision automatic liquid level depth measurement, which is suitable for various environmental conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115752640B_ABST
    Figure CN115752640B_ABST
Patent Text Reader

Abstract

The present application belongs to the field of high-precision measurement and automatic control, and particularly relates to a control method for automatically measuring liquid level depth; in view of the problems in the prior art that the liquid level depth needs to be measured after the liquid level is set, and the liquid surface fluctuation easily causes low measurement accuracy, the present application proposes the following solution: the liquid level sensor transmits the liquid surface signal to the control module in real time, the control module contains an algorithm for machine learning, which compensates the displacement value of the liquid surface zero return, the moving module with the displacement sensor starts to move downward after zero return, when the control module receives the feedback signal of the pressure sensor, the moving module stops moving while the displacement sensor measures the liquid level depth, and finally the automatic measurement of the liquid surface depth is realized; the present application is simple and easy to implement, and can compensate the liquid surface error value through the machine learning algorithm to automatically measure different liquid level depths.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of high-precision motion processing and automatic control technology, and in particular to a control method for automatically measuring liquid level depth. Background Technology

[0002] Liquid level is a key element and important parameter in liquid medium changes, and it is the most common monitoring element in liquid medium monitoring. Common liquid level monitoring instruments come in various forms, such as float-type, radar-type, ultrasonic-type, pressure-type water level gauges, and electronic water level gauges. Accurate measurement of liquid level depth is of great significance for flood control, disaster reduction, and water resource management. However, digital water level sensors develop zero-point and range drift after prolonged use, and ecological environment and weather factors also affect the sensors. Replacing the sensors is inconvenient and costly. This invention solves the problem of inaccurate data measurement caused by liquid surface fluctuations due to various factors. It offers high measurement accuracy, is less affected by the natural environment, and can construct accurate training data through machine learning algorithms, unaffected by environmental location and time, exhibiting wide adaptability and improving the range and accuracy of automatic liquid level depth measurement. Summary of the Invention

[0003] The purpose of this invention is to address the shortcomings of existing technologies by proposing an automatic control method for measuring liquid level depth.

[0004] To achieve the above objectives, the present invention adopts the following technical solution:

[0005] A control method for automatically measuring liquid level depth includes the following steps:

[0006] S1. Reset all modules of the mechanism;

[0007] S2. After the start command is given, each module of the equipment enters the work preparation state.

[0008] S3. The liquid level sensor transmits the liquid level high / low signal to the control module. The control module contains a compensation algorithm. The control module then transmits the feedback signal of the compensation algorithm to the moving module through a working command. The moving module drives the platform to move, thereby completing the liquid level zeroing operation.

[0009] S4. After the liquid level is zeroed, the coordinate module establishes a coordinate system. Under the command of the control module, the moving module moves down the liquid surface according to the coordinate system established by the coordinate module. During the descent of the moving module, the displacement sensor can transmit the displacement signal to the control module in real time to realize the real-time measurement of the depth below the liquid surface.

[0010] S5. A pressure sensor is installed on the moving module. The pressure sensor will sense the pressure value and transmit the pressure data to the control module. When the pressure difference is greater than the set value, the control module will send a command to the moving module to stop working and simultaneously transmit the displacement sensor signal to the control module to complete the measurement.

[0011] Preferably, in step S1, after the start of the work command, the start of the work preparation state for each module of the device specifically includes:

[0012] When powered on, all modules (including control modules, movement modules, coordinate modules, etc.) are in a dormant state and do not perform data storage or exchange. When each module is turned on, it can perform its own initialization settings and store data.

[0013] Preferably, in step S3, the liquid level is precisely zeroed.

[0014] S31. First, the initial liquid level is marked by the liquid level sensor. The liquid level sensor will continuously collect data and transmit all collected data to the control system. The accuracy of the liquid level sensor is 0 to ±5%FS, the measurement range is 0 to 2000 mm, and the sampling frequency is ≤5ms.

[0015] S32. The initial model that has been established in the control system is established by using all the information obtained from multiple experiments to determine the error of the model parameters, setting the initial value to 0, training with several data, and calibrating multiple times to improve the acceptable reliability of the model, and controlling the error influence rate to 0 to 0.05%.

[0016] S33. Real-time data calibration: Collect the latest standard and equipment measurement data in real time and save them to the real-time database. Use algorithms to process the sampling frequency of the collected standard data and perform real-time calibration.

[0017] S34. Model training: The latest collected data is used to train the model to obtain the latest training model, and useless data is removed to obtain the latest model.

[0018] S35. Error Update: After obtaining the latest model, input the latest data other than the training model to obtain the corresponding zeroed error value.

[0019] S36. The moving module performs a zeroing operation on the liquid level under the command of the control module, with an accuracy range of 0 to ±10 mm.

[0020] Preferably, in step S4, after precise zeroing, the coordinate module establishes a real-time three-dimensional (x, y, z) coordinate system, with the position of the liquid level zero point as the origin of the coordinate system. After the coordinate system is established, the moving module begins to move downward at the origin position. The coordinate system updates the data in real time according to the descent of the displacement sensor, and transmits the liquid level depth of the displacement sensor to the control module. The control module displays the distance value of the displacement sensor's movement in real time.

[0021] S41. A displacement sensor is installed on the moving module. The displacement sensor can transmit displacement signals to the control module. The sensitivity range of the displacement sensor is 0 to 200 mV / mm.

[0022] S42. The moving module continues to move below the liquid surface under the command of the control module. At the same time, the displacement sensor can transmit the displacement signal to the control module in real time, and can measure the depth below the liquid surface in real time. The displacement sensor has a measurement range of 0 to 50,000 mm, a measurement accuracy range of 0 to ±5%FS, and a measurement frequency of 0 to 5,000 Hz.

[0023] Preferably, in step S5, the moving module moves downward under the command of the control module.

[0024] S51. The mobile module has a pressure sensor with a measurement range of 0 to 200 MPa and a sensitivity range of 0 to 3 mV / V.

[0025] S52. The moving module moves under the command of the control module. The pressure sensor promptly feeds back data to the control module. When the pressure difference (i.e., after subtracting the ambient pressure value) is greater than the set value, the control module will feed back a command to the moving module, and the moving module will stop working.

[0026] S53. After the moving module stops working, the displacement sensor transmits the data to the control system and records the real-time displacement data, which is the liquid level depth, thus completing the measurement.

[0027] The control method described in this invention can achieve a liquid level depth measurement range of 0 to 50,000 mm and a measurement accuracy range of 0 to ±10 mm.

[0028] The beneficial effects of the mobile platform control method for automatically measuring liquid level depth described in this invention are as follows:

[0029] 1. Error Correction: The control module can feed back the liquid level signal transmitted by the liquid level sensor to the moving module. The moving module then compensates for errors caused by liquid level fluctuations under different environmental conditions based on the feedback signal. This error compensation is based on machine learning principles and methods. The algorithm can integrate the influence of environmental factors and effectively compensate for liquid level measurement errors, thereby greatly improving the accuracy of zeroing the liquid level.

[0030] 2. Real-time performance: This invention is adapted to a displacement sensor, which can transmit real-time displacement signals below the liquid surface to the control module. The control module has a data recording function and can record displacement information at any position below the liquid surface in real time.

[0031] 3. Automatic high-precision measurement: This invention uses machine learning algorithms to compensate for errors in the zeroing process. The moving module is made of a new type of carbon fiber composite material, which has a certain pressure resistance. With the help of high-precision displacement and pressure sensors, it can realize automatic depth measurement of any liquid level under the command of the control module.

[0032] This invention features high measurement accuracy, strong adaptability, wide application scenarios, and is simple and easy to implement. Attached Figure Description

[0033] Figure 1 This is a structural diagram of an implementation facility for a control method for automatically measuring liquid level depth proposed in this invention;

[0034] Figure 2 This is a flowchart of a control method for automatically measuring liquid level depth proposed in this invention;

[0035] Figure 3 This is a schematic diagram of a control method for automatically measuring liquid level depth proposed in this invention.

[0036] In the diagram: 1. Slider; 2. Sensor rail; 3. Fixture; 4. Slide rod; 5. Mounting bracket; 6. Platform support frame; 7. Displacement sensor; 8. Stepper motor; 9. Control module; 10. Vertical axis lead screw; 11. Liquid level sensor; 12. Coordinate module; 13. Pressure sensor. Detailed Implementation

[0037] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.

[0038] Please see Figures 1-3 An automatic control device for measuring liquid level depth includes: 1. a slider; 2. a sensor guide rail; 3. a fixing frame; 4. a slide rod; 5. a mounting frame; 6. a platform support frame; 7. a displacement sensor; 8. a stepper motor; 9. a control module; 10. a vertical axis lead screw; 11. a liquid level sensor; 12. a coordinate module; and 13. a pressure sensor.

[0039] Specifically, the liquid level sensor 11 first transmits the liquid level signal to the control module 9. The control module 9 then trains and analyzes the signal data transmitted by the liquid level sensor according to the built-in machine learning algorithm, and then controls the slider 1 to perform a zeroing operation. The accuracy of the liquid level sensor is 0.3%FS, the measurement range is 1000mm, and the sampling frequency is 5ms.

[0040] Specifically, after zeroing is completed, the coordinate module 12 establishes a three-dimensional coordinate system, with the zero point of the zeroing being the origin of the coordinate system. All downward movements of the slider are based on this established coordinate system. Slider 1 moves downward using the vertical axis lead screw 10 under the rotation of the stepper motor 8. Once slider 1 reaches the range of the vertical axis lead screw 10, the slider 4 continues to move downward. A displacement sensor is installed on slider 1. As slider 1 begins to move downward, the displacement sensor 7 starts working, measuring the distance of slider 1 below the liquid surface in real time. The displacement sensor transmits the displacement data to the control module 9 in real time, displaying the movement data. The displacement sensor has a measurement range of 0 to 20000 mm, a measurement accuracy of 0.5%FS, and a measurement frequency of 2000 Hz.

[0041] Specifically, when slider 1 moves downwards, pressure sensor 13 is fixed to slider 1. As slider 1 continues to descend and reaches the bottom of the container, pressure sensor 13 experiences bottom pressure. When the pressure value exceeds the set value of 30 Pa, the displacement sensor stops working under the instruction of the control module. At this time, the control module 9 receives the data from the displacement sensor and displays the liquid level depth value, completing the measurement. The entire automatic measuring device is supported by the platform support frame 6.

[0042] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A control method for automatically measuring a liquid level depth, characterized by, The method comprises the following steps: S1, reset each module of the mechanism; S2, after starting the working instruction, each module of the device starts the working preparation state; S3, the liquid level sensor transmits the liquid level signal to the control module, the control module contains a compensation algorithm, the control module transmits the feedback signal of the compensation algorithm to the mobile module through the working instruction, and the mobile module drives the platform to move, thereby completing the liquid level zero operation; S4, after completing the liquid level zero operation, the coordinate module establishes a coordinate system, and the mobile module moves downward according to the coordinate system established by the coordinate module under the instruction of the control module; in the process of the downward movement of the mobile module, the displacement sensor can transmit the displacement signal to the control module in real time, thereby realizing real-time measurement of the depth under the liquid surface; S5, the pressure sensor is installed on the mobile module, the pressure sensor can sense the pressure value and transmit the pressure data to the control module, when the pressure difference is greater than the set value, the control module feeds back the instruction to the mobile module to stop working, and the displacement sensor signal is transmitted to the control module at the same time, thereby completing the measurement; In S1, the reset of each module comprises a liquid level sensor, a mobile module, a displacement sensor, a pressure sensor, a control module and a coordinate module; In S2, after starting the working instruction, each module of the device starts the working preparation state, which specifically comprises: All modules are in a dormant state under the condition of power-on, and will not store and exchange data; when each module starts the working state, each module can be initialized and set, and can store data; In S3, S31, the liquid level sensor transmits the liquid surface signal to the control module, the precision range of the liquid level sensor is 0 to ±5% FS, the measurement range is 0 to 2000 mm, and the sampling frequency is ≤5 ms; S32, the control module contains a liquid level calibration algorithm based on machine learning, which fuses the measurement error caused by environmental factors, adopts an iterative learning algorithm, constructs a single-layer decision tree model, and adopts an error transfer learning algorithm to calibrate the measurement data error, thereby compensating the displacement value of the liquid surface zero, and the compensation value range is 0 to 1000 mm or less; S33, real-time data calibration, real-time collection of the latest time period standard data and device measurement data, saving to a real-time database, processing the collected standard data sampling frequency by using the algorithm, and real-time calibration; S34, model training, training the latest collected data to obtain the latest training model, and eliminating useless data to obtain the latest model; S35, error update, after obtaining the latest model, inputting the latest data except the training model to obtain the corresponding zero error value; S36, the mobile module performs zero operation on the liquid level under the error compensation instruction of the control module, and the precision range is 0 to ±10 mm.

2. The control method of automatically measuring the liquid level depth according to claim 1, wherein, In S4: S41, the displacement sensor is installed on the mobile module, and the displacement sensor can transmit the displacement signal to the control module; the sensitivity range of the displacement sensor is 0 to 200 mv / mm; S42, the mobile module moves under the liquid surface according to the coordinate system established by the coordinate module under the instruction of the control module, and the displacement sensor can transmit displacement signals to the control module in real time, so as to measure the depth of the liquid surface in real time. The measurement range of the displacement sensor is 0-50000 mm, the measurement accuracy range is 0-±5% FS, and the measurement frequency is 0-5000 Hz.

3. The control method of automatically measuring the liquid level depth according to claim 2, wherein, In the S5: S51, the mobile module has a pressure sensor, the measurement range of the pressure sensor is 0-200 Mpa, and the sensitivity range is 0-3 mv / v; S52, the mobile module moves under the instruction of the control module, the pressure sensor feeds back data to the control module in a timely manner, and when the pressure difference is greater than the set value, the control module feeds back an instruction to the mobile module, and the mobile module stops working; S53, after the mobile module stops working, the displacement sensor transmits data to the control system, and records the instantaneous displacement data.

4. The control method of automatically measuring the liquid level depth according to claim 3, wherein The control method can measure the depth of the liquid level in the range of 0-50000 mm, and the measurement accuracy range is 0-±10 mm.

Citation Information

Patent Citations

  • Dynamic calibration device and method of liquid level sensor

    CN106225885A

  • Wave height meter support control system capable of being automatically adjusted and control method

    CN114879749A