Leakage detecting and positioning method for petrochemical oil delivery pipe network
By using drones equipped with infrared thermal imaging cameras and infrared radiometers, combined with GPS positioning and data processing on the Internet of Things platform, the problem of high cost and insufficient accuracy in leakage detection and positioning in petrochemical oil pipeline networks has been solved, and rapid and accurate leakage detection has been achieved. Detection and positioning reduce system costs and maintenance costs, and improve detection efficiency and safety.
Patent Information
- Application Number
- CN202410872540.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-13
AI Technical Summary
Existing leakage detection and location technologies in petrochemical oil pipeline networks are expensive and lack real-time monitoring and location accuracy, resulting in economic losses and environmental pollution.
UAVs equipped with infrared thermal imaging cameras and infrared radiometers are used, combined with GPS positioning, to collect and process data in real time through the Internet of Things platform, perform infrared image processing and temperature analysis, set temperature thresholds to issue early warnings, and use image enhancement and non-uniformity Sexual correction improves detection accuracy.
It achieves rapid and accurate leakage detection and positioning of petrochemical oil pipeline networks, reduces system costs and maintenance expenses, improves detection efficiency and operational safety, and reduces leakage hazards.
Smart Images

Figure CN118640414A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of petrochemical oil pipelines, and in particular to a method for detecting and locating leakage in a petrochemical oil pipeline network. Background Art
[0002] With the development and progress of modern civilization, various pipelines are becoming more and more important in human life. From water and gas in daily life to oil, the blood of industry, all are transported through pipelines. Among them, petrochemical oil pipelines may bulge or rupture locally during long-distance transportation, eventually causing pipeline leakage, resulting in significant economic losses and environmental pollution.
[0003] In order to improve the real-time monitoring and accuracy of leak location in the current mature technologies, it is necessary to increase the density of sensor deployment on the pipeline and add corresponding power supply and communication equipment, resulting in high system costs and installation and maintenance costs. Summary of the invention
[0004] In order to overcome the defects of the prior art, the technical problem to be solved by the present invention is to propose a petrochemical oil pipeline network leakage detection and positioning method that can achieve rapid and accurate detection and positioning of oil pipeline network leakage and reduce system cost and maintenance fee.
[0005] To achieve this object, the present invention adopts the following technical solutions:
[0006] The present invention provides a petrochemical oil pipeline network leakage detection and positioning method, comprising the following steps:
[0007] Step S00: Data collection, with 5m as an interval, the oil pipeline network is partitioned for detection, infrared thermal imagers, infrared radiometers and GPS positioning are installed on the drone, the petrochemical oil pipeline network is detected by infrared thermal imagers and infrared radiometers, and the collected data is transmitted back to the Internet of Things detection platform in real time through the wireless network;
[0008] Step S10: Data processing: The IoT detection platform stores and processes the collected data, analyzes the real-time data and historical data, and obtains infrared images and temperature data. The temperature data is the radiation temperature T of the petrochemical oil pipeline. r ;
[0009] Step S20: Infrared image processing, the area with high temperature in the infrared image appears bright, and the area with low temperature appears dim. The bright area is regarded as the suspicious target area, and the temperature threshold T is set. The bright area is processed, including image non-uniformity correction, target segmentation and image enhancement, and a new image is obtained after processing;
[0010] Step S30: Information warning: the Internet of Things detection platform processes the temperature data on the new image to obtain new temperature data, which is the surface temperature T0 of the petrochemical oil pipeline. When the surface temperature T0 of the petrochemical oil pipeline exceeds the temperature threshold T, the Internet of Things detection platform issues a warning through the warning module;
[0011] Step S40: Positioning and navigation: the GPS positioning system combines the processed temperature data of the new image area to establish the coordinates of each pixel point, obtain the coordinate value, and display it on the display screen to notify the staff to process.
[0012] The preferred technical solution of the present invention is that the non-uniformity correction in step S20 adopts a multi-point temperature correction algorithm, multiple temperature points are selected on the infrared image, and two-point correction is performed between two adjacent points.
[0013] The preferred technical solution of the present invention is that the target segmentation in step S20 mainly includes the following steps:
[0014] Step S21: performing histogram equalization on the original image f(x, y) to obtain a grayscale image;
[0015] Step S22: Set the grayscale value of the original image f(x, y) in step S21 to a i , determine the grayscale threshold b according to multiple grayscale values;
[0016] Step S23: The grayscale values of the pixels in the original image f(x, y) whose grayscale values are less than or equal to the grayscale threshold b are set to zero, and the grayscale values of the pixels whose grayscale values are greater than or equal to the grayscale threshold b remain unchanged, thereby obtaining an intermediate image h(x, y) containing only the target.
[0017] The preferred technical solution of the present invention is that the image enhancement adopts a linear grayscale mapping method, and utilizes the Internet of Things detection platform to perform image enhancement processing on the intermediate image h(x, y) to obtain an enhanced new image g(x, y) to increase the contrast of the new image.
[0018] A preferred technical solution of the present invention is that the grayscale threshold b is an average value of multiple grayscale values.
[0019] The preferred technical solution of the present invention is that the temperature data obtained in step S10 is the radiation temperature T of the petrochemical oil pipeline. r In step S30, the new temperature data obtained after the temperature data on the new image is processed by the Internet of Things detection platform is the real surface temperature of the petrochemical oil pipeline.
[0020] A preferred technical solution of the present invention is that in step S00, the detection time is once every 10 minutes.
[0021] A preferred technical solution of the present invention is that in step S40, by analyzing the temperature distribution and the thermal radiation intensity, the leakage range can be further narrowed to improve the accurate positioning of the leakage point.
[0022] The beneficial effects of the present invention are:
[0023] 1. The present invention uses a highly sensitive infrared thermal imager to perform real-time temperature detection on the petrochemical oil pipeline network, and cooperates with the Internet of Things detection platform to process the data in real time to obtain the surface temperature of the petrochemical oil pipeline. According to the set temperature threshold, it is judged whether the temperature of each pixel point in the infrared image exceeds the set temperature threshold, so as to control the early warning module to issue an early warning, and the specific coordinate value of the early warning point is determined in combination with the GPS positioning system. The coordinate value is displayed on the display screen, and the staff is notified in time to accurately handle the potential leakage point, so as to ensure the safety of the petrochemical oil pipeline and reduce the potential leakage.
[0024] 2. The present invention uses the Internet of Things detection platform to enhance the acquired infrared images in combination with algorithms, improves graphic performance and uniformity, eliminates brightness differences and noise effects in the images, thereby improving the accuracy of temperature detection of petrochemical oil pipelines, and cooperates with GPS and early warning modules to issue temperature warnings to remind staff to go to specific locations for maintenance, thereby improving operational efficiency and safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of the detection and positioning process provided in a specific embodiment of the present invention; DETAILED DESCRIPTION
[0026] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0027] A method for detecting and locating leakage in a petrochemical oil pipeline network comprises the following steps:
[0028] Step S00: Data collection, with 5m as an interval, the oil pipeline network is partitioned for detection, infrared thermal imagers, infrared radiometers and GPS positioning are installed on the drone, the petrochemical oil pipeline network is detected by infrared thermal imagers and infrared radiometers, and the collected data is transmitted back to the Internet of Things detection platform in real time through the wireless network;
[0029] Step S10: Data processing: The IoT detection platform stores and processes the collected data, analyzes the real-time data and historical data, and obtains infrared images and temperature data. The temperature data is the radiation temperature T of the petrochemical oil pipeline. r ;
[0030] Step S20: Infrared image processing, the area with high temperature in the infrared image appears bright, and the area with low temperature appears dim. The bright area is regarded as the suspicious target area, and the temperature threshold T is set. The bright area is processed, including image non-uniformity correction, target segmentation and image enhancement, and a new image is obtained after processing;
[0031] Step S30: Information warning: the Internet of Things detection platform processes the temperature data on the new image to obtain new temperature data, which is the surface temperature T0 of the petrochemical oil pipeline. The Internet of Things detection platform calculates the measurement results of the infrared radiometer to obtain the surface reflectivity ε of the petrochemical oil pipeline. When the surface temperature T0 of the petrochemical oil pipeline exceeds the temperature threshold T, the Internet of Things detection platform issues a warning through the warning module;
[0032] Step S40: Positioning and navigation: the GPS positioning system combines the processed temperature data of the new image area to establish the coordinates of each pixel point, obtain the coordinate value, and display it on the display screen to notify the staff to process.
[0033] Before data collection, the thermal imager is calibrated with a high-precision black body to find out the corresponding relationship between the black body temperature and the output voltage of the photoelectric converter in the thermal imager, which is grayscale on the thermal image. The real temperature of the black body can be displayed on the display screen, and the ambient temperature T of the petrochemical oil pipeline is measured in advance. u , start the drone to drive the thermal imager to inspect the petrochemical oil pipeline. The petrochemical oil pipeline is inspected in an interval of 5m. Each inspection time is 10 minutes. The thermal imager transmits the detected infrared image and temperature data to the Internet of Things detection platform in real time. After receiving the data, the Internet of Things detection platform stores and processes the collected data, and analyzes the received data and historical data to obtain infrared images and temperature data;
[0034] Select the highlighted area in the infrared image as the target area for image processing, and perform non-uniform correction on the infrared image, which can effectively remove the non-uniformity of the infrared image, improve the image performance, and achieve the purpose of improving the image; perform target segmentation on the infrared image, perform histogram equalization on the original image f(x, y), and obtain a grayscale image; set the grayscale value in the original image f(x, y) in step S21 to a i , where the minimum grayscale value is a1 and the maximum grayscale value is a n , the gray threshold b is determined by adding multiple gray values and taking the average value, that is, The grayscale values of pixels in the original image f(x, y) whose grayscale values are less than or equal to the grayscale threshold b are set to zero, and the grayscale values of pixels whose grayscale values are greater than the grayscale threshold b remain unchanged, thereby obtaining an intermediate image h(x, y) containing only the target. The non-zero minimum grayscale value of the pixels in h(x, y) is b, and the maximum grayscale value is a. n, using the linear grayscale mapping method, the IoT detection platform is used to perform image enhancement processing on the intermediate image h(x, y) to obtain an enhanced new image g(x, y) to increase the contrast of the new image;
[0035] The temperature data obtained is the radiation temperature T of the petrochemical oil pipeline r According to Planck's radiation law:
[0036]
[0037] The IoT detection platform obtains the radiation temperature T of the petrochemical oil pipeline r After processing, the actual temperature of the petrochemical oil pipeline surface is obtained as follows:
[0038]
[0039] Where T r Indicates the radiation temperature of the petrochemical oil pipeline, represents the atmospheric spectral transmittance, ε represents the emissivity of the petrochemical oil pipeline surface, represents the atmospheric emissivity, T0 represents the actual temperature of the surface of the petrochemical oil pipeline, α represents the surface absorption rate of the petrochemical oil pipeline, T u Indicates the ambient temperature. When using thermal imagers of different bands, the value of n is different. In this embodiment, a vox detector is selected, and the value of n is 4.
[0040] When the surface of the petrochemical oil pipeline satisfies the gray body approximation, ε=α, the atmosphere
[0041] Then formula (1) is:
[0042]
[0043] Formula (2) is:
[0044]
[0045] When measuring temperature at close distance, the influence of atmospheric transmittance can be ignored.
[0046] Then formula (4) is:
[0047]
[0048] The emissivity ε of the surface of the petrochemical oil pipeline can be measured by an emissivity measuring instrument. When T0 is greater than the temperature threshold T, the early warning module issues an early warning. At the same time, the GPS positioning system is combined to establish the coordinates of each pixel point, obtain the corresponding coordinate value, and display it on the display screen, so that the staff can be notified in time to handle the petrochemical oil pipeline at the early warning coordinate, so as to achieve rapid and accurate detection and positioning of petrochemical oil pipeline network leakage, reduce system cost and maintenance cost, improve detection efficiency and operation efficiency, ensure the safety of petrochemical oil pipeline, and use a high-sensitivity infrared thermal imager to perform real-time temperature detection on the petrochemical oil pipeline network. The data is processed in real time with the Internet of Things detection platform to obtain the surface temperature of the petrochemical oil pipeline. According to the set temperature threshold, it is determined whether the temperature of each pixel point in the infrared image exceeds the set temperature threshold, so as to control the early warning module to issue an early warning. The specific coordinate value of the early warning point is determined in combination with the GPS positioning system, and displayed on the display screen, so as to promptly notify the staff to accurately handle the potential leakage point, ensure the safety of the petrochemical oil pipeline, and reduce the risk of leakage.
[0049] In order to improve the image performance and make the image more uniform, the non-uniformity correction in step S20 adopts a multi-point temperature correction algorithm, selects multiple temperature points on the infrared image, and performs two-point correction between two adjacent points to eliminate the brightness difference in the image and the influence of noise, thereby ensuring the accuracy of temperature measurement.
[0050] In order to ensure the accuracy and detection effect of petrochemical oil pipeline detection, in step S00, the detection time is once every 10 minutes, so that the Internet of Things detection platform can integrate and process the data and compare them to ensure the detection effect, reduce detection errors and improve the accuracy of detection.
[0051] In order to improve the accuracy of temperature detection of each pixel point, in step S40, by analyzing the temperature distribution and thermal radiation intensity, the leakage range can be further narrowed to improve the precise positioning of the leakage point, so that the staff can deal with the leakage point more accurately and promptly to ensure the safety of the petrochemical oil pipeline.
[0052] The present invention is described by preferred embodiments, and those skilled in the art will appreciate that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. The present invention is not limited to the specific embodiments disclosed herein, and other embodiments falling within the claims of this application are within the scope of protection of the present invention.
Claims
1. A method for detecting and locating leakage in a petrochemical oil pipeline network, characterized in that: The following steps are involved: Step S00: Data collection, with 5m as an interval, the oil pipeline network is partitioned for detection, infrared thermal imagers, infrared radiometers and GPS positioning are installed on the drone, the petrochemical oil pipeline network is detected by infrared thermal imagers and infrared radiometers, and the collected data is transmitted back to the Internet of Things detection platform in real time through the wireless network; Step S10: Data processing: The IoT detection platform stores and processes the collected data, analyzes the real-time data and historical data, and obtains infrared images and temperature data. The temperature data is the radiation temperature T of the petrochemical oil pipeline. r ; Step S20: Infrared image processing, the area with high temperature in the infrared image appears bright, and the area with low temperature appears dim. The bright area is regarded as the suspicious target area, and the temperature threshold T is set. The bright area is processed, including image non-uniformity correction, target segmentation and image enhancement, and a new image is obtained after processing; Step S30: the Internet of Things detection platform processes the temperature data on the new image to obtain new temperature data, which is the surface temperature T0 of the petrochemical oil pipeline. When the surface temperature T0 of the petrochemical oil pipeline exceeds the temperature threshold T, the Internet of Things detection platform issues an early warning through the early warning module; Step S40: Positioning and navigation: the GPS positioning system combines the processed temperature data of the new image area to establish the coordinates of each pixel point, obtain the coordinate value, and display it on the display screen to notify the staff to process.
2. A petrochemical oil pipeline network leakage detection and positioning method according to claim 1, characterized in that: In the step S20, the non-uniformity correction adopts a multi-point temperature correction algorithm, and multiple temperature points are selected on the infrared image, and two-point correction is performed between two adjacent points.
3. A petrochemical oil pipeline network leakage detection and positioning method according to claim 1, characterized in that: The target segmentation in step S20 mainly includes the following steps: Step S21: performing histogram equalization on the original image f(x, y) to obtain a grayscale image; Step S22: Set the grayscale value of the original image f(x, y) in step S21 to a i , determine the grayscale threshold b according to multiple grayscale values; Step S23: The grayscale values of the pixels in the original image f(x, y) whose grayscale values are less than or equal to the grayscale threshold b are set to zero, and the grayscale values of the pixels whose grayscale values are greater than or equal to the grayscale threshold b remain unchanged, thereby obtaining an intermediate image h(x, y) containing only the target.
4. A petrochemical oil pipeline network leakage detection and positioning method according to claim 1, characterized in that: The image enhancement adopts a linear grayscale mapping method and utilizes the Internet of Things detection platform to perform image enhancement processing on the intermediate image h(x, y) to obtain an enhanced new image g(x, y) to increase the contrast of the new image.
5. A petrochemical oil pipeline network leakage detection and positioning method according to claim 3, characterized in that: The grayscale threshold b is an average value of multiple grayscale values.
6. A petrochemical oil pipeline network leakage detection and positioning method according to claim 1, characterized in that: In step S00, the thermal imager needs to be calibrated with a high-precision black body before data collection to find out the corresponding relationship between the black body temperature and the output voltage of the photoelectric converter in the thermal imager, that is, it is expressed as grayscale on the thermal image, and the real temperature of the black body can be displayed on the display screen.
7. A petrochemical oil pipeline network leakage detection and positioning method according to claim 1, characterized in that: The temperature data obtained in step S10 is the radiation temperature T of the petrochemical oil pipeline. r In step S30, the new temperature data obtained after the temperature data on the new image is processed by the Internet of Things detection platform is the real surface temperature of the petrochemical oil pipeline.
8. A petrochemical oil pipeline network leakage detection and positioning method according to claim 1, characterized in that: In the step S00, the detection time is once every 10 minutes.
9. A petrochemical oil pipeline network leakage detection and positioning method according to claim 1, characterized in that: In step S40, by analyzing the temperature distribution and the heat radiation intensity, the leakage range can be further narrowed to improve the accurate positioning of the leakage point.
Citation Information
Patent Citations
Electrical equipment infrared image enhancement method
CN114170103A
Method for monitoring leakage of high-temperature steam pipeline of power plant at high altitude
CN115247757A
Intelligent hydraulic oil pipe oil leakage detection method
CN116433668A
