A utility provider may install and maintain infrastructure to provide utility services to its customers. For example, a water utility provider may implement a fluid distribution system to distribute water to its customers. Metering devices may be utilized by the utility provider to determine consumption of the provided utility (e.g., water, electricity, gas, etc.). The utility provider may implement various devices or computing nodes throughout the fluid distribution system to monitor the status of the fluid distribution system. However, due to the rapidly escalating costs of potable water, the scarcity of fresh water supplies, the increasing costs for water treatment and distribution, and the potential for costly damage to subsurface infrastructure, minimizing leaks in water distribution systems is a goal of both public and private water distribution utilities. If a leak is not particularly conspicuous, it may go undetected for months at a time without repair. It is therefore important to be able to detect leaks early.
Several techniques for leak detection currently exist, however, more utility providers are utilizing leak detection systems utilizing acoustic monitoring to perform leak detection. These acoustic monitoring systems are good screening tools for detecting widespread corrosion and wall loss, they are non-intrusive, and generally they are low cost. However, current techniques utilizing acoustic monitoring require large amounts of data to be sent through a data network, affecting battery life at each computing node. Considering energy and data requirements, acoustic monitoring solutions may increase the cost of operations throughout the system.
It is to be understood that this summary is not an extensive overview of the disclosure. This summary is exemplary and not restrictive, and it is intended to neither identify key or critical elements of the disclosure nor delineate the scope thereof. The sole purpose of this summary is to explain and exemplify certain concepts of the disclosure as an introduction to the following complete and extensive detailed description.
The present disclosure relates to collecting and analyzing data in a fluid distribution system. According to some aspects, a method for receiving and analyzing data for a distribution pipe network within a fluid distribution system comprises collecting a first node first acoustic data set and a first node second acoustic data set from a first node and collecting a second node first acoustic data set and a second node second acoustic data set from a second node of the fluid distribution system. Then the first node first acoustic data set and the first node second acoustic data set are aggregated. The second node first acoustic data set and the second node second acoustic data set are then aggregated for a plurality of samples based on a synchronization error range. Further, a plurality of correlation signals between each first node acoustic data set and each second node acoustic data set for the synchronization error range is calculated. Finally, the method comprises determining a time correction based on a correlation signal with a maximum strength of the plurality of correlation signals.
According to further aspects, a system for receiving and analyzing data for a distribution pipe network within a fluid distribution system comprises a plurality of nodes and a computing host in communication with the plurality of computing nodes. The plurality of nodes are in communication with the fluid distribution system and configured to acquire acoustic data in the fluid distribution system. The computing host is in communication with the fluid distribution system and configured to collect a first node first acoustic data set and a first node second acoustic data set from a first node of the plurality of nodes, collect a second node first acoustic data set and a second node second acoustic data set from a second node of the plurality of nodes, aggregate the first node first acoustic data set and the first node second acoustic data set, aggregate the second node first acoustic data set and the second node second acoustic data set for a plurality of samples based on a synchronization error range, calculate a plurality of correlation signals between each first node acoustic data set and each second node acoustic data set from the second node for the synchronization error range, and determine a time correction based on a correlation signal with a maximum strength of the plurality of correlation signals.
According to further aspects, a non-transitory computer-readable storage medium stores instructions that, when executed by a processing resource, cause the processing resource to perform steps. The first step comprises collecting a first node first acoustic data set and a first node second acoustic data set from a first node and collecting a second node first acoustic data set and a second node second acoustic data set from a second node of the fluid distribution system. Then the first node first acoustic data set and the first node second acoustic data set are aggregated. The second node first acoustic data set and the second node second acoustic data set are then aggregated for a plurality of samples based on a synchronization error range. Further, a plurality of correlation signals between each first node acoustic data set and each second node acoustic data set for the synchronization error range is calculated. Finally, the last step comprises determining a time correction based on a correlation signal with a maximum strength of the plurality of correlation signals.
These and other features and aspects of the various aspects will become apparent upon reading the following Detailed Description and reviewing the accompanying drawings. Furthermore, other examples are described in the present disclosure. It should be understood that the features of the disclosed examples can be combined in various combinations. It should also be understood that certain features can be omitted while other features can be added.
In the following Detailed Description, references are made to the accompanying drawings that form a part hereof, and that show, by way of illustration, specific aspects or examples. Any illustrated connection pathways in block and/or circuit diagrams are provided for purposes of illustration and not of limitation, and some components and/or interconnections may be omitted for purposes of clarity. The drawings herein are not drawn to scale. Like numerals represent like elements throughout the several figures.
Various implementations are described below by referring to several examples of collecting and analyzing acoustic data in a fluid distribution system. In examples, the water utility provider may deploy devices (nodes) across the fluid distribution system to collect data relating to the network of pipes. One concern for water utility companies is the loss of water through leaks in the pipes. Not only do leaks waste clean potable water, but sometimes contaminants may be introduced into the water supply from outside the pipes. Leaking pipes may also cause damage to surrounding areas. Thus, the acoustic data collected by the nodes may be analyzed to detect leaks. Example implementations and variations are disclosed herein for analyzing data to detect leaks.
According to aspects described herein, as an acoustic propagation detection system is used to detect leaks in a given distribution pipe network, there are different factors and characteristics that are learned about the pipe network including the different soils, tuberculated pipes, incorrect data, and the like, that affect the efficacy of detecting leaks. Thus, there is a need to create a model capable of adapting through learning from discovered leaks; the model determines statistically which frequency ranges (sub-bands) are more sensitive to acoustic energy of leaks for a given pipe network. Using this model, the system implements a correlation schedule using an alternating frequency sub-bands scheme, to maximize system's sensitivity to leaks. There is also a need for an acoustic monitoring system that utilizes more efficient data collection and transmission techniques (e.g. transmitting partial information with minimum performance degradation) in order to reduce the amount of data transmitted through the network. The present disclosure enables reliable leak detection for a fluid distribution system by implementing a correlation schedule based on a selection of frequency sub-bands to reduce the amount of data transmitted through the network. The present disclosure addresses a problem for high volume data collection from nodes by decomposing the signal information into multiple frequency sub-bands and selecting to transmit more frequently those frequency sub-bands which are more sensitive to acoustic energy from leaks for a given distribution pipe network. According to aspects described herein, the system may prioritize those sub-bands that are more sensitive to leaks for a given pipe network, where a key aspect of the processes and systems described herein is then determining how to select those more important frequency sub-bands and transmit those bands more frequently than others. It would be understood by one skilled in the art as a data traffic shaping problem.
According to further aspects described herein, data compression utilizing quantization, such as 1-bit quantization (may be also referred to as clipping compression), may be used by the nodes before sending the acoustic signals to a host. Further, the benefits of the present disclosure may provide lower power consumption of the nodes, lower overall cost of operations, and lower data collection cost due to the reduction of the amount of data collected by the nodes and analyzed by the nodes and/or a computing host.
According to further aspects described herein, the present disclosure enables aggregation of multiple acoustic data samples taken at distinct times and utilizing correlation techniques for leak detection. The method involves recording one short signal per session; these short signals captured over multiple sessions may be aggregated into a long signal. The processing gain of the correlation method is related to the length of the signals: longer signals provide a better signal-to-noise ratio, thus a better detection. A leak with a strong acoustic energy will likely be detected immediately using a short recording, while a weak acoustic source may require processing over multiple sessions and is reported with a delay. This intention thus fits with a typical operational profile of an acoustic propagation detection system for detecting leaks, as a large leak should be fixed as soon as possible, while a weak leak is likely to have less priority.
If each node has a near-perfect time reference (i.e. global positioning system (“GPS”)) then the signals may be aggregated directly. However, synchronization between nodes is not perfect and signal aggregation will require certain time corrections before aggregation. Data may also be reduced in size by filtering and compressing the data. Battery life of nodes for detecting leaks may be increased by reducing the frequency of data transmission sessions and the amount of transmitted data. These and other advantages will be apparent from the description that follows.
Generally,
As illustrated, the environment 100 comprises the fluid distribution system 110, which may further comprise various components such as pipes, hydrants, valve, couplers, corporation stops, metering devices, etc. Although illustrated as a pipe, it should be understood that the fluid distribution system 110 may be a plurality of pipes and/or pipe segments, such as pipes, hydrants, valves, couplers, corporation stops, metering devices, and the like, as well as suitable combinations thereof, and other fluid distribution system components connected together to form the fluid distribution system 110, of which the pipe is a portion.
Generally, the fluid distribution system 110 may be used to distribute fluids such as water to customers of a utility provider, for example. The fluid distribution system 110 may be partially or wholly subterraneous, or portions of the fluid distribution system 110 may be subterraneous, while other portions of the fluid distribution system 110 may be non-subterraneous (i.e., above ground). For example, a component of the fluid distribution system 110 may be partially or wholly subterraneous while another component (e.g., a hydrant, a valve, a testing device, etc.) connected to the first component and may be partially or wholly non-subterraneous. In other examples, the component may be partially subterraneous in that the component has portions exposed, such as to connect certain devices (e.g., computing nodes 150, a hydrant, a valve, a testing device, etc.) to the fluid distribution system 110.
The computing nodes 150 monitor certain aspects of the fluid distribution system 110 and/or aspects of a fluid flowing through the fluid distribution system 110, illustrated as fluid path 112 within the fluid distribution system 110. In examples, the computing nodes 150 can make direct contact with fluid path 112 within the fluid distribution system 110. In other examples, the computing nodes 150 are connected to a component of the fluid distribution system 110 and are not in contact with the fluid path 112. As illustrated in
The computing nodes 150 collect and analyze acoustic data concerning the fluid distribution system 110. For example, the computing nodes 150 may collect an acoustic data set synchronized with a known time reference for the purpose of detecting and locating a leak through correlation. The acoustic data set may be compressed before transmission. The acoustic data set may then be analyzed by computing host 120 to determine if a leak is present, compute a sub-band profile for a given pipe distribution network, determine and implement a sub-band correlation schedule, and/or aggregate multiple acoustic signals utilizing a correlator for leak detection.
As described below regarding
The dotted lines of
The communication hub 142 may include a precise time reference such as global positioning system (“GPS”) coordinates, and distributes the time information throughout the network. In other aspects, each computing node 150 may likewise include a time reference such as GPS coordinates. The computing nodes 150 collect and analyze acoustic data, as described herein. Each day, at specified times and periods, the computing nodes 150 may collect acoustic data and send information regarding the collected and analyzed data to the computing host 120.
The computing host 120 may comprise a processing resource 122 that represents generally any suitable type or form of processing unit or units capable of processing data or interpreting and executing instructions. The processing resource 122 may be one or more central processing units (CPUs), microprocessors, and/or other hardware devices suitable for retrieval and execution of instructions. The instructions may be stored, for example, on a memory resource, such as a computer-readable storage medium 330 of
Additionally, the computing host 120 may comprise an analysis engine 124 which is configured to analyze acoustic data received from the computing nodes 150. In examples, the engine(s) described herein may be a combination of hardware and programming. The programming may be processor executable instructions stored on a tangible memory, and the hardware may comprise processing resource 122 for executing those instructions. Thus a memory resource (not shown) can be said to store program instructions that when executed by the processing resource 122 implement the engines described herein. Other engines may also be utilized to include other features and functionality described in other examples herein.
Alternatively or additionally, the computing host 120 may comprise dedicated hardware, such as one or more integrated circuits, Application Specific Integrated Circuits (ASICs), Application Specific Special Processors (ASSPs), Field Programmable Gate Arrays (FPGAs), or any combination of the foregoing examples of dedicated hardware, for performing the techniques described herein. In some implementations, multiple processing resources (or processing resources utilizing multiple processing cores) may be used, as appropriate, along with multiple memory resources and/or types of memory resources.
The analysis engine 124 is configured to perform various analyses of the data received from the computing nodes 150. For example, each day, when the computing nodes 150 send information regarding the collected and analyzed data to the computing host 120, the computing host 120 analyzes the received data. Objectives of the analysis are to compute a sub-band profile for a given pipe distribution network, determine and implement a sub-band correlation schedule, and aggregate multiple acoustic signals utilizing a correlator for leak detection. The analysis engine 124 may determine adjacencies among the computing nodes 150 and perform correlation of the acoustic data for adjacent nodes (e.g., nodes within adjacencies). The correlation may include analyzing acoustic data received from adjacent nodes. According to some aspects, the correlation analysis may use any known method in the art. An exemplary correlation analysis is further described herein for method 1200,
Although not shown in
In examples, the computing node 250 may comprise various components, modules, engines, etc., such as a processor 210, a storage module 220, an acoustic data collection module 262, an acoustic data analysis module 264, an acoustic data compression module 266, and a communications module 268. The processor 210 may comprise one or more of a microcontroller unit (MCU), a digital signal processor (DSP), and other processing elements.
The storage module 220 may include flash memory, read-only memory (ROM), random access memory (RAM), or other types of memory. The storage module 220 may comprise a database for storing acoustic data collected by the acoustic data collection module 262. The database may include frequency bins for storing current acoustic data as well as historic data collected over several days. According to some aspects, the processor 210 may be configured to utilize the stored acoustic data to detect the presence or probability of leaks, bursts, or tampering activity.
The acoustic data collection module 262 may collect a first acoustic data during a first session at the computing node 250. The acoustic data collection module 262 also collects a second acoustic data during a second session at the computing node 250. The acoustic data may be collected using a sensor or sensors of the computing node 250. Although not illustrated, the computing node 250 may comprise a piezoelectric sensor, hydrophone, or other similar sensor to detect an acoustic signal. The acoustic signal is then collected by the acoustic data collection module 262 as acoustic data (e.g., first acoustic data, second acoustic data, etc.). According to further aspects, the acoustic data analysis module 264 may analyze the acoustic data by comparing the collected second acoustic data to reference acoustic data, as well as perform other data analysis on the acoustic data as described herein.
The acoustic data compression module 266 filters and compresses the collected acoustic data. The compressing may comprise clipping the amplitude of the raw acoustic data of an acoustic data recording to +1 for positive amplitude values and −1 for negative amplitude values. This compression may reduce the amount of bits required (e.g. each 16-bit raw sample becomes a 1-bit clipped sample, achieving a compression rate of 16:1, also known as 1-bit quantization).
The communication module 268 may transmit the acoustic data to the computing host (e.g., computing host 120 of
In the example shown in
For example, the compute sub-band profile for given pipe network instructions 332 may correspond to blocks 502-514 of
At block 502, the method 500A begins and comprises receiving data for a distribution pipe network for each pipe segment. A pipe segment may generally be referred two as a length of pipe between two computing nodes, such as computing nodes 150 of
Next, at block 504, the method 500A comprises determining the characteristic frequency range for each pipe segment based on pipe material and geometry. For example, a pipe segment is a length of pipe between two computing nodes and may comprise a certain known material (e.g. steel, ductile iron, cast iron, asbestos cement, and plastic) and geometry. According to some aspects, the system may look into the attributes of acoustic propagation and identify the coherent frequency bands. Further, according to some aspects, the propagation of acoustic waves in distribution pipes may be affected by several factors that are accounted for in the system, such as pipe material, wall thickness, diameter, length of the segment, and soil composition. Based on historical data, the coherent frequency bands corresponding to certain pipe material and geometry are known, e.g., diameter, wall thickness, length, and elastic properties.
To determine the characteristic frequency range for each pipe segment at block 504, the method may comprise determining how much energy is expected in a certain sub-band schema. According to some aspects, determining of the characteristic frequency range may comprise calculating the coherent energy of signals, and displaying the frequency range in a graphical form. According to some aspects, to calculate the coherent energy of signals, Bartlett's method (also known as the method of averaged periodograms), may be used. According to some aspects, Welch's method (an approach to spectral density estimation), or other known methods in the art, may be used to calculate coherence. Examples of graphs of coherent energy of signals that propagate between two computing nodes are illustrated in
According to some aspects, the coherence function represents how much of the energy in each frequency bin propagates to both sensors. When coherence is low (e.g., close to zero) than the specific frequency range may not be present on both locations. When coherence is high, the signals in this frequency range reach both sensors. Coherence is a useful metric to identify which frequency bands are propagating acoustic signals better than others in a given fluid distribution system. Thus, in the example shown in
According to some aspects, coherence may be calculated, and is defined by the following equation:
Where Coh is coherence, Cxy is the cross-spectral-density (CSD) or cross-spectrum, |Cxy(f)| is the magnitude of CSD, and Axx,Ayy are power spectral density (PSD), or auto spectrum, estimates. The auto-spectrum estimates (Axx,Ayy) may be calculated using method known in the art, such as Bartlett's or Welch's method of averaging periodograms. The periodogram is the magnitude of the discrete Fourier transform (DFT) of a portion of the signal (a frame), and may be defined the following equation:
where k is the frequency bin index, and N is the number of frames. According to some aspects, the cross-spectrum (Cxy) may be calculated as an average of the product of the DFTs of the x and y for each frame, and may be defined the following equation:
which is based on a cross-correlation theorem known in the art, where x is the signal recorded by a first sensor, y is the signal recorded by a second sensor, and k is the index of a frequency bin. Further, the frequency corresponding to bin k may be calculated with the following equation:
Where FS is the sampling frequency and DFT_SIZE is the number of frequency bins used by DFT. According to some aspects, the cross-correlation between two signals is equal to the product of a DFT of one signal multiplied by a complex conjugate of a DFT of another signal.
Referring back to
Referring back to
Referring back to
According to an exemplary aspect, a cast iron (“CI”) pipe network with a 6″ diameter may excite a middle frequency range between 200 to 800 Hertz (“Hz”). According to some aspects, leaks on service lines may excite the high frequency bands range of 500 to 1200 Hz. According to some aspects, an asbestos cement (“AC”) pipe network with a 12″ diameter may excite low frequency range 50 to 250 Hz. According to some aspects, a polyvinyl chloride (“PVC”) pipe network may excite a very low frequency range 10 to 200 Hz. Tuning the acoustic propagation detection system by determining a correlation schedule in this step (block 510) would benefit the system overall with either faster response times and/or provide a lower data footprint. An example of a correlation schedule utilized to maximize the acoustic propagation detection system's sensitivity to leaks is illustrated in
According to an exemplary aspect, as shown in
Referring back to
After the correlation schedule has been implemented at block 512 as described above, method 500A advances to block 514, which comprises updating the frequency range for each pipe segment utilizing new field data from the plurality of computing nodes, such as computing nodes 150 of
Additional processes also may be included, and it should be understood that the processes depicted in
At block 520, the method 500B begins and comprises initialization for each computing node by downloading the correlation schedule to each node from a source, such as a computing host. According to some aspects the initialization step (520) may comprise downloading a calendar schedule to describe a recurring collection pattern at each node. Once the schedule is downloaded, the node may operate autonomously until the schedule is changed. According to some aspects, a node may be notified of a schedule change through a push notification, or the like, or each node may be configured to periodically poll a host to determine a schedule change. According to some aspects the initialization step 520 may include triggering a new collection schedule and sending the collection parameters prior to implementing the collection schedule. The parameters for the next collection may be sent at the end of the previous collection to daisy-chain the sequence of operation.
The method 500B continues to block 714, at which point a time synchronization is performed at each node. A local real-time-clock (“RTC”) of the node may be synchronized with a reference time. According to some aspects, a local GPS receiver at each node may be used to sync the local time with the more accurate time of the GPS satellites. According to some aspects, a network beacon may be used to broadcast a time message within a specified time window. According to some aspects, each node may request a time sync from a network time server, e.g. a computing host, a remote and/or on-board GPS receiver, or other suitable device. The node clock may be synchronized to the reference time within a short time before acquisition. According to some aspects, the difference between the node clock and the reference time should not exceed ±10 milliseconds at the time of acquisition to ensure accurate location. According to some aspects, all nodes used to detect leaks may start acquiring data at the same time. In some aspects, it may be important that during acquisition the sampling frequency in all the nodes be substantially the same.
The method 500B continues and each node of the given pipe network records an acoustic signal starting at a specified time (block 524). According to some aspects, each node may start collecting at precisely the same acquisition time. According to some aspects, a maximum sampling rate may be used, e.g. 8 kHz.
The method 500B continues to block 526, where each node reads which sub-band to use for the data acquisition session from the correlation schedule/schema. The data acquisition session may include reading which sub-band will be processed and transmitted with the particular session being executed. According to some aspects, each node must use the same sub-band for the particular session. At block 528, each node may select the specific sub-band signal. After the specific sub-band signal is selected at block 528, each node may decimate the signal at block 530. The extraction and decimation of the specific sub-band signal (blocks 528 and 530) may comprise one of several different methodologies, of which, two methodologies are further described in the subsequent paragraphs.
According to some aspects, one methodology for the selection of the specific sub-band (block 528) and decimation of the specific signal (block 530) may comprise decomposing the signal into several symmetric sub-bands and select only the specified sub-band for the particular session. Symmetric sub-band decomposition may comprise breaking down the signal into two bands utilizing a low-pass filter to extract the lower frequency range, and a high-pass filter to extract the upper frequency range, resulting in two smaller halved signals, one including the low frequency range, while the other including the high frequency range. After the signal is split into two signals, each signal may be decimated by a factor of 2 (take every other sample) to reduce the file size. According to some aspects, due to smaller bandwidth, the information can be represented with a smaller sampling rate, therefore decimation may not cause loss of information. According to some aspects, this process of decomposition may be applied recursively to decompose the signal into multiple sub-bands, where the number sub-bands produced is a power of 2. For example, after decimation of each signal, those two signals may be each divided again by the same process splitting the original signal into now four signals. The process may continue to break down each resulting signal in half until a predetermined sized output sub-band is accomplished from the sub-band decomposition process.
According to an exemplary aspect of symmetric sub-band decomposition, a signal with a sampling rate of 8 kHz may be decomposed into 8 bands. The maximum representable frequency range is half the sampling frequency, thus 4 kHz. After the sub-band decomposition the original signal will be decomposed into 8 sub-bands of 500 Hz each. Subsequent decimation, the selected sub-band of 500 Hz may be encoded with a 1 kHz sampling rate (instead of the original 8 kHz), which may reduce the file size by a factor of 8. An example of symmetric sub-band decomposition is illustrated in
According to some aspects, another methodology for the selection of the specific sub-band (block 528) and decimation of the specific signal (block 530) may comprise applying a pass-band filter to retain the desired energy in the specific sub-band, and apply frequency shifting, filtering, and decimation of the signal. An example of frequency sub-band selection utilizing frequency shifting, filtering, and decimation of a signal is illustrated in
Referring back to
A computing node (e.g., nodes 150 of
According to some aspects, other quantization methods known in the art may be used to compress the signal at block 532. According to some aspects, one quantization method that may be used is a non-linear pulse code modulation (“PCM”) utilizing Standard G.711 or Standard G.726, for example. These methods compress the raw data (usually 16-bit) into fewer bits (8 or 4) using a nonlinear function. Standard G.726 uses adaptive differential pulse code modulation (“ADPCM”). According to some aspects, the adaptive mechanism of ADPCM may be modified using an optimal sub-band correlation schedule tuned to a given pipe network, as described herein.
According to some aspects, one quantization method that may be used is differential pulse code modulation (“DPCM”), or absolute pulse code modulation (“APCM”). DPCM may encode the difference between two successive samples as may be expected that local differences are small. According to some aspects, the nonlinear function of using DPCM or APCM may be aggressive (e.g., 16-bit compressed into 1-bit through clipping).
According to some aspects, filtering and compressing of the raw acoustic data occurs at the node (e.g., nodes 150 of
After the selected sub-band signal is compressed at block 532, method 500B advances to block 534, which comprises transmitting each compressed signal from each node to the computing host (e.g., computing host 120 of
After correlation pairs are determined at block 538, method 500B advances to block 539, which comprises signal reconstruction. One methodology for a signal reconstruction scheme is symmetric sub-band reconstruction. With this scheme, each received sub-band is interpolated, where the sampling frequency of the signal is doubled by inserting zero samples in between the original samples, then an interpolation filter is applied. Then the interpolated signals are combined by direct summation. Since the signal was compressed at the transmitter with a nonlinear law, the inverse of this law will be applied to expand the dynamic range. Thus, a dynamic range expander (“DRE”) will be applied as a first step of the signal reconstruction process. An example symmetric sub-band reconstruction scheme is illustrated in
Referring back to
At block 1502, the method 1500 begins and comprises receiving acoustic data from two computing nodes for a pipe segment of a distribution pipe network for two data acquisition sessions. According to some aspects, block 1502 may be represented as: “Session 1 (Ch1+Ch2) and Session 2 (Ch1+Ch2),” where Ch1 represents a first computing node, and Ch2 represents a second computing node.
Next, the method 1500 advances to block 1504, which comprises aggregating acoustic data from the first computing node. According to some aspects, block 1502 may be represented as: “CH1A=(Session 1+Session 2).” An example of aggregating acoustic data for a computing node is illustrated in
SNR=α√{square root over (NSAMPLES)}
where α is a proportional width.
If each node has a near-perfect time reference (i.e. GPS) then the system can aggregate each signal from the two nodes directly. According to some aspects, near-perfect time means time error is less than 100 us. However, according to an exemplary aspect, synchronization between nodes is not near-perfect time, therefore the system needs to correct for time errors before aggregation for the second computing node (block 1506). According to some aspects, it may be expected to have errors up to 20 milliseconds; thus, according to an exemplary aspect, the synchronization error range is from −20 milliseconds to 20 milliseconds, with a sampling rate 0.1 milliseconds. After the acoustic data is aggregated from the first computing node at block 1504, the method 1500 advances to block 1506, which comprises aggregating acoustic data from the second computing node for all possible time errors (e.g. a synchronization error range). According to some aspects, block 1506 may be represented as: “CH2A=(Session 1+Session 2).”
According to some aspects, a sound from a leak source may arrive at the first computing node after dt1 and at the second computing node after dt2. The true time difference between channel 1 and channel 2 (computing node 1 and computing node 2), Δt, may be represented by the equation:
Δt=dt1−dt2.
For the first session, there may be a time error, errT1. Thus, the difference between channel 1 and channel 2 for the first session, Δt1, may be represented by the equation:
Δt1=dt1−dt2−errT1.
For the second session, there may be a time error, errT2, thus the difference between channel 1 and channel 2 for the second session, Δt2, may be represented by the equation:
Δt2=dt1−dt2−errT2.
Time correction (“TimeCorr”) may then be calculated by computing the difference between each time error (errT1 and errT2) or the difference between the differences of each channel for each session (Δt1 and Δt2), and may be represented by the equation:
TimeCorr=Δt1−Δt2=errT1−errT2
According to aspects described herein, the system may search for the best time correction (TimeCorr) by shifting channel 2 of session 2 one sample time at a time. The search may be conducted over the entire time synchronization error range (e.g. time synchronization error range of ±20 ms). According to some aspects, the sampling time may vary depending on the type of pipe material (e.g. steel, ductile iron, cast iron, asbestos cement, and plastic), and the acoustic propagation detection system used. Examples of aggregating acoustic data for the second computing node for all possible time errors are illustrated in
Referring back to
According to some aspects, a correlation signal may be analyzed to determine the presence of a leak and provide a general estimation of where the leak is located. Correlation may occur as part of a daily analysis process, initiated by a system user request, or as part of system-wide correlation. For example, according to some aspects, leak detection may not capture all leak conditions; therefore, a periodic system-wide correlation scan may be required. The periodic system-wide correlation scan may include a host which collects all synchronized acoustic data sets from a site at a given time and analyses of all adjacency pairs. According to some aspects, an operator may request a correlation between a pair of computing nodes to confirm a leak or maintenance purpose. A single correlation pair signifies two nodes to be correlated together, and the correlation result is the data generated from analyzing a correlation signal between the correlation pair. The correlation signal is calculated by cross-correlating the synchronized data sets received from a pair of computing nodes. The cross-correlation is a similarity test between two discrete signals that can be expressed as a sliding dot-product according to the formula:
where a and b are the two discrete signals, comprised of L samples each, and corr is the computed cross-correlation signal comprised of 2MCD+1 samples. Maximum correlation domain (“MCD”) is a correlation domain limit that represents the upper or lower bound of the correlation domain expressed in number of samples. To ensure a comprehensive analysis, the correlation domain shall include the maximum expected time-delay DTMAX.
The maximum expected time-delay DTMAX is determined by the ratio of the distance between the nodes dab to the speed of sound c in the pipe system. The resulting time shall be multiplied by the sampling frequency Fs to compute the corresponding number of samples. In some embodiments, the correlation domain limit MCD is chosen as a power of two larger than the maximum expected time-delay DTMAXFs.
The cross-correlation signal corr[k] at index k indicates how similar is one signal when compared to the other one shifted by k samples. If a leak occurs, it will produce an acoustic signal that shall propagate through the pipe system and excite both sensors with a similar pattern. The leak signals will reach each sensor with a certain time delay, dependent on the pipe geometry and the speed of sound in the pipe system. For a certain shift k, the two signals are expected to align and the cross-correlation shall present a significant maximum. The location of the cross-correlation maximum represents the time delay for which the two acoustic signals are best aligned. This information is essential for both leak detection and leak location purpose. It is well known that the cross-correlation function can be implemented efficiently through a frequency domain transformation by using a fast Fourier transform algorithm. In addition, certain filters and processors may be applied to sharpen the cross-correlation peak.
According to some aspects, the leak detection process may be based on detecting a peak in the cross-correlation signal. If the peak occurs at the time delay within a prescribed interval and the ratio between the peak value and the root-mean-squared (“RMS”) value exceeds a detection threshold, then a point-of-interest is indicated. A point-of-interest indicates the presence of an acoustic source between two nodes which may be caused by a leak. The detection threshold is based on statistical properties of noise to discriminate a true acoustic source from background noise. In some embodiments, a six-sigma band is considered for establishing the detection threshold. The position of the strongest cross-correlation peak represents the time delay between the two acoustic signals and it can be used in conjunction with the distance between the nodes and the predicted speed of sound in the pipe system to locate the possible leak. A maximum expected time-delay is determined by the ratio of the distance between the nodes to the speed of sound. The maximum expected time-delay serves as a check to determine whether a data anomaly exists. In other words, since the distances between nodes and the speed of sound are both known, they allow calculation of an expected delay, which can be compared to the delay indicated by the correlation signal. If the delay indicated by that signal exceeds the expected delay, a data anomaly may be present.
Finally, after calculating a plurality of correlation signals for a synchronization error range by correlating synchronized acoustic data sets from a pair of nodes to produce a corresponding correlation signal for each sample at a given sample rate (block 1508), at block 1510, the method 1500 comprises selecting the correlation signal with a maximum strength as a time correction and terminates. An example of selecting the correlation signal with a maximum strength as the correct time correction is illustrated in
It should also be understood that conditional language, such as, among others, “can,” “could,” “might,” or “may,” unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain examples comprise, while other examples do not comprise, certain features, elements and/or steps. Thus, such conditional language is not generally intended to imply that features, elements, and/or steps are in any way required for one or more particular examples or that one or more particular examples necessarily comprise logic for deciding, with or without user input or prompting, whether these features, elements and/or steps are included or are to be performed in any particular example.
It should be emphasized that the above-described examples are merely possible examples of implementations and set forth for a clear understanding of the present disclosure. Many variations and modifications may be made to the above-described examples without departing substantially from the spirit and principles of the present disclosure. Further, the scope of the present disclosure is intended to cover any and all appropriate combinations and sub-combinations of all elements, features, and aspects discussed above. All such appropriate modifications and variations are intended to be included within the scope of the present disclosure, and all possible claims to individual aspects or combinations of elements or steps are intended to be supported by the present disclosure.