Pipeline leak point positioning method and system based on pressure detection
By driving a positioning block inside the pipeline and combining it with pressure sensor data, the problem of low efficiency and high misjudgment rate in judging pipeline leak locations by relying on human experience in the existing technology has been solved, and efficient and accurate positioning of pipeline leak points has been achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUNAN PUQI NEW ENERGY RES INST CO LTD
- Filing Date
- 2026-03-18
- Publication Date
- 2026-06-02
AI Technical Summary
The existing technology that relies on human experience to determine the location of pipeline leaks is inefficient and has a high error rate.
A pressure-based pipeline leak location method is adopted. By controlling the opening and closing of valve combinations, the positioning block is driven to move back and forth in the pipeline, and the leak point is accurately located by combining pressure sensor data.
It enables efficient and accurate location of pipeline leaks, reduces reliance on manual experience and judgment, and improves location efficiency and accuracy.
Smart Images

Figure CN122129656A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of pipeline inspection technology, specifically to a method and system for locating pipeline leaks based on pressure detection. Background Technology
[0002] Built-in pressure pipes (such as water pipes or underfloor heating pipes) are concealed works, generally installed underground or inside walls. Due to pipe quality or temperature changes, leaks can easily occur in built-in pressure pipes. When a leak occurs, it is necessary to accurately locate the leak point for timely repair. Currently, the location of the leak is mainly determined by manual experience, which is inefficient and has a high rate of misjudgment. Summary of the Invention
[0003] The main objective of this invention is to provide a method and system for locating pipeline leaks based on pressure detection, which aims to solve the problem that relying on human experience to determine the location of pipeline leaks is inefficient and has a high rate of misjudgment.
[0004] The technical solution proposed in this invention is as follows: A method for locating pipeline leaks based on pressure detection is applied to a pipeline leak location system based on pressure detection. The system includes a five-way connector, a buffer water bladder, a first three-way connector, a first valve, a second valve, a second three-way connector, a third valve, a fourth valve, an A-end interface, a B-end interface, a positioning block, and a control module. A first pressure sensor is installed at the A-end interface; a second pressure sensor is installed at the B-end interface; the buffer water bladder is connected to the first interface of the five-way connector; the second interface of the five-way connector is connected to the first valve, and the third interface of the five-way connector is connected to the third valve; the first valve is also connected to the first interface of the first three-way connector, the second interface of the first three-way connector is connected to the A-end interface, the third interface of the first three-way connector is connected to the second valve, and the second valve is also connected to an external water outlet; the third valve is also connected to the first interface of the second three-way connector, the second interface of the second three-way connector is connected to the B-end interface, the third interface of the second three-way connector is connected to the fourth valve, and the fourth valve is also connected to an external water outlet; the method includes: After inserting the positioning block from the first end of the pipe to be tested, connect the A end interface to the first end of the pipe to be tested and the B end interface to the second end of the pipe to be tested. The control module controls the opening and closing of the first, second, third, and fourth valves in combination to purge the air from the pipe under test. The control module controls the opening and closing of the first, second, third, and fourth valves in combination to drive the positioning block to reciprocate within the pipeline under test and eventually stop at the leak point of the pipeline under test.
[0005] Preferably, the control module controls the combined opening and closing of the first valve, the second valve, the third valve, and the fourth valve to purge air from the pipe under test, including: The control module controls the first and fourth valves to open, and the second and third valves to close, so as to drive the positioning block to move from the first end to the second end of the pipe under test, and records the time taken for the positioning block to move from the first end to the second end of the pipe under test, which is marked as the first time. The control module controls the second and third valves to open, and the first and fourth valves to close, so as to drive the positioning block to move from the second end of the pipe under test to the first end, and records the time taken for the positioning block to move from the second end of the pipe under test to the first end, which is marked as the second time. The control module uses the average of the first duration and the second duration as the initial duration.
[0006] Preferably, the control module controls the combined opening and closing of the first, second, third, and fourth valves to drive the positioning block to reciprocate within the pipe under test, ultimately stopping at the leak point of the pipe under test, including: The control module acquires the pressure value detected by the first pressure sensor in real time and marks it as the first pressure value; The control module acquires the pressure value detected by the second pressure sensor in real time and marks it as the second pressure value; The control module sets i=1; The control module calculates the first preset duration based on i and determines whether the first pressure value at the current moment is greater than or equal to the second pressure value. If so, the control module controls the first and fourth valves to open and the second and third valves to close, so as to drive the positioning block to move towards the second end in the pipe to be tested. The duration for which the first and fourth valves are open and the second and third valves are closed is the first preset duration. If not, the control module controls the first and fourth valves to close and the second and third valves to open, so as to drive the positioning block to move towards the first end in the pipe to be tested. The duration for which the first and fourth valves are closed and the second and third valves are open is the first preset duration. The control module determines whether the first preset duration is less than or equal to the second preset duration; If the first preset duration is less than or equal to the second preset duration, the control module records the current position of the positioning block and uses it as the leak point of the pipeline under test. If the first preset duration is greater than the second preset duration, the control module sets i=1+1, and then executes the control module again to calculate the first preset duration based on i, and determines whether the first pressure value at the current moment is greater than or equal to the second pressure value, and the subsequent steps.
[0007] Preferably, the calculation formula for the first preset duration based on i by the control module is as follows: , In the formula, The first preset duration is in milliseconds; This is the initial duration, in milliseconds.
[0008] Preferably, the control module controls the first and fourth valves to open, and the second and third valves to close, so as to drive the positioning block to move from the first end to the second end of the pipe under test, and records the time taken for the positioning block to move from the first end to the second end of the pipe under test, which is marked as the first time, including: The control module controls the first and fourth valves to open synchronously, and the second and third valves to close synchronously, and uses the current time as the start time; From the start time, the control module acquires the pressure value detected by the first pressure sensor in real time and marks it as the first pressure value, and acquires the pressure value detected by the second pressure sensor in real time and marks it as the second pressure value; The control module determines whether the following conditions are met: the first pressure value has been continuously increasing over the past third preset time period, and the second pressure value is 0; If so, the control module determines that the positioning block has reached the second end and takes the current time as the end time; The control module uses the time between the start and end times as the time it takes for the positioning block to move from the first end to the second end of the pipe under test.
[0009] Preferably, the positioning block can be slidably embedded into the pipe to be tested, and a positioning chip is provided inside the positioning block; the positioning block can seal the leakage point of the pipe to be tested; the system also includes a detection device for detecting the positioning chip.
[0010] Preferably, the system further includes a water pump; the inlet of the water pump is connected to an external water source, and the outlet of the water pump is connected to the fourth port of the five-way connector.
[0011] Preferably, the system further includes a safety valve; the fifth port of the five-way connector is connected to the safety valve; a third pressure sensor and a mechanical drain valve are provided at the safety valve; the method further includes: The control module acquires the pressure value detected by the third pressure sensor in real time and marks it as the third pressure value; When the third pressure value is less than the first preset pressure value, the control module controls the water pump to start; When the third pressure value is greater than the second preset pressure value, the control module controls the water pump to shut down, wherein the second preset pressure value is greater than the first preset pressure value.
[0012] This invention also proposes a pipeline leak location system based on pressure detection, applying a pipeline leak location method based on pressure detection. The system includes a five-way connector, a buffer water bladder, a first three-way connector, a first valve, a second valve, a second three-way connector, a third valve, a fourth valve, an A-end interface, a B-end interface, a positioning block, and a control module. A first pressure sensor is installed at the A-end interface; a second pressure sensor is installed at the B-end interface; the buffer water bladder is connected to the first interface of the five-way connector; the second interface of the five-way connector is connected to the first valve, and the third interface of the five-way connector is connected to the third valve; the first valve is also connected to the first interface of the first three-way connector, the second interface of the first three-way connector is connected to the A-end interface, the third interface of the first three-way connector is connected to the second valve, and the second valve is also connected to an external water outlet; the third valve is also connected to the first interface of the second three-way connector, the second interface of the second three-way connector is connected to the B-end interface, the third interface of the second three-way connector is connected to the fourth valve, and the fourth valve is also connected to an external water outlet.
[0013] The above technical solution can achieve the following beneficial effects: The pressure detection-based pipeline leak location method proposed in this invention solves the problem of low efficiency and high false alarm rate associated with relying on manual experience to determine the location of pipeline leaks. First, a positioning block is inserted into the first end of the pipeline under test, with end A connected to the first end and end B connected to the second end. Then, the first, second, third, and fourth valves are controlled to open and close in combination to purge air from the pipeline. By controlling the opening and closing of these valves, the positioning block can be moved back and forth within the pipeline. The distance the positioning block travels within the pipeline can be controlled by adjusting the duration of the valves' opening and closing. Combined with pressure data collected by the first and second pressure sensors, the leak point in the pipeline can be accurately located. This process eliminates reliance on manual experience to determine the leak location, making it more efficient and accurate. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0015] Figure 1 This is a flowchart illustrating the first embodiment of a pipeline leak location method based on pressure detection proposed in this invention. Figure 2This is a schematic diagram of the components of a pipeline leak location system based on pressure detection proposed in this invention. Detailed Implementation
[0016] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0017] This invention proposes a method and system for locating pipeline leaks based on pressure detection.
[0018] As attached Figure 1 and attached Figure 2 As shown, in the first embodiment of the pipeline leak location method based on pressure detection proposed in this invention, the method is applied to a pipeline leak location system based on pressure detection; the system includes a five-way connector, a buffer water bladder (an elastic bag for storing water and capable of stably draining water into the pipeline under test), a first three-way connector, a first valve, a second valve, a second three-way connector, a third valve, a fourth valve, an A-end interface, a B-end interface, a positioning block, and a control module; the A-end interface is equipped with a first pressure sensor; the B-end interface is equipped with a second pressure sensor; the buffer water bladder is connected to the first valve of the five-way connector. The interface includes the following steps: the second interface of the five-way connector is connected to the first valve, and the third interface of the five-way connector is connected to the third valve; the first valve is also connected to the first interface of the first three-way connector, the second interface of the first three-way connector is connected to the A-end interface, the third interface of the first three-way connector is connected to the second valve, and the second valve is also connected to the external water outlet; the third valve is also connected to the first interface of the second three-way connector, the second interface of the second three-way connector is connected to the B-end interface, and the third interface of the second three-way connector is connected to the fourth valve, and the fourth valve is also connected to the external water outlet. Step S110: After inserting the positioning block from the first end of the pipe to be tested, connect the A end interface to the first end of the pipe to be tested and the B end interface to the second end of the pipe to be tested.
[0019] Step S120: The control module controls the opening and closing of the first valve, the second valve, the third valve and the fourth valve in combination to purge the air from the pipe to be tested.
[0020] Specifically, by controlling the combined opening and closing of the first, second, third, and fourth valves, the water stored in the buffer bladder can flow through the following channels: five-way connector → first valve → first three-way connector → A-end connector → pipe under test → B-end connector → second three-way connector → fourth valve → external outlet (this cycle moves the positioning block in the pipe under test, from near A-end connector to near B-end connector), or through the following channels: five-way connector → third valve → second three-way connector → B-end connector → pipe under test → A-end connector → first three-way connector → second valve → external outlet (this cycle moves the positioning block in the pipe under test, from near B-end connector to near A-end connector). This process empties the air from the pipe under test, allowing for smoother movement of the positioning block later.
[0021] Step S130: The control module controls the opening and closing of the first valve, the second valve, the third valve and the fourth valve in combination to drive the positioning block to move back and forth in the pipeline under test, and finally stop at the leakage point of the pipeline under test.
[0022] Specifically, by controlling the combined opening and closing of the first, second, third, and fourth valves, the positioning block can be pushed to move back and forth within the pipe under test. Furthermore, by controlling the duration of the combined opening and closing of the first, second, third, and fourth valves, the distance the positioning block moves within the pipe under test can be controlled. Combined with the pressure data collected by the first and second pressure sensors, the location of the leak point in the pipe under test can be accurately determined.
[0023] The pressure detection-based pipeline leak location method proposed in this invention solves the problem of low efficiency and high false alarm rate associated with relying on manual experience to determine the location of pipeline leaks. First, a positioning block is inserted into the first end of the pipeline under test, with end A connected to the first end and end B connected to the second end. Then, the first, second, third, and fourth valves are controlled to open and close in combination to purge air from the pipeline. By controlling the opening and closing of these valves, the positioning block can be moved back and forth within the pipeline. The distance the positioning block travels within the pipeline can be controlled by adjusting the duration of the valves' opening and closing. Combined with pressure data collected by the first and second pressure sensors, the leak point in the pipeline can be accurately located. This process eliminates reliance on manual experience to determine the leak location, making it more efficient and accurate.
[0024] In a second embodiment of the pipeline leak location method based on pressure detection proposed in this invention, based on the first embodiment, step S110 includes the following steps: Step S210: The control module controls the first valve and the fourth valve to open, and the second valve and the third valve to close, so as to drive the positioning block to move from the first end to the second end of the pipe under test, and records the time taken for the positioning block to move from the first end to the second end of the pipe under test, and marks it as the first time.
[0025] Specifically, by controlling the opening of the first and fourth valves and the closing of the second and third valves, the water stored in the buffer water tank can sequentially pass through the five-way connector → the first valve → the first three-way connector → the A-end connector → the pipe under test → the B-end connector → the second three-way connector → the fourth valve → the external outlet. This cycle pushes the positioning block to move in the pipe under test, from the first end to the second end.
[0026] Step S220: The control module controls the second and third valves to open, and the first and fourth valves to close, so as to drive the positioning block to move from the second end of the pipe under test to the first end, and records the time taken for the positioning block to move from the second end of the pipe under test to the first end, which is marked as the second time.
[0027] Specifically, by controlling the opening of the second and third valves and the closing of the first and fourth valves, the water stored in the buffer water tank can pass sequentially through the five-way connector → the third valve → the second three-way connector → the B-end connector → the pipe under test → the A-end connector → the first three-way connector → the second valve → the external outlet. This cycle pushes the positioning block to move in the pipe under test, from the second end to the first end, thus allowing the air to be vented twice.
[0028] Step S230: The control module uses the average of the first duration and the second duration as the initial duration.
[0029] Specifically, the initial duration is the time it takes for the positioning block to move from one end of the pipe to the other.
[0030] In the third embodiment of the pipeline leak location method based on pressure detection proposed in this invention, based on the second embodiment, step S120 includes the following steps: Step S310: The control module acquires the pressure value detected by the first pressure sensor in real time and marks it as the first pressure value.
[0031] Step S320: The control module acquires the pressure value detected by the second pressure sensor in real time and marks it as the second pressure value.
[0032] Step S330: The control module sets i=1.
[0033] Step S340: The control module calculates the first preset duration based on i and determines whether the first pressure value at the current moment is greater than or equal to the second pressure value.
[0034] Specifically, the first preset duration is calculated based on i. The core idea is that the larger i is, the shorter the calculated first preset duration is. When i=1, the first preset duration is also less than the initial duration (e.g., 10 seconds). This ensures that the time taken for the positioning block to move in this scheme is less than the initial duration. That is, in the actual scheme for locating the leak point, the first movement of the positioning block takes the longest (but it is still less than the initial duration), and the duration of each subsequent movement will be shortened to continuously get closer to the leak point of the pipe under test.
[0035] If so, execute step S350: the control module controls the first valve and the fourth valve to open, and the second valve and the third valve to close, so as to drive the positioning block to move towards the second end in the pipe to be tested. The duration for which the first valve and the fourth valve are open and the second valve and the third valve are closed is the first preset duration.
[0036] Specifically, when the first pressure value is greater than or equal to the second pressure value, it indicates that the current leak point is between the positioning block and the second end. Therefore, the positioning block needs to be moved closer to the second end (for example, the duration of the first push is 5 seconds). After the first push, it will be checked again whether the first pressure value is greater than or equal to the second pressure value. If yes, it proves that the current leak point is still between the positioning block and the second end, and the positioning block needs to be moved closer to the second end (for example, the duration of the second push is 2.5 seconds). If no, it proves that the current leak point is between the positioning block and the first end, and the positioning block needs to be moved in the opposite direction towards the first end (for example, the duration of the second push is 2.5 seconds). Then, it will be checked again whether the first pressure value is greater than or equal to the second pressure value. This cycle will push the positioning block closer and closer to the leak point of the pipe under test.
[0037] If not, proceed to step S360: the control module controls the first valve and the fourth valve to close, and the second valve and the third valve to open, so as to drive the positioning block to move towards the first end in the pipe to be tested. The duration for which the first valve and the fourth valve are closed and the second valve and the third valve are open is the first preset duration.
[0038] Step S370: The control module determines whether the first preset duration is less than or equal to the second preset duration (e.g., 0.5 seconds).
[0039] Specifically, as the number of times the positioning block is pushed increases, the corresponding first preset time will become smaller and smaller, and the positioning block will get closer and closer to the leak point. Therefore, when the first preset time is small enough (less than or equal to the second preset time), the current position of the positioning block is presumed as the leak point of the pipeline under test.
[0040] Step S380: If the first preset duration is less than or equal to the second preset duration, the control module records the current position of the positioning block and uses it as the leak point of the pipeline under test.
[0041] Step S390: If the first preset duration is greater than the second preset duration, the control module sets i=1+1, and then executes step S340 and subsequent steps again.
[0042] Specifically, this embodiment provides a scheme for controlling the combined opening and closing of the first valve, the second valve, the third valve, and the fourth valve to drive the positioning block to reciprocate within the pipe under test and locate the leak point of the pipe under test.
[0043] In the fourth embodiment of the pipeline leak location method based on pressure detection proposed in this invention, based on the third embodiment, the calculation formula for the first preset time period obtained by the control module based on i is as follows: , In the formula, The first preset duration is in milliseconds; This is the initial duration, in milliseconds.
[0044] In the fifth embodiment of the pipeline leak location method based on pressure detection proposed in this invention, based on the second embodiment, step S210 includes the following steps: Step S510: The control module controls the first valve and the fourth valve to open synchronously, and the second valve and the third valve to close synchronously, and takes the current time as the start time.
[0045] Step S520: From the start time, the control module acquires the pressure value detected by the first pressure sensor in real time and marks it as the first pressure value, and acquires the pressure value detected by the second pressure sensor in real time and marks it as the second pressure value.
[0046] Step S530: The control module determines whether the following conditions are met: the first pressure value has been continuously increasing over the past third preset time period, and the second pressure value is 0.
[0047] If so, proceed to step S540: The control module determines that the positioning block has reached the second end and sets the current time as the end time.
[0048] Step S550: The control module uses the time between the start time and the end time as the time taken for the positioning block to move from the first end to the second end of the pipe under test.
[0049] Specifically, this embodiment shows how to determine the time taken for the positioning block to move from the first end to the second end of the pipe under test when the air in the pipe under test is emptied.
[0050] In the sixth embodiment of the pipeline leak location method based on pressure detection proposed in this invention, based on the first embodiment, the positioning block can be slidably embedded into the pipeline to be tested, and a positioning chip is provided inside the positioning block; the positioning block can seal the leak point of the pipeline to be tested; the system also includes a detection device for detecting the positioning chip; in order to avoid the detector being interfered with by other signals when detecting the locator, the positioning chip can be encrypted to form an encrypted positioning chip, and the detector can only read the encrypted positioning chip.
[0051] Specifically, the positioning chip is an RFID chip, and the detection device is an RFID detector. The positioning chip preferably uses an RFID chip, which, together with the RFID detector, can accurately locate the leak in the pipeline, and has low energy consumption and high reliability.
[0052] In the seventh embodiment of the pipeline leak location method based on pressure detection proposed in this invention, based on the first embodiment, the system further includes a water pump; the inlet end of the water pump is connected to an external water source, and the outlet end of the water pump is connected to the fourth interface of the five-way connector.
[0053] In the eighth embodiment of the pipeline leak location method based on pressure detection proposed in this invention, based on the seventh embodiment, the system further includes a safety valve; the fifth port of the five-way connector is connected to the safety valve; a third pressure sensor and a mechanical drain valve are provided at the safety valve (the mechanical drain valve is used to manually drain the residual water in the safety valve to prevent the residual water in the safety valve from freezing and causing the safety valve to burst when the temperature is low); this embodiment also includes the following steps: Step S810: The control module acquires the pressure value detected by the third pressure sensor in real time and marks it as the third pressure value.
[0054] Step S820: When the third pressure value is less than the first preset pressure value (0.15MPa), the control module controls the water pump to start.
[0055] Step S830: When the third pressure value is greater than the second preset pressure value (0.45MPa), the control module controls the water pump to shut down, wherein the second preset pressure value is greater than the first preset pressure value.
[0056] Specifically, through the above technical solution, the third pressure value is the drainage pressure of the buffer water bladder. When the third pressure value is less than the first preset pressure value, it indicates that the water pressure in the buffer water bladder is already low and water needs to be added in time to maintain a stable drainage pressure. Therefore, the water pump is started to pump water from the external water source into the buffer water bladder (at this time, the first valve and the third valve need to be closed). Conversely, when the third pressure value is greater than the second preset pressure value, it indicates that the water pressure in the buffer water bladder is already high and water no longer needs to be added to prevent the buffer water bladder from being at risk. Therefore, the water pump is stopped.
[0057] This invention also proposes a pipeline leak location system based on pressure detection, applying a pipeline leak location method based on pressure detection. The system includes a five-way connector, a buffer water bladder, a first three-way connector, a first valve, a second valve, a second three-way connector, a third valve, a fourth valve, an A-end interface, a B-end interface, a positioning block, and a control module. A first pressure sensor is installed at the A-end interface; a second pressure sensor is installed at the B-end interface; the buffer water bladder is connected to the first interface of the five-way connector; the second interface of the five-way connector is connected to the first valve, and the third interface of the five-way connector is connected to the third valve; the first valve is also connected to the first interface of the first three-way connector, the second interface of the first three-way connector is connected to the A-end interface, the third interface of the first three-way connector is connected to the second valve, and the second valve is also connected to an external water outlet; the third valve is also connected to the first interface of the second three-way connector, the second interface of the second three-way connector is connected to the B-end interface, the third interface of the second three-way connector is connected to the fourth valve, and the fourth valve is also connected to an external water outlet.
[0058] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0059] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A method for locating pipeline leaks based on pressure detection, characterized in that, An application is made to a pressure-detection-based pipeline leak location system; the system includes a five-way connector, a buffer water bladder, a first three-way connector, a first valve, a second valve, a second three-way connector, a third valve, a fourth valve, an A-end interface, a B-end interface, a positioning block, and a control module; the A-end interface is equipped with a first pressure sensor; the B-end interface is equipped with a second pressure sensor; the buffer water bladder is connected to the first interface of the five-way connector; the second interface of the five-way connector is connected to the first valve, and the third interface of the five-way connector is connected to the third valve; the first valve is also connected to the first interface of the first three-way connector, the second interface of the first three-way connector is connected to the A-end interface, the third interface of the first three-way connector is connected to the second valve, and the second valve is also connected to an external water outlet; the third valve is also connected to the first interface of the second three-way connector, the second interface of the second three-way connector is connected to the B-end interface, the third interface of the second three-way connector is connected to the fourth valve, and the fourth valve is also connected to an external water outlet; the method includes: After inserting the positioning block from the first end of the pipe to be tested, connect the A end interface to the first end of the pipe to be tested and the B end interface to the second end of the pipe to be tested. The control module controls the opening and closing of the first, second, third, and fourth valves in combination to purge the air from the pipe under test. The control module controls the opening and closing of the first, second, third, and fourth valves in combination to drive the positioning block to reciprocate within the pipeline under test and eventually stop at the leak point of the pipeline under test.
2. The method for locating pipeline leaks based on pressure detection according to claim 1, characterized in that, The control module controls the combined opening and closing of the first, second, third, and fourth valves to purge air from the pipe under test, including: The control module controls the first and fourth valves to open, and the second and third valves to close, so as to drive the positioning block to move from the first end to the second end of the pipe under test, and records the time taken for the positioning block to move from the first end to the second end of the pipe under test, which is marked as the first time. The control module controls the second and third valves to open, and the first and fourth valves to close, so as to drive the positioning block to move from the second end of the pipe under test to the first end, and records the time taken for the positioning block to move from the second end of the pipe under test to the first end, which is marked as the second time. The control module uses the average of the first duration and the second duration as the initial duration.
3. The method for locating pipeline leaks based on pressure detection according to claim 2, characterized in that, The control module controls the combined opening and closing of the first, second, third, and fourth valves to drive the positioning block to reciprocate within the pipe under test, ultimately stopping at the leak point of the pipe under test, including: The control module acquires the pressure value detected by the first pressure sensor in real time and marks it as the first pressure value; The control module acquires the pressure value detected by the second pressure sensor in real time and marks it as the second pressure value; The control module sets i=1; The control module calculates the first preset duration based on i and determines whether the first pressure value at the current moment is greater than or equal to the second pressure value. If so, the control module controls the first and fourth valves to open and the second and third valves to close, so as to drive the positioning block to move towards the second end in the pipe to be tested. The duration for which the first and fourth valves are open and the second and third valves are closed is the first preset duration. If not, the control module controls the first and fourth valves to close and the second and third valves to open, so as to drive the positioning block to move towards the first end in the pipe to be tested. The duration for which the first and fourth valves are closed and the second and third valves are open is the first preset duration. The control module determines whether the first preset duration is less than or equal to the second preset duration; If the first preset duration is less than or equal to the second preset duration, the control module records the current position of the positioning block and uses it as the leak point of the pipeline under test. If the first preset duration is greater than the second preset duration, the control module sets i=1+1, and then executes the control module again to calculate the first preset duration based on i, and determines whether the first pressure value at the current moment is greater than or equal to the second pressure value, and the subsequent steps.
4. The method for locating pipeline leaks based on pressure detection according to claim 3, characterized in that, The control module calculates the first preset duration based on i using the following formula: , In the formula, The first preset duration is in milliseconds; This is the initial duration, in milliseconds.
5. The method for locating pipeline leaks based on pressure detection according to claim 2, characterized in that, The control module controls the first and fourth valves to open, and the second and third valves to close, so as to drive the positioning block to move from the first end to the second end of the pipe under test, and records the time taken for the positioning block to move from the first end to the second end of the pipe under test, which is marked as the first time, including: The control module controls the first and fourth valves to open synchronously, and the second and third valves to close synchronously, and uses the current time as the start time; From the start time, the control module acquires the pressure value detected by the first pressure sensor in real time and marks it as the first pressure value, and acquires the pressure value detected by the second pressure sensor in real time and marks it as the second pressure value; The control module determines whether the following conditions are met: the first pressure value has been continuously increasing over the past third preset time period, and the second pressure value is 0; If so, the control module determines that the positioning block has reached the second end and takes the current time as the end time; The control module uses the time between the start and end times as the time it takes for the positioning block to move from the first end to the second end of the pipe under test.
6. The method for locating pipeline leaks based on pressure detection according to claim 1, characterized in that, The positioning block can be slidably embedded into the pipe under test, and a positioning chip is provided inside the positioning block; the positioning block can seal the leakage point of the pipe under test; the system also includes a detection device for detecting the positioning chip.
7. The method for locating pipeline leaks based on pressure detection according to claim 1, characterized in that, The system also includes a water pump; the inlet of the water pump is connected to an external water source, and the outlet of the water pump is connected to the fourth port of the five-way connector.
8. The method for locating pipeline leaks based on pressure detection according to claim 7, characterized in that, The system also includes a safety valve; the fifth port of the five-way connector is connected to the safety valve; a third pressure sensor and a mechanical drain valve are installed at the safety valve; the method further includes: The control module acquires the pressure value detected by the third pressure sensor in real time and marks it as the third pressure value; When the third pressure value is less than the first preset pressure value, the control module controls the water pump to start; When the third pressure value is greater than the second preset pressure value, the control module controls the water pump to shut down, wherein the second preset pressure value is greater than the first preset pressure value.
9. A pipeline leak location system based on pressure detection, characterized in that, The system employs a pressure detection-based pipeline leak location method as described in any one of claims 1-8; the system includes a five-way connector, a buffer water bladder, a first three-way connector, a first valve, a second valve, a second three-way connector, a third valve, a fourth valve, an A-end interface, a B-end interface, a positioning block, and a control module; the A-end interface is equipped with a first pressure sensor; the B-end interface is equipped with a second pressure sensor; the buffer water bladder is connected to the first interface of the five-way connector; the second interface of the five-way connector is connected to the first valve, and the third interface of the five-way connector is connected to the third valve; the first valve is also connected to the first interface of the first three-way connector, the second interface of the first three-way connector is connected to the A-end interface, the third interface of the first three-way connector is connected to the second valve, and the second valve is also connected to an external water outlet; the third valve is also connected to the first interface of the second three-way connector, the second interface of the second three-way connector is connected to the B-end interface, the third interface of the second three-way connector is connected to the fourth valve, and the fourth valve is also connected to an external water outlet.