An industrial Internet system for chemical production
By dividing the chemical production workshop into chemical production workshops and adjusting the working status of wireless sensor nodes according to the wind direction, the problem of timely detection of dangerous gas leaks in chemical production is solved, extending the life of sensor nodes and improving safety.
Patent Information
- Application Number
- CN202410033223.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-10
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-01-10
AI Technical Summary
In the chemical production process, when dangerous gas leaks, due to the uncertainty of the wind direction, it is difficult to detect it in time with the existing technology. As a result, the dangerous gas is discovered only after it spreads throughout the workshop, affecting timely processing.
Design an industrial Internet system that partitions chemical production workshops through area division modules, wind direction monitoring modules, control modules and wireless sensor nodes, adjusts the working status of wireless sensor nodes according to wind direction, and places sensors along the edge of the detection area to detect gas leaks in a timely manner.
It achieves timely detection of dangerous gas leaks, extends the working life of wireless sensor nodes, reduces power consumption, and improves safety.
Smart Images

Figure CN117991690B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial Internet, and in particular to an industrial Internet system for chemical production. Background Art
[0002] In the process of chemical production, there is a possibility of dangerous gas leakage. In the prior art, dangerous gas leakage events are usually detected by setting up dangerous gas sensors. Since the wind direction is different at different locations in the chemical production workshop, if the gas diffuses in the direction away from the dangerous gas sensor, it will take a long time to detect the gas leakage until the entire workshop is filled with dangerous gas, which is not conducive to timely detection of dangerous gas. Summary of the invention
[0003] The purpose of the present invention is to disclose an industrial Internet system for chemical production to solve the problem of how to promptly detect dangerous gases in factories.
[0004] In order to achieve the above object, the present invention provides the following technical solutions:
[0005] The present invention provides an industrial Internet system for chemical production, including a region division module, a wind direction monitoring module, a control module, a plurality of wireless sensor nodes and a gas detection module;
[0006] The area division module is used to divide the chemical production workshop into multiple detection areas;
[0007] The wind direction monitoring module is used to obtain the wind direction of the detection area after each detection cycle;
[0008] The control module is used to determine the set of wireless sensor nodes in working state in the next detection cycle according to the wind direction of the detection area after the previous detection cycle ends, and send control information to the wireless sensor nodes in the set;
[0009] Wireless sensor nodes are placed around the edge of the detection area;
[0010] The wireless sensor node is used to control its own state in the next detection cycle according to the control information after receiving the control information;
[0011] The wireless sensor node is also used to obtain the concentration of dangerous gases in the air when in working state and send the concentration to the gas detection module;
[0012] The gas detection module is used to determine whether an alarm needs to be issued based on the concentration of dangerous gases. If so, an alarm will be issued to relevant personnel.
[0013] Optionally, the chemical production workshop is divided into multiple detection areas, including:
[0014] Divide the chemical production workshop into multiple rectangular areas with an area of S;
[0015] Get the wind direction of each rectangular area respectively;
[0016] The rectangular areas are merged based on the wind direction to obtain the detection area.
[0017] Optionally, the chemical production workshop is divided into a plurality of rectangular areas of area S, including:
[0018] Get the minimum enclosing rectangle of the chemical production workshop;
[0019] Divide the minimum circumscribed rectangle into multiple rectangular regions with an area of S on average;
[0020] Delete the rectangular area that does not include the chemical production workshop in the obtained rectangular area.
[0021] Optionally, obtain the wind direction of each rectangular area separately, including:
[0022] The wind direction is obtained multiple times at the center of the rectangular area to obtain a wind direction set;
[0023] Divide the angle range of wind direction into N angle intervals evenly;
[0024] Get the number of wind directions corresponding to each angle interval of the wind direction set;
[0025] The middle value of the angle interval corresponding to the maximum value of the number of wind directions is taken as the wind direction of the rectangular area.
[0026] Optionally, the rectangular areas are merged based on the wind direction to obtain a detection area, including:
[0027] S1, store all rectangular areas into set U rgi ;
[0028] S2, respectively for U rgi Each rectangular area in is merged and calculated to obtain multiple detection areas.
[0029] Optional, respectively for U rgi Each rectangular area in is combined and calculated to obtain multiple detection areas, including:
[0030] S21, from U rgi Randomly select a rectangular area as the merging object;
[0031] S22, all the rectangular areas adjacent to the merged object whose wind direction is the same as that of the merged object and belongs to Urgi Any rectangular area is stored in the area set, and the rectangular area stored in the rectangle set in this step is represented by A;
[0032] S23, storing the merged object into the region set;
[0033] S24, remove all rectangular regions in the region set from U rgi Delete from;
[0034] S25, determining whether there is a rectangular area with the same wind direction as A among all the rectangular areas adjacent to A, if so, taking A as a new merging object and proceeding to S22; if not, proceeding to S26;
[0035] S26, all rectangular regions in the region set form a detection region;
[0036] S27, reset the region set to an empty set;
[0037] S28, judge U rgi Is the number of rectangular areas in greater than 1? If so, enter S21; if not, end the merging calculation.
[0038] Optionally, wireless sensor nodes are placed around the edge of the detection area, including:
[0039] The wireless sensor nodes are placed along the edge of the detection area, and the distance between two adjacent wireless sensor nodes is the same.
[0040] Optionally, the wind direction detection module is arranged in the center of the detection area.
[0041] Optionally, after the previous detection cycle ends, the set of wireless sensor nodes in working state in the next detection cycle is determined according to the wind direction of the detection area, including:
[0042] θ represents the angle corresponding to the wind direction in the detection area, and the detection angle range is [θ-γ,θ+γ], where γ represents the preset angle;
[0043] With the center of the detection area as the center of the circle, two rays are drawn along the angles θ-γ and θ+γ respectively, and the wireless sensor nodes in the detection area that are within the fan-shaped area less than 180° formed by the two rays and the center of the circle are saved to the next detection cycle, which is a set of wireless sensor nodes in working state.
[0044] Optionally, the control information includes a start time and an end time of a next detection cycle and a set of IDs of wireless sensor nodes in a working state in the next detection cycle.
[0045] Beneficial effects:
[0046] Compared with the prior art, the present invention divides the chemical production area into multiple detection areas by zoning the chemical production area, and then places wireless sensor nodes along the edges of the detection areas, so that the set of wireless sensor nodes in working state can be adjusted according to the wind direction of the detection area, which can extend the working life of the wireless sensor nodes and perform timely detection when dangerous gas leaks. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0048] Figure 1 A schematic diagram of an industrial Internet system for chemical production according to the present invention.
[0049] Figure 2 A schematic diagram of the process of dividing a chemical production workshop into a plurality of rectangular areas with an area of S according to the present invention. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope parameters of the protection of the present invention.
[0051] like Figure 1 In one embodiment shown, the present invention provides an industrial Internet system for chemical production, including a region division module, a wind direction monitoring module, a control module, a plurality of wireless sensor nodes and a gas detection module;
[0052] The area division module is used to divide the chemical production workshop into multiple detection areas;
[0053] The wind direction monitoring module is used to obtain the wind direction of the detection area after each detection cycle;
[0054] The control module is used to determine the set of wireless sensor nodes in working state in the next detection cycle according to the wind direction of the detection area after the previous detection cycle ends, and send control information to the wireless sensor nodes in the set;
[0055] Wireless sensor nodes are placed around the edge of the detection area;
[0056] The wireless sensor node is used to control its own state in the next detection cycle according to the control information after receiving the control information;
[0057] The wireless sensor node is also used to obtain the concentration of dangerous gases in the air when in working state and send the concentration to the gas detection module;
[0058] The gas detection module is used to determine whether an alarm needs to be issued based on the concentration of dangerous gases. If so, an alarm will be issued to relevant personnel.
[0059] In the present invention, a dangerous gas concentration measurement sensor is provided on the wireless sensor node, which can measure the concentration of the dangerous gas.
[0060] Dangerous gases include irritating gases, asphyxiating gases, etc.
[0061] Since the wireless sensor nodes of the present invention are set along the edge of the detection area, there is no need to set a large number of wireless sensor nodes inside the detection area, thereby reducing the number of hazardous gas sensors overall.
[0062] Since the energy of wireless sensor nodes is limited, if wireless sensor nodes are turned on all day, it will obviously cause the power consumption of wireless sensor nodes to be too fast, so that they will quickly quit working, resulting in the need to frequently maintain the wireless sensor nodes. Therefore, the present invention sets a wind direction detection module, and determines which wireless sensor nodes will be in working state in the next detection cycle based on the wind direction obtained by the wind direction detection module, so as to avoid all wireless sensor nodes from working in the next detection cycle, thereby reducing the overall power consumption speed of the wireless sensor nodes.
[0063] Specifically, the detection period may be half a day, a day, etc.
[0064] Optionally, the area division module is further used to determine whether the detection area needs to be reacquired in the following manner:
[0065] Periodically calculate the update coefficient of each detection area;
[0066] If there is a detection area whose update coefficient is greater than the set update coefficient threshold, it means that the detection area needs to be re-acquired.
[0067] Since new equipment may be introduced into a chemical production workshop due to the update of the production line, and the newly added equipment may affect the wind direction in different areas of the chemical production workshop, the present invention introduces an update coefficient to calculate the probability of the impact. The larger the update coefficient, the greater the probability of the impact, and thus the greater the need to re-acquire the detection area in order to maintain the consistency of the wind direction in the detection area, thereby ensuring the realization of reducing the overall power consumption rate of the wireless sensor nodes.
[0068] Optionally, the update coefficients for each detection area are calculated periodically, including:
[0069] Periodically acquire a ground image containing all devices in the detection area;
[0070] Compare the ground image obtained in the current cycle with the ground image obtained in the previous cycle to obtain the newly added equipment in the detection area;
[0071] Get the height and floor space of the newly added equipment;
[0072] Calculate the update factor based on the height and floor space of the newly added equipment:
[0073]
[0074] updcef represents the update coefficient, α and β represent the set height weight and area weight respectively, heidev represents the set of newly added devices whose height is greater than the set height threshold, height i Indicates the height of device i, sumheight indicates the sum of the heights of all devices in the previous cycle, aredev indicates the set of newly added devices whose area is greater than the set area threshold, and area j represents the floor space of device j, and sumarea represents the sum of the floor spaces of all devices in the previous cycle.
[0075] In the present invention, the update coefficient is calculated based on the height and the floor area, and in the calculation process, the present invention only considers the equipment with a height greater than the set height threshold and the equipment with a floor area greater than the set area threshold, so that the influence of the newly added equipment on the wind direction of the detection area can be accurately determined while saving calculation time. Because if the floor area of the newly added equipment is too small or the height is too low, the influence on the wind direction is obviously relatively small.
[0076] Optionally, the height weight and area weight are 0.4 and 0.6 respectively.
[0077] Optionally, obtain a ground image that includes all devices in the detection area, including:
[0078] For the detection area B, the corresponding ground image acquisition process is as follows:
[0079] Using a camera installed on the top of a chemical production workshop to photograph B, an image of the equipment including B is obtained;
[0080] All images containing devices in B are stitched together to obtain a ground image containing all devices in B.
[0081] In the present invention, a plurality of cameras may be arranged on the top of the chemical production workshop to facilitate photographing different areas of the chemical production workshop.
[0082] In addition, a drone may be used to photograph B to obtain an image of the device including B.
[0083] Optionally, all images containing devices in B are stitched together to obtain a ground image containing all devices in B, including:
[0084] Filter each image of the device containing B to obtain a filtered image;
[0085] The filtered images are stitched together to obtain a ground image containing all the devices in B.
[0086] Since the height of the chemical production workshop is limited, the image containing the equipment B cannot include all the equipment. The present invention obtains multiple images and then splices the images to obtain a ground image containing all the equipment, thereby solving this problem.
[0087] Filtering the image can reduce the noise in the image and improve the image quality, making the calculation results of the newly added equipment more accurate.
[0088] Optionally, filtering the image of the device including B to obtain a filtered image includes:
[0089] Use the Otsu algorithm to calculate the image containing the device B to obtain the segmentation threshold;
[0090] Get a grayscale image of the image of the device containing B;
[0091] In the grayscale image, a preset first filtering algorithm is used to filter the pixels whose grayscale values are less than the segmentation threshold to obtain the first type of filtered pixels; a preset second filtering algorithm is used to filter the pixels whose grayscale values are greater than the segmentation threshold to obtain the second type of filtered pixels; the operation speed of the first filtering algorithm is faster than that of the second filtering algorithm;
[0092] For pixel points with grayscale values and segmentation thresholds, the preset first filtering algorithm and the second filtering algorithm are used to filter them at the same time, and the filtering results of the two filtering algorithms are weighted to obtain the third type of filtered pixel points;
[0093] The filtered image is composed of the first type of filtered pixel points, the second type of filtered pixel points and the third type of filtered pixel points.
[0094] In an image, not all areas are useful. For the new device detection of the present invention, only the area where the device is located is the effective area. Therefore, the present invention preliminarily classifies the effective area and the ineffective area through the segmentation threshold, so that when the grayscale of the pixel point is relatively small, the first filtering algorithm with slightly worse filtering performance but faster filtering speed can be used for filtering, and when the grayscale of the pixel point is relatively large, the first filtering algorithm with better filtering performance but slower filtering speed can be used for filtering.
[0095] Therefore, during filtering, the present invention does not use the same algorithm to filter all pixels, but selects different filtering algorithms for different types of pixels based on the relationship between the gray value and the segmentation threshold, thereby shortening the filtering time while ensuring the overall filtering accuracy.
[0096] In addition, in order to avoid sudden changes in grayscale values after filtering, the present invention uses two filtering results to filter the pixel points whose grayscale values are equal to the segmentation threshold, and then weights the filtering results, so that the change of grayscale values in the filtered image can be more continuous and the image quality can be better.
[0097] Optionally, for a pixel point q whose gray value is equal to the segmentation threshold, the result obtained by filtering q using a preset first filtering algorithm is expressed as firgray q , the result obtained by filtering q using the preset second filtering algorithm is expressed as sedgray q , then firgray q and sedgray q The weighted formula is:
[0098]
[0099] filgray q Indicates the gray value of q obtained after weighting, numsml q Indicates the number of pixels whose grayscale value is less than the segmentation threshold in the 8-neighborhood of q; numbg q Represents the number of pixels in the 8-neighborhood of q whose grayscale value is greater than the segmentation threshold.
[0100] In the weighting process, the weight value is based on numsml q and numbg q Calculated, numsml q The larger the value of is, the more pixels with smaller grayscale values are in the 8-neighborhood of q, and the greater the probability that the area where q is located belongs to the invalid area. Therefore, the present invention is firgray q A larger weight is generated, and vice versa, a smaller weight is generated, so that the gray value change between the pixels on both sides of the gray value equal to the segmentation threshold is smoother.
[0101] Optionally, the chemical production workshop is divided into multiple detection areas, including:
[0102] Divide the chemical production workshop into multiple rectangular areas with an area of S;
[0103] Get the wind direction of each rectangular area respectively;
[0104] The rectangular areas are merged based on the wind direction to obtain the detection area.
[0105] If the chemical production workshop is originally a rectangular area, then it can be directly partitioned. The size of S is positively correlated with the size of the chemical production workshop.
[0106] Merging rectangular areas based on wind direction can reduce the number of wireless sensor nodes that need to be set up, thereby reducing the pressure of operation and maintenance.
[0107] Optional, S is 50 square meters.
[0108] Optional, such as Figure 2 As shown, the chemical production workshop is divided into several rectangular areas with an area of S, including:
[0109] Get the minimum enclosing rectangle of the chemical production workshop;
[0110] Divide the minimum circumscribed rectangle into multiple rectangular regions with an area of S on average;
[0111] Delete the rectangular area that does not include the chemical production workshop in the obtained rectangular area.
[0112] The above calculation process can obtain the rectangular area when the chemical production workshop is not rectangular.
[0113] Optionally, obtain the wind direction of each rectangular area separately, including:
[0114] The wind direction is obtained multiple times at the center of the rectangular area to obtain a wind direction set;
[0115] Divide the angle range of wind direction into N angle intervals evenly;
[0116] Get the number of wind directions corresponding to each angle interval of the wind direction set;
[0117] The middle value of the angle interval corresponding to the maximum value of the number of wind directions is taken as the wind direction of the rectangular area.
[0118] In the present invention, the value of N may be 9. The angular range of the wind direction is 360°.
[0119] In the present invention, the wind directions are not required to be exactly the same, but only need to be roughly the same, because the volume of the gas may increase during the propagation of the ship, and may cover a larger range of the detection area.
[0120] When N is 9, the 9 angle intervals are [0,40), [40,80), [80,120), [120,160), [160,200), [200,240), [240,280), [280,320), (320,360).
[0121] Optionally, the rectangular areas are merged based on the wind direction to obtain a detection area, including:
[0122] S1, store all rectangular areas into set U rgi ;
[0123] S2, respectively for U rgi Each rectangular area in is merged and calculated to obtain multiple detection areas.
[0124] After merging, the number of final detection areas can be reduced.
[0125] Optional, respectively for U rgi Each rectangular area in is combined and calculated to obtain multiple detection areas, including:
[0126] S21, from U rgi Randomly select a rectangular area as the merging object;
[0127] S22, all the rectangular areas adjacent to the merged object whose wind direction is the same as that of the merged object and belongs to U rgi Any rectangular area is stored in the area set, and the rectangular area stored in the rectangle set in this step is represented by A;
[0128] S23, storing the merged object into the region set;
[0129] S24, remove all rectangular regions in the region set from U rgi Delete from;
[0130] S25, determining whether there is a rectangular area with the same wind direction as A among all the rectangular areas adjacent to A, if so, taking A as a new merging object and proceeding to S22; if not, proceeding to S26;
[0131] S26, all rectangular regions in the region set form a detection region;
[0132] S27, reset the region set to an empty set;
[0133] S28, judge U rgi Is the number of rectangular areas in greater than 1? If so, enter S21; if not, end the merging calculation.
[0134] The above process is constantly from U rgi The rectangular area is taken out from U to acquire the detection area, and the present invention removes the rectangular area that has been identified as a part of the detection area from U in S24. rgi The deletion is performed in order to avoid the overlapping of detection areas, thereby avoiding the wireless sensor nodes being set up in the same area.
[0135] Optionally, wireless sensor nodes are placed around the edge of the detection area, including:
[0136] The wireless sensor nodes are placed along the edge of the detection area, and the distance between two adjacent wireless sensor nodes is the same.
[0137] Optionally, the distance between two adjacent wireless sensor nodes is 1 meter.
[0138] Optionally, the wind direction detection module is arranged in the center of the detection area.
[0139] Optionally, after the previous detection cycle ends, the set of wireless sensor nodes in working state in the next detection cycle is determined according to the wind direction of the detection area, including:
[0140] θ represents the angle corresponding to the wind direction in the detection area, and the detection angle range is [θ-γ,θ+γ], where γ represents the preset angle;
[0141] With the center of the detection area as the center of the circle, two rays are drawn along the angles θ-γ and θ+γ respectively, and the wireless sensor nodes in the detection area that are within the fan-shaped area less than 180° formed by the two rays and the center of the circle are saved to the next detection cycle, which is a set of wireless sensor nodes in working state.
[0142] Since the leaked gas will pass through the edge of the detection area after its volume increases, the present invention determines the detection range of the wireless sensor node by intercepting the fan-shaped area, so as to determine the corresponding set of wireless sensor nodes that should be in working state.
[0143] The preset angle may be 20°.
[0144] Optionally, the control information includes a start time and an end time of a next detection cycle and a set of IDs of wireless sensor nodes in a working state in the next detection cycle.
[0145] Optionally, controlling the state of the device in the next detection cycle according to the control information includes:
[0146] If the set of IDs of wireless sensor nodes in working state contains the ID of the wireless sensor node, the wireless sensor node is in working state in the next detection cycle, otherwise, the wireless sensor node enters dormant state in the next detection cycle, and re-enters working state after the next detection cycle ends.
[0147] Specifically, by switching the state, the power consumption rate of the wireless sensor node can be saved.
[0148] Optionally, send the concentration to a gas detection module, including:
[0149] The concentration is sent to the gas detection module by wireless communication.
[0150] Optionally, judging whether an alarm needs to be issued based on the concentration of dangerous gases, including:
[0151] If the concentration of dangerous gases is greater than the set concentration threshold, an alarm prompt is required.
[0152] Compared with the prior art, the present invention divides the chemical production area into multiple detection areas by zoning the chemical production area, and then places wireless sensor nodes along the edges of the detection areas, so that the set of wireless sensor nodes in working state can be adjusted according to the wind direction of the detection area, which can extend the working life of the wireless sensor nodes and perform timely detection when dangerous gas leaks.
[0153] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0154] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0155] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0156] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope parameters of the technical solutions of the embodiments of the present invention.
Claims
1. An industrial Internet system for chemical production, characterized in that: It includes a region division module, a wind direction monitoring module, a control module, multiple wireless sensor nodes and a gas detection module; The area division module is used to divide the chemical production workshop into multiple detection areas; The wind direction monitoring module is used to obtain the wind direction of the detection area after each detection cycle; The control module is used to determine the set of wireless sensor nodes in working state in the next detection cycle according to the wind direction of the detection area after the previous detection cycle ends, and send control information to the wireless sensor nodes in the set; Wireless sensor nodes are placed around the edge of the detection area; The wireless sensor node is used to control its own state in the next detection cycle according to the control information after receiving the control information; The wireless sensor node is also used to obtain the concentration of dangerous gases in the air when in working state and send the concentration to the gas detection module; The gas detection module is used to determine whether an alarm needs to be issued based on the concentration of dangerous gases. If so, an alarm is issued to relevant personnel; The chemical production workshop is divided into several testing areas, including: Divide the chemical production workshop into multiple rectangular areas with an area of S; Get the wind direction of each rectangular area respectively; The rectangular areas are merged based on the wind direction to obtain the detection area; The rectangular areas are merged based on the wind direction to obtain the detection area, including: S1, store all rectangular areas into set U rgi ; S2, respectively for U rgi Each rectangular area in is combined and calculated to obtain multiple detection areas; U rgi Each rectangular area in is combined and calculated to obtain multiple detection areas, including: S21, from U rgi Randomly select a rectangular area as the merging object; S22, all the rectangular areas adjacent to the merged object whose wind direction is the same as that of the merged object and belongs to U rgi Any rectangular area is stored in the area set, and the rectangular area stored in the rectangle set in this step is represented by A; S23, storing the merged object into the region set; S24, remove all rectangular regions in the region set from U rgi Delete from; S25, determining whether there is a rectangular area with the same wind direction as A among all the rectangular areas adjacent to A, if so, taking A as a new merging object and proceeding to S22; if not, proceeding to S26; S26, all rectangular regions in the region set form a detection region; S27, reset the region set to an empty set; S28, judge U rgi Is the number of rectangular areas in greater than 1? If so, enter S21; if not, end the merging calculation.
2. The industrial Internet system for chemical production according to claim 1, characterized in that: The chemical production workshop is divided into several rectangular areas with an area of S, including: Get the minimum enclosing rectangle of the chemical production workshop; Divide the minimum circumscribed rectangle into multiple rectangular regions with an area of S on average; Delete the rectangular area that does not include the chemical production workshop in the obtained rectangular area.
3. The industrial Internet system for chemical production according to claim 1, characterized in that: Get the wind direction of each rectangular area separately, including: The wind direction is obtained multiple times at the center of the rectangular area to obtain a wind direction set; Divide the angle range of wind direction into N angle intervals evenly; Get the number of wind directions corresponding to each angle interval of the wind direction set; The middle value of the angle interval corresponding to the maximum value of the number of wind directions is taken as the wind direction of the rectangular area.
4. The industrial Internet system for chemical production according to claim 1, characterized in that: Wireless sensor nodes are placed around the edge of the detection area, including: The wireless sensor nodes are placed along the edge of the detection area, and the distance between two adjacent wireless sensor nodes is the same.
5. The industrial Internet system for chemical production according to claim 1, characterized in that: The wind direction detection module is arranged in the center of the detection area.
6. The industrial Internet system for chemical production according to claim 1, characterized in that: After the previous detection cycle ends, the set of wireless sensor nodes in working state in the next detection cycle is determined according to the wind direction of the detection area, including: θ represents the angle corresponding to the wind direction in the detection area, and the detection angle range is [θ-γ,θ+γ], where γ represents the preset angle; With the center of the detection area as the center of the circle, two rays are drawn along the angles θ-γ and θ+γ respectively, and the wireless sensor nodes in the detection area that are within the fan-shaped area less than 180° formed by the two rays and the center of the circle are saved to the next detection cycle, which is a set of wireless sensor nodes in working state.
7. The industrial Internet system for chemical production according to claim 1, characterized in that: The control information includes the start time and end time of the next detection cycle and a set of IDs of the wireless sensor nodes in working state in the next detection cycle.
Citation Information
Patent Citations
Synergic positioning system and method for wireless sensor network diffusion gas source base on mobile agent
CN101350828A
Meshing-based poison gas diffusion simulating method
CN103793591A
Gas monitoring method
CN104101686A
Intelligent factory hazardous gas monitoring system
CN112218261A
Remote monitoring method and system for chemical hazardous gas
CN116539231A
