Site selection method and device for detection equipment in natural gas station, equipment and medium

By establishing the detection distance, data reduction and positioning accuracy grid between the detection equipment and the process area to be monitored, the installation location of the laser PTZ combustible gas detection equipment is optimized, which solves the problem of poor installation location accuracy and improves monitoring efficiency and positioning. The accuracy ensures the stable operation of the testing equipment in the natural gas station.

CN118798451APending Publication Date: 2024-10-18PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310397285.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The installation location accuracy of existing laser PTZ combustible gas detection equipment in natural gas stations is poor, and there is a lack of quantitative evaluation and screening evaluation. As a result, the operation stability and positioning accuracy of the detection equipment are not high, and the data drops seriously, affecting monitoring efficiency and Safety.

Method used

By establishing an alternative point grid corresponding to the detection distance, data reduction and positioning accuracy of the detection equipment and the process area to be monitored, presetting thresholds and weights, eliminating points that do not meet the requirements, optimizing the installation position of the detection equipment, and improving monitoring Efficiency and accuracy.

Benefits of technology

Optimize the layout of alternative points for testing equipment, reduce unnecessary layout points, improve monitoring efficiency and data quality, enhance positioning accuracy, and ensure stable operation and efficient monitoring of testing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798451A_ABST
    Figure CN118798451A_ABST
Patent Text Reader

Abstract

The invention discloses a site selection method and device of detection equipment in a natural gas station, equipment and a medium, relates to the technical field of natural gas leakage monitoring, and solves the problem of poor site selection accuracy of the detection equipment in the natural gas station. The method is technically characterized by comprising the following steps of: establishing a first alternative point location grid for representing a detection distance between detection equipment and a to-be-monitored process region and a second alternative point location grid for representing data drop amplitude between the detection equipment and the to-be-monitored process region in a natural gas station region; the third alternative point location grid is used for representing the positioning precision of the detection equipment and the to-be-monitored process area; threshold values of the detection distance, the data drop amplitude and the positioning precision are preset respectively, and alternative point locations which do not meet the preset threshold values in the first alternative point location grid, the second alternative point location grid or the third alternative point location grid are removed respectively, so that the first alternative point location grid, the second alternative point location grid or the third alternative point location grid is updated respectively, and the first alternative point location grid, the second alternative point location grid or the third alternative point location grid is updated. And obtaining a first site selection result of the detection equipment in the natural gas station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of natural gas leakage monitoring, and more specifically, to a method, device, equipment and medium for selecting a site for detection equipment in a natural gas station. Background Art

[0002] Laser pan-tilt combustible gas detection equipment is a newly developed gas detection technology in recent years. It can achieve high-precision detection of trace gases (ppm level) by relying on tunable semiconductor laser absorption spectroscopy. At the same time, the laser module is integrated with the omnidirectional variable speed pan-tilt, which transforms the traditional "point" and "line" detection into "surface" detection with a horizontal angle of 360° and a vertical angle of 180°. This detection equipment has been widely used in oil and gas production sites due to its high sensitivity, fast response speed and surface leakage detection capabilities in a large range of spaces, especially for methane micro-leaks. However, the most prominent feature of the pan-tilt laser methane detection equipment is that the instrument is fixed on a rotating pan-tilt, and the pitch angle and detection distance of its detection optical path change continuously as the pan-tilt rotates. This working mode greatly broadens the detection area, but at the same time, it also makes its working mode completely different from the traditional fixed point and linear beam-type combustible gas detection equipment. The existing experience and standard specifications based on traditional combustible gas detection equipment cannot be directly applied to laser pan-tilt combustible gas detection equipment, resulting in a lack of relevant basis and methods for determining the installation site of such detection equipment in actual planning, design and production. A better installation site within the site can not only ensure that the detection equipment covers the process area to be monitored to the greatest extent possible, but also ensure the stability of measurement data during operation and the precise movement of monitoring points in the inspection path, thereby achieving efficient and stable operation of the leakage monitoring system in the natural gas station, helping to timely and effectively detect combustible gas leaks in oil and gas stations, and improving long-term operation reliability and the overall safety detection level of the station.

[0003] The existing site selection method for laser pan-tilt combustible gas detection equipment mainly relies on the experience of the site and designers, and the location of the detection equipment is determined based on the distance between the detection equipment and the process area and the on-site installation conditions. The process area to be monitored usually consists of multiple monitoring points with potential leaks. It is not clear how to evaluate the distance between the installation location of the detection equipment and multiple monitoring points. In addition, due to the lack of detailed on-site survey data, it is impossible to quantitatively evaluate and calculate the detection distance of each monitoring point in the specific process area to be monitored and each alternative installation point in the field. In the process of scanning from near to far, the laser pan-tilt combustible gas detection equipment will inevitably show a downward trend in the measured data due to the change in the slope of the optical path. Under extreme conditions, the data reduction can even reach 86%. This trend of data reduction is inevitable during operation, and it can only be minimized as much as possible. In addition, since the inspection mode of the detection equipment is pan-tilt rotation scanning, the minimum moving distance will be too large in the farther detection area, resulting in a decrease in the moving accuracy of the remote scanning monitoring.

[0004] Therefore, the existing technology only roughly determines the installation location of the detection equipment in the natural gas station based on the detection distance and installation conditions, plus design experience. In addition, the existing technology does not consider the two factors of data stability and positioning accuracy during the operation of the detection equipment. Due to the lack of quantitative calculation and screening evaluation, the determined installation location is usually not optimal and may even reduce the operating stability of the detection equipment. Summary of the invention

[0005] The purpose of the present invention is to provide a method, device, equipment and medium for site selection of detection equipment in a natural gas station, so as to solve the problem of poor site selection accuracy for the installation location of laser pan-tilt combustible gas detection equipment in a natural gas station in the prior art.

[0006] The above technical objectives of the present invention are achieved through the following technical solutions:

[0007] In a first aspect of the present application, a method for selecting a site for a detection device in a natural gas station is provided, the method comprising:

[0008] Establishing a first candidate point grid representing the detection distance between the detection equipment and the process area to be monitored, a second candidate point grid representing the data drop between the detection equipment and the process area to be monitored, and a third candidate point grid representing the positioning accuracy between the detection equipment and the process area to be monitored within the natural gas station area;

[0009] Thresholds for detection distance, data drop and positioning accuracy are preset respectively, and candidate points that do not meet the preset thresholds in the first candidate point grid, the second candidate point grid or the third candidate point grid are eliminated respectively, so as to update the first candidate point grid, the second candidate point grid or the third candidate point grid respectively, and obtain a first site selection result for the detection equipment in the natural gas station.

[0010] In one embodiment, the method further comprises:

[0011] Eliminate candidate points that do not meet a preset threshold value in the first candidate point grid and the second candidate point grid, so as to update the first candidate point grid and the second candidate point grid;

[0012] The weights of the detection distance and the data reduction are preset, the weights corresponding to the detection distance and the data reduction are weighted, and the second site selection result of the detection equipment in the updated candidate point grid is determined based on the weighted result.

[0013] In one embodiment, the method further comprises:

[0014] Eliminate candidate points that do not meet a preset threshold value in the first candidate point grid and the third candidate point grid, so as to update the first candidate point grid and the third candidate point grid;

[0015] The weights of the detection distance and the positioning accuracy are preset, the weights corresponding to the detection distance and the positioning accuracy are weighted, and the third site selection result of the detection equipment in the updated candidate point grid is determined based on the weighted result.

[0016] In one embodiment, the method further comprises:

[0017] Eliminate candidate points that do not meet a preset threshold value in the second candidate point grid and the third candidate point grid, so as to update the second candidate point grid and the third candidate point grid;

[0018] The weights of the data drop and the positioning accuracy are preset, and the weights corresponding to the data drop and the positioning accuracy are weighted. Based on the weighted results, the fourth site selection result of the detection equipment in the updated candidate point grid is determined.

[0019] In one embodiment, the method further comprises:

[0020] Eliminate candidate points that do not meet a preset threshold value from the first candidate point grid, the second candidate point grid, and the third candidate point grid, so as to update the first candidate point grid, the second candidate point grid, and the third candidate point grid;

[0021] The weights of the detection distance, data reduction and positioning accuracy are preset, and the weights corresponding to the detection distance, data reduction and positioning accuracy are weighted. Based on the weighted results, the fifth site selection result of the detection equipment in the updated candidate point grid is determined.

[0022] In one embodiment, a first candidate point grid is established in a natural gas station to characterize the detection distance between the detection equipment and the process area to be monitored, specifically:

[0023] Calculate the distance between the first point and the second point, traverse the distance between the first point and the second point, filter out the maximum distance between each first point and each second point, and obtain the maximum distance set of each first point;

[0024] Preset the detection distance of the detection device, remove the first point that does not meet the detection distance in the maximum distance set, and sort the maximum distance set of the first point that meets the detection distance in ascending order to obtain a first candidate point grid;

[0025] Among them, the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

[0026] In one embodiment, a second candidate point grid is established in the natural gas station to characterize the data drop of the detection equipment and the process area to be monitored, specifically:

[0027] Calculate the distance between the first point and the second point, traverse the distance between the first point and the second point, and filter out the maximum distance and the minimum distance between each first point and each second point;

[0028] The installation height of the detection equipment is preset, and the data drop of the detection equipment at each first point during the optical path scanning process is calculated according to the installation height, the maximum distance and the minimum distance;

[0029] Filter out the maximum data drop between each first point and each second point, and obtain a maximum data drop set for each first point of the detection device;

[0030] The acceptable data drop when the detection device is running is preset, the first point with a data drop greater than the acceptable data drop is removed from the maximum data drop set, and the maximum data drop set of the first point that meets the detection distance is sorted in ascending order to obtain a second candidate point grid;

[0031] Among them, the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

[0032] In one embodiment, a third candidate point grid is established in the natural gas station to characterize the positioning accuracy of the detection equipment and the process area to be monitored, specifically:

[0033] Calculate the distance between the first point and the second point, traverse the distance between each first point and each second point, and filter out the maximum distance and the minimum distance between each first point and each second point;

[0034] The rotation accuracy of the detection device is preset, and the lateral movement accuracy of the farthest point of the scanning optical path of the detection device at each first point is calculated according to the maximum distance and the rotation accuracy;

[0035] Calculate the longitudinal movement accuracy of the farthest point of the scanning optical path of the detection device at each first point based on the lateral movement accuracy, rotation accuracy and maximum distance;

[0036] The detection device traverses each first point to scan the lateral movement accuracy and longitudinal movement accuracy of the farthest point of the optical path, and selects the minimum lateral movement accuracy and the minimum longitudinal movement accuracy of each first point to obtain a minimum lateral movement accuracy set and a minimum longitudinal movement accuracy set;

[0037] The minimum spacing between the two second points in the process area to be monitored is preset, the first points larger than the minimum spacing are eliminated from the minimum lateral movement accuracy set and the minimum longitudinal movement accuracy set, and the minimum lateral movement accuracy set and the minimum longitudinal movement accuracy set of the first points meeting the minimum spacing are sorted in ascending order to obtain a third candidate point grid;

[0038] Among them, the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

[0039] In one embodiment, determining the first point position is specifically:

[0040] Obtaining images of natural gas stations;

[0041] Determine a first boundary reference point of the natural gas station according to the station image, and determine a first boundary range of the natural gas station according to the first boundary reference point;

[0042] Screening a first pixel point within the natural gas station within a first boundary range, and presetting a first spacing between candidate points of the detection device within the first boundary range;

[0043] The first point where the detection equipment is installed in the natural gas station is determined based on the first pixel point, the first spacing and the scale of the station image; one natural gas station corresponds to one or more process areas to be monitored.

[0044] In one embodiment, the scale of the station image is calculated based on the pixel coordinates of the reference object in the station image and the actual length of the reference object.

[0045] In one embodiment, determining the second point position is specifically:

[0046] Obtaining images of natural gas stations;

[0047] Determine a second boundary reference point of the process area to be monitored according to the station field image, and determine a second boundary range of the process area to be monitored according to the second boundary reference point;

[0048] Screening second pixel points of the process area to be monitored within the second boundary range, and presetting a second spacing between candidate points of the detection device within the second boundary range;

[0049] The second point position of the detection equipment in the process area to be monitored is determined based on the second pixel point, the second spacing and the scale of the station image; one natural gas station corresponds to one or more process areas to be monitored, and the scale of the station image is calculated by the pixel point coordinates of the reference object in the station image and the actual length of the reference object.

[0050] In a second aspect of the present application, a device for selecting a site for a detection device in a natural gas station is provided, the device comprising:

[0051] The candidate point grid unit is used to establish a first candidate point grid representing the detection distance between the detection equipment and the process area to be monitored, a second candidate point grid representing the data drop between the detection equipment and the process area to be monitored, and a third candidate point grid representing the positioning accuracy of the detection equipment and the process area to be monitored within the natural gas station area;

[0052] The processing unit is used to preset the thresholds of detection distance, data drop and positioning accuracy respectively, and to eliminate the candidate points that do not meet the preset thresholds in the first candidate point grid, the second candidate point grid or the third candidate point grid respectively, so as to update the first candidate point grid, the second candidate point grid or the third candidate point grid respectively, and obtain the first site selection result of the detection equipment in the natural gas station.

[0053] The third aspect of the present application provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of a method for site selection of a detection device in a natural gas station as described in the first aspect of the present application are implemented.

[0054] The fourth aspect of the present application is a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of a method for site selection of a detection device in a natural gas station as described in the first aspect of the present application are implemented.

[0055] Compared with the prior art, the present invention has the following beneficial effects:

[0056] 1. The present invention provides a method for site selection of detection equipment in a natural gas station. By establishing a first candidate point grid, a second candidate point grid and a third candidate point grid corresponding to the detection distance between the detection equipment and the process area to be monitored, the data drop and the positioning accuracy, the first candidate point grid, the second candidate point grid or the third candidate point grid that do not meet the requirements are eliminated according to the threshold of the corresponding optimization parameter, thereby optimizing the layout position of the alternative points of the detection equipment, reducing unnecessary layout points, improving monitoring efficiency, optimizing the data quality and positioning accuracy of the alternative points of the detection equipment, improving monitoring accuracy, and facilitating workers to make the final site selection decision based on the on-site actual conditions of the natural gas station.

[0057] 2. The present invention provides a method for site selection of detection equipment in a natural gas station. By setting the detection distance, data drop and positioning accuracy weights, the candidate locations of the detection equipment are sorted from small to large according to the comprehensive weight values ​​of the combination of the three optimization parameters, so as to optimize the candidate locations of the detection equipment and further improve the monitoring efficiency and accuracy of the detection equipment.

[0058] In addition, the second to fourth aspects of the present application also provide a site selection device, equipment and medium for detection equipment in a natural gas station, which have the same technical effects as the above-mentioned site selection method for detection equipment in a natural gas station, and no unnecessary details are given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0060] Figure 1 A schematic flow chart of a method for selecting a site for detection equipment within a natural gas station according to an embodiment of the present application.

[0061] Figure 2 A schematic diagram of the distances between the installation points of the detection equipment in the station provided in the embodiment of the present application and all the monitoring points in the process area to be monitored.

[0062] Figure 3 A schematic diagram of the optical path scanning process of the detection device provided in the embodiment of the present application;

[0063] Figure 4 A schematic diagram of calculating the lateral movement accuracy and the longitudinal movement accuracy provided in the embodiment of the present application;

[0064] Figure 5 A schematic diagram of an aerial top view of a natural gas station provided in an embodiment of the present application;

[0065] Figure 6A schematic diagram of the coordinates of the boundary reference points of a natural gas station provided in an embodiment of the present application;

[0066] Figure 7 A schematic diagram of the boundary reference points and coordinates of the process area to be monitored provided in the embodiment of the present application;

[0067] Figure 8 A schematic diagram of a grid of candidate points for a detection device and a grid of monitoring points for a process area to be monitored provided in an embodiment of the present application;

[0068] Fig. 9 A schematic diagram of the sorting results of candidate points of the detection equipment within the detection distance provided in the embodiment of the present application from small to large;

[0069] Fig.10 A schematic diagram of the sorting results of candidate points within the acceptable data drop range of the detection device provided in the embodiment of the present application from small to large;

[0070] Fig.11 A schematic diagram of the sorting results of candidate selection points of the detection device provided in the embodiment of the present application for which the horizontal / vertical movement accuracy meets the minimum spacing from small to large;

[0071] Fig.12 A schematic diagram of the sorting results of candidate points of the detection equipment from small to large after comprehensive optimization of three parameters provided in an embodiment of the present application;

[0072] Fig.13 A structural block diagram of a site selection device for a detection device in a natural gas station provided in an embodiment of the present application. DETAILED DESCRIPTION

[0073] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0074] It should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly indicate the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0075] As described in the background technology, during the scanning process from near to far, the laser pan-tilt combustible gas detection equipment will inevitably show a downward trend in the measured data due to the change in the slope of the optical path. Under extreme conditions, the data drop can even reach 86%. This trend of data reduction is inevitable during operation and can only be minimized as much as possible. In addition, since the inspection mode of the detection equipment is pan-tilt rotation scanning, the minimum moving distance will be too large in the farther detection area, resulting in a decrease in the movement accuracy of the remote scanning monitoring. Therefore, the prior art only roughly determines the installation position of the detection equipment in the natural gas station based on the detection distance and installation conditions, plus design experience. In addition, the prior art does not consider the two factors of data stability and positioning accuracy during the operation of the detection equipment. Due to the lack of quantitative calculation and screening evaluation, the determined installation position is usually not optimal, and may even reduce the operational stability of the detection equipment.

[0076] In view of the shortcomings of the site selection method for the laser pan-tilt combustible gas detection equipment described in the above practical application scenario, this embodiment provides a site selection method for the detection equipment in the natural gas station. The method is applied to an electronic device, and a site selection device for the detection equipment in the natural gas station is run on the electronic device, such as Fig.13 The site selection device shown in the figure establishes a first alternative point grid representing the detection distance between the detection equipment and the process area to be monitored, a second alternative point grid representing the data drop between the detection equipment and the process area to be monitored, and a third alternative point grid representing the positioning accuracy between the detection equipment and the process area to be monitored in the natural gas station area; thresholds for detection distance, data drop and positioning accuracy are preset respectively, and alternative points that do not meet the preset thresholds in the first alternative point grid, the second alternative point grid or the third alternative point grid are eliminated respectively, so as to update the first alternative point grid, the second alternative point grid or the third alternative point grid respectively, and obtain a first site selection result of the detection equipment in the natural gas station.

[0077] Based on the working principle of the above-mentioned site selection device, the site selection method provided in this embodiment establishes a first candidate point grid, a second candidate point grid and a third candidate point grid corresponding to the detection distance, data reduction and positioning accuracy between the detection equipment and the process area to be monitored, and eliminates the candidate points that do not meet the requirements of the first candidate point grid, the second candidate point grid or the third candidate point grid according to the threshold of the corresponding optimization parameter, thereby optimizing the layout position of the candidate points of the detection equipment, reducing unnecessary layout points, improving monitoring efficiency, and optimizing the data quality and positioning accuracy of the candidate points of the detection equipment, improving monitoring accuracy, and facilitating workers to make the final site selection decision based on the on-site conditions of the natural gas station. It can be understood that the above-mentioned electronic devices include personal computers, tablet computers, computers, etc.

[0078] It is understandable that the site selection method for the detection equipment provided in this embodiment in the natural gas station is mainly applicable to the laser pan-tilt combustible gas detector, which relies on the tunable semiconductor laser absorption spectrum to achieve high-precision detection of trace gases (ppm level). At the same time, the laser module is integrated with the omnidirectional variable speed pan-tilt, which transforms the traditional "point" and "line" detection into a "surface" detection of 360° horizontally and 180° vertically. It should also be noted that the gas detection equipment based on the same or similar principles can be applied to the site selection method provided in the embodiment of this application to realize the site selection of different types of detection equipment for different application scenarios, and this embodiment does not make specific limitations.

[0079] The following is a detailed description of the site selection method of the detection equipment in the natural gas station provided by the embodiment of the present application in conjunction with the accompanying drawings. The method includes:

[0080] Figure 1 A flow chart of a method for selecting a site for a detection device in a natural gas station according to an embodiment of the present application is shown in FIG. Figure 1 As shown, the method is applied to an electronic device and includes the following steps:

[0081] S110, establishing a first candidate point grid representing the detection distance between the detection equipment and the process area to be monitored, a second candidate point grid representing the data drop between the detection equipment and the process area to be monitored, and a third candidate point grid representing the positioning accuracy of the detection equipment and the process area to be monitored in the natural gas station area.

[0082] Specifically, for the three candidate point grids of this embodiment, their essence is to meet the requirements of the detection equipment for the detection distance, data reduction and positioning accuracy of the process area to be monitored, and each point can be regarded as a unit grid with horizontal and vertical coordinates. For the process area to be monitored, it is mainly the process area that needs to monitor whether there is leakage, such as pipelines, pressure gauges, valves, gas storage tanks, etc. in the natural gas station. Each candidate point carries the value of the corresponding optimization parameter. For example, each candidate point of the first candidate point grid represents the distance between the detection equipment and the monitoring point of the process area to be monitored.

[0083] S120, respectively preset thresholds for detection distance, data drop, and positioning accuracy, and respectively eliminate candidate points that do not meet the preset thresholds in the first candidate point grid, the second candidate point grid, or the third candidate point grid, so as to update the first candidate point grid, the second candidate point grid, or the third candidate point grid, and obtain a first site selection result for the detection equipment in the natural gas station.

[0084] In this embodiment, the thresholds of the preset detection distance, data drop and positioning accuracy are considered by technical personnel in this field according to the actual situation of natural gas station monitoring, so the threshold value is not specifically limited here. The corresponding alternative points that do not meet the threshold value need to be removed from the alternative point grid, and the first alternative point grid, the second alternative point grid or the third alternative point grid are updated, so as to optimize the layout position of the alternative points of the detection equipment, reduce unnecessary layout points, improve monitoring efficiency, and optimize the data quality and positioning accuracy of the alternative points of the detection equipment, improve monitoring accuracy, and the remaining alternative points of the corresponding alternative point grid obtain the first site selection result of the detection equipment in the natural gas station. Furthermore, the parameter values ​​of the alternative points can be sorted by size, so that the workers can make the final site selection decision based on the on-site actual situation of the natural gas station.

[0085] Therefore, the present embodiment provides a method for site selection of detection equipment in a natural gas station. By establishing a first candidate point grid, a second candidate point grid and a third candidate point grid corresponding to the detection distance between the detection equipment and the process area to be monitored, the data drop and the positioning accuracy, the first candidate point grid, the second candidate point grid or the third candidate point grid that do not meet the requirements are eliminated according to the threshold of the corresponding optimization parameter, thereby optimizing the layout of the alternative points of the detection equipment, reducing unnecessary layout points, improving monitoring efficiency, and optimizing the data quality and positioning accuracy of the alternative points of the detection equipment, improving monitoring accuracy, and based on the updated alternative points, the workers make the final site selection decision in combination with the on-site actual conditions of the natural gas station.

[0086] In one embodiment, the method also includes: eliminating the alternative points in the first alternative point grid and the second alternative point grid that do not meet the preset threshold value to update the first alternative point grid and the second alternative point grid; presetting the weights of the detection distance and the data drop, weighting the weights corresponding to the detection distance and the data drop, and determining the second site selection result of the detection equipment in the updated alternative point grid based on the weighted result.

[0087] In this embodiment, the site selection is considered from two aspects: detection distance and data reduction, so as to obtain a site selection result that combines the detection distance and data reduction factors of the detection equipment, and the priority of the two factors can also be considered. For example, if the actual situation on site requires considering the data quality of the natural gas station monitored by the detection equipment, the weight of the data reduction can be increased to facilitate flexible consideration based on the actual situation on site, thereby obtaining a more flexible site selection plan for the detection equipment in the natural gas station.

[0088] In one embodiment, the method also includes: eliminating the alternative points in the first alternative point grid and the third alternative point grid that do not meet the preset threshold value to update the first alternative point grid and the third alternative point grid; presetting the weights of the detection distance and the positioning accuracy, weighting the weights corresponding to the detection distance and the positioning accuracy, and determining the third site selection result of the detection device in the updated alternative point grid based on the weighted result.

[0089] Specifically, the same principle as the above-mentioned consideration of site selection from the two aspects of detection distance and data reduction is adopted. This embodiment considers the detection distance and positioning accuracy of the detection equipment, so as to facilitate flexible consideration according to the actual situation on site, thereby obtaining a more flexible site selection plan for the detection equipment in the natural gas station.

[0090] In one embodiment, the method also includes: eliminating the alternative points in the second alternative point grid and the third alternative point grid that do not meet the preset threshold value to update the second alternative point grid and the third alternative point grid; presetting the weights of the data drop and the positioning accuracy, weighting the weights corresponding to the data drop and the positioning accuracy, and determining the fourth site selection result of the detection equipment in the updated alternative point grid based on the weighted result.

[0091] Specifically, the same principle as the above-mentioned consideration of site selection from the two aspects of detection distance and data reduction is adopted. This embodiment considers the data quality and positioning accuracy of the detection equipment, so as to flexibly consider the actual situation on site, thereby obtaining a more flexible site selection plan for the detection equipment in the natural gas station.

[0092] In one embodiment, the method also includes: eliminating the alternative points in the first alternative point grid, the second alternative point grid and the third alternative point grid that do not meet the preset threshold value to update the first alternative point grid, the second alternative point grid and the third alternative point grid; presetting the weights of the detection distance, the data drop and the positioning accuracy, weighting the weights corresponding to the detection distance, the data drop and the positioning accuracy, and determining the fifth site selection result of the detection equipment in the updated alternative point grid based on the weighted result.

[0093] Specifically, the same principle as the above-mentioned consideration of site selection from the two aspects of detection distance and data reduction is used. This embodiment considers the three aspects of detection distance, data quality and positioning accuracy of the detection equipment, which is convenient for flexible consideration according to the actual situation on site, so as to obtain a more flexible site selection plan for the detection equipment in the natural gas station, and based on the comprehensive consideration of the three optimization parameters, optimizes the layout position and parameter setting of the alternative points of the detection equipment, improves the monitoring efficiency and accuracy of the detection equipment, thereby solving the problem of poor site selection accuracy for the installation location of the laser pan-tilt combustible gas detection equipment in the natural gas station.

[0094] In one embodiment, a first candidate point grid representing the detection distance between the detection equipment and the process area to be monitored is established in the natural gas station, specifically: calculating the distance between the first point and the second point, traversing the distance between the first point and the second point, screening out the maximum distance between each first point and each second point, and obtaining the maximum distance set for each first point; presetting the detection distance of the detection equipment, eliminating the first point that does not meet the detection distance from the maximum distance set, and sorting the maximum distance set of the first point that meets the detection distance in ascending order to obtain the first candidate point grid; wherein the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

[0095] In this embodiment, according to the first point position P of the detection device d And the monitoring points of the process area to be monitored p1p2...p l , calculate the distance between the first point of each detector and all monitoring points in the process area to be monitored. The calculation method is as follows Figure 2 As shown,

[0096] The first point of the detection equipment is P d As shown below: Where P ij represents the cell point in row i and column j in the grid, P ij -P ij-1 =dd,P ij -P i-1j =dd,m i n j Indicates that there are n i unit points, the jth column has m j Unit points.

[0097] The monitoring points of the process area to be monitored are shown in the following formula:

[0098]

[0099] where p ijrepresents the cell point in row i and column j in the grid, p ij -p ij-1 =dl,p ij -p i-1j =dl,m li n lj Indicates that there are n li unit points, the jth column has m lj unit points, l represents the lth process area to be monitored.

[0100] Traverse the calculated distances and filter out the maximum distance and minimum distance Establish a maximum distance set for each detection device and the minimum distance set

[0101] Set the detection range D of the laser pan-tilt combustible gas detector limit , excluding D max Detector alternative points outside the detection range And the first point position of the detection equipment within the detection range The distances are sorted from small to large, and the resulting point set is the first candidate point grid.

[0102] In one embodiment, a second candidate point grid is established in a natural gas station to characterize the data drop between the detection equipment and the process area to be monitored, specifically: calculate the distance between the first point and the second point, traverse the distance between the first point and the second point, and screen out the maximum distance and the minimum distance between each first point and each second point; preset the installation height of the detection equipment, and calculate the data drop of the detection equipment at each first point during the optical path scanning process according to the installation height, the maximum distance and the minimum distance; screen out the maximum data drop between each first point and each second point to obtain the maximum data drop set for each first point of the detection equipment; preset the acceptable data drop when the detection equipment is running, eliminate the first point with a data drop greater than the acceptable data drop from the maximum data drop set, and sort the maximum data drop set of the first point that meets the detection distance in ascending order to obtain the second candidate point grid; wherein the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

[0103] Specifically, first set the installation height h of the detector, such as Figure 3 As shown, according to the maximum distance of each detector candidate point and minimum distance Calculate the data drop during optical path scanning

[0104] In the formula, v min and v max They are respectively represented by the maximum distance and the integrated concentration measured by the detector at the maximum distance, t1 and t2 are the width coordinates of the gas pool to be measured, k min and k max They represent the slope of the light path emitted by the detector at the minimum distance and maximum distance respectively, and C is the gas concentration in the gas cell.

[0105] Then establish the maximum data drop set of the first alternative point for each detection device

[0106] Set the acceptable data reduction range for the operation of the laser pan-tilt combustible gas detector limit , excluding r max Detector alternative points with a larger than acceptable data drop And select the detector points within the acceptable data drop range The point set obtained by sorting the data in ascending order of data decrease is the second candidate point grid.

[0107] In one embodiment, a third candidate point grid is established in the natural gas station to characterize the positioning accuracy of the detection equipment and the process area to be monitored, specifically: calculate the distance between the first point and the second point, traverse the distance between each first point and each second point, and screen out the maximum distance and the minimum distance between each first point and each second point; preset the rotation accuracy of the detection equipment, and calculate the lateral movement accuracy of the farthest point of the scanning light path of the detection equipment at each first point according to the maximum distance and the rotation accuracy; calculate the longitudinal movement accuracy of the farthest point of the scanning light path of the detection equipment at each first point according to the lateral movement accuracy, the rotation accuracy and the maximum distance; traverse the lateral movement accuracy and the farthest point of the scanning light path of the detection equipment at each first point Longitudinal movement accuracy, screen out the minimum lateral movement accuracy and minimum longitudinal movement accuracy of each first point, and obtain the minimum lateral movement accuracy set and the minimum longitudinal movement accuracy set; preset the minimum spacing between the two second points in the process area to be monitored, eliminate the first points larger than the minimum spacing in the minimum lateral movement accuracy set and the minimum longitudinal movement accuracy set, and sort the minimum lateral movement accuracy set and the minimum longitudinal movement accuracy set of the first points that meet the minimum spacing in order from small to large, to obtain the third candidate point grid; wherein, the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

[0108] In this embodiment, Figure 4 As shown, first set the pan-tilt rotation accuracy s of the detection equipment, according to the maximum distance of each detector candidate point The lateral movement accuracy of the farthest point of the optical path of the detection device is calculated by the pan / tilt rotation accuracy s Solve the longitudinal movement accuracy inter_v of the detection equipment according to the following equation min :

[0109] Then establish the minimum lateral movement accuracy inter_h of each detector candidate point min and minimum longitudinal movement accuracy inter_V min :

[0110]

[0111]

[0112] Finally, set the minimum spacing between the two second points in the process area to be monitored. limit , excluding inter_h min and inter_v min Detector alternative points larger than the minimum spacing And the detector selection points with lateral and longitudinal movement accuracy that meet the minimum spacing according to The candidate points that meet the minimum spacing are sorted from small to large, and the sorting result is the third candidate point grid.

[0113] In one embodiment, determining the first point position is specifically as follows: acquiring a station image of the natural gas station; determining a first boundary reference point of the natural gas station based on the station image, and determining a first boundary range of the natural gas station based on the first boundary reference point; screening a first pixel point in the natural gas station within the first boundary range, and presetting a first spacing between candidate points of the detection equipment within the first boundary range; determining a first point position at which the detection equipment is installed in the natural gas station based on the first pixel point, the first spacing, and the scale of the station image; one of the natural gas stations corresponds to one or more process areas to be monitored.

[0114] In this embodiment, the station image of the natural gas station can be an aerial view taken by a drone, or it can be a design plan of the natural gas station, which is not specifically limited in this embodiment. Correspondingly, the first boundary reference point of the natural gas station is determined based on the station image, which needs to be implemented through existing technologies such as image segmentation, feature extraction and matching, and coordinate conversion. This is a routine method for those skilled in the art, so this embodiment will not be described in detail. Among them, the scale of the station image is calculated by the pixel coordinates of the reference object in the station image and the actual length of the reference object. For example, the pixel points in the station image are used as coordinates, and the pixel points of the reference object are found in the aerial photo as reference points. The coordinates of the reference points The formula for calculating the scale based on the reference point coordinates and the actual length of the reference object is as follows:

[0115] scale=dis / ((p ref (1,1)-p ref (2,1)) 2 +(p ref (1,2)-p ref (2,2)) 2 ) 0.5 , dis represents the actual length of the reference object.

[0116] Furthermore, select the reference point of the natural gas station boundary, set the spacing of the laser pan-tilt combustible gas detector candidate points, and establish the detector candidate point grid in the natural gas station area. The specific method is as follows:

[0117] First, select the boundary reference point of the field. Where x and y are the x and y coordinates of each reference point, and d means there are d reference points;

[0118] Then, the pixel points in the natural gas station are screened according to the site boundary, the grid spacing d of the candidate points of the laser pan-tilt combustible gas detector is set, and the first point position of the detection equipment is established in combination with the scale. Where P ij represents the cell point in row i and column j in the grid, P ij -P ij-1 =dd,P ij -P i-1j =dd,m i n j Indicates that there are n i unit points, the jth column has m j Unit points.

[0119] In one embodiment, determining the second point position is specifically as follows: acquiring a station image of a natural gas station; determining a second boundary reference point of the process area to be monitored based on the station image, and determining a second boundary range of the process area to be monitored based on the second boundary reference point; screening a second pixel point of the process area to be monitored within the second boundary range, and presetting a second spacing between candidate points of the detection equipment within the second boundary range; determining a second point position of the detection equipment within the process area to be monitored based on the second pixel point, the second spacing, and the scale of the station image; one of the natural gas stations corresponds to one or more process areas to be monitored, and the scale of the station image is calculated by the pixel point coordinates of a reference object within the station image and the actual length of the reference object.

[0120] Select the reference point of the process area boundary to be monitored, set the distance between monitoring points in the process area, and establish a monitoring point grid for the process area. The specific method is as follows:

[0121] First, select the reference point of the process area to determine the reference point of the boundary of the process area to be monitored. The reference points of t process areas can be expressed as Among them l i Indicates that there are l in the i-th process area i reference points.

[0122] Then, the pixel points in the monitoring area are screened according to the process area boundary, and the second spacing dp of each monitoring point in the process area to be monitored is set, and the second point of the process area to be monitored is established in combination with the scale dl=dp / scale as follows:

[0123]

[0124] where p ij represents the unit point in row i and column j in the second point position, p ij -p ij-1 =dl,p ij -p i-1j =dl,m li n lj Indicates that there are n li unit points, the jth column has m lj Unit points.

[0125] The following embodiments are specific application cases of the site selection method of the laser pan-tilt combustible gas detection equipment of the present invention in a natural gas station.

[0126] (1) First, find the reference point and calculate the scale based on the aerial view of the natural gas station. Figure 5 Small and medium-sized cars are used as reference points, and the coordinates of the reference points are The length of the car is 5m. According to the coordinates of the reference point and the actual length, the scale is calculated as scale = dis / ((p ref (1,1)-p ref (2,1)) 2 +(p ref (1,2)-p ref (2,2)) 2 ) 0.5 =0.0395m / dpi.

[0127] (2) Select the natural gas station boundary reference point to obtain the coordinates of 9 reference points The coordinates and positions of relevant points are as follows: Figure 6 shown.

[0128] (3) Filter the pixel points in the natural gas station according to the site boundary, set the grid spacing d = 1m for the laser pan-tilt combustible gas detector candidate points, and establish the detector candidate point grid based on the scale dd = d / scale = 25.31dpi

[0129]

[0130] (4) Select the reference point of the process area and determine the reference point of the boundary of the process area to be monitored. The reference point of t = 4 process areas can be expressed as The relevant points and their coordinates are as follows: Figure 7 shown.

[0131] (5) Filter the pixels in the monitoring area according to the process area boundary, set the process area monitoring point spacing dp = 0.5m, and establish the process area monitoring point grid based on the scale dl = dp / scale = 12.66dpi The grid distribution is as follows Figure 8 As shown, the black one is the alternative point grid of the detector, and the gray one is the monitoring point grid of the process area.

[0132] (6) According to the detector's alternative point grid P d And the coordinates of each unit in the process area monitoring point grid p1p2p3p4, traverse and calculate the candidate points of each detector Distance to all monitoring points in the process area distance, and filter out the maximum distance and minimum distance Establish the maximum distance set of candidate points for each detector and the minimum distance set Set the detection range D of the laser pan-tilt combustible gas detector limit =60m, exclude D max Detector alternative points outside the detection range And sort the candidate points of the detector within the detection range according to the distance from small to large like Fig. 9 As shown, the points within the station are points within the detection range. The color depth is indicated according to the detection distance. The greater the detection distance, the lighter the color.

[0133] (7) Set the installation height of the detector to h = 8m, based on the maximum distance of each detector alternative point and minimum distance Calculate the data drop during optical path scanning

[0134] Establish the maximum data drop set for each detector candidate point Set the acceptable data reduction range for the operation of the laser pan-tilt combustible gas detector limit = 50%, excluding r max Detector alternative points with a larger than acceptable data drop And sort the candidate points of the detector within the acceptable data drop range according to the data drop range from small to large like Fig.10 As shown, the points within the station are within the acceptable data drop range. The color depth is determined by the size of the data drop; the larger the data drop, the lighter the color.

[0135] (8) Set the rotation accuracy of the detector pan / tilt s = 0.1°, based on the maximum distance of each detector candidate point Calculate the lateral movement accuracy of the farthest point on the optical path by using the pan / tilt rotation accuracy s Establish equations to solve longitudinal movement accuracy Establish the minimum lateral movement accuracy for each detector candidate point and longitudinal movement accuracy Set the minimum distance between two monitoring points in the process area to be monitored. limit =0.6m, excluding inte m r i and inter_v min Detector alternative points larger than the minimum spacing And the detector selection points that meet the minimum spacing of the horizontal and vertical movement accuracy are based on Sort from smallest to largest like Fig.11 As shown, the points within the station are the points whose moving accuracy meets the minimum spacing The color depth is used to represent the movement accuracy; the greater the movement accuracy, the lighter the color.

[0136] (9) The above three parameter targets: maximum distance, data reduction and movement accuracy, and the excluded detector candidate points are integrated into P out =P out_dis ∪P out_r ∪P out_inter , the detector candidate points with comprehensive three optimization parameters are obtained, and the detector candidate points P with comprehensive three optimization parameters are further obtained according to the detector candidate point grid in =P d -P out .

[0137] (10) The three optimization parameters are weighted according to the weights a1 = 0.7, a2 = 0.2 and a3 = 0.1 of the maximum detection distance, data reduction and positioning accuracy respectively. The weighted value M is obtained, and the candidate point P of the detector with comprehensive three optimization parameters is in According to the weighted values ​​M of the three parameters of maximum distance, data reduction and movement accuracy, they are sorted from small to large, such as Fig.12 As shown. The points in the station are the detector points P that meet the three parameter requirements.in The color depth is represented by the weighted values ​​of the three parameters: the longest distance, data drop and moving accuracy. The larger the weighted value, the lighter the color.

[0138] In summary, the site selection method provided in this embodiment only requires an aerial view (or a plan layout of a natural gas station with specific dimension markings) to complete the site selection calculation of the laser pan-tilt combustible gas detection equipment, and the final result is not a single optimal location, but a ranking of the advantages and disadvantages of the alternative locations of each detector, which is convenient for making the final decision based on the actual on-site conditions.

[0139] Based on the same inventive concept, corresponding to the site selection method of a detection device in a natural gas station described in the above embodiment, this embodiment also provides a site selection device for a detection device in a natural gas station, please refer to Fig.13 , Fig.13 A structural block diagram of a site selection device for a detection device in a natural gas station provided for the implementation of this application, such as Fig.13 As shown, the device comprises:

[0140] The candidate point grid unit 1300 is used to establish a first candidate point grid representing the detection distance between the detection equipment and the process area to be monitored, a second candidate point grid representing the data drop between the detection equipment and the process area to be monitored, and a third candidate point grid representing the positioning accuracy of the detection equipment and the process area to be monitored in the natural gas station area;

[0141] Processing unit 1310 is used to preset thresholds for detection distance, data drop and positioning accuracy, respectively, and to eliminate the alternative points that do not meet the preset thresholds in the first alternative point grid, the second alternative point grid or the third alternative point grid, respectively, so as to update the first alternative point grid, the second alternative point grid or the third alternative point grid, and obtain a first site selection result for the detection equipment in the natural gas station.

[0142] The site selection device for the detection equipment provided in the present embodiment within the natural gas station establishes a first candidate point grid, a second candidate point grid and a third candidate point grid corresponding to the detection distance between the detection equipment and the process area to be monitored, the data drop and the positioning accuracy, and eliminates the candidate points of the first candidate point grid, the second candidate point grid or the third candidate point grid that do not meet the requirements according to the threshold value of the corresponding optimization parameter, thereby optimizing the layout position of the alternative points of the detection equipment, reducing unnecessary layout points, improving monitoring efficiency, and optimizing the data quality and positioning accuracy of the alternative points of the detection equipment, improving monitoring accuracy, and based on the updated alternative points, the staff makes the final site selection decision in combination with the on-site actual conditions of the natural gas station.

[0143] In another embodiment of the present invention, an electronic device is provided, which includes one or more processors; a memory coupled to the processor for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the steps of the method for selecting a location of a detection device in a natural gas station described in the above embodiment. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), off-the-shelf programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in a computer storage medium to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used to perform the operation of the method for selecting a location of a detection device in a natural gas station.

[0144] In another embodiment of the present invention, the present invention further provides a computer-readable storage medium, which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in the computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the method for selecting the site of the detection equipment in the natural gas station in the above embodiment. It should be understood by those skilled in the art that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0145] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for selecting a site for a detection device in a natural gas station, characterized in that: Methods include: Establishing a first candidate point grid representing the detection distance between the detection equipment and the process area to be monitored, a second candidate point grid representing the data drop between the detection equipment and the process area to be monitored, and a third candidate point grid representing the positioning accuracy between the detection equipment and the process area to be monitored within the natural gas station area; Thresholds for detection distance, data drop and positioning accuracy are preset respectively, and candidate points that do not meet the preset thresholds in the first candidate point grid, the second candidate point grid or the third candidate point grid are eliminated respectively, so as to update the first candidate point grid, the second candidate point grid or the third candidate point grid respectively, and obtain a first site selection result for the detection equipment in the natural gas station.

2. The method according to claim 1, characterized in that: The method also includes: Eliminate candidate points that do not meet a preset threshold value in the first candidate point grid and the second candidate point grid, so as to update the first candidate point grid and the second candidate point grid; The weights of the detection distance and the data reduction are preset, the weights corresponding to the detection distance and the data reduction are weighted, and the second site selection result of the detection equipment in the updated candidate point grid is determined based on the weighted result.

3. The method according to claim 1, characterized in that The method also includes: Eliminate candidate points that do not meet a preset threshold value in the first candidate point grid and the third candidate point grid, so as to update the first candidate point grid and the third candidate point grid; The weights of the detection distance and the positioning accuracy are preset, the weights corresponding to the detection distance and the positioning accuracy are weighted, and the third site selection result of the detection equipment in the updated candidate point grid is determined based on the weighted result.

4. The method according to claim 1, characterized in that: The method also includes: Eliminate candidate points that do not meet a preset threshold value in the second candidate point grid and the third candidate point grid, so as to update the second candidate point grid and the third candidate point grid; The weights of the data drop and the positioning accuracy are preset, and the weights corresponding to the data drop and the positioning accuracy are weighted. Based on the weighted results, the fourth site selection result of the detection equipment in the updated candidate point grid is determined.

5. The method according to claim 1, characterized in that The method also includes: Eliminate candidate points that do not meet a preset threshold value from the first candidate point grid, the second candidate point grid, and the third candidate point grid, so as to update the first candidate point grid, the second candidate point grid, and the third candidate point grid; The weights of the detection distance, data reduction and positioning accuracy are preset, and the weights corresponding to the detection distance, data reduction and positioning accuracy are weighted. Based on the weighted results, the fifth site selection result of the detection equipment in the updated candidate point grid is determined.

6. The method according to claim 1, characterized in that The first candidate point grid is established in the natural gas station to characterize the detection distance between the detection equipment and the process area to be monitored, specifically: Calculate the distance between the first point and the second point, traverse the distance between the first point and the second point, filter out the maximum distance between each first point and each second point, and obtain the maximum distance set of each first point; Preset the detection distance of the detection device, remove the first point that does not meet the detection distance in the maximum distance set, and sort the maximum distance set of the first point that meets the detection distance in ascending order to obtain a first candidate point grid; Among them, the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

7. The method according to claim 1, characterized in that A second candidate point grid is established within the natural gas station to characterize the data drop of the detection equipment and the process area to be monitored, specifically: Calculate the distance between the first point and the second point, traverse the distance between the first point and the second point, and filter out the maximum distance and the minimum distance between each first point and each second point; The installation height of the detection equipment is preset, and the data drop of the detection equipment at each first point during the optical path scanning process is calculated according to the installation height, the maximum distance and the minimum distance; Filter out the maximum data drop between each first point and each second point, and obtain a maximum data drop set for each first point of the detection device; The acceptable data drop when the detection device is running is preset, the first point with a data drop greater than the acceptable data drop is removed from the maximum data drop set, and the maximum data drop set of the first point that meets the detection distance is sorted in ascending order to obtain a second candidate point grid; Among them, the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

8. The method according to claim 1, characterized in that The third candidate point grid is established in the natural gas station to characterize the positioning accuracy of the detection equipment and the process area to be monitored, specifically: Calculate the distance between the first point and the second point, traverse the distance between each first point and each second point, and filter out the maximum distance and the minimum distance between each first point and each second point; The rotation accuracy of the detection device is preset, and the lateral movement accuracy of the farthest point of the scanning optical path of the detection device at each first point is calculated according to the maximum distance and the rotation accuracy; Calculate the longitudinal movement accuracy of the farthest point of the scanning optical path of the detection device at each first point based on the lateral movement accuracy, rotation accuracy and maximum distance; The detection device traverses each first point to scan the lateral movement accuracy and longitudinal movement accuracy of the farthest point of the optical path, and selects the minimum lateral movement accuracy and the minimum longitudinal movement accuracy of each first point to obtain a minimum lateral movement accuracy set and a minimum longitudinal movement accuracy set; The minimum spacing between the two second points in the process area to be monitored is preset, the first points larger than the minimum spacing are eliminated from the minimum lateral movement accuracy set and the minimum longitudinal movement accuracy set, and the minimum lateral movement accuracy set and the minimum longitudinal movement accuracy set of the first points meeting the minimum spacing are sorted in ascending order to obtain a third candidate point grid; Among them, the first point refers to the installation point where the detection equipment is installed in the natural gas station, and the second point refers to the monitoring point of the detection equipment in the process area to be monitored.

9. The method according to any one of claims 7-8, characterized in that: Determine the first point, specifically: Obtaining images of natural gas stations; Determine a first boundary reference point of the natural gas station according to the station image, and determine a first boundary range of the natural gas station according to the first boundary reference point; Screening a first pixel point within the natural gas station within a first boundary range, and presetting a first spacing between candidate points of the detection device within the first boundary range; Determine a first point where the detection equipment is installed in the natural gas station based on the first pixel point, the first spacing, and the scale of the station image; One natural gas station corresponds to one or more process areas to be monitored.

10. The method according to claim 9, characterized in that The scale of the station image is calculated from the pixel coordinates of the reference object in the station image and the actual length of the reference object.

11. The method according to any one of claims 7-8, characterized in that: Determine the second point, specifically: Obtaining images of natural gas stations; Determine a second boundary reference point of the process area to be monitored according to the station field image, and determine a second boundary range of the process area to be monitored according to the second boundary reference point; Screening second pixel points of the process area to be monitored within the second boundary range, and presetting a second spacing between candidate points of the detection device within the second boundary range; Determine a second point position of the detection equipment in the process area to be monitored based on the second pixel point, the second spacing, and the scale of the station field image; in A natural gas station corresponds to one or more process areas to be monitored. The scale of the station image is calculated by the pixel coordinates of the reference object in the station image and the actual length of the reference object.

12. A device for selecting a site for a detection device in a natural gas station, characterized in that: The device includes: The candidate point grid unit is used to establish a first candidate point grid representing the detection distance between the detection equipment and the process area to be monitored, a second candidate point grid representing the data drop between the detection equipment and the process area to be monitored, and a third candidate point grid representing the positioning accuracy of the detection equipment and the process area to be monitored within the natural gas station area; The processing unit is used to preset the thresholds of detection distance, data drop and positioning accuracy respectively, and to eliminate the candidate points that do not meet the preset thresholds in the first candidate point grid, the second candidate point grid or the third candidate point grid respectively, so as to update the first candidate point grid, the second candidate point grid or the third candidate point grid respectively, and obtain the first site selection result of the detection equipment in the natural gas station.

13. An electronic device, characterized in that: The electronic device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of a method for site selection of a detection device in a natural gas station as described in any one of claims 1 to 11 are implemented.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of a method for site selection of a detection device in a natural gas station as claimed in any one of claims 1 to 11 are implemented.