1. Introduction
Monitoring water levels is crucial for managing water resources and ensuring environmental safety [
1]. It is a vital component in understanding water regimes and is necessary for flood control and prediction [
2,
3]. Accurately measuring water levels is particularly important in monitoring, preventing, and mitigating the effects of natural disasters, such as floods. In urban areas, where floods can cause significant damage and losses, monitoring water levels is critical for reducing risk and preventing harm. Therefore, it is essential to conduct efficient and safe research on water level monitoring to reduce the economic and safety hazards associated with floods [
4,
5,
6,
7].
Urban drainage and waterlogging prevention have become one of the most concerning issues for urban residents due to the wide range of disasters that the flooding of urban settlements can lead to, causing both heavy property losses and casualties [
8,
9,
10,
11]. In addition, overflow pollution and other problems caused by urban drainage and waterlogging are becoming more and more serious, which directly leads to reductions in the operating efficiency of sewage treatment plants, seriously affects the safety of urban water supplies, and has become a major problem affecting social stability and restricting the sustainable development of the urban economy [
12,
13]. Therefore, it is urgent that we improve the risk management ability of urban drainage and waterlogging prevention, reduce the problem of urban drainage and waterlogging disasters, and ensure the water safety of urban residents [
14,
15,
16].
On the other hand, long-term pipeline leaks in urban drainage systems present a pressing concern in modern urban infrastructure management. These leaks, often undetected for extended periods, can result in adverse environmental impacts, compromised public health, and substantial economic costs. Urban drainage networks play a vital role in managing stormwater and wastewater flow, making the identification and mitigation of long-term leaks crucial for maintaining the functionality of these systems. Long-term pipeline leaks cause the soil to loosen and deposit nearby, leading to subsidence and landslides [
17,
18]. After a drainage pipeline ruptures, a seepage field is formed around the pipeline. Under the coupling effect of the seepage field and the surrounding soil, the mechanical properties of the soil change, forming a “groundwater pocket” mixed with soil and water [
19]. This eventually leads to ground collapse accidents, which not only increase production costs but may also lead to casualties [
20,
21]. Therefore, it is essential that we conduct in-depth research on drainage pipe leakages and take corresponding measures to prevent the occurrence of accidents.
With the rise of smart cities, the status of more and more urban elements can be sensed in real time, and above-ground equipment, such as street lights, manhole covers, fire hydrants, video surveillance, and elevators, are connected to various system platforms through the Internet of Things [
22,
23]. Construction site dust diffusion monitoring, street noise monitoring, and other aerial data can be perceived and collected, thus solving many complex and uncertain problems in urban planning and improving the modernization level of urban governance capabilities. In contrast, urban drainage and waterlogging prevention face numerous concealed risks due to the inherent challenges of managing underground spaces. The lack of established management practices and comprehensive network management facilities for subterranean environments further exacerbates these risks when compared to surface-level city management. Additionally, the development of both urban drainage management systems and supportive sensors has lagged behind, hindering effective monitoring and mitigation efforts.
At present, the most commonly used water measuring instruments in China include the following: ultrasonic flowmeters (Doppler ultrasonic flowmeters), radar flowmeters (including non-contact water level, flow velocity, and flow measurement flowmeters), propeller flowmeters, bubble water level gauges, and pressure water level gauges. These existing sensors cannot detect the loosening and displacement of the soil under a pipeline very effectively. The gyroscope inside a flexible smart water gauge can monitor the attitude angle of the water gauge. The water gauge can be installed in the soil near the pipeline to detect the displacement of the soil, facilitating the timely identification of changes in soil layers near the pipeline.
In sewage pipeline and river detection, ultrasonic flowmeters rely on the reflection of bubbles and impurities in the water to measure the flow rate of the water; these meters occupy a significant amount of space and are susceptible to probe coverage by impurities, leading to failures [
24,
25]. Especially in sewage with high impurity contents, irregular alarms may occur. Radar flowmeters operate on the principle of the Doppler effect, generating electromagnetic waves on the water’s surface. When these waves encounter the moving water surface, they scatter and form an echo. By analyzing the frequency shift between the transmitted and received signals, the water surface velocity can be determined. These flowmeters are suitable for partially filled pipelines but are not applicable when the pipeline is full and the water reaches the top of the shaft.
Propeller flowmeters operate by the rotational motion of a paddle when flowing water acts on the sensing element [
26,
27]. The faster the water flows, the faster the paddle rotates, establishing a functional relationship between speed and flow rate, i.e.,
. However, these flowmeters only allow manual single measurements and cannot be monitored online over an extended period. They are also unsuitable for locations with abundant aquatic plants and debris as they are prone to equipment damage.
Bubble water level gauges are unsuitable for well water level measurements [
28,
29]. Air bubbles in the wellbore may not accurately reach the wellhead, and the normal operation of these gauges is significantly affected by floating objects. Therefore, these gauges are not suitable for early warning systems in small and medium-sized rivers. In a sewage environment, pressure water level gauges may be obstructed by sediment burial, affecting their normal operation. Their unstable zero drift necessitates regular maintenance and calibration, making them unsuitable for measuring water levels in sewage wells.
Due to such technical limitations in existing water measuring equipment, a flexible smart water gauge was designed by our lab at Hohai University in 2021 for urban drainage and flood control. This paper introduces the principle of our flexible smart water gauge and presents our experimental results.
2. Flexible Smart Water Gauge
The subsequent sections focus on the flexible smart water gauge’s basic principles, specifically focusing on the principles governing flow rate data acquisition. This section discusses the manhole cover terminal equipment flow rate calibration process, employing a standard flow meter for accuracy. Moving forward,
Section 3 contains the results section, featuring the water level accuracy experiment, an experiment to verify the flexible smart water gauge’s flow rate, and the implementation of an intelligent manhole cover monitoring system. Finally,
Section 4 delves into a discussion of our results, encompassing an overall discussion of the flexible smart water gauge, the velocity accuracy test, and a thorough error analysis. Finally, this structured approach culminates in the conclusion, providing a summary of the research.
Figure 1 shows the prototype of our flexible smart water gauge.
The design inspiration for the flexible smart water gauge sensor was a motion device that uses mechanical and electronic components or intelligent materials to achieve underwater propulsion according to the propulsion mechanism of fish when swimming [
30]. The movement of fish has the characteristics of high efficiency, high maneuverability, and low noise [
31,
32]. Through researching bionic robot fish, we combined measurements of water level, velocity, flow, and flow direction with a multi-joint activity mechanism to design a flexible smart water gauge, as shown in
Figure 2 below.
2.1. Basic Principles
The smart water gauge is a water measuring instrument suitable for use in urban drainage pipes, urban water accumulation areas, reservoirs, lakes, rivers, and other similar environments. It is easy to install and maintain, comprising four main components: the main control box, connector, ring cable, probe, and adapter board (accessory). The detection electrode (stainless steel conductive ring) is installed on the ring wire ruler according to the corresponding spacing for resolution and is encapsulated in the casing together with the acquisition CPU and the low-power step-down power supply. This setup leaves only the contact part exposed to the casing.
When the control system is powered on or receives a measurement command, the smart water gauge initiates a measurement cycle and transmits the status of the measurement points and water level height data through the serial port. During the measurement process, the acquisition CPU activates the measurement power of electrodes in different areas according to a specific pattern, reads the status of the input interface of the measurement CPU in turn, scans all the detection electrodes in batches in a matter of milliseconds, and calculates the water gauge’s measured value using the built-in algorithm model.
The data are then transmitted to the external data acquisition instrument through the data lead, facilitating the calculation of the distance from the water gauge measurement to the water surface. The smart water gauge gathers relevant monitoring data, promptly transmits and stores them in the cloud server, and enables data sharing with designated parties. Generally, the smart water gauge remains in a standby or power-off state to conserve power in the measurement circuit.
Furthermore, the smart water gauge is equipped with a remote switching function to adapt to different weather conditions on dry and rainy days. During dry days, the scanning frequency of the smart water gauge is reduced, with a scanning period of 1–2 min and a reporting communication period of 5–15 min. In the event of emergencies, the scanning frequency is increased to 15 s, ensuring the smart water gauge’s service life.
Principles of Collecting Water-Level Data
The flexible smart water gauge positioned at the bottom of the manhole cover operates as a contact-type water gauge. It gathers water depth information using a series of electrodes evenly distributed across the water gauge body. By assessing which electrodes are submerged in water, the water depth can be determined. The elevation of the manhole cover at this particular point is measured using RTK dynamic carrier phase difference technology, enabling the assessment of the water level at that point. This technology finds extensive application in monitoring liquid levels in urban underground pipe networks, urban sewage treatment facilities, rivers, lakes, and other similar projects. The schematic diagram below illustrates the arrangement of the water gauge equipment under the manhole cover.
Figure 3 illustrates that the structure of the flexible water gauge body consists of a single-section measuring structure, which is linked with multiple sections, and these two sections of the water gauge are interconnected by a waterproof plug and socket. As the flexible smart water gauge is composed of multiple cascaded sections, the elastic deformation of the cable can influence the water flow, leading to an impact on the angle of the single section of the water gauge. Consequently, this can result in a significant error in the detection data of the draft gauge.
To address this issue, a pitch angle sensor is incorporated into the water gauge. This sensor is responsible for detecting the deflection angle of each section of the water gauge. It then calculates and analyzes the water level of the monitoring point based on the obtained angle of each section of the water gauge. The principle is elucidated in the analysis presented in
Figure 4 below.
Initially, it is understood that the elevation of the manhole cover node is denoted as
L with the unit of measurement being meters (m). The theoretical length of the natural sag after the cascaded length of the terminal draft is represented as
, while the vertical length of the draft after natural deflection due to water flow is denoted as
. The data provided indicate that the dip angles of each section of the water gauge from bottom to top are
. Utilizing RTK technology, it is determined that the length of each section of the water gauge is
m, with an additional length denoted as
m. Assuming that the number of sections of the water gauge is
n, the total height of the water gauge in its naturally sagging position can be calculated.
Firstly, during the operational use of the water gauge, it bends due to the influence of water flow, and each section is equipped with an attitude sensor that records the inclination of the water gauge. Assuming the inclinations of each section of the draft gauge from bottom to top are
, the total height of the draft gauge under bending conditions is
, given by the following equation:
Secondly, during actual operation, the uploaded data are represented as
, which is the theoretically vertical height uploaded, disregarding the bending state of the water gauge. However, the uploaded data do not represent the actual height of the water gauge immersed in the water. Thus, it is necessary to determine the exact height of the flexible smart water gauge in the water by calculating the number of water gauge sections submerged in the water and the inclination of the stored water gauge. Assuming the actual number of water gauge sections immersed in the water is
t, the section between the water surface being the
section,
t is calculated as follows:
where the function
denotes the rounding function, which takes the largest integer that does not exceed
x as
. Equation (3) indicates that section
is between the water surfaces, the water gauge of section
t is fully immersed in the water, and the vertical height
after the natural deflection of the water gauge immersed in the water is determined by section
. The vertical height of
t and the vertical height of the
t-saved gauge fully immersed in water are given as follows:
Finally, by calculating the vertical height
of the water gauge after natural deflection and the vertical height
of the water gauge immersed in the water, the water gauge’s height above the water surface is obtained. Combined with the elevation of the manhole cover node denoted as
L, the water level of the flexible smart water gauge is calculated as follows:
The water level data of the manhole cover node can be acquired by inputting the original data of the manhole cover node into the formula on the server side. Upon obtaining the data from the manhole cover node, the node’s water level data are analyzed. If the data indicate that the water level has risen by more than 20 cm within 15 min, an immediate alarm is triggered. Similarly, an alarm is also initiated if the water level exceeds two-thirds of the manhole cover node’s elevation. Other data are automatically stored on the server side for historical data queries. The processing of water level data under the manhole cover node is detailed in
Table 1 below.
2.2. The Principle of Flexible Smart Water Gauge Flow Rate Data Acquisition
The specific algorithm for the flexible smart water gauge to measure the flow rate is as follows:
- (1)
Use a flow meter to measure the flow velocity at different depths at the same test point in the same water area, and obtain the accurate value , which is, respectively, recorded as ;
- (2)
Use the detection ruler of the flexible smart water gauge to measure the flow velocity at different depths of the same test point in the same water area described in step (1), respectively, obtain the initial value of the angle measured by the angle sensor , and repeat the measurement m times to obtain the average value, the initial angle average value is obtained, and the initial angle average values measured by n angle sensors are recorded as , m is a positive integer ;
- (3)
Convert the Angle
into the initial flow rate
;
Here,
m signifies the weight of each section of the detection ruler, while
T denotes the tensile force of each section of the detection ruler.
represents the impact force of each section of the detection ruler caused by the flowing water, with
p being the pressure of the corresponding section of the flowing water at different depths on the ruler,
representing the area of the water-facing surface of each section of the detection ruler, and
r indicating the outer diameter of the second insulating shell. Bernoulli’s equation for fluids is also utilized, given as follows:
where
Q is a constant and
is the density of the liquid, the depth corresponding to the
ith angle sensor.
It can be obtained from the Formulas (6)–(10)
- (4)
Comparing the
in step (3) with the
in step 1, we obtain
That is the correction coefficient that is obtained, where i is a positive integer , is the first correction coefficient, and di is the second correction coefficient. By using a flow meter to measure the flow velocity at different depths of the same test point in the same water area, an accurate value is obtained; then, we used the detection ruler of a flexible water gauge to measure the flow velocity at different depths of the same test point in the same water area and obtain the angle. The initial value of the angle was measured by the sensor , and then the first correction coefficient and the second correction coefficient were obtained.
- (5)
Place the flexible smart water gauge at the point to be detected with the detection water area, so that the 0 scale line of the detection ruler is flush with the horizontal plane;
- (6)
Due to the different flow rates of water at different depths
, the inclination angles of the flexible water gauges of different sections are different. Each angle sensor measures the inclination angle
of the corresponding flexible water gauge and transmits it to the control module. The control module converts the calculation of
into the calculated value
, and applies the Formula (11) to obtain
The Formulas (13) and (14), and the corresponding first correction coefficient and second correction coefficient , are stored in the control module to form a calculation model, so it is only necessary to transmit the angle value detected by the angle sensor in real-time to the control module, and then the flow rate of the water flow can be obtained.
2.3. Manhole Cover Terminal Equipment Flow Rate Calibration
Standard Flow Meter
The flow rate calibration experiment of the manhole cover terminal equipment uses the LS1206B propeller flow meter, which is manufactured by Shenzhen Graigar Technology Co., Ltd China, as shown in
Figure 5. The LS1206B propeller flow meter is widely used for average tassel measurement in rivers, lakes, reservoirs, and pipelines. It is a commonly used universal testing instrument for hydrological data collection. The main working parts of the LS1206B propeller flow meter include a propeller, tail components, reed switch, support seat, and extendable bracket. When measuring the flow rate of water, the propeller rotates due to the impact of the water flow. The rotation of the propeller drives the rotor to rotate synchronously. The rotation of the rotor causes its magnet to generate an excitation signal for the reed switch, and the detection circuit, therefore, generates an on–off signal. By detecting and recording the number of on–off signals and the on–off times, the average flow rate of the water flow can be calculated.
When the water flow speed is higher than the critical speed, there is a stable linear relationship between the average flow speed at the detection point within a certain period and the rotor of the LS1206B propeller flow meter. Under the premise of ensuring a certain accuracy, the average flow speed satisfies the following relationship:
where
v: flow velocity (average flow velocity during the period), m/s;
a: flow meter constant, m/s;
b: propeller hydraulic pitch, m;
n: velocity meter rotor speed, .
To eliminate the influence of water flow on the measurement accuracy, the hydrological inspection specification requires that the general
s. It can be obtained from the following Formula (17):
where
To determine the values of
a and
b, please refer to the verification results given in the GB/T21699-2008 [
33] (
https://www.gbstandards.org/, accessed on 1 December 2021) standard for the Verification/Calibration Method of Rotor Flow Meters in Linear Slots”,
a = 0.0159 m/s,
b = 0.1188 m. Therefore, the determination of the flow rate only needs to measure
T and
N to calculate the flow rate; the formula is as follows:
According to the calculation principle of open channel flow, the flow value is the product of the flow velocity and the cross-sectional area of the measuring point. Therefore, the accuracy verification of the manhole cover terminal water gauge only needs to verify the accuracy of the flow rate.
4. Discussion
The integration of smart water gauge technology offers several advantages in monitoring water levels and flow rates for urban drainage and waterlogging prevention. Distinguished by accurate measurement, reliable performance, a compact structure, cost-effectiveness, and easy installation, this technology operates on advanced NB-IOT narrowband Internet of Things technology. Its core encompasses microcomputer technology integrated with intelligent hydrodynamic simulation, facilitating all-weather, maintenance-free, continuous, fixed-point monitoring. The collected data will be efficiently transmitted to a cloud platform, allowing real-time access and early warning.
In terms of power supply, the smart water gauge utilizes a dry battery power supply, allowing for energy conservation through being turned off under normal circumstances. This extends the life of the dry battery, ensuring prolonged usage. The adaptability of the smart water gauge to varying regional conditions is emphasized, requiring specific settings based on local needs and requirements.
4.1. Accuracy Test
The Huadong Testing Center for Hydrological Instruments, under the guidance of the Nanjing Management Department Intelligent Department Care Co., LTD, issued Certificate Number 20210978. The center is located on the seventh Floor, Ren Building, No.7 Yinget Road, Jiangnig District, Nanjing. The tested instrument is the Smart Water Gauge with the specification Model AISL1501, manufactured by Nanjing Management Intelligent Technology Co., LTD. The testing utilized a straight-line channel and a flow meter verification device, both meeting the value traceability standards as per basic environmental experimental conditions and methods of hydrologic instruments. The testing conditions included a mixing ratio of 65.9%, water temperature at 8.0 °C, room temperature at 13.5 °C, and air pressure of 101.11 kPa. The assessment was conducted on 23 April 2021.
4.1.1. Velocity Accuracy Test
The results from the velocity measurement record conducted by the Huadong Testing Center for Hydrological Instruments provide a comprehensive assessment of the Smart Water Gauge’s performance. The table presents the measured values across different standard velocities, with corresponding average values and errors calculated, as shown in
Table 6 below.
Upon analysis, it is evident that the measured values closely align with the standard values for each velocity category. The average values consistently demonstrate a high degree of accuracy, showcasing the reliability of the Smart Water Gauge in capturing velocity measurements. The calculated errors for each detection point, ranging from 0.0039 to 0.0236 m/s, are well within the acceptable range. Furthermore, the overall assessment, as indicated by the root mean square error of 0.011 m/s, affirms the equipment’s precision. The error being less than 5% + 0.02 m/s across all detection points underscores the consistent and reliable performance of the Smart Water Gauge. This level of accuracy is crucial for hydrological applications where precise velocity measurements are paramount.
4.1.2. Error Analysis
An error analysis chart between the indicator flow rate and measured flow rate of a smart water gauge is shown in
Figure 12 below. Compared with the measured average flow rate, the correlation coefficient is 97.1%. The relative error of less than 5% accounts for 92%, and the relative error of less than 6% accounts for 100%. The root mean square (RMS) error is 2.5 cm/s, and the RMS velocity relative error is 2.3%. The overall error is less than 5% + 0.02 m/s.
The smart water gauge river flow calculation and measured flow rate analysis are shown in
Figure 13; compared with the calculated flow rate of the Smart Water Gauge and the measured flow rate in the laboratory, the correlation coefficient is 96.5%. The relative error of less than 5% accounts for 76%, the relative error of less than 8% accounts for 92%, and the relative error of less than 10% accounts for 100%. The root mean square relative error is 3.9%.
4.1.3. Limitations
Despite its strengths, challenges exist, particularly when the wellbore is full of water or contains numerous impurities. In such conditions, water gauge monitoring may become chaotic, impacting accuracy and efficiency, and rendering the data potentially invalid. As the technology collects more data and continued usage, there are plans for more improvements to address the identified issues.
5. Conclusions
The development and assessment of the flexible smart water gauge represent a significant step forward in the realm of water level monitoring technology. This innovative device, drawing inspiration from the movements of underwater robots previously published from our lab in a robotics journal, combines mechanical and electronic components to ensure precise and adaptable measurements of water parameters. The experiments conducted to evaluate its accuracy underscore its ability to meet the requirements, establishing its reliability in real-world applications.
The immersion data confirm the device’s consistent accuracy across all water gauge scenarios, showcasing its reliability even in challenging conditions. Regardless of whether the gauge is not in contact with the water surface or faces water levels beyond its maximum range, the sensor maintains precision. The device consistently delivers accurate measurements across fine and coarse water gauges, validated by aligned data sizes and specific submersion depths. The successful outcomes of the experiments validate the device’s reliability, emphasizing its adaptive capabilities and capacity to meet accuracy requirements across varied immersion depths. The comparative analysis with the standard flow meter (SFM) highlighted the flexible water gauge’s ability to provide accurate measurements, emphasizing its efficiency and potential for further use. The identified variations in measurement discrepancies underscore the importance of accounting for specific environmental conditions and factors, emphasizing the need for comprehensive calibration and an understanding of contextual influences.
The implementation of the intelligent manhole cover monitoring system at Hohai University’s Jiangning Campus demonstrates successful verification and meets the requirements for monitoring manhole cover nodes. A total of 38 manhole cover nodes were strategically chosen based on the campus’s rainwater and sewage underground pipe network. The three-step process, involving water depth measurement using a level instrument, the selection of appropriate manhole cover terminals, and the installation through bracketed drilling, ensure the effective deployment of the monitoring equipment.
The collected data from the rainwater and sewage manhole cover terminal equipment further validate the system’s functionality. The varied measurements, including rainwater amount, water level, and flow velocity, demonstrate the adaptability and precision of the monitoring system across different scenarios. Notably, all monitored points report a “Normal” status, indicating the system’s reliability in providing real-time information without abnormalities.
Finally, the Huadong Testing Center’s confirmation results affirm the flexible smart water gauge’s capability to measure velocity, meeting or exceeding the required standards accurately. The minimal errors and adherence to specified tolerances validate the reliability of the equipment, making it a valuable tool for hydrological monitoring and instrumentation.
Looking ahead, the continued advancement of water gauge technology should prioritize refining design elements to accommodate diverse environmental variations and improve measurement precision. Additionally, exploring advanced calibration techniques and signal processing algorithms holds promise for further enhancing the accuracy of water gauge systems, facilitating the more reliable and precise monitoring of water levels and flow velocities. Ultimately, the progress made in this field promises significant contributions to the sustainable management and conservation of water resources, addressing crucial environmental and societal needs.