Sewer low-power-consumption liquid level distance measurement method, device and program product

By using pulse coherent millimeter wave radar and sorting algorithm in sewer level measurement, the problems of poor real-time data and high power consumption in traditional methods are solved, and high-precision and low-power level measurement are achieved, suitable for urban drainage systems. intelligent management.

CN119085791APending Publication Date: 2024-12-06XIAMEN MILESIGHT IOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411092845.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In sewer level measurement, traditional methods have poor real-time performance of measurement data and large power consumption of equipment due to environmental specialization. Especially when the reflected signal of the object to be measured is weak, measurement deviations or the problem of inability to measure the target is prone to occur.

Method used

Using pulse coherent millimeter wave radar equipment combined with the strongest signal sorting method or the nearest target sorting method, by calculating the deviation value of the target distance value, selecting the minimum deviation value as the real target, storing its distance value, and re-acquisitioning data if necessary, using Acquire data at regular intervals to reduce power consumption and enable low-power level measurement.

Benefits of technology

High-precision and stable liquid level measurement are achieved in the sewer environment, reducing equipment power consumption, improving real-time performance of measurement data, and providing technical support for the intelligent management of urban drainage systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119085791A_ABST
    Figure CN119085791A_ABST
Patent Text Reader

Abstract

The invention provides a sewer low-power-consumption liquid level distance measurement method and device and a program product. The method comprises the steps that sewer liquid level distance measurement data are obtained through selected pulse coherent millimeter wave radar equipment; sorting the sewer liquid level distance measurement data through a selected sorting algorithm to obtain a first target group; a preset number of targets are taken out from front to back according to the sequence of the targets in the first target group to serve as a second target group; calculating a deviation value between the distance value of each target in the second target group and the distance value of the last real target, and comparing the deviation value of each target in the second target group to obtain a minimum deviation value; and selecting a real target in the second target group according to a data recollection mechanism and the minimum deviation value, and storing a distance value of the real target. By means of the technical scheme, high-precision liquid level measurement can be kept, the equipment power consumption is greatly reduced, and the real-time effectiveness of measured data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of liquid level measurement, and in particular to a method, a device and a program product for low-power consumption liquid level distance measurement in a sewer. Background Art

[0002] In the field of liquid level measurement, especially in sewer monitoring, traditional measurement methods face many challenges. Due to the special environment of the sewer, the equipment usually needs to be installed under the manhole cover. The object to be measured is liquid and contains impurities. The liquid level may also fluctuate violently, so there are multiple echoes. When the reflected signal of the object to be measured is weak, there will be problems such as the target cannot be measured or the measured target has a large deviation. The current solution is to use the mean method to measure the target. Although this method can suppress secondary echoes to a certain extent, due to the particularity of the sewer scene, this method often leads to poor real-time data and high power consumption of the equipment. Summary of the invention

[0003] The embodiments of the present invention provide a method, device and program product for low-power consumption liquid level measurement in a sewer, aiming to significantly reduce the power consumption of equipment and improve the real-time validity of measurement data while maintaining high-precision liquid level measurement.

[0004] In order to achieve the above object, on the one hand, a method for low-power consumption liquid level ranging in a sewer is provided, the method comprising the following steps:

[0005] Obtain sewer level ranging data through selected pulse coherent millimeter wave radar equipment;

[0006] Sorting the sewer level ranging data by a selected sorting algorithm to obtain a first target group, wherein the sorting algorithm includes: a strongest signal sorting method or a nearest target sorting method;

[0007] According to the order of the targets in the first target group, a preset number of targets are taken out from the front to the back as the second target group;

[0008] Calculating the deviation between the distance value of each target in the second target group and the distance value of the last real target, and comparing the deviation value of each target in the second target group to obtain the minimum deviation value;

[0009] Determine whether the absolute value of the minimum deviation value is less than a preset threshold value; if so, store the distance value of the target to which the minimum deviation value belongs as the distance value of the current real target; if not, re-collect the sewer liquid level distance measurement data, and continue to determine whether the absolute value of the minimum deviation value of the re-collected sewer liquid level distance measurement data is greater than or equal to the preset threshold value. If the number of times the sewer liquid level distance measurement data is re-collected is greater than a preset first number threshold, store the distance value of the target to which the minimum deviation value obtained by the last calculation belongs as the distance value of the current real target.

[0010] Preferably, the method for low-power consumption sewer liquid level ranging further includes: when the acquired sewer liquid level ranging data is empty, re-collecting the sewer liquid level ranging data; if the number of times the re-collected sewer liquid level ranging data is empty is greater than a preset second number threshold, determining that the current target is in a blind spot or there is no target currently.

[0011] Preferably, the method for low-power consumption liquid level ranging in sewers also includes: using the radar device to continuously measure distance and calculating the minimum deviation value of the continuous ranging data; when the absolute value of the minimum deviation value of the continuous ranging data is greater than the preset threshold, reacquiring the sewer liquid level ranging data; when the absolute value of the minimum deviation value is continuously less than the preset threshold for a number of times equal to a predetermined third number threshold, taking the target to which the last calculated minimum deviation value belongs as the first real target, and storing the distance value of the first real target.

[0012] Preferably, the method for low-power sewer liquid level ranging, wherein the sewer liquid level ranging data is acquired regularly according to a preset time interval by a selected pulse coherent millimeter wave radar device.

[0013] Preferably, in the method for low-power sewer liquid level ranging, the strongest signal sorting method is: the targets in the first target group are arranged in order from large to small according to signal strength; the nearest target sorting method is: the targets in the first target group are arranged in order from small to large according to distance.

[0014] Preferably, in the method for measuring the distance between the sewer liquid level with low power consumption, the deviation between the distance value of the target in the second target group and the distance value of the last real target is calculated by the following formula:

[0015] (The distance value of the current target - the distance value of the last real target) / the distance value of the last real target.

[0016] Preferably, in the method for low-power consumption liquid level distance measurement in sewers, when the distance value of the current target is less than a preset distance threshold, it is determined that the current target is in a blind spot; when the distance value of the current target is greater than a preset measurement range, it is determined that no target exists at present.

[0017] Preferably, in the method for low-power sewer liquid level ranging, the selected pulse coherent millimeter wave radar device is a 60GHz PCR millimeter wave radar.

[0018] On the other hand, a device for low-power consumption liquid level measurement in a sewer is provided, which includes a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement the steps of any of the methods for low-power consumption liquid level measurement in a sewer as described above.

[0019] On the other hand, a computer program product comprises a computer program, wherein when the computer program is executed by a processor, the steps of any of the above methods for low-power consumption liquid level measurement in sewers are implemented.

[0020] The above technical solution has the following technical effects:

[0021] The technical solution of the embodiment of the present invention obtains sewer liquid level ranging data through a selected pulse coherent millimeter wave radar device such as a 60GHz pulse coherent millimeter wave radar, and sorts the obtained sewer liquid level ranging data according to the strongest signal sorting method or the nearest target sorting method to obtain a first target group; a preset number of targets are taken out from front to back according to the order of the targets in the first target group as the second target group; the deviation value between the distance value of each target in the second target group and the distance value of the last real target is calculated, and the deviation value of each target in the second target group is compared to obtain the minimum deviation value; the real target in the second target group is selected according to the data re-collection mechanism and the obtained minimum deviation value, and the distance value of the real target is stored; accurate, stable and low-consumption measurement of the liquid level in the sewer environment is realized, providing strong technical support for the intelligent management of the urban drainage system.

[0022] In a further embodiment, the millimeter-wave radar of the technical solution works in pulse form rather than continuous wave mode, so that extremely low power consumption can be achieved even in a relatively static environment such as a sewer; and periodic measurements are performed at pre-set time intervals rather than continuous monitoring, further reducing energy consumption; when the acquired target data is empty or a large deviation value appears for multiple consecutive times, the system will automatically re-collect data, thereby improving the stability and reliability of the system.

[0023] In a further embodiment, the adopted re-collection mechanism will report immediately as long as the current data meets all conditions, and will not continue to re-collect, which can greatly save the number of collection times and power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flow chart of a method for low-power consumption liquid level distance measurement in a sewer according to an embodiment of the present invention;

[0025] Figure 2 A schematic flow chart of a method for low-power consumption liquid level measurement in a sewer according to another embodiment of the present invention;

[0026] Figure 3 This is a diagram of a device for low-power consumption liquid level measurement in a sewer according to another embodiment of the present invention. DETAILED DESCRIPTION

[0027] To further illustrate the various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, a person of ordinary skill in the art should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0028] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.

[0029] Embodiment 1:

[0030] In order to achieve accurate, stable and low-power measurement of liquid level in a sewer environment and provide strong technical support for the intelligent management of urban drainage systems, this embodiment provides a method for low-power liquid level measurement in a sewer. Figure 1 FIG. 1 is a flow chart of the method for low-power consumption liquid level measurement in a sewer according to the present embodiment. Figure 1 As shown, the method comprises the following steps:

[0031] Obtain sewer level ranging data through selected pulse coherent millimeter wave radar equipment;

[0032] Sorting the sewer level ranging data by a selected sorting algorithm to obtain a first target group, wherein the sorting algorithm includes: a strongest signal sorting method or a nearest target sorting method;

[0033] According to the order of the targets in the first target group, a preset number of targets are taken out from the front to the back as the second target group;

[0034] Calculate the deviation between the distance value of each target in the second target group and the distance value of the last real target, and compare the deviation value of each target in the second target group to obtain the minimum deviation value;

[0035] Determine whether the absolute value of the minimum deviation value is less than a preset threshold value; if so, store the distance value of the target to which the minimum deviation value belongs as the distance value of the current true target; if not, re-collect the sewer liquid level distance measurement data, and continue to determine whether the absolute value of the minimum deviation value of the re-collected sewer liquid level distance measurement data is greater than or equal to the preset threshold value. If the number of times the sewer liquid level distance measurement data is re-collected is greater than the preset first number threshold, store the distance value of the target to which the minimum deviation value obtained by the last calculation belongs as the distance value of the current true target.

[0036] Embodiment 2:

[0037] Figure 2 FIG. 1 is a flow chart of a method for low-power consumption liquid level measurement in a sewer according to another embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0038] Step 1: Obtain sewer level ranging data through the selected pulse coherent millimeter wave radar device. Preferably, the pulse coherent millimeter wave radar device is a 60GHz PCR millimeter wave radar, because it is a pulsed FMCW radar, not a continuous FMCW radar, and the sewer scene rarely has a sudden change, so the overall power consumption of the radar can be very low.

[0039] In a specific implementation, the sewer level ranging data is acquired regularly according to a preset time interval by a selected pulse coherent millimeter wave radar device. Preferably, the preset time interval is 1 minute.

[0040] In a specific implementation, a radar device is used to continuously measure distance, and the minimum deviation value of the continuous distance measurement data is calculated; when the absolute value of the minimum deviation value of the continuous distance measurement data is greater than a preset threshold, the sewer level distance measurement data is reacquired; when the absolute value of the minimum deviation value is continuously less than the preset threshold for a predetermined number of times, the target to which the last calculated minimum deviation value belongs is taken as the first real target, and the distance value last_distance of the first real target is stored. Preferably, the threshold is 0.5 and the number of times is 5.

[0041] Step 2: sorting the sewer liquid level distance measurement data by a selected sorting algorithm to obtain a first target group, wherein the sorting algorithm is a strongest signal sorting method or a nearest target sorting method.

[0042] In a calm sewer environment, the signal strength of the primary echo is much higher than that of the secondary echo. The real target can be screened out and the secondary echo can be filtered out based on the signal strength. However, in a sewer with violent fluctuations and flows, there is a high probability that the signal of the secondary echo is stronger than the primary echo, resulting in an incorrect distance output. Preferably, the strongest signal sorting method is to arrange multiple target results obtained from a single distance measurement in descending order according to signal strength.

[0043] In a simple sewer environment, the measured liquid level is the target closest to the radar, and the distance of the secondary echo is twice the distance of the primary echo, so the secondary echo can be filtered according to the sorting of the nearest targets. However, in a complex sewer, when there are pipes and ladders in close proximity, it will be interfered by close objects, and when a large amount of water flows through the radar sensor on rainy days, it will also be interfered by close objects, resulting in the problem that the nearest target collected is not the measured liquid level. Preferably, the nearest target sorting method is to sort the multiple target results of a single ranging from small to large distances.

[0044] In a specific implementation, the radar device can output multiple targets in one ranging, including real targets, multiple echo targets, rain targets, or no targets can be detected. Preferably, a maximum of 8 targets can be output.

[0045] Step 3: Take out a preset number of targets from the front to the back according to the order of the targets in the first target group as the second target group.

[0046] Preferably, the first three targets are selected based on the multiple target results of a single ranging and the sorting method of the sorting algorithm.

[0047] Step 4: Calculate the deviation between the distance value of each target in the second target group and the distance value of the last real target, and compare the deviation value of each target in the second target group to obtain the minimum deviation value.

[0048] In the sewer scenario, because the measured liquid level will not change drastically in a short period of time, selecting the target with the smallest deviation can effectively filter out secondary echoes and close-range interferences.

[0049] Preferably, the deviation between the distance value of the target in the second target group and the distance value of the last real target is calculated by the following formula:

[0050] (The distance value of the current target - the distance value of the last real target) / the distance value of the last real target.

[0051] Step 5, determine whether the absolute value of the minimum deviation value is less than a preset threshold value, if yes, store the minimum deviation value as the distance value of the current real target; if no, proceed to step 6. Preferably, the threshold value is 0.5.

[0052] Step 6: Determine whether the number of times the absolute value of the minimum deviation value is greater than a preset threshold value is greater than the value of the preset first counting parameter according to the pre-stored first counting parameter. If so, store the minimum deviation value as the distance value of the current real target; if not, proceed to step 7. Preferably, the value of the first counting parameter is 5 times.

[0053] Step 7, increment the value of the first counting parameter, and reacquire the sewer liquid level distance measurement data, and determine whether the target in the sewer liquid level distance measurement data is empty, if not, proceed to step 2, if yes, proceed to step 8;

[0054] Step 8, judging whether the number of times the target in the sewer level distance measurement data is empty is greater than the preset value of the second counting parameter according to the pre-stored second counting parameter, if not, the value of the second counting parameter is incremented; if yes, it is confirmed that the current target is in the blind spot or there is no target at present. Preferably, the value of the second counting parameter is 5 times.

[0055] In a specific implementation, in a sewer scene, because the sewer environment is harsh and the rainwater well is affected by the fluctuation of turbulent water flow in rainy weather, during the collection process, if the absolute value of the deviation of the final result is greater than 0.5, it will be re-collected immediately and continue to determine whether the absolute value of the deviation is greater than 0.5. If the absolute value of the deviation of the re-collection 5 times is greater than 0.5, the distance value of the target collected last time is output.

[0056] In a specific implementation, in a sewer scene, because the sewer environment is harsh and the rainwater well is affected by the fluctuation of turbulent water flow in rainy weather. Therefore, during the collection process, if there is no target in the currently collected data, the data will be recollected immediately. If there is no target after recollecting 5 times, it is determined that the current target is in a blind spot or the current target is larger than the measurement range. Preferably, the blind spot is less than 20CM from the target. Preferably, the measurement range is 12m.

[0057] In a specific implementation, as long as the current target data meets all conditions, it will be reported immediately without further recollection, which can greatly save the number of collection times and power consumption, and further ensure the real-time and stability of the current data.

[0058] Through the technical solution of this embodiment, it is possible to significantly reduce the power consumption of radar equipment while maintaining high-precision liquid level measurement, further improving the real-time effectiveness of measurement data.

[0059] Embodiment three:

[0060] The present invention also provides a low-power consumption liquid level distance measuring device for a sewer, such as Figure 3 As shown, the device includes a processor 301, a memory 302, a bus 303, and a computer program stored in the memory 302 and executable on the processor 301. The processor 301 includes one or more processing cores. The memory 302 is connected to the processor 301 via the bus 303. The memory 302 is used to store program instructions. When the processor executes the computer program, the steps in the above method embodiment of the first embodiment of the present invention are implemented.

[0061] Further, as an executable solution, the device for low-power consumption liquid level ranging in sewers can be a computer unit, which can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The computer unit may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the composition structure of the above-mentioned computer unit is only an example of a computer unit and does not constitute a limitation on the computer unit. It may include more or less components than the above, or a combination of certain components, or different components. For example, the computer unit may also include input and output devices, network access devices, buses, etc., which are not limited in the embodiments of the present invention.

[0062] Further, as an executable solution, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the computer unit, and various interfaces and lines are used to connect the various parts of the entire computer unit.

[0063] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the computer unit by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0064] Embodiment 4:

[0065] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the method described above are implemented.

[0066] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.

Claims

1. A method for measuring the distance between liquid levels in a sewer with low power consumption, characterized in that: include: Obtain sewer level ranging data through selected pulse coherent millimeter wave radar equipment; Sorting the sewer level ranging data by a selected sorting algorithm to obtain a first target group, wherein the sorting algorithm includes: a strongest signal sorting method or a nearest target sorting method; According to the order of the targets in the first target group, a preset number of targets are taken out from the front to the back as the second target group; Calculating the deviation between the distance value of each target in the second target group and the distance value of the last real target, and comparing the deviation value of each target in the second target group to obtain the minimum deviation value; Determine whether the absolute value of the minimum deviation value is less than a preset threshold value; if so, store the distance value of the target to which the minimum deviation value belongs as the distance value of the current real target; if not, re-collect the sewer liquid level distance measurement data, and continue to determine whether the absolute value of the minimum deviation value of the re-collected sewer liquid level distance measurement data is greater than or equal to the preset threshold value. If the number of times the sewer liquid level distance measurement data is re-collected is greater than a preset first number threshold, store the distance value of the target to which the minimum deviation value obtained by the last calculation belongs as the distance value of the current real target.

2. The method for low-power consumption liquid level measurement in sewers according to claim 1 is characterized in that: Also includes: When the acquired sewer liquid level distance measurement data is empty, re-collecting the sewer liquid level distance measurement data; If the number of times that the re-collected sewer liquid level distance measurement data is empty is greater than a preset second number threshold, it is determined that the current target is in a blind spot or there is no target currently.

3. The method for low-power consumption liquid level measurement in sewers according to claim 1, characterized in that: Also includes: Continuously measure distance using the radar device, and calculate the minimum deviation value of the continuous distance measurement data; When the absolute value of the minimum deviation value of the continuous distance measurement data is greater than the preset threshold, the sewer liquid level distance measurement data is reacquired; when the absolute value of the minimum deviation value is continuously less than the preset threshold for a number of times equal to a predetermined third number threshold, the target to which the last calculated minimum deviation value belongs is taken as the first true target, and the distance value of the first true target is stored.

4. The method for measuring the distance between sewer liquid level with low power consumption according to claim 1, characterized in that: The sewer liquid level ranging data is acquired regularly according to a preset time interval through the selected pulse coherent millimeter wave radar equipment.

5. The method for measuring the distance between sewer liquid level with low power consumption according to claim 1, characterized in that: The strongest signal sorting method is: the targets in the first target group are arranged in descending order according to signal strength; The closest target sorting method is: the targets in the first target group are sorted in ascending order according to the distance.

6. The method for measuring the distance between sewer liquid level with low power consumption according to claim 1, characterized in that: The deviation between the distance value of the target in the second target group and the distance value of the last real target is calculated by the following formula: (The distance value of the current target - the distance value of the last real target) / the distance value of the last real target.

7. The method for measuring the distance between sewer liquid level with low power consumption according to claim 2, characterized in that: When the distance value of the current target is less than a preset distance threshold, it is determined that the current target is in a blind spot; When the distance value of the current target is greater than the preset measurement range, it is determined that there is no target currently.

8. The method for measuring the distance between sewer liquid level with low power consumption according to claim 1, characterized in that: The selected pulse coherent millimeter wave radar device is a 60GHz PCR millimeter wave radar.

9. A low-power consumption sewer level distance measuring device, characterized in that: It comprises a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement the steps of the method for low-power consumption liquid level ranging in a sewer as claimed in any one of claims 1 to 8.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method for low-power sewer liquid level distance measurement as claimed in any one of claims 1 to 8 are implemented.