A fire protection equipment control method and system based on AI fire analysis
Through the AI-based fire analysis method, a multi-level model is constructed to analyze the fire situation and output fire-fighting equipment operation instructions, which solves the problem of missed and false alarms in traditional fire-fighting equipment control methods and achieves more accurate fire analysis and automated control. , reducing losses.
Patent Information
- Application Number
- CN202411061739.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-05
AI Technical Summary
Traditional fire protection equipment control methods are prone to missed alarms, false alarms, and late alarms, resulting in property losses and casualties.
Using the AI-based fire analysis method, the fire monitoring video stream is obtained through the front-end imager and the real-time data is obtained from the sensor, the fire monitoring grid model and the threshold model are constructed, and the SSD algorithm and VGG neural network are used to generate the convolution layer to extract the fire The situation feature map is constructed and a feature pyramid structure model is constructed to output fire equipment operation instructions.
Minimize false alarms and late alarms, make fire analysis results more accurate, realize artificial intelligence automatic control of firefighting equipment, and reduce loss of life and property.
Smart Images

Figure CN118557930B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of intelligent safety control of fire-fighting equipment, and specifically relates to a fire-fighting equipment control method and system based on AI fire situation analysis. Background Art
[0002] Traditional fire-fighting equipment control methods mostly rely on smoke or flames to trigger simple smoke sensors or temperature sensors to alarm, and when a fire occurs, they often cannot give a reasonable response plan in time, which is prone to missed reports, false reports, and late reports, causing property losses and even casualties. Summary of the invention
[0003] The present invention solves the problem that the traditional fire equipment control method is prone to missed reports, false reports and late reports through a fire analysis-based fire equipment control method and system, and realizes multi-level model analysis of fire conditions and artificial intelligence automatic control of fire equipment. The specific technical solution is as follows:
[0004] A fire fighting equipment control method based on AI fire situation analysis, the implementation of the fire fighting equipment control method comprises the following steps:
[0005] S1: Obtain fire monitoring video stream through the front-end imager, and obtain real-time fire monitoring data through the front-end sensor, wherein the real-time fire monitoring data includes smoke concentration data and temperature data;
[0006] S2: Preset a standard set of fire monitoring images and a standard set of fire monitoring data and construct a fire monitoring grid model and a fire monitoring threshold model. The fire monitoring grid model is constructed based on fire monitoring characteristic values. According to the fire monitoring characteristic values, a fire monitoring convolution layer is generated through the SSD algorithm and the VGG neural network. The fire monitoring convolution layer consists of five layers of fire monitoring convolution layers. The fire monitoring convolution layer extracts a fire monitoring feature map according to the fire monitoring characteristic values and constructs a feature pyramid structure model. The fire monitoring threshold model includes a fire monitoring smoke concentration difference threshold model and a fire monitoring temperature difference threshold model. S3: Each frame of the fire monitoring image in the fire monitoring video stream is passed through the fire monitoring grid model to obtain a fire monitoring image state label. The fire monitoring image state label includes a fire monitoring image normal state label and a fire monitoring image abnormal state label.
[0007] S4: Obtaining a fire monitoring abnormal value through a fire monitoring threshold model according to the real-time fire monitoring data;
[0008] S5: Outputting a fire-fighting equipment operation instruction according to the fire monitoring image status label and the fire monitoring abnormal value.
[0009] Preferably, the step S2 specifically includes:
[0010] S201: constructing a fire monitoring grid model through machine training according to the fire monitoring image standard set;
[0011] S202: Constructing a fire monitoring threshold model according to the fire monitoring data standard set.
[0012] Preferably, the step S201 specifically includes:
[0013] S201-1: The fire monitoring image standard set is a picture set of historical fire monitoring images, including a fire monitoring image training set and a fire monitoring image test set;
[0014] S201-2: obtaining the fire monitoring feature value through feature recognition according to the fire monitoring image standard set, and adding four additional layers of network to generate the fire monitoring convolution layer after merging the last two fully connected layers of the VGG neural network through the SSD algorithm according to the fire monitoring feature value, wherein the fire monitoring convolution layer is composed of five layers of fire monitoring convolution layers;
[0015] S201-3: extracting a fire monitoring feature map from the fire monitoring convolution layer according to the fire monitoring feature value;
[0016] S201-4: constructing a feature pyramid structure model according to the fire monitoring feature graph;
[0017] S201-5: extracting a multi-layer fire monitoring feature map of the historical fire monitoring image through the feature pyramid structure model, and generating a multi-layer fire monitoring feature bounding box at each pixel point of the multi-layer fire monitoring feature map, wherein the multi-layer fire monitoring feature bounding box includes a multi-layer fire monitoring feature prior box and a multi-layer fire monitoring feature true box;
[0018] S201-6: Preset the multi-layer fire monitoring feature priori frame position corresponding to the pixel point of the multi-layer fire monitoring feature map in the multi-layer fire monitoring feature map, and detect the multi-layer fire monitoring feature priori frame position to obtain the multi-layer fire monitoring feature priori frame position prediction value;
[0019] S201-7: Converting the multi-layer fire monitoring feature prior frame position prediction value and the multi-layer fire monitoring feature prior frame position into a multi-layer fire monitoring real frame position;
[0020] S201-8: performing intersection-and-joint calculation on the multi-layer fire monitoring feature boundary box and the multi-layer fire monitoring feature real box position to obtain a priori box target detection of the fire monitoring image;
[0021] S201-9: Reading the pixels of the multi-layer fire monitoring feature map according to the size and resolution of the multi-layer fire monitoring feature map, and copying the pixels of the multi-layer fire monitoring feature map one by one to obtain multi-layer fire pixel data;
[0022] The initial fire monitoring grid model is established by using the multi-layer fire pixel data and the multi-layer fire pixel RGB to obtain the grid area of the fire occurrence area. The formula is:
[0023] ,
[0024] Wherein, S is the grid area of the fire occurrence area, M is a preset two-dimensional matrix, TT is a scattered point diagram of the number of pixels with flames in the multi-layer fire pixel points, and (i, j) is the RGB value of the pixel point;
[0025] S201-10: Train the initial fire monitoring grid model using the fire monitoring image training set, and test the trained fire monitoring grid model using the fire monitoring image test set to obtain a fire monitoring grid model.
[0026] Preferably, the step S201-7 specifically includes:
[0027] The multi-layer fire monitoring feature prior frame position prediction value and the multi-layer fire monitoring feature prior frame position are converted into a multi-layer fire monitoring real frame position, and the conversion position formula is:
[0028] ,
[0029] ,
[0030] ,
[0031] ,
[0032] ,
[0033] ,
[0034] ,
[0035] Among them, A is the real frame position of the multi-layer fire monitoring feature, B is the prior frame position of the multi-layer fire monitoring feature, L is the predicted value of the prior frame position of the multi-layer fire monitoring feature, xy is the first center coordinate of the multi-layer fire monitoring feature boundary frame position, xz is the second center coordinate of the multi-layer fire monitoring feature boundary frame position, w is the length of the multi-layer fire monitoring feature boundary frame, and f is the width of the multi-layer fire monitoring feature boundary frame.
[0036] Preferably, the step S201-8 specifically includes:
[0037] The intersection-and-union ratio of the multi-layer fire monitoring feature prior frame and the multi-layer fire monitoring feature real frame position is calculated to obtain the fire monitoring image prior frame target detection, and the confidence lower than the set threshold is omitted, and the confidence higher than the set threshold is screened by non-maximum suppression. The intersection-and-union ratio calculation formula is:
[0038] ,
[0039] in, is the prior frame target detection of the fire monitoring image, IoU is the intersection over union ratio, A is the real frame position of the multi-layer fire monitoring feature, B is the prior frame position of the multi-layer fire monitoring feature, is the Euclidean distance between the multi-layer fire monitoring feature real frame and the multi-layer fire monitoring feature prior frame, c is the diagonal length of the minimum bounding box between the multi-layer fire monitoring feature real frame and the multi-layer fire monitoring feature prior frame, A f is the width of the real frame of the multi-layer fire monitoring feature, A w is the length of the multi-layer fire monitoring feature true frame, z is the inverse tangent difference between the multi-layer fire monitoring feature true frame and the multi-layer fire monitoring feature prior frame, w is the length of the multi-layer fire monitoring feature bounding box, and f is the width of the multi-layer fire monitoring feature bounding box.
[0040] Preferably, the step S202 specifically includes:
[0041] S202-1: The fire monitoring data standard set includes a smoke density data set and a temperature data set;
[0042] S202-2: Calculate the smoke concentration threshold value using the smoke concentration data set to obtain a fire monitoring smoke concentration difference threshold model. The smoke concentration threshold calculation formula is:
[0043] ,
[0044] Sc represents the smoke concentration difference of fire monitoring, ST2 represents the initial smoke concentration value of fire monitoring, ST1 represents the smoke concentration value at a preset time interval, and Sa represents the normal threshold value of smoke concentration;
[0045] S202-3: Calculate the temperature difference threshold model for fire monitoring by using the temperature data set through the temperature threshold. The temperature threshold calculation formula is:
[0046] ,
[0047] Tc represents the fire monitoring temperature difference, T1 represents the fire monitoring initial temperature value, T2 represents the fire monitoring preset interval temperature value, K1 represents the initial fire spread area, K2 represents the fire spread area at the preset interval, T0 represents the normal temperature, which is 25℃, and K represents the safety area, which is 100m 2 .
[0048] Preferably, the step S3 specifically includes:
[0049] Pass each frame of the fire monitoring image in the fire monitoring video stream through the fire monitoring grid model to obtain a fire monitoring image state label, wherein the fire monitoring image state label includes a fire monitoring image normal state label and a fire monitoring image abnormal state label;
[0050] When the grid area of the fire occurrence area is greater than or equal to the grid area threshold, the abnormal state label of the fire monitoring image is obtained;
[0051] When the grid area of the fire occurrence region is smaller than the grid area threshold, the normal state label of the fire monitoring image is obtained.
[0052] Preferably, the step S4 specifically includes:
[0053] When the fire monitoring smoke concentration difference is greater than or equal to 1, the fire monitoring smoke concentration difference is determined to be an abnormal fire monitoring smoke concentration difference;
[0054] When the fire monitoring temperature difference is greater than or equal to 1, it is determined that the fire monitoring temperature difference is an abnormal fire monitoring temperature difference.
[0055] Preferably, the step S5 specifically includes:
[0056] The fire condition assessment coefficient is calculated based on the fire condition monitoring image status label and the fire condition monitoring abnormal value to construct a fire equipment instruction output model. The fire condition assessment coefficient calculation formula is:
[0057] ,
[0058] Where Ks is the fire assessment coefficient, a1 is the grid area ratio coefficient of the fire occurrence area, a2 is the smoke concentration difference ratio coefficient of the fire monitoring, a3 is the abnormal temperature difference ratio coefficient of the fire monitoring, Tc represents the fire monitoring temperature difference, Sc represents the fire monitoring smoke concentration difference, and S is the grid area of the fire occurrence area;
[0059] When an abnormal state of the fire monitoring image or an abnormal smoke concentration difference or an abnormal temperature difference of the fire monitoring occurs, the fire equipment instruction output model outputs a fire assessment coefficient Ks. When the fire assessment coefficient Ks is greater than the fire equipment instruction output threshold, the fire equipment operation instruction is output. The fire equipment operation instruction includes a fire smoke exhaust fan operation instruction and a fire water pump operation instruction.
[0060] A fire equipment control system based on artificial intelligence fire analysis, used to execute any of the fire equipment control methods based on AI fire analysis described above, comprising: a data acquisition module, a model training module, a fire analysis module, and a command output module;
[0061] The data acquisition module includes a front-end imager and a front-end sensor, which are used to collect fire monitoring video streams and real-time fire monitoring data, wherein the real-time fire monitoring data includes smoke concentration data and temperature data;
[0062] The model training module is used to construct a fire monitoring grid model and a fire monitoring threshold model, wherein the fire monitoring threshold model includes a fire monitoring smoke concentration difference threshold model and a fire monitoring temperature difference threshold model;
[0063] The fire analysis module is used to obtain a fire monitoring image status label by passing each frame of the fire monitoring image in the fire monitoring video stream through a fire monitoring grid model, wherein the fire monitoring image status label includes a fire monitoring image normal status label and a fire monitoring image abnormal status label, and obtain a fire monitoring abnormal value through a fire monitoring threshold model according to the real-time fire monitoring data;
[0064] The instruction output module is used to output fire-fighting equipment operation instructions according to the fire monitoring image status label and the fire monitoring abnormal value.
[0065] The beneficial effects of the present invention are:
[0066] The fire monitoring video stream is obtained through the front-end imager, and the real-time fire monitoring data is obtained through the front-end sensor. When a fire occurs, multi-level model analysis is triggered at the same time, and the corresponding fire-fighting equipment operation instructions are output according to the multi-level model analysis results, so as to avoid missed reports, false reports and late reports to the greatest extent. The fire analysis results are more accurate, and artificial intelligence can automatically control fire-fighting equipment to minimize the loss of life and property;
[0067] (2) Fire analysis is performed on each frame of fire monitoring images in the fire monitoring video stream. The images are clearer and the analysis results of the fire monitoring grid model based on the fire monitoring images are more accurate.
[0068] (3) According to the fire monitoring feature value, the last two fully connected layers of the VGG neural network are merged through the SSD algorithm, and an additional four-layer network is added to generate the fire monitoring convolution layer. The multi-layer fire monitoring convolution layer makes the generation of the multi-layer fire monitoring feature real frame faster and more accurate;
[0069] (4) Calculate the intersection and union ratio of the multi-layer fire monitoring feature bounding box and the multi-layer fire monitoring feature real box position to improve the reliability of the fire monitoring image prior box target detection;
[0070] (5) Establish a fire monitoring grid model through multi-layer fire pixel data and multi-layer fire pixel RGB to improve flame recognition efficiency;
[0071] (6) By training and testing the fire monitoring grid model with a standard set of fire monitoring images, the fire analysis results are more accurate and can quickly identify the occurrence of fires;
[0072] (7) The fire situation is comprehensively analyzed through the fire monitoring grid model and the fire monitoring threshold model to ensure the comprehensiveness of the fire situation analysis results. At the same time, the fire equipment control instructions are output through the fire equipment instructions, which improves the efficiency of the fire equipment startup response. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0074] Figure 1 The present invention is a flowchart of the steps of a fire protection equipment control method based on AI fire situation analysis. DETAILED DESCRIPTION
[0075] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0076] See also Figure 1 , a fire protection equipment control method based on AI fire situation analysis, comprising:
[0077] S1: Obtain fire monitoring video stream through the front-end imager, and obtain real-time fire monitoring data through the front-end sensor, wherein the real-time fire monitoring data includes smoke concentration data and temperature data;
[0078] S2: presetting a fire monitoring image standard set and a fire monitoring data standard set and constructing a fire monitoring grid model and a fire monitoring threshold model, wherein the fire monitoring threshold model includes a fire monitoring smoke concentration difference threshold model and a fire monitoring temperature difference threshold model;
[0079] S3: each frame of the fire monitoring image in the fire monitoring video stream is passed through the fire monitoring grid model to obtain a fire monitoring image state label, wherein the fire monitoring image state label includes a fire monitoring image normal state label and a fire monitoring image abnormal state label;
[0080] When the grid area of the fire occurrence area is greater than or equal to the grid area threshold, the abnormal state label of the fire monitoring image is obtained; when the grid area of the fire occurrence area is less than the grid area threshold, the normal state label of the fire monitoring image is obtained;
[0081] S4: Obtaining a fire monitoring abnormal value through a fire monitoring threshold model according to the real-time fire monitoring data;
[0082] When the fire monitoring smoke concentration difference is greater than or equal to 1, the fire monitoring smoke concentration difference is determined to be an abnormal fire monitoring smoke concentration difference; when the fire monitoring temperature difference is greater than or equal to 1, the fire monitoring smoke concentration difference is determined to be an abnormal fire monitoring temperature difference;
[0083] S5: outputting a fire-fighting equipment operation instruction according to the fire monitoring image status label and the fire monitoring abnormal value;
[0084] The fire condition assessment coefficient is calculated based on the fire condition monitoring image status label and the fire condition monitoring abnormal value to construct a fire equipment instruction output model. The fire condition assessment coefficient calculation formula is:
[0085] ,
[0086] Where Ks is the fire assessment coefficient, a1 is the grid area ratio coefficient of the fire occurrence area, a2 is the smoke concentration difference ratio coefficient of the fire monitoring, a3 is the abnormal temperature difference ratio coefficient of the fire monitoring, Tc represents the fire monitoring temperature difference, Sc represents the fire monitoring smoke concentration difference, and S is the grid area of the fire occurrence area;
[0087] When an abnormal state of the fire monitoring image or an abnormal smoke concentration difference or an abnormal temperature difference of the fire monitoring occurs, the fire equipment instruction output model outputs a fire assessment coefficient Ks. When the fire assessment coefficient Ks is greater than the fire equipment instruction output threshold, the fire equipment operation instruction is output. The fire equipment operation instruction includes a fire smoke exhaust fan operation instruction and a fire water pump operation instruction.
[0088] In step S1, the fire monitoring video stream is obtained through the front-end imager, and the real-time fire monitoring data is obtained through the front-end sensor to comprehensively judge the fire situation, avoid missed reports, false reports and late reports to the greatest extent, and give a reasonable response plan in time when a fire occurs.
[0089] In this embodiment, by presetting a fire monitoring image standard set and a fire monitoring data standard set and constructing a fire monitoring grid model and a fire monitoring threshold model, the fire monitoring threshold model includes a fire monitoring smoke concentration difference threshold model and a fire monitoring temperature difference threshold model, so as to achieve a comprehensive analysis of the fire situation and improve the efficiency of the fire fighting equipment startup response. This can be achieved by the following steps:
[0090] S201: constructing a fire monitoring grid model through machine training according to the fire monitoring image standard set;
[0091] S202: Constructing a fire monitoring threshold model according to the fire monitoring data standard set.
[0092] In this embodiment, a fire monitoring grid model is constructed through machine training according to the fire monitoring image standard set, which is specifically achieved through the following steps:
[0093] S201-1: The fire monitoring image standard set is a picture set of historical fire monitoring images, including a fire monitoring image training set and a fire monitoring image test set;
[0094] S201-2: according to the fire monitoring feature value, after merging the last two fully connected layers of the VGG neural network through the SSD algorithm, an additional four-layer network is added to generate a fire monitoring convolution layer, and the multi-layer fire monitoring convolution layer makes the generation of the multi-layer fire monitoring feature real frame faster and more accurate. The fire monitoring convolution layer includes a first fire monitoring convolution layer, a second fire monitoring convolution layer, a third fire monitoring convolution layer, a fourth fire monitoring convolution layer, and a fifth fire monitoring convolution layer;
[0095] S201-3: extracting a fire monitoring feature map from the fire monitoring convolution layer according to the fire monitoring feature value;
[0096] S201-4: constructing a feature pyramid structure model according to the fire monitoring feature graph;
[0097] S201-5: extracting a multi-layer fire monitoring feature map of the historical fire monitoring image through the feature pyramid structure model, and generating a multi-layer fire monitoring feature bounding box at each pixel point of the multi-layer fire monitoring feature map, wherein the multi-layer fire monitoring feature bounding box includes a multi-layer fire monitoring feature prior box and a multi-layer fire monitoring feature true box;
[0098] S201-6: Preset the multi-layer fire monitoring feature priori frame position corresponding to the pixel point of the multi-layer fire monitoring feature map in the multi-layer fire monitoring feature map, and detect the multi-layer fire monitoring feature priori frame position to obtain the multi-layer fire monitoring feature priori frame position prediction value;
[0099] S201-7: Converting the multi-layer fire monitoring feature prior frame position prediction value and the multi-layer fire monitoring feature prior frame position into a multi-layer fire monitoring real frame position;
[0100] The conversion position formula of the multi-layer fire monitoring real frame position is:
[0101] ,
[0102] ,
[0103] ,
[0104] ,
[0105] ,
[0106] ,
[0107] ,
[0108] Wherein, A is the real frame position of the multi-layer fire monitoring feature, B is the prior frame position of the multi-layer fire monitoring feature, L is the predicted value of the prior frame position of the multi-layer fire monitoring feature, xy is the first center coordinate of the multi-layer fire monitoring feature bounding box position, xz is the second center coordinate of the multi-layer fire monitoring feature bounding box position, w is the length of the multi-layer fire monitoring feature bounding box, and f is the width of the multi-layer fire monitoring feature bounding box;
[0109] S201-8: performing intersection-and-joint calculation on the multi-layer fire monitoring feature boundary box and the multi-layer fire monitoring feature real box position to obtain a priori box target detection of the fire monitoring image, thereby improving the reliability of the priori box target detection of the fire monitoring image;
[0110] The fire monitoring image prior frame target detection includes performing an intersection-and-union ratio calculation on the multi-layer fire monitoring feature prior frame and the multi-layer fire monitoring feature real frame position to obtain the fire monitoring image prior frame target detection, ignoring those with a confidence lower than a set threshold, and using non-maximum suppression screening for those with a confidence higher than the set threshold. The intersection-and-union ratio calculation formula is:
[0111] ,
[0112] in, is the prior frame target detection of the fire monitoring image, IoU is the intersection over union ratio, A is the real frame position of the multi-layer fire monitoring feature, B is the prior frame position of the multi-layer fire monitoring feature, is the Euclidean distance between the multi-layer fire monitoring feature real frame and the multi-layer fire monitoring feature prior frame, c is the diagonal length of the minimum bounding box between the multi-layer fire monitoring feature real frame and the multi-layer fire monitoring feature prior frame, A f is the width of the real frame of the multi-layer fire monitoring feature, A w is the length of the multi-layer fire monitoring feature real frame, z is the inverse tangent difference between the multi-layer fire monitoring feature real frame and the multi-layer fire monitoring feature prior frame, w is the length of the multi-layer fire monitoring feature bounding box, and f is the width of the multi-layer fire monitoring feature bounding box;
[0113] S201-9: Reading the pixels of the multi-layer fire monitoring feature map according to the size and resolution of the multi-layer fire monitoring feature map, and copying the pixels of the multi-layer fire monitoring feature map one by one to obtain multi-layer fire pixel data;
[0114] The initial fire monitoring grid model is established by using the multi-layer fire pixel data and the multi-layer fire pixel RGB to obtain the grid area of the fire occurrence area, thereby improving the flame recognition efficiency, making the fire analysis result more accurate, and being able to quickly identify the occurrence of a fire. The calculation formula for the grid area of the fire occurrence area is:
[0115] ,
[0116] Wherein, S is the grid area of the fire occurrence area, M is a preset two-dimensional matrix, TT is a scattered point diagram of the number of pixels with flames in the multi-layer fire pixel points, and (i, j) is the RGB value of the pixel point;
[0117] S201-10: training the initial fire monitoring grid model by using the fire monitoring image training set, and testing the trained fire monitoring grid model by using the fire monitoring image test set to obtain a fire monitoring grid model;
[0118] The training of the initial fire monitoring grid model includes obtaining, through a fire monitoring image training set, the number TP1 of fires correctly monitored by the initial fire monitoring grid model, the number FP1 of fires incorrectly monitored by the initial fire monitoring grid model, and the number FN1 of fires not monitored by the initial fire monitoring grid model, calculating the precision P1=TP1 / (TP1+FP1) of the initial fire monitoring grid model, the recall R1=TP1 / (TP1+FN1) of the initial fire monitoring grid model, and the comprehensive evaluation index F1=2PR1 / (P1+R1) of the initial fire monitoring grid model, and obtaining a trained fire monitoring network model;
[0119] The fire monitoring grid model is obtained by testing the trained fire monitoring grid model with the fire monitoring image test set, including obtaining the number TP2 of fires correctly monitored by the trained fire monitoring grid model, the number FP2 of fires incorrectly monitored by the trained fire monitoring grid model, and the number FN2 of fires not monitored by the trained fire monitoring grid model, calculating the precision P2=TP2 / (TP2+FP2) of the trained fire monitoring grid model, the recall R2=TP2 / (TP2+FN2) of the trained fire monitoring grid model, and the comprehensive evaluation index F2=2PR2 / (P2+R2) of the trained fire monitoring grid model, to obtain a fire monitoring network model.
[0120] In this embodiment, a fire monitoring threshold model is constructed according to the fire monitoring data standard set, which is specifically implemented by the following steps:
[0121] S202-1: The fire monitoring data standard set includes a smoke density data set and a temperature data set;
[0122] S202-2: Calculate the smoke concentration threshold value using the smoke concentration data set to obtain a fire monitoring smoke concentration difference threshold model. The smoke concentration threshold calculation formula is:
[0123] ,
[0124] Sc represents the smoke concentration difference for fire monitoring, in %, ST2 represents the initial smoke concentration value for fire monitoring, in %, ST1 represents the smoke concentration value at the preset time interval, in %, and Sa represents the normal threshold value for smoke concentration, in %;
[0125] S202-3: Calculate the temperature difference threshold model for fire monitoring by using the temperature data set through the temperature threshold. The temperature threshold calculation formula is:
[0126] ,
[0127] Tc represents the fire monitoring temperature difference, T1 represents the fire monitoring initial temperature value, the unit is ℃, T2 represents the temperature value of the fire monitoring preset interval, the unit is ℃, K1 represents the initial fire spread area, the unit is m 2 , K2 represents the fire spread area at the preset interval, in m 2 , T0 is room temperature, take 25℃, K is safety area, take 100m 2 .
[0128] In step S3, each frame of the fire monitoring image in the fire monitoring video stream is passed through the fire monitoring grid model to obtain a fire monitoring image state label, the image is clearer, and the analysis result of the fire monitoring grid model based on the fire monitoring image is more accurate.
[0129] A fire protection equipment control system based on AI fire situation analysis includes a data acquisition module, a model training module, a fire situation analysis module, and a command output module;
[0130] The data acquisition module includes a front-end imager and a front-end sensor, which are used to collect fire monitoring video streams and real-time fire monitoring data, wherein the real-time fire monitoring data includes smoke concentration data and temperature data;
[0131] The model training module is used to construct a fire monitoring grid model and a fire monitoring threshold model, wherein the fire monitoring threshold model includes a fire monitoring smoke concentration difference threshold model and a fire monitoring temperature difference threshold model;
[0132] The fire analysis module is used to obtain a fire monitoring image status label by passing each frame of the fire monitoring image in the fire monitoring video stream through a fire monitoring grid model, wherein the fire monitoring image status label includes a fire monitoring image normal status label and a fire monitoring image abnormal status label, and obtain a fire monitoring abnormal value through a fire monitoring threshold model according to the real-time fire monitoring data;
[0133] The instruction output module is used to output fire-fighting equipment operation instructions according to the fire monitoring image status label and the fire monitoring abnormal value.
[0134] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technical personnel in this field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. A fire protection equipment control method based on AI fire situation analysis, characterized in that: The implementation of the fire-fighting equipment control method comprises the following steps: S1: Obtain fire monitoring video stream through the front-end imager, and obtain real-time fire monitoring data through the front-end sensor, wherein the real-time fire monitoring data includes smoke concentration data and temperature data; S2: Preset a standard set of fire monitoring images and a standard set of fire monitoring data and construct a fire monitoring grid model and a fire monitoring threshold model, wherein the fire monitoring grid model is constructed based on fire monitoring characteristic values, and a fire monitoring convolution layer is generated according to the fire monitoring characteristic values through the SSD algorithm and the VGG neural network, wherein the fire monitoring convolution layer is composed of five layers of fire monitoring convolution layers, and the fire monitoring convolution layer is used to extract a fire monitoring feature map according to the fire monitoring characteristic values and construct a feature pyramid structure model, and the fire monitoring threshold model includes a fire monitoring smoke concentration difference threshold model and a fire monitoring temperature difference threshold model; S201: constructing a fire monitoring grid model through machine training according to the fire monitoring image standard set; S201-1: The fire monitoring image standard set is a picture set of historical fire monitoring images, including a fire monitoring image training set and a fire monitoring image test set; S201-2: obtaining the fire monitoring feature value through feature recognition according to the fire monitoring image standard set, and adding four additional layers of network to generate the fire monitoring convolution layer after merging the last two fully connected layers of the VGG neural network through the SSD algorithm according to the fire monitoring feature value, wherein the fire monitoring convolution layer is composed of five layers of fire monitoring convolution layers; S201-3: extracting a fire monitoring feature map from the fire monitoring convolution layer according to the fire monitoring feature value; S201-4: constructing the feature pyramid structure model according to the fire monitoring feature graph; S201-5: extracting a multi-layer fire monitoring feature map of the historical fire monitoring image through the feature pyramid structure model, and generating a multi-layer fire monitoring feature bounding box at each pixel point of the multi-layer fire monitoring feature map, wherein the multi-layer fire monitoring feature bounding box includes a multi-layer fire monitoring feature prior box and a multi-layer fire monitoring feature true box; S201-6: Preset the multi-layer fire monitoring feature priori frame position corresponding to the pixel point of the multi-layer fire monitoring feature map in the multi-layer fire monitoring feature map, and detect the multi-layer fire monitoring feature priori frame position to obtain the multi-layer fire monitoring feature priori frame position prediction value; S201-7: Converting the multi-layer fire monitoring feature prior frame position prediction value and the multi-layer fire monitoring feature prior frame position into a multi-layer fire monitoring real frame position; S201-8: performing intersection-and-joint calculation on the multi-layer fire monitoring feature boundary box and the multi-layer fire monitoring feature real box position to obtain a priori box target detection of the fire monitoring image; S201-9: Reading the pixels of the multi-layer fire monitoring feature map according to the size and resolution of the multi-layer fire monitoring feature map, and copying the pixels of the multi-layer fire monitoring feature map one by one to obtain multi-layer fire pixel data; The initial fire monitoring grid model is established by using the multi-layer fire pixel data and the multi-layer fire pixel RGB to obtain the grid area of the fire occurrence area. The formula is: , Wherein, S is the grid area of the fire occurrence area, M is a preset two-dimensional matrix, TT is a scattered point diagram of the number of pixels with flames in the multi-layer fire pixel points, and (i, j) is the RGB value of the pixel point; S201-10: training the initial fire monitoring grid model by using the fire monitoring image training set, and testing the trained fire monitoring grid model by using the fire monitoring image test set to obtain a fire monitoring grid model; S202: constructing a fire monitoring threshold model according to the fire monitoring data standard set; S3: Pass each frame of the fire monitoring image in the fire monitoring video stream through the fire monitoring grid model to obtain a fire monitoring image state label, wherein the fire monitoring image state label includes a fire monitoring image normal state label and a fire monitoring image abnormal state label; S4: Obtaining a fire monitoring abnormal value through a fire monitoring threshold model according to the real-time fire monitoring data; S5: Outputting a fire-fighting equipment operation instruction according to the fire monitoring image status label and the fire monitoring abnormal value.
2. The fire fighting equipment control method based on AI fire situation analysis according to claim 1 is characterized in that: The step S201-7 specifically includes: The multi-layer fire monitoring feature prior frame position prediction value and the multi-layer fire monitoring feature prior frame position are converted into a multi-layer fire monitoring real frame position, and the conversion position formula is: , , , , , , , Among them, A is the real frame position of the multi-layer fire monitoring feature, B is the prior frame position of the multi-layer fire monitoring feature, L is the predicted value of the prior frame position of the multi-layer fire monitoring feature, xy is the first center coordinate of the multi-layer fire monitoring feature boundary frame position, xz is the second center coordinate of the multi-layer fire monitoring feature boundary frame position, w is the length of the multi-layer fire monitoring feature boundary frame, and f is the width of the multi-layer fire monitoring feature boundary frame.
3. The fire fighting equipment control method based on AI fire situation analysis according to claim 1 is characterized in that: The step S201-8 specifically includes: The intersection-and-union ratio of the multi-layer fire monitoring feature prior frame and the multi-layer fire monitoring feature real frame position is calculated to obtain the fire monitoring image prior frame target detection, and the confidence lower than the set threshold is omitted, and the confidence higher than the set threshold is screened by non-maximum suppression. The intersection-and-union ratio calculation formula is: , in, is the prior frame target detection of the fire monitoring image, IoU is the intersection over union ratio, A is the real frame position of the multi-layer fire monitoring feature, B is the prior frame position of the multi-layer fire monitoring feature, is the Euclidean distance between the multi-layer fire monitoring feature real frame and the multi-layer fire monitoring feature prior frame, c is the diagonal length of the minimum bounding box between the multi-layer fire monitoring feature real frame and the multi-layer fire monitoring feature prior frame, A f is the width of the real frame of the multi-layer fire monitoring feature, A w is the length of the multi-layer fire monitoring feature true frame, z is the inverse tangent difference between the multi-layer fire monitoring feature true frame and the multi-layer fire monitoring feature prior frame, w is the length of the multi-layer fire monitoring feature bounding box, and f is the width of the multi-layer fire monitoring feature bounding box.
4. The fire fighting equipment control method based on AI fire situation analysis according to claim 1 is characterized in that: The step S202 specifically includes: S202-1: The fire monitoring data standard set includes a smoke density data set and a temperature data set; S202-2: Calculate the smoke concentration threshold value using the smoke concentration data set to obtain a fire monitoring smoke concentration difference threshold model. The smoke concentration threshold calculation formula is: , Sc represents the smoke concentration difference of fire monitoring, ST2 represents the initial smoke concentration value of fire monitoring, ST1 represents the smoke concentration value at a preset time interval, and Sa represents the normal threshold value of smoke concentration; S202-3: Calculate the temperature difference threshold model for fire monitoring by using the temperature data set through the temperature threshold. The temperature threshold calculation formula is: , Tc represents the fire monitoring temperature difference, T1 represents the fire monitoring initial temperature value, T2 represents the fire monitoring preset interval temperature value, K1 represents the initial fire spread area, K2 represents the fire spread area at the preset interval, T0 represents the normal temperature, which is 25℃, and K represents the safety area, which is 100m 2 .
5. The fire fighting equipment control method based on AI fire situation analysis according to claim 1 is characterized in that: The step S3 specifically includes: Pass each frame of the fire monitoring image in the fire monitoring video stream through the fire monitoring grid model to obtain a fire monitoring image state label, wherein the fire monitoring image state label includes a fire monitoring image normal state label and a fire monitoring image abnormal state label; When the grid area of the fire occurrence area is greater than or equal to the grid area threshold, the abnormal state label of the fire monitoring image is obtained; When the grid area of the fire occurrence region is smaller than the grid area threshold, the normal state label of the fire monitoring image is obtained.
6. The fire fighting equipment control method based on AI fire situation analysis according to claim 4 is characterized in that: The step S4 specifically includes: When the fire monitoring smoke concentration difference is greater than or equal to 1, the fire monitoring smoke concentration difference is determined to be an abnormal fire monitoring smoke concentration difference; When the fire monitoring temperature difference is greater than or equal to 1, it is determined that the fire monitoring temperature difference is an abnormal fire monitoring temperature difference.
7. The fire fighting equipment control method based on AI fire situation analysis according to claim 6 is characterized in that: The step S5 specifically includes: The fire condition assessment coefficient is calculated based on the fire condition monitoring image status label and the fire condition monitoring abnormal value to construct a fire equipment instruction output model. The fire condition assessment coefficient calculation formula is: , Where Ks is the fire assessment coefficient, a1 is the grid area ratio coefficient of the fire occurrence area, a2 is the smoke concentration difference ratio coefficient of the fire monitoring, a3 is the abnormal temperature difference ratio coefficient of the fire monitoring, Tc represents the fire monitoring temperature difference, Sc represents the fire monitoring smoke concentration difference, and S is the grid area of the fire occurrence area; When an abnormal state of the fire monitoring image or an abnormal smoke concentration difference or an abnormal temperature difference of the fire monitoring occurs, the fire equipment instruction output model outputs a fire assessment coefficient Ks. When the fire assessment coefficient Ks is greater than the fire equipment instruction output threshold, the fire equipment operation instruction is output. The fire equipment operation instruction includes a fire smoke exhaust fan operation instruction and a fire water pump operation instruction.
8. A fire equipment control system based on artificial intelligence fire analysis, used to execute the fire equipment control method based on AI fire analysis as described in any one of claims 1 to 7, characterized in that: include: Data acquisition module, model training module, fire situation analysis module, command output module; The data acquisition module includes a front-end imager and a front-end sensor, which are used to collect fire monitoring video streams and real-time fire monitoring data, wherein the real-time fire monitoring data includes smoke concentration data and temperature data; The model training module is used to construct a fire monitoring grid model and a fire monitoring threshold model, wherein the fire monitoring threshold model includes a fire monitoring smoke concentration difference threshold model and a fire monitoring temperature difference threshold model; The fire analysis module is used to obtain a fire monitoring image status label by passing each frame of the fire monitoring image in the fire monitoring video stream through a fire monitoring grid model, wherein the fire monitoring image status label includes a fire monitoring image normal status label and a fire monitoring image abnormal status label, and obtain a fire monitoring abnormal value through a fire monitoring threshold model according to the real-time fire monitoring data; The instruction output module is used to output fire-fighting equipment operation instructions according to the fire monitoring image status label and the fire monitoring abnormal value.
Citation Information
Patent Citations
Fire behavior identification and positioning system and method based on deep learning
CN112801148A
Ship fire monitoring system
CN118015779A
Fire water supply control method and device, computer equipment and storage medium
CN118320357A
Cited By
Intelligent fire-fighting initial fire identification method and system based on AI vision
CN122365335A
