A water level monitoring device and method

By combining a guide rail structure and an intelligent control module, water level measurement with millimeter-level accuracy within a 100-meter range is achieved, solving the problems of accuracy and environmental interference in existing technologies and improving the stability and accuracy of the measurement.

CN122108303APending Publication Date: 2026-05-29CHINA THREE GORGES CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA THREE GORGES CORPORATION
Filing Date
2026-02-06
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing technologies struggle to achieve millimeter-level absolute measurement accuracy in ranges exceeding 100 meters, and common water level gauges are susceptible to environmental interference or require specific infrastructure.

Method used

It adopts a combination of guide rail structure, slider support platform, pressure sensor, servo drive module, position measurement module and intelligent control module. The servo drive module controls the pressure sensor to maintain a preset pressure value in the water body, and the water level height is calculated by combining the position measurement module and the slope.

Benefits of technology

It achieves water level measurement with millimeter-level accuracy within a range of hundreds of meters, reduces the impact of temperature drift and environmental interference, has high long-term stability, and avoids interference from water surface waves and foam.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122108303A_ABST
    Figure CN122108303A_ABST
Patent Text Reader

Abstract

The application discloses a water level monitoring device and method, the device comprises: a guide rail structure arranged on a water body to be measured according to a preset slope, a sliding block bearing platform slidingly installed on the guide rail structure, a pressure sensor fixedly installed on the sliding block bearing platform, a servo drive module, a position measurement module and an intelligent control module, the servo drive module is used for keeping the pressure sensor at an expected water depth, the position measurement module is used for measuring the position of the sliding block bearing platform, the intelligent control module is used for controlling the servo drive module and calculating the water level of the water body to be measured, so that the pressure sensor can always work in a fixed and optimal small pressure range, the influence caused by temperature drift, nonlinear error and the like is greatly reduced, and long-term stability is far better than that of a fixedly-installed large-range pressure sensor. Furthermore, by keeping the sensor at a certain depth under the water surface, the direct influence of water surface waves and foam can be effectively avoided, and the measurement result is more stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of water level measurement technology, specifically relating to a water level monitoring device, method, electronic device, and storage medium. Background Technology

[0002] Water level measurement is a routine monitoring task in fields such as water conservancy, environmental protection, and municipal administration. Currently, the following methods are mainly used: 1. Pressure-type water level gauge: This type of gauge calculates water level by measuring the static pressure of the water body. It is easy to install and highly reliable, but its absolute accuracy is directly related to its measuring range, typically ±0.1%FS ~ ±0.5%FS (Full Scale). With a measuring range of 100 meters, the error can reach tens of millimeters, making it difficult to meet the high precision requirements at the millimeter level.

[0003] 2. Radar / ultrasonic water level gauge: Non-contact measurement, easy to install. However, its measurement accuracy is easily affected by environmental factors such as water surface fluctuations, foam, and steam. Achieving millimeter-level absolute accuracy over a large range is technically extremely difficult and the equipment cost is very high.

[0004] 3. Float-type water level gauge: Based on the structure of float, pulley and encoder, it has high accuracy, but requires a special well logging equipment, which limits its application scenarios, and it is also subject to mechanical wear problems.

[0005] Therefore, there is an urgent need for a new water level measurement scheme that combines large range, high precision, and strong adaptability. Summary of the Invention

[0006] The purpose of this application is to provide a water level monitoring device and method that can solve a common contradiction in the prior art, namely, the difficulty in achieving a large range of more than 100 meters while ensuring absolute measurement accuracy at the millimeter level, the limitations of range and accuracy of fixed-installation pressure sensors, the susceptibility of non-contact measurement to environmental interference, and the need for specific infrastructure for float-type sensors.

[0007] To solve the above-mentioned technical problems, this application is implemented as follows: In a first aspect, embodiments of this application provide a water level monitoring device, which includes: a guide rail structure set on the water body to be measured according to a preset inclination slope, a slider bearing platform slidably installed on the guide rail structure, a pressure sensor fixedly installed on the slider bearing platform, as well as a servo drive module, a position measurement module and an intelligent control module; The first end of the guide rail structure is positioned above the water body to be tested, and the second end of the guide rail structure is fixedly installed at a predetermined vertical height from the bottom of the water body to be tested. The servo drive module is used to drive the slider support platform to move along the guide rail structure; The position measurement module is used to measure the first distance from the slider support platform to the second end of the guide rail structure; The intelligent control module is used to control the servo drive module based on the real-time pressure data of the pressure sensor, so that the pressure sensor maintains a preset pressure value in the water body to be measured, and calculates the water level height of the water body to be measured according to the preset inclination slope, the first distance, the preset vertical height and the preset pressure value.

[0008] Optionally, the first end of the guide rail structure is fixedly installed on a structure above the water body to be tested, and the servo drive module is fixedly installed on the portion of the guide rail structure located above the water body to be tested.

[0009] Optionally, the position measurement module is fixedly installed on the guide rail structure, and the position measurement module is one of the following: Magnetic scale system, optical scale system.

[0010] Optionally, the device further includes: A ventilation cable is provided, which is connected to the pressure sensor, to lead the reference end of the pressure sensor to the target atmospheric environment in order to eliminate measurement errors caused by atmospheric pressure fluctuations.

[0011] Optionally, the end of the pressure sensor facing the bottom of the water body to be measured is aligned with the end of the slider support platform facing the bottom of the water body to be measured.

[0012] Optionally, the intelligent control module is electrically connected to the servo drive module, the position measurement module, and the pressure sensor.

[0013] Secondly, embodiments of this application provide a water level monitoring method using the water level monitoring device described above, the method comprising: Acquire the preset vertical height, preset inclination slope, preset pressure value, and real-time pressure data from the pressure sensor; Obtain the preset immersion depth corresponding to the preset pressure value; Based on the real-time pressure data and the preset pressure value, adjust the position of the pressure sensor so that the pressure sensor is kept at the preset immersion depth of the water body to be tested; Obtain the first distance from the slider support platform to the second end of the guide rail structure; The water level of the water body to be measured is obtained based on the preset immersion depth, preset vertical height, preset slope, and first distance.

[0014] Optionally, the water level of the water body to be measured is determined based on the preset immersion depth, preset inclination slope, preset vertical height, and first distance, including: The first vertical height is determined based on the preset slope and the first distance; The water level of the water body to be measured is obtained by adding the first vertical height, the preset immersion depth, and the preset vertical height.

[0015] Thirdly, embodiments of this application provide an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0016] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0017] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0018] This application provides a water level monitoring device, comprising: a guide rail structure set at a preset inclination slope on a water body to be measured; a slider support platform slidably mounted on the guide rail structure; a pressure sensor fixedly mounted on the slider support platform; a servo drive module; a position measurement module; and an intelligent control module. The first end of the guide rail structure is positioned above the water body to be measured, and the second end of the guide rail structure is fixedly mounted at a preset vertical height from the bottom of the water body to be measured. The servo drive module drives the slider support platform to move along the guide rail structure. The position measurement module measures a first distance from the slider support platform to the second end of the guide rail structure. The intelligent control module controls the servo drive module based on the pressure data from the pressure sensor, so that the pressure sensor maintains a preset pressure value in the water body to be measured, and calculates the water level height of the water body to be measured based on the preset inclination slope, the first distance, the preset vertical height, and the preset pressure value.

[0019] This approach ensures that the pressure sensor always operates within a fixed, optimal micro-pressure range, significantly reducing the impact of temperature drift and nonlinear errors, resulting in long-term stability far superior to fixed-installation, large-range pressure sensors. Furthermore, by maintaining the pressure sensor at a fixed preset pressure value at a certain depth below the water surface, the direct influence of surface waves and foam is effectively avoided, leading to more stable measurement results. Attached Figure Description

[0020] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of the structure of a water level monitoring device provided in some embodiments of the present invention; Figure 2 This is a flowchart illustrating the steps of a water level monitoring device provided in some embodiments of the present invention; Figure 3 This is a schematic diagram of the hardware structure of an electronic device provided in some embodiments of the present invention. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0024] The following description, in conjunction with the accompanying drawings, details a water level monitoring device provided in this application through specific embodiments and application scenarios.

[0025] Reference Figure 1 This document illustrates a structural schematic diagram of a water level monitoring device provided in an embodiment of this application. The device includes: a guide rail structure set at a preset inclination slope on the water body to be measured; a slider bearing platform slidably mounted on the guide rail structure; a pressure sensor fixedly mounted on the slider bearing platform; and a servo drive module, a position measurement module, and an intelligent control module. The relevant solutions for each component are described below: The first end of the guide rail structure is positioned above the water body to be tested, and the second end of the guide rail structure is fixedly installed at a predetermined vertical height from the bottom of the water body to be tested.

[0026] The servo drive module is used to drive the slider support platform to move along the guide rail structure; The position measurement module is used to measure the first distance from the slider support platform to the second end of the guide rail structure.

[0027] The intelligent control module is used to control the servo drive module based on the real-time pressure data of the pressure sensor, so that the pressure sensor maintains a preset pressure value in the water body to be measured, and calculates the water level height of the water body to be measured according to the preset inclination slope, the first distance, the preset vertical height and the preset pressure value.

[0028] Specifically, regarding the guide rail structure of the water level monitoring device, such as Figure 1 As shown, the guide rail structure can be installed on the water body to be measured at a certain inclination slope. This inclination slope can be preset (preset inclination slope), generally consistent with the slope of the bank of the water body to facilitate the installation of the guide rail structure. The water surface of the water body to be measured divides the guide rail structure into an above-water part and an underwater part, that is, one end of the guide rail structure is located in the above-water part (first end of the guide rail structure), and the other end is located in the underwater part (second end of the guide rail structure). Moreover, the vertical distance between the end located in the underwater part and the bottom of the water body to be measured is a preset vertical distance (preset vertical distance), that is, the end located in the underwater part is fixedly installed at a preset vertical height from the bottom of the water body to be measured.

[0029] In practical applications, the range of water level variation can be determined based on historical water level data of the water body to be measured. This range can then be used to determine the length of the underwater and above-water portions of the guide rail structure to cover the water level variation range of the water body being measured. In one example, the guide rail structure can be a rigid guide rail with a length sufficient to cover the water level variation range of the water body being measured; the specific guide rail material is not specifically limited here.

[0030] The servo drive module can be used to drive the slider support platform to move along the guide rail structure.

[0031] In some embodiments of this application, the first end of the guide rail structure is fixedly installed on a structure above the water body to be tested, and the servo drive module is fixedly installed on the portion of the guide rail structure located above the water body to be tested.

[0032] Specifically, one end of the guide rail structure located above the water (the first end) can be fixedly installed on a structure above the water body to be measured. In practical applications, this structure can be a reservoir bank, bridge pier, or a fixed support on the bank, etc.

[0033] The servo drive module can be fixedly installed on the water-based part of the guide rail structure, or as... Figure 1 As shown, it can be fixedly installed on top of the first end of the guide rail structure. In one example, the servo drive module can be a waterproof servo motor or a stepper motor, and is equipped with a precision ball screw or gear rack structure.

[0034] The slider support platform can be slidably mounted on the guide rail structure and driven by the servo drive module to move on the guide rail structure. A high-precision, small-range pressure sensor is fixedly installed on the slider support platform. The range of the pressure sensor is much smaller than the water level change range of the water body to be measured, but it has extremely high measurement accuracy. In practical applications, the measurement accuracy of the pressure sensor can reach ±0.05%FS or higher.

[0035] In some embodiments of this application, the pressure sensor is aligned at one end toward the bottom of the water body to be measured with the end of the slider support platform that is also aligned with the bottom of the water body to be measured.

[0036] Specifically, the bottom of the pressure sensor can be aligned with the bottom of the slider support platform. That is, the end of the pressure sensor facing the bottom of the water body being measured can be aligned with the end of the slider support platform facing the bottom of the water body being measured.

[0037] In some embodiments of this application, the apparatus further includes: A ventilation cable is provided, which is connected to the pressure sensor, to lead the reference end of the pressure sensor to the target atmospheric environment in order to eliminate measurement errors caused by atmospheric pressure fluctuations.

[0038] Specifically, such as Figure 1 As shown, the ventilation cable can be connected to a high-precision, small-range pressure sensor, thereby leading the reference end of the pressure sensor to the target atmospheric environment. This target atmospheric environment can be a pressure environment with stable atmospheric pressure, which can compensate for changes in atmospheric pressure and avoid measurement errors caused by atmospheric pressure fluctuations.

[0039] The position measurement module can be used to measure the position of the slider support platform in real time and accurately. The position can be characterized by the relative distance between the bottom of the slider support platform and the bottom (second end) of the guide rail structure, that is, to measure the first distance from the slider support platform to the second end of the guide rail structure.

[0040] In some embodiments of this application, the position measurement module is fixedly mounted on the guide rail structure, and the position measurement module is one of the following: Magnetic scale system, optical scale system.

[0041] Specifically, the position measurement module can be fixedly installed on the guide rail structure, preferably using a magnetic scale system or an optical scale system, which can achieve a resolution of at least millimeters. In one example, if the position measurement module is a magnetic scale system, a set of magnetic scale systems can be fixedly installed along the entire length of the guide rail structure.

[0042] The intelligent control module, the core control unit of the entire device, controls the servo drive module based on real-time pressure data from the pressure sensor. This servo drive module moves the slider support platform along the guide rail structure, ensuring the pressure sensor maintains a preset pressure value in the water body being measured, thus keeping it at a preset immersion depth below the water surface. Furthermore, the intelligent control module calculates the water level of the water body being measured based on the known preset slope, preset vertical height, and preset pressure value, combined with the first distance from the slider support platform to the second end of the guide rail structure measured by the position measurement system.

[0043] In practical applications, intelligent control modules can be embedded industrial controllers (PLCs or dedicated circuits).

[0044] In some embodiments of this application, the intelligent control module is electrically connected to the servo drive module, the position measurement module, and the pressure sensor.

[0045] Specifically, the intelligent control module can be electrically connected to the servo drive module, the position measurement module, and the pressure sensor, thereby acquiring real-time pressure data from the pressure sensor and controlling the servo drive module based on the real-time pressure data. This allows the pressure sensor to move along with the slider support platform, maintaining a preset pressure value in the water body to be measured. This keeps the sensor at a preset immersion depth below the water surface, thus acquiring the position data from the position measurement module.

[0046] This application provides a water level monitoring device, comprising: a guide rail structure set at a preset inclination slope on a water body to be measured; a slider support platform slidably mounted on the guide rail structure; a pressure sensor fixedly mounted on the slider support platform; a servo drive module; a position measurement module; and an intelligent control module. The first end of the guide rail structure is positioned above the water body to be measured, and the second end of the guide rail structure is fixedly mounted at a preset vertical height from the bottom of the water body to be measured. The servo drive module drives the slider support platform to move along the guide rail structure. The position measurement module measures a first distance from the slider support platform to the second end of the guide rail structure. The intelligent control module controls the servo drive module based on the pressure data from the pressure sensor, so that the pressure sensor maintains a preset pressure value in the water body to be measured, and calculates the water level height of the water body to be measured based on the preset inclination slope, the first distance, the preset vertical height, and the preset pressure value.

[0047] This approach ensures that the pressure sensor always operates within a fixed, optimal micro-pressure range, significantly reducing the impact of temperature drift and nonlinear errors, resulting in long-term stability far superior to fixed-installation, large-range pressure sensors. Furthermore, by maintaining the pressure sensor at a fixed preset pressure value at a certain depth below the water surface, the direct influence of surface waves and foam is effectively avoided, leading to more stable measurement results.

[0048] Furthermore, by separating the large-range measurement task (completed by the guide rail structure and position measurement module) from the high-precision measurement task (completed by the small-range pressure sensor), the overall accuracy is determined by the extremely high-resolution position measurement module and the extremely high-precision small-range pressure sensor, thereby achieving millimeter-level or even sub-millimeter-level measurement accuracy.

[0049] Reference Figure 2 The diagram illustrates a flowchart of the steps of a water level monitoring device according to some embodiments of the present invention, which may specifically include the following steps: Step 201: Obtain the preset vertical height, preset inclination slope, preset pressure value, and real-time pressure data from the pressure sensor.

[0050] In step 201, this method can utilize the intelligent control module of the water level monitoring device. The entire intelligent control module can be initialized first, and a preset pressure value P_set can be set within the optimal pressure measurement range of the high-precision, small-range pressure sensor, allowing the pressure sensor to operate within this range. Then, the intelligent control module can also acquire the preset vertical height h0 and preset inclination slope i of the water level monitoring device during its setup, and read the real-time pressure data P_meas from the high-precision, small-range pressure sensor.

[0051] Step 202: Obtain the preset immersion depth corresponding to the preset pressure value.

[0052] In step 202, the water depth corresponding to the preset pressure value can be calculated based on the preset pressure value, which is the preset immersion depth h_set of the pressure sensor.

[0053] Step 203: Adjust the position of the pressure sensor according to the real-time pressure data and the preset pressure value so that the pressure sensor is kept at the preset immersion depth of the water body to be measured.

[0054] In step 203, the intelligent control module can calculate the deviation between the real-time pressure data P_meas and the preset pressure value P_set of the pressure sensor at the preset immersion depth based on the real-time pressure data of the pressure sensor and the preset pressure value. Based on the sign and magnitude of the deviation, the intelligent control module sends corresponding control commands to the servo drive module, causing the servo control module to drive the slider support platform to move up or down on the guide rail structure, thereby moving the pressure sensor up or down (i.e. adjusting the position of the pressure sensor) and reducing the deviation between the preset pressure value and the real-time pressure data of the pressure sensor.

[0055] Furthermore, through continuous control and adjustment by the intelligent control module, the high-precision, small-range pressure sensor can be kept at the preset immersion depth of the water body to be measured, ensuring that the high-precision, small-range pressure sensor always operates within the optimal pressure measurement range of its range.

[0056] Step 204: Obtain the first distance from the slider support platform to the second end of the guide rail structure.

[0057] In step 204, the intelligent control system can synchronously read the data from the high-precision position measurement module in real time to obtain the relative distance Z_slider between the bottom of the slider support platform and the bottom of the guide rail structure, which is the first distance from the slider support platform to the second end of the guide rail structure.

[0058] Step 205: Obtain the water level of the water body to be measured based on the preset immersion depth, preset vertical height, preset inclination slope, and first distance.

[0059] In step 205, the intelligent control module can calculate the water level height H_water based on the preset immersion depth h_set, preset vertical height h0, preset inclination slope i, and first distance Z_slider.

[0060] In some embodiments of this application, determining the water level of the water body to be measured based on the preset immersion depth, preset inclination slope, preset vertical height, and first distance includes: Sub-step 21: Determine the first vertical height based on the preset inclination slope and the first distance.

[0061] In sub-step 21, combined with Figure 1 The relationship between the tilt angle A of the guide rail and the preset tilt slope can be i=tan(A). Therefore, the first vertical height h_slider can be determined based on the preset tilt slope i and the first distance Z_slider.

[0062] Specifically, it can be calculated using the formula h_slider=Z_slider*sin[arctan(i)].

[0063] Sub-step 22: Add the first vertical height, the preset immersion depth, and the preset vertical height to obtain the water level height of the water body to be measured.

[0064] In sub-step 22, the first vertical height, the preset immersion depth, and the preset vertical height are added together to obtain the water level of the water body to be measured. Specifically, this can be calculated using the formula H_water = h0 + h_slider + h_set.

[0065] As an example, in a practical application, suppose we need to monitor a reservoir with a maximum water level change of 100 meters, requiring a measurement accuracy of ±1 mm.

[0066] For the guide rail structure, a rigid guide rail with a length of 110 meters can be installed in the reservoir. The bottom (second end) of the rigid guide rail can be fixed below the lowest water level of the reservoir, and the top (first end) can be fixed above the highest water level of the reservoir, so that the guide rail structure can cover the range of water level changes in the reservoir. The bottom of the guide rail is installed at a predetermined vertical distance h0 = 50m from the bottom of the reservoir through precise measurement. The top of the guide rail structure is fixedly installed on the structure, and the guide rail structure is installed according to a predetermined inclination slope i = 1:2.

[0067] For the servo drive module, an IP67 protection-rated servo motor can be selected, paired with a precision ball screw or rack and pinion structure, to drive the sliding load platform to move on the guide rail structure.

[0068] For the position measurement module, a magnetic scale system with a resolution of 0.1 mm can be installed along the entire length of the guide rail structure.

[0069] For pressure sensors, a range of 0~0.02MPa and an accuracy of ±0.05%FS (i.e., ±1×) can be selected. A high-stability diffused silicon pressure sensor with a pressure rating of MPa.

[0070] For the intelligent control module, an embedded industrial controller (PLC or dedicated circuit) can be used, and a preset pressure value P_set = 0.005 MPa can be set, and the corresponding preset immersion depth h_set = 0.5m can be calculated.

[0071] After the device starts operating, the intelligent control module controls the servo drive module to move the slider support platform along the rigid guide rail until the pressure sensor reading reaches 0.005 MPa. Thereafter, regardless of water level changes, the intelligent control module dynamically adjusts the position of the slider support platform through closed-loop control to keep the pressure value stable near the preset value. The closed-loop control can employ a PID algorithm (Proportional-Integral-Derivative Control Algorithm).

[0072] At this point, the intelligent control module reads the data from the magnetic scale system (i.e., the data from the position measurement module). Assuming Z_slider = 155.325 meters, the current water level H_water of the reservoir can be calculated as follows: H_water=h0+Z_slider*sin[arctan(i)]+h_set=119.963m Moreover, since the resolution of the magnetic scale subsystem is 0.1mm, the absolute error of the pressure sensor at this position is much less than 1mm. Therefore, the accuracy of the water level height obtained by the intelligent control unit can easily reach the millimeter level.

[0073] In embodiments of the present invention, by acquiring a preset vertical height, a preset tilt slope, a preset pressure value, and real-time pressure data from a pressure sensor, a preset immersion depth corresponding to the preset pressure value is obtained. Based on the real-time pressure data and the preset pressure value, the position of the pressure sensor is adjusted so that it remains at the preset immersion depth of the water body to be measured. A first distance from the slider support platform to the second end of the guide rail structure is obtained. Based on the preset immersion depth, preset vertical height, preset tilt slope, and the first distance, the water level of the water body to be measured is obtained. On one hand, this allows the pressure sensor to always operate within a fixed, optimal micro-pressure range, greatly reducing the impact of temperature drift, nonlinear errors, etc., and its long-term stability is far superior to that of a fixed-installation large-range pressure sensor. On the other hand, by maintaining the pressure sensor at a fixed preset pressure value at a certain depth below the water surface, the direct influence of water surface waves and foam can be effectively avoided, resulting in more stable measurement results.

[0074] Furthermore, by separating the large-range measurement task (completed by the guide rail structure and position measurement module) from the high-precision measurement task (completed by the small-range pressure sensor), the overall accuracy is determined by the extremely high-resolution position measurement module and the extremely high-precision small-range pressure sensor, thereby achieving millimeter-level or even sub-millimeter-level measurement accuracy.

[0075] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0076] The water level monitoring device in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs), etc., while non-mobile electronic devices can be servers, network-attached storage (NAS), personal computers (PCs), televisions (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.

[0077] One water level monitoring device in this application embodiment can be a device with an operating system. The operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system.

[0078] The water level monitoring device provided in this application embodiment can achieve... Figure 2 The various processes implemented by the water level monitoring method in the method embodiment are not described in detail here to avoid repetition.

[0079] In an embodiment of the present invention, a water level monitoring device is provided. The device includes: a guide rail structure set on a water body to be measured according to a preset inclination slope; a slider support platform slidably installed on the guide rail structure; a pressure sensor fixedly installed on the slider support platform; a servo drive module; a position measurement module; and an intelligent control module. The first end of the guide rail structure is located above the water body to be measured, and the second end of the guide rail structure is fixedly installed at a position at a preset vertical height from the bottom of the water body to be measured. The servo drive module is used to drive the slider support platform to move along the guide rail structure. The position measurement module is used to measure a first distance from the slider support platform to the second end of the guide rail structure. The intelligent control module is used to control the servo drive module based on the pressure data of the pressure sensor, so that the pressure sensor is kept at a preset immersion depth of the water body to be measured, and to calculate the water level height of the water body to be measured according to the preset inclination slope, the first distance, the preset vertical height, and the preset immersion depth.

[0080] This approach ensures that the pressure sensor always operates within a fixed, optimal micro-pressure range, significantly reducing the impact of temperature drift and nonlinear errors, resulting in long-term stability far superior to fixed-installation, large-range pressure sensors. Furthermore, by maintaining the pressure sensor at a fixed preset pressure value at a certain depth below the water surface, the direct influence of surface waves and foam is effectively avoided, leading to more stable measurement results.

[0081] Optionally, this application embodiment also provides an electronic device, including a processor 310, a memory 309, and a program or instructions stored in the memory 309 and executable on the processor 310. When the program or instructions are executed by the processor 310, they implement the various processes of the above-described water level monitoring method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0082] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0083] Figure 3 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application. The electronic device 300 includes, but is not limited to, components such as: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, and a processor 310. The user input unit 307 includes a touch panel 3071 and other input devices 3072; the display unit 306 includes a display panel 3061; and the input unit includes a graphics processor 3041 and a microphone 3042.

[0084] Those skilled in the art will understand that the electronic device 300 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 310 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 3 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here. This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described water level monitoring method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0085] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0086] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described water level monitoring method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0087] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0088] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed above, but may also include performing functions substantially simultaneously or in the reverse order, for example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0089] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0090] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0091] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A water level monitoring device, characterized in that, The device includes: a guide rail structure set on the water body to be tested according to a preset inclination slope, a slider bearing platform slidably installed on the guide rail structure, a pressure sensor fixedly installed on the slider bearing platform, as well as a servo drive module, a position measurement module and an intelligent control module; The first end of the guide rail structure is positioned above the water body to be tested, and the second end of the guide rail structure is fixedly installed at a predetermined vertical height from the bottom of the water body to be tested. The servo drive module is used to drive the slider support platform to move along the guide rail structure; The position measurement module is used to measure the first distance from the slider support platform to the second end of the guide rail structure; The intelligent control module is used to control the servo drive module based on the real-time pressure data of the pressure sensor, so that the pressure sensor maintains a preset pressure value in the water body to be measured, and calculates the water level height of the water body to be measured according to the preset inclination slope, the first distance, the preset vertical height and the preset pressure value.

2. The apparatus according to claim 1, characterized in that, The first end of the guide rail structure is fixedly installed on the structure above the water body to be tested, and the servo drive module is fixedly installed on the part of the guide rail structure located above the water body to be tested.

3. The apparatus according to claim 1, characterized in that, The position measurement module is fixedly installed on the guide rail structure, and the position measurement module is one of the following: Magnetic scale system, optical scale system.

4. The apparatus according to any one of claims 1-3, characterized in that, The device Also includes: A ventilation cable is provided, which is connected to the pressure sensor, to lead the reference end of the pressure sensor to the target atmospheric environment in order to eliminate measurement errors caused by atmospheric pressure fluctuations.

5. The apparatus according to any one of claims 1-3, characterized in that, The pressure sensor is aligned with the end of the slider support platform facing the bottom of the water body being tested.

6. The apparatus according to any one of claims 1-3, characterized in that, The intelligent control module is electrically connected to the servo drive module, the position measurement module, and the pressure sensor.

7. A water level monitoring method using the water level monitoring device as described in any one of claims 1-6, characterized in that, The method includes: Acquire the preset vertical height, preset inclination slope, preset pressure value, and real-time pressure data from the pressure sensor; Obtain the preset immersion depth corresponding to the preset pressure value; Based on the real-time pressure data and the preset pressure value, the position of the pressure sensor is adjusted so that the pressure sensor is kept at the preset immersion depth of the water body to be tested; Obtain the first distance from the slider support platform to the second end of the guide rail structure; The water level of the water body to be measured is obtained based on the preset immersion depth, preset vertical height, preset slope, and first distance.

8. The method according to claim 7, characterized in that, The water level of the water body to be measured is determined based on the preset immersion depth, preset slope, preset vertical height, and first distance, including: The first vertical height is determined based on the preset slope and the first distance; The water level of the water body to be measured is obtained by adding the first vertical height, the preset immersion depth, and the preset vertical height.

9. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the water level monitoring method as described in claim 7.

10. A readable storage medium, characterized in that, A computer program is stored on the readable storage medium, which, when executed by a processor, implements the water level monitoring method as described in claim 7.