Multi-Source Error Compensation for Weighing Rain Gauge Based on Adaptive GOOSE-BP Network
Highlights
- The nonlinear error modeling framework is established by integrating multiple disturbance factors, including creep, vibration, and temperature, enabling a dynamic compensation mechanism that adapts to complex environmental conditions.
- An improved adaptive GOOSE (ADGOOSE) algorithm is applied to optimize the BP neural network for error compensation, which significantly enhances model convergence and stability.
- The proposed ADGOOSE-BP method reduces the root mean square error (RMSE) to 0.0494 and increases the coefficient of determination (R2) to 0.9835, substantially outperforming conventional filtering and other optimization approaches.
- The framework offers a robust, data-driven software solution for multi-source error compensation in weighing rain gauges, improving measurement accuracy without requiring hardware modifications.
- The methodology is extensible to other sensor error compensation tasks where high precision is required under complex, time-varying environmental disturbances, and it provides a foundation for future field deployment and adaptive recalibration.
Abstract
1. Introduction
2. Weighing Rain Gauge Error Analysis and Compensation
2.1. Structural Principle of Weighing Rain Gauge
2.2. Measuring Principle
2.3. Sources of Error
2.3.1. Creep Error
2.3.2. Vibration Errors
2.3.3. Temperature Errors
2.3.4. Step Response Error
2.4. Construction of Mathematical Model of Error
2.5. Different Filter Compensation Principles
2.5.1. Wavelet Filter and Kalman Filter After Preprocessing
2.5.2. The BP Neural Network and Optimization Algorithm
- (1)
- Initialize the parameters such as the maximum number of iterations, population size, individual learning factor, social learning factor, and inertia weight; initialize the position of the particle swarm; and calculate the initial particle fitness to obtain the initial optimal particle.
- (2)
- Calculate the population fitness and update the position of the current particle swarm optimal particle.
- (3)
- Update the position and fitness of the global optimal particle so far.
- (4)
- Loop steps (2)~(3) until the optimal individual position and optimal fitness are obtained, and jump out of the loop. After a finite number of iterations, each particle in the particle swarm will approach the optimal solution.
- Adaptive Improvement Design of the GOOSE Algorithm
- Adaptive Control Parameter Mechanism
- Dynamic Selection Mechanism for Individual Behavior
- Adaptive Step Update Based on Adaptive Feedback
3. Experimental Simulation Verification
3.1. Device Introduction
3.2. Load-Cell Calibration
3.3. Vibration Errors for Different Rainfall Intensities
3.4. Vibration Errors for Different Temperatures
3.5. Variable-Flow Experiment
4. Conclusions
- Under different rainfall intensity and temperature-change conditions, the original data reveal obvious high frequency fluctuations and system drift. Traditional filtering means (such as Kalman filtering) can improve measurement accuracy to some extent, but they find it difficult to adequately model complex perturbation characteristics.
- The BP neural network has a good nonlinear fitting ability and is better than the traditional methods in terms of modeling and error compensation, but the stability of convergence is limited and it easily falls into local optima.
- The introduction of intelligent algorithms, such as GA and particle swarm optimization, can effectively improve the performance of the BP network, and the optimized model significantly outperforms the basic network in several evaluation indexes (RMSE, MAE, and R2).
- The ADGOOSE optimization algorithm proposed in this paper combines dynamic search regulation, a perturbation restart mechanism, and an elite bootstrap strategy, and it can significantly improve the convergence speed and robustness of the global model, while the error rate is higher than that of the traditional method. Its speed and robustness, as well as its error compensation performance, were optimized in multiple rounds of experiments.
5. Discussion
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- China Meteorological Administration. Specifications for Water Resources Products of Weather Forecast Offices; CMA: Beijing, China, 2009; pp. 5–7. [Google Scholar]
- Morbidelli, R. Rainfall: Modeling, Measurement and Applications; Elsevier: Amsterdam, The Netherlands, 2022; pp. 77–78. [Google Scholar]
- Overgaard, S.; EL-Shaarawi, A.H.; Arnbjerg-Nielsen, K. Calibration of tipping bucket rain gauges. Water Sci. Technol. 1998, 37, 139–145. [Google Scholar] [CrossRef]
- Vasvari, V. Calibration of tipping bucket rain gauges in the Graz urban research area. Atmos. Res. 2005, 77, 18–28. [Google Scholar] [CrossRef]
- Habib, E.H.; Meselhe, E.A.; Aduvala, A.V. Effect of local errors of tipping-bucket rain gauges on rainfallrunoff simulations. J. Hydrol. Eng. 2008, 13, 488–496. [Google Scholar] [CrossRef]
- Liu, T.; Wang, W.; Xu, D. Review of rainfall measurement methods in water and rainfall monitoring. Mod. Inf. Technol. 2019, 3, 8–11. [Google Scholar] [CrossRef]
- Milewska, E.J.; Vincent, L.A.; Hartwell, M.M.; Charlesworth, K.; Mekis, É. Adjusting precipitation amounts from Geonor and Pluvio automated weighing gauges to preserve continuity of observations in Canada. Can. Water Resour. J. 2019, 44, 127–145. [Google Scholar] [CrossRef]
- Saha, R.; Testik, F.Y.; Testik, M.C. Assessment of OTT Pluvio(2) rain intensity measurements. J. Atmos. Ocean. Technol. 2021, 38, 897–908. [Google Scholar] [CrossRef]
- Zhan, X.; Zhao, J.; Shui, J.; Zhao, X.; Guo, M. Development and performance analysis of fully automatic weighing rain gauge. J. Agric. Eng. 2021, 37, 122–128. [Google Scholar] [CrossRef]
- Wang, X.; Chen, H.; Tong, R.; Ge, R.; Chen, X.; Li, Q. Self-compensating rainfall measurement device for siphon drainage. J. Sens. Technol. 2022, 35, 703–710. [Google Scholar]
- Xu, K.; Wang, Z.; Fan, X.; Wang, J.; Pei, K. Data error analysis of various types of rain gauges in precipitation of different intensities. Chinese Meteorological Society. In Proceedings of the 33rd Annual Meeting of the Chinese Meteorological Society S10 Cities, Precipitation and Haze—The Fifth Urban Meteorology Forum, Xi’an, China, 2–4 November 2016. [Google Scholar]
- Zhao, G.; Sun, W.; Sun, J. Current status and development trend of electronic weighing technology. Instrum. Technol. Sens. 2007, 7, 76–77. [Google Scholar]
- Wang, Y.; Wu, S.; Chen, H. Neural network compensation method for creep error of load cell. J. Metrol. 2018, 39, 510–514. [Google Scholar] [CrossRef]
- Cheng, X.; Zhang, Y.; Dong, Q.; Ji, X. Error suppression algorithm for shipboard load cell based on period sliding average Kalman filter. Electron. Meas. Technol. 2023, 46, 149–154. [Google Scholar] [CrossRef]
- Dutton, M.; Balsamo, D. Improvements in rain gauge design and measurements to minimise under-catch errors. Eur. Geosci. Union Gen. Assem. 2024, 2024, 8714. [Google Scholar]
- Xiong, Z.; Ma, J.; Chen, B.; Lan, H.; Niu, Y. Multi-source data recognition and fusion algorithm based on a two-layer genetic algorithm–back propagation model. Front. Big Data 2025, 7, 1520605. [Google Scholar] [PubMed]
- Simões, C.F.; Ribeiro, Á.S.; Almeida, M.C.; Covas, D.; Dias, L.; Coelho, G. Validation of a laboratory method for the traceability of a rainfall weighing gauge. Acta IMEKO 2024, 13, 1–6. [Google Scholar] [CrossRef]
- Shi, C. Current status and development trend of dynamic weighing force measurement technology. J. Metrol. 2001, 3, 201–205. [Google Scholar]
- Zhao, X. Research on Dynamic Creep Characteristic Analysis and Control Method of Piezoelectric Actuator Under Low Speed and Large Range. Ph.D. Thesis, Shandong University, Jinan, China, 2016. [Google Scholar]
- Liu, J. Establishment of mathematical model to analyze and project the error of load cell. Weigh. Instrum. 2007, S1, 4–9. [Google Scholar]
- Zhang, J. Research on Dynamic Weighing Data Processing Algorithm and its Application in Poultry Eggs and Spherical Fruits Sorting. Ph.D. Thesis, Zhejiang University, Hangzhou, China, 2017. [Google Scholar]
- Lanza, L.G. Results of the WMO Laboratory Intercomparison of Rainfall Intensity Gauge. Atmospheric Sciences. 2019. Available online: https://www.researchgate.net/publication/255630154_RESULTS_OF_THE_WMO_LABORATORY_INTERCOMPARISON_OF_RAINFALL_INTENSITY_GAUGES (accessed on 19 July 2026).
- Lu, Y.; Lu, H.; Jiang, J.; Man, S. Application of Kalman filter for weighing rainfall data processing. Meteorol. Sci. Technol. 2017, 45, 590–595. [Google Scholar] [CrossRef]
- Lanza, L.G.; Cauteruccio, A. Precipitation Measurement Instruments: Calibration, Accuracy and Performance. Water 2022, 14, 811. [Google Scholar] [CrossRef]
- EN 17277:2019; Hydrometry—Measurement Requirements and Classification of Rainfall Intensity Measuring Instruments. CEN: Brussels, Belgium, 2019.
- Feng, Q.; Li, Q.; Quan, W.; Pei, X. A review of research on multi-objective particle swarm optimization algorithms. J. Eng. Sci. 2021, 43, 745–753. [Google Scholar] [CrossRef]
- Xu, Y. Application of improved genetic algorithm in computer mathematical modeling. Inf. Syst. Eng. 2026, 281, 1409–1417. [Google Scholar] [CrossRef]
- Hamad, R.K.; Rashid, T.A. GOOSE algorithm: A powerful optimization tool for real-world engineering challenges and beyond. Evol. Syst. 2024, 15, 1249–1274. [Google Scholar] [CrossRef]







| 90–80–60–40–30–24 mL/min (RMSE/R2) | 24–30–40–60–80–90 mL/min (RMSE/R2) | |
|---|---|---|
| ADGOOSE | 0.0494/0.9835 | 0.0543/0.9789 |
| GOOSE | 0.0531/0.9779 | 0.0578/0.9721 |
| ADGOOSE-CCM | 0.0511/0.9768 | 0.0552/0.9741 |
| ADGOOSE-AC | 0.0537/0.9793 | 0.0566/0.9754 |
| ADGOOSE-DSM | 0.0512/0.9784 | 0.0545/0.9747 |
| ADGOOSE-ASU | 0.0515/0.9778 | 0.0554/0.9764 |
| Algorithm Name | Convergence Rate | Convergence Stability | Computational Complexity (per Generation) | Brief Analysis of Advantages and Disadvantages |
|---|---|---|---|---|
| KF | Very fast | Comparatively good | Lower | High accuracy but narrow range of application |
| BP | Moderate | Mediocre | Middle | Prone to localized extremes |
| GA-BP | Slower | Moderate | Above average | Global and time-consuming |
| PSO-BP | Relatively fast | Comparatively good | Mid-to-high | Simple and efficient, prone to early convergence affecting the quality of the final optimization |
| GOOSE-BP | Moderate | Comparatively good | Mid-to-high | Good stability, complex tuning parameters |
| ADGOOSE-BP | Relatively fast | Rare | Relatively high | Convergent equilibrium, slightly complex structure |
| W/g | U1/v | U2/v | U3/v | Arg/v |
|---|---|---|---|---|
| 0 | 0.431 | 0.4246 | 0.4278 | 0.4278 |
| 1 | 0.4294 | 0.4302 | 0.4318 | 0.4305 |
| 2 | 0.4326 | 0.4351 | 0.431 | 0.4329 |
| 3 | 0.4423 | 0.4342 | 0.4487 | 0.4417 |
| 4 | 0.4399 | 0.4439 | 0.4536 | 0.4458 |
| 5 | 0.4471 | 0.4399 | 0.4568 | 0.4479 |
| 6 | 0.4576 | 0.456 | 0.4584 | 0.4573 |
| 7 | 0.4665 | 0.4455 | 0.46 | 0.4573 |
| 8 | 0.4624 | 0.4479 | 0.4745 | 0.4616 |
| 9 | 0.4528 | 0.489 | 0.4826 | 0.4748 |
| 10 | 0.4697 | 0.485 | 0.4802 | 0.4783 |
| 20 | 0.4786 | 0.5124 | 0.5204 | 0.5038 |
| 30 | 0.5503 | 0.5406 | 0.5156 | 0.5355 |
| 40 | 0.5551 | 0.535 | 0.5357 | 0.5419 |
| 50 | 0.564 | 0.5873 | 0.597 | 0.5828 |
| 60 | 0.5889 | 0.601 | 0.6188 | 0.6029 |
| 70 | 0.6123 | 0.6397 | 0.6236 | 0.6252 |
| 80 | 0.655 | 0.6614 | 0.6405 | 0.6523 |
| 90 | 0.6896 | 0.705 | 0.6832 | 0.6926 |
| 100 | 0.705 | 0.7227 | 0.7033 | 0.7103 |
| 200 | 1.0055 | 0.9732 | 1.0103 | 0.9963 |
| 300 | 1.2439 | 1.2335 | 1.252 | 1.2431 |
| 400 | 1.5026 | 1.513 | 1.4881 | 1.5012 |
| 500 | 1.7805 | 1.7773 | 1.7596 | 1.7725 |
| Error Compensation Methods | RMSE | MAE | R2 |
|---|---|---|---|
| Preprocessing | 0.7030 | 0.5679 | 0.8710 |
| KF | 0.0921 | 0.0859 | 0.9054 |
| BP | 0.0849 | 0.0653 | 0.9302 |
| GA-BP | 0.0832 | 0.0650 | 0.9487 |
| PSO-BP | 0.0564 | 0.0545 | 0.9686 |
| GOOSE-BP | 0.0531 | 0.0412 | 0.9779 |
| ADGOOSE-BP | 0.0494 | 0.0425 | 0.9835 |
| Error Compensation Methods | RMSE | MAE | R2 |
|---|---|---|---|
| Preprocessing | 0.7598 | 0.6452 | 0.8531 |
| KF | 0.1104 | 0.0987 | 0.8985 |
| BP | 0.0864 | 0.0759 | 0.9124 |
| GA-BP | 0.0845 | 0.0744 | 0.9351 |
| PSO-BP | 0.0637 | 0.0593 | 0.9618 |
| GOOSE-BP | 0.0578 | 0.0486 | 0.9721 |
| ADGOOSE-BP | 0.0543 | 0.0493 | 0.9789 |
| Method | Mean ± Std/95%CI (90–80–60–40–30–24 mL/min) | Mean ± Std/95%CI (24–30–40–60–80–90 mL/min) |
|---|---|---|
| GA-BP | 0.083 ± 0.003/0.0819–0.0841 | 0.084 ± 0.003/0.0829–0.0851 |
| PSO-BP | 0.056 ± 0.002/0.0553–0.0567 | 0.064 ± 0.003/0.0629–0.0651 |
| GOOSE-BP | 0.053 ± 0.002/0.0523–0.0537 | 0.058 ± 0.002/0.0573–0.0587 |
| ADGOOSE-BP | 0.049 ± 0.0015/0.0485–0.0495 | 0.054 ± 0.0018/0.0534–0.0546 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Huang, C.; Xiao, A. Multi-Source Error Compensation for Weighing Rain Gauge Based on Adaptive GOOSE-BP Network. Sensors 2026, 26, 4654. https://doi.org/10.3390/s26144654
Huang C, Xiao A. Multi-Source Error Compensation for Weighing Rain Gauge Based on Adaptive GOOSE-BP Network. Sensors. 2026; 26(14):4654. https://doi.org/10.3390/s26144654
Chicago/Turabian StyleHuang, Chenyang, and Aiping Xiao. 2026. "Multi-Source Error Compensation for Weighing Rain Gauge Based on Adaptive GOOSE-BP Network" Sensors 26, no. 14: 4654. https://doi.org/10.3390/s26144654
APA StyleHuang, C., & Xiao, A. (2026). Multi-Source Error Compensation for Weighing Rain Gauge Based on Adaptive GOOSE-BP Network. Sensors, 26(14), 4654. https://doi.org/10.3390/s26144654
