Professional Documents
Culture Documents
Thaw Tar Thein Zan Kai-Juan Wong Hock-Beng Lim Andrew J. Whittle Bu-Sung Lee
Thaw Tar Thein Zan Kai-Juan Wong Hock-Beng Lim Andrew J. Whittle Bu-Sung Lee
Thaw Tar Thein Zan Kai-Juan Wong Hock-Beng Lim Andrew J. Whittle Bu-Sung Lee
Thaw Tar Thein Zan1 Kai-Juan Wong2 Hock-Beng Lim3 Andrew J. Whittle4 Bu-Sung Lee 1
1
School of Computer Engineering,
Nanyang Technological University, Singapore
2
Singapore Institute of Technology, Singapore
3
Intelligent System Centre
Nanyang Technological University, Singapore
4
Department of Civil and Environmental Engineering
Massachusetts Institute of Technology, Cambridge, USA
of error include network map inaccuracy, time synchroniza- Acquire raw pressure profile at 250
tion error and arrival time estimation error. Therefore, to ac- #/second
curately estimate the time different of arrival is very crucial.
To localize, the presence of the leak is rst identied by Estimate spectrogram using STFT
analyzing the transient signals using spectrogram [9, 10] one
of the time frequency analysis techniques. The detail proce- Apply the precalculated threshold
dure can be found in [11]. Due to the attenuation within the
water pipeline, sensor nodes further away from the location Estimate TDOA
of the leak receive weaker transient pressure wave than those
2n 4n
(n) = 0.42 + 12 cos N + 0.08cos N , 0 n N 1.
(6)
where N represents the window length, in samples, of the
symmetrical Blackman window (n). To compensate for
the loss at the edges of the window, individual chunks may
overlap in time.
Fig. 3. Network layout for location of the leakage event. M1,
2. According to Parseval s relationship of the Fourier Trans- M2, M3, M4, M5 and M6 are the sensor nodes.
form, the area under the energy spectral density curve is
(a) Sensor node M5 (b) Sensor node M3
equal to the squared magnitude of the energy. Therefore, 60 60
Pressure (PSI)
56 56
Pressure (PSI)
56 56
52 52
ing (8). Fig. 4. Measured pressure traces of real burst event scenario
1 N +1
in 800 mm steel pipe.
i =
)2 .
(xj x (8)
N + 1 j=1
3. CASE STUDY
1
N +1
where x
= n j=1 (xj ) and i is the frequency from 1-129
Hz. The proposed methodology is veried with a real leak on Wa-
4. The threshold (T) is calculated using (9). terWiSE@SG test bed in a live WDS. Figure 3 shows the lo-
cation map of the area where the real pipeline leakage oc-
N
1 curred. The leak occurred due to a crack within an 800 mm
T = (
i + x
). (9) diameter steel pipe. The sensor nodes M3 - M6 (Figure 3)
N i=1
are located 50 - 1800 m away from the source. The measured
pressure traces of leaks are shown in Figure 4. The sensors de-
where N is the number of windowing that we use for sta-
tected two subsequent pressure drops. The initial drop is rapid
bilizing the predicted noise.
and the subsequent one is less rapid but more signicant. This
5. Replace all frequencies with intensity less than the thresh- signature reects the actual pipe break (rst pressure drop)
old values with the threshold values in order to remove the and a reection from the closed valve (second drop). To es-
station-oriented noise for each of the sensor nodes. timate the TDOA from the source of the pipeline leakage to
The threshold is set for each frequency band rather than the measurement sensor nodes, the magnitude of frequency at
the whole spectrum i.e. higher frequencies have smaller in- 15-25 Hz are calculated and Time of Arrival (TOA) at each
tensity than the lower frequencies, so that their threshold val- sensor node is derived. Theoretically, there can be more than
ues are smaller than that of the lower frequencies. Then, we one route between the two sensor nodes which have the same
estimate TDOA from the difference in the arrival times of arrival time. Wavespeed can vary considerably for different
the signal from the burst at multiple sensor nodes. This is pipe materials and roughness, hence, it is possible that the
accomplished by estimating the arrival times corresponding shortest pipe does not correspond to the rst arrival from the
to the peak intensity within the 15-25 Hz frequency band at source. In this case, there are two possible routes between
those nodes. Subtracting Time of Arrival (TOA) measure- sensor node M5 and M6, two theoretical TDOAs are calcu-
ments from two nodes produce a relative TDOA. lated for route 1 and route 2.
Table 1. Theoretical TDOA and TDOA estimation using JTFA
Fig. 6. Network layout for KR1 leak event.
476m
500m
pinpoint/locate the leak source.
140m
219m
M5
276m 270m
600m
4. PERFORMANCE EVALUATION
354m
257m
493m JTFA MWA
291m
Leak 140m
To assess the performance, proposed TDOA estimations for
600m 33m
two pipe breakage events NH1, and KR1 are compared with
270m
474m results using multi-scale wavelet Analysis (MWA) [13]. For
(a) (b) the NH1 burst event (Figure 3), the MWA only detected
anomalous pressure transients at nodes M3, M4 and M4,
Fig. 5. (a) Graphical representation for section of the distribu- from which TDOA values were reported in Table 1. With
tion network where the leakage event occurred. The rep- the knowledge of network topology of bursts location, the
resent the sensor nodes and are the junctions. The nodes distances between adjoining nodes and the estimation of
are represented by the vertices and the pipes by the edges. wavespeed, the expected TDOAs between M3, M4 and M5
(b)Burst locations estimated by JFTA and MWA. are calculated.
To compare the performance, the MSE for both methods
are calculated using (10). The MSE for JTFA of the transient
Table 1 shows TDOA estimations of the burst events at taking route 1 and 2 are 0.2548 and 0.0172 respectively. The
the four measurement points. As we have the knowledge of MSE for JTFA and MWA for sensor nodes M3, M4 and M5
network topology of bursts location, the distances between are 0.0208 and 0.0211 respectively.
adjoining nodes and the estimation of wavespeed, the theoret- These values are then fed into localization algorithm, the
ical TDOAs between M3, M4, M5 and M6 are calculated. estimated burst location using JFTA is 107.15 meters from
Then the TDOAs are fed into graph based localization al- sensor node M5 which is 32.85 meters from actual leak loca-
gorithm [13, 14] to estimate the location of the burst. The tion. Using MWA, the burst is estimated at the sensor node
graphical representation of the map is shown in Figure 5. M5, 140 meters from the burst location.
The location of the burst is calculated using TDOA, The second event KR1 occurred on a 300 mm pipe. Figure
wavespeed and section of the network. The Dijkstras short- 6 shows the location map of the leakage area. The leak tran-
est path algorithm is used and the estimated burst location is sients were picked up by the sensor nodes M1, M2, and M3
107.15 meters from sensor node M5 that is 32.85 meters from which are 931 meters, 1279 meters, and 2357 meters from
actual leak location. the leak respectively. Table 2 shows TDOA estimations of
burst events at M1, M2 and M3. The theoretical TDOAs
N
1 between M1,M2 and M3 are calculated. TDOA estimations
M SE = (yj xj )2 . (10)
N i=1 from M3 with two other nodes using MWA are around 10
seconds which makes their distance around 10 km. This is
where y is a vector of estimated TDOAs and x is a vector of because MWA misses the burst transient and picks the fol-
theoretical TDOAs. lowing transient. The MSE for JTFA and MWA are 0.1500
The mean squared error (MSE) is estimated to evaluate and 48.8493 respectively.
the performance of proposed TDOA method using (10). When these values are fed into the localization algorithm,
The MSE for JTFA-based TDOA with respect to theoreti- the most probable burst location is estimated 860.24 meters
cal TDOAs of route 1 and route 2 are 0.2548 and 0.0172 from node M1 towards node M2 which is 70.76 meters from
respectively. The localization error is 32.85 meters. With the actual leak location. One of the factors associating with
this level of accuracy in localization, eld crews can better localization inaccuracy is that the sensors are sparsely located
around the area. [2] O. Hunaidi, Detecting leaks in water distribution pipes,
Institute for Research in Construction, National Re-
Table 2. Performance evaluation of TDOA estimation using search Council of Canada, 2000.
JTFA and MWA on real leak KR1 [3] O. Hunaidi, W. Chu, A. Wang, and W. Guan, Detecting
leaks, JOURNAL AWWA, vol. 92, no. 2, pp. 8294,
Theoretical JTFA MWA 2000.
Internode TDOA M2-M1 0.331 0.670 0.772
[4] O. Hunaidi and W. Chu, Acoustical characteristics of
Internode TDOA M3-M1 1.358 1.900 10.130 leak signals in plastic water distribution pipes, Applied
Internode TDOA M3-M2 1.027 1.230 9.358 Acoustics, vol. 58, no. 3, pp. 235254, 1999.
[5] O. Hunaidi, A. Wang, M. Bracken, T. Gambino, and
According to Table 1, 2, our approach using JFTA has a C. Fricke, Acoustic methods for locating leaks in mu-
clear advantage over MWA for TDOA estimation. Although nicipal water pipe networks, in International Confer-
MWA has varying temporal and spectral resolution, tempo- ence on Water Demand Management, 2004, pp. 114.
ral resolution becomes coarse as the level goes higher. Due
to this characteristics, wavelet based analysis is particularly [6] I. Stoianov, L. Nachman, S. Madden, T. Tokmouline,
useful to pick the high frequency component with better time and M. Csail, Pipenet: A wireless sensor network for
resolution. However, the frequency content of leak signal is pipeline monitoring, in Information Processing in Sen-
below 50 Hz [3]. In contrast, the temporal and spectral res- sor Networks, 2007. IPSN 2007. 6th International Sym-
olution of the proposed JFTA method can be calculated from posium on, April 2007, pp. 264273.
(11) and (12). [7] S. Srirangarajan, M. Allen, A. Preis, M. Iqbal, H. Lim,
1 and A. Whittle, Water main burst event detection and
t = . (11)
fs localization, in Proc. 12th Water Distribution Systems
where t is temporal resolution and fs is sampling fre- Analysis Conference (WDSA), 2010.
quency. [8] A. Whittle, L. Girod, A. Preis, M. Allen, H. Lim,
fs M. Iqbal, S. Srirangarajan, C. Fu, K. Wong, and
f = . (12)
N D. Goldsmith, WaterWiSe@SG: A Testbed for Continu-
where N is the number of sample per window. Therefore, pro- ous Monitoring of the Water Distribution System in Sin-
posed method could provide up to 4 milliseconds accuracy of gapore, chapter 121, pp. 13621378.
detection capability. The trade-off for improved accuracy is
[9] J. G. Proakis, Digital signal processing: principles al-
increased computational time and memory required to calcu-
gorithms and applications, Pearson Education India,
late the TDOA. The localization accuracy of proposed leak
2001.
localization algorithm is within 100 meters.
[10] S. Qian and D. Chen, Joint time-frequency analysis:
methods and applications, Prentice-Hall, Inc., 1996.
5. CONCLUSION
[11] TTT Zan, K. Wong, H. Lim, and A. Whittle, A fre-
This paper proposes a method to estimate location of the quency domain burst detection technique for water dis-
leaks or bursts in WDS. This technique drastically reduces tribution systems, in Sensors, 2011 IEEE. IEEE, 2011,
the TDOA estimation errors as it could provide up to 4 mil- pp. 18701873.
liseconds accuracy. Currently in our test we have obtained [12] W. Smith, The scientist and engineers guide to digital
accuracy within 100 meters of the actual leak. The calculation signal processing, 1997.
of the localization is based on ow speed and the accuracy
of the sensor timer(sampling rate) and the estimation of the [13] S. Srirangarajan, M. Allen, A. Preis, M. Iqbal, H. Lim,
TOA. and A. Whittle, Wavelet-based burst event detection
The feasibility of the proposed method has been veried and localization in water distribution systems, Journal
and tested on live WDS with real leaks. In addition, to im- of Signal Processing Systems, pp. 116, 2011.
prove the TDOA estimation and localization performance, [14] D. Misiunas, M. Lambert, A. Simpson, and G. Olsson,
the proposed method would require more accurate network Burst detection and location in water distribution net-
model and implement more sophisticated algorithm to solve works, Water Science & Technology: Water Supply,
the multi-path phenomenon. vol. 5, no. 3, pp. 7180, 2005.
REFERENCES
[1] EPA, Distribution system inventory, integrity and wa-
ter quality, 2007.