Self-adaptive adjustment method and system for installation height of water gauge

By building a high-precision laser ranging sensor in the intelligent water ruler and adopting an adaptive calibration algorithm to automatically measure and correct the water level base value, the problems of inconvenient operation, low installation efficiency, large measurement errors and human input errors in the existing technology are solved, and high-precision and efficient water level detection are achieved.

CN120027890APending Publication Date: 2025-05-23CHINA NANHU ACAD OF ELECTRONICS & INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311564769.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing water level detection technology requires external measuring instruments and manual measurement, which has problems such as inconvenient operation, low installation efficiency, large measurement errors and human input errors.

Method used

A high-precision laser ranging sensor is built in the intelligent water ruler, and an adaptive calibration algorithm is used to automatically measure and correct the water base value, replacing external measuring instruments and manual measurements.

Benefits of technology

It realizes automatic measurement and correction of high-precision water level base values, solves the problems of inconvenient operation, low installation efficiency, large measurement errors and human input errors, and improves the accuracy and efficiency of water level detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120027890A_ABST
    Figure CN120027890A_ABST
Patent Text Reader

Abstract

The invention provides a water gauge installation height self-adaptive adjustment method and system, and belongs to the technical field of water level detection. The high-precision laser distance measuring sensor is arranged in the intelligent water gauge, an external measuring instrument and work of manual measurement and water level base value input are replaced through a self-adaptive calibration algorithm, the water level base value is automatically measured and corrected, and the problems that operation is inconvenient, the engineering installation efficiency is low, the measurement error is large, and manual input errors exist are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of water level detection, and in particular relates to a method and system for adaptively adjusting the installation height of a water gauge. Background Art

[0002] In water conservancy and municipal engineering, the water level value of water level detection is generally composed of the instrument measurement value of the water level measuring instrument and the water level base value. In the prior art, after the water level measuring instrument is installed, a distance measuring instrument (such as a tape measure) is used to manually measure the installation height of the water level measuring instrument, which is then input into the electronic water gauge as the water level base value. The electronic water gauge calculates the water level value in the actual installation environment based on its own measurement value and the manually input water level base value.

[0003] The existing technology requires the use of external measuring instruments, which has the disadvantages of inconvenient operation and low installation efficiency; during the manual measurement process, the readings have large measurement errors; during the manual input of measurement results, there is a probability of human input errors. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a method and system for adaptively adjusting the installation height of a water gauge.

[0005] A first aspect of the present invention discloses a method for adaptively adjusting the installation height of a water gauge, the method comprising:

[0006] Step S1, installing the distance measuring sensor at the bottom of the smart water gauge and communicating with the microprocessor of the smart water gauge;

[0007] Step S2, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an adaptive calibration algorithm to calculate the installation height value within the installation height range, and uses it as the water level base value.

[0008] In step S1, the distance measuring sensor uses a sensor component with a measuring range covering 5-20 cm.

[0009] In the step S1, the distance measuring sensor is one of an ultrasonic distance measuring sensor, a laser distance measuring sensor, an infrared distance measuring sensor, and a millimeter wave radar sensor.

[0010] In step S1, the distance measuring sensor is a laser distance measuring sensor, and a dustproof glass sheet is arranged at the bottom of the smart water gauge. The dustproof glass sheet seals the laser distance measuring sensor at the bottom of the smart water gauge, and the laser of the laser distance measuring sensor can be emitted through the dustproof glass sheet.

[0011] The step S2 specifically includes:

[0012] S21, the microprocessor sets the measurement mode to the middle distance measurement mode, and sets the middle distance calibration value;

[0013] S22, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an average value filtering algorithm to calculate the measured value to obtain the installation height value;

[0014] S23, comparing the installation height value with the mid-distance calibration value to determine whether the installation height value is within the mid-distance measurement range;

[0015] S24: If the judgment result is yes, the installation height value is stored as the water level base value.

[0016] If the judgment result is no, the step S2 further includes:

[0017] S25, the microprocessor sets the measurement mode to the short-distance measurement mode and sets the short-distance calibration value;

[0018] S26, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an average value filtering algorithm to calculate the measured value to obtain the installation height value;

[0019] S27, comparing the installation height value with the short-distance calibration value to determine whether the installation height value is within the short-distance measurement range;

[0020] S28: If the judgment result is yes, the installation height value is stored as the water level base value.

[0021] If the installation height value is not within the short distance measurement range, it indicates that an error has occurred in the distance measurement.

[0022] The second aspect of the present invention discloses a water gauge installation height adaptive adjustment system, the system comprises a distance measuring sensor and an intelligent water gauge; wherein:

[0023] The distance measuring sensor is installed at the bottom of the intelligent water gauge and is connected to the microprocessor of the intelligent water gauge for communication;

[0024] The microprocessor controls the distance measuring sensor to perform multiple measurements and uses an adaptive calibration algorithm to calculate the installation height value within the installation height range and use it as the water level base value.

[0025] The third aspect of the present invention discloses an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods for adaptively adjusting the installation height of a water gauge in the first aspect of the present disclosure are implemented.

[0026] The fourth aspect of the present invention discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods for adaptively adjusting the installation height of a water gauge in the first aspect of the present disclosure are implemented.

[0027] In summary, the solution proposed in the present invention has the following technical effects: the present invention adopts a high-precision laser distance measurement sensor built into the intelligent water gauge, and through an adaptive calibration algorithm, replaces the work of external measuring instruments and manual measurement and input of water level base values, automatically measures and corrects the water level base value, and solves the problems of inconvenient operation, low engineering installation efficiency, large measurement errors, and human input errors. Specifically,

[0028] 1. Built-in high-precision distance measuring sensor, replacing external measuring instruments, to solve the problem of large measurement errors in existing technologies;

[0029] 2. The microprocessor of the intelligent water gauge automatically measures and stores the base value of the water level, eliminating the manual operation link, and solving the problems of inconvenient operation and low efficiency of engineering installation;

[0030] 3. The adaptive calibration algorithm eliminates various influences caused by manual measurement, solves the problems of manual input of water level base value errors and erroneous values, and ensures the stability of the water level base value. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 It is a flow chart of a method for adaptively adjusting the installation height of a water gauge according to an embodiment of the present invention;

[0033] Figure 2 The figure is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0035] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first image may be referred to as a second image, and similarly, a second image may be referred to as a first image without departing from the scope of this application. Both the first image and the second image are images, but they are not the same image.

[0036] In the prior art, when commonly used water level measuring instruments are installed and applied in actual projects, the water level base value is usually measured and input manually according to the installation position of the water level measuring instrument. This method has the disadvantages of inconvenient operation and low installation efficiency, and the manual measurement and input process may cause measurement errors due to human errors. Therefore, the present invention intends to use a high-precision laser ranging sensor in the intelligent water gauge, and automatically measure and correct the water level base value according to the changes in the installation position and environment through an adaptive calibration algorithm.

[0037] See also Figure 1 , as a first aspect of the present invention, a method for adaptively adjusting the installation height of a water gauge is disclosed, the method comprising:

[0038] Step S1, install the distance measuring sensor at the bottom of the smart water gauge and connect it to the microprocessor of the smart water gauge; the microprocessor can be an electronic device with computing capability. The structure of the electronic device will be described in detail later and will not be repeated here.

[0039] In step S1, the microprocessor can control the power supply of the laser distance sensor and configure and read the register of the laser distance sensor.

[0040] In step S1, the distance measuring sensor uses a high-precision sensor component with a range of 5-20 cm. The distance measuring sensor uses one of an ultrasonic distance measuring sensor, a laser distance measuring sensor, an infrared distance measuring sensor, and a millimeter wave radar sensor.

[0041] In step S1, when the distance measuring sensor adopts a laser distance measuring sensor, a dustproof glass sheet is arranged at the bottom of the smart water gauge, the dustproof glass sheet seals the laser distance measuring sensor at the bottom of the smart water gauge, and the laser of the laser distance measuring sensor can be emitted through the dustproof glass sheet.

[0042] Step S2, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an adaptive calibration algorithm to calculate the installation height value within the installation height range, and uses it as the water level base value.

[0043] The step S2 specifically includes:

[0044] S21, the microprocessor sets the measurement mode to the middle distance measurement mode, and sets the middle distance calibration value;

[0045] S22, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an average value filtering algorithm to calculate the measured value to obtain the installation height value;

[0046] S23, comparing the installation height value with the mid-distance calibration value to determine whether the installation height value is within the mid-distance measurement range;

[0047] S24: If the judgment result is yes, the installation height value is stored as the water level base value.

[0048] If the judgment result is no, the step S2 further includes:

[0049] S25, the microprocessor sets the measurement mode to the short-distance measurement mode and sets the short-distance calibration value;

[0050] S26, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an average value filtering algorithm to calculate the measured value to obtain the installation height value;

[0051] S27, comparing the installation height value with the short-distance calibration value to determine whether the installation height value is within the short-distance measurement range;

[0052] S28: If the judgment result is yes, the installation height value is stored as the water level base value.

[0053] In this step, when the water level base value is detected, it can be saved in the microprocessor. When the platform queries the water level base value, the intelligent water gauge reports the water level base value.

[0054] If the installation height value is not within the short distance measurement range, it indicates that an error has occurred in the distance measurement.

[0055] In this step, an indicator light, beep, voice prompt or other prompting method can be used to prompt that an error has occurred in the distance measurement. When an error has occurred in the measurement, the water level base value can be modified through the platform, and the smart water gauge can modify and store the water level base value.

[0056] The second aspect of the present invention discloses a water gauge installation height adaptive adjustment system, the system comprises a distance measuring sensor and an intelligent water gauge; wherein:

[0057] The distance measuring sensor is installed at the bottom of the intelligent water gauge and is connected to the microprocessor of the intelligent water gauge for communication;

[0058] The microprocessor controls the distance measuring sensor to perform multiple measurements and uses an adaptive calibration algorithm to calculate the installation height value within the installation height range and use it as the water level base value.

[0059] The microprocessor can control the power supply of the laser distance sensor. The microprocessor configures and reads the register of the laser distance sensor. The distance sensor adopts a high-precision sensor component with a range covering 5-20cm. The distance sensor adopts one of an ultrasonic distance sensor, a laser distance sensor, an infrared distance sensor, and a millimeter wave radar sensor. When the distance sensor adopts a laser distance sensor, a dustproof glass sheet is provided at the bottom of the intelligent water gauge, and the dustproof glass sheet seals the laser distance sensor at the bottom of the intelligent water gauge, and the laser of the laser distance sensor can be emitted through the dustproof glass sheet.

[0060] The third aspect of the present invention discloses an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods for adaptively adjusting the installation height of a water gauge in the first aspect of the present disclosure are implemented.

[0061] Figure 2 is a structural diagram of an electronic device according to an embodiment of the present invention, such as Figure 2 As shown, the electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, a trackball or a touch pad set on the housing of the electronic device, or an external keyboard, touch pad or mouse, etc.

[0062] Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a structural diagram of the part related to the technical solution of the present disclosure, and does not constitute a limitation on the electronic device to which the technical solution of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0063] The fourth aspect of the present invention discloses a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in any one of the steps in the method for adaptively adjusting the installation height of a water gauge in the first aspect of the present disclosure.

[0064] In summary, the solution proposed in the present invention has the following technical effects: the present invention adopts a high-precision laser distance measurement sensor built into the intelligent water gauge, and through an adaptive calibration algorithm, replaces the work of external measuring instruments and manual measurement and input of water level base values, automatically measures and corrects the water level base value, and solves the problems of inconvenient operation, low engineering installation efficiency, large measurement errors, and human input errors. Specifically,

[0065] 1. Built-in high-precision distance measuring sensor, replacing external measuring instruments, to solve the problem of large measurement errors in existing technologies;

[0066] 2. The microprocessor of the intelligent water gauge automatically measures and stores the base value of the water level, eliminating the manual operation link, and solving the problems of inconvenient operation and low efficiency of engineering installation;

[0067] 3. Adaptive calibration algorithm eliminates various influences caused by manual measurement, solves the problem of manual input of water level base value errors and erroneous values, and ensures the stability of the water level base value. The third aspect of the present invention discloses an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, it implements the steps of any one of the first aspects of the present disclosure in a method for designing a fixed plane shape waverider using a direct shock wave external flow field.

[0068] Please note that the technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification. The above embodiments only express several implementation methods of the present application, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several variations and improvements can be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the patent in this application shall be based on the attached claims.

Claims

1. A method for adaptively adjusting the installation height of a water gauge. It is characterized in that The method comprises: Step S1, installing the distance measuring sensor at the bottom of the smart water gauge and communicating with the microprocessor of the smart water gauge; Step S2, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an adaptive calibration algorithm to calculate the installation height value within the installation height range, and uses it as the water level base value.

2. The method according to claim 1, It is characterized in that In step S1, the distance measuring sensor uses a sensor component with a measuring range covering 5-20 cm.

3. The method according to claim 1, It is characterized in that In the step S1, the distance measuring sensor is one of an ultrasonic distance measuring sensor, a laser distance measuring sensor, an infrared distance measuring sensor, and a millimeter wave radar sensor.

4. The method according to claim 3, It is characterized in that In step S1, the distance measuring sensor is a laser distance measuring sensor, and a dustproof glass sheet is arranged at the bottom of the smart water gauge. The dustproof glass sheet seals the laser distance measuring sensor at the bottom of the smart water gauge, and the laser of the laser distance measuring sensor can be emitted through the dustproof glass sheet.

5. The method according to claim 1, It is characterized in that The step S2 specifically includes: S21, the microprocessor sets the measurement mode to the middle distance measurement mode, and sets the middle distance calibration value; S22, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an average value filtering algorithm to calculate the measured value to obtain the installation height value; S23, comparing the installation height value with the mid-distance calibration value to determine whether the installation height value is within the mid-distance measurement range; S24: If the judgment result is yes, the installation height value is stored as the water level base value.

6. The method according to claim 5, It is characterized in that If the judgment result is no, the step S2 further includes: S25, the microprocessor sets the measurement mode to the short-distance measurement mode and sets the short-distance calibration value; S26, the microprocessor controls the distance measuring sensor to perform multiple measurements, and uses an average value filtering algorithm to calculate the measured value to obtain the installation height value; S27, comparing the installation height value with the short-distance calibration value to determine whether the installation height value is within the short-distance measurement range; S28: If the judgment result is yes, the installation height value is stored as the water level base value.

7. The method according to claim 6, It is characterized in that If the installation height value is not within the short distance measurement range, it indicates that an error has occurred in the distance measurement.

8. A water gauge installation height adaptive adjustment system, It is characterized in that The system includes a distance measuring sensor and an intelligent water gauge; wherein, The distance measuring sensor is installed at the bottom of the intelligent water gauge and is connected to the microprocessor of the intelligent water gauge for communication; The microprocessor controls the distance measuring sensor to perform multiple measurements and uses an adaptive calibration algorithm to calculate the installation height value within the installation height range and use it as the water level base value.

9. An electronic device, It is characterized in that The electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps in the method for adaptively adjusting the installation height of a water gauge according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the method for adaptively adjusting the installation height of a water gauge according to any one of claims 1 to 7 are implemented.