Sensor positioning method, device and equipment for underground pipe network and medium

The method uses pressure sensors to construct real-time matrices for underground pipe networks, enhancing leak detection and location accuracy, thereby improving infrastructure management and reducing costs.

CN120316396AActive Publication Date: 2025-07-15SHANDONG PORT TECH GRP YANTAI CO LTD

Patent Information

Application Number
CN202510786761.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-13
Publication Date
2025-07-15
Estimated Expiration
2045-06-13

AI Technical Summary

Technical Problem

In the prior art, the underground pipeline leakage detection method is time-consuming, costly and has limited accuracy, making it difficult to quickly and accurately locate the leakage point.

Method used

By installing pressure sensors in key nodes of the underground pipeline system, a real-time pressure difference matrix is constructed and compared with the reference pressure difference matrix, the leakage is judged and the direction of fluid flow is determined, and the leakage point positioning is finally achieved.

Benefits of technology

It realizes rapid and accurate leakage detection and positioning of underground pipeline systems, improves operational safety, reduces environmental risks and maintenance costs, and improves management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120316396A_ABST
    Figure CN120316396A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of underground pipe network leakage positioning, and particularly discloses a sensor positioning method, device and equipment for an underground pipe network and a medium. A pressure sensor is installed in each key node of an underground pipe network system, and the pressure value of each key node in the current monitoring time point is measured; constructing a real-time pressure difference matrix of the underground pipe network system at the current monitoring time point; synchronously constructing a reference pressure difference value matrix of the underground pipe network system, and comparing the reference pressure difference value matrix with a real-time pressure difference value matrix of the underground pipe network system at the current monitoring time point so as to perform leakage judgment; the flowing direction of fluid in the underground pipe network system is determined, and leakage point positioning is achieved based on the real-time pressure difference value matrix of the current monitoring time point of the underground pipe network system; the operation safety of the pipe network system can be greatly improved, the environmental risk and the maintenance cost caused by leakage are reduced, and therefore the management efficiency and the service quality of the whole pipe network system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of underground pipeline network leakage location, and particularly to a sensor location method, device, equipment and medium for underground pipeline networks. Background Art

[0002] Underground pipeline networks are an important part of urban infrastructure, and their safe operation is crucial for the normal operation of cities. However, pipeline leakage is a common and unavoidable problem, which may lead to water resource waste, environmental pollution and even potential safety hazards. Traditional pipeline leakage detection methods usually rely on experience and simple physical measurements, and it is difficult to accurately and quickly locate the leakage point; Underground pipeline network leakage not only causes waste of water resources, but may also lead to ground settlement, pollution of underground water bodies and other environmental problems. Therefore, quickly and accurately locating the leakage point is the key to underground pipeline network maintenance. In the prior art, leakage location mostly relies on physical detection or empirical judgment, and these methods often take a long time, have high costs and limited accuracy. Summary of the Invention

[0003] Aiming at the deficiencies of the prior art, the present invention provides a sensor location method, device, equipment and medium for underground pipeline networks.

[0004] The present invention solves the above technical problems through the following technical means: In the first aspect of the present invention, a sensor location method for underground pipeline networks is provided, including the following steps: Step S1: Install pressure sensors in each key node of the underground pipeline network system, measure the pressure values of each key node at the current monitoring time point, and then construct a real-time pressure difference matrix of the underground pipeline network system at the current monitoring time point; Step S2: Construct a reference pressure difference matrix of the underground pipeline network system, compare it with the real-time pressure difference matrix of the underground pipeline network system at the current monitoring time point, and thus perform leakage judgment; Step S3: If a leakage is identified in the underground pipeline network system, execute Step S4, otherwise jump out of the step loop; Step S4: Determine the flow direction of the fluid in the underground pipeline network system, and based on the real-time pressure difference matrix of the underground pipeline network system at the current monitoring time point, and then achieve leakage point location.

[0005] According to a preferred embodiment, the construction process of the real-time pressure difference matrix of the underground pipeline network system at the current monitoring time point is specifically as follows: Number each of the key nodes in the underground pipe network system sequentially as 1, 2,.., i, c... N; and randomly select any two key nodes from the key nodes of the underground pipe network system, and thereby obtain the pressure values of the i-th key node and the c-th key node within the current monitoring time point, and denote them respectively as and , where i is the number of each key node, i = 1, 2,..., N, and c is also the number of each key node, c = 1, 2,..., N; Obtain the pressure difference between the i-th key node and the c-th key node within the current monitoring time point ; Thereby construct the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point .

[0006] According to a preferred embodiment, construct the reference pressure difference matrix of the underground pipe network system. The specific construction logic is as follows: Collect the pressure values of each key node at multiple historical normal time points in the underground pipe network system , and construct the historical pressure difference matrices of each historical normal time point in the underground pipe network system in the same way as the construction method of the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point; Calculate the norms of the historical pressure difference matrices corresponding to each historical normal time point in the underground pipe network system , where j is the number of each historical normal time point, j = 1, 2,... D; Thereby calculate the standard deviation of the historical pressure difference matrices corresponding to the historical normal time points in the underground pipe network system , where JZ is the mean of the historical pressure difference matrices corresponding to the historical normal time points in the underground pipe network system, , and D is the total number of historical normal time points; Calculate the calculation differences of the historical pressure difference matrices corresponding to each historical normal time point in the underground pipe network system , and arrange the calculation differences of the historical pressure difference matrices corresponding to each historical normal time point in the underground pipe network system in ascending order, and select the historical pressure difference matrix corresponding to the historical normal time point with the smallest calculation difference as the reference pressure difference matrix of the underground pipe network system.

[0007] According to a preferred embodiment, perform leakage judgment. The specific judgment process is as follows: Obtain the reference pressure difference matrix of the underground pipe network system ; Subtract the pressure values at the corresponding positions in the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point from the reference pressure difference matrix of the underground pipe network system to obtain the pressure judgment matrix of the underground pipe network system; According to the composition rules in the pressure judgment matrix of the underground pipe network system, the actual judgment matrix of the underground pipe network system is obtained , and the composition rules are shown as follows: ; Count the total number of 1s and -1s in the actual judgment matrix of the underground pipe network system. If the total number of 1s and -1s in the actual judgment matrix of the underground pipe network system is greater than the set number threshold, it is determined that there is a leak in the underground pipe network system; otherwise, it is determined that there is no leak in the underground pipe network system.

[0008] According to a preferred embodiment, determine the flow direction of the fluid in the underground pipe network system. The specific determination logic is as follows: Based on the actual judgment matrix of the underground pipe network system, where 1 and -1 in the actual judgment matrix of the underground pipe network system represent that the pressure difference between the i-th key node and the c-th key node increases, that is, the fluid in the underground pipe network system changes; 0 represents that the fluid in the underground pipe network system does not change; If it is identified that the pressure difference between the i-th key node and the c-th key node in the underground pipe network system increases, that is, obtain the flow change values of each other key node connected to the i-th key node, and exclude the c-th key node from each other key node, and calculate the average flow change value of the other key nodes connected to the i-th key node and excluding the c-th key node; Based on the average flow change value of each other key node connected to the i-th key node and excluding the c-th key node, obtain the average flow change value of the other key nodes connected to the c-th key node and excluding the i-th key node; Obtain the flow change value from the i-th key node to the c-th key node within the current monitoring time point from the pressure judgment matrix of the underground pipe network system and the flow change value from the c-th key node to the i-th key node ; Subtract the average flow change value of the other key nodes connected to the i-th key node and excluding the c-th key node from the flow change value from the i-th key node to the c-th key node within the current monitoring time point to obtain the flow fluctuation value of the i-th key node within the current monitoring time point; Based on the flow fluctuation value of the i-th key node within the current monitoring time point, calculate the flow fluctuation value of the c-th key node within the current monitoring time point in the same way; If the flow fluctuation value of the i-th key node within the current monitoring time point is positive, it is determined that the fluid flow direction in the underground pipe network system within the current monitoring time point is from the i-th key node to the c-th key node; otherwise, it is determined that the fluid flow direction in the underground pipe network system within the current monitoring time point is from the c-th key node to the i-th key node; Determine the flow direction of the fluid in the underground pipe network system according to the above analysis method.

[0009] According to a preferred embodiment, based on the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system, the leakage point is located. The specific location process is as follows: Obtain the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system, apply the composition rule to it, and obtain the processed pressure difference matrix at the current monitoring time point of the underground pipe network system ; Perform an absolute value operation on the pressure values of each key node in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system, and count the number of 1s in each row and each column of the processed pressure difference matrix at the current monitoring time point of the underground pipe network system; If it is recognized that the fluid flow direction from the i-th key node to the c-th key node is upward, then the upward weight of each row in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system is ; If it is recognized that the fluid flow direction from the i-th key node to the c-th key node is downward, then the downward weight of each row in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system is ; If it is recognized that the fluid flow direction from the i-th key node to the c-th key node is leftward, then the leftward weight of each column in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system is ; If it is recognized that the fluid flow direction from the i-th key node to the c-th key node is rightward, then the rightward weight of each column in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system is ; h is the row number of the processed pressure difference matrix at the current monitoring time point of the underground pipe network system, h = 1, 2,... H, where H is the total number of rows in the processed pressure difference matrix, and v is the column number of the processed pressure difference matrix at the current monitoring time point of the underground pipe network system, v = 1, 2,... G, where G is the total number of columns in the processed pressure difference matrix.

[0010] According to a preferred embodiment, to locate the leakage point, the specific implementation logic further includes: Obtain the flow direction of the fluid in the underground pipe network system, and then calculate the direction weights in each row and each column of the processed pressure difference matrix at the current monitoring time point, denoted as and ; Multiply the number of 1s in each row of the processing pressure difference matrix at the current monitoring time point of the underground pipe network system by the direction weight of each row to obtain the weighted statistical value of each row in the processing pressure difference matrix at the current monitoring time point, and screen them to obtain the row number with the largest weighted statistical value; Multiply the number of 1s in each column of the processing pressure difference matrix at the current monitoring time point of the underground pipe network system by the direction weight of each column to obtain the weighted statistical value of each column in the processing pressure difference matrix at the current monitoring time point, and screen them to obtain the column number with the largest weighted statistical value; Consolidate the row number and column number with the largest weighted statistical value, and mark the position point where the row number and column number with the largest weighted statistical value coincide in the processing pressure difference matrix at the current monitoring time point of the underground pipe network system as the position of the leakage point.

[0011] The second aspect of the present invention provides a sensor positioning device for an underground pipe network, including a real-time matrix construction module, a pipe network leakage judgment module, a leakage judgment execution module, and a pipe network leakage point positioning module; the above-mentioned each module is connected by wired and / or wireless connection methods to realize data transmission between each module; Real-time matrix construction module: Install pressure sensors at each key node of the underground pipe network system, measure the pressure values of each key node within the current monitoring time point, and then construct a real-time pressure difference matrix of the underground pipe network system at the current monitoring time point; Pipe network leakage judgment module: Construct a reference pressure difference matrix of the underground pipe network system, compare it with the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, and conduct leakage judgment accordingly; Leakage judgment execution module: If a leakage is identified in the underground pipe network system, execute the pipe network leakage point positioning module; Pipe network leakage point positioning module: Determine the flow direction of the fluid in the underground pipe network system, and based on the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, further realize the positioning of the leakage point.

[0012] The third aspect of the present invention provides an electronic device, including a processor and a memory, wherein, a computer program that can be called by the processor is stored in the memory; The processor executes the steps of implementing a sensor positioning method for an underground pipe network as described in the present invention by calling the computer program stored in the memory.

[0013] The fourth aspect of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a sensor positioning method for an underground pipe network as described in the present invention are realized.

[0014] Advantages of the present invention: A method, device, equipment and medium for sensor positioning of an underground pipe network provided by the present invention measure the pressure values of each key node at the current monitoring time point by installing pressure sensors in each key node of the underground pipe network system, and then construct a real-time pressure difference matrix of the underground pipe network system at the current monitoring time point; synchronously construct a reference pressure difference matrix of the underground pipe network system, compare it with the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, and thus perform leakage judgment; determine the flow direction of the fluid in the underground pipe network system, and based on the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, further realize the positioning of the leakage point. Deploying pressure sensors in the underground pipe network system and constructing a real-time pressure difference matrix can realize continuous monitoring of the system, timely detect leaks and quickly locate problem points. It can not only greatly improve the operation safety of the pipe network system, reduce the environmental risks and maintenance costs caused by leaks, but also improve the management efficiency and service quality of the entire pipe network system. Description of the drawings

[0015] Figure 1 It is a schematic connection structure diagram of the method of the present invention.

[0016] Figure 2 It is a schematic connection structure diagram of the device of the present invention. Detailed implementation manners

[0017] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0018] Embodiment 1 Please refer to Figure 1 as shown, a method for sensor positioning of an underground pipe network includes: Step S1: Install pressure sensors in each key node of the underground pipe network system, measure the pressure values of each key node at the current monitoring time point, and then construct a real-time pressure difference matrix of the underground pipe network system at the current monitoring time point; Preferably based on the above solution, the process of constructing the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point is as follows: Number the key nodes of the underground pipe network system in sequence as 1, 2,.., i, c... N; and randomly select any two key nodes from the key nodes of the underground pipe network system, and respectively obtain the pressure values of the i-th key node and the c-th key node at the current monitoring time point, and record them as and , where i is the number of each key node, i = 1, 2,..., N, and c is also the number of each key node, c = 1, 2,..., N; Obtain the pressure difference between the i-th key node and the c-th key node at the current monitoring time point ; Thus, construct the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point , is the pressure difference between the first key node and the first key node at the current monitoring time point, which is 0; is the pressure difference between the first key node and the N-th key node at the current monitoring time point; is the pressure difference between the first key node and the second key node at the current monitoring time point; is the pressure difference between the N-th key node and the N-th key node at the current monitoring time point, which is 0; is the pressure difference between the second key node and the second key node at the current monitoring time point, which is 0; is the pressure difference between the second key node and the first key node at the current monitoring time point; is the pressure difference between the N-th key node and the first key node at the current monitoring time point, is the pressure difference between the N-th key node and the second key node at the current monitoring time point; is the pressure difference between the second key node and the N-th key node at the current monitoring time point.

[0019] Since the key nodes are arranged in sequence, N can represent both the total number of key nodes and the N-th key node.

[0020] Step S2, construct the reference pressure difference matrix of the underground pipe network system, compare it with the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, and perform leakage judgment based on this; On the basis of the above scheme, preferably, construct the reference pressure difference matrix of the underground pipe network system, and the specific construction logic is as follows: Collect the pressure values of each key node at multiple historical normal time points in the underground pipe network system , construct the historical pressure difference matrix of each historical normal time point in the underground pipe network system in the same way as the construction method of the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system; Calculate the norm of the historical pressure difference matrix corresponding to each historical normal time point in the underground pipe network system , where j is the number of each historical normal time point, j = 1, 2,... D; Thus, calculate the standard deviation of the historical pressure difference matrix corresponding to the historical normal time point in the underground pipe network system , JZ is the mean value of the historical pressure difference matrix corresponding to the historical normal time point in the underground pipe network system, , D is the total number of historical normal time points; Calculate the calculated difference of the historical pressure difference matrix corresponding to each historical normal time point in the underground pipe network system , and arrange the calculated differences of the historical pressure difference matrices corresponding to each historical normal time point in the underground pipe network system in ascending order, and select the historical pressure difference matrix corresponding to the historical normal time point with the smallest calculated difference as the reference pressure difference matrix of the underground pipe network system.

[0021] Based on the above scheme, preferably, perform leakage judgment. The specific judgment process is as follows: Obtain the reference pressure difference matrix of the underground pipe network system ; Subtract the pressure values at the corresponding positions in the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system from the reference pressure difference matrix of the underground pipe network system to obtain the pressure judgment matrix of the underground pipe network system; According to the composition rule in the pressure judgment matrix of the underground pipe network system, further obtain the actual judgment matrix of the underground pipe network system , and the composition rule is shown as follows: ; Count the total number of 1s and -1s in the actual judgment matrix of the underground pipe network system. If the total number of 1s and -1s in the actual judgment matrix of the underground pipe network system is greater than the set number threshold, it is determined that there is a leakage in the underground pipe network system, otherwise it is determined that there is no leakage in the underground pipe network system.

[0022] Step S3: If a leakage is identified in the underground pipe network system, execute Step S4, otherwise jump out of the step loop; Step S4: Determine the flow direction of the fluid in the underground pipe network system, and based on the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system, further locate the leakage point.

[0023] Based on the above scheme, preferably, determine the flow direction of the fluid in the underground pipe network system. The specific determination logic is as follows: Based on the actual judgment matrix of the underground pipe network system, where 1 and -1 in the actual judgment matrix of the underground pipe network system indicate that the pressure difference between the i-th key node and the c-th key node increases, that is, the fluid in the underground pipe network system changes; 0 indicates that the fluid in the underground pipe network system has not changed. The elements of matrix c are only in three cases: 1, -1, and 0. These three numbers describe the flow trend between the key nodes of the underground pipe network system. 0 indicates that the fluid in the underground pipe network system has not changed or the influence of the fluid in the underground pipe network system on the i-th key node and the c-th key node is the same. For example, the distances from the leakage point to the two monitoring points are equal, or the leakage point is far from the two monitoring points, making the influence of the leakage on the two monitoring points too weak. Since 1 and -1 already include the leakage state values of the leakage key node, the above situations are not included in 0.

[0024] If it is identified that the pressure difference between the i-th key node and the c-th key node of the underground pipe network system increases, that is, obtain the flow change values of other key nodes connected to the i-th key node, and exclude the c-th key node from other key nodes, and calculate the average flow change value of other key nodes connected to the i-th key node after excluding the c-th key node. Based on the average flow change value of other key nodes connected to the i-th key node after excluding the c-th key node, obtain the average flow change value of other key nodes connected to the c-th key node after excluding the i-th key node. Obtain the flow change value from the i-th key node to the c-th key node at the current monitoring time point from the pressure judgment matrix of the underground pipe network system and the flow change value from the c-th key node to the i-th key node ; Subtract the flow change value from the i-th key node to the c-th key node at the current monitoring time point from the average flow change value of other key nodes connected to the i-th key node after excluding the c-th key node to obtain the flow floating value of the i-th key node at the current monitoring time point. Based on the flow floating value of the i-th key node at the current monitoring time point, similarly calculate the flow floating value of the c-th key node at the current monitoring time point. If the flow floating value of the i-th key node at the current monitoring time point is positive, it is determined that the fluid flow direction in the underground pipe network system at the current monitoring time point is from the i-th key node to the c-th key node; otherwise, it is determined that the fluid flow direction in the underground pipe network system at the current monitoring time point is from the c-th key node to the i-th key node. Determine the fluid flow direction in the underground pipe network system according to the above analysis method.

[0025] Based on the above solution, preferably, based on the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system, the leakage point is further located. The specific location process is as follows: Obtain the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system, apply the composition rule to it, and obtain the processed pressure difference matrix at the current monitoring time point of the underground pipe network system ; Perform an absolute value operation on the pressure values of each key node in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system, and count the number of 1s in each row and each column of the processed pressure difference matrix at the current monitoring time point of the underground pipe network system; If it is recognized that the fluid flow direction from the i-th key node to the c-th key node is upward, then the upward direction weight of each row in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system is ; if it is recognized that the fluid flow direction from the i-th key node to the c-th key node is downward, then the downward direction weight of each row in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system is ; If it is recognized that the fluid flow direction from the i-th key node to the c-th key node is leftward, then the leftward direction weight of each column in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system is ; if it is recognized that the fluid flow direction from the i-th key node to the c-th key node is rightward, then the rightward direction weight of each column in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system is ; h is the row number of each row in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system, h = 1, 2,... H, where H is the total number of rows in the processed pressure difference matrix, and v is the column number of each column in the processed pressure difference matrix at the current monitoring time point of the underground pipe network system, v = 1, 2,... G, where G is the total number of columns in the processed pressure difference matrix.

[0026] Based on the above solution, preferably, to realize the leakage point location, the specific implementation logic further includes: Obtain the fluid flow direction in the underground pipe network system, and then calculate the direction weights in each row and each column of the processed pressure difference matrix at the current monitoring time point, which are respectively denoted as and ; Multiply the number of 1s in each row of the processed pressure difference matrix at the current monitoring time point of the underground pipe network system by the direction weight of each row respectively, obtain the weighted statistical value of each row in the processed pressure difference matrix at the current monitoring time point, and screen it to obtain the row number with the largest weighted statistical value; Multiply the number of 1s in each column of the processing pressure difference matrix at the current monitoring time point of the underground pipe network system by the direction weight of each column to obtain the weighted statistical value of each column in the processing pressure difference matrix at the current monitoring time point, and screen it to obtain the column number with the largest weighted statistical value; Consolidate the row number and column number with the largest weighted statistical value, and mark the position point where the row number and column number with the largest weighted statistical value coincide in the processing pressure difference matrix at the current monitoring time point of the underground pipe network system as the position of the leakage point.

[0027] Under normal conditions, the pressure difference matrix of each acquisition channel of the system has stability and can reflect the normal operating state of the system; when a leakage occurs in the system, the leakage will cause abnormal changes in the pressure of some nodes, and this change will be reflected in the real-time measurement matrix. By comparing the real-time measurement matrix with the reference matrix, a difference matrix is calculated, and the difference matrix is binarized (for example, by setting a reasonable threshold, marking the difference exceeding the threshold as 1), and the channels with abnormal pressure in the system can be effectively identified. The appearance of "1" in the elements of a row or column in the difference matrix indicates that the pressure difference of this channel exceeds the normal range, so it can be preliminarily judged whether there is a leakage in the system. By counting the number and distribution of "1" in the difference matrix, the possible leakage location can be further inferred. This depends on the change characteristics of the pressure difference matrix in normal and abnormal states, and leakage detection and location are achieved through comparative analysis.

[0028] In a pipeline system, pressure is one of the key parameters to maintain the normal flow of the medium. When there is no leakage in the system, the pressure values measured by each acquisition channel will form a stable pressure distribution matrix, which can be used as a reference for the normal operation of the system. Once a leakage occurs, the pressure near the leakage point will drop, resulting in a pressure difference different from the reference matrix in the real-time measurement matrix.

[0029] Leakage will cause a local pressure drop, and this drop will be manifested as a numerical change in a specific row or column in the pressure difference matrix. Specifically, if the pressure of a channel is significantly lower than the reference value, then in the difference matrix, the row or column corresponding to this channel will have a value of 1 (or other preset thresholds), indicating the possibility of leakage. Further, the number of 1s appearing can reflect the severity of the leakage or the location of the leakage point, because the more severe the leakage or the closer it is to the measurement point, the more channels will be affected, and correspondingly, the more 1s will appear in the matrix.

[0030] The continuity and transmissibility of pressure in fluid dynamics are utilized. In a closed pipeline system, the change in pressure is transmitted along the pipeline, and as an anomaly, the leakage point will introduce abnormal pressure values during the transmission process, and these abnormal values are reflected through the difference matrix. Therefore, by analyzing the abnormal patterns in the difference matrix, a preliminary judgment and positioning of the leakage can be made.

[0031] Embodiment 2 Please refer to Figure 2 As shown, a sensor positioning device for an underground pipe network includes a real-time matrix construction module, a pipe network leakage judgment module, a leakage judgment execution module, and a pipe network leakage point positioning module; each of the above modules is connected by wired and / or wireless connection methods to achieve data transmission between each module; The pipe network leakage judgment module is respectively connected to the real-time matrix construction module and the leakage judgment execution module, and the pipe network leakage point positioning module is connected to the leakage judgment execution module; Real-time matrix construction module: Install pressure sensors at each key node in the underground pipe network system, measure the pressure values of each key node at the current monitoring time point, and then construct a real-time pressure difference matrix of the underground pipe network system at the current monitoring time point; Pipe network leakage judgment module: Construct a reference pressure difference matrix of the underground pipe network system, compare it with the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, and use this to make a leakage judgment; Leakage judgment execution module: If a leakage is identified in the underground pipe network system, execute the pipe network leakage point positioning module; Pipe network leakage point positioning module: Determine the flow direction of the fluid in the underground pipe network system, and based on the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, further achieve the positioning of the leakage point.

[0032] Embodiment 3 An electronic device includes a processor and a memory, wherein a computer program that can be called by the processor is stored in the memory; The processor executes the steps of implementing a sensor positioning method for an underground pipe network as described in the present invention by calling the computer program stored in the memory.

[0033] Embodiment 4 A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a sensor positioning method for an underground pipe network as described in the present invention are implemented.

[0034] The above content is only an example and illustration of the structure of the present invention. Those skilled in the art of this technology can make various modifications, supplements, or use similar methods to replace the specific embodiments described, as long as they do not deviate from the structure of the invention or exceed the scope defined by this claim book, they should all fall within the protection scope of the present invention.

[0035] In the description of this specification, the description referring to terms such as "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials, or characteristics described in connection with that embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.

[0036] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the present invention to only the specific implementation manners. Obviously, according to the content of this specification, many modifications and changes can be made. This specification selects and specifically describes these embodiments in order to better explain the principle and practical application of the present invention, so that those skilled in the art of this technology can understand and utilize the present invention well. The present invention is only limited by the claim book and its full scope and equivalents.

Claims

1. A method for sensor positioning of an underground pipe network, characterized in that, The method includes the following steps: Step S1: Install pressure sensors at each key node of the underground pipe network system, measure the pressure values of each key node at the current monitoring time point, and then construct a real-time pressure difference matrix of the underground pipe network system at the current monitoring time point; Step S2: Construct a reference pressure difference matrix of the underground pipe network system, compare it with the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, and use this to judge leakage; Step S3: If a leakage is identified in the underground pipe network system, execute Step S4, otherwise jump out of the step loop; Step S4: Determine the flow direction of the fluid in the underground pipe network system, and based on the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, locate the leakage point.

2. The sensor positioning method for an underground pipe network according to claim 1, wherein Constructing the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, the specific construction process is as follows: The key nodes of the underground pipe network system are numbered sequentially as 1, 2,.., i, c... N; and two key nodes are randomly selected from the key nodes of the underground pipe network system, and the pressure values of the i-th key node and the c-th key node at the current monitoring time point are respectively obtained and denoted as and , where i is the number of each key node, i = 1, 2,..., N, and c is also the number of each key node, c = 1, 2,..., N; Obtain the pressure difference between the i-th key node and the c-th key node within the current monitoring time point ; Thus, a real-time pressure difference matrix of the current monitoring time point of the underground pipe network system is constructed. .

3. The sensor positioning method for an underground pipe network according to claim 1, characterized in that, Constructing the reference pressure difference matrix of the underground pipe network system, the specific construction logic is as follows: Collect the pressure values of each key node at multiple historical normal time points in the underground pipe network system , and construct the historical pressure difference matrix of each historical normal time point in the underground pipe network system in the same way as the construction method of the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system; Calculate the norm of the historical pressure difference matrix corresponding to each historical normal time point in the underground pipe network system , where j is the number of each historical normal time point, j = 1, 2,... D; Calculate the standard deviation of the historical pressure difference matrix corresponding to the historical normal time points in the underground pipe network system accordingly , where JZ is the mean of the historical pressure difference matrix corresponding to the historical normal time points in the underground pipe network system , and D is the total number of historical normal time points Calculate the calculation difference of the historical pressure difference matrix corresponding to each historical normal time point in the underground pipe network system and sort the calculation differences of the historical pressure difference matrices corresponding to each historical normal time point in the underground pipe network system in ascending order, and screen the historical pressure difference matrix corresponding to the historical normal time point with the smallest calculation difference as the reference pressure difference matrix of the underground pipe network system.

4. A method for sensor positioning of an underground pipe network according to claim 1, characterized in that, Judging leakage, the specific judgment process is as follows: Obtain the reference pressure difference matrix of the underground pipe network system ; Subtract the pressure values at the corresponding positions in the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point from the reference pressure difference matrix of the underground pipe network system to obtain the pressure judgment matrix of the underground pipe network system; According to the composition rules in the pressure judgment matrix of the underground pipe network system, the actual judgment matrix of the underground pipe network system is obtained , and the composition rules are shown as follows: ; Count the total number of 1s and -1s in the actual judgment matrix of the underground pipe network system. If the total number of 1s and -1s in the actual judgment matrix of the underground pipe network system is greater than the set number threshold, it is determined that a leakage has occurred in the underground pipe network system, otherwise it is determined that no leakage has occurred in the underground pipe network system.

5. A method for positioning sensors of an underground pipe network according to claim 4, characterized in that, Determining the flow direction of the fluid in the underground pipe network system, the specific determination logic is as follows: Based on the actual judgment matrix of the underground pipe network system, where 1 and -1 in the actual judgment matrix of the underground pipe network system indicate that the pressure difference between the i-th key node and the c-th key node increases, that is, the fluid in the underground pipe network system changes; 0 indicates that the fluid in the underground pipe network system has not changed; If it is identified that the pressure difference between the i-th key node and the c-th key node in the underground pipe network system increases, that is, obtain the flow change values of each other key node connected to the i-th key node, and exclude the c-th key node from each other key node, and calculate the average flow change value of the other key nodes connected to the i-th key node and excluding the c-th key node; Based on the average flow change value of each other key node connected to the i-th key node and excluding the c-th key node, obtain the average flow change value of the other key nodes connected to the c-th key node and excluding the i-th key node; Obtain the flow change value from the i-th key node to the c-th key node and the flow change value from the c-th key node to the i-th key node at the current monitoring time point from the pressure judgment matrix of the underground pipe network system; Subtract the flow change value from the i-th key node to the c-th key node at the current monitoring time point from the average flow change value of the other key nodes connected to the i-th key node and excluding the c-th key node to obtain the flow fluctuation value of the i-th key node at the current monitoring time point; Similarly calculate the flow fluctuation value of the c-th key node within the current monitoring time point based on the flow fluctuation value of the i-th key node within the current monitoring time point; If the flow fluctuation value of the i-th key node within the current monitoring time point is positive, it is determined that the fluid flow direction within the underground pipe network system at the current monitoring time point is from the i-th key node to the c-th key node; otherwise, it is determined that the fluid flow direction within the underground pipe network system at the current monitoring time point is from the c-th key node to the i-th key node; Determine the fluid flow direction within the underground pipe network system according to the above analysis method.

6. A method for positioning sensors of an underground pipe network according to claim 1, characterized in that, Based on the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, further realize the leakage point positioning. The specific positioning process is as follows: Obtain the real-time pressure difference matrix of the current monitoring time point of the underground pipe network system, and apply the construction rule to it to obtain the processed pressure difference matrix of the current monitoring time point of the underground pipe network system ; Perform absolute value operations on the pressure values of each key node in the processed pressure difference matrix of the underground pipe network system at the current monitoring time point, and count the number of 1s in each row and each column of the processed pressure difference matrix of the underground pipe network system at the current monitoring time point; If it is identified that the fluid flow direction from the i-th key node to the c-th key node is upward, the upward direction weight of each row in the processing pressure difference matrix of the underground pipe network system at the current monitoring time point is ; if it is identified that the fluid flow direction from the i-th key node to the c-th key node is downward, the downward direction weight of each row in the processing pressure difference matrix of the underground pipe network system at the current monitoring time point is ; If it is identified that the fluid flow direction of the $i$-th key node corresponding to the $c$-th key node is leftward flow, then the leftward weights of each column in the processing pressure difference matrix of the underground pipe network system at the current monitoring time point are ; if it is identified that the fluid flow direction of the $i$-th key node corresponding to the $c$-th key node is rightward flow, then the rightward weights of each column in the processing pressure difference matrix of the underground pipe network system at the current monitoring time point are ; h is the row number of each row in the processed pressure difference matrix of the underground pipe network system at the current monitoring time point, h = 1, 2,... H, where H is the total number of rows in the processed pressure difference matrix, and v is the column number of each column in the processed pressure difference matrix of the underground pipe network system at the current monitoring time point, v = 1, 2,... G, where G is the total number of columns in the processed pressure difference matrix.

7. A method for locating sensors in an underground pipe network according to claim 6, characterized in that, To realize the leakage point positioning, the specific implementation logic also includes: Obtain the flow direction of the fluid in the underground pipe network system, and then calculate the direction weights in each row and each column of the processing pressure difference matrix at the current monitoring time point, which are respectively denoted as and ; Multiply the number of 1s in each row of the processed pressure difference matrix of the underground pipe network system at the current monitoring time point by the direction weight of each row to obtain the weighted statistical value of each row in the processed pressure difference matrix at the current monitoring time point, and screen them to obtain the row number with the largest weighted statistical value; Multiply the number of 1s in each column of the processed pressure difference matrix of the underground pipe network system at the current monitoring time point by the direction weight of each column to obtain the weighted statistical value of each column in the processed pressure difference matrix at the current monitoring time point, and screen them to obtain the column number with the largest weighted statistical value; Consolidate the row number and column number with the largest weighted statistical value, and mark the position point where the row number and column number with the largest weighted statistical value coincide in the processed pressure difference matrix of the underground pipe network system at the current monitoring time point as the position of the leakage point.

8. A sensor positioning device for an underground pipe network, characterized in that, Applied to a sensor positioning method for an underground pipe network according to any one of claims 1 - 7, including a real-time matrix construction module, a pipe network leakage judgment module, a leakage judgment execution module, and a pipe network leakage point positioning module; the above-mentioned each module is connected by wired and / or wireless connection methods to realize data transmission between each module; Real-time matrix construction module: Install pressure sensors at each key node of the underground pipe network system, measure the pressure values of each key node within the current monitoring time point, and then construct the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point; Pipe network leakage judgment module: Construct the reference pressure difference matrix of the underground pipe network system, compare it with the real-time pressure difference matrix of the underground pipe network system at the current monitoring time point, and conduct leakage judgment based on this; Leakage judgment execution module: If a leakage occurs in the underground pipe network system, the pipe network leakage point location module is executed; Pipe network leakage point location module: Determine the flow direction of the fluid in the underground pipe network system, and based on the real-time pressure difference matrix at the current monitoring time point of the underground pipe network system, further realize the location of the leakage point.

9. An electronic device, characterized in that, It includes: A processor and a memory, wherein the memory stores a computer program that can be called by the processor; The processor executes the steps of implementing a sensor location method for an underground pipe network as described in any one of claims 1-7 by calling the computer program stored in the memory.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the steps of a sensor location method for an underground pipe network as described in any one of claims 1 to 7 are realized.

Citation Information

Patent Citations

  • Pipe network leakage positioning method and system based on steady-state hydraulic adjustment calculation

    CN116579272A

  • Pipeline leakage monitoring analysis method and system based on pressure gauge, terminal and medium

    CN118088948A

  • Fault detection device and method for coiled tubing

    CN119042543A

  • An online gas leak detection method, system, device and medium

    CN119756728A

  • Experimental system for pipe gallery gas pipeline leakage and method

    WO2022160588A1

Cited By

  • Self-adaptive rainwater pipe network monitoring method and system

    CN121598266A