Fire optimal escape route planning method and system based on multi-modal fusion algorithm
Through deep learning target detection and multi-modal trajectory prediction algorithms combined with D* dynamic path planning, the optimal escape route for thermal power plants is generated, which solves the accuracy and cost problems of fire escape route planning in thermal power plants and improves the automation of thermal power plants. and intelligent management level, reducing fire losses.
Patent Information
- Application Number
- CN202410681509.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-03
AI Technical Summary
Existing technologies in fire escape route planning in thermal power plants have problems such as the inability to accurately determine the fire spread trend and fire location, sensors that are prone to hardware failures, and high cost and difficulty in operation and maintenance.
Using a deep learning-based target detection algorithm and multi-modal trajectory prediction method, infrared binocular cameras are used to detect flammable materials and fire temperatures, combined with the D* dynamic path planning algorithm, to generate the optimal escape route and notify personnel through a voice broadcast system .
It achieves accurate prediction of fire trends, reduces the risk of blindly choosing escape routes, reduces hardware costs and operation and maintenance difficulties, improves the automation and intelligent management level of thermal power plants, and reduces losses caused by fires.
Smart Images

Figure CN118586567A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of fire safety, and in particular relates to a method and system for planning an optimal fire escape route based on a multimodal fusion algorithm. Background Art
[0002] In the power generation process of thermal power plants, the causes of fire accidents caused by the coal transportation system mainly involve the occurrence of fire, system composition, equipment heating, and coal dust generation. The safety hazards brought by fire are also increasing, and the number of casualties and property losses is shocking. The main causes of fires in thermal power plants are:
[0003] (1) As a highly electrified place, modern power plants have a large number of electrical equipment and are highly complex. Therefore, if the equipment is not maintained in time or is damaged due to other factors, it will cause a fire. In addition, if the electrical equipment is overloaded or too old, it will cause the equipment temperature to be too high, which will also create a fire hazard.
[0004] (2) Improper human operation is one of the causes of fires in thermal power plants. The production process of power plants requires the participation of a large number of personnel. If these personnel operate improperly, it will pose a serious threat to the safety of the power plant. For example, the chemicals used in power plants require professional personnel to operate. If the operators have not received strict professional training, accidents are likely to occur. In addition, during the operation process, operators also need to pay attention to the rules for the use of electrical equipment and cannot disassemble the equipment at will or overuse the equipment.
[0005] (3) Inadequate fire-fighting facilities are also one of the causes of fires in thermal power plants. As an important production site, a power plant must have complete fire-fighting facilities to ensure that fires can be extinguished in a timely manner and protect the lives and property of personnel. If the fire-fighting facilities are incomplete or not maintained in a timely manner, it will cause greater losses to the accident.
[0006] Most current technologies use escape route libraries, temperature sensors, smoke sensors, personnel positioning, and other methods to select the optimal escape route. This method has certain shortcomings. First, it is impossible to determine the trend of fire spread and the exact location of the fire. Second, temperature and smoke sensors may cause hardware failures after long-term use. Once a fire occurs, they may not work, resulting in an inability to make timely escape route judgments. Third, this method requires a large number of sensors, even covering the entire indoor area of the power plant, which is relatively costly and difficult to operate and maintain. Summary of the invention
[0007] In order to solve the deficiencies in the prior art, the present invention provides a method for planning the optimal escape route for fires based on a multimodal fusion algorithm. We mainly use a deep learning target detection method to detect flammable materials, combustibles, open flames, smoke and fire temperature in the infrared binocular camera images at multiple points, and then predict the possible trend of the fire based on the detected targets combined with a multimodal trajectory prediction method. Relying on the escape route plan prepared in advance and the personnel location information given by personnel positioning, and the smoke situation at the scene, the optimal escape route is dynamically calculated through the D* algorithm, and the relevant personnel are informed of the timely escape by using the on-site voice broadcast and the relevant person in charge to immediately and safely organize rescue and evacuation of personnel.
[0008] The present invention adopts the following technical solution.
[0009] The present invention provides a method for planning an optimal fire escape route based on a multimodal fusion algorithm, comprising:
[0010] Step 1: Collect the video of the indoor infrared binocular camera of the thermal power plant, decompose the video by focusing on the frame extraction, decode the video frame by frame using ffmpeg technology, extract the video frame, extract the image V containing flammables, combustibles, open flames, and smoke, then perform data enhancement on the image V, perform image annotation, and divide the annotated data set into a training set V_train, a test set V_test, and a validation set V_val;
[0011] Step 2: Perform target detection training on the V_train training set, and perform parameter optimization and accuracy optimization. Finally, the optimal model V_Model is obtained through V_test and V_val verification.
[0012] Step 3: Obtain the occurrence of the fire and its location relative to the camera through target detection. The fire is regarded as an agent f. The trajectory of the agent f is defined as a sequence of two-dimensional real-world or pixel coordinates: in is the observation trajectory time point, is the real value at the current time, f is the index of the scene agent, Both contain 2D indices, which are pixel positions of objects in the image;
[0013] Step 4: Use observation information As input, optimize the multimodal trajectory prediction model P TP To predict J future trajectories
[0014]
[0015] Among them is The adjacent observed trajectories of agent f, S is the scene information, and the distribution of all acceptable future trajectories and the distribution of low-temperature areas are obtained through the multimodal trajectory prediction model;
[0016] Step 5: Get all the predicted trajectories of fire occurrence through step 4, and then combine all the escape route plans in the indoor area of the thermal power plant with the personnel location information in the personnel positioning system, according to D * The dynamic path planning algorithm uses the walking speed and time location information of the escapees to plan an optimal safe escape route inside the thermal power plant;
[0017] Step 6: temporarily direct the safe escape route generated in step 5 through the on-site voice broadcast system.
[0018] Preferably, in step 1, the data enhancement operations include image rotation, image stitching and noise addition.
[0019] Preferably, in step 1, the labeling categories for image labeling include fuel, combustibles, open flames and smoke.
[0020] Preferably, the frequency of extracting the video frames in step 1 is once every five frames.
[0021] Preferably, the method of parameter optimization and precision optimization includes: adjusting the learning rate; selecting different optimizers, including stochastic gradient descent, Newton's method, momentum method and Adam algorithm; supplementing data and preprocessing the data, including rotating, cropping, and increasing illumination.
[0022] Preferably, the scene information in step 4 includes camera observed temperature data, indoor scene map, distribution map of combustibles and flammables, and smoke distribution map.
[0023] Preferably, the optimization method for the multimodal trajectory prediction model in step 4 includes: filter technology, trajectory smoothing algorithm, multi-model fusion, prediction based on historical information, outlier detection and processing, model tuning, adding feature information and reinforcement learning method.
[0024] The present invention also provides a fire optimal escape route planning system based on a multimodal fusion algorithm, the system is a system used by the aforementioned fire optimal escape route optimization method based on a multimodal fusion algorithm, comprising:
[0025] Information acquisition module, used to collect videos from infrared binocular cameras;
[0026] The analysis module is used to plan the escape route according to the walking speed and time position information of the escapees.
[0027] The present invention also provides a terminal, including a processor and a storage medium; the characteristics are:
[0028] The storage medium is used to store instructions;
[0029] The processor is configured to operate according to the instructions to execute the steps according to the aforementioned method.
[0030] The present invention also provides a computer-readable storage medium on which a computer program is stored, characterized in that the program implements the steps of the above method when executed by a processor.
[0031] The beneficial effect of the present invention is that, compared with the prior art, the present invention uses a target detection algorithm based on deep learning and a multimodal trajectory prediction algorithm, which can accurately predict the trend of the fire, reduce the blind selection of escape routes by personnel due to the continuous expansion of the fire and the unknown fire occurrence trajectory, and has stronger predictability. This method only needs to use multiple point cameras on site to obtain the optimal escape route and the lowest temperature area, avoiding the need to install a large number of sensors on site, and even covering the entire indoor area of the power plant, which reduces the difficulty of operation and maintenance and hardware costs to a certain extent. Thereby strengthening the fire prevention of thermal power plants, improving the automation, intelligence, and refinement of power plants, and reducing the serious losses caused to power plants by fire. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a flow chart of the optimal fire escape route planning method based on the multimodal fusion algorithm in the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0034] Embodiment 1 of the present invention provides a method for planning an optimal fire escape route based on a multimodal fusion algorithm, comprising:
[0035] Step 1: Collect videos from all infrared binocular cameras in the thermal power plant, decompose the videos by extracting key frames, decode the videos frame by frame using ffmpeg technology, extract the video frames according to the strategy of extracting every 5 frames, and extract the images V containing flammables, combustibles, open flames, smoke and other targets. Then perform data enhancement on the image V, such as image rotation, splicing, adding noise and other operations, and perform image annotation. The annotation categories are flammables, combustibles, open flames, and smoke, and the annotated data set is divided into a training set V_train, a test set V_test, and a validation set V_val.
[0036] Step 2: Perform target detection training on the V_train training set, and perform parameter optimization and accuracy optimization. Finally, the optimal model V_Model is obtained through V_test and V_val verification.
[0037] The method for parameter optimization and precision optimization includes:
[0038] 1. Adjust the learning rate.
[0039] 2. Choose different optimizers, such as stochastic gradient descent, Newton method, momentum method, Adam algorithm, etc.
[0040] 3. Supplement data and pre-process the data, including rotation, cropping, increasing illumination, etc.
[0041] Step 3: Through the above target detection, we can obtain the occurrence of the fire and its location relative to the camera. Here, the fire is regarded as an agent f, and the trajectory of the agent f is defined as a sequence of two-dimensional real world or pixel coordinates: in is the observation trajectory time point, is the true value at the current time, and f is the index of the scene agent. Both contain 2D indices, which are the pixel positions of the objects in the image.
[0042] Step 4: Use observation information As input, optimize the multimodal trajectory prediction model P TP To predict J future trajectories
[0043]
[0044] Among them is The adjacent observation trajectory of agent f, S is the scene information, such as camera observation temperature data, indoor scene map, distribution map of combustibles and flammables, smoke distribution map, etc. When J = 1, each agent is only allowed to make one prediction, and the task is to determine the trajectory prediction and Compared with the expected prediction error, the prediction error is the smallest. Finally, the distribution of all acceptable future trajectories and the distribution of low-temperature areas are obtained through the multimodal trajectory prediction model.
[0045] The optimization method for the multimodal trajectory prediction model includes:
[0046] 1. Filter technology: Using filters can smooth the trajectory prediction results and reduce the impact of sudden jumps or noise on the results. Common filters include moving average, exponential smoothing, Kalman filtering, etc. These methods can stabilize the prediction results to a certain extent, but may also cause delays in the prediction results.
[0047] 2. Trajectory smoothing algorithms: Some specially designed trajectory smoothing algorithms can reduce sudden changes while maintaining trajectory trends. These algorithms can take into account the historical information of the trajectory and smooth the trajectory points to reduce instability.
[0048] 3. Multi-model fusion: By fusing multiple different trajectory prediction models, the stability and accuracy of the prediction can be improved. Each model may perform better in different situations, and fusing their prediction results through methods such as weighted averaging or voting can reduce the instability of a single model.
[0049] 4. Prediction based on historical information: Consider using more historical information for prediction to capture the long-term trend of the trajectory. This can be achieved by introducing more time windows, thereby reducing the impact of instability at a single time point on the prediction.
[0050] 5. Outlier detection and processing: In the predicted results, if outliers appear, you can consider using outlier detection methods to identify and process these abnormal points. This can include outlier detection techniques based on statistical methods or machine learning methods.
[0051] 6. Model tuning: Optimize the parameters and architecture of the trajectory prediction model to improve its robustness to instability. Use techniques such as cross-validation to select the best model parameters.
[0052] 7. Add feature information: Consider introducing more feature information related to the trajectory, such as traffic flow, road topology, driving constraints, etc. This additional information can help the model better capture the changes in the trajectory.
[0053] 8. Reinforcement learning methods: Some reinforcement learning methods can adaptively adjust the prediction strategy to cope with instability. These methods can update the strategy based on the feedback of the prediction results, thereby gradually improving stability and accuracy.
[0054] Step 5: All predicted trajectories of the fire are obtained through step 4, and then combined with all escape route plans in the indoor area of the thermal power plant and known information such as the personnel location information in the personnel positioning system, according to the D* dynamic path planning algorithm, using the escape personnel's walking speed and time location information, an optimal thermal power plant indoor safe escape route is planned.
[0055] Step 6: temporarily direct the safe escape route generated in step 5 through the on-site voice broadcast system to help on-site personnel quickly escape from the fire scene, and immediately notify the relevant person in charge to organize rescue and fire-fighting work to reduce the serious losses caused by the fire on the scene.
[0056] Embodiment 2 of the present invention provides a fire optimal escape route planning system based on a multimodal fusion algorithm. The system is a system used by the fire optimal escape route planning method based on a multimodal fusion algorithm described in the aforementioned embodiment 1, comprising:
[0057] Information acquisition module, used to collect videos from infrared binocular cameras;
[0058] The analysis module is used to plan the escape route according to the walking speed and time position information of the escapees.
[0059] The beneficial effect of the present invention is that, compared with the prior art, the present invention uses a target detection algorithm based on deep learning and a multimodal trajectory prediction algorithm, which can accurately predict the trend of the fire, reduce the blind selection of escape routes by personnel due to the continuous expansion of the fire and the unknown fire occurrence trajectory, and has stronger predictability. This method only needs to use multiple point cameras on site to obtain the optimal escape route and the lowest temperature area, avoiding the need to install a large number of sensors on site, and even covering the entire indoor area of the power plant, which reduces the difficulty of operation and maintenance and hardware costs to a certain extent. Thereby strengthening the fire prevention of thermal power plants, improving the automation, intelligence, and refinement of power plants, and reducing the serious losses caused to power plants by fire.
[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for planning an optimal fire escape route based on a multimodal fusion algorithm, comprising: Step 1: Collect the video of the indoor infrared binocular camera of the thermal power plant, decompose the video by focusing on the frame extraction, decode the video frame by frame using ffmpeg technology, extract the video frame, extract the image V containing flammables, combustibles, open flames, and smoke, then perform data enhancement on the image V, perform image annotation, and divide the annotated data set into a training set V_train, a test set V_test, and a validation set V_val; Step 2: Perform target detection training on the V_train training set, and perform parameter optimization and accuracy optimization. Finally, the optimal model V_Model is obtained through V_test and V_val verification. Step 3, obtain the occurrence of fire and its location relative to the camera through target detection, and take the fire as the agent f. The trajectory of agent f is defined as a sequence of two-dimensional real world or pixel coordinates: in is the observation trajectory time point, is the real value at the current time, f is the index of the scene agent, Both contain 2D indices, which are pixel positions of objects in the image; Step 4: Use observation information As input, optimize the multimodal trajectory prediction model P TP To predict J future trajectories Among them is The adjacent observed trajectories of agent f, S is the scene information, and the distribution of all acceptable future trajectories and the distribution of low-temperature areas are obtained through the multimodal trajectory prediction model; Step 5: All predicted trajectories of fire occurrence are obtained through step 4, and then combined with all escape route plans in the indoor area of the thermal power plant and the personnel location information in the personnel positioning system, according to the D* dynamic path planning algorithm, using the walking speed and time location information of the escaped personnel, an optimal indoor safe escape route of the thermal power plant is planned; Step 6: temporarily direct the safe escape route generated in step 5 through the on-site voice broadcast system.
2. The method for planning the optimal fire escape route based on a multimodal fusion algorithm according to claim 1, characterized in that: In step 1, the data enhancement operations include image rotation, image stitching and adding noise.
3. The method for planning the optimal fire escape route based on a multimodal fusion algorithm according to claim 1, characterized in that: In step 1, the image annotation categories include burning objects, combustible materials, open flames and smoke.
4. The method for planning the optimal fire escape route based on a multimodal fusion algorithm according to claim 1, characterized in that: The frequency of extracting the video frames in step 1 is once every five frames.
5. The method for planning the optimal fire escape route based on a multimodal fusion algorithm according to claim 4, characterized in that: The method of parameter optimization and precision optimization includes: adjusting the learning rate; selecting different optimizers, including stochastic gradient descent, Newton's method, momentum method and Adam algorithm; supplementing data and preprocessing the data, including rotating, cropping, and increasing illumination.
6. The method for planning the optimal fire escape route based on a multimodal fusion algorithm according to claim 5, characterized in that: The scene information in step 4 includes camera observed temperature data, indoor scene map, distribution map of combustibles and flammables, and smoke distribution map.
7. The method for planning the optimal fire escape route based on a multimodal fusion algorithm according to claim 6, characterized in that: The optimization method for the multimodal trajectory prediction model in step 4 includes: filter technology, trajectory smoothing algorithm, multi-model fusion, prediction based on historical information, outlier detection and processing, model tuning, adding feature information and reinforcement learning method.
8. A fire optimal escape route planning system based on a multimodal fusion algorithm, the system being the system used by the fire optimal escape route optimization method based on a multimodal fusion algorithm as described in claims 1 to 7, comprising: Information acquisition module, used to collect videos from infrared binocular cameras; The analysis module is used to plan the escape route according to the walking speed and time position information of the escapees.
9. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Urban fire emergency plan deduction method and system based on AI digitization
CN118821058A
Power plant dynamic three-dimensional model construction system based on digitization
CN120807791A
