Leakage detection method and system based on voiceprint feature extraction and mode recognition
By installing a rotatable acoustic fingerprint sensor on the outer periphery of the pipeline and combining it with multi-dimensional acoustic fingerprint feature analysis, the problem of accurate positioning in pipeline leak detection in existing technologies has been solved, enabling accurate identification of circumferential and axial leaks in pipelines and improving detection accuracy and response speed.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-05
- Publication Date
- 2026-04-03
Smart Images

Figure CN121782531A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of leakage detection technology, and in particular to a leakage detection method and system based on voiceprint feature extraction and pattern recognition. Background Technology
[0002] With the widespread application of industrial pipeline systems, pipeline leakage has become a crucial issue for ensuring safety and reducing operating costs. Traditional pipeline leak detection methods mainly rely on physical measurement means such as visual inspection, pressure sensors, and temperature sensors. However, these methods have drawbacks such as untimely detection, high false negative rates, and difficulty in accurately locating the leak.
[0003] In recent years, acoustic methods have been widely studied and applied in pipeline leak detection. Utilizing the propagation characteristics of sound waves, acoustic fingerprint sensors can monitor sound signals inside and outside pipelines in real time, and infer the location of leaks by analyzing changes in these signals. Existing acoustic fingerprint detection technologies mainly focus on capturing sound signals by deploying multiple sensors on the pipeline; however, the accuracy and response speed of these methods still need improvement.
[0004] Most existing acoustic signature detection methods employ static sensor deployment, where sensors are fixed to the pipe to collect acoustic signature signals. While this method can detect leaks to some extent, the complex environment of the pipeline and the attenuation of the acoustic signal result in low accuracy in locating the leak point. Furthermore, current technologies rely primarily on data from a single sensor for acoustic signature signal analysis, neglecting the multipath effect during sound wave propagation and interference from the surrounding environment, thus limiting the application scope of leak detection methods. They typically only provide a general leak location and cannot achieve precise circumferential positioning. Summary of the Invention
[0005] Therefore, this invention provides a leak detection method and system based on voiceprint feature extraction and pattern recognition, which can accurately identify the location of leak points, especially leaks in the circumferential direction of pipelines, thereby significantly improving the accuracy and response speed of leak detection.
[0006] In a first aspect, the present invention provides a leakage detection method based on voiceprint feature extraction and pattern recognition, comprising:
[0007] A first acoustic fingerprint sensor that can rotate circumferentially along the pipeline is installed on the outer periphery of the pipeline, and a second acoustic fingerprint sensor covering the pipeline within the detection range is installed within the target range.
[0008] The first and second acoustic fingerprint sensors are used to synchronously collect acoustic fingerprint sequences and extract acoustic fingerprint features that include at least energy, spectrum and time-frequency envelope. When the acoustic fingerprint features meet the preset leakage criteria relative to the reference features under leak-free conditions, the leakage location along the pipe path is determined, and an alarm signal is issued and a leakage scan is triggered.
[0009] For the pipeline corresponding to the first acoustic sensor, a leak scan is performed: the first acoustic sensor is driven to rotate circumferentially along the pipeline at a preset angular step size, and the acoustic sequence of the first and second acoustic sensors is collected at each angular step position. The acoustic features are extracted, and the leak location along the pipeline is determined based on the changes in acoustic features at different angular step positions.
[0010] The leak location along the pipeline path and the leak location along the circumferential direction of the pipeline are output as the leak detection results.
[0011] The determination of the leak location along the pipeline path includes:
[0012] By using the reception times of the acoustic signals from the first and second acoustic sensors that meet the leakage criteria, the distances between the two sensors and the leakage point are determined based on the reception times. Based on the distances between the two sensors and the leakage point, as well as the pipeline layout, the leakage location along the pipeline path is obtained.
[0013] As a preferred technical solution for a leak detection method based on voiceprint feature extraction and pattern recognition, multiple first voiceprint sensors are arranged at intervals along the pipe path. When the specific location of the leak point along the pipe path is determined, the first voiceprint sensor closest to the leak point is selected, and the first voiceprint sensor is controlled to perform the leak scan.
[0014] As a preferred technical solution for a leak detection method based on acoustic signature feature extraction and pattern recognition, determining the leak location along the circumferential direction of the pipeline based on acoustic signature feature changes at different angle steps specifically includes:
[0015] The energy change of each corner position relative to the previous corner position is determined along a clockwise or counterclockwise direction. The corner position with the largest increase in energy change is selected as the leakage point along the circumferential direction of the pipeline.
[0016] As a preferred technical solution for a leak detection method based on voiceprint feature extraction and pattern recognition, the method of determining the leak location along the circumferential direction of the pipeline based on the voiceprint feature changes at different corner positions specifically includes: pre-calibrating the corner positions corresponding to the leak point under different leak degrees and different leak locations, and the voiceprint feature change sequence library of a preset number of corner positions before and after, and using the voiceprint feature changes at different corner positions and the voiceprint feature change sequence library to determine the leak location along the circumferential direction of the pipeline.
[0017] As a preferred technical solution for a leak detection method based on voiceprint feature extraction and pattern recognition, the preset angle step size is determined based on the pipe diameter and the leak detection accuracy, and the preset angle step size is positively correlated with the pipe diameter.
[0018] As a preferred technical solution for a leak detection method based on voiceprint feature extraction and pattern recognition, in the leak scanning process, the voiceprint acquisition is performed after the first voiceprint sensor reaches any corner step position.
[0019] As a preferred technical solution for the leakage detection method based on voiceprint feature extraction and pattern recognition, the preset leakage criterion satisfies any one of the following:
[0020] The energy change of the voiceprint sequence collected by the first or second voiceprint sensor exceeds the standard within any time window.
[0021] The frequency offset between the spectral features extracted by the first or second voiceprint sensor and the reference features exceeds the standard.
[0022] The time-frequency envelope of the voiceprint feature is distorted, and the distortion continues for more than a preset time window.
[0023] During the leak detection process, any acoustic sensor collects an acoustic sequence that matches the acoustic features corresponding to the leak.
[0024] On the other hand, the present invention provides a leak detection system based on voiceprint feature extraction and pattern recognition, applied to the leak detection method based on voiceprint feature extraction and pattern recognition described in any of the above-mentioned schemes, comprising:
[0025] The voiceprint acquisition module includes several first voiceprint sensors and second voiceprint sensors;
[0026] The control module, in response to the identification of a preset leakage criterion, controls the corresponding first acoustic sensor to perform a leakage scan;
[0027] The location module locates the leak point along the pipeline path and along the circumferential direction of the pipeline, and outputs the leak detection results.
[0028] Compared with existing technologies, the advantages of this invention lie in its ability to solve the problem of accurately locating leaks using a single sensor in traditional technologies by combining the collaborative work of acoustic fingerprint sensors at different locations. Compared with existing pipeline leak detection methods, this invention offers higher detection accuracy, real-time response capability, and precise identification of circumferential and axial leaks in pipelines. By setting circumferentially rotating acoustic fingerprint sensors around the outer perimeter of the pipeline, this invention can accurately measure the location of leak points, effectively reducing leak location errors, especially in complex pipeline environments. Through the analysis of multi-dimensional acoustic fingerprint features, combined with preset leak criteria, the reliability and accuracy of leak detection are further improved.
[0029] Furthermore, by arranging the first acoustic signature sensor around the periphery of the pipe, allowing it to rotate circumferentially along the pipeline, and cooperating with the second acoustic signature sensor to cover the pipe within the target area, this invention utilizes the complementary acoustic signature signals collected by the two sensors, maximizing the accuracy of leak detection. The first acoustic signature sensor, by rotating and covering the circumferential range, can collect acoustic signature characteristics at various circumferential positions of the pipe in real time, avoiding positioning errors caused by uneven sensor placement or external environmental interference. The second acoustic signature sensor can collect the leak sound field outside the pipe, compensating for the limitation of the first acoustic signature sensor in not being able to acquire external signals. Through this collaborative working method, this invention can provide comprehensive leak information, thereby accurately determining the location and distribution of leaks.
[0030] Furthermore, by setting clear criteria for changes in voiceprint features, including analysis of multiple dimensions such as energy changes, spectral shifts, and distortion of the time-frequency envelope, the occurrence of leakage can be determined more accurately. Leakage detection is immediately triggered when abnormal changes occur in the characteristics of the voiceprint signal. Compared to traditional methods that rely on only a single feature or a fixed threshold to determine leakage, the multi-feature analysis method of this invention is more flexible and accurate. Through multi-dimensional analysis of energy, spectrum, and time-frequency envelope, this invention can detect changes in different degrees of leakage, adapting to a wider range of practical application scenarios, especially providing higher sensitivity and reliability for the early detection of weak leaks in complex environments.
[0031] In particular, by setting a circumferentially rotatable first acoustic signature sensor, precise circumferential positioning of the leak point along the pipeline can be achieved. In traditional technologies, the leak point can usually only be located in a certain area of the pipeline, making it difficult to determine its specific circumferential location. This invention accurately identifies the circumferential location of the leak point by real-time analysis of acoustic signature changes at various angular positions and combining this with changes in energy amplification. Specifically, the acoustic signature sensor continuously collects signals along different angles of the pipeline during rotation, and by comparing the changes in acoustic signature characteristics at different angular positions, the specific circumferential location of the leak point is determined. This circumferential positioning method significantly improves the spatial resolution of leak detection, ensuring precise location of the leak point. Attached Figure Description
[0032] Figure 1 This is a flowchart of the leakage detection method based on voiceprint feature extraction and pattern recognition according to the present invention;
[0033] Figure 2 This is a structural block diagram of the leak detection system based on voiceprint feature extraction and pattern recognition of the present invention. Detailed Implementation
[0034] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.
[0035] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0036] It should be noted that in the description of this invention, the terms "upper", "lower", "left", "right", "inner", "outer", etc., which indicate the direction or positional relationship, are based on the direction or positional relationship shown in the drawings. This is only for the convenience of description and is not intended to indicate or imply that the device or element must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation of this invention.
[0037] Furthermore, it should be noted that, in the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0038] Please see Figure 1 As shown, this embodiment provides a leakage detection method based on voiceprint feature extraction and pattern recognition, including:
[0039] Step S1: A first acoustic fingerprint sensor that can rotate circumferentially along the pipeline is set on the outer periphery of the pipeline, and a second acoustic fingerprint sensor covering the pipeline within the detection range is set within the detection range.
[0040] Step S2: Simultaneously collect acoustic pattern sequences using the first and second acoustic pattern sensors, extract acoustic pattern features including at least energy, spectrum and time-frequency envelope, and when the acoustic pattern features satisfy the preset leakage criteria relative to the reference features under leak-free conditions, determine the leakage location along the pipe path, and issue an alarm signal and trigger a leakage scan.
[0041] Step S3: Perform a leak scan on the pipeline corresponding to the first acoustic sensor: drive the first acoustic sensor to rotate circumferentially along the pipeline at a preset angular step size, collect the acoustic sequence of the first and second acoustic sensors at each angular step position, extract the acoustic features, and determine the leak location along the pipeline circumferentially based on the changes in acoustic features at different angular step positions.
[0042] Step S4: Output the leak detection results as the leak location along the pipeline path and the leak location along the circumferential direction of the pipeline.
[0043] In detail, in this embodiment, the first voiceprint sensor is configured as a MEMS sensor. MEMS (Micro-Electro-Mechanical Systems) sensors, through miniaturization technology combined with acoustic wave sensing technology, can efficiently capture acoustic signals and convert them into electrical signals for processing. They are also easy to move and adaptable to the working scenarios of the first voiceprint sensor. The second voiceprint sensor is used for detection over a wider range, especially for sound waves propagating in the air. Therefore, the second voiceprint sensor needs to have strong far-field detection capabilities and resistance to environmental noise. In this embodiment, a condenser microphone or an electret microphone is chosen.
[0044] For the rotational configuration of the first acoustic sensor, the first acoustic sensor and the pulley are integrated and mounted on a ring track that is pre-fixed circumferentially in the pipeline. A motor that drives the pulley is configured on the track to realize the movement control of the first acoustic sensor.
[0045] Specifically, determining the location of the leak along the pipeline path includes:
[0046] By analyzing the reception times of acoustic signals from the first and second acoustic sensors that meet the leakage criteria, the distances between these sensors and the leak point are determined. Based on these distances and the pipeline layout, the leak location along the pipeline path is obtained. Specifically, when a pipeline leak occurs, the resulting acoustic waves are simultaneously collected by the first and second acoustic sensors inside and outside the pipeline. The sensors precisely synchronize their signal acquisition, and time-domain analysis determines the exact time each sensor receives the leak acoustic signal. Since the speed of sound is finite, the different signal reception times of the sensors provide crucial information for leak location. Based on the distances between the acoustic sensors and the leak point, and the pipeline layout, the relative positions of the two sensors and the leak point can be combined to determine the specific axial position of the leak point along the pipeline. The position of the leak point relative to the sensors is calculated based on the distance difference and the known sensor coordinates. Using triangulation algorithms or related geometric derivations, combined with the physical layout of the pipeline, the axial position of the leak point along the pipeline is precisely determined.
[0047] Specifically, multiple first acoustic fingerprint sensors are arranged at intervals along the pipe path. When the leak point is determined, the first acoustic fingerprint sensor closest to the leak point is selected, and the first acoustic fingerprint sensor is controlled to perform a leak scan.
[0048] This embodiment provides two different methods for determining the location of the leak along the circumferential direction of the pipeline.
[0049] The first determination method includes:
[0050] The energy change at each corner position relative to the previous corner position is determined along a clockwise or counterclockwise direction. The corner position with the largest increase in energy change is selected as the leak location along the circumferential direction of the pipeline. Specifically, the first method determines the specific location of the leak along the circumferential direction of the pipeline by analyzing the energy change of the acoustic signature signals at different corner positions. The specific operation involves first collecting data by gradually rotating around the pipeline in a clockwise or counterclockwise direction according to a preset corner step length. At each corner position, the first and second acoustic signature sensors respectively collect the acoustic wave signals generated by the pipeline leak. The acoustic signature characteristics at each corner position will show different energy changes. By comparing the energy value changes of adjacent corner positions, the energy change at each corner position can be calculated.
[0051] Leakage points are typically accompanied by significant energy fluctuations. Therefore, the circumferential location along the pipeline can usually be identified at the corner where the energy change is increasing and the increase is the largest. Specifically, if the energy change at a certain corner is significantly higher than at the preceding and following corners, it indicates that the energy of the leaking sound wave is concentrated at that location, and its energy increase is the largest. In this case, that corner is the circumferential location of the leak. Simple energy change analysis can quickly and accurately locate the leak point, especially suitable for situations where the sound wave energy generated by the leak changes significantly.
[0052] The second determination method includes: pre-calibrating a database of acoustic signature change sequences for the leak point's corresponding corner positions and a predetermined number of corner positions before and after it (four in this embodiment, i.e., the two corner positions before and the two corner positions after the corresponding corner position) under different leakage degrees and locations. The acoustic signature change sequences at different corner positions are then compared with this database to determine the leak location along the circumferential direction of the pipeline. Specifically, in the initial stage of the pipeline leak detection system, a database of acoustic signature change sequences for different leakage degrees and locations is established through extensive experimental data and simulation tests. This database records the acoustic signature changes of each leak point location at different corner positions and several corner positions before and after it, including features such as energy changes, spectral shifts, and time-domain waveform distortion.
[0053] During actual detection, when the first and second acoustic fingerprint sensors acquire real-time acoustic fingerprint features, the system compares these features with data stored in the acoustic fingerprint feature change sequence library. The specific comparison process involves matching the acoustic fingerprint features at the real-time acquisition of the corner position with the feature changes at the corresponding leak location and degree in the library. Through this matching, the system can accurately determine the most matching feature change sequence in the real-time data and map the matching result to the specific location of the leak. It can perform precise matching based on the previously established feature library, providing higher accuracy in leak location for different types and degrees of leaks, and is particularly suitable for detecting complex or weak leaks.
[0054] Specifically, the preset angle step size is determined based on the pipe diameter and the leak detection accuracy, and is positively correlated with the pipe diameter. It should be understood that during pipe leak detection, the angle step size directly affects the detection resolution and coverage. When the pipe diameter is large, the leakage signal distribution range is also wide; therefore, to ensure sufficient detection accuracy, a smaller angle step size is needed to improve the spatial resolution of each acquisition. Conversely, for smaller diameter pipes, a larger angle step size is sufficient to provide adequate accuracy, thereby increasing detection speed. By setting the angle step size positively correlated with the pipe diameter, the size of the angle step size can be flexibly adjusted according to the actual pipe size. For example, for larger diameter pipes, a smaller angle step size ensures that the data acquired with each rotation is sufficiently detailed; while for smaller pipes, the angle step size can be appropriately increased to reduce the number of rotations and improve detection efficiency.
[0055] Based on the above embodiments, in order to avoid motion interference, during the leakage scanning process, the acoustic fingerprint acquisition is performed after the first acoustic fingerprint sensor reaches any corner step position.
[0056] Specifically, the default leakage criterion is to satisfy any one of the following:
[0057] The energy change of the voiceprint sequence collected by the first or second voiceprint sensor exceeds the standard within any time window.
[0058] The frequency offset between the spectral features extracted by the first or second voiceprint sensor and the reference features exceeds the standard.
[0059] The time-frequency envelope of the voiceprint features is distorted, and the distortion continues to exceed the preset time window range;
[0060] During leak detection, any acoustic sensor collects an acoustic sequence that matches the acoustic characteristics corresponding to the leak. It should be understood that the excessive energy change, the excessive frequency offset between the spectral characteristics and the reference characteristics, the distortion lasting longer than the preset time window range, and the acoustic characteristics corresponding to the leak are all calibrated using empirical data under leak conditions. A leak is considered to exist in the pipeline if any one of these conditions is met. This is a standard setting for those skilled in the art and will not be elaborated further here.
[0061] On the other hand, this embodiment also provides a leakage detection system based on voiceprint feature extraction and pattern recognition, and a leakage detection method based on voiceprint feature extraction and pattern recognition applied to any of the above schemes, including:
[0062] The voiceprint acquisition module includes several first voiceprint sensors and second voiceprint sensors;
[0063] The control module, in response to the identification of a preset leakage criterion, controls the corresponding first acoustic sensor to perform a leakage scan;
[0064] The location module locates the leak point along the pipeline path and along the circumferential direction of the pipeline, and outputs the leak detection results.
[0065] In the above embodiments, the control module is electrically connected to the motor to control the movement of the first acoustic sensor.
[0066] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.
[0067] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention; various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A leakage detection method based on voiceprint feature extraction and pattern recognition, characterized in that, include: A first acoustic fingerprint sensor that can rotate circumferentially along the pipeline is installed on the outer periphery of the pipeline, and a second acoustic fingerprint sensor covering the pipeline within the detection range is installed within the target range. The first and second acoustic fingerprint sensors are used to synchronously collect acoustic fingerprint sequences and extract acoustic fingerprint features that include at least energy, spectrum and time-frequency envelope. When the acoustic fingerprint features meet the preset leakage criteria relative to the reference features under leak-free conditions, the leakage location along the pipe path is determined, and an alarm signal is issued and a leakage scan is triggered. For the pipeline corresponding to the first acoustic sensor, a leak scan is performed: the first acoustic sensor is driven to rotate circumferentially along the pipeline at a preset angular step size, and the acoustic sequence of the first and second acoustic sensors is collected at each angular step position. The acoustic features are extracted, and the leak location along the pipeline is determined based on the changes in acoustic features at different angular step positions. The leak location along the pipeline path and the leak location along the circumferential direction of the pipeline are output as the leak detection results.
2. The leakage detection method based on voiceprint feature extraction and pattern recognition according to claim 1, characterized in that, The determination of the leak location along the pipeline path includes: By using the reception times of the acoustic signals from the first and second acoustic sensors that meet the leakage criteria, the distances between the two sensors and the leakage point are determined based on the reception times. Based on the distances between the two sensors and the leakage point, as well as the pipeline layout, the leakage location along the pipeline path is obtained.
3. The leakage detection method based on voiceprint feature extraction and pattern recognition according to claim 2, characterized in that, Multiple first acoustic fingerprint sensors are arranged at intervals along the pipe path. When the leak point is determined, the first acoustic fingerprint sensor closest to the leak point is selected, and the first acoustic fingerprint sensor is controlled to perform the leak scan.
4. The leakage detection method based on voiceprint feature extraction and pattern recognition according to claim 3, characterized in that, The determination of the leak location along the circumferential direction of the pipeline based on the changes in acoustic signature characteristics at different angle step positions specifically includes: The energy change of each corner position relative to the previous corner position is determined along a clockwise or counterclockwise direction. The corner position with the largest increase in energy change is selected as the leakage point along the circumferential direction of the pipeline.
5. The leakage detection method based on voiceprint feature extraction and pattern recognition according to claim 3, characterized in that, The method of determining the leakage location along the circumferential direction of the pipeline based on the changes in acoustic signature characteristics at different corner positions specifically includes: pre-calibrating the acoustic signature change sequence library of the corner positions corresponding to the leakage point under different leakage degrees and different leakage locations, and the acoustic signature change sequence library of the corner positions before and after a preset number of corner positions, and using the acoustic signature change changes at different corner positions and the acoustic signature change sequence library to determine the leakage location along the circumferential direction of the pipeline.
6. The leakage detection method based on voiceprint feature extraction and pattern recognition according to claim 1, characterized in that, The preset angle step size is determined based on the pipe diameter and the leak detection accuracy, and the preset angle step size is positively correlated with the pipe diameter.
7. The leakage detection method based on voiceprint feature extraction and pattern recognition according to claim 1, characterized in that, In the leakage scanning process, the acoustic fingerprint acquisition is performed after the first acoustic fingerprint sensor reaches any corner step position.
8. The leakage detection method based on voiceprint feature extraction and pattern recognition according to claim 1, characterized in that, The preset leakage criterion is to satisfy any one of the following: The energy change of the voiceprint sequence collected by the first or second voiceprint sensor exceeds the standard within any time window. The frequency offset between the spectral features extracted by the first or second voiceprint sensor and the reference features exceeds the standard. The time-frequency envelope of the voiceprint feature is distorted, and the distortion continues for more than a preset time window. During the leak detection process, any acoustic sensor collects an acoustic sequence that matches the acoustic features corresponding to the leak.
9. A leak detection system based on voiceprint feature extraction and pattern recognition, applied to the leak detection method based on voiceprint feature extraction and pattern recognition as described in any one of claims 1-8, characterized in that, include: The voiceprint acquisition module includes several first voiceprint sensors and second voiceprint sensors; The control module, in response to the identification of a preset leakage criterion, controls the corresponding first acoustic sensor to perform a leakage scan; The location module locates the leak point along the pipeline path and along the circumferential direction of the pipeline, and outputs the leak detection results.