A water supply pipeline monitoring method
By arranging sensing optical cables and signal acquisition hosts on the water supply pipelines, and using signal analysis and processing software to achieve real-time monitoring and leakage event location, the problem of being unable to monitor leakage in water supply pipelines in real time in the existing technology is solved, and the timely detection and detection of leakage events is improved. processing efficiency.
Patent Information
- Application Number
- CN202210700812.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-21
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-06-21
AI Technical Summary
Existing water supply pipeline monitoring methods cannot achieve real-time monitoring, resulting in leaks that can only be discovered after the accident occurs, causing greater losses.
It uses a sensing optical cable and a signal acquisition host system, and wraps it around the pipe and connects to the signal acquisition host. It uses signal analysis and processing software to analyze the optical signal, determine the leakage event, and provide users with real-time alarms and leak location location through the cloud server.
It realizes real-time monitoring of water supply pipelines and timely alarms for leakage events, and can accurately determine and locate leakage locations, reducing losses.
Smart Images

Figure CN114963030B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to pipeline detection, and in particular to a water supply pipeline monitoring method. Background Art
[0002] Water pipes are pipes for water supply. Modern decoration water pipes are all built in the wall. There are three types of water pipes. The first type is metal pipes, such as hot-dip cast iron pipes, copper pipes, stainless steel pipes, etc. with plastic lining. The second type is plastic-clad metal pipes, such as steel-plastic composite pipes, aluminum-plastic composite pipes, etc. The third type is plastic pipes, such as PB pipes, PP-R pipes, etc. In the past, pipes used for water supply were mainly cast iron pipes. Sand mold cast iron pipes are mainly used outdoors, and galvanized cast iron pipes are used indoors. However, after a few years of use, a large amount of rust and scale are easily generated, which breeds bacteria and seriously endangers human health. The state has stipulated that sand mold casting pipe fittings and cold galvanized cast iron pipes will be eliminated from June 1, 2000, and the use of hot-dip cast iron pipes will be gradually restricted, and the use of aluminum-plastic composite pipes and new plastic pipes will be promoted.
[0003] However, the existing water supply pipeline monitoring cannot achieve real-time monitoring, and operations are usually carried out after an accident occurs, which often causes greater losses. Summary of the invention
[0004] The present invention aims to overcome the above-mentioned deficiencies in the prior art and provides a water supply pipeline monitoring method capable of real-time monitoring and alarming.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A water supply pipeline monitoring method specifically comprises the following steps:
[0007] (1) The optical sensing cable is arranged on the pipeline, the signal acquisition host is arranged in the machine room, and the optical sensing cable on the pipeline is connected to the signal acquisition host through a cable;
[0008] (2) When a leak occurs on the pipeline, due to the pressure difference between the inside and outside of the pipe, the friction between the fluid in the pipe and the leak hole generates leakage sound waves. The sound waves are transmitted to the sensor monitoring optical cable through the pipe body medium, changing the state of the optical signal in the sensor monitoring optical cable;
[0009] (3) The signal acquisition host collects the optical signal in the detection optical cable, analyzes the state change of the optical signal and compares it with the corresponding event model through the signal analysis and processing software to determine whether there is a leakage event;
[0010] (4) When the signal acquisition host detects leakage information, the event information is uploaded to the cloud server. Users can access the cloud server information through the client and view the monitoring site event information.
[0011] The water supply pipeline monitoring method is composed of a hardware system and a software system. The hardware system is divided into: a sensor monitoring optical cable and a signal acquisition host; the software system is composed of a signal analysis and processing software and a display client; the software system processes the data collected and transmitted back by the hardware system through the signal analysis and processing software, and obtains the classified characteristic signals, which can be compared with the characteristic signals of actual historical leakage events to obtain real-time leakage event alarms, judge the leakage event situation of the detection pipeline, and also locate the specific location of the leakage event in the pipeline (display client).
[0012] Preferably, in step (1), the sensing optical cable is arranged on the pipeline as follows: the sensing optical cable is arranged on the pipeline by winding, and after winding, fixing glue is brushed on the sensing optical cable to fix it, and the fixing glue fully covers the sensing optical cable and is fixed on the outer wall of the pipeline.
[0013] Preferably, in step (3), the signal analysis and processing software processes the collected and transmitted data to determine the situation of the pipeline leakage event and locate the specific location of the leakage event in the pipeline. The specific processing steps are as follows:
[0014] (31) Signal preprocessing: Considering the frequency drift of the system laser, the signal will produce slow distortion. In order to remove this trend, filtering is used in advance when collecting the signal;
[0015] (32) Noise removal: threshold processing is performed on the wavelet domain coefficients of the signal and noise to achieve denoising when the useful signal and noise are superimposed on each other in the frequency band;
[0016] (33) Leakage event screening: The previously processed signal is used as input to extract features according to event and position parameters. After extraction, it is used as input to the classification algorithm to identify and screen events and provide the final output results.
[0017] Preferably, in step (31), the filtering process formula is as follows:
[0018]
[0019] The filter used here is a finite-length impulse response filter, H pre (z) is the filter transfer function, N pre is the filter order, a pre (k) is the coefficient of the kth order;
[0020] This application is specifically H(z)=1-z -2 The low-frequency part of the collected signal is suppressed by this filter, which is beneficial to remove slowly varying interference, flatten the signal, and maintain the signal-to-noise ratio of the signal in the entire spectrum, so as to facilitate further spectrum analysis of the signal.
[0021] Preferably, in step (32), specifically: by setting a threshold value, the wavelet coefficients are bounded, and the main components of the wavelet coefficients greater than the threshold value are retained as effective signals, and the main components of the wavelet coefficients less than the threshold value are removed and regarded as noise signals; the operation method is as follows: the signal f(t) containing noise is composed of the useful signal s(t) and the noise signal n(t). After continuously performing wavelet decomposition on f(t), the wavelet coefficients Cj,k corresponding to s(t) fluctuate significantly, and have relatively large values at certain positions, corresponding to the mutation positions of the original signal s(t), and contain the change information of the signal; for the noise signal n(t), the distribution of its corresponding wavelet coefficients Cj,k at each decomposition scale is relatively uniform, and as the decomposition progresses, the amplitudes of the wavelet coefficients Cj,k at each layer tend to become smaller; according to the different distribution characteristics of the wavelet coefficients of the useful signal and the noise signal, a threshold value Th is set. When Cj,k < Th, it is considered that Cj,k at this time mainly corresponds to the noise signal, and threshold processing is performed on it; when Cj,k > Th, it is considered that Cj,k at this time mainly corresponds to the useful signal, and then this part of Cj,k is retained; finally, the wavelet coefficients that have undergone threshold processing and the part of the wavelet coefficients that are retained are used for reconstruction to obtain the signal with noise removed;
[0022] Among them, the wavelet basis function is as follows:
[0023]
[0024] In the formula, a is the scaling factor, indicating the stretching of the mother wavelet function on the time axis. a > 1 indicates stretching, a < 1 indicates contraction, b is the translation factor, indicating the left and right translation of the center position of the mother wavelet function; t is the time variable;
[0025] The continuous wavelet transform formula of any square-integrable function f(t) is as follows:
[0026]
[0027] W f (a, b) is the continuous wavelet transform of the function f(t), R is the real number field, ψ a,b (t) represents the wavelet basis function generated after the mother wavelet function ψ(t) is adjusted by a and b, ψ * represents the complex conjugate operation.
[0028] Preferably, in step (33), the classification algorithm is specifically as follows: given a sample set, the samples in the set belong to two categories of samples respectively, training an SVM classifier is to find a hyperplane that maximally separates the two categories of samples, so that the maximum number of samples of the same category are classified on the same side of the hyperplane, and at the same time maximizes the distance between the two categories and the hyperplane; by inputting feature data, the classification problem is converted into an optimization problem for solving the following formula:
[0029]
[0030] Where w is the feature data input in the form of vector or matrix; ζ i is the relaxation factor, which describes the degree of acceptance of individual samples that deviate from the plane; C is the penalty coefficient, which is used to describe the tolerance for classification errors; y i Indicates the category label. In the case of binary classification, the value is usually ±1. i Represents the input data vector, ω and b are the normal vector and intercept of the hyperplane respectively; after obtaining the classified characteristic signal, it is compared with the characteristic signal of the actual historical leakage event to obtain a real-time leakage event alarm.
[0031] The beneficial effect of the present invention is that after the collected and transmitted data is processed by signal analysis and processing software, the classified characteristic signals can be compared with the characteristic signals of actual historical leakage events to obtain real-time leakage event alarms, judge the leakage event situation of the detection pipeline, and also locate the specific position of the leakage event in the pipeline. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a method architecture diagram of the present invention;
[0033] Figure 2 It is a schematic diagram of the arrangement of the pipeline optical cable in the present invention;
[0034] Figure 3 is an amplitude-frequency response curve diagram of the filter in the present invention;
[0035] Figure 4 It is a schematic diagram of the classification algorithm in the present invention. DETAILED DESCRIPTION
[0036] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.
[0037] like Figure 1 In the embodiment described, a water supply pipeline monitoring method specifically includes the following steps:
[0038] (1) The optical sensing cable is arranged on the pipeline, the signal acquisition host is arranged in the machine room, and the optical sensing cable on the pipeline is connected to the signal acquisition host through a cable;
[0039] like Figure 2 As shown, the arrangement of the sensing optical cable on the pipeline is as follows: the sensing optical cable is arranged on the pipeline by winding, and after winding, a fixing glue is brushed on the sensing optical cable to fix it. The fixing glue fully covers the sensing optical cable and is fixed on the outer wall of the pipeline.
[0040] (2) When a leak occurs on the pipeline, due to the pressure difference between the inside and outside of the pipe, the friction between the fluid in the pipe and the leak hole generates leakage sound waves. The sound waves are transmitted to the sensor monitoring optical cable through the pipe body medium, changing the state of the optical signal in the sensor monitoring optical cable;
[0041] (3) The signal acquisition host collects the optical signal in the detection optical cable, analyzes the state change of the optical signal and compares it with the corresponding event model through the signal analysis and processing software to determine whether there is a leakage event; after the signal analysis and processing software processes the collected and transmitted data, it determines the leakage event of the detection pipeline and can also locate the specific location of the leakage event in the pipeline. The specific processing steps are as follows:
[0042] (31) Signal preprocessing: Considering the frequency drift of the system laser, the signal will produce slow distortion. In order to remove this trend, filtering is used in advance before collecting the signal. The formula for filtering is as follows:
[0043]
[0044] The filter used here is a finite-length impulse response filter, H pre (z) is the filter transfer function, N pre is the filter order, a pre (k) is the coefficient of the kth order;
[0045] This application is specifically H(z)=1-z -2 , its amplitude-frequency response curve is as follows Figure 3 This filter suppresses the low-frequency part of the collected signal, which is helpful to remove slowly varying interference, flatten the signal, and maintain the signal-to-noise ratio of the signal in the entire spectrum, so as to facilitate further spectrum analysis of the signal.
[0046] (32) Noise removal: Threshold processing is performed on the wavelet domain coefficients of the signal and noise to achieve denoising when the useful signal and noise are superimposed on each other in the frequency band. The main idea is that the effective signal and the noise signal have different statistical characteristics after wavelet transform. Generally speaking, the energy of the effective signal corresponds to the wavelet coefficient with larger amplitude in each scale, and the distribution in each scale is related to the characteristics of the signal itself; while the wavelet coefficient of the noise is more evenly distributed in each scale and has a smaller amplitude.
[0047] Specifically: By setting a threshold value to define wavelet coefficients, the main components of wavelet coefficients greater than the threshold value are retained as effective signals, and the main components of wavelet coefficients less than the threshold value are removed and regarded as noise signals. The operation method is as follows: The signal f(t) containing noise consists of the useful signal s(t) and the noise signal n(t). After continuously performing wavelet decomposition on f(t), the wavelet coefficients Cj,k corresponding to s(t) fluctuate significantly, with relatively large values at certain positions, corresponding to the mutation positions of the original signal s(t) and containing the change information of the signal. For the noise signal n(t), the distribution of its corresponding wavelet coefficients Cj,k at each decomposition scale is relatively uniform, and as the decomposition progresses, the amplitudes of the wavelet coefficients Cj,k at each layer tend to decrease. According to the different distribution characteristics of the wavelet coefficients of the useful signal and the noise signal, a threshold Th is set. When Cj,k < Th, it is considered that Cj,k at this time mainly corresponds to the noise signal, and threshold processing is performed on it. When Cj,k > Th, it is considered that Cj,k at this time mainly corresponds to the useful signal, and this part of Cj,k is retained. Finally, the signal with noise removed can be obtained by reconstructing using the wavelet coefficients that have undergone threshold processing and the part of the wavelet coefficients that are retained.
[0048] Among them, the wavelet basis function is as follows:
[0049]
[0050] In the formula, a is the scaling factor, indicating the scaling of the mother wavelet function on the time axis. a > 1 indicates stretching, and a < 1 indicates contraction. b is the translation factor, indicating the left - right translation of the center position of the mother wavelet function; t is the time variable.
[0051] The continuous wavelet transform formula of any square - integrable function f(t) is as follows:
[0052]
[0053] W f (a, b) is the continuous wavelet transform of the function f(t), R is the real number field, ψ a,b (t) represents the wavelet basis function generated after adjusting the mother wavelet function ψ(t) by a and b, ψ * represents the complex conjugate operation.
[0054] (33) Leakage event screening: The signal processed previously is used as the input to extract features according to events and position parameters. After extraction, it is used as the input of the classification algorithm to identify and screen events and give the final output result.
[0055] The classification algorithm uses the support vector machine (SVM) in traditional machine learning algorithms. Taking the binary classification problem as an example, such as Figure 4As shown in the figure, the classification algorithm is as follows: given a sample set, the samples in the set belong to two categories of samples respectively. Training an SVM classifier is to find a hyperplane that separates the two categories of samples to the maximum extent, so that the maximum number of samples of the same category are classified on the same side of the hyperplane, and at the same time maximize the distance between the two categories and the hyperplane. By expanding the binary classification, the multi-classification problem can be solved.
[0056] The core problem of this algorithm is to transform the classification problem into an optimization problem by inputting feature data:
[0057]
[0058] Where w is the feature data input in the form of vector or matrix; ζ i is the relaxation factor, which describes the degree of acceptance of individual samples that deviate from the plane; C is the penalty coefficient, which is used to describe the tolerance for classification errors; y i Indicates the category label. In the case of binary classification, the value is usually ±1. i Represents the input data vector, ω and b are the normal vector and intercept of the hyperplane respectively; after obtaining the classified characteristic signal, it is compared with the characteristic signal of the actual historical leakage event to obtain a real-time leakage event alarm.
[0059] (4) When the signal acquisition host detects leakage information, the event information is uploaded to the cloud server. Users can access the cloud server information through the client and view the monitoring site event information.
[0060] The software system processes the data collected and transmitted back by the hardware system through signal analysis and processing software, and obtains classified characteristic signals, which can be compared with the characteristic signals of actual historical leakage events to obtain real-time leakage event alarms, judge the situation of pipeline leakage events, and also locate the specific location of the leakage event in the pipeline (display client).
Claims
1. A water supply pipeline monitoring method, Its characteristics are: The specific steps include: (1) The optical sensing cable is arranged on the pipeline, the signal acquisition host is arranged in the machine room, and the optical sensing cable on the pipeline is connected to the signal acquisition host through a cable; (2) When a leak occurs on the pipeline, due to the pressure difference between the inside and outside of the pipe, the friction between the fluid in the pipe and the leak hole generates leakage sound waves. The sound waves are transmitted to the sensing optical cable through the pipe body medium, changing the state of the optical signal in the sensing optical cable; (3) The signal acquisition host collects the optical signal in the sensor optical cable, and uses the signal analysis and processing software to analyze the state change of the optical signal and compare it with the corresponding event model to determine whether there is a leakage event; after the signal analysis and processing software processes the collected and transmitted data, it determines the leakage event of the detection pipeline and can also locate the specific location of the leakage event in the pipeline. The specific processing steps are as follows: (31) Signal preprocessing: Considering the frequency drift of the system laser, the signal will produce slow distortion. In order to remove this trend, filtering is used in advance when collecting the signal; (32) Noise removal: threshold processing is performed on the wavelet domain coefficients of the signal and noise to achieve denoising when the useful signal and noise are superimposed on each other in the frequency band; (33) Leakage event screening: The previously processed signal is used as input to extract features according to event and position parameters. After extraction, it is used as the input of the classification algorithm to identify and screen events and give the final output result. The classification algorithm is as follows: given a sample set, the samples in the set belong to two categories of samples, and a SVM classifier is trained to find a hyperplane that separates the two categories of samples to the maximum extent, so that the maximum number of samples of the same category are classified on the same side of the hyperplane, and at the same time maximize the distance between the two categories and the hyperplane; by inputting feature data, the classification problem is transformed into an optimization problem to solve the following formula: Where w is the feature data input in the form of vector or matrix; ζ i is the relaxation factor, which describes the degree of acceptance of individual samples that deviate from the plane; C is the penalty coefficient, which is used to describe the tolerance for classification errors; y i Indicates the category label. In the case of binary classification, the value is usually ±1. i represents the input data vector, ω and b are the normal vector and intercept of the hyperplane respectively; after obtaining the classified characteristic signal, it is compared with the characteristic signal of the actual historical leakage event to obtain the real-time leakage event alarm; (4) When the signal acquisition host detects leakage information, the event information is uploaded to the cloud server. Users can access the cloud server information through the client and view the monitoring site event information.
2. A water supply pipeline monitoring method according to claim 1, Its characteristics are: In step (1), the arrangement of the sensing optical cable on the pipeline is as follows: the sensing optical cable is arranged on the pipeline by winding, and after winding, a fixing glue is brushed on the sensing optical cable to fix it. The fixing glue fully covers the sensing optical cable and is fixed on the outer wall of the pipeline.
3. A water supply pipeline monitoring method according to claim 1, Its characteristics are: In step (31), the filtering process formula is as follows: The filter used here is a finite-length impulse response filter, H pre (z) is the filter transfer function, N pre is the filter order, a pre (k) is the coefficient of the kth order; This application is specifically H(z)=1-z -2 The low-frequency part of the collected signal is suppressed by this filter, which is beneficial to remove slowly varying interference, flatten the signal, and maintain the signal-to-noise ratio of the signal in the entire spectrum, so as to facilitate further spectrum analysis of the signal.
4. A water supply pipeline monitoring method according to claim 1, Its characteristics are: In step (32), specifically: by setting a threshold value, the wavelet coefficients are bounded. The main components of the wavelet coefficients greater than the threshold value are retained as the effective signal, and the main components of the wavelet coefficients less than the threshold value are removed and regarded as noise signals. The operation method is as follows: The signal f(t) containing noise is composed of the useful signal s(t) and the noise signal n(t). After continuously performing wavelet decomposition on f(t), the wavelet coefficients Cj,k corresponding to s(t) fluctuate significantly, and have relatively large values at certain positions, corresponding to the mutation positions of the original signal s(t), and contain the change information of the signal. For the noise signal n(t), the distribution of its corresponding wavelet coefficients Cj,k at each decomposition scale is relatively uniform, and as the decomposition progresses, the amplitudes of the wavelet coefficients Cj,k at each layer tend to become smaller. According to the different distribution characteristics of the wavelet coefficients of the useful signal and the noise signal, a threshold value Th is set. When Cj,k < Th, it is considered that Cj,k at this time mainly corresponds to the noise signal and threshold processing is performed on it. When Cj,k > Th, it is considered that Cj,k at this time mainly corresponds to the useful signal, and then this part of Cj,k is retained. Finally, the signal with noise removed can be obtained by reconstructing using the wavelet coefficients that have undergone threshold processing and the retained wavelet coefficients. Among them, the wavelet basis function is as follows: In the formula, a is the scaling factor, indicating the scaling of the mother wavelet function on the time axis. a > 1 indicates stretching, a < 1 indicates contraction, b is the translation factor, indicating the left and right translation of the center position of the mother wavelet function; t is the time variable; The continuous wavelet transform formula of any square-integrable function f(t) is as follows: W f (a, b) is the continuous wavelet transform of function f(t), R is the real number domain, ψ a,b (t) represents the wavelet basis function generated after the mother wavelet function ψ(t) is adjusted by a and b, ψ * Represents the complex conjugate operation.
