Gas leakage tracing and positioning method and system for tank farm
By deploying fixed gas concentration sensors and drones for blind spot detection in the storage tank area, combined with distributed temperature measurement fiber optics and acoustic imagers, the problem of vertical blind spots in gas leak monitoring in the storage tank area was solved, achieving three-dimensional precise positioning and meeting the needs of rapid and accurate emergency response.
Patent Information
- Application Number
- CN202611387942.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-27
AI Technical Summary
Existing gas leak monitoring in tank farms suffers from vertical monitoring blind spots and large sensor spacing, making it difficult to effectively locate leak sources. Furthermore, existing automated location solutions rely on artificial intelligence model training, which depends on a large amount of sample data and has poor interpretability, making it difficult to meet the requirements for accurate three-dimensional location.
Fixed gas concentration sensors are deployed in layers along the vertical direction in the tank area, and drones are dispatched to fill blind spots in the sensor array intervals. Three-dimensional positioning is achieved by combining distributed temperature measurement fiber optics and acoustic imagers. Initial coarse positioning is achieved through unique location coding, and the leakage rate is calculated by using a Gaussian diffusion model to achieve precise three-dimensional positioning.
It achieves rapid three-dimensional coarse and precise location of gas leak sources in tank areas, eliminates blind spots in vertical monitoring, achieves meter-level positioning accuracy, and provides reliable positioning results that comply with safety regulations, avoiding complex inversion calculations.
Smart Images

Figure CN123176175A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of gas detection technology, and in particular to a method and system for tracing and locating gas leaks in tank farms. Background Technology
[0002] Petrochemical storage tank areas are concentrated areas of major hazards, storing media that are often flammable, explosive, or toxic. Leaks can easily trigger fires, explosions, or poisoning accidents. Therefore, rapid and accurate source tracing of gas leaks in storage tank areas is a crucial step in ensuring safe production.
[0003] Currently, gas leak monitoring in tank farms mainly relies on fixed gas concentration sensors. Existing sensors are mostly deployed in a planar layout, concentrated on the ground or tank top—locations easily accessible for installation—lacking the capability for three-dimensional, layered monitoring along the tank's height. In actual leak situations, the middle section of the tank wall and weld seams at different heights are also high-risk areas for leaks. Leaking gas may accumulate in the middle layer due to temperature stratification or pressure differences, creating vertical monitoring blind spots, making it impossible to effectively locate the leak source vertically. Furthermore, due to installation costs and the difficulty of explosion-proof construction, the spacing between fixed sensor points is relatively large, resulting in physical coverage blind spots in the center of the grid, making it difficult for leaks in these areas to be detected by the fixed sensors in a timely manner.
[0004] In existing technologies, automated location solutions mostly rely on artificial intelligence techniques such as neural networks and genetic algorithms to invert leak sources. Model training depends on a large amount of sample data and has poor interpretability, making it difficult to pass the compliance review of safety regulations in the petrochemical industry. At the same time, most solutions can only output planar location information and cannot automatically determine the height layer where the leak source is located, thus failing to meet the need for precise three-dimensional location in emergency response. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of the existing technology and to propose a method and system for tracing and locating gas leaks in tank farms.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: a method for tracing and locating gas leaks in tank farms, comprising the following steps: Step S1: Fixed gas concentration sensors are pre-deployed at different heights of the storage tank, and each sensor is assigned a unique location code, which includes the storage tank number, row and column number, and height layer information; the unique location code of each sensor is associated with its installation location information and stored in the system; at the same time, for the gaps in the fixed sensor array, a drone is dispatched at a preset period to hover at the coordinates of the gaps, and the drone uses a telescopic long rod to lift the gas sensor above the horizontal rotor outside the turbulence area to perform blind spot detection; Step S2: Collect the concentration readings of each fixed sensor and UAV sensor in real time, bind the concentration readings to their corresponding unique location codes or UAV real-time positioning coordinates, and transmit them to the logic decision layer through the transmission layer in the original physical quantity format. Step S3: In the logic judgment layer, the concentration readings of each sensor are compared with the preset alarm threshold one by one. When the concentration reading of any sensor exceeds the preset alarm threshold, a leakage alarm is triggered. Then, the location information bound to the alarm sensor is immediately read. If the alarm source is a fixed sensor, its unique location code is parsed, and the tank number, horizontal row and column position, and height layer of the leakage source are directly output to complete the initial coarse positioning. If the alarm source is a drone sensor, the GPS coordinates and altitude of the drone when it is hovering are read, and the location of the leakage source is directly output. Step S4: Based on the location output by the coarse positioning, the distributed temperature measuring fiber and acoustic imager deployed in the tank area are called to verify the location. The three-dimensional coordinates of the leakage source are corrected by spatial geometric intersection through the distance of the temperature anomaly point output by the temperature measuring fiber and the sound source direction angle output by the acoustic imager. Step S5: Based on the steady-state concentration readings of sensors near the leak source location corrected in Step S4 and the measured wind speed and direction data from the meteorological station, the leakage rate is inversely calculated using the analytical solution of the Gaussian diffusion model. Then, the three-dimensional precise coordinates and leakage rate are pushed to the application layer for three-dimensional situation map annotation. At the same time, an audible and visual alarm is triggered, and emergency linkage is automatically executed according to the preset linkage rule table that executes a certain operation when the leak point is located in a certain area.
[0007] Furthermore, in step S3, the specific method for parsing the unique location code for initial coarse positioning is as follows: the unique location code is compiled in the format of tank number-row number-column number-height layer number, wherein the height layer number includes at least three levels: bottom layer of tank, middle layer of tank and top layer of tank; the system database pre-stores the three-dimensional coordinate range corresponding to each code, and the spatial range of the leak source is obtained by directly looking up the table after parsing the code.
[0008] Furthermore, in step S4, the specific method of correcting the three-dimensional precise coordinates by using the acoustic imager in a spatial geometric intersection manner is as follows: when at least two acoustic imagers capture the same leaking sound source from different angles, the direction angle of the sound source measured by each acoustic imager is read, and two spatial rays are drawn with the installation position of the two acoustic imagers as the endpoints and the direction angles measured by each as the directions. The intersection of the two rays is the precise planar coordinates of the leaking source. Then, combined with the height value calculated from the distance of the temperature anomaly point output by the distributed temperature measuring fiber from the beginning of the fiber, the three-dimensional precise coordinates (X, Y, Z) are jointly constituted.
[0009] Furthermore, in step S4, the method for locating temperature anomalies in the distributed temperature-measuring fiber is as follows: the distributed temperature-measuring fiber emits light pulses into the fiber based on the principle of optical time-domain reflection, receives Raman scattered light, measures the time difference between the emission of the light pulse and the return of the scattered light, calculates the distance from the temperature anomaly point to the beginning of the fiber according to the formula distance = speed of light / time / 2, and then converts the distance into a position value in three-dimensional coordinates according to the pre-stored fiber laying path map.
[0010] Furthermore, in step S1, when the UAV performs blind spot detection, the length of the telescopic long rod is greater than the maximum outer diameter of the UAV's horizontal rotor plane, so that the gas sensor installed at the end of the long rod is offset from directly above the rotor coverage area in the horizontal direction or located above the boundary layer of the rotor-induced airflow in the vertical direction; the UAV automatically flies and hovers according to the pre-stored blind spot coordinate waypoints, and starts sensor sampling after hovering and stabilizing. After sampling is completed, the long rod is retracted and the UAV flies to the next waypoint.
[0011] The gas leak tracing and location system for tank farms includes: The sensing layer includes: a fixed gas concentration sensor array arranged in layers along the height of the tank, each with a unique location code; distributed temperature measuring optical fibers installed on the tank wall and pipe surface; an acoustic imager installed at the highest point of the tank area; a meteorological monitoring station installed upwind of the tank area; and an unmanned aerial vehicle (UAV) gas detection unit equipped with a telescopic pole to lift the gas sensors above the horizontal rotor and out of the turbulence zone. The transmission layer is communicatively connected to the sensing layer. The transmission layer adopts a redundant communication architecture with industrial Ethernet wired transmission as the main method and 5G wireless transmission as a backup. It is used to transmit the raw measurement data output by each device in the sensing layer to the logic decision layer in real time. The logic determination layer is communicatively connected to the transmission layer. The transmission layer includes: a leakage event confirmation module for deterministically comparing the readings of each sensor with a preset threshold to trigger an alarm; a coarse positioning module for parsing the unique location code of the alarm sensor or the UAV positioning coordinates to output the initial location of the leakage source; a fine positioning verification module for correcting the three-dimensional precise coordinates based on fiber optic temperature measurement data and / or acoustic direction angle data through spatial geometric intersection; and a leakage rate estimation module for back-calculating the leakage rate based on steady-state concentration and wind speed and direction data through Gaussian diffusion analytical solution. The application layer is communicatively connected to the logic decision layer. The application layer includes a three-dimensional situation display module for marking the coordinates and diffusion status of the leakage source on a three-dimensional map, an audible and visual alarm module for driving the on-site explosion-proof audible and visual alarm, and an emergency linkage module for automatically triggering fire sprinkler and / or valve shut-off operations according to a preset linkage rule table.
[0012] Furthermore, the fixed gas concentration sensor array is arranged as follows: the fixed gas concentration sensors are arranged in at least three layers along the height of the tank, namely the bottom, middle, and top of the tank, with multiple fixed gas concentration sensors evenly arranged along the circumference of the tank in each layer; the recorded information of each fixed gas concentration sensor in the system includes a unique location code and its corresponding tank number, horizontal row number, horizontal column number, and height layer number. The unique location code corresponds one-to-one with the physical nameplate of the sensor, and the three-dimensional coordinate range corresponding to the unique location code is pre-stored in the system database for direct lookup by the coarse positioning module.
[0013] Furthermore, the UAV-borne gas detection unit includes a UAV body, a retractable rod, and a gas sensor; the bottom end of the retractable rod is fixed to the top center of the UAV body, and the gas sensor is installed at the top of the retractable rod; the extended length of the retractable rod is greater than 1.2 times the maximum outer diameter of the UAV's horizontal rotor plane, so that the gas sensor is at least 0.8 meters above the horizontal rotor plane in the vertical direction; the UAV automatically flies and hovers according to the blind zone coordinate waypoints pre-stored by the system, and each blind zone coordinate is located at the geometric center of the adjacent fixed sensor.
[0014] Furthermore, in the logic determination layer: the leakage event confirmation module triggers an alarm based on a single deterministic comparison of a preset threshold; the coarse positioning module outputs the position by looking up a table and parsing the encoding; the fine positioning verification module determines the coordinates based on the geometric relationship between ray intersection of acoustic direction angles and fiber optic ranging; and the entire positioning determination path can be completely traced back in the system.
[0015] Compared with the prior art, the advantages and positive effects of the present invention are as follows: This invention utilizes fixed gas concentration sensors arranged vertically in layers on the outer wall of a storage tank, covering at least three height layers: the bottom, middle, and top of the tank, forming a three-dimensional monitoring grid. This allows the vertical location of the leak source to be directly locked. This design can effectively capture gas accumulated in the middle layer after a leak occurs in the middle of the tank wall and at welds of different heights, eliminating blind spots in vertical monitoring. Each sensor is assigned a unique location code containing the tank number, row and column number, and height layer information. After an alarm is triggered, no complex inversion calculation is required; the location of the leak source, including the tank, horizontal row and column position, and height layer, can be output quickly by parsing the code and directly looking up the table. This enables rapid and coarse three-dimensional location. This invention uses a drone to fill blind spots in the intervals of a fixed sensor array. It automatically calculates the geometric centers of adjacent fixed sensors as blind spot coordinates and pre-stores them as drone waypoints, achieving complementary physical spatial coverage between the fixed grid and mobile inspection. Furthermore, a retractable long rod is installed on the top of the drone to lift the gas sensor above the horizontal rotor, outside the turbulence area. The sensor is at least 0.8 meters above the rotor plane, and the length of the long rod is greater than 1.2 times the maximum outer diameter of the rotor, ensuring that the sampling point completely avoids interference from the rotor downwash airflow and ensuring the authenticity and reliability of the blind spot detection data. Attached Figure Description
[0016] Figure 1 This is a flowchart of the gas leak tracing and location method for tank farms according to the present invention; Figure 2 This is an architecture diagram of the gas leak tracing and location system for tank farms according to the present invention; Figure 3 This is a flowchart of the sensor deployment coding and code parsing coarse positioning process for the gas leak tracing and locating method in the storage tank area of the present invention; Figure 4 This is a flowchart illustrating the coordinated precise positioning using distributed temperature-measuring optical fibers and acoustic imagers in the gas leak tracing and location method for tank farms according to the present invention. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] Example 1 like Figure 1 , Figure 3 and Figure 4 As shown, the present invention provides a technical solution: a method and system for tracing and locating gas leaks in tank farms, comprising the following steps: Step S1: Fixed gas concentration sensors are pre-deployed at different heights of the storage tank, and each sensor is assigned a unique location code, which includes the storage tank number, row and column number, and height layer information; the unique location code of each sensor is associated with its installation location information and stored in the system; at the same time, for the gaps in the fixed sensor array, a drone is dispatched at a preset period to hover at the coordinates of the gaps, and the drone uses a telescopic long rod to lift the gas sensor above the horizontal rotor outside the turbulence area to perform blind spot detection; The fixed gas concentration sensors are arranged vertically along the outer wall of the storage tank in at least three height layers: the bottom layer H1 is arranged 0.3 to 0.8 meters above the bottom of the tank; the middle layer H2 is arranged at half the vertical height of the tank; and the top layer H3 is arranged 0.5 to 1 meter below the top of the tank. Each layer has 4 to 8 sensors evenly spaced at equal angles along the circumference of the tank, and the arc distance between adjacent sensors does not exceed one-quarter of the circumference of the tank. Each sensor is fixed to the tank wall by a stainless steel mounting bracket, which is installed using a clamping method. When the UAV performs blind spot detection, the length of the telescopic rod is greater than the maximum outer diameter of the UAV's horizontal rotor plane, so that the gas sensor installed at the end of the rod is offset horizontally from directly above the rotor coverage area or vertically above the boundary layer of the rotor-induced airflow. The telescopic rod is a multi-stage sleeve-type electric actuator made of carbon fiber, and its bottom end is fixed to the center of the top of the UAV body through a flange. The total length after extension is greater than 1.2 times the maximum outer diameter of the horizontal rotor plane, so that the sensor is at least 0.8 meters above the horizontal rotor plane in the vertical direction. The extension and retraction of the rod is controlled by the UAV flight control system. The extension operation is performed in the hovering state, and the take-off, landing and flight transfer operations are performed in the retracted state. The UAV automatically flies and hovers according to the pre-stored blind zone coordinate waypoints. After hovering and stabilizing, it starts sensor sampling. After sampling is completed, the long stick is retracted and it flies to the next waypoint. The calculation method for each blind zone coordinate is as follows: the system automatically reads the installation position coordinates of all fixed sensors. For each group of 4 adjacent fixed sensors, the geometric center coordinates are calculated as blind zone coordinates and stored in the waypoint database of the UAV ground station system. Each waypoint contains five fields: waypoint number, latitude, longitude, hovering altitude, and hovering time. The hovering time is no less than 20 seconds. Step S2: Real-time acquisition of concentration readings from various fixed sensors and UAV sensors, binding the concentration readings with their corresponding unique location codes or UAV real-time positioning coordinates, and transmitting them to the logic decision layer in the raw physical quantity format; Each fixed sensor continuously acquires ambient gas concentration at a sampling period of no more than 1 second. The sensor's built-in processor encapsulates the concentration digital quantity and its unique location code according to a preset data frame format. The first byte of the data frame is the frame header identifier, followed by the sensor code field, concentration value field, acquisition timestamp field, and checksum field; The concentration value is output as a raw physical quantity in ppm or %LEL, without any filtering, smoothing, or correction processing; The UAV's onboard processor encapsulates the concentration readings with GPS coordinates and altitude in the same data frame format, where the location field includes three subfields: latitude, longitude, and altitude; Each device sends data in an active reporting mode, without waiting for polling requests from the logic decision layer; Step S3: In the logic judgment layer, the concentration readings of each sensor are compared with the preset alarm threshold one by one. When the concentration reading of any sensor exceeds the preset alarm threshold, a leak alarm is triggered, and then the location information bound to the alarm sensor is immediately read. If the alarm source is a fixed sensor, its unique location code is parsed, and the tank number, horizontal row and column position, and height layer of the leak source are directly output to complete the initial coarse positioning. If the alarm source is a drone sensor, the GPS coordinates and altitude of the drone when it is hovering are read, and the location of the leak source is directly output. The preset alarm thresholds are set according to different gas types and different installation positions. The alarm thresholds for the top area and the bottom area of the tank are different. Each threshold is stored in the threshold configuration table of the leak event confirmation module and is queried and called by the sensor code as an index. The specific method for initial coarse positioning by parsing the unique location code is as follows: the unique location code is compiled in the format of tank number - row number - column number - height layer number, where the height layer number includes at least three levels: bottom tank, middle tank, and top tank; each field is separated by a hyphen, the tank number uses the letter T followed by two digits, the row number uses the letter R followed by two digits, the column number uses the letter C followed by two digits, and the height layer number uses the letter H followed by one digit; the unique location code is engraved on the sensor's physical nameplate to achieve a one-to-one correspondence between the physical device and the system record; the system database pre-stores the three-dimensional coordinate range corresponding to each code, the three-dimensional coordinate range is based on the unified coordinate system of the tank area, and includes the minimum value of the X-axis, the maximum value of the X-axis, and the Y-axis... The six values—minimum Y-axis value, maximum Z-axis value, minimum Z-axis value, and maximum Z-axis value—are stored in the sensor information table of a relational database. After parsing the code, the spatial range of the leak source is directly obtained by looking up the table. The coarse location module performs an exact match query using the five decomposed fields as a combined index. The query returns the tank number, horizontal row number, horizontal column number, and height layer number corresponding to the code, which are combined into a coarse location result in text description form. This result does not contain precise X, Y, and Z coordinate values, but only indicates the spatial area where the leak source is located. For coarse location of fixed sensor alarms, a semi-transparent color block is used to cover the coordinate range corresponding to the code on the 3D situation map. For coarse location of drone alarms, a circular marker is used to mark the corresponding GPS coordinate position. Step S4: Based on the location output by the coarse positioning, the distributed temperature measuring fiber and acoustic imager deployed in the tank area are called to verify the location. The three-dimensional coordinates of the leakage source are corrected by spatial geometric intersection through the distance of the temperature anomaly point output by the temperature measuring fiber and the sound source direction angle output by the acoustic imager. in: The specific method for correcting the three-dimensional precise coordinates using acoustic imagers via spatial geometric intersection is as follows: When at least two acoustic imagers capture the same leaking sound source from different angles, the direction angle of the sound source measured by each acoustic imager is read. Two spatial rays are drawn with the installation positions of the two acoustic imagers as endpoints and their respective measured direction angles as directions. The intersection of the two rays is the precise planar coordinate of the leaking source. This, combined with the height value calculated from the distance of the temperature anomaly point from the beginning of the distributed temperature-sensing fiber optic cable, constitutes the three-dimensional precise coordinates. The fine positioning verification module first sends a temperature anomaly point query command to the temperature-sensing host of the distributed temperature-sensing fiber optic cable. The command includes the coordinate range from the coarse positioning result as the query range. The temperature-sensing host returns a list of coordinates of all temperature anomalies within this range. If the list is empty, the fiber optic positioning data is marked as invalid; if the list is not empty and there is only one anomaly point, then... The coordinates of this point are used as the fiber optic positioning result. If the list is not empty and there are multiple outliers, the outlier closest to the center point of the coarse positioning result is taken as the fiber optic positioning result. The fine positioning verification module simultaneously sends a sound source direction query command to each acoustic imager. Each acoustic imager returns the measured sound source direction angle. If the number of acoustic imagers that return direction angles is greater than or equal to two, ray intersection calculation is performed. If the distance deviation between multiple intersection points obtained from multiple ray intersections is less than a preset threshold, the geometric center of all intersection points is taken as the acoustic positioning result. If the deviation is greater than the preset threshold, outlier intersection points are removed and the calculation is recalculated. The module fuses the fiber optic positioning result with the acoustic positioning result. If the coordinate deviation between the two is less than a preset threshold, the average of the two is taken as the final three-dimensional accurate coordinate output. If the coordinate deviation between the two is greater than the preset threshold, the system issues a prompt that the positioning result is inconsistent, and the operator intervenes to make a judgment. The method for locating temperature anomalies using distributed temperature-sensing optical fibers is as follows: The distributed temperature-sensing optical fiber emits light pulses based on the principle of optical time-domain reflectometry, receives Raman scattered light, and measures the time difference between the emission of the light pulse and the return of the scattered light. The distance from the start of the fiber to the temperature anomaly point is calculated using the formula: distance = speed of light / time / 2. This distance is then converted into a position value in three-dimensional coordinates based on a pre-stored fiber optic laying path map. The optical fiber itself is spirally laid along the outer wall of the storage tank from the bottom to the top, with a spiral spacing of no more than 2 meters. It is fixed to the tank wall surface using stainless steel clips with a clip spacing of no more than 0.5 meters. The laser inside the fiber optic temperature measurement host emits nanosecond-level light pulses. The back-propagating Raman scattered light returns and is separated into anti-Stokes light and Stokes light by a wavelength division multiplexer. After being converted into electrical signals by a photodetector, the intensity ratio of the two is calculated. Based on the deterministic functional relationship between this ratio and temperature, the temperature value at each location point of the fiber optic cable is calculated. The criteria for judging temperature anomalies are: the temperature change rate at a certain location point exceeds the threshold of -2℃ / minute in three consecutive measurements, or the absolute temperature value at that location point is lower than the historical average temperature of that location minus 3 times the standard deviation. Step S5: Based on the steady-state concentration readings of sensors near the leak source location corrected in Step S4 and the measured wind speed and direction data from the meteorological station, the leakage rate is inversely calculated using the analytical solution of the Gaussian diffusion model. Then, the three-dimensional precise coordinates and leakage rate are pushed to the application layer for three-dimensional situation map annotation. Simultaneously, an audible and visual alarm is triggered, and emergency response is automatically executed according to the preset linkage rule table that executes a certain operation if the leak point is located in a certain area. The leakage rate estimation module first determines the sensors near the three-dimensional precise coordinate location, with the criterion being that the spatial distance between the sensor's installation location coordinates and the three-dimensional precise coordinates is less than a preset distance threshold. All concentration readings of the nearby sensors within the time window from 60 seconds before the alarm trigger to 30 seconds after the alarm trigger are read, and the arithmetic mean is calculated as the steady-state concentration value. Simultaneously, the average wind speed and average wind direction data from the meteorological monitoring station within the same time window are read. Gaussian diffusion model... The analytical solution is a closed-form algebraic expression, with the leakage rate as the unknown and the sensor location coordinates, sensor concentration value, and wind speed and direction parameters as known quantities. The leakage rate value is directly solved through algebraic operations. After the application layer receives the three-dimensional precise coordinates and leakage rate value, the three-dimensional situation display module marks the location of the leakage source with a flashing red dot on the three-dimensional situation map and pops up an information window to display the coordinates and leakage rate. The audible and visual alarm module sends a drive signal to the explosion-proof audible and visual alarms arranged in the tank area. The emergency linkage module compares the three-dimensional coordinates of the leakage source with the regional condition fields of each entry in the linkage rule table to determine the spatial inclusion relationship. When the coordinates fall within the spatial range defined by the regional condition of a certain entry, all operation instructions listed in the operation field of that entry are executed sequentially, including closing the emergency shut-off valves of the corresponding tank inlet and outlet, starting the water curtain sprinkler system of the corresponding area, and sending an emergency response notification to the preset personnel terminal.
[0019] In this embodiment, sensors are deployed in layers within storage tanks and assigned unique codes containing tank numbers, rows, columns, and height layers to achieve coarse-level three-dimensional location of the leak source within seconds. A drone-borne long-pole lifts the sensors to the stable airflow zone above the rotor, fundamentally eliminating interference from the rotor downwash airflow on concentration measurement. Based on this, a continuous temperature field is obtained using distributed fiber Raman scattering thermometry, combined with multi-element phase difference direction finding using an acoustic imager. A spatial ray intersection geometry method is then used to precisely locate the leak source in three dimensions, achieving meter-level accuracy. Cross-validation using these two independent physical methods further ensures the reliability of the location results. Finally, the leakage rate is directly inverted using a closed-loop analytical solution of a Gaussian diffusion model. The entire process is based on deterministic physical rules and lookup table operations, without involving any artificial intelligence or statistical fitting. All decision paths are transparent and traceable, thus achieving rapid and accurate source tracing under the premise of safety supervision and compliance.
[0020] Example 2 like Figures 1 to 4As shown, based on the gas leak tracing and location method for tank farms provided in Example 1, a gas leak tracing and location system for tank farms is proposed, including: The sensing layer includes: a fixed gas concentration sensor array arranged in layers along the height of the tank, each with a unique location code; distributed temperature measuring optical fibers installed on the tank wall and pipe surface; an acoustic imager installed at the highest point of the tank area; a meteorological monitoring station installed upwind of the tank area; and an unmanned aerial vehicle (UAV) gas detection unit equipped with a telescopic pole to lift the gas sensors above the horizontal rotor and out of the turbulence zone. in: The fixed gas concentration sensor array is deployed as follows: the fixed gas concentration sensors are arranged in at least three layers along the height of the tank, at the bottom, middle, and top of the tank, with multiple fixed gas concentration sensors evenly distributed along the circumference of the tank in each layer; the sensors are selected according to the specific type of gas in the tank, with an explosion-proof rating of not less than ExdⅡCT6, a protection rating of not less than IP67, a measurement range of 0 to 100% LEL, and a response time of not more than 5 seconds; the installation positions of each sensor are distributed at equal angular intervals on the circumference of the tank, and the arc distance between adjacent sensors does not exceed one-quarter of the circumference of the tank; the sensors are fixed to the tank wall by stainless steel mounting brackets, which are installed using a clamping method to avoid damaging the tank. The main structure includes a unique location code for each fixed gas concentration sensor, along with its corresponding tank number, horizontal row number, horizontal column number, and height layer number. Each unique location code corresponds one-to-one with the sensor's physical nameplate, and the three-dimensional coordinate range corresponding to the unique location code is pre-stored in the system database for direct lookup by the coarse positioning module. The unique location code is written into the sensor's built-in non-volatile memory chip via a handheld programmer before the sensor leaves the factory or after installation; once written, this code cannot be changed. A stainless steel nameplate is mounted on the outside of the sensor, with the same unique location code laser-engraved on it as the one in the sensor's memory chip, thus establishing a correspondence between the physical device and the system records. The distributed temperature measurement fiber optic cable comprises three parts: the fiber body, the fiber optic junction box, and the fiber optic temperature measurement host. The fiber body uses multimode graded-curved fiber with a core diameter of 62.5 micrometers and a cladding diameter of 125 micrometers, covered with a stainless steel loose tube and an armored protective layer. The fiber optic cable is spirally laid along the outer wall of the storage tank from the bottom to the top, with a spiral spacing of no more than 2 meters, and is fixed to the surface of the tank wall by stainless steel clips with a clip spacing of no more than 0.5 meters. All fiber optic lines are aggregated at the fiber optic junction box and connected to the fiber optic temperature measurement host via fiber optic patch cords. The fiber optic temperature measurement host is installed in the central control room cabinet. The host integrates a pulsed laser, a wavelength division multiplexer, a photoelectric detection module, a high-speed data acquisition card, and an embedded processor. The pulsed laser emits nanosecond-level light pulses with a wavelength of 1550 nanometers, and the high-speed data acquisition card has a sampling rate of no less than 100 MHz. The acoustic imager consists of a microphone array, a signal acquisition board, an embedded processing unit, and an explosion-proof housing. The microphone array comprises no fewer than 64 microelectromechanical system (MEMS) microphones arranged in an equally spaced planar grid, with the coordinate accuracy of each microphone's installation position being no less than 0.1 mm. The signal acquisition board contains the same number of synchronous sampling channels as the microphones, and the sampling clock of each channel is driven by the same crystal oscillator to ensure a synchronization accuracy better than 1 microsecond. The explosion-proof housing is made of stainless steel, with an acoustic diaphragm at the front end to isolate environmental dust while allowing sound waves to pass through. The meteorological monitoring station consists of a wind speed sensor, a wind direction sensor, a temperature and humidity sensor, an atmospheric pressure sensor, and a data acquisition unit. All sensors are installed on the same pole at a height of no less than 10 meters. The wind speed sensor has a measurement range of 0 to 60 meters per second and an accuracy of no less than 0.5 meters per second. The wind direction sensor has a measurement range of 0 to 360 degrees and an accuracy of no less than 3 degrees. The data acquisition unit collects data from each sensor at intervals of no more than 10 seconds and outputs the data via an RS485 interface. The UAV-borne gas detection unit includes a UAV body, a retractable boom, and a gas sensor. The bottom end of the retractable boom is fixed to the center of the top of the UAV body, and the gas sensor is mounted on the top of the retractable boom. The extended length of the retractable boom is greater than 1.2 times the maximum outer diameter of the UAV's horizontal rotor plane, ensuring that the gas sensor is at least 0.8 meters above the horizontal rotor plane in the vertical direction. The UAV automatically flies and hovers according to pre-stored blind zone coordinate waypoints, with each blind zone coordinate located at the geometric center of an adjacent fixed sensor. The UAV is a quadcopter or multi-rotor explosion-proof type. The drone is equipped with a flight control system, a GPS / BeiDou dual-mode positioning module, a barometric altimeter, and a data transmission radio. Its telescopic boom is a multi-stage sleeve-type electric actuator made of carbon fiber, with a weight not exceeding 1 kg, an extension speed of at least 0.5 m / s, and a retraction speed of at least 0.3 m / s. A sensor mounting base is installed at the top of the boom, with a gas sensor fixed to it and its detection element facing upwards and to the side. The ground station system includes a waypoint planning module and a flight monitoring module. The waypoint planning module is used to preset blind zone coordinates and flight paths, while the flight monitoring module is used to display the drone's position, status, and sensor data in real time. Each field device in the sensing layer is equipped with an independent power module, which is powered by the explosion-proof distribution box in the tank area. Safety isolation barriers are set at the power input terminals of each device to achieve intrinsically safe power supply. All power lines and signal lines of the devices are laid and protected by explosion-proof flexible conduits. The transmission layer communicates with the sensing layer. It employs a redundant communication architecture with industrial Ethernet wired transmission as the primary method and 5G wireless transmission as a backup. This architecture transmits raw measurement data output from each device in the sensing layer to the logic decision layer in real time. The wired transmission subsystem is based on industrial Ethernet. Field devices are connected to the tank area's explosion-proof switch via shielded twisted-pair cables. The explosion-proof switch connects to the fiber optic backbone network via fiber optic converters. The fiber optic backbone network extends to the central control room and connects to the network interface of the logic decision layer server. The wired transmission communication protocol uses Modbus. In TCP / IP, each device is assigned an independent IP address. Data transmission adopts a client-server model, with the logic decision layer acting as the client to initiate data read requests, and the perception layer devices acting as the server to respond to the requests. The wireless transmission subsystem is based on a 5G cellular network. Each device in the field has a built-in 5G communication module and an IoT SIM card, accessing the enterprise's dedicated network through a 5G base station, and then connecting to the logic decision layer server in the central control room via the enterprise's dedicated network. The transmission layer has a built-in link status monitoring module, which sends heartbeat requests to each field device via a wired channel at a period of 100 milliseconds. When a device fails to return a heartbeat response three times consecutively, it is determined that the wired link is interrupted, and a heartbeat request is immediately sent to the device via the wireless channel. If the wireless channel heartbeat response is normal, the data transmission channel is switched to the wireless channel within 50 milliseconds, and a link switching alarm is sent to the system management platform. When the wired link is restored and operates stably for more than 30 seconds, it automatically switches back to the wired channel. The logic decision layer, which is communicatively connected to the transmission layer, includes: a leak event confirmation module for deterministically comparing sensor readings with preset thresholds to trigger an alarm; a coarse positioning module for parsing the unique location code of the alarm sensor or the UAV positioning coordinates to output the initial location of the leak source; a fine positioning verification module for correcting the three-dimensional precise coordinates based on fiber optic temperature measurement data and acoustic direction angle data through spatial geometric intersection; and a leak rate estimation module for back-calculating the leak rate based on steady-state concentration and wind speed and direction data through Gaussian diffusion analytical solution. The logic decision layer is deployed on an industrial server in the central control room, and each module is a resident memory service process. The leak event confirmation module includes a threshold configuration table, which stores the information for each sensor... The alarm threshold corresponding to the device code is set during the system debugging phase based on the background concentration of the on-site environment and the equipment range, and can be manually adjusted according to the actual operating conditions. After receiving the alarm event object, the coarse positioning module judges the encoding format type. If it conforms to the encoding format of the fixed sensor, it performs a precise matching query with that code and returns a structured coarse positioning result data object. If it does not conform, it is determined to be an alarm from the drone sensor. The fine positioning verification module sends a temperature anomaly point query command to the temperature measurement host and a sound source direction query command to each acoustic imager in sequence, and merges the two positioning results to output three-dimensional precise coordinates. The leakage rate estimation module substitutes the steady-state concentration value, wind speed value, and wind direction value into the algebraic form of the analytical solution expression of the Gaussian diffusion model for calculation. The calculation process involves numerical substitution and four arithmetic operations. The application layer, which communicates with the logic decision layer, includes a 3D situation display module for marking the coordinates and diffusion status of the leakage source on a 3D map, an audible and visual alarm module for driving the on-site explosion-proof audible and visual alarm, and an emergency linkage module for automatically triggering fire sprinkler and / or valve shut-off operations according to a preset linkage rule table. The 3D situation display module is built on a 3D geographic information platform, using a 3D real-scene model of the tank area as the basic data. The 3D real-scene model includes the 3D shape of the storage tank, pipeline routing, equipment location, and road layout. In the 3D scene, the module covers the coarse positioning coordinate range with a semi-transparent yellow cube. After fine positioning is completed, the yellow cube is deleted and a red sphere marker and information labels containing coordinate values, leakage rate values, alarm time, and confidence level are added to the coordinate positions. The audible and visual alarm module sends a drive voltage to the explosion-proof audible and visual alarm via a switch output card. The alarm emits a flashing red light and an alarm sound greater than 100 decibels, while simultaneously sending a voice alarm signal containing the location of the leak source to the speaker at the central control room operator station. The emergency linkage module has a built-in linkage rule table management interface and rule execution engine. The linkage rule table is a two-dimensional table structure, with each row containing a rule number, a regional condition field, an operation field, and an activation status field. The rule execution engine compares the three-dimensional coordinates of the leak source with the regional conditions of each rule. When the coordinates fall within the spatial range of a rule, the instructions in the operation field of that rule are executed sequentially. Each instruction corresponds to a specific control action. The rule execution engine records the execution time and execution result when executing each instruction and writes it to the system log for subsequent review. In the above design, in the logic determination layer: the leakage event confirmation module triggers an alarm based on a single deterministic comparison of a preset threshold; the coarse positioning module outputs the position by looking up a table and parsing the encoding; the fine positioning verification module determines the coordinates based on the geometric relationship between the ray intersection of acoustic direction angles and fiber optic ranging; and all positioning determination paths can be completely traced back in the system.
[0021] In this design, sensors are deployed in layers and combined with unique codes to achieve coarse-scale three-dimensional location of the leak source within seconds. A drone-borne long pole lifts the sensors above the rotor and outside the turbulence zone to eliminate interference from the downwash airflow on the detected concentration. Based on this, distributed fiber Raman scattering thermometry is used to obtain a continuous temperature field, which is then fused with multi-element phase difference direction finding from an acoustic imager. The three-dimensional coordinates of the leak source are precisely located using a spatial ray intersection geometry method, achieving meter-level accuracy. Cross-validation of the two independent physical methods further ensures the reliability of the location results. Finally, the leakage rate is directly inverted using the closed analytical solution of the Gaussian diffusion model. The entire process is based on deterministic physical rules and lookup table operations, without involving artificial intelligence or statistical fitting. The determination path is transparent and traceable, thus achieving rapid, accurate, and verifiable source tracing of the leak source while meeting safety regulatory compliance requirements.
[0022] Working principle: like Figures 1 to 4 As shown, during operation, this invention pre-deploys fixed gas concentration sensors at different heights of the storage tank and assigns them unique location codes. Simultaneously, the geometric center of the fixed sensor grid is marked as a blind zone waypoint and stored in the UAV ground station. Upon entering real-time monitoring mode, the fixed gas concentration sensors continuously collect concentration data at intervals no greater than 1 second and actively report it in raw physical quantity format. When the concentration of a fixed gas concentration sensor exceeds a preset threshold, an alarm is immediately triggered. The logic layer parses the unique location code of the alarm sensor, disassembles it according to the tank number, row number, column number, and height layer number, and directly looks up the table to output the tank, horizontal row / column position, and height layer of the leak source, completing a second-level coarse location. Simultaneously, the UAV is automatically dispatched to hover at the pre-stored blind zone waypoint and uses a retractable long rod to lift the sensor above the horizontal rotor outside the turbulence area for blind sampling. After sampling, the sensor is retrieved. The long pole flies to the next waypoint; after coarse positioning is completed, the fine positioning verification module is activated. The distributed temperature measurement fiber measures the return time difference of Raman scattered light based on the principle of optical time-domain reflectometry, calculates the distance of the temperature anomaly point from the starting point, and converts it into three-dimensional coordinates by referring to the fiber optic laying path map; two or more acoustic imagers capture the direction angle of the sound source from different angles, draw spatial rays with the installation position as the endpoint and the direction angle as the direction, and the intersection of the rays is the plane coordinate, which together with the height value output by the fiber optic constitutes the three-dimensional accurate coordinates. The two independent physical methods are cross-verified to ensure the reliability of positioning; then the leakage rate estimation module reads the steady-state concentration value of the sensor near the leakage source and the wind speed and direction data of the weather station, substitutes it into the closed analytical solution of the Gaussian diffusion model to directly inversely derive the leakage rate, and finally pushes the three-dimensional coordinates and leakage rate to the application layer for map marking, sound and light alarm, and automatic execution of valve shut-off and sprinkler start according to the linkage rule table.
[0023] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments for application in other fields. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.
Claims
1. A method for tracing and locating the source of gas leaks in tank farms, characterized in that, Includes the following steps: Step S1: Fixed gas concentration sensors are pre-deployed at different heights of the storage tank, and each sensor is assigned a unique location code, which includes the storage tank number, row and column number, and height layer information; the unique location code of each sensor is associated with its installation location information and stored in the system; at the same time, for the gaps in the fixed sensor array, a drone is dispatched at a preset period to hover at the coordinates of the gaps, and the drone uses a telescopic long rod to lift the gas sensor above the horizontal rotor outside the turbulence area to perform blind spot detection; Step S2: Collect the concentration readings of each fixed sensor and UAV sensor in real time, bind the concentration readings to their corresponding unique location codes or UAV real-time positioning coordinates, and transmit them to the logic decision layer through the transmission layer in the original physical quantity format. Step S3: In the logic judgment layer, the concentration readings of each sensor are compared with the preset alarm threshold one by one. When the concentration reading of any sensor exceeds the preset alarm threshold, a leakage alarm is triggered. Then, the location information bound to the alarm sensor is immediately read. If the alarm source is a fixed sensor, its unique location code is parsed, and the tank number, horizontal row and column position, and height layer of the leakage source are directly output to complete the initial coarse positioning. If the alarm source is a drone sensor, the GPS coordinates and altitude of the drone when it is hovering are read, and the location of the leakage source is directly output. Step S4: Based on the location output by the coarse positioning, the distributed temperature measuring fiber and acoustic imager deployed in the tank area are called to verify the location. The three-dimensional coordinates of the leakage source are corrected by spatial geometric intersection through the distance of the temperature anomaly point output by the temperature measuring fiber and the sound source direction angle output by the acoustic imager. Step S5: Based on the steady-state concentration readings of sensors near the leak source location corrected in Step S4 and the measured wind speed and direction data from the meteorological station, the leakage rate is inversely calculated using the analytical solution of the Gaussian diffusion model. Then, the three-dimensional precise coordinates and leakage rate are pushed to the application layer for three-dimensional situation map annotation. At the same time, an audible and visual alarm is triggered, and emergency linkage is automatically executed according to the preset linkage rule table that executes a certain operation when the leak point is located in a certain area.
2. The method for tracing and locating gas leaks in tank farms according to claim 1, characterized in that: In step S3, the specific method for parsing the unique location code for initial coarse positioning is as follows: the unique location code is compiled in the format of tank number-row number-column number-height layer number, wherein the height layer number includes at least three levels: bottom layer of tank, middle layer of tank and top layer of tank; the system database pre-stores the three-dimensional coordinate range corresponding to each code, and the spatial range of the leak source is obtained by directly looking up the table after parsing the code.
3. The method for tracing and locating gas leaks in tank farms according to claim 1, characterized in that: In step S4, the specific method of correcting the three-dimensional precise coordinates by using acoustic imagers in a spatial geometric intersection manner is as follows: when at least two acoustic imagers capture the same leaking sound source from different angles, the direction angle of the sound source measured by each acoustic imager is read, and two spatial rays are drawn with the installation positions of the two acoustic imagers as endpoints and their respective measured direction angles as directions. The intersection of the two rays is the precise planar coordinates of the leaking source. Then, combined with the height value calculated from the distance of the temperature anomaly point output by the distributed temperature measuring fiber from the beginning of the fiber, the three-dimensional precise coordinates (X, Y, Z) are jointly constituted.
4. The method for tracing and locating gas leaks in tank farms according to claim 1, characterized in that: In step S4, the method for locating temperature anomalies in distributed temperature-measuring optical fibers is as follows: the distributed temperature-measuring optical fiber emits light pulses into the fiber based on the principle of optical time-domain reflection, receives Raman scattered light, measures the time difference between the emission of the light pulse and the return of the scattered light, calculates the distance from the temperature anomaly point to the beginning of the fiber according to the formula distance = speed of light / time / 2, and then converts the distance into a position value in three-dimensional coordinates according to the pre-stored fiber laying path map.
5. The method for tracing and locating gas leaks in tank farms according to claim 1, characterized in that: In step S1, when the UAV performs blind spot detection, the length of the telescopic long rod is greater than the maximum outer diameter of the UAV's horizontal rotor plane, so that the gas sensor installed at the end of the long rod is offset from directly above the rotor coverage area in the horizontal direction or located above the boundary layer of the rotor-induced airflow in the vertical direction; the UAV automatically flies and hovers according to the pre-stored blind spot coordinate waypoints, and starts sensor sampling after hovering and stabilizing. After sampling is completed, the long rod is retracted and the UAV flies to the next waypoint.
6. A gas leak tracing and location system for tank farms, comprising the gas leak tracing and location method for tank farms according to any one of claims 1 to 5, characterized in that: include: The sensing layer includes: a fixed gas concentration sensor array arranged in layers along the height of the tank, each with a unique location code; distributed temperature measuring optical fibers installed on the tank wall and pipe surface; an acoustic imager installed at the highest point of the tank area; a meteorological monitoring station installed upwind of the tank area; and an unmanned aerial vehicle (UAV) gas detection unit equipped with a telescopic pole to lift the gas sensors above the horizontal rotor and out of the turbulence zone. The transmission layer is communicatively connected to the sensing layer. The transmission layer adopts a redundant communication architecture with industrial Ethernet wired transmission as the main method and 5G wireless transmission as a backup. It is used to transmit the raw measurement data output by each device in the sensing layer to the logic decision layer in real time. The logic determination layer is communicatively connected to the transmission layer. The transmission layer includes: a leakage event confirmation module for deterministically comparing the readings of each sensor with a preset threshold to trigger an alarm; a coarse positioning module for parsing the unique location code of the alarm sensor or the UAV positioning coordinates to output the initial location of the leakage source; a fine positioning verification module for correcting the three-dimensional precise coordinates based on fiber optic temperature measurement data and / or acoustic direction angle data through spatial geometric intersection; and a leakage rate estimation module for back-calculating the leakage rate based on steady-state concentration and wind speed and direction data through Gaussian diffusion analytical solution. The application layer is communicatively connected to the logic decision layer. The application layer includes a three-dimensional situation display module for marking the coordinates and diffusion status of the leakage source on a three-dimensional map, an audible and visual alarm module for driving the on-site explosion-proof audible and visual alarm, and an emergency linkage module for automatically triggering fire sprinkler and / or valve shut-off operations according to a preset linkage rule table.
7. The gas leak tracing and location system for tank farms according to claim 6, characterized in that: The fixed gas concentration sensor array is deployed as follows: the fixed gas concentration sensors are deployed in at least three layers along the height of the tank, namely the bottom, middle, and top of the tank, with multiple fixed gas concentration sensors evenly distributed along the circumference of the tank in each layer; the recorded information of each fixed gas concentration sensor in the system includes a unique location code and its corresponding tank number, horizontal row number, horizontal column number, and height layer number. The unique location code corresponds one-to-one with the physical nameplate of the sensor, and the three-dimensional coordinate range corresponding to the unique location code is pre-stored in the system database for direct lookup by the coarse positioning module.
8. The gas leak tracing and location system for tank farms according to claim 6, characterized in that: The UAV-borne gas detection unit includes a UAV body, a retractable boom, and a gas sensor. The bottom end of the retractable boom is fixed to the top center of the UAV body, and the gas sensor is mounted on the top end of the retractable boom. The extended length of the retractable boom is greater than 1.2 times the maximum outer diameter of the UAV's horizontal rotor plane, so that the gas sensor is at least 0.8 meters above the horizontal rotor plane in the vertical direction. The UAV automatically flies and hovers according to the blind zone coordinate waypoints pre-stored by the system, and each blind zone coordinate is located at the geometric center of the adjacent fixed sensor.
9. The gas leak tracing and location system for tank farms according to claim 6, characterized in that: In the logic determination layer: the leakage event confirmation module triggers an alarm based on a single deterministic comparison of a preset threshold; the coarse positioning module outputs the position by looking up a table and parsing the encoding; the fine positioning verification module determines the coordinates based on the geometric relationship between the ray intersection of acoustic direction angles and fiber optic ranging; the entire positioning determination path can be completely traced back in the system.
