Pipeline leakage positioning method and device, medium and equipment

By performing Fourier transform and wavelet packet decomposition on the pressure pulsation signals at both ends of the upstream and downstream of the pipeline, the characteristic frequency bands are determined and segmented, the problem of insufficient positioning accuracy of pipeline leakage in the prior art is solved, and higher positioning accuracy is achieved.

CN119532649AActive Publication Date: 2025-02-28JINAN SPECIAL EQUIP INSPECTION & RES INST
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510107820.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-02-28
Estimated Expiration
2045-01-23

AI Technical Summary

Technical Problem

In the prior art, the accuracy of pipeline leakage positioning is poor, mainly due to the lack of effective signals, which leads to insufficient accuracy of cross-correlation analysis.

Method used

By obtaining the pressure pulsation signals at both ends of the upstream and downstream of the pipeline, fast Fourier transform and wavelet packet decomposition are performed, characteristic frequency bands are determined and segmented, and finally the leakage point position is determined based on cross-correlation analysis.

Benefits of technology

The accuracy of pipeline leakage positioning is improved, and by highlighting the effective information in the signal, the frequency band range with the maximum amplitude in the cross-correlation analysis process is narrowed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119532649A_ABST
    Figure CN119532649A_ABST
Patent Text Reader

Abstract

The invention discloses a pipeline leakage positioning method and device, a medium and equipment, and relates to the technical field of pipeline leakage positioning. According to the method, pressure pulsation signals at the upstream end and the downstream end of the pipeline are obtained firstly, then the pressure pulsation signals at the two ends are converted into frequency domain data from time domain data, segmentation is carried out through wavelet packet decomposition to obtain more detailed local frequency information, and on the basis, the maximum amplitude is used as a feature selection basis; and taking the frequency band with the maximum amplitude as a characteristic frequency band at the upstream end and the downstream end, further segmenting the characteristic frequency band according to the maximum amplitude based on a preset segmentation range to obtain three characteristic sub-frequency bands, and finally performing cross-correlation analysis on the corresponding frequency bands or characteristic sub-frequency bands at the upstream end and the downstream end one by one. The frequency band range with the maximum amplitude in the cross-correlation analysis process is narrowed, effective information in the signals is highlighted, and therefore the accuracy of leakage point positioning through cross-correlation analysis is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pipeline leakage locating, and in particular to a pipeline leakage locating method, device, medium and equipment. Background Art

[0002] At present, pipeline transportation has the characteristics of large transportation volume and low transportation cost. However, due to the long-term burial of pipelines, they will suffer varying degrees of wear, corrosion, aging and other damage, leading to various forms of leakage. If the location of the leak cannot be found in time, it will cause a lot of property losses, pollute the environment, and pose a safety hazard to people's living environment. Therefore, it is particularly important to detect whether the pipeline is leaking, accurately locate the leaking position of the pipeline, improve the efficiency of identifying the location of the pipeline fault, and accurately locate the leak of the pipeline.

[0003] In the prior art, in recent years, a solution for locating pipeline leaks through cross-correlation analysis has been proposed. When a pipeline leaks, a specific sound wave or vibration will be generated at the leak point and propagate in the pipeline. Based on this, cross-correlation analysis can be performed on the signals collected at different positions of the pipeline to determine the time delay between the sound wave signals received at different positions, thereby locating the pipeline leak point.

[0004] However, compared with the large number of collected signals, the effective signals are often not prominent enough, so the accuracy of leak point positioning based on cross-correlation analysis is poor. Summary of the invention

[0005] Based on this, it is necessary to provide a pipeline leakage locating method, device, medium and equipment to address the above technical problems.

[0006] The present invention adopts the following technical solutions:

[0007] The present invention provides a pipeline leakage locating method, comprising:

[0008] Obtain the pressure pulsation signals at both ends of the pipeline, and perform fast Fourier transform on the pressure pulsation signals at both ends to obtain the corresponding frequency domain signals;

[0009] Perform wavelet packet decomposition on the frequency domain signals corresponding to the pressure pulsation signals at both ends, determine the number of decomposition layers of the wavelet packet decomposition and the frequency bands obtained by the decomposition, and obtain the frequency bands with the maximum amplitude as the characteristic frequency bands at the upstream and downstream ends;

[0010] The characteristic frequency bands at both ends of the upstream and downstream are segmented according to the maximum amplitude based on the preset segmentation range to obtain three characteristic sub-frequency bands; the characteristic frequency bands at both ends of the upstream and downstream are replaced with the corresponding three characteristic sub-frequency bands respectively;

[0011] By performing cross-correlation analysis on the frequency bands or characteristic sub-bands corresponding to the upstream and downstream ends, the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline is obtained to determine the location of the pipeline leakage.

[0012] Optionally, the characteristic frequency bands at both ends of the upstream and downstream are segmented according to the maximum amplitude based on a preset segmentation range to obtain three characteristic sub-frequency bands, specifically including:

[0013] The characteristic frequency bands at both ends of the upstream and downstream are segmented according to the preset segmentation range by the following formula to obtain multiple sub-frequency bands: , ;

[0014] The effective sub-band with the maximum amplitude in the characteristic bands at both ends of the upstream and downstream is determined from each sub-band by the following formula: ;

[0015] Merge the sub-frequency bands before the effective sub-frequency band in the characteristic frequency bands at both ends of the upstream and downstream, and merge the sub-frequency bands after the effective sub-frequency band to obtain three corresponding characteristic sub-frequency bands;

[0016] In the formula, It is the characteristic frequency band with the largest amplitude at both upstream and downstream ends. is the starting frequency of the characteristic frequency band, is the end frequency of the characteristic frequency band, is the total number of sub-bands, It is the effective sub-band with the maximum amplitude in the characteristic frequency bands at both ends of the upstream and downstream. is the local maximum amplitude of the jth sub-band.

[0017] Optionally, the characteristic frequency bands at both ends of the upstream and downstream are segmented according to the maximum amplitude based on a preset segmentation range to obtain three characteristic sub-frequency bands, specifically including:

[0018] The characteristic frequency bands at both ends of the upstream and downstream are segmented according to the maximum amplitude based on the preset segmentation range to obtain three characteristic sub-bands through the following formula:

[0019] Characteristic sub-band 1: (n, f max -100);

[0020] Characteristic sub-band 2: (f max -100, f max +100);

[0021] Characteristic sub-band 3: (f max +100, n+p);

[0022] in, is the starting frequency of the characteristic frequency band with the largest amplitude at both upstream and downstream ends, is the end frequency of the characteristic frequency band with the maximum amplitude at both upstream and downstream ends, f max is the frequency corresponding to the maximum amplitude.

[0023] Optionally, cross-correlation analysis is performed on frequency bands or characteristic sub-frequency bands corresponding to the upstream and downstream ends to obtain the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline to determine the location of the pipeline leakage, specifically including:

[0024] Decomposing the frequency bands or characteristic sub-bands corresponding to the upstream and downstream ends one by one through the empirical wavelet filter bank to obtain the time domain signals corresponding to the frequency bands or characteristic sub-bands respectively at the upstream and downstream ends;

[0025] Performing correlation analysis on the waveforms of the time domain signals corresponding to each frequency band or each characteristic sub-frequency band in the upstream and the time domain signals corresponding to each frequency band or each characteristic sub-frequency band in the downstream to obtain the time domain signals corresponding to the frequency band / characteristic sub-frequency band with the highest upstream and downstream correlation;

[0026] Perform cross-correlation analysis on the time domain signals corresponding to the frequency bands / characteristic sub-frequency bands with the highest upstream and downstream correlations, and obtain the maximum correlation coefficient of the pressure pulsation signals at both ends of the pipeline and the corresponding propagation delay time of the leakage point signal;

[0027] The location of the leak point in the pipeline is determined based on the propagation delay time of the leak point signal corresponding to the maximum mutual correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline, the distance between the sensors used to collect the pressure pulsation signals at the upstream and downstream ends of the pipeline, and the propagation speed of the pulsation signal.

[0028] The present invention provides a pipeline leakage locating device, comprising:

[0029] An acquisition module is used to acquire pressure pulsation signals at both ends of the pipeline, and perform fast Fourier transform on the pressure pulsation signals at both ends to obtain corresponding frequency domain signals;

[0030] A decomposition module is used to perform wavelet packet decomposition on the frequency domain signals corresponding to the pressure pulsation signals at both ends, determine the number of decomposition layers of the wavelet packet decomposition and the frequency bands obtained by the decomposition, and obtain the frequency bands with the maximum amplitude as the characteristic frequency bands at the upstream and downstream ends;

[0031] A segmentation module is used to segment the characteristic frequency bands at both ends of the upstream and downstream into three characteristic sub-frequency bands according to the maximum amplitude based on the preset segmentation range; and replace the characteristic frequency bands at both ends of the upstream and downstream with the corresponding three characteristic sub-frequency bands respectively;

[0032] The analysis module is used to perform cross-correlation analysis on the frequency bands or characteristic sub-bands corresponding to the upstream and downstream ends to obtain the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline to determine the location of the pipeline leakage.

[0033] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the pipeline leakage locating method described above is implemented.

[0034] The present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the pipeline leakage locating method when executing the computer program.

[0035] At least one of the above technical solutions adopted by the present invention can achieve the following beneficial effects:

[0036] The present invention first obtains the pressure pulsation signals at both ends of the upstream and downstream of the pipeline, then converts the pressure pulsation signals at both ends from time domain data to frequency domain data, and performs segmentation through wavelet packet decomposition to obtain more detailed local frequency information. Based on this, the maximum amplitude is used as the feature selection basis, and the frequency band with the maximum amplitude is used as the characteristic frequency band at both ends of the upstream and downstream. The characteristic frequency band is further segmented according to the maximum amplitude based on a preset segmentation range to obtain three characteristic sub-frequency bands, and finally, the frequency bands or characteristic sub-frequency bands corresponding to the upstream and downstream ends are cross-correlated analyzed one by one, which narrows the frequency band range with the maximum amplitude in the cross-correlation analysis process, highlights the effective information in the signal, and thus improves the accuracy of leak point positioning based on cross-correlation analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0038] Figure 1 A schematic flow chart of a pipeline leakage locating method provided by the present invention;

[0039] Figure 2 A schematic diagram of pipeline leakage location provided by the present invention;

[0040] Figure 3 A schematic diagram of effective frequency band extraction provided by the present invention;

[0041] Figure 4 A schematic diagram of a pipeline leakage locating device provided by the present invention;

[0042] Figure 5A schematic diagram of a computer device for implementing a pipeline leakage locating method provided by the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0044] Several methods for pipeline leak detection have been proposed. For example, the use of machine learning and other technologies to identify the characteristics of leaks for positioning. Although these methods can process complex data and have strong adaptability, they often require a large amount of data to train the model, which places high demands on the computing power of the equipment and has high investment costs. In addition, there are also schemes for locating pipeline leaks through cross-correlation analysis. However, compared with the large number of signals collected, the effective signals are often not prominent enough, so the accuracy of cross-correlation analysis in locating leaks is poor.

[0045] The technical solutions provided by various embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0046] Figure 1 The present invention is a flow chart of a pipeline leakage location method, which specifically includes the following steps:

[0047] S101: Obtain pressure pulsation signals at both ends of the pipeline, and perform fast Fourier transform on the pressure pulsation signals at both ends to obtain corresponding frequency domain signals.

[0048] S102: performing wavelet packet decomposition on the frequency domain signals corresponding to the pressure pulsation signals at both ends, determining the number of decomposition layers of the wavelet packet decomposition and the frequency bands obtained by the decomposition, and obtaining the frequency bands with the maximum amplitude as the characteristic frequency bands at the upstream and downstream ends.

[0049] S103: Segment the characteristic frequency bands at both ends of the upstream and downstream respectively according to the maximum amplitude and based on the preset segmentation range to obtain three characteristic sub-frequency bands; and replace the characteristic frequency bands at both ends of the upstream and downstream with the corresponding three characteristic sub-frequency bands respectively.

[0050] S104: performing cross-correlation analysis on the frequency bands or characteristic sub-frequency bands corresponding to the upstream and downstream ends to obtain the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline to determine the location of the pipeline leakage.

[0051] For the convenience of explanation, the following description is only based on the server as the execution subject. The server mentioned in the present invention can be a server set up on the business platform, or a device such as a desktop computer, a notebook computer, etc. that can execute the solution of the present invention.

[0052] When locating the pipeline leakage position, sensors are usually installed upstream and downstream of the pipeline to receive the pressure pulsation signal of the leakage sound propagating along the pipeline, and perform cross-correlation analysis to determine the time lag of the pressure pulsation signal at both ends. Combined with the propagation speed of sound, the leakage point can be located, such as Figure 2 As shown, Figure 2 The figure is a schematic diagram of pipeline leakage location in the present invention.

[0053] Based on this, in one or more embodiments of the present invention, the server may first obtain the pressure pulsation signals at the upstream and downstream ends of the pipeline, and perform fast Fourier transform (FFT) on the pressure pulsation signals at both ends to obtain corresponding frequency domain signals, and obtain the total frequency band frequency domain signal diagram of the two ends.

[0054] Then, the empirical wavelet transform (EWT) is used to decompose the signal of each collected result to obtain the corresponding decomposition layer and frequency band, and the λτωη-π method is used to extract effective features. Specifically, the characteristic frequency band B h Further segmentation, and based on the maximum amplitude, the characteristic frequency band B h Divided into three characteristic sub-bands.

[0055] In one or more embodiments of the present invention, when the server segments the characteristic frequency bands at both ends of the upstream and downstream to obtain three characteristic sub-frequency bands according to the maximum amplitude based on the preset segment range, the reference Figure 3 , Figure 3 A schematic diagram of effective frequency band extraction in the present invention.

[0056] The characteristic frequency bands at both ends of the upstream and downstream can be segmented according to the preset segmentation range by the following formula to obtain multiple sub-frequency bands: , .

[0057] In the formula, It is the characteristic frequency band with the largest amplitude at both upstream and downstream ends. is the starting frequency of the characteristic frequency band, is the end frequency of the characteristic frequency band, is the total number of sub-bands.

[0058] Afterwards, each sub-band can be f i and the local maximum amplitude S of the corresponding sub-bandi ( f ) as the calculation index, calculate the effective sub-band i ATF , used for pipeline leak location, each sub-band f i and the local maximum amplitude S of the corresponding sub-band i ( f ) and B h The maximum amplitude S iMAX ( f ) is expressed as follows:

[0059] ;

[0060]

[0061] In the formula, f i For each frequency band after dividing the pipeline into frequency bands, The maximum amplitude corresponding to each frequency band.

[0062] Then, the valid sub-band containing the maximum amplitude in the characteristic bands at both ends of the upstream and downstream is determined from each sub-band by the following formula: .

[0063] In the formula, It is the effective sub-band with the maximum amplitude in the characteristic frequency bands at both ends of the upstream and downstream. For the j The local maximum amplitude of the sub-band.

[0064] Finally, the sub-bands before the effective sub-band in the characteristic bands at both ends of the upstream and downstream are merged, and the sub-bands after the effective sub-band are merged to obtain three corresponding characteristic sub-bands.

[0065] In addition, in one or more embodiments of the present invention, the characteristic frequency bands at the upstream and downstream ends may be segmented according to the maximum amplitude based on a preset segmentation range to obtain three characteristic sub-frequency bands using the following formula:

[0066] Characteristic sub-band 1: (n, f max -100);

[0067] Characteristic sub-band 2: (f max -100, f max +100);

[0068] Characteristic sub-band 3: (f max +100, n+p).

[0069] In the formula, is the starting frequency of the characteristic frequency band with the largest amplitude at both upstream and downstream ends, is the end frequency of the characteristic frequency band with the maximum amplitude at both upstream and downstream ends, f max is the frequency corresponding to the maximum amplitude.

[0070] Finally, in the corresponding decomposition layers and frequency bands obtained by EWT wavelet packet decomposition, the characteristic frequency bands at the upstream and downstream ends are replaced by the corresponding three characteristic sub-frequency bands, and the corresponding frequency bands or characteristic sub-frequency bands at the upstream and downstream ends are cross-correlated, and the maximum cross-correlation coefficient of the pressure pulsation signal at the upstream and downstream ends of the pipeline is obtained to determine the location of the pipeline leakage. That is, the characteristic frequency band B h After processing, three characteristic sub-bands are obtained. Each characteristic band or characteristic sub-band is cross-correlated and analyzed to obtain the maximum cross-correlation coefficient of the pressure pulsation signal at both ends of the pipeline. , combined with the speed of sound propagation, calculate the delay time τ 0 Finally, the location of the pipeline leak is determined by the formula for the location of the pipeline leak point.

[0071] For cross-correlation analysis, the principle is to solve the cross-correlation function to obtain the delay time of the leakage point signal reaching the sensors at both ends. Therefore, the delay time of the leakage point signal is equivalent to the position where the pressure pulsation signals at the upstream and downstream ends have the highest correlation, that is, the time corresponding to the peak position of the cross-correlation function.

[0072] Specifically, the frequency bands or characteristic sub-bands corresponding to the upstream and downstream ends can be first decomposed by the empirical wavelet filter group to obtain the time domain signals corresponding to the frequency bands or characteristic sub-bands at the upstream and downstream ends. Then, the waveforms of the time domain signals corresponding to the upstream frequency bands or characteristic sub-bands are correlated with the waveforms of the time domain signals corresponding to the upstream frequency bands or characteristic sub-bands and the downstream frequency bands or characteristic sub-bands are correlated to obtain the time domain signals corresponding to the frequency bands / characteristic sub-bands with the highest correlation between the upstream and downstream. Then, the cross-correlation analysis is performed based on the two time domain signals with the highest correlation between the upstream and downstream ends to obtain the maximum correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline and the corresponding leakage point signal propagation delay time. Therefore, the location of the leakage point in the pipeline is determined based on the leakage point signal propagation delay time corresponding to the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline, the distance between the sensors used to collect the pressure pulsation signals at the upstream and downstream ends of the pipeline, and the pulsation signal propagation speed.

[0073] Among them, the correlation analysis refers to the correlation analysis of the amplitude waveform of the time domain graph of the time domain signal corresponding to each upstream frequency band or characteristic sub-band and the time domain signal corresponding to each downstream frequency band or characteristic sub-band. If the time domain signal amplitude waveforms of two sub-bands are the most similar, it can be said that the two sub-bands have the maximum correlation coefficient. The time domain signals corresponding to the two frequency bands / characteristic sub-bands with the maximum correlation coefficient are used for subsequent cross-correlation analysis.

[0074] For example, suppose the time domain signals corresponding to the upstream and downstream ends of a pipeline in a certain frequency band or a certain characteristic sub-frequency band are and , its mathematical model is as follows: ; .

[0075] In the formula, It is the leakage point signal. When the pressure in the pipe and the size of the leakage point remain unchanged, it can be considered as a stable process. α is the attenuation factor; τ is the delay time, ms; , For environmental noise.

[0076] Assume that the leakage point signal and the environmental noise are both zero-mean and uncorrelated random signals. and They are also unrelated signals. The correlation function of the leakage point signal separated from the limited integration time T is as follows: , In the formula, is the cross-correlation function, T is the sampling time, is the delay time corresponding to the maximum cross-correlation function.

[0077] After the correlation analysis, the time domain signals corresponding to the two frequency bands / characteristic sub-frequency bands with the maximum correlation can be obtained. At this time, the cross-correlation analysis is performed to obtain the maximum cross-correlation coefficient of the pressure pulsation signals at both ends of the pipeline. Generally, the maximum correlation coefficient is often obtained from the time domain signal corresponding to the characteristic sub-frequency band located in the middle of the three characteristic sub-frequency bands at both ends of the pipeline. Therefore, the pipeline leak can be further located based on the maximum cross-correlation coefficient of the pressure pulsation signals at both ends of the pipeline.

[0078] The present invention first collects the pressure pulsation signals at both ends of the pipeline, and the signals are fast Fourier transformed by the set sampling rate and analysis time to obtain frequency domain signals. The signal of each collected result is decomposed by wavelet packet using EWT to obtain the corresponding decomposition layer number and frequency band. The effective frequency band i is extracted by the pipeline leakage location method based on λτωη-π to extract effective features. ATF, in the corresponding decomposition levels and frequency bands obtained by EWT wavelet packet decomposition, the previous frequency band B h After being divided into three sub - frequency bands, cross - correlation analysis is performed on each frequency band / sub - frequency band to obtain the maximum cross - correlation coefficient of the pressure pulsation signals at both ends of the upstream and downstream of the pipeline. Combining with the sound propagation speed, the delay time τ is calculated. 0 After that, the leakage location of the pipeline is determined through the formula for the leakage point location of the water supply pipeline.

[0079] Based on Figure 1 The pipeline leakage location method shown above, the present invention first obtains the pressure pulsation signals at both ends of the upstream and downstream of the pipeline, then converts the pressure pulsation signals at both ends from time - domain data to frequency - domain data, and performs segmentation through wavelet packet decomposition to obtain more detailed local frequency information. Based on this, taking the maximum amplitude as the feature selection basis, the frequency band with the maximum amplitude is used as the characteristic frequency band at both ends of the upstream and downstream, and the characteristic frequency band is further segmented according to the maximum amplitude based on a preset segmentation range to obtain three characteristic sub - frequency bands. Finally, cross - correlation analysis is performed on each corresponding frequency band or each characteristic sub - frequency band at both ends of the upstream and downstream, narrowing the frequency band range with the maximum amplitude in the cross - correlation analysis process, highlighting the effective information in the signal, and thus improving the accuracy of leakage point location based on cross - correlation analysis.

[0080] When applying the pipeline leakage location method provided by the present invention, it is not necessary to execute according to Figure 1 the order of each step shown. The specific execution order of each step can be determined according to needs, and the present invention does not limit this.

[0081] The above is the pipeline leakage location method provided by one or more embodiments of the present invention. Based on the same idea, the present invention also provides a corresponding pipeline leakage location device, as Figure 4 shown.

[0082] Figure 4 The following is a schematic diagram of a pipeline leakage location device provided by the present invention, including:

[0083] An acquisition module 201, configured to acquire the pressure pulsation signals at both ends of the upstream and downstream of the pipeline, and perform fast Fourier transform on the pressure pulsation signals at both ends respectively to obtain the corresponding frequency - domain signals;

[0084] A decomposition module 202, configured to perform wavelet packet decomposition on the frequency - domain signals corresponding to the pressure pulsation signals at both ends respectively, determine the decomposition levels of the wavelet packet decomposition and each frequency band obtained by the decomposition, and respectively obtain the frequency band with the maximum amplitude as the characteristic frequency band at both ends of the upstream and downstream;

[0085] The segmentation module 203 is used to segment the characteristic frequency bands at both ends of the upstream and downstream respectively according to the maximum amplitude based on the preset segmentation range to obtain three characteristic sub-frequency bands; and replace the characteristic frequency bands at both ends of the upstream and downstream with the corresponding three characteristic sub-frequency bands respectively;

[0086] The analysis module 204 is used to perform cross-correlation analysis on the frequency bands or characteristic sub-frequency bands corresponding to the upstream and downstream ends to obtain the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline to determine the location of the pipeline leakage.

[0087] The specific definition of the pipeline leakage locating device can be found in the definition of the pipeline leakage locating method above, which will not be repeated here. Each module in the above pipeline leakage locating device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0088] The present invention also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 Provides a pipeline leak location method.

[0089] The present invention also provides Figure 5 The structural diagram of the computer device shown in FIG. Figure 5 As shown in the figure, at the hardware level, the computer device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Provides a pipeline leak location method.

[0090] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0091] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present invention.

Claims

1. A pipeline leakage locating method, characterized in that: include: Obtain the pressure pulsation signals at both ends of the pipeline, and perform fast Fourier transform on the pressure pulsation signals at both ends to obtain the corresponding frequency domain signals; Perform wavelet packet decomposition on the frequency domain signals corresponding to the pressure pulsation signals at both ends, determine the number of decomposition layers of the wavelet packet decomposition and the frequency bands obtained by the decomposition, and obtain the frequency bands with the maximum amplitude as the characteristic frequency bands at the upstream and downstream ends; The characteristic frequency bands at both ends of the upstream and downstream are segmented according to the maximum amplitude based on the preset segmentation range to obtain three characteristic sub-frequency bands; the characteristic frequency bands at both ends of the upstream and downstream are replaced with the corresponding three characteristic sub-frequency bands respectively; By performing cross-correlation analysis on the frequency bands or characteristic sub-bands corresponding to the upstream and downstream ends, the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline is obtained to determine the location of the pipeline leakage.

2. The pipeline leakage locating method according to claim 1, characterized in that: The characteristic frequency bands at both ends of the upstream and downstream are segmented according to the maximum amplitude based on the preset segment range to obtain three characteristic sub-frequency bands, including: The characteristic frequency bands at both ends of the upstream and downstream are segmented according to the preset segmentation range by the following formula to obtain multiple sub-frequency bands: , ; The effective sub-band with the maximum amplitude in the characteristic bands at both ends of the upstream and downstream is determined from each sub-band by the following formula: ; Merge the sub-frequency bands before the effective sub-frequency band in the characteristic frequency bands at both ends of the upstream and downstream, and merge the sub-frequency bands after the effective sub-frequency band to obtain three corresponding characteristic sub-frequency bands; in, It is the characteristic frequency band with the largest amplitude at both upstream and downstream ends. is the starting frequency of the characteristic frequency band, is the end frequency of the characteristic frequency band, is the total number of sub-bands, It is the effective sub-band with the maximum amplitude in the characteristic frequency bands at both ends of the upstream and downstream. For the j The local maximum amplitude of the sub-band.

3. The pipeline leakage locating method according to claim 1, characterized in that: The characteristic frequency bands at both ends of the upstream and downstream are segmented according to the maximum amplitude based on the preset segment range to obtain three characteristic sub-frequency bands, including: The characteristic frequency bands at both ends of the upstream and downstream are segmented according to the maximum amplitude based on the preset segmentation range to obtain three characteristic sub-bands through the following formula: Characteristic sub-band 1: (n, f max -100); Characteristic sub-band 2: (f max -100, f max +100); Characteristic sub-band 3: (f max +100, n+p); in, is the starting frequency of the characteristic frequency band with the largest amplitude at both upstream and downstream ends, is the end frequency of the characteristic frequency band with the maximum amplitude at both upstream and downstream ends, f max is the frequency corresponding to the maximum amplitude.

4. The pipeline leakage locating method according to claim 1, characterized in that: According to the cross-correlation analysis of the corresponding frequency bands or characteristic sub-frequency bands at the upstream and downstream ends, the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline is obtained to determine the location of the pipeline leakage, including: Decomposing the frequency bands or characteristic sub-bands corresponding to the upstream and downstream ends one by one through the empirical wavelet filter bank to obtain the time domain signals corresponding to the frequency bands or characteristic sub-bands respectively at the upstream and downstream ends; The waveforms of the time domain signals corresponding to each frequency band or characteristic sub-frequency band of the upstream and the time domain signals corresponding to each frequency band or characteristic sub-frequency band of the downstream are respectively analyzed for correlation, so as to obtain the time domain signals corresponding to the frequency band / characteristic sub-frequency band with the highest upstream and downstream correlation.

5. The pipeline leakage locating method according to claim 4, characterized in that: Determining the location of the pipeline leakage specifically includes: performing cross-correlation analysis on the time domain signals corresponding to the frequency bands / characteristic sub-frequency bands with the highest upstream and downstream correlations, obtaining the maximum correlation coefficient of the pressure pulsation signals at both ends of the pipeline upstream and downstream and the corresponding propagation delay time of the leakage point signal; The location of the leak point in the pipeline is determined based on the propagation delay time of the leak point signal corresponding to the maximum mutual correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline, the distance between the sensors used to collect the pressure pulsation signals at the upstream and downstream ends of the pipeline, and the propagation speed of the pulsation signal.

6. A pipeline leakage locating device, characterized in that: include: An acquisition module is used to acquire pressure pulsation signals at both ends of the pipeline, and perform fast Fourier transform on the pressure pulsation signals at both ends to obtain corresponding frequency domain signals; A decomposition module is used to perform wavelet packet decomposition on the frequency domain signals corresponding to the pressure pulsation signals at both ends, determine the number of decomposition layers of the wavelet packet decomposition and the frequency bands obtained by the decomposition, and obtain the frequency bands with the maximum amplitude as the characteristic frequency bands at the upstream and downstream ends; A segmentation module is used to segment the characteristic frequency bands at both ends of the upstream and downstream into three characteristic sub-frequency bands according to the maximum amplitude based on the preset segmentation range; and replace the characteristic frequency bands at both ends of the upstream and downstream with the corresponding three characteristic sub-frequency bands respectively; The analysis module is used to perform cross-correlation analysis on the frequency bands or characteristic sub-bands corresponding to the upstream and downstream ends to obtain the maximum cross-correlation coefficient of the pressure pulsation signals at the upstream and downstream ends of the pipeline to determine the location of the pipeline leakage.

7. A computer-readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

8. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 5 when executing the computer program.

Citation Information

Patent Citations

  • Modal acoustic emission time-frequency locating method adopting single sensor for fluid pipeline

    CN105627107A

  • Pipeline leakage detection method and device

    CN106247173A

  • Desert buried pipeline monitoring system and method based on optical fiber vibration and temperature test

    CN113819401A

  • Detecting precise location of leak at pipeline or ground surface, uses acoustic receiver to record and compares series of noise-related measurements at various positions

    DE102005033491A1

  • Seat and seal assembly for valves

    US3497177A