Pipeline network leakage detection method and electronic equipment
By obtaining leakage characteristic information and pressure change information of the pipeline network, accurately locate the leakage points of the pipeline network, solving the problems of low efficiency and low positioning accuracy in traditional methods, and achieving efficient and accurate leakage monitoring and repair.
Patent Information
- Application Number
- CN202510140437.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-02-08
AI Technical Summary
Traditional pipeline leakage detection methods have problems such as low efficiency, low positioning accuracy and long repair time, which are difficult to meet the needs of modern urban heating pipelines for efficient and accurate monitoring.
By obtaining leakage characteristic information of the pipeline network, it is determined whether a leakage event has occurred, and when a leakage occurs, the arrival time of the pressure wave is determined based on the pressure change information of the set position, and then the leakage point is accurately positioned.
Real-time detection and accurate positioning of pipeline leakage is realized, the efficiency of discovery and repair accuracy of leakage events is improved, and the repair time is shortened.
Smart Images

Figure CN119598326B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pipe network leakage detection, and more specifically, to a pipe network leakage detection method and electronic equipment. Background Art
[0002] With the continuous expansion and aging of urban heating pipeline systems, pipeline leakage has become an important factor affecting the stable operation and safety of heating systems. Traditional methods of detecting pipeline leakage rely on manual inspections, regular inspections and manual records, but these methods have major shortcomings. Among them, manual inspections are infrequent, inefficient, and prone to missed inspections. Regular inspections may not be able to capture the dynamic changes of the pipeline network in real time, making it difficult to detect leakage incidents in a timely manner. In addition, traditional leak location methods often rely on simple detection equipment, with low positioning accuracy and long repair time, which cannot meet the needs of modern urban heating pipeline networks for efficient and accurate monitoring. Summary of the invention
[0003] One purpose of an embodiment of the present invention is to provide a new technical solution for pipeline leakage detection, which can detect pipeline leakage in real time, solve the shortcomings of traditional pipeline leakage detection methods, and can accurately locate the leakage point, solving the problems of low positioning accuracy and long repair time in traditional leakage point positioning methods.
[0004] According to a first aspect of the present invention, a pipeline network leakage detection method is provided, comprising:
[0005] Obtain leakage characteristic information of the pipeline network to be detected;
[0006] Determining whether a leakage event occurs in the pipeline network to be detected according to the leakage characteristic information;
[0007] In the case where it is determined that a leakage event occurs in the pipe network to be detected, obtaining pressure change information corresponding to each set position of a plurality of set positions of the pipe network to be detected; wherein the pressure change information of the set position is information reflecting the change of the pressure of the set position over time;
[0008] Determining a first arrival time of the pressure wave at each of the set positions according to the pressure change information corresponding to each of the set positions;
[0009] The location of the leakage point of the pipe network to be detected is determined according to the first arrival time of the pressure wave at each set position.
[0010] Optionally, the leakage characteristic information includes at least one of a water supply temperature value and a return water temperature value, a water supply pressure value and a return water pressure value, and a water replenishment flow value.
[0011] Optionally, determining whether a leakage event occurs in the pipe network to be detected according to the leakage characteristic information includes:
[0012] Inputting the leakage characteristic information into a leakage detection model to obtain a leakage prediction value;
[0013] When the leakage prediction value is greater than the leakage threshold, determining that a leakage event occurs in the pipeline network to be detected;
[0014] When the leakage prediction value is less than or equal to the leakage threshold, it is determined that no leakage event occurs in the pipeline network to be detected.
[0015] Optionally, determining the first arrival time of the pressure wave at each set position for the first time according to the pressure change information corresponding to each set position includes:
[0016] For each of the set positions, determining a target pressure change rate in the pressure change information according to the pressure change information corresponding to the set position; wherein the target pressure change rate is a pressure change rate that is greater than or equal to a pressure change rate threshold;
[0017] The first arrival time of the pressure wave at the set position for the first time is determined according to the time corresponding to the target pressure change rate.
[0018] Optionally, the set position includes a first set position, a second set position and a third set position, the first arrival time of the first set position is the first arrival time, the first arrival time of the second set position is the second arrival time, and the first arrival time of the third set position is the third arrival time, and the determining the leakage point position of the pipe network to be detected according to the first arrival time when the pressure wave first arrives at each set position includes:
[0019] Determine a first distance between the leakage point and the first set position according to the first arrival time, a reference leakage occurrence time and a pressure wave propagation speed;
[0020] Determine a second distance between the leakage point and the second set position according to the second arrival time, the reference leakage occurrence time and the pressure wave propagation speed;
[0021] Determining a third distance between the leakage point and the third set position according to the third arrival time, the reference leakage occurrence time and the pressure wave propagation speed;
[0022] The location of the leakage point of the pipe network to be detected is determined according to the first distance, the second distance and the third distance.
[0023] Optionally, determining the location of the leakage point of the pipe network to be detected according to the first distance, the second distance and the third distance includes:
[0024] The coordinates of the leakage point of the pipe network to be detected are determined by triangulation based on the first distance, the second distance and the third distance.
[0025] Optionally, determining the leakage detection model includes:
[0026] Acquire a training sample set; wherein each training sample in the training sample set includes leakage feature information and a leakage state value, and the leakage state value is used to indicate whether a leakage event occurs in the training sample;
[0027] The leakage detection model is trained by using the training sample set, and when the number of training times is greater than or equal to a training times threshold, the leakage detection model is obtained.
[0028] Optionally, after determining that a leakage event occurs in the pipeline network to be detected, the method further includes:
[0029] Output leak prompt information.
[0030] Optionally, after determining the location of the leakage point of the pipe network to be detected, the method further includes:
[0031] Output the leakage point location information.
[0032] According to a second aspect of the present invention, there is also provided an electronic device, comprising a memory and a processor, wherein the memory is used to store executable instructions; the processor is used to operate according to the control of the instructions to execute the method as described in the first aspect of the present invention.
[0033] One beneficial effect of the present invention is that by determining whether a leakage event occurs in the pipeline network to be detected based on leakage characteristic information, the pipeline network leakage can be detected in real time, solving the shortcomings existing in the traditional leakage detection method. By determining the first arrival time of the pressure wave at each set position for the first time according to the pressure change information corresponding to each set position when it is determined that a leakage event occurs in the pipeline network to be detected, and determining the leakage point position of the pipeline network to be detected according to the first arrival time of the pressure wave at each set position for the first time, the accurate positioning of the leakage point position can be achieved, solving the problems of low positioning accuracy and long repair time existing in the traditional leakage point positioning method.
[0034] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0036] Figure 1 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention;
[0037] Figure 2 is a flow chart of a method for detecting leakage in a pipe network according to an embodiment of the present invention;
[0038] Figure 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0039] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0040] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0041] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0042] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0043] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0044] <Hardware Configuration>
[0045] Figure 1 is a block diagram of a hardware configuration of an electronic device 1000 according to an embodiment of the present invention.
[0046] The electronic device 1000 may be, for example, a notebook computer, a PC, etc., which is not limited here.
[0047] The electronic device 1000 may include a processor 1100 , a memory 1200 , an interface device 1300 , a communication device 1400 , a display device 1500 , an input device 1600 , a speaker 1700 , a microphone 1800 , and the like.
[0048] The processor 1100 may be a mobile version processor. The memory 1200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 may include, for example, a USB interface, a headphone interface, etc. The communication device 1400 may, for example, be capable of wired or wireless communication. The communication device 1400 may include a short-range communication device, for example, any device for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 1400 may also include a remote communication device, for example, any device for WLAN, GPRS, 2G / 3G / 4G / 5G remote communication. The display device 1500 may be, for example, a liquid crystal display, a touch display, etc. The input device 1600 may include, for example, a touch screen, a keyboard, etc. The user may input / output voice information through the speaker 1700 and the microphone 1800.
[0049] In this embodiment, the memory 1200 of the electronic device 1000 is used to store instructions, and the instructions are used to control the processor 1100 to operate to at least execute the pipe network leakage detection method executed by the electronic device 1000 according to any embodiment of the present invention. The technician can design instructions according to the scheme disclosed in the present invention. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.
[0050] Despite Figure 1 , multiple devices of the electronic device 1000 are shown; however, the present invention may only involve some of the devices, for example, the electronic device 1000 only involves the memory 1200 and the processor 1100 .
[0051] In this embodiment, the electronic device 1000 determines whether a leakage event occurs based on the leakage characteristic information of the pipeline network to be detected, and when it is determined that a leakage event occurs in the pipeline network to be detected, determines the location of the leakage point of the pipeline network to be detected based on the pressure change information corresponding to each set position of multiple set positions of the pipeline network to be detected.
[0052] <Method Example>
[0053] Figure 2 1 is a flow chart of a pipeline leakage detection method according to an embodiment of the present invention, which can be implemented by an electronic device 1000.
[0054] according to Figure 2 As shown, the pipeline network leakage detection method of this embodiment may include the following steps S2100-S2500:
[0055] Step S2100, obtaining leakage characteristic information of the pipe network to be detected.
[0056] In this embodiment, the pipe network to be detected may be a heating pipe network, a hot water supply pipe network, a steam pipe network, a thermal pipe network, etc., which is not limited here.
[0057] The pipe network to be tested uses water as the heat transfer medium to transfer heat.
[0058] The leakage characteristic information may be information used to characterize the leakage state of the pipeline network to be detected.
[0059] In one embodiment, the leakage characteristic information includes a supply water temperature value and a return water temperature value.
[0060] In this embodiment, the water supply temperature value may be the fluid temperature in the water supply pipe in the pipe network to be detected, and the return water temperature value may refer to the fluid temperature in the return water pipe in the pipe network to be detected.
[0061] In one example, a temperature sensor may be set in a water supply pipe of the pipe network to be tested to collect the water supply temperature value. A temperature sensor may be set in a water return pipe of the pipe network to be tested to collect the water return temperature value.
[0062] In the absence of a leakage event, the return water temperature value will be lower than the supply water temperature value due to the heat dissipation of hot water in the pipe network to be detected. However, if a leakage event occurs, hot water will flow from the leakage point, resulting in a return water temperature value lower than the return water temperature value when no leakage event occurs, that is, the occurrence of a leakage event may cause a change in the temperature difference between the supply water temperature value and the return water temperature value. Therefore, the supply water temperature value and the return water temperature value can be used as leakage feature information.
[0063] In one embodiment, the leakage characteristic information includes a water supply pressure value and a water return pressure value.
[0064] In this embodiment, the water supply pressure value may refer to the fluid pressure in the water supply pipe in the pipe network to be detected. The return water pressure value may refer to the fluid pressure in the return water pipe in the pipe network to be detected.
[0065] In one example, a pressure sensor may be provided in a water supply pipe of the pipe network to be tested to collect the water supply pressure value. A pressure sensor may be provided in a water return pipe of the pipe network to be tested to collect the water return pressure value.
[0066] Since the water supply pressure and return water pressure remain relatively stable when no leakage occurs, and when a leakage occurs, the fluid will flow out from the leakage point, so the water supply pressure and return water pressure in the pipeline will decrease. Therefore, the water supply pressure and return water pressure can be used as leakage feature information.
[0067] In one embodiment, the leakage characteristic information includes a water replenishment flow value.
[0068] The water replenishment flow value may refer to the water flow replenished to maintain the fluid balance in the pipe network to be tested.
[0069] In one example, the water replenishment flow value can be measured by a flow sensor.
[0070] Since the water replenishment flow value remains relatively stable when no leakage occurs, and is much greater than the water replenishment flow value when no leakage occurs, the water replenishment flow value can be used as leakage feature information.
[0071] In one embodiment, the leakage characteristic information may include a water replenishment flow value, a water supply pressure value, and a return water pressure value.
[0072] In one embodiment, the leakage characteristic information may include a replenishment water flow value, a supply water temperature value, and a return water temperature value.
[0073] In one embodiment, the leakage characteristic information may include supply water temperature value and return water temperature value, supply water pressure value and return water pressure value.
[0074] In one embodiment, the leakage characteristic information may include water temperature value and return water temperature value, water supply pressure value and return water pressure value, and water replenishment flow value.
[0075] Step S2200: Determine whether a leakage event occurs in the pipeline network to be detected based on the leakage characteristic information.
[0076] In an embodiment where the leakage characteristic information includes a supply water temperature value and a return water temperature value, if the temperature difference between the return water temperature value and the supply water temperature value is greater than a temperature difference threshold, it is determined that a leakage event has occurred. The temperature difference threshold may be the temperature difference between the supply water temperature value and the return water temperature value when no leakage event has occurred.
[0077] In an embodiment where the leakage characteristic information includes the supply water pressure value and the return water pressure value, if the return water pressure value and the supply water pressure value are both less than the pressure threshold, a leakage event is determined to have occurred. The pressure threshold may be the supply water pressure value or the return water pressure value when no leakage event has occurred.
[0078] In the embodiment where the leakage characteristic information includes the water replenishment flow value, if the water replenishment flow value is greater than the water replenishment flow threshold, it is determined that a leakage event has occurred. The water replenishment flow threshold may be the corresponding water replenishment flow value when no leakage event has occurred.
[0079] In an embodiment where the leakage characteristic information includes the water replenishment flow value, the water supply pressure value and the return water pressure value, if the return water pressure value and the water supply pressure value are both less than the pressure threshold, and the water replenishment flow value is greater than the water replenishment flow threshold, a leakage event is determined to have occurred.
[0080] In an embodiment where the leakage characteristic information includes the make-up water flow value, the supply water temperature value and the return water temperature value, if the temperature difference between the return water temperature value and the supply water temperature value is greater than the temperature difference threshold, and the make-up water flow value is greater than the make-up water flow threshold, it is determined that a leakage event has occurred.
[0081] In an embodiment where the leakage characteristic information includes the supply water temperature value and the return water temperature value, and the supply water pressure value and the return water pressure value, if the temperature difference between the return water temperature value and the supply water temperature value is greater than the temperature difference threshold, and the return water pressure value and the supply water pressure value are both less than the pressure threshold, it is determined that a leakage event has occurred.
[0082] In an embodiment where the leakage characteristic information includes a water supply temperature value and a return water temperature value, a water supply pressure value and a return water pressure value, and a make-up water flow value, if the temperature difference between the return water temperature value and the supply water temperature value is greater than a temperature difference threshold, and the return water pressure value and the supply water pressure value are both less than a pressure threshold, and the make-up water flow value is greater than the make-up water flow threshold, then it is determined that a leakage event has occurred.
[0083] In some embodiments, determining whether a leakage event occurs in the pipe network to be detected based on the leakage characteristic information in step S2200 includes: steps S2200.1 to S2200.3.
[0084] Step S2200.1, input the leakage characteristic information into a leakage detection model to obtain a leakage prediction value.
[0085] In this embodiment, the leakage detection model is used to predict the probability of occurrence of a leakage event based on leakage feature information. The leakage prediction value may be the probability of occurrence of a leakage event predicted by the leakage detection model.
[0086] Exemplarily, the leakage characteristic information includes the supply water temperature value and the return water temperature value, the supply water pressure value and the return water pressure value, and the replenishment water flow value. These leakage characteristic information are input into the leakage detection model to obtain a leakage prediction value. The leakage prediction value output by the leakage detection model may be, for example, 0.85, which indicates that the probability of leakage is 85%.
[0087] In some embodiments, determining the leakage detection model includes: step S3100 and step S3200.
[0088] Step S3100, obtaining a training sample set.
[0089] In this embodiment, a training sample set can be obtained based on the leakage feature information and leakage detection results recorded in the historical leakage detection. Each training sample in the training sample set includes leakage feature information and a leakage state value, and the leakage state value is used to characterize whether a leakage event occurs in the training sample. The leakage state value of the training sample is determined based on the leakage detection results recorded in the historical leakage detection.
[0090] In one example, the leakage status value may be 1 and 0, wherein 1 indicates that a leakage event occurs, and 0 indicates that no leakage event occurs.
[0091] It should be noted that the leakage feature information included in each training sample in the training sample set obtained in step S3100 corresponds to the leakage feature information obtained in step S2100.
[0092] Exemplarily, if the leakage characteristic information acquired in step S2100 includes a supply water temperature value and a return water temperature value, then the leakage characteristic information included in each training sample in the training sample set acquired in step S3100 also includes a supply water temperature value and a return water temperature value.
[0093] Step S3200: training the leakage detection model by using the training sample set, and obtaining the leakage detection model when the number of training times is greater than or equal to a training times threshold.
[0094] The following is an example to describe the process of determining the leak detection model in detail:
[0095] The leakage characteristic information and leakage detection results of the historical leakage detection records are obtained, and the recorded leakage characteristic information is standardized to obtain a sample set. The sample set is divided into a training sample set and a test sample set in a ratio of 8:2. Among them, each sample in the sample set includes leakage characteristic information and a leakage state value. Among them, the leakage characteristic information includes the supply water temperature value and the return water temperature value, the supply water pressure value and the return water pressure value, and the replenishment water flow value. The leakage state value is 0 or 1, where 1 indicates that a leakage event has occurred, and 0 indicates that no leakage event has occurred. The leakage state value is determined according to the leakage detection results of the historical leakage detection records.
[0096] In order to train the leakage detection model through the training sample set, the XGBoost algorithm can be used to train the model, and the training number threshold is set. When the training number is greater than or equal to the training number threshold, the leakage detection model used in step S2200.1 is obtained. In order to facilitate the evaluation of the trained leakage detection model, after the training is completed, the trained leakage detection model will also be used to predict the test sample set, and the model prediction results will be compared with the leakage state value in the test sample set to calculate the accuracy of the leakage detection model. If the accuracy is greater than the accuracy threshold, the trained leakage detection model is exported to provide support for subsequent leakage prediction.
[0097] Step S2200.2: When the leakage prediction value is greater than the leakage threshold, it is determined that a leakage event occurs in the pipeline network to be detected.
[0098] In this embodiment, the leakage threshold may be a critical value set for determining the occurrence of a leakage event.
[0099] Exemplarily, the leakage threshold may be 0.7, or 0.8, etc., which is not limited here.
[0100] Step S2200.3: When the leakage prediction value is less than or equal to the leakage threshold, determine that no leakage event occurs in the pipeline network to be detected.
[0101] When it is determined that no leakage event has occurred, continue to monitor the leakage characteristic information to determine whether a leakage event has occurred.
[0102] In some embodiments, after determining in step S2200 that a leakage event occurs in the pipe network to be detected, the method further includes:
[0103] Output leak prompt information.
[0104] In this embodiment, the leakage prompt information may be a text prompt, a voice prompt, a buzzer prompt, etc., which is not limited here.
[0105] In some other embodiments, after determining in step S2200 that a leakage event occurs in the pipe network to be detected, the method further includes:
[0106] According to the leakage prediction value, the corresponding leakage prompt information is output.
[0107] In this embodiment, different leakage prompt information can be set according to different leakage risk levels. The leakage risk level can be represented by a leakage prediction value.
[0108] For example, a first leakage threshold (such as 0.7), a second leakage threshold (such as 0.8) and a third leakage threshold (such as 0.9) can be set. If the leakage prediction value is greater than the first leakage threshold 0.7 and less than the second leakage threshold 0.8, the first leakage prompt information (such as a text prompt) is triggered. If the leakage prediction value is greater than the second leakage threshold 0.8 and less than the third leakage threshold 0.9, the second leakage prompt information (such as a buzzer prompt) is triggered. If the leakage prediction value is greater than the third leakage threshold 0.9, the third leakage prompt information (such as an alarm prompt) is triggered.
[0109] By outputting leakage prompt information after determining that a leakage event has occurred in the pipeline network to be detected, it is possible to facilitate manual timely adoption of corresponding emergency repair measures, improve manual response speed to leakage events, and avoid more serious leakage.
[0110] If a leak occurs in the pipeline to be detected, the pressure value at the leak point will suddenly drop, forming a pressure wave. This pressure wave will propagate upstream and downstream along the pipeline of the pipeline network. Based on this, the location of the leak point can be inferred based on the first arrival time of the pressure wave at a set position in the pipeline network and the propagation speed of the pressure wave.
[0111] The process of locating the leakage point is described in detail below through steps S2300 to S2500.
[0112] Step S2300: When it is determined that a leakage event occurs in the pipe network to be detected, pressure change information corresponding to each of a plurality of set positions of the pipe network to be detected is obtained.
[0113] In this embodiment, the pressure change information of the set position is information reflecting the pressure change of the set position over time. According to the pressure change information of the set position, it can be determined whether the pressure wave reaches the set position.
[0114] In one example, the pressure change information of each of the multiple set positions of the pipe network to be detected can be obtained by setting a pressure sensor at the set position.
[0115] Step S2400: determining the first arrival time of the pressure wave at each set position according to the pressure change information corresponding to each set position.
[0116] In this embodiment, since leakage occurs continuously within a period of time after a leakage event is detected, the pressure wave will reach each set position multiple times, that is, for any set position, there are multiple arrival times of the pressure wave reaching the set position. In this case, the multiple arrival times of the pressure wave reaching the set position can be determined based on the pressure change information of the set position. Then, the first arrival time of the pressure wave reaching the set position for the first time can be determined based on the multiple arrival times of the pressure wave reaching the set position.
[0117] In some embodiments, in step S2400, determining the first arrival time of the pressure wave at each set position for the first time according to the pressure change information corresponding to each set position includes: step S2400.1 and step S2400.2.
[0118] Step S2400.1, for each set position, determine a target pressure change rate in the pressure change information according to the pressure change information corresponding to the set position.
[0119] In this embodiment, when the pressure wave reaches the set position, the pressure value at the set position will suddenly drop (that is, when the pressure wave reaches the set position, the pressure change rate at the set position will be greater than the pressure change rate threshold), so the target pressure change rate corresponding to the pressure wave in the pressure change information can be determined based on the pressure change information of the set position. The target pressure change rate is a pressure change rate that is greater than or equal to the pressure change rate threshold.
[0120] The pressure change rate threshold may be a maximum value of the pressure change rate of the pipeline network when no leakage event occurs.
[0121] Step S2400.2, determining the first arrival time of the pressure wave at the set position according to the time corresponding to the target pressure change rate.
[0122] In this embodiment, since leakage continues to occur within a period of time after a leakage event is detected, the pressure wave will reach each set position multiple times. Based on this, there are multiple target pressure change rates for the pressure change information of any set position. One of the multiple target pressure change rates represents a pressure wave reaching the set position once. The time corresponding to the multiple target pressure change rates is the time when the pressure wave reaches the set position multiple times. Finally, among the times when the pressure wave reaches the set position multiple times, the earliest time is determined as the first arrival time when the pressure wave reaches the set position for the first time.
[0123] Exemplarily, for any set position, there are three target pressure change rates in the pressure change information, namely, , , The times corresponding to the three target pressure change rates are , , ,and, At this time, the first arrival time of the pressure wave at the set position is .
[0124] Step S2500, determining the location of the leakage point of the pipe network to be detected according to the first arrival time of the pressure wave at each set position.
[0125] In this embodiment, since the pipe network to be detected is in three-dimensional space, the position of the leakage point also corresponds to the three-dimensional space position coordinates, so the three-dimensional space position coordinates of the leakage point can be determined by multiple first arrival times of multiple set positions.
[0126] According to the embodiment of the present application, the three-dimensional spatial position coordinates of the leakage point can be determined by the first arrival time of the pressure wave at each of the multiple set positions, which can improve the positioning accuracy of the leakage point.
[0127] In some embodiments, the set position includes a first set position, a second set position and a third set position, the first arrival time of the first set position is the first arrival time, the first arrival time of the second set position is the second arrival time, and the first arrival time of the third set position is the third arrival time. In step S2500, the leakage point position of the pipeline to be detected is determined according to the first arrival time of the pressure wave arriving at each set position for the first time, including: step S2500.1~step S2500.4.
[0128] Step S2500.1, determining a first distance between the leakage point and the first set position according to the first arrival time, the reference leakage occurrence time and the pressure wave propagation speed.
[0129] In this embodiment, the reference leakage occurrence time may be the estimated time of the leakage event. The reference leakage occurrence time may be the time when the electronic device determines that the leakage event has occurred, or the time when the leakage prompt information is output after the leakage event has been determined, which is not limited here.
[0130] The pressure wave propagation velocity can be calculated based on the pipe material of the pipeline network and the density of the fluid.
[0131] Specifically, the pressure wave propagation speed It can be calculated by the following formula:
[0132]
[0133] in, is the Young's modulus of the pipe material of the network, is the density of the fluid (for water, approximately 1000 kg / m3).
[0134] In this embodiment, the time difference between the first arrival time and the reference leakage occurrence time can be used as the first propagation time. The first propagation time can be the time taken by the pressure wave to propagate from the leakage point to the first set position. The product of the first propagation time and the pressure wave propagation speed is used as the first distance of the leakage point relative to the first set position.
[0135] Step S2500.2, determining a second distance between the leakage point and the second set position according to the second arrival time, the reference leakage occurrence time and the pressure wave propagation speed.
[0136] In this embodiment, the time difference between the second arrival time and the reference leakage occurrence time can be used as the second propagation time. The second propagation time can be the time taken by the pressure wave to propagate from the leakage point to the second set position. The product of the second propagation time and the pressure wave propagation speed is used as the second distance of the leakage point relative to the second set position.
[0137] Step S2500.3, determining a third distance between the leakage point and the third set position according to the third arrival time, the reference leakage occurrence time and the pressure wave propagation speed.
[0138] In this embodiment, the time difference between the third arrival time and the reference leakage occurrence time can be used as the third propagation time. The third propagation time can be the time taken by the pressure wave to propagate from the leakage point to the third set position. The product of the third propagation time and the pressure wave propagation speed is used as the third distance of the leakage point relative to the third set position.
[0139] Step S2500.4, determining the location of the leakage point of the pipe network to be detected according to the first distance, the second distance and the third distance.
[0140] In this embodiment, the specific position of the leakage point can be located based on the first distance of the leakage point relative to the first set position, the second distance of the leakage point relative to the second set position, and the third distance of the leakage point relative to the third set position.
[0141] In some embodiments, step S2500.4 determines the location of the leakage point of the pipe network to be detected according to the first distance, the second distance and the third distance, including:
[0142] The coordinates of the leakage point of the pipe network to be detected are determined by triangulation based on the first distance, the second distance and the third distance.
[0143] In this embodiment, when locating the position coordinates of the leakage point (i.e., the position coordinates of the leakage point in three-dimensional space) by using the triangulation positioning method, the first position coordinates of the first set position, the second position coordinates of the second set position, and the third position coordinates of the third set position can be set first, and then the position coordinates of the leakage point in three-dimensional space can be determined based on the first position coordinates and the first distance, the second position coordinates and the second distance, and the third position coordinates and the third distance.
[0144] In some embodiments, after determining the location of the leakage point of the pipe network to be detected in step S2500, the method further includes:
[0145] Output the leakage point location information.
[0146] In this embodiment, the leakage point location information may be the three-dimensional spatial position coordinates of the leakage point.
[0147] By outputting the leakage point location information, it is convenient for maintenance personnel to quickly find the corresponding leakage point location according to the leakage point location information and repair the leakage point location in time.
[0148] According to the embodiment of the present application, by determining whether a leakage event occurs in the pipeline network to be detected based on leakage characteristic information, the pipeline network leakage can be detected in real time, solving the shortcomings existing in the traditional leakage detection method. By determining the first arrival time of the pressure wave at each set position for the first time according to the pressure change information corresponding to each set position when it is determined that a leakage event occurs in the pipeline network to be detected, and determining the leakage point position of the pipeline network to be detected according to the first arrival time of the pressure wave at each set position for the first time, the accurate positioning of the leakage point position can be achieved, solving the problems of low positioning accuracy and long repair time existing in the traditional leakage point positioning method.
[0149] <Storage Medium Embodiment>
[0150] An embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in any of the above method embodiments are implemented.
[0151] <Electronic Equipment Embodiment>
[0152] Figure 3 FIG. 3 is a structural block diagram of an electronic device 300 according to an embodiment of the present invention.
[0153] In this embodiment, if Figure 3As shown, the electronic device 300 includes a memory 310 and a processor 320, wherein the memory 310 is used to store executable instructions, and the processor 320 is used to operate according to the control of the instructions to execute the method described in any of the above embodiments.
[0154] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0155] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0156] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0157] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present invention.
[0158] Various aspects of the present invention are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flowchart and / or block diagram and the combination of the boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0159] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0160] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0161] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0162] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A method for detecting leakage in a pipe network, characterized in that: The method comprises: Obtain leakage characteristic information of the pipeline network to be detected; Determining whether a leakage event occurs in the pipeline network to be detected according to the leakage characteristic information; In the case where it is determined that a leakage event occurs in the pipe network to be detected, obtaining pressure change information corresponding to each set position of a plurality of set positions of the pipe network to be detected; wherein the pressure change information of the set position is information reflecting the change of the pressure of the set position over time; Determining a first arrival time of the pressure wave at each of the set positions according to the pressure change information corresponding to each of the set positions; Determine the location of the leakage point of the pipe network to be detected according to the first arrival time of the pressure wave at each set position; The set positions include a first set position, a second set position and a third set position, the first arrival time of the first set position is the first arrival time, the first arrival time of the second set position is the second arrival time, and the first arrival time of the third set position is the third arrival time. The position of the leakage point of the pipe network to be detected is determined according to the first arrival time when the pressure wave first arrives at each set position, including: Determine a first distance between the leakage point and the first set position according to the first arrival time, the reference leakage occurrence time and the pressure wave propagation speed; wherein the reference leakage occurrence time is the time when the leakage event of the pipeline network to be detected is determined; Determine a second distance between the leakage point and the second set position according to the second arrival time, the reference leakage occurrence time and the pressure wave propagation speed; Determining a third distance between the leakage point and the third set position according to the third arrival time, the reference leakage occurrence time and the pressure wave propagation speed; The position coordinates of the leakage point of the pipeline network to be detected in three-dimensional space are determined according to the first distance, the second distance and the third distance by using the triangulation method.
2. The method according to claim 1, characterized in that The leakage characteristic information includes at least one of a supply water temperature value and a return water temperature value, a supply water pressure value and a return water pressure value, and a replenishment water flow value.
3. The method according to claim 1, characterized in that The step of determining whether a leakage event occurs in the pipe network to be detected according to the leakage characteristic information includes: Inputting the leakage characteristic information into a leakage detection model to obtain a leakage prediction value; When the leakage prediction value is greater than the leakage threshold, determining that a leakage event occurs in the pipeline network to be detected; When the leakage prediction value is less than or equal to the leakage threshold, it is determined that no leakage event occurs in the pipeline network to be detected.
4. The method according to claim 1, characterized in that: The determining, according to the pressure change information corresponding to each set position, the first arrival time of the pressure wave at each set position for the first time comprises: For each of the set positions, determining a target pressure change rate in the pressure change information according to the pressure change information corresponding to the set position; wherein the target pressure change rate is a pressure change rate that is greater than or equal to a pressure change rate threshold; The first arrival time of the pressure wave at the set position for the first time is determined according to the time corresponding to the target pressure change rate.
5. The method according to claim 3, characterized in that: Determining the leak detection model includes: Acquire a training sample set; wherein each training sample in the training sample set includes leakage feature information and a leakage state value, and the leakage state value is used to indicate whether a leakage event occurs in the training sample; The leakage detection model is trained by using the training sample set, and when the number of training times is greater than or equal to a training times threshold, the leakage detection model is obtained.
6. The method according to claim 1, characterized in that After determining that a leakage event occurs in the pipe network to be detected, the method further includes: Output leak prompt information.
7. The method according to claim 1, characterized in that After determining the location of the leakage point of the pipe network to be detected, the method further includes: Output the leakage point location information.
8. An electronic device, comprising a memory and a processor, wherein the memory is used to store executable instructions; and the processor is used to operate according to the control of the instructions to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Pipeline leakage detection and positioning device
CN106439503A
Comprehensive detection method of heat supply pipe network leakage
CN112413414A