A method and system for locating leakage in a pipe network

Through the simultaneous sampling and data transmission of sensors of the LoRa module and 4G/5G module, combined with the leakage identification and positioning algorithm of the cloud server, the problems of small leakage detection range, high cost and poor positioning accuracy in the water supply pipeline network are solved, and the detection of pipeline leakage is realized. Precise positioning and efficient monitoring.

CN118309942BActive Publication Date: 2024-10-01ANHUI ZHIBO PHOTOELECTRIC TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410717131.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-01
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

In the existing technology, the leakage detection range of the water supply pipeline network is small, the cost is high, and the positioning accuracy is poor, making it impossible to accurately locate pipeline leaks.

Method used

Sensors using LoRa modules and 4G/5G modules are used for synchronous sampling and data transmission. Through the leakage identification and positioning algorithm of the cloud server, the precise positioning and intuitive display of pipeline leakage points are achieved.

Benefits of technology

It achieves high-precision positioning of pipeline leaks, reduces construction costs, improves detection efficiency and accuracy, and facilitates the monitoring and repair of large-scale urban pipeline networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118309942B_ABST
    Figure CN118309942B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for locating leakage in a pipeline network, which belongs to the field of pipeline network leakage locating. Through the leakage identification algorithm, simultaneous and large-scale leakage monitoring of the pipeline to be tested is realized, and the main sensor with pipeline leakage points is preliminarily screened out; through the LoRa module and 4G / 5G module of the main sensor and the auxiliary sensor, synchronous sampling and wireless transmission of data between sensors are realized; through the leakage locating algorithm, the leakage data collected by the main sensor and the auxiliary sensor only need leakage locating calculation, which can realize the accurate positioning of the leakage position of the pipeline to be tested, and intuitively display it on the display interface of the cloud server, so that the positioning of the pipeline leakage point is more accurate, convenient and intuitive.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of pipe network leakage locating, and in particular to a pipe network leakage locating method and system. Background Art

[0002] In the prior art, in response to the problem of water supply network leakage, various units have adopted technologies such as listening rods, related instruments, and smart water meters to monitor whether the water supply network is leaking and locate the leakage point. First of all, the listening rod is the simplest detection instrument, and its effect, accuracy, and precision are relatively poor, and it relies too much on the experience and judgment of the workers. Secondly, the detection efficiency and real-time performance of the related instrument are poor, and the detection range is generally within 200m. At the same time, the maintenance cost and positioning deviation of the related instrument for leak monitoring and positioning are also relatively large. Smart water meters generally transmit the measured water pressure, temperature, flow and other parameters back to the data center for analysis to determine the leakage area of ​​the water supply network, but cannot accurately locate the pipeline leakage.

[0003] In view of this, the present invention discloses a method and system for locating leakage in a pipe network, the purpose of which is to solve the problems of small detection range, high cost and poor positioning accuracy in the prior art, and at the same time has the functions of pipe network monitoring and leakage positioning, which is a leading technology level in the market. The method of the present invention adopts LoRa module to realize multi-sensor synchronization and interacts with the cloud server through 4G / 5G. The cloud server performs leakage positioning calculation based on the data collected by the synchronized sensors to accurately inform the leakage location. The method of the present invention has the characteristics of low cost, multi-purpose, high precision, high efficiency, and easy promotion. Summary of the invention

[0004] In view of the above problems, a method and system for locating leakage in a pipeline network are provided. Through a leakage identification algorithm, simultaneous and large-scale leakage monitoring of the pipeline to be tested can be realized, and the main sensor with pipeline leakage points can be preliminarily screened out; through the LoRa module and 4G / 5G module of the main sensor and the auxiliary sensor, synchronous sampling and wireless transmission of data between sensors can be realized; through the leakage positioning algorithm, only leakage positioning calculation is required for the leakage data collected by the main sensor and the auxiliary sensor, which can realize the accurate positioning of the leakage position of the pipeline to be tested and intuitively display it on the display interface of the cloud server, so that the positioning of the pipeline leakage point is more accurate, convenient and intuitive.

[0005] To achieve the above object, the technical solution adopted by the present invention is.

[0006] A method for locating leakage in a pipe network comprises the following steps:

[0007] Step S1: placing sensors on the pipeline to be tested;

[0008] Step S2: activating the sensor installed on the pipeline to be tested, and the sensor uploading the GPS location information and ID number of the sensor to the cloud server through the 4G / 5G module;

[0009] Step S3: The cloud server sends a pipeline loss signal collection instruction to the sensor through the 4G / 5G module;

[0010] Step S4: After receiving the collection instruction, the sensor collects data from the pipeline at a set time point, and uploads the collected loss signal to the cloud server through the 4G / 5G module;

[0011] Step S5: The cloud server performs leakage discrimination calculation on the received leakage signal according to the leakage identification algorithm, and determines whether there is leakage. If there is no leakage, it returns to step S4;

[0012] Step S6: If there is a leak, the cloud server marks the sensor that matches the leak feature ID number as the main sensor;

[0013] Step S7: The cloud server marks the sensor closest to the main sensor as a secondary sensor based on the GPS location information uploaded by the sensor;

[0014] Step S8: The cloud server sends a synchronization instruction to the main sensor through the 4G / 5G module;

[0015] Step S9: After receiving the synchronization instruction, the main sensor sends a beacon containing the standard time to the LoRa module of the secondary sensor through the LoRa module. At the same time, the main sensor sets the standard time contained in the beacon as its own system time;

[0016] Step S10: After receiving the beacon, the LoRa module of the secondary sensor also sets the standard time contained in the beacon as the system time, and transmits the setting success information back to the main sensor via the LoRa module, thereby completing the synchronization between the main sensor and the secondary sensor;

[0017] Step S11: the LoRa module of the main sensor sends a missing data collection instruction containing a specified time to the LoRa module of the secondary sensor. After receiving the missing data collection instruction, the secondary sensor collects the missing data synchronously with the main sensor at the specified time.

[0018] Step S12: The main sensor and the auxiliary sensor upload the synchronously collected missing data to the cloud server through their respective LoRa modules, and then the main sensor and the auxiliary sensor enter the sleep mode;

[0019] Step S13: the cloud server performs leakage location calculation on the received leakage data according to the leakage location algorithm, and displays the specific leakage location of the pipeline to be tested on the cloud server display interface.

[0020] Preferably, the spacing between the sensors arranged on the pipeline to be measured is ≤200m.

[0021] Preferably, the leakage identification algorithm comprises the following steps:

[0022] Step 1: split the missing signal collected by the sensor set on the pipeline to be tested into short-term signals through a rectangular window;

[0023] Step 2: Perform Fourier transform on each short-term signal;

[0024] Step 3: Arrange the Fourier transform results of each short period into a matrix, that is, convert the missing signal into a spectrogram;

[0025] Step 4: Input the spectrogram into a pre-trained machine learning model, and use the prediction results of the machine learning model to monitor the leakage status of the water supply pipeline in real time. Once a leak is detected, an alarm is immediately issued.

[0026] Preferably, the calculation formula of the spectrogram is as follows:

[0027]

[0028] in, x ( n ) is a vibration signal; w ( n ) is a window function used to separate the vibration signal; n is the index of the current moment, when n When taking different values, the window w ( n - m ) slides to different positions along the time axis, that is, divides the signal into short-term signals for Fourier transform; ω is the angular frequency used to represent the frequency variable in Fourier transform; m is the sliding index of the window function used to represent the time offset of the vibration signal; j Is an imaginary unit.

[0029] Preferably, the machine learning model utilizes a convolutional neural network to learn, distinguish and determine pipeline leakage and non-leakage signals based on the spectrogram of the leakage signal training data.

[0030] Preferably, the leakage location algorithm comprises the following steps:

[0031] Step 1: The missing data collected by the main sensor and the auxiliary sensor are x 1( t )and x 2( t ),calculate x 1(t )and x 2( t ) is the generalized cross-correlation function:

[0032]

[0033] Wherein, T is the acquisition time length; τ is the time delay; t is the time point;

[0034] Step 2: Obtain the cross-correlation function R x 1 x 2 (τ) The time delay corresponding to the peak ;

[0035] Step 3: Calculate the distance d between the leakage point of the pipeline to be tested and the main sensor using the formula:

[0036]

[0037] in, L is the distance between the main sensor and the secondary sensor; c The propagation speed of the acoustic signal at the leakage point of the pipeline to be tested; is the cross-correlation function R x 1 x 2(τ) The time delay corresponding to the peak.

[0038] A pipe network leakage positioning system comprises a client, a cloud server and a sensor; the sensor comprises a sensing unit for collecting pipeline leakage data, a LoRa module for synchronously collecting and processing data between the sensors, a 4G / 5G module for communication and data transmission between the sensor and the cloud server, a SOC module for controlling a GPS module, a 4G / 5G module, a LoRa module and a sensing unit, and a SOC module for reporting GPS location information of the sensor installation to the cloud server; the SOC module is connected to the sensing unit, the LoRa module, the GPS module and the 4G / 5G module respectively;

[0039] Preferably, the cloud server communicates with sensors deployed on the pipe network through a 4G / 5G module, the sensor uploads an ID number to the cloud server through the 4G / 5G module, and the GPS module uploads the GPS location information of the sensor installation to the cloud server through the 4G / 5G module. The sensors are deployed on the pipeline to be tested at a distance of ≤200m from each other.

[0040] Preferably, the SOC module includes an ADC module.

[0041] Preferably, the sensor also includes a voltage monitoring circuit, a battery, a MOS tube control circuit, a power on / off and sleep wake-up circuit, a DC-DC boost module, a DC-DC buck module and a linear power supply LDO module.

[0042] Preferably, the analog signal formed by the voltage monitoring circuit is converted into a digital signal by the ADC module, and processed by the SOC module to calculate the battery power parameter.

[0043] Due to the adoption of the above technical solution, the present invention has the following beneficial effects.

[0044] (1) The present invention uses sensors with LoRa modules and 4G / 5G modules to achieve data and collection synchronization between sensors. Through the synchronous sampling of sensors and the wireless transmission of data from 4G / 5G modules, the full pipeline construction like traditional distributed optical fiber sensing technology is avoided. It only needs to ensure that the distance between sensors is ≤200m. The sensors can be directly deployed at the edge of the exposed pipe opening in the inspection well without the need for large-scale construction. While ensuring high-precision positioning of pipeline leaks, the construction cost can be effectively reduced.

[0045] (2) The present invention uses a leak identification algorithm on a cloud server to detect leaks in all sensors of the pipeline to be tested. It has a wide detection range and high efficiency in data collection and monitoring. It can preliminarily screen out sensors with leaks and issue a pipeline leak alarm in a timely manner.

[0046] (3) The present invention realizes the location of the specific leakage point of the pipeline to be tested through the leakage location algorithm of the cloud server, and displays the leakage location on the display interface of the cloud server, which can accurately and intuitively display the specific leakage location of the pipeline to be tested, making it convenient for pipeline maintenance personnel to accurately locate the pipeline leakage location and repair the pipeline in time to avoid the loss and waste of water resources.

[0047] (4) The present invention realizes simultaneous and large-scale leakage monitoring of the pipeline to be tested through a leakage identification algorithm, and preliminarily screens out the main sensor with the pipeline leakage point; sets the main sensor and the nearest auxiliary sensor through the cloud server, and sets the beacon containing the standard time as the system time in combination with the main sensor and the auxiliary sensor to complete the synchronization between sensors; through the leakage positioning algorithm, the leakage data collected by the main sensor and the auxiliary sensor only need to be leaked. The leakage position of the pipeline to be tested can be accurately positioned and intuitively displayed on the display interface of the cloud server. The positioning is accurate, convenient and intuitive, which is convenient for the construction and monitoring of large-scale urban pipeline networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The following is a detailed discussion of the making and application of the preferred embodiments of the present invention. However, it should be understood that the present invention provides many applicable inventive concepts that can be embodied in various specific environments. The specific embodiments discussed are only for the purpose of illustrating the specific ways of making and using the present invention, and do not limit the scope of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative work.

[0049] Figure 1 It is a schematic diagram of the process of the present invention.

[0050] Figure 2 It is a system block diagram of the present invention.

[0051] Figure 3 It is a system working flow diagram of the present invention. DETAILED DESCRIPTION

[0052] The following is a detailed discussion of the making and application of the preferred embodiments of the present invention. However, it should be understood that the present invention provides many applicable inventive concepts that can be embodied in various specific environments. The specific embodiments discussed are only intended to illustrate specific ways to make and use the present invention and do not limit the scope of the present invention.

[0053] A method for locating leakage in a pipe network comprises the following steps.

[0054] Step S1: Arrange sensors on the pipeline to be tested with a spacing of ≤200m between them.

[0055] Step S2: Activate the sensor installed on the pipeline to be tested, and the sensor uploads the GPS location information and ID number of the sensor to the cloud server through the 4G / 5G module.

[0056] Step S3: The cloud server sends a pipeline loss signal collection instruction to the sensor through the 4G / 5G module;

[0057] Step S4: After receiving the collection instruction, the sensor collects data from the pipeline at a set time point and uploads the collected loss signal to the cloud server through the 4G / 5G module.

[0058] Step S5: The cloud server performs leakage identification calculation on the received leakage signal according to the leakage identification algorithm, and determines whether there is leakage. If there is no leakage, it returns to step S4.

[0059] Step S6: If there is a leak, the cloud server will mark the sensor that matches the leak feature ID number as the main sensor.

[0060] Step S7: The cloud server marks the sensor closest to the main sensor as a secondary sensor based on the GPS location information uploaded by the sensor.

[0061] Step S8: The cloud server sends a synchronization instruction to the main sensor through the 4G / 5G module.

[0062] Step S9: After receiving the synchronization instruction, the main sensor sends a beacon containing the standard time to the LoRa module of the slave sensor through the LoRa module. At the same time, the main sensor sets the standard time contained in the beacon as its own system time.

[0063] Step S10: After receiving the beacon, the LoRa module of the secondary sensor also sets the standard time contained in the beacon as the system time, and transmits the setting success information back to the main sensor via the LoRa module, thereby completing the synchronization between the main sensor and the secondary sensor.

[0064] Step S11: the LoRa module of the main sensor sends a missing data collection instruction containing a specified time to the LoRa module of the slave sensor. After receiving the missing data collection instruction, the slave sensor collects the missing data synchronously with the main sensor at the specified time.

[0065] Step S12: The main sensor and the slave sensor upload the synchronously collected missing data to the cloud server through their respective LoRa modules, and then the main sensor and the slave sensor enter the sleep mode.

[0066] Step S13: the cloud server performs leakage location calculation on the received leakage data according to the leakage location algorithm, and displays the specific leakage location of the pipeline to be tested on the cloud server display interface.

[0067] The leakage identification algorithm includes the following steps.

[0068] Step 1: Use a rectangular window to divide the leakage signal collected by the sensor installed on the pipeline to be tested into short-term signals.

[0069] Step 2: Perform Fourier transform on each short-term signal.

[0070] Step 3: Arrange the Fourier transform results of each short period into a matrix, that is, convert the missing signal into a spectrogram.

[0071] Step 4: Input the spectrogram into a pre-trained machine learning model, and use the prediction results of the machine learning model to monitor the leakage status of the water supply pipeline in real time. Once a leak is detected, an alarm is immediately issued.

[0072] The calculation formula of the spectrogram is as follows:

[0073]

[0074] in, x (n ) is a vibration signal; w ( n ) is a window function used to separate the vibration signal; n is the index of the current moment, when n When taking different values, the window w ( n - m ) slides to different positions along the time axis, that is, divides the signal into short-term signals for Fourier transform; ω is the angular frequency used to represent the frequency variable in Fourier transform; m is the sliding index of the window function used to represent the time offset of the vibration signal; j Is an imaginary unit.

[0075] The machine learning model utilizes a convolutional neural network to learn, distinguish and determine pipeline leakage and non-leakage signals based on the spectrogram of the leakage signal training data.

[0076] The leakage location algorithm comprises the following steps:

[0077] Step 1: The missing data collected by the main sensor and the auxiliary sensor are x 1( t )and x 2( t ),calculate x 1( t )and x 2( t ) is the generalized cross-correlation function:

[0078]

[0079] Wherein, T is the acquisition time length; τ is the time delay; t is the time point.

[0080] Step 2: Obtain the cross-correlation function R x 1 x 2 (τ) The time delay corresponding to the peak 。

[0081] Step 3: Calculate the distance d between the leakage point of the pipeline to be tested and the main sensor using the formula:

[0082]

[0083] in, L is the distance between the main sensor and the secondary sensor; c The propagation speed of the acoustic signal at the leakage point of the pipeline to be tested; is the cross-correlation function R x 1 x2(τ) The time delay corresponding to the peak.

[0084] A pipe network leakage positioning system comprises a client, a cloud server and a sensor; the sensor comprises a sensing unit for collecting pipeline leakage data, a LoRa module for synchronously collecting and processing data between the sensors, a 4G / 5G module for communication and data transmission between the sensor and the cloud server, a SOC module for controlling a GPS module, a 4G / 5G module, a LoRa module and the sensing unit, and a SOC module for reporting GPS location information of the sensor installation to the cloud server; the SOC module is respectively connected to the sensing unit, the LoRa module, the GPS module and the 4G / 5G module.

[0085] The cloud server communicates with sensors deployed on the pipe network through a 4G / 5G module, the sensor uploads an ID number to the cloud server through the 4G / 5G module, the GPS module uploads GPS location information of the sensor installation to the cloud server through the 4G / 5G module, and the sensors are deployed on the pipeline to be tested at a spacing of ≤200m from each other. The SOC module includes an ADC module.

[0086] The sensor also includes a voltage monitoring circuit, a battery, a MOS tube control circuit, a power on / off and sleep wake-up circuit, a DC-DC boost module, a DC-DC buck module and a linear power supply LDO module. The analog signal generated by the voltage monitoring circuit is converted into a digital signal by the ADC module and processed by the SOC module to calculate the battery power parameters.

[0087] The following is combined with Figure 1-3 Provide a detailed description. Example 1

[0088] like Figure 1 A method for locating leakage in a pipe network is shown, comprising the following steps.

[0089] Step S1: Arrange sensors on the pipeline to be tested with a spacing of ≤200m between them.

[0090] Step S2: Activate the sensor installed on the pipeline to be tested, and the sensor uploads the GPS location information and ID number of the sensor to the cloud server through the 4G / 5G module.

[0091] Step S3: The cloud server sends a pipeline loss signal collection instruction to the sensor through the 4G / 5G module;

[0092] Step S4: After receiving the collection instruction, the sensor collects data from the pipeline at a set time point and uploads the collected loss signal to the cloud server through the 4G / 5G module.

[0093] Step S5: The cloud server performs leakage discrimination calculation on the received leakage signal according to the leakage identification algorithm, and determines whether there is leakage. The leakage identification algorithm includes the following steps.

[0094] (1) The leakage signal collected by the sensor installed on the pipeline to be tested is divided into short-term signals through a rectangular window.

[0095] (2) Perform Fourier transform on each short-term signal.

[0096] (3) Arrange the Fourier transform results of each short period into a matrix, that is, convert the missing signal into a spectrogram. The calculation formula of the spectrogram is as follows:

[0097]

[0098] in, x ( n ) is a vibration signal; w ( n ) is a window function used to separate the vibration signal; n is the index of the current moment, when n When taking different values, the window w ( n - m ) slides to different positions along the time axis, that is, divides the signal into short-term signals for Fourier transform; ω is the angular frequency used to represent the frequency variable in Fourier transform; m is the sliding index of the window function used to represent the time offset of the vibration signal; j Is an imaginary unit.

[0099] (4) Input the spectrogram into a pre-trained machine learning model, which uses a convolutional neural network to learn, distinguish and determine pipeline leakage and non-leakage signals based on the spectrogram of the missing signal training data. The leakage status of the water supply pipeline is monitored in real time through the prediction results of the machine learning model, and an alarm is immediately issued once a leak is detected. At this time, if the real estate signal uploaded by the sensor is determined to be non-leaking, return to step S4.

[0100] Step S6: If there is a leak, the cloud server will mark the sensor that matches the leak feature ID number as the main sensor.

[0101] Step S7: The cloud server marks the sensor closest to the main sensor as a secondary sensor based on the GPS location information uploaded by the sensor.

[0102] Step S8: The cloud server sends a synchronization instruction to the main sensor through the 4G / 5G module.

[0103] Step S9: After receiving the synchronization instruction, the main sensor sends a beacon containing the standard time to the LoRa module of the slave sensor through the LoRa module. At the same time, the main sensor sets the standard time contained in the beacon as its own system time.

[0104] Step S10: After receiving the beacon, the LoRa module of the secondary sensor also sets the standard time contained in the beacon as the system time, and transmits the setting success information back to the main sensor via the LoRa module, thereby completing the synchronization between the main sensor and the secondary sensor.

[0105] Step S11: the LoRa module of the main sensor sends a missing data collection instruction containing a specified time to the LoRa module of the slave sensor. After receiving the missing data collection instruction, the slave sensor collects the missing data synchronously with the main sensor at the specified time.

[0106] Step S12: The main sensor and the slave sensor upload the synchronously collected missing data to the cloud server through their respective LoRa modules, and then the main sensor and the slave sensor enter the sleep mode.

[0107] Step S13: the cloud server performs leakage location calculation on the received leakage data according to a leakage location algorithm, and the leakage location algorithm includes the following steps.

[0108] (1) The missing data collected by the main sensor and the auxiliary sensor are x 1( t )and x 2( t ),calculate x 1( t )and x 2( t ) is the generalized cross-correlation function:

[0109]

[0110] Wherein, T is the acquisition time length; τ is the time delay; t is the time point.

[0111] (2) Obtaining the cross-correlation function R x 1 x 2 (τ) The time delay corresponding to the peak .

[0112] (3) The distance d between the leakage point of the pipeline to be tested and the main sensor is calculated by the formula:

[0113]

[0114] in, L is the distance between the main sensor and the secondary sensor;c The propagation speed of the acoustic signal at the leakage point of the pipeline to be tested; is the cross-correlation function R x 1 x 2(τ) The time delay corresponding to the peak value. At the same time, the distance d between the specific leakage position of the pipeline to be tested and the main sensor is displayed on the display interface of the cloud server.

[0115] Specifically, the cloud server communicates with the sensors deployed on the pipe network through the 4G / 5G module, the sensor uploads the ID number to the cloud server through the 4G / 5G module, the GPS module uploads the GPS location information of the sensor installation to the cloud server through the 4G / 5G module, and the sensors are deployed on the pipeline to be tested at a spacing of ≤200m from each other; the cloud server sends a pipeline leakage signal collection instruction to the sensor through the 4G / 5G module, and after receiving the collection instruction from the cloud server, the 4G / 5G module of the sensor processes the collection instruction by the SOC module, and starts the sensor at a set time point to complete the collection of the leakage signal of the pipeline to be tested, and uploads it to the cloud server through the 4G / 5G module after the collection is completed.

[0116] The cloud server makes a leakage judgment on the received leakage signal according to the leakage identification algorithm. When it is judged that a leakage signal occurs, the cloud server marks the sensor that meets the leakage characteristic ID number as the main sensor, and marks the sensor closest to the main sensor as the secondary sensor according to the GPS location information unknown to the sensor. At this time, the cloud server sends a synchronization instruction to the main sensor through the 4G / 5G module. After the 4G / 5G module of the main device receives the synchronization instruction of the cloud server, the SOC module processes the instruction and controls the LoRa module of the main sensor to send a beacon containing the standard time to the LoRa module of the secondary sensor. At the same time, the main sensor sets the standard time contained in the beacon as its own system time; after receiving the beacon sent by the LoRa module of the main sensor, the LoRa module of the secondary sensor also sets the standard time contained in the beacon as the system time, and transmits the setting success information back to the LoRa module of the main sensor through the LoRa module. After the SOC module of the main sensor processes the setting success information, the synchronization of the main sensor and the secondary sensor is realized.

[0117] After the main sensor and the slave sensor complete synchronization, the LoRa module of the main sensor and the LoRa module of the slave sensor send a leakage data collection instruction containing a specified time. After receiving the leakage data collection instruction, the slave sensor synchronizes with the main sensor to collect the leakage data at the specified time; the main sensor and the slave sensor upload the synchronously collected leakage data to the cloud server through their respective LoRa modules, and then the main sensor and the slave sensor enter the sleep mode; the cloud server performs leakage location calculation on the received leakage data according to the leakage location algorithm, and displays the specific leakage location of the pipeline to be tested on the display interface of the cloud server. Example 2

[0118] like Figure 2 A pipe network leakage positioning system shown includes several clients, a cloud server and sensors; the client can be a mobile phone, a PC or other devices with network access and operation functions; the user can use the client or the website to access the cloud server through the Internet.

[0119] The cloud server is a computer service that provides public computing, storage and network functions to users, and serves as a bridge between the client and the device in this system. The sensor is a complete machine with subsequent functions that the user places on the pipeline to be tested. It has a unique identification ID number and is mainly composed of a GPS module, a 4G / 5G module, a LoRa module, a SOC (microcontroller) module and a sensor unit. In normal use, it requires the most basic parts such as batteries, connecting wires and antennas.

[0120] like Figure 3 As shown, the sensor is a functional integrated module with a unique ID identity code. The sensor includes a sensing unit for collecting pipeline leakage vibration data, a LoRa module for synchronously collecting and processing data between the sensors, a 4G / 5G module for communication and data transmission between the sensor and the cloud server, a SOC module for controlling the GPS module, 4G / 5G module, LoRa module and sensing unit, and a SOC module for reporting the GPS location information of the sensor installation to the cloud server; the SOC module is connected to the sensing unit, LoRa module, GPS module and 4G / 5G module respectively. The SOC module has a built-in ADC module.

[0121] The cloud server communicates with the sensors deployed on the pipe network through the 4G / 5G module. The sensor uploads the ID number to the cloud server through the 4G / 5G module. The GPS module uploads the GPS location information of the sensor installation to the cloud server through the 4G / 5G module. The sensors are deployed on the pipeline to be tested at a distance of ≤200m from each other.

[0122] The sensor also includes a voltage monitoring circuit, a battery, a MOS tube control circuit, a power on / off and sleep wake-up circuit, a DC-DC boost module, a DC-DC buck module and a linear power supply LDO module. The analog signal formed by the voltage monitoring circuit is converted into a digital signal by the ADC module, and processed by the SOC module to calculate the battery power parameters. The battery supplies power to each module under the control of the MOS tube control circuit. At the same time, the sensor is equipped with a power on / off and sleep wake-up circuit, which is mainly used to detect the user's power on / off, sleep and other operations, and transmit the received electrical signal to the MOS tube control circuit, and control the power on / off and sleep of the sensor through the MOS tube control circuit.

[0123] The MOS tube control circuit controls the DC-DC boost module to boost the voltage to 4.3v to power the 4G / 5G module; the MOS tube control circuit controls the DC-DC buck module to step down the voltage to 3.0v to power the LoRa module; the MOS tube control circuit controls the linear power supply LDO module to power the sensor unit to ensure the bottom ripple characteristics of the sensor unit.

[0124] In detail, the sensor described in the method of the present invention is composed of a 4G / 5G module, a GPS module, a LoRa module and a sensing unit. The cloud server communicates with the sensors arranged in the pipeline network through the 4G / 5G module. The GPS module in the sensor is used to provide the cloud server with the specific geographical location when the operator installs and arranges it. The LoRa module is used for synchronization between the main and auxiliary sensors. The sensing unit is generally a high-precision, high-sensitivity vibration pickup sensor.

[0125] After the operators arrange and activate the sensors at the construction site, the sensors report their geographic locations through the GPS module, and the cloud server map shows all the arranged sensors. To ensure long-term endurance, the activated sensors will upload detection data to the cloud server at a fixed time every day (such as 2 a.m.). After receiving the detection data from the sensors, the cloud server will calculate and identify leaks. If the data uploaded by the sensor is identified as leakage data, the cloud server will set the sensor as the main sensor and select another nearby sensor as the secondary sensor based on the geographic location.

[0126] After the main and auxiliary sensors are defined, they are synchronized. The LoRa module of the main sensor sends a synchronization instruction containing the standard time to the LoRa module of the auxiliary sensor. After receiving the synchronization instruction, the auxiliary sensor updates the standard time to the system time and replies to the main sensor with a successful synchronization message. After receiving the successful synchronization message, the LoRa module of the main sensor sends a data collection instruction. After receiving the collection instruction, the LoRa module of the auxiliary sensor collects data at the specified time point and uploads the collected data to the cloud server. The cloud server calculates the leakage location of the data collected by the synchronized main and auxiliary sensors and informs the user of the specific location on the display interface for subsequent maintenance. The client accesses and operates the cloud server through the Internet.

[0127] The present invention realizes simultaneous and large-scale leakage monitoring of the pipeline to be tested through a leakage identification algorithm, and preliminarily screens out the main sensor with pipeline leakage points; through the LoRa module and 4G / 5G module of the main sensor and the auxiliary sensor, synchronous sampling and wireless transmission of data between sensors are realized; through the leakage positioning algorithm, only leakage positioning calculation is required for the leakage data collected by the main sensor and the auxiliary sensor, which can realize accurate positioning of the leakage position of the pipeline to be tested and intuitively display it on the display interface of the cloud server, making the positioning of pipeline leakage points more accurate, convenient and intuitive.

[0128] Although the specification has been described in detail, it should be understood that various changes, substitutions and modifications may be made without departing from the spirit and scope of the invention as defined by the appended claims. In addition, the specific embodiments described are not intended to limit the scope of the invention, and those of ordinary skill in the art can easily understand based on the present invention that currently existing or later to be developed processes, machines, manufactures, material compositions, means, methods, or steps can perform substantially the same functions as the embodiments of the present invention or obtain substantially the same results. Therefore, the appended claims are intended to include such processes, machines, manufactures, material compositions, means, methods or steps within their scope.

Claims

1. A method for locating leakage in a pipe network, characterized in that: The following steps are involved: Step S1: placing sensors on the pipeline to be tested; Step S2: activating the sensor installed on the pipeline to be tested, and the sensor uploading the GPS location information and ID number of the sensor to the cloud server through the 4G / 5G module; Step S3: The cloud server sends a pipeline loss signal collection instruction to the sensor through the 4G / 5G module; Step S4: After receiving the collection instruction, the sensor collects data from the pipeline at a set time point, and uploads the collected loss signal to the cloud server through the 4G / 5G module; Step S5: The cloud server performs leakage discrimination calculation on the received leakage signal according to the leakage identification algorithm, and determines whether there is leakage. The leakage identification algorithm uses a convolutional neural network to learn, distinguish and determine pipeline leakage and non-leakage signals based on the spectrogram of the leakage signal training data. If there is no leakage, it returns to step S4; Step S6: If there is a leak, the cloud server marks the sensor that matches the leak feature ID number as the main sensor; Step S7: The cloud server marks the sensor closest to the main sensor as a secondary sensor based on the GPS location information uploaded by the sensor; Step S8: The cloud server sends a synchronization instruction to the main sensor through the 4G / 5G module; Step S9: After receiving the synchronization instruction, the main sensor sends a beacon containing the standard time to the LoRa module of the secondary sensor through the LoRa module. At the same time, the main sensor sets the standard time contained in the beacon as its own system time; Step S10: After receiving the beacon, the LoRa module of the secondary sensor also sets the standard time contained in the beacon as the system time, and transmits the setting success information back to the main sensor via the LoRa module, thereby completing the synchronization between the main sensor and the secondary sensor; Step S11: the LoRa module of the main sensor sends a missing data collection instruction containing a specified time to the LoRa module of the secondary sensor. After receiving the missing data collection instruction, the secondary sensor collects the missing data synchronously with the main sensor at the specified time. Step S12: The main sensor and the auxiliary sensor upload the synchronously collected missing data to the cloud server through their respective LoRa modules, and then the main sensor and the auxiliary sensor enter the sleep mode; Step S13: the cloud server performs leakage location calculation on the received leakage data according to the leakage location algorithm, and displays the specific leakage location of the pipeline to be tested on the cloud server display interface.

2. A method for locating leakage in a pipe network according to claim 1, characterized in that: The distance between the sensors arranged on the pipeline to be tested is ≤200m.

3. A method for locating leakage in a pipe network according to claim 1, characterized in that: The leakage identification algorithm in step S5 comprises the following steps: Step 1: split the missing signal collected by the sensor set on the pipeline to be tested into short-term signals through a rectangular window; Step 2: Perform Fourier transform on each short-term signal; Step 3: Arrange the Fourier transform results of each short period into a matrix, that is, convert the missing signal into a spectrogram; Step 4: Input the spectrogram into a pre-trained machine learning model, and use the prediction results of the machine learning model to monitor the leakage status of the water supply pipeline in real time. Once a leak is detected, an alarm is immediately issued.

4. A method for locating leakage in a pipe network as claimed in claim 3, characterized in that: The calculation formula of the spectrogram is as follows: Among them, x(m) is the vibration signal; n is the index of the current moment; m is the sliding index of the window function, indicating the time offset of the vibration signal; ω is the angular frequency; j is the imaginary unit; w is the window function used to segment the signal.

5. A method for locating leakage in a pipe network according to claim 1, characterized in that: The leakage location algorithm comprises the following steps: Step 1: The missing data collected by the main sensor and the auxiliary sensor are x1(t) and x2(t) respectively, and the generalized cross-correlation function of x1(t) and x2(t) is calculated: Where, T is the acquisition time; τ is the independent variable; Step 2: Obtain the time delay Δt corresponding to the peak of the cross-correlation function Rx1x2(τ); Step 3: Calculate the distance d between the leakage point of the pipeline to be tested and the main sensor using the formula: Wherein, L is the distance between the main sensor and the auxiliary sensor; c is the propagation speed of the acoustic signal at the leakage point of the pipeline to be tested.

6. A pipe network leakage locating system using the pipe network leakage locating method according to any one of claims 1 to 5, characterized in that: It includes a client, a cloud server and a sensor; the sensor includes a sensing unit for collecting pipeline leakage data, a LoRa module for synchronously collecting and processing data between the sensors, a 4G / 5G module for communication and data transmission between the sensor and the cloud server, a SOC module for controlling a GPS module, a 4G / 5G module, a LoRa module and a sensing unit, and a SOC module for reporting GPS location information of the sensor installation to the cloud server; the SOC module is connected to the sensing unit, the LoRa module, the GPS module and the 4G / 5G module respectively; The cloud server communicates with the sensors deployed on the pipe network through the 4G / 5G module. The sensor uploads the ID number to the cloud server through the 4G / 5G module. The GPS module uploads the GPS location information of the sensor installation to the cloud server through the 4G / 5G module. The sensors are deployed on the pipeline to be tested at a distance of ≤200m from each other.

7. A pipe network leakage locating system according to claim 6, characterized in that: The SOC module includes an ADC module.

8. A pipe network leakage locating system as claimed in claim 7, characterized in that: The sensor also includes a voltage monitoring circuit, a battery, a MOS tube control circuit, a power on / off and sleep wake-up circuit, a DC-DC boost module, a DC-DC buck module and a linear power supply LDO module.

9. A pipe network leakage locating system as claimed in claim 8, characterized in that: The analog signal generated by the voltage monitoring circuit is converted into a digital signal by the ADC module and processed by the SOC module to calculate the battery power parameters.