This invention discloses a
gas pipeline leak location method based on
wavelet packet transform and coherence function, comprising the following steps: for the characteristic frequency range of the acquired
signal, by calculating the coherence function between signals, a frequency range greater than a threshold is selected as the
effective frequency bandwidth; the acquired leak sound
signal is decomposed into multiple scales using
wavelet packet transform, and based on the
effective frequency bandwidth, appropriate frequency components are selected for reconstruction to obtain the
target signal; the cross-
correlation function between the target functions is calculated to extract time
delay information, and the influence of temperature on the propagation speed of the leak sound
signal is considered and corrected; the leak point is located by combining the time
delay, thus improving the accuracy of leak location. According to this invention, the signal-to-
noise ratio of the signal is effectively improved, and it is applied to the problem of locating
gas pipeline leak points in complex environmental conditions. Combined with the corrected propagation speed of the leak sound signal, the accuracy of locating
gas pipeline leak points is improved, which is of great significance to urban public safety.