An industrial production environment gas safety real-time monitoring method and system
By generating virtual anchor points in the industrial park and setting up fixed and on-board monitoring equipment, and calculating gas concentrations with meteorological data, the problems of limited coverage and data isolation of traditional monitoring methods are solved, real-time and accurate gas concentration monitoring and safety alarms in the industrial park are achieved.
Patent Information
- Application Number
- CN202510457428.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-04-14
AI Technical Summary
Traditional industrial park air quality monitoring methods cannot provide real-time and accurate monitoring results, have limited coverage, and it is difficult to detect gas leakage, and data isolation cannot achieve data sharing and linkage analysis.
By generating virtual anchor points, setting up fixed and on-board monitoring equipment, calculating gas concentrations with meteorological data, generating inspection routes, real-time monitoring of industrial parks, and triggering safety alarms at anchor points.
A comprehensive gas concentration monitoring of industrial parks has been achieved, harmful gas leakage is discovered in a timely manner, and the leakage source and diffusion direction are evaluated, which improves the accuracy and coverage of monitoring results, and avoids invalid inspections.
Smart Images

Figure CN119985866B_ABST
Abstract
Description
Technical Field
[0001] Multiple embodiments of this specification relate to the field of information technology, and more particularly to a method and system for real-time monitoring of gas safety in an industrial production environment. Background Art
[0002] With the acceleration of the urbanization process and the rapid development of industrial parks, air quality issues have attracted increasing attention. In particular, the complex gas emissions and diffusion in industrial parks pose a potential threat to the surrounding environment. Traditional environmental monitoring methods mainly rely on a limited number of fixed monitoring stations. Although these stations can provide accurate data, due to their limited coverage, it is difficult to comprehensively reflect the air conditions of the entire industrial park. An industrial park usually contains various types of buildings, such as factories, warehouses, office buildings, etc. The layout and height differences of these buildings will have a significant impact on the flow of air currents, and thus affect the diffusion and distribution of pollutants. For example, high-density building clusters may cause local air flow obstruction, forming "dead zones" where pollutants accumulate, while open areas may accelerate the diffusion of pollutants. In addition, wind, as an important factor affecting air quality, its speed, direction, and stability have a significant impact on monitoring results. Current air quality monitoring technologies cannot provide real-time and accurate monitoring results. Therefore, new gas monitoring technologies need to be studied. Summary of the Invention
[0003] Multiple embodiments of this specification describe a method and system for real-time monitoring of gas safety in an industrial production environment.
[0004] In a first aspect, an embodiment of this specification provides a method for real-time monitoring of gas safety in an industrial production environment, including the steps of:
[0005] Reading geographical data and building distribution of a target environmental area, where the geographical data includes area data and road data, and generating multiple anchor points according to the area data and building distribution;
[0006] Generating multiple monitoring points according to the positions of the multiple anchor points, and setting fixed monitoring devices at the monitoring points;
[0007] Generating an inspection route for a vehicle-mounted monitoring device according to the road data, building distribution, and the monitoring points, where both the fixed monitoring device and the vehicle-mounted monitoring device monitor gas concentration and meteorological data;
[0008] Calculating the gas concentration of each anchor point according to the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device;
[0009] Comparing the gas concentration of the anchor point with a pre-configured alarm condition, and issuing a safety alarm when the trigger condition is met.
[0010] Second aspect, an embodiment of this specification provides an industrial production environment gas safety real-time monitoring system, including:
[0011] A reading module that reads geographical data and building distributions of a target environmental area, where the geographical data includes area data and road data, and generates a plurality of anchor points according to the area data and the building distributions;
[0012] A setting module that generates a plurality of monitoring points according to the positions of the plurality of anchor points, and sets fixed monitoring devices at the monitoring points;
[0013] An inspection module that generates an inspection route for a vehicle-mounted monitoring device according to the road data, the building distributions, and the monitoring points, and both the fixed monitoring device and the vehicle-mounted monitoring device monitor gas concentration and meteorological data;
[0014] A calculation module that calculates the gas concentration of each anchor point according to the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device;
[0015] An alarm module that compares the gas concentration of the anchor point with a pre-configured alarm condition, and issues a safety alarm when the trigger condition is met.
[0016] Third aspect, an embodiment of this specification provides an electronic device, including a processor and a memory;
[0017] The processor is connected to the memory;
[0018] The memory is used to store executable program code;
[0019] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method described in any of the above aspects.
[0020] Fourth aspect, an embodiment of this specification provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method described in any of the above aspects.
[0021] Fifth aspect, an embodiment of this specification provides a computer program product, including a computer program, and the computer program, when executed by a processor, implements the method described in any of the above aspects.
[0022] The beneficial effects brought by the technical solutions provided by some embodiments of this specification at least include:
[0023] In multiple embodiments of this specification, the provided method for real-time monitoring of gas safety in industrial production environments can monitor the gas concentration in the target environmental area by setting a small number of monitoring points and relying on virtual generated anchor points, ensuring the air quality in the target environmental area. It can promptly detect the leakage of harmful gases, and by periodically calculating and updating the gas concentration at each anchor point, when harmful gas leakage occurs, it can quickly evaluate the leakage source and the diffusion direction of harmful gases based on the gas concentration values at the anchor points. By calculating the credibility, it can grasp the accuracy of the monitoring results, guide the inspection route of on-vehicle monitoring equipment, and ensure that the overall credibility reaches the preset threshold with the help of on-vehicle monitoring equipment, giving full play to the role of on-vehicle monitoring equipment and avoiding ineffective inspections.
[0024] Other features and advantages of multiple embodiments of this specification will be further revealed in the following specific implementation manners and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] To more clearly illustrate the technical solutions in the embodiments of this specification, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of this specification. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0026] Figure 1 It is a schematic diagram of the application scenario of the real-time monitoring method provided for the embodiments of this specification.
[0027] Figure 2 It is a schematic diagram of the system architecture of the real-time monitoring system provided for the embodiments of this specification.
[0028] Figure 3 It is a schematic diagram of the interaction interface of the real-time monitoring system provided for the embodiments of this specification.
[0029] Figure 4 It is a schematic diagram of the flow of the real-time monitoring method provided for the embodiments of this specification.
[0030] Figure 5 It is a schematic diagram of the flow of the method for generating multiple anchor points provided for the embodiments of this specification.
[0031] Figure 6 It is a schematic diagram of the coverage provided for the embodiments of this specification.
[0032] Figure 7 It is a schematic diagram of the flow of the method for generating multiple monitoring points provided for the embodiments of this specification.
[0033] Figure 8 It is a schematic diagram of the flow of the method for generating a prediction diffusion calculation formula provided for the embodiments of this specification.
[0034] Figure 9 Schematic flow chart of the method for obtaining the anchor gas concentration provided by the embodiments of this specification.
[0035] Figure 10 Schematic diagram of calculating the anchor gas concentration provided by the embodiments of this specification.
[0036] Figure 11 Schematic diagram of the real-time monitoring system provided by the embodiments of this specification.
[0037] Figure 12 Schematic diagram of the electronic device provided by the embodiments of this specification. Detailed implementation manners
[0038] The technical solutions of the embodiments of this specification will be explained and described below with reference to the accompanying drawings of the embodiments of this specification. However, the following embodiments are only the preferred embodiments of this specification, not all of them. Based on the embodiments in the implementation manners, other embodiments obtained by those skilled in the art without creative efforts all fall within the protection scope of this specification.
[0039] Terms such as "first", "second", "third", etc. in the specification, claims and the above-mentioned drawings of this specification are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0040] In the following description, terms indicating orientation or positional relationship such as "inner", "outer", "upper", "lower", "left", "right", etc. are only for the convenience of describing the embodiments and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of this specification.
[0041] The data involved in this application are all information and data authorized by users or fully authorized by all parties, and the collection of relevant data complies with the relevant laws, regulations and standards of relevant countries and regions.
[0042] Before introducing the technical solutions described in this specification, the application scenarios of the technical solutions and related technologies will be introduced.
[0043] In industrial production environments, especially in industries such as chemical, petroleum, metallurgy, and pharmaceuticals, there are a large number of flammable, explosive, toxic, and harmful gases. For example, real-time monitoring of combustible gases (such as methane, propane, etc.) and toxic gases (such as hydrogen sulfide, carbon monoxide, etc.) in places such as refineries and chemical plants to prevent fires, explosions, and poisoning accidents. Monitoring gas leaks in high-temperature and high-pressure environments in places such as steel mills and aluminum plants to ensure production safety. Monitoring flammable, explosive, toxic, and harmful gases in places such as pharmaceutical workshops and warehouses to ensure drug production safety and personnel health. And in the monitoring of urban gas pipelines, monitoring natural gas leaks in places such as gas pipelines and pressure regulating stations to ensure urban gas use safety.
[0044] Once these gases leak, they are extremely likely to trigger safety accidents such as fires, explosions, and poisoning, causing casualties and property losses. The industrial production environment gas safety real-time monitoring system is an important means to ensure industrial production safety. Its application will effectively prevent and reduce the occurrence of safety accidents and escort the sustainable development of industrial production. Traditional industrial gas monitoring mainly relies on manual inspections and fixed gas detectors, with the following limitations: poor real-time performance, manual inspections cannot achieve 24-hour continuous monitoring, there are monitoring blind spots, and it is difficult to detect gas leaks in a timely manner; the coverage area is limited, the monitoring range of fixed gas detectors is limited, and it is difficult to cover the entire production area, especially areas such as complex pipelines and equipment dead ends; data is isolated and lacks linkage. Traditional monitoring methods have isolated data, making it difficult to achieve data sharing and linkage analysis, and unable to provide comprehensive and timely decision-making support for production safety.
[0045] Therefore, this specification provides an industrial production environment gas safety real-time monitoring method and system. Please refer to the appendix Figure 1 By setting multiple fixed monitoring devices in the industrial production environment area and setting a vehicle-mounted monitoring device 11 to conduct inspections, after obtaining the monitoring data, the server 30 performs data processing and calculation, and finally obtains the gas distribution monitoring result of the industrial production environment area to ensure industrial production safety.
[0046] The method provided in this application is applied to the system architecture as shown in Figure 2 Figure Figure 2 This is a schematic diagram of an architecture of the system architecture in an embodiment of this application. The system architecture includes a server 30 and a terminal device 40, and an interactive interface 41 is deployed on the terminal device 40. Among them, as shown in Figure 3As shown, the interactive interface 41 can run on the terminal device 40 in the form of a browser, or can also run on the terminal device 40 in the form of an independent application (APP), etc. For the specific display form of the interactive interface 41, no limitation is made here. The interactive interface 41 can be used to set fixed monitoring devices, set the inspection route 12, and view the monitoring results and alarm information. The server 30 involved in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. The terminal device 40 can be a smart phone, a tablet computer, a notebook computer, a handheld computer, a personal computer, a smart speaker, a smart TV, a smart watch, a vehicle-mounted device, a wearable device, etc., but is not limited thereto. The terminal device 40 and the server 30 can be directly or indirectly connected through wired or wireless communication methods, and no limitation is made here in this application. The number of the server 30 and the terminal device 40 is also not limited. The solution provided by this application can be independently completed by the terminal device 40, or can be independently completed by the server 30, or can also be completed by the cooperation of the terminal device 40 and the server 30. In this regard, no specific limitation is made in this application.
[0047] This specification first provides a method for real-time monitoring of gas safety in an industrial production environment. Please refer to the appendix Figure 4 , including the steps:
[0048] Step S101) Read the geographical data and building distribution of the target environmental area. The geographical data includes area data and road data. Generate a plurality of anchor points 20 according to the area data and building distribution.
[0049] To obtain the relevant geographical data and building distribution of the target environmental area, public map services or GIS models can be used. The data related to the building distribution is provided in vector format (such as Shapefile, GeoJSON) and can contain information such as the location and shape of the building. After obtaining the original data, some preprocessing may be required, including coordinate system conversion, data cleaning, and simplifying geometric objects. Coordinate system conversion can ensure that all data uses the same coordinate system. Data cleaning removes incorrect data records and fills in missing values, etc. For overly complex geometric shapes, appropriate simplification can be considered to improve processing efficiency.
[0050] Among them, the area data includes the area and the area type. Please refer to the appendix Figure 5, The method for generating multiple anchor points 20 according to the regional data and building distribution includes:
[0051] Step S201) Preset several wind directions and randomly select one wind direction. Four wind directions can be preset, or eight wind directions can be preset, or sixteen wind directions can be preset. The four wind directions are set as the four wind directions of east, west, south, and north. The eight wind directions also include the northeast direction, the southeast direction, the northwest direction, and the southwest direction. Or, more wind directions are set in other embodiments.
[0052] Step S202) Randomly add an anchor point 20 in the area, and obtain the coverage range 22 of the anchor point 20 according to the currently selected wind direction. The coverage range 22 is a range without occlusion and with a distance less than a preset threshold along the wind direction angle 21 from the anchor point 20. The wind direction angle 21 is an angle formed by rays with a preset angle with the wind direction. Please refer to the appendix Figure 6 , Exemplarily, if the preset value of the included angle is 40°, an angle of 80° will be formed for the angle 21, and the center line of the angle 21 is the same as the wind direction. The preset distance threshold is 30 meters. Then a sector with the anchor point 20 as the center point, a radius of 30 meters, and an included angle of 80° will be formed. A coverage range 22 will be formed under each wind direction.
[0053] Step S203) Repeat the previous step until the coverage ranges 22 of all the anchor points 20 cover the target environment area. According to the gas concentration at the anchor point 20, the gas concentration within its coverage range 22 can be calculated quickly and relatively accurately. When the coverage ranges 22 of all the anchor points 20 cover the target environment area, the monitoring of the target environment area can be realized by monitoring the anchor points 20.
[0054] Among them, the building has a great influence on the coverage range 22 because it will block the anchor point 20. Therefore, the coverage range 22 of the anchor point 20 near the building will no longer be a sector, but the part blocked by the building will be removed on the basis of the sector.
[0055] Step S204) Use an optimization algorithm to minimize the number of anchor points 20 under the currently selected wind direction.
[0056] The goal of optimization is to minimize the number of anchor points 20, with the constraint of covering the entire area. Optimization algorithms can adopt optimization algorithms already disclosed in this field, such as linear programming, integer linear programming, genetic algorithms, simulated annealing, etc. Taking the genetic algorithm as an example, the implementation steps include: initializing the population and randomly generating a set of initial solutions (each set of solutions represents a layout scheme of anchor points 20). Evaluating fitness: evaluating the quality of each set of solutions according to the objective function and constraint conditions. Selection, crossover, and mutation: generating a new population by selecting excellent individuals, performing gene recombination, and introducing mutations. Iteration: repeating the above process until the stopping criterion is met (exemplarily, such as reaching the maximum number of iterations or finding a satisfactory solution).
[0057] Step S205) Select the next wind direction and update the coverage range 22 of the existing anchor points 20 under the newly selected wind direction. If the coverage range 22 of all anchor points 20 under the newly selected wind direction does not cover the target environment area, add new anchor points 20 so that the coverage range 22 of all anchor points 20 after addition covers the target environment area.
[0058] Step S206) Repeat the previous step until all preset wind directions are selected, and the generation of anchor points 20 is completed.
[0059] After all anchor points 20 are generated, the gas concentration values at the positions of anchor points 20 are continuously updated according to a predetermined period. The types of gases monitored in this embodiment include methanol, acetonitrile, toluene, SO2, DMDS, methane, etc. Exemplary data of anchor points 20 include <anchor point 20 number, anchor point 20 coordinates, methanol concentration value, acetonitrile concentration value, toluene concentration value, SO2 concentration value, DMDS concentration value, methane concentration value, last update time>.
[0060] Step S102) Generate a plurality of monitoring points 10 according to the positions of the plurality of anchor points 20, and set fixed monitoring devices at the monitoring points 10.
[0061] The function of the anchor points 20 is to cover the entire target environment area and achieve the monitoring of the target environment area. In this embodiment, the gas concentration at the anchor points 20 is monitored through the monitoring points 10. Please refer to the appendix Figure 7 , in this embodiment, the meteorological data includes wind direction, wind speed, wind direction probability, and wind speed probability. The method for generating a plurality of monitoring points 10 according to the positions of the plurality of anchor points 20 includes:
[0062] Step S301) Generate a prediction diffusion calculation formula for each anchor point 20. The prediction diffusion calculation formula calculates the predicted gas concentration and credibility of any point within the coverage range 22 of the anchor point 20 according to the wind direction, wind speed, and gas concentration at the anchor point 20.
[0063] Please refer to the appendix Figure 8, the method for generating the predicted diffusion calculation formula for each anchor point 20 includes:
[0064] Step S401) Divide the wind speed into several wind speed segments and set the wind direction as several reference wind directions with equal angles. Exemplarily, the wind speed is divided into six wind speed segments: [0, 2) m / s, [2, 4) m / s, [4, 6) m / s, [6, 8) m / s, [8, 10) m / s, [10, ∞) m / s. The interval [0, 2) m / s represents a very light wind speed, usually occurring under calm or gentle breeze conditions. [2, 4) m / s is a light wind speed, indicating a gentle breeze situation, and this wind speed helps the gas to diffuse slowly but continuously. [4, 6) m / s represents a medium wind speed, which can provide sufficient power to promote the gas to diffuse more rapidly without causing severe turbulence. [6, 8) m / s represents a relatively high wind speed, in which case the gas will be quickly carried away and the diffusion speed will increase significantly. [8, 10) m / s represents a strong wind speed, suitable for strong wind weather conditions, where the gas not only diffuses quickly but may also be more dispersed due to stronger turbulence. [10, ∞) m / s represents an extremely high wind speed, which usually corresponds to extreme weather events and generally does not occur.
[0065] Step S402) Generate a calibrated diffusion calculation formula for the gas concentration for each anchor point 20. The calibrated diffusion calculation formula calculates the gas concentration at any point within the coverage range 22 of the anchor point 20 based on the reference wind direction, the wind speed segment, and the gas concentration at the anchor point 20.
[0066] The calibrated diffusion calculation formula uses the wind direction, the wind speed segment, and the gas concentration at the anchor point 20 to calculate the gas concentration at any point within the coverage range 22 of the anchor point 20. Therefore, it is a concentration calculation formula that can only provide values for six wind speed segments and eight wind directions. When the wind speed segment participates in the calculation, the middle value of the wind speed segment is used for the operation. The calibrated diffusion calculation formula can be obtained through computer simulation, can also be deduced from a gas diffusion model, or can be obtained by measurement under laboratory conditions. In this embodiment, an exemplary calibrated diffusion calculation formula when the wind direction is east wind is:
[0067] Gas concentration at any point = k1 × k2 × Gas concentration at anchor point 20, where k1 is a coefficient value determined according to the wind speed segment, and the larger the wind speed segment, the larger k1. k2 is a coefficient value determined according to the equivalent distance, and the larger the equivalent distance, the smaller k2. The equivalent distance = L / k3, where k3 is a coefficient value determined according to the wind speed segment, and the larger the wind speed segment, the larger k3, and L is the distance between any point and the anchor point 20. The exemplary calibrated diffusion calculation formula is fast in calculation and suitable for a target environmental area with a large area. The calculation accuracy is slightly lower, but the solution provided in this embodiment only needs to issue an alarm when the gas concentration is relatively high and does not require an accurate gas concentration value. Each wind direction corresponds to a calibrated diffusion calculation formula.
[0068] Step S403) Generate a predicted diffusion calculation formula. The predicted diffusion calculation formula obtains the predicted gas concentration at any point within the coverage range 22 under any wind direction and wind speed based on the reference wind direction with the smallest angle with the wind direction, the wind speed segment with the smallest difference between the midpoint value and the wind speed, and the gas concentration at the anchor point 20.
[0069] Exemplarily, the calibrated diffusion calculation formula when the wind direction is east wind and the wind speed segment is [2, 4) m / s is:
[0070] Gas concentration at any point = 0.6×(1.5×(L / 1.2) / 10)×Gas concentration at anchor point 20.
[0071] Assume that the current wind direction is 15° north of east, the wind speed is 2.5 m / s, and the distance between a point in the coverage range 22 and the anchor point 20 is L. Then the predicted gas concentration = 0.6×(1.5×(L / 1.2) / 10)×Gas concentration at anchor point 20. When L is 5 m and the gas concentration of SO2 at the anchor point 20 is 150 μg / m³, the gas concentration of SO2 at this point is 0.6×(1.5×(5 / 1.2) / 10)×150 = 56.25 μg / m³. This is because the wind speed is not high at this time, so the diffusion of SO2 is not sufficient.
[0072] Step S404) Obtain the credibility of the predicted gas concentration according to the angle and the difference.
[0073] Exemplarily, the credibility calculation process is as follows: After normalizing the angle and normalizing the difference, perform weighted summation. The absolute value of the difference between the weighted sum after normalization and 1 is used as the credibility. Exemplarily, the angle is 15°, and the difference is |2.5 - 3| = 0.5. The maximum value of the angle is 40°, then the normalized value of 15° is 15 / 40 = 0.375, and the maximum value of the difference is 1, so the normalized value of 0.5 is 0.5. Exemplarily, the weight of the normalized value of the angle is 0.4, and the weight of the normalized value of the difference is 0.6, then the weighted sum is 0.4×0.375 + 0.6×0.5 = 0.45. Then calculate |0.45 - 1|, and the credibility value is obtained as 0.55.
[0074] Step S302) Randomly generate multiple monitoring points 10, and inversely deduce the gas concentration and credibility of each anchor point 20 according to the predicted diffusion calculation formula.
[0075] In the above, the SO2 gas concentration at a point within the coverage range 22 of an anchor point 20 was calculated to be 56.25 μg / m³, and the credibility value was 0.55. This calculation was performed under the assumption that the gas concentration at the anchor point 20 was known. When the gas concentration at the anchor point 20 is unknown, it is necessary to perform back-calculation with the measurement values of the monitoring points 10. Assuming that at a point calculated above, it is set as a monitoring point 10, then the gas concentration at the anchor point 20 can be back-calculated according to the predicted diffusion calculation formula. Assuming that the SO2 gas concentration at the monitoring point 10 is 56.25 μg / m³, then the back-calculated SO2 gas concentration at the anchor point 20 is 150 μg / m³, and the credibility value is 0.55.
[0076] Step S303) Obtain the corrected credibility based on the credibility, wind direction probability, and wind speed probability.
[0077] Based on the historical meteorological information of the target environmental area, obtain the wind direction probability and wind speed probability. Exemplarily, the probability that the wind direction is 15° north of east is 0.28, indicating that the northeast wind often blows. The probability that the wind speed is 2.5 m / s is 0.4, indicating that it is usually at the light breeze level. Exemplarily, multiply the credibility, wind direction probability, and wind speed probability to obtain the corrected credibility. That is, the corrected credibility = 0.55×0.28×0.4 = 0.0616.
[0078] Step S304) Calculate the weighted sum of the sum of all corrected credibilities and the number of monitoring points 10 according to a preset coefficient. The coefficient of the sum of the corrected credibilities is positive, and the coefficient of the number of monitoring points 10 is negative.
[0079] The larger the sum of the corrected credibilities, the better the current setting of the monitoring points 10. The fewer the number of monitoring points 10, the better the current setting of the monitoring points 10.
[0080] Step S305) Use an optimization algorithm to adjust the number and position of the monitoring points 10 so that the gas concentrations of all anchor points 20 are back-calculated and the weighted sum is the highest.
[0081] The maximum of the weighted sum of the sum of the corrected credibilities and the number of monitoring points 10 is the optimization goal. Using an optimization algorithm, an optimized scheme for the setting of the monitoring points 10 can be obtained.
[0082] Step S103) Generate a patrol route 12 of the vehicle-mounted monitoring device 11 based on the road data, building distribution, and the monitoring points 10. Both the fixed monitoring device and the vehicle-mounted monitoring device 11 monitor gas concentration and meteorological data.
[0083] The method for generating a patrol route 12 of the vehicle-mounted monitoring device 11 based on the road data, building distribution, and the monitoring points 10 includes:
[0084] Randomly generate an initial inspection route 12, set collection points at equal distances on the inspection route 12, and the inspection route 12 satisfies that there is at least one of the collection points within the coverage range 22 of each anchor point 20;
[0085] Use an optimization algorithm to make the inspection route 12 the shortest.
[0086] When the credibility of the gas concentration at some anchor points is lower than a preset threshold, temporarily change the inspection route 12 of the vehicle-mounted monitoring device so that it passes through an anchor point with a credibility lower than the preset threshold, within the coverage range under the current wind direction, so as to update the gas concentration of the anchor point and at the same time be able to increase the credibility above the preset threshold. Then return to the original inspection route 12 nearby.
[0087] Step S104) Calculate the gas concentration of each anchor point 20 based on the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device 11.
[0088] Among them, please refer to the appendix Figure 9 , the method for calculating the gas concentration of each anchor point 20 based on the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device 11 includes:
[0089] Step S501) Read the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device 11 within a preset time period.
[0090] Step S502) Obtain the position on the inspection route 12 of the vehicle-mounted monitoring device 11 that is closest to the anchor point 20, denoted as the reference calculation position 13, and obtain multiple fixed gas monitoring devices within the coverage range 22 of the anchor point 20.
[0091] Step S503) According to the gas concentration and meteorological data of the fixed gas monitoring device and the vehicle-mounted monitoring device 11 at the reference calculation position 13, and the prediction diffusion calculation formula, inversely deduce multiple predicted gas concentrations and credibilities.
[0092] Step S504) Use the credibility as the weight and calculate the weighted average of multiple predicted gas concentrations as the gas concentration of the anchor point 20.
[0093] Please refer to the appendix Figure 10 , on the inspection route 12, find the position closest to the anchor point 20, which is the reference calculation position 13, and obtain the gas concentration detected at the reference calculation position 13. Under the current wind direction, there are two monitoring points 10 within the coverage range 22 of the anchor point 20, so a total of 3 gas concentrations and their credibilities can be inversely deduced. Use the credibility as the weight to calculate the weighted average, and the gas concentration value at the anchor point 20 can be obtained.
[0094] Step S105) Compare the gas concentration at the anchor point 20 with the pre-configured alarm condition, and when the trigger condition is met, issue a safety alarm.
[0095] On the other hand, this specification provides an industrial production environment gas safety real-time monitoring system. Please refer to the attached Figure 11 , which includes:
[0096] A reading module 100 that reads the geographical data and building distribution of the target environmental area. The geographical data includes area data and road data, and based on the area data and building distribution, generates multiple anchor points 20;
[0097] A setting module 200 that generates multiple monitoring points 10 according to the positions of the multiple anchor points 20, and sets fixed monitoring devices at the monitoring points 10;
[0098] An inspection module 300 that generates an inspection route 12 for the on-vehicle monitoring device 11 according to the road data, building distribution, and the monitoring points 10. Both the fixed monitoring device and the on-vehicle monitoring device 11 monitor the gas concentration and meteorological data;
[0099] A calculation module 400 that calculates the gas concentration of each anchor point 20 based on the gas concentration and meteorological data monitored by the fixed gas monitoring device and the on-vehicle monitoring device 11;
[0100] An alarm module 500 that compares the gas concentration at the anchor point 20 with the pre-configured alarm condition, and when the trigger condition is met, issues a safety alarm.
[0101] Please refer to Figure 12 the schematic structural diagram of an electronic device provided by the embodiment of this specification shown.
[0102] As Figure 12As shown, the electronic device 1100 may include: at least one processor 1101, at least one network interface 1104, a user interface 1103, a memory 1105, and at least one communication bus 1102. Among them, the communication bus 1102 can be used to realize the connection and communication of the above-mentioned various components. Among them, the user interface 1103 may include buttons, and the optional user interface may further include a standard wired interface and a wireless interface. Among them, the network interface 1104 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc. Among them, the processor 1101 may include one or more processing cores. The processor 1101 connects various parts within the entire electronic device 1100 through various interfaces and lines, and executes various functions of the routing device 1100 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1105, and by calling the data stored in the memory 1105. Optionally, the processor 1101 may be implemented in at least one of the hardware forms of DSP, FPGA, and PLA. The processor 1101 may integrate one or several combinations of a CPU, a GPU, and a modem, etc. Among them, the CPU mainly processes the operating system, the user interface, and application programs, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communication.
[0103] It can be understood that the above-mentioned modem may not be integrated into the processor 1101 and may be implemented separately by a single chip.
[0104] Among them, the memory 1105 may include RAM and may also include ROM. Optionally, the memory 1105 includes a non-transitory computer-readable medium. The memory 1105 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1105 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store the data involved in the above-mentioned various method embodiments. The memory 1105 is optionally further a storage device located at least away from the aforementioned processor 1101. The memory 1105, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and application programs. The processor 1101 can be used to call the application programs stored in the memory 1105 and execute the methods in the above-mentioned multiple embodiments.
[0105] The embodiments of this specification also provide a computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When they run on a computer or a processor, the computer or the processor is caused to execute multiple steps in the above embodiments. If each component module of the above electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the computer-readable storage medium.
[0106] The embodiments of this specification also provide a computer program product, including a computer program. When the computer program is executed by a processor, multiple steps in the above embodiments are implemented.
[0107] Without conflict, the technical features in this embodiment and the implementation solutions can be combined arbitrarily.
[0108] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes multiple computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this specification are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or a data center that integrates multiple available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a Digital Versatile Disc (DVD)), or a semiconductor medium (for example, a Solid State Disk (SSD)), etc.
[0109] When implemented by hardware or firmware, the foregoing method flow is programmed into a hardware circuit to obtain a corresponding hardware circuit structure and implement corresponding functions. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is an integrated circuit whose logic function is determined by a user's programming of the device. A designer can program a digital system "integrated" on a PLD by himself / herself without asking a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually manufacturing an integrated circuit chip, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called a hardware description language (HDL), and there are not only one kind of HDL, but many kinds. Those skilled in the art should also be clear that only by slightly logically programming the method flow with the above-mentioned several hardware description languages and programming it into an integrated circuit, it is easy to obtain a hardware circuit that implements the logical method flow.
[0110] The embodiments described above are only described in a preferred embodiment manner of this specification, and do not limit the scope of this specification. Without departing from the design spirit of this specification, various deformations and improvements made by those of ordinary skill in the art to the technical solutions of this specification should all fall within the protection scope determined by the claims of this specification.
Claims
1. A real-time monitoring method for gas safety in industrial production environments, characterized in that, Including the steps: Read the geographical data and building distribution of the target environment area. The geographical data includes area data and road data. Generate multiple anchor points according to the area data and building distribution. Generate multiple monitoring points according to the positions of the multiple anchor points, and set fixed monitoring devices at the monitoring points. Generate the inspection route of the vehicle-mounted monitoring device according to the road data, building distribution and the monitoring points. Both the fixed monitoring device and the vehicle-mounted monitoring device monitor the gas concentration and meteorological data. Calculate the gas concentration of each anchor point according to the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device. Compare the gas concentration of the anchor point with the pre-configured alarm condition, and issue a safety alarm when the trigger condition is met. The area data includes the area and area type. The method for generating multiple anchor points according to the area data and building distribution includes: Preset several wind directions and randomly select one wind direction. Randomly add an anchor point in the area. According to the currently selected wind direction, obtain the coverage range of the anchor point. The coverage range is the range that has no obstruction along the wind direction with the anchor point and the distance is less than the preset threshold. The wind direction angle is the angle formed by the ray with an included angle of the preset value with the wind direction. Repeat the previous step until the coverage ranges of all anchor points cover the target environment area. Use an optimization algorithm to minimize the number of anchor points under the currently selected wind direction. Select the next wind direction, update the coverage ranges of the existing anchor points under the newly selected wind direction. If the coverage ranges of all anchor points under the newly selected wind direction do not cover the target environment area, add new anchor points so that the coverage ranges of all anchor points after addition cover the target environment area under the newly selected wind direction. Repeat the previous step until all the preset wind directions are selected, and the generation of anchor points is completed. The meteorological data includes wind direction, wind speed, wind direction probability and wind speed probability. The method for generating multiple monitoring points according to the positions of the multiple anchor points includes: Generate the prediction diffusion calculation formula for each anchor point. The prediction diffusion calculation formula calculates the predicted gas concentration and credibility of any point within the coverage range of the anchor point according to the wind direction, wind speed and gas concentration at the anchor point. Randomly generate multiple monitoring points, and inversely deduce the gas concentration and credibility of each anchor point according to the prediction diffusion calculation formula. Obtain the corrected credibility according to the credibility, wind direction probability and wind speed probability. Calculate the weighted sum of the sum of all corrected credibilities and the number of monitoring points according to the preset coefficients. The coefficient of the sum of the corrected credibilities is positive, and the coefficient of the number of monitoring points is negative. Use an optimization algorithm to adjust the number and positions of the monitoring points so that the gas concentrations of all anchor points are inversely deduced and the weighted sum is the highest. After angle normalization and difference normalization, perform weighted summation. The absolute value of the difference between the weighted sum after normalization and 1 is used as the credibility. Multiply the credibility, wind direction probability and wind speed probability to obtain the corrected credibility.
2. According to the industrial production environment gas safety real-time monitoring method described in claim 1, characterized in that The method for generating the prediction diffusion calculation formula for each anchor point includes: Divide the wind speed into several wind speed segments and set the wind direction to several reference wind directions with equal included angles; Generate a calibration diffusion calculation formula for the gas concentration of each anchor point. The calibration diffusion calculation formula calculates the gas concentration at any point within the coverage range of the anchor point based on the reference wind direction, wind speed segment, and gas concentration at the anchor point; Generate a prediction diffusion calculation formula. The prediction diffusion calculation formula obtains the predicted gas concentration at any point within the coverage range under any wind direction and wind speed based on the reference wind direction with the smallest included angle with the wind direction, the wind speed segment with the smallest difference between the midpoint value and the wind speed, and the gas concentration at the anchor point; Obtain the credibility of the predicted gas concentration based on the included angle and the difference; 3. The method for real-time monitoring of gas safety in an industrial production environment according to claim 2, characterized in that, The method for calculating the gas concentration of each anchor point based on the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device includes: Read the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device within a preset time period; Obtain the position on the inspection route of the vehicle-mounted monitoring device that is closest to the anchor point, denoted as the reference calculation position, and obtain multiple fixed gas monitoring devices within the coverage range of the anchor point; Based on the gas concentration and meteorological data of the fixed gas monitoring device and the vehicle-mounted monitoring device at the reference calculation position, and the prediction diffusion calculation formula, inversely deduce multiple predicted gas concentrations and credibilities; Use the credibility as a weight and calculate the weighted average of multiple predicted gas concentrations as the gas concentration of the anchor point.
4. The method for real-time monitoring of gas safety in an industrial production environment according to any one of claims 1 to 3, characterized in that, The method for generating the inspection route of the vehicle-mounted monitoring device based on the road data, building distribution, and the monitoring points includes: Randomly generate an initial inspection route, set collection points at equal distances on the inspection route, and the inspection route satisfies that at least one of the collection points exists within the coverage range of each anchor point; Use an optimization algorithm to make the inspection route the shortest.
5. An industrial production environment gas safety real-time monitoring system, characterized in that, Comprises: A reading module that reads the geographical data and building distribution of the target environmental area. The geographical data includes area data and road data, and generates multiple anchor points according to the area data and building distribution; A setting module that generates multiple monitoring points according to the positions of the multiple anchor points and sets fixed monitoring devices at the monitoring points; An inspection module that generates the inspection route of the vehicle-mounted monitoring device based on the road data, building distribution, and the monitoring points. Both the fixed monitoring device and the vehicle-mounted monitoring device monitor gas concentration and meteorological data; A calculation module that calculates the gas concentration of each anchor point based on the gas concentration and meteorological data monitored by the fixed gas monitoring device and the vehicle-mounted monitoring device; An alarm module that compares the gas concentration of the anchor point with the pre-configured alarm conditions and issues a safety alarm when the trigger condition is met; The area data includes the area and the area type, The method for generating multiple anchor points according to the area data and building distribution includes: Preset several wind directions and randomly select one wind direction; Randomly add an anchor point in the area. According to the currently selected wind direction, obtain the coverage range of the anchor point. The coverage range is the range that has no obstruction and a distance less than a preset threshold along the wind direction from the anchor point. The wind direction angle is the angle formed by the rays with an included angle of a preset value with the wind direction; Repeat the previous step until the coverage ranges of all anchor points cover the target environment area; Use an optimization algorithm to minimize the number of anchor points under the currently selected wind direction; Select the next wind direction and update the coverage ranges of the existing anchor points under the newly selected wind direction. If the coverage ranges of all anchor points under the newly selected wind direction do not cover the target environment area, add new anchor points so that the coverage ranges of all anchor points after addition cover the target environment area under the newly selected wind direction; Repeat the previous step until all preset wind directions are selected, and the generation of anchor points is completed; The meteorological data includes wind direction, wind speed, wind direction probability, and wind speed probability. The method for generating multiple monitoring points based on the positions of multiple anchor points includes: Generate a prediction diffusion calculation formula for each anchor point. The prediction diffusion calculation formula calculates the predicted gas concentration and credibility of any point within the coverage range of the anchor point based on the wind direction, wind speed, and gas concentration at the anchor point; Randomly generate multiple monitoring points and inversely deduce the gas concentration and credibility of each anchor point according to the prediction diffusion calculation formula; Obtain the corrected credibility based on the credibility, wind direction probability, and wind speed probability; Calculate the weighted sum of the sum of all corrected credibilities and the number of monitoring points according to a preset coefficient. The coefficient of the sum of the corrected credibilities is a positive value, and the coefficient of the number of monitoring points is a negative value; Use an optimization algorithm to adjust the number and positions of the monitoring points so that the gas concentrations of all anchor points are inversely deduced and the weighted sum is the highest; After angle normalization and difference normalization, perform weighted summation. The absolute value of the difference between the normalized weighted sum and 1 is used as the credibility; Multiply the credibility, wind direction probability, and wind speed probability to obtain the corrected credibility.
6. An electronic device, characterized in that, Includes a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory to execute the method according to any one of claims 1-4; 7. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program, when executed by the processor, implements the method according to any one of claims 1-4; 8. A computer program product, comprising a computer program, characterized in that, The computer program, when executed by the processor, implements the method according to any one of claims 1-4.
Citation Information
Patent Citations
Poisonous and pernicious gas monitoring point distribution method and device, medium and computer device
CN107677773A
Gridding traceability investigation method for volatile organic compounds in industrial park
CN110954658A
Monitoring inspection system and leakage early warning method for gas station pipe network
CN116642140A