CN-122016019-A - Intelligent water gauge self-adaptive calibration method, device and equipment
Abstract
The invention belongs to the technical field of water level detection and discloses an intelligent water gauge self-adaptive calibration method, device and equipment, wherein the method comprises the steps of acquiring a temperature sensitive interval according to a target range of a water gauge; the method comprises the steps of obtaining temperature and measured values of a water level stable continuous period as calibration reference temperature and initial installation reference values, obtaining actual measurement reference values at each actual measurement temperature by taking a plurality of temperatures covering a temperature sensitive section as actual measurement temperatures, fitting temperature correction coefficients based on offset of each actual measurement reference value relative to the initial installation reference value and temperature difference between each actual measurement temperature and the calibration reference temperature, obtaining current temperature, obtaining temperature correction coefficients based on the temperature correction coefficients and temperature difference between the current temperature and the calibration reference temperature, and obtaining initial calibration reference values based on the initial installation reference values. According to the invention, by fitting the influence caused by the temperature difference, the reference drift related to the temperature is restrained from the source, and the consistency of the measurement result and the real water level is ensured.
Inventors
- Shang Shoubo
- XU TONGMING
- LIN YONGWEN
- LI BOZHAO
- LAN YUNZHOU
- ZHOU JIANHUI
- JING KUN
Assignees
- 浪潮通用软件有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260104
Claims (10)
- 1. The intelligent water gauge self-adaptive calibration method is characterized by comprising the following steps of: Acquiring a temperature sensitive interval according to a target range of the water gauge; acquiring a plurality of groups of temperatures and measured values of a water level stabilizing continuous period, taking the average value of the measured values as an initial installation reference value, and taking the average value of the temperatures as a calibration reference temperature; Taking a plurality of temperatures covering the temperature sensitive interval as actual measurement temperatures, and acquiring corresponding measurement values at each actual measurement temperature as actual measurement reference values; Fitting the temperature correction coefficient based on the offset of each measured reference value relative to the initial installation reference value and the temperature difference between each measured temperature and the calibration reference temperature; the method comprises the steps of obtaining the current temperature, calibrating and obtaining an initial calibration reference value based on the temperature correction coefficient and the temperature difference between the current temperature and the calibration reference temperature and based on the initial installation reference value.
- 2. The intelligent water gauge self-adaptive calibration method according to claim 1, wherein the current temperature and the current measured value are obtained, the deviation of the theoretical reference value at the current temperature relative to the temperature calibration reference value at the previous time is calculated according to the temperature correction coefficient based on the temperature calibration reference value at the previous time, and the temperature calibration reference value at the current time is obtained.
- 3. The intelligent water gauge self-adaptive calibration method according to claim 1, wherein fitting the temperature correction coefficient is based on a reference value calibration model, the reference value calibration model is based on an initial installation reference value, and a correction term is built according to the temperature difference between each measured temperature and a calibration reference temperature; the correction term is a linear correction term, the linear correction term is the product of a temperature correction coefficient and a temperature difference, or, The linear correction term is the product of a linear temperature correction coefficient and a temperature difference, and the nonlinear correction term is the product of a nonlinear temperature correction coefficient and a square of the temperature difference.
- 4. The intelligent water gauge self-adaptive calibration method according to claim 3, wherein the correction term further comprises a thermal expansion coupling correction term, which is the product of the thermal expansion coefficient difference, the temperature difference and the target measuring range of the laser module and the water gauge shell.
- 5. The intelligent water gauge self-adaptive calibration method according to claim 3 or 4, wherein the offset of the theoretical reference value relative to the temperature calibration reference value at the previous moment in the current temperature is obtained according to the product of the correction term and the temperature calibration reference value at the previous moment, and the temperature calibration reference value at the current moment is obtained by making the difference between the current measured value and the offset.
- 6. The intelligent water gauge self-adaptive calibration method according to claim 2, wherein after the current temperature and the current measured value are obtained, whether the current measured value is abnormal is further judged, if not, the measured value is valid, and if so, an average value of the measured values at a plurality of previous moments is adopted to replace the current measured value.
- 7. The adaptive calibration method of an intelligent water gauge according to claim 2, wherein after obtaining the temperature calibration reference value at the current time, the method determines whether there is a physical shift by comparing the mean value and standard deviation of the temperature calibration reference value at the current time with the mean value and standard deviation of the temperature calibration reference value at the previous time with a set period, and if there is a physical shift, the method corrects the initial installation reference value based on the shift correction coefficient to obtain a new installation reference value, and performs a physical shift correction on the temperature calibration reference value at the current time based on the shift between the initial installation reference value and the new installation reference value to obtain the temperature-shift calibration reference value.
- 8. The intelligent water gauge self-adaptive calibration method according to claim 7, wherein the standard deviation of a plurality of temperature-offset calibration reference values in the observation period is recorded as actual noise by taking the set time length as the observation period, and the covariance of the observation noise is self-adaptively adjusted according to the actual noise of the current period and a short Cheng Zaosheng calibration threshold; Based on the coupling compensation coefficient and the temperature compensation coefficient, the noise calibration reference value is corrected by combining the temperature difference between the current temperature and the calibration reference temperature and the noise difference between the current period and the previous period, and the corrected noise calibration reference value and the temperature-offset calibration reference value are used for calculating the actual water level.
- 9. An intelligent water gauge self-adaptive calibration device is characterized in that, The initial parameter matching module is configured to acquire a temperature sensitive interval according to the target range of the water gauge; the initial reference calibration module is configured to acquire a plurality of groups of temperatures and measured values in a continuous period of water level stabilization, and takes the average value of the measured values as an initial installation reference value and the average value of the temperatures as a calibration reference temperature; The training data acquisition module is configured to take a plurality of temperatures covering the temperature sensitive section as measured temperatures, and acquire corresponding measured values at each measured temperature as measured reference values; A correction parameter fitting module configured to fit a temperature correction coefficient based on an offset of each measured reference value relative to the initial installation reference value and a temperature difference between each measured temperature and the calibration reference temperature; The initial reference calibration module is configured to acquire the current temperature, calibrate and obtain an initial calibration reference value based on the initial installation reference value based on the temperature correction coefficient and the temperature difference between the current temperature and the calibration reference temperature.
- 10. An electronic device comprising a processor and a memory having stored thereon computer instructions that, when executed by the processor, cause the electronic device to perform the method of any of claims 1 to 8.
Description
Intelligent water gauge self-adaptive calibration method, device and equipment Technical Field The invention belongs to the technical field of water level detection, and particularly relates to an intelligent water gauge self-adaptive calibration method, device and equipment. Background The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. In the scenes such as water conservancy monitoring, industrial production, urban pipe network operation and maintenance, intelligent water gauge is as digital water level measurement equipment, replaces traditional mechanical water gauge gradually, and its measurement accuracy directly depends on the reliability of calibration link, and intelligent water gauge calibrates to through parameter calibration and error correction, establishes stable measurement benchmark's process for offset that environmental disturbance and equipment self characteristic brought. In the prior art, the calibration of the intelligent water gauge is concentrated in the installation stage, and usually, the calibration modes such as repeated measurement, average value taking and the like are adopted, so that the initial installation reference value can be initially established, and the basic measurement requirement is met. However, core components such as a laser module of the intelligent water gauge and a water gauge shell have thermal expansion and contraction characteristics, and the thermal expansion coefficients of the laser module and the water gauge shell are different, and the environmental temperature change can cause fine deviation of the size and the installation posture of the components, so that measurement reference drift is caused, and the duty ratio of the temperature-related errors can be remarkably amplified particularly in a short-range scene, so that the reliability of a measurement result is directly influenced. In addition, due to the influence of temperature on a measurement result, reference drift can be caused by environmental temperature change in subsequent measurement, and although the calibration can be manually and periodically interfered, the accuracy loss in the calibration interval is difficult to compensate. Disclosure of Invention In view of the above, the invention provides an intelligent water gauge self-adaptive calibration method, device and equipment for improving water level measurement accuracy. To achieve the above object, a first aspect of the present invention provides an intelligent water gauge adaptive calibration method, including the following steps: Acquiring a temperature sensitive interval according to a target range of the water gauge; acquiring a plurality of groups of temperatures and measured values of a water level stabilizing continuous period, taking the average value of the measured values as an initial installation reference value, and taking the average value of the temperatures as a calibration reference temperature; Taking a plurality of temperatures covering the temperature sensitive interval as actual measurement temperatures, and acquiring corresponding measurement values at each actual measurement temperature as actual measurement reference values; Fitting the temperature correction coefficient based on the offset of each measured reference value relative to the initial installation reference value and the temperature difference between each measured temperature and the calibration reference temperature; the method comprises the steps of obtaining the current temperature, calibrating and obtaining an initial calibration reference value based on the temperature correction coefficient and the temperature difference between the current temperature and the calibration reference temperature and based on the initial installation reference value. In some embodiments, the current temperature and the current measured value are obtained, based on the temperature calibration reference value at the last time, the offset of the theoretical reference value at the current temperature relative to the temperature calibration reference value at the last time is calculated according to the temperature correction coefficient, and the temperature calibration reference value at the current time is obtained. In some embodiments, fitting the temperature correction coefficients is based on a reference value calibration model, the reference value calibration model is based on an initial installation reference value, and a correction term is built according to the temperature difference between each measured temperature and a calibration reference temperature; the correction term is a linear correction term, the linear correction term is the product of a temperature correction coefficient and a temperature difference, or, The linear correction term is the product of a linear temperature correction coefficient and a temperature difference, and the nonlinear correcti