An intelligent safe electricity fire protection system
Through the intelligent and safe electric fire protection system, deep neural networks are used to analyze charging pile environmental data and video images, and automatically select and activate appropriate fire extinguishers. This solves the problems of slow response and inappropriate selection of fire extinguishers in the existing system, and achieves efficient and accurate fire extinguishers. Fire response and fire suppression effectiveness.
Patent Information
- Application Number
- CN202410534723.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-04-30
AI Technical Summary
The existing charging pile fire protection system has slow response time and high false alarm rate, and cannot respond dynamically based on real-time data. In addition, inappropriate selection of fire extinguishers may cause fire spread or damage to personnel and equipment. Existing technology cannot effectively combine fire scene data for Fire extinguisher selection.
Design an intelligent and safe electric fire protection system that monitors temperature, current and smoke concentration in real time through the charging pile information collection unit. It uses a CCD camera to capture video frames and uploads them to the cloud server. It combines video image processing and deep neural network analysis to generate a fire extinguisher. Type output, the microcontroller activates the corresponding fire extinguisher to extinguish the fire.
It achieves accurate identification of fire types and targeted fire extinguishing, improves fire response efficiency and safety, and ensures the accuracy of fire extinguisher selection and response speed.
Smart Images

Figure CN118217567B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence automation technology, and in particular to an intelligent safe electricity fire protection system. Background Art
[0002] With the rapid development of the electric vehicle industry, the safety management of charging infrastructure, especially charging piles, has become increasingly important. Due to the characteristics of high voltage and current, electric vehicle charging piles have a high risk of fire. Common fire causes include circuit failure, overload, equipment aging, etc. Once a fire occurs, it may not only cause significant property losses, but also endanger personal safety. At present, the charging pile fire protection systems on the market mostly rely on traditional fire detection technologies, such as smoke detectors and temperature sensors. Although these systems can provide fire alarms to a certain extent, they have the disadvantages of slow response time, high false alarm rate and inability to provide effective early warning. Especially in complex urban environments, once a false alarm occurs, it may cause unnecessary panic and waste of resources; In addition, considering the ubiquity of electrical equipment and the fire risks associated with it, it is particularly important to choose a suitable fire extinguisher. Due to the particularity of charging equipment, the wrong fire extinguishing method may not only lead to fire extinguishing failure, but also increase the risk of fire spread or cause additional damage to personnel and equipment. At the same time, most traditional systems lack intelligent analysis functions and cannot respond dynamically based on real-time data, which means that they cannot automatically adjust monitoring parameters according to environmental changes or take measures in advance to prevent fires. Therefore, a more efficient and intelligent solution is urgently needed to improve the safety and response speed of charging piles.
[0003] In recent years, with the development of artificial intelligence technology, especially the rapid development of deep learning and video image processing, artificial intelligence-based analysis methods have provided new ideas for solving the above problems. Using deep learning technology to process video data, specific image features related to fire, such as flames, smoke, and abnormal hot spots, can be identified. In this way, the system can identify potential fire sources in the early stages of fire formation, so as to take active prevention and control measures. At present, it is difficult to achieve efficient and accurate early warning and fire extinguishing requirements using a single image processing method or traditional data processing method. Therefore, it is necessary to combine multiple data processing methods and diversified data input to build a comprehensive intelligent fire protection system to automatically select fire extinguishers for fire extinguishing through early identification. It is also important to choose different types of fire extinguishers, because different types of fire require different fire extinguishing strategies to effectively control and extinguish the flames. In the environment of electric vehicle charging stations, various types of fires may occur, including electrical fires, liquid or grease fires, and solid combustion. Therefore, choosing the right fire extinguisher according to the specific type of fire and the environment in which it occurs is the key to ensure that fires can be responded to quickly and effectively, reducing casualties and property losses.
[0004] Although artificial intelligence has been successfully applied in many fields, the existing fire judgment process only considers the analysis of the original fire scene image, without combining the standard image without fire and the changes between video frames to observe the fire development situation and other information for comparative comprehensive judgment, resulting in inaccurate fire judgment; and the existing technology does not add data such as smoke concentration and temperature to the selection and judgment of the type of fire extinguisher, especially how to effectively combine the different fire scene data to select a reasonable fire extinguisher for automatic fire extinguishing. Therefore, a new solution is urgently needed to improve the timeliness and efficiency of automatic fire extinguishing, as well as the accuracy of fire extinguisher selection and judgment and reduce safety risks. Summary of the invention
[0005] In view of the above problems mentioned in the prior art, the present invention provides an intelligent safety electricity fire protection system, which includes a charging pile information collection unit, which monitors and obtains the temperature, current and smoke concentration data of the charging pile environment in real time; when it is detected that the temperature, current or smoke concentration exceeds the preset threshold, the CCD camera is controlled to capture the video frame within the continuous time period T and uploaded to the cloud service end; the video image processing module compares with the stored fire-free standard image and applies the inter-frame difference method to process the image to generate the first and second processed video frame images; the video frame image is input into the trained deep neural network DNN model, and the original video image, the first processed video frame image and the second processed video frame image are processed respectively, and the fire extinguisher type is output through feature splicing and full connection layer; the fire extinguisher selection module activates the corresponding type of fire extinguisher to perform fire extinguishing operation according to the output of the DNN model. The intelligent safety electricity fire protection system provided by the present invention can automatically select and enable the most suitable fire extinguisher according to the detected fire type through real-time monitoring and analysis of data, thereby realizing targeted and rapid fire extinguishing, greatly improving the efficiency and safety of responding to fires.
[0006] The present application provides an intelligent safe electricity fire protection system, comprising:
[0007] Charging pile information collection unit, which obtains data from the temperature sensor, current sensor, and smoke concentration sensor of the charging pile environment in real time;
[0008] Fire judgment module, if the real-time temperature t of the charging pile environment is greater than the set threshold, or the real-time current is greater than the set threshold, or the real-time smoke concentration s of the charging pile environment is greater than the set threshold, the single-chip microcomputer obtains the video frame image within the time period T in the CCD camera and uploads it to the cloud service end;
[0009] The video image processing module, the cloud server obtains a first processed video image by subtracting the acquired video frame image from the standard image of no fire at the current time point stored in the database, and obtains a second processed video image by processing the acquired video frame image using the frame difference method;
[0010] The data analysis module inputs the acquired video frame image, the first processed video image, and the second processed video image into the trained deep neural network DNN model for processing, and outputs the type of fire extinguisher used; wherein the trained deep neural network DNN model includes three independent convolutional network branches, each branch specifically processes a type of video frame image, namely, the original video frame image, the first processed video image, and the second processed video image; after each convolutional network branch performs a convolution operation, the extracted feature vector is passed to the fusion layer to form a fused feature vector through feature splicing; the fused feature vector is input into the fully connected layer for processing, and the type of fire extinguisher used is output;
[0011] Fire extinguisher selection module, the cloud server outputs the output results of the deep neural network DNN model to the MCU, and the MCU opens the corresponding fire extinguisher and extinguishes the fire according to the output fire extinguisher type.
[0012] Preferably, the output adopts a fire extinguisher type, wherein the fire extinguisher type includes a carbon dioxide fire extinguisher, a foam fire extinguisher, a dry powder fire extinguisher, a wet chemical fire extinguisher, and a water mist fire extinguisher.
[0013] Preferably, the single chip microcomputer obtains the video frame images within the time period T in the CCD camera and uploads them to the cloud server, and before uploading to the cloud server, a denoising process is performed using Gaussian filtering.
[0014] Preferably, the step of inputting the fused feature vector into a fully connected layer for processing and outputting the type of fire extinguisher used comprises: firstly inputting the fused feature vector into a first fully connected layer and performing nonlinear transformation using a Sigmoid activation function; inputting the feature vector processed by the first fully connected layer into a second fully connected layer and performing further nonlinear transformation using an improved AP-Tanh activation function; inputting the feature vector processed by the second fully connected layer into a third fully connected layer, and the third fully connected layer uses a softmax activation function to convert the feature vector into the type of fire extinguisher used.
[0015] Preferably, the trained deep neural network DNN model includes three independent convolutional network branches, each branch specifically processes a type of video frame image, namely, the original video frame image, the first processed video image and the second processed video image; the first convolutional network branch specifically processes the original video frame image, and extracts features including contrast, grayscale mean, RGB color channel mean, and entropy of the grayscale co-occurrence matrix through multiple layers of convolutional layers and pooling layers; the second convolutional network branch specifically processes the first processed video frame image, and extracts features including the area of the changed region, the standard deviation of the pixel value, and the entropy of the grayscale co-occurrence matrix through multiple layers of convolution and pooling operations; the third convolutional network branch specifically processes the second processed video frame image, and extracts features including motion flow density through multiple layers of convolution and pooling operations; the feature vectors obtained after processing by the three independent convolutional network branches are merged in the fusion layer through feature splicing.
[0016] Preferably, the third fully connected layer uses a softmax activation function to convert the feature vector into the type of fire extinguisher used, wherein the number of neurons in the third fully connected layer is 5, corresponding to carbon dioxide fire extinguisher, foam fire extinguisher, dry powder fire extinguisher, wet chemical fire extinguisher, and water mist fire extinguisher, respectively. The output of the second fully connected layer is sent to the softmax function to calculate the index of each type of fire extinguisher, and each index value is divided by the sum of all index values to obtain the probability of each type of fire extinguisher.
[0017] Preferably, the feature vector processed by the first fully connected layer is input to the second fully connected layer, and an improved AP-Tanh activation function is used for further nonlinear transformation. The improved AP-Tanh activation function f(x) is expressed as follows:
[0018]
[0019] Among them, e is the base of the natural logarithm, x is the feature vector processed by the first fully connected layer, t is the real-time temperature of the charging pile environment, s is the real-time smoke concentration of the charging pile environment, a0, a1, and a3 are the first empirical parameter, the second empirical parameter, and the third empirical parameter, respectively.
[0020] Preferably, the first convolutional network branch specifically processes the original video frame image, and extracts features including contrast, grayscale mean, RGB color channel mean, and entropy of the grayscale co-occurrence matrix through multiple layers of convolutional layers and pooling layers, wherein the grayscale mean is the average of the grayscale values of all pixels in the image, the contrast is the mean of the sum of the squares of the difference between the grayscale value of each pixel in the image and the average grayscale value of the image, the RGB color channel mean is the average of all pixel values of the red, green, and blue channels respectively, and the entropy of the grayscale co-occurrence matrix is the entropy value generated by the grayscale co-occurrence matrix based on pixel pairs.
[0021] Preferably, the second convolutional network branch specifically processes the first processed video frame image, and extracts features including the area of the changed region, the standard deviation of the pixel value, and the entropy of the grayscale co-occurrence matrix through multi-layer convolution and pooling operations, wherein the area of the changed region is the number of pixels whose pixel values are greater than a set threshold; the standard deviation of the pixel value is to first calculate the average pixel value of the image, then calculate the square of the difference between each pixel value and the average value and sum them, and finally, take the square root of the variance to obtain the standard deviation of the pixel value.
[0022] Preferably, the third convolutional network branch specifically processes the second processed video frame image, and extracts features including motion flow density through multi-layer convolution and pooling operations, including first applying the optical flow method to calculate the motion vector of each pixel between consecutive video frames, counting the total number of pixels whose motion vectors are greater than a set threshold and dividing it by the total number of pixels in the image, and obtaining the proportion of moving pixels as the motion flow density.
[0023] The present invention provides an intelligent safe electricity fire protection system, which can achieve the following beneficial technical effects:
[0024] 1. The present invention provides an intelligent safe electricity fire protection system, which determines whether the real-time charging pile ambient temperature, charging pile circuit current and smoke concentration are greater than a set threshold value. When the real-time charging pile ambient temperature, charging pile circuit current and smoke concentration are greater than the set threshold value, the single-chip microcomputer obtains the video frame image in the CCD camera within the time period T after the moment greater than the set threshold value, and uploads the image to the cloud service end; the cloud service end obtains the first processed video image by subtracting each acquired video frame image from the fire-free standard image at the current time point stored in the database, and processes the acquired video frame image using the inter-frame difference method to obtain the second processed video image; the data analysis module inputs the acquired video frame image, the first processed video image and the second processed video image into the trained deep neural network DNN model for processing, and outputs the type of fire extinguisher used. The present invention uses the trained deep neural network DNN model to process the original video image, the first processed video frame image and the second processed video frame image respectively, and outputs the type of fire extinguisher through feature splicing and full connection layer, which greatly improves the accuracy of fire identification and provides targeted fire extinguishers for fire extinguishing, which greatly improves the efficiency of fire extinguishing.
[0025] 2. The trained deep neural network DNN model of the present invention includes three independent convolutional network branches, each branch specializes in processing one type of video frame image, namely, the original video frame image, the first processed video image and the second processed video image; after each convolutional network branch performs a convolution operation, the extracted feature vector is passed to the fusion layer to form a fused feature vector through feature splicing; the fused feature vector is input to the fully connected layer for processing, and the type of fire extinguisher used is output. By considering the video image information in different situations, the features are enriched and the accuracy of fire extinguisher selection is greatly improved.
[0026] 3. The feature vector processed by the first fully connected layer of the present invention is input to the second fully connected layer, and the improved AP-Tanh activation function is used for further nonlinear transformation. The improved AP-Tanh activation function f(x) is expressed as follows:
[0027]
[0028] Among them, e is the base of the natural logarithm, x is the feature vector processed by the first fully connected layer, t is the real-time temperature of the charging pile environment, s is the real-time smoke concentration of the charging pile environment, a0, a1, and a3 are the first empirical parameter, the second empirical parameter, and the third empirical parameter respectively; the second fully connected layer of the present application greatly enhances the feature extraction fusion by adding factors such as the temperature of the charging pile environment and the smoke concentration of the charging pile environment to the activation function processing process, which provides strong support for the selection of fire extinguishers and improves the accuracy of fire extinguisher selection.
[0029] 4. This application first inputs the fused feature vector into the first fully connected layer, and uses the Sigmoid activation function for nonlinear transformation; the feature vector processed by the first fully connected layer is input into the second fully connected layer, and the improved AP-Tanh activation function is used for further nonlinear transformation; the feature vector processed by the second fully connected layer is input into the third fully connected layer, and the third fully connected layer uses the softmax activation function to convert the feature vector into the type of fire extinguisher used; the fully connected layer uses three different activation functions. In the intelligent safe electricity fire protection system, the fully connected layer uses three activation functions, namely Sigmoid, improved Adaptive Parametric Tanh (AP-Tanh) and Softmax; among them, the Sigmoid function is suitable for judging the existence of fire risk; AP-Tanh provides adjustable parameters, allowing the activation function to be dynamically adjusted according to input data such as temperature and smoke concentration, enhancing the adaptability of the model to input changes; the Softmax function converts the output of the network into a probability distribution, which is suitable for multi-classification tasks, such as selecting the appropriate type of fire extinguisher, optimizing the decision-making process of the system, and improving the accuracy and efficiency of the response. The combination of the three functions makes the system more efficient and accurate in multi-tasking and decision-making. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1It is a schematic diagram of an intelligent safe electricity fire protection system of the present invention;
[0032] Figure 2 It is a schematic diagram of the processing flow of an intelligent safe electricity fire protection system of the present invention. DETAILED DESCRIPTION
[0033] 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 of protection of the present invention.
[0034] Embodiment 1:
[0035] In view of the above problems mentioned in the prior art, as shown in the attached Figure 1 As shown: The present application provides an intelligent safe electricity fire protection system, wherein the charging pile information collection unit is composed of a temperature sensor, a current sensor and a smoke concentration sensor, which monitor the key parameters of the charging pile environment, such as temperature, current and smoke level, in real time. The sensor is connected to the central processing unit (single-chip microcomputer or microcontroller) through a wired or wireless network to send data periodically. A high-resolution CCD camera is used to capture video frame images of the charging station. When an abnormal situation is detected (such as sensor data exceeds a preset threshold), the camera captures real-time video. The camera is connected to a cloud server through a high-speed network interface (such as Ethernet or Wi-Fi) to upload video data in real time.
[0036] The cloud service includes a server cluster and storage devices for processing and analyzing data. The server executes video image processing algorithms, including image comparison and inter-frame difference analysis, and runs deep neural network models at the same time. The server receives data sent by the microcontroller and CCD camera through a secure Internet connection.
[0037] The deep neural network (DNN) model runs on a high-performance GPU server to process image data, identify fire signs, predict fire types and select appropriate fire extinguishers. The DNN model runs on the server as a software component to process image data from the cloud server. The fire extinguisher control unit includes an electronic trigger device that interfaces to various fire extinguishers (carbon dioxide, foam, dry powder, etc.). According to the output of the DNN model, the corresponding fire extinguisher is activated, which is connected to the microcontroller through an electronic control line and receives instructions from the cloud server.
[0038] In one embodiment, the intelligent safe electricity fire protection system is installed at an electric vehicle charging station located in a public parking lot. The temperature and current sensors in the system monitor the operating status of each charging pile in real time, and the smoke sensors detect possible signs of fire. The data of all sensors are transmitted in real time to a remote cloud server. When the reading of a sensor exceeds the safety threshold, the CCD camera starts to record the video of the charging pile and uploads the video stream to the cloud server in real time. The cloud server runs the video image processing module to identify the characteristics of flames and smoke, and analyzes the current fire situation through a deep learning model. The model determines the most appropriate fire extinguishing method and sends a command to the fire extinguisher control unit through the network to automatically trigger the corresponding type of fire extinguisher to extinguish the flame.
[0039] Charging pile information collection unit, which obtains data from the temperature sensor, current sensor, and smoke concentration sensor of the charging pile environment in real time;
[0040] Fire judgment module, if the real-time temperature t of the charging pile environment is greater than the set threshold, or the real-time current is greater than the set threshold, or the real-time smoke concentration s of the charging pile environment is greater than the set threshold, the single-chip microcomputer obtains the video frame image within the time period T in the CCD camera and uploads it to the cloud service end;
[0041] In some embodiments, the charging pile information collection unit is responsible for real-time acquisition and monitoring of key parameters of the charging pile environment, including temperature, current and smoke concentration. These data are the basis for preventing and responding to fires in a timely manner. Temperature sensors are installed at key locations near the charging piles to monitor the operating temperature of the equipment. Current sensors measure the current intensity during charging to monitor whether there is overload or abnormal current flow. Smoke concentration sensors detect smoke particles in the air, which is an important means of early detection of fires. These sensors are connected to a central control unit (such as a single-chip microcomputer) via a wired or wireless network to transmit the monitored data in real time. The fire judgment module analyzes the data obtained from the information collection unit to determine whether there is a fire risk. When the data detected by any sensor exceeds a preset safety threshold (temperature exceeds 60°C, current exceeds 120% of the maximum safe load, or smoke concentration increases rapidly), the module triggers an alarm. At the same time, the single-chip microcomputer instructs the CCD camera to capture and record continuous video frame images within the next set time period T (the next 30 seconds). These images are then uploaded to the cloud service for further analysis. In one embodiment, a charging pile begins to overheat due to an internal fault, and the temperature sensor quickly detects that the temperature has risen to 65°C, exceeding the set threshold of 60°C. After receiving this data, the system's fire judgment module immediately triggers an alarm and instructs the CCD camera through the single-chip microcomputer to start capturing real-time video of the charging pile. The video frames captured by the CCD camera show slight smoke escaping from the gaps between the charging pile components. These video frames are uploaded to the cloud service in real time, and the images are further analyzed through a deep neural network to confirm the signs of fire and determine the source of the smoke and the scale of the fire. The cloud analysis results indicate that the dry powder fire extinguisher needs to be activated immediately. Based on the analysis results, the system automatically activates the dry powder fire extinguisher installed near the charging pile, successfully controlling and ultimately extinguishing the initial fire, preventing possible large-scale fire accidents and potential casualties.
[0042] The video image processing module, the cloud service end performs a subtraction between the acquired video frame image and the fire-free standard image at the current time point stored in the database to obtain a first processed video image, and processes the acquired video frame image using the frame difference method to obtain a second processed video image; in some embodiments, the image subtraction method is used to compare the real-time captured video frame with the fire-free standard image at the same time point pre-stored in the database. Through this comparison, the system can identify changes caused by abnormalities (such as flames or smoke), select a reference image to extract the fire-free standard image at the same time point as the real-time video from the database, calculate the difference between the real-time video frame and the reference image, and achieve this by comparing the difference between the two images pixel by pixel. The first processed video image difference image is generated to highlight all areas that are different from the standard image, which indicate abnormalities. The frame difference method is used to analyze the changes between two or more consecutive frames to facilitate the detection of dynamic changes, such as moving flames or smoke. Two or more consecutive frames are extracted from the video, and the pixel value differences between the consecutive frames are compared to generate the second processed video image. Dynamically changing objects, spreading smoke or flames can be identified through the frame difference image. In some embodiments, due to circuit problems, a charging pile begins to overheat and gradually generates sparks. The system's temperature sensor and smoke sensor quickly trigger an alarm. The single-chip microcomputer instructs the CCD camera to capture real-time video of the charging pile. The real-time video frames captured by the CCD camera are subtracted from the no-fire image at the same time point in the cloud server database. The subtraction results show obvious bright spots and color differences around the charging pile, indicating the possible appearance of flames. The system then performs inter-frame differentiation on the continuously captured video frames to determine the movement trajectory of the flame and smoke. The inter-frame difference image shows the dynamic process of the flame spreading from the bottom of the charging pile upward.
[0043] The data analysis module inputs the acquired video frame image, the first processed video image, and the second processed video image into the trained deep neural network DNN model for processing, and outputs the type of fire extinguisher used; wherein the trained deep neural network DNN model includes three independent convolutional network branches, each branch specifically processes a type of video frame image, namely the original video frame image, the first processed video image, and the second processed video image; after each convolutional network branch performs a convolution operation, the extracted feature vector is passed to the fusion layer to form a fused feature vector through feature splicing; the fused feature vector is input into the fully connected layer for processing, and the type of fire extinguisher used is output; in In some embodiments, in the intelligent safety electricity fire protection system, the data analysis module processes the video frame images from different stages of the CCD camera through a deep neural network (DNN) to determine the most suitable type of fire extinguisher. The original video frame image processing branch specifically processes the real-time video frames obtained directly from the CCD camera. These images show the initial state of the fire, including flames and smoke. The first processed video frame image processing branch: processes the first processed video frames obtained by image difference. These images mainly show the difference with the standard image without fire, highlighting the abnormal area. The second processed video frame image processing branch processes the second processed video frames obtained by the frame difference method. These images capture dynamic changes, such as the spread of flames and smoke. Each branch performs a convolution operation on its input image to extract relevant visual features. The extracted features include edges, textures, color changes, etc. These are all key information for identifying fire features. The feature vectors processed by each branch of the fusion layer are spliced in the fusion layer to form a comprehensive feature vector, which helps to integrate information from different perspectives and provide a more comprehensive fire analysis. The fully connected layer fuses the feature vectors and inputs them into the fully connected layer. Here, multiple activation functions are used to process the feature vectors, and finally the predicted fire extinguisher type is output.
[0044] In some embodiments, a charging pile catches fire due to an electrical fault. The system's CCD camera captures real-time video of the burning charging pile. The video frames are input into three convolutional network branches for processing respectively. The original video frames show obvious flames and thick smoke. The first processed video frame shows obvious brightness and color change areas by subtracting it from the standard image without fire in the database. The second processed video frame is analyzed by the frame difference method to highlight the dynamic diffusion of flames and smoke. The processed feature vectors are merged in the fusion layer, and the fully connected layer analyzes these fused features. According to the output of the fully connected layer, the system determines that the fire is an electrical fire and recommends the use of a carbon dioxide fire extinguisher for fire fighting because it is non-conductive and safe for equipment. The automatic fire extinguishing response system automatically starts the carbon dioxide fire extinguisher installed at the charging station, quickly controls and eventually extinguishes the flames, and effectively prevents the spread of the fire. In this way, the intelligent safe electricity fire fighting system can not only effectively identify the type and characteristics of the fire, but also automatically select and start the most suitable fire extinguisher according to the specific situation, greatly improving the efficiency and accuracy of emergency response.
[0045] The cloud service end outputs the output results of the deep neural network DNN model to the single-chip microcomputer, and the single-chip microcomputer opens the corresponding fire extinguisher and extinguishes the fire according to the output fire extinguisher type. In some embodiments, the fire extinguisher selection module is a key component of the intelligent safe electricity fire protection system, which is responsible for automatically selecting and activating the appropriate type of fire extinguisher to deal with the detected fire based on the analysis results of the deep neural network (DNN) model. The deep neural network model processes data from the video image processing module and analyzes the characteristics of the fire (such as flame size, diffusion speed and smoke density). The model infers the most suitable type of fire extinguisher (carbon dioxide fire extinguisher, foam fire extinguisher, dry powder fire extinguisher, etc.) based on the analysis results. The analysis results (selected fire extinguisher type) are sent to the single-chip microcomputer or central control system of the site through the cloud service end. After the single-chip microcomputer receives the fire extinguisher type instruction from the cloud, it activates the corresponding fire extinguisher through the control interface. The single-chip microcomputer controls one or more electronic drivers, which are connected to various types of fire extinguishers to electronically start the release mechanism of the fire extinguisher. A charging station caught fire due to an electrical short circuit. The system's CCD camera captured real-time images of the fire scene. After processing, the data was transmitted to the cloud service. In some embodiments, the deep neural network analyzes the image and recognizes that the fire was mainly caused by an electrical fault. It infers that a carbon dioxide fire extinguisher is the most appropriate choice because it can effectively extinguish electrical fires without causing additional damage. The cloud service sends the decision of "carbon dioxide fire extinguisher" to the microcontroller of the shopping mall charging station. After receiving the command, the microcontroller immediately activates the carbon dioxide fire extinguisher installed at the corresponding charging station. The fire extinguisher quickly releases carbon dioxide, covers and cools the fire source area, successfully controls and eventually extinguishes the flames. After the fire is extinguished, the system continues to monitor the area to ensure that the fire is completely extinguished and there is no sign of re-ignition. The system automatically records the event and response process for future analysis and system optimization.
[0046] In some embodiments, the output uses a type of fire extinguisher, where the types of fire extinguishers include carbon dioxide fire extinguishers, foam fire extinguishers, dry powder fire extinguishers, wet chemical fire extinguishers, and water mist fire extinguishers. Carbon dioxide fire extinguishers are mainly used for electrical fires, especially fires near electrical equipment or circuits, because carbon dioxide is non-conductive and does not corrode the equipment. In one embodiment, a charging pile caught fire due to a circuit failure. The system detected an abnormal increase in current and triggered an alarm, automatically starting a carbon dioxide fire extinguisher installed near the charging pile, effectively extinguishing the flames without causing damage to surrounding electronic equipment. Foam fire extinguishers are suitable for extinguishing fires caused by liquids, such as oil or other flammable liquid leaks near charging piles. In one embodiment, the charging station leaked lubricating oil due to improper maintenance and contacted a heat source to cause a fire. The intelligent system analyzed the scene and determined that the foam fire extinguisher was the best choice, and then automatically activated the corresponding fire extinguisher to quickly cover and isolate the fire source to prevent the fire from spreading. Dry powder fire extinguisher Dry powder fire extinguisher is very suitable for many types of fires, including electrical fires and general solid material fires. It is a versatile fire extinguishing option. In one embodiment, a car's battery panel overheated due to a fault and caused a fire. The system analyzed the smoke and temperature data and determined that a multifunctional dry powder fire extinguisher was needed to intervene. The dry powder fire extinguishing system was immediately activated, effectively controlling the fire on the battery panel and surrounding vehicles. Wet chemical fire extinguishers are suitable for handling fires involving chemical reactions. For catering areas near charging stations or maintenance areas containing chemical substances, wet chemical fire extinguishers can be effectively used. In one embodiment, a fast food truck next to the charging station caught fire due to overheating of cooking grease. The system immediately identified the nature of the fire source and activated the wet chemical fire extinguisher to quickly suppress the fire, preventing the fire from spreading to nearby charging facilities. Water mist fire extinguishers are mainly used to extinguish fires of solid materials such as wood and paper. They are suitable for areas where charging pile materials are far away from circuits and there are no electrical risks. In one embodiment, near a charging station located in a suburban park, a tourist discarded an unextinguished cigarette and ignited a nearby trash can. The system detected the initial fire and quickly assessed the situation before activating the water mist fire extinguisher, which quickly lowered the temperature and extinguished the flames through fine water mist, protecting the safety of the charging station and the park.
[0047] In some embodiments, the single-chip microcomputer obtains the video frame image in the time period T in the CCD camera and uploads it to the cloud service end, and before uploading to the cloud service end, it includes using Gaussian filtering for denoising. Gaussian filtering is a commonly used image denoising technology. It smoothes the image through a Gaussian function (normal distribution curve) to effectively remove random noise in the image capture process. In one embodiment, this filtering method uses a window around the pixel point (3x3 or 5x5 size), and the value of each pixel point is replaced by the weighted average value of the pixel values around it. The weight is determined by the Gaussian function. The closer the pixel is to the center pixel point, the greater the influence of the center pixel. The size and standard deviation of the Gaussian kernel are determined according to the specific needs of the image. The size of the kernel affects the degree of filtering, and the standard deviation controls the width of the Gaussian curve. Before uploading the image data to the cloud service end, the single-chip microcomputer first applies Gaussian filtering to each video frame captured by the CCD camera, and the denoised image is uploaded to the cloud service end for further processing and analysis, such as flame detection and fire classification.
[0048] In some embodiments, the inputting of the fused feature vector into the fully connected layer for processing and outputting the type of fire extinguisher used comprises: first inputting the fused feature vector into the first fully connected layer and performing nonlinear transformation using the Sigmoid activation function; inputting the feature vector processed by the first fully connected layer into the second fully connected layer and performing further nonlinear transformation using the improved AP-Tanh activation function; inputting the feature vector processed by the second fully connected layer into the third fully connected layer, and the third fully connected layer uses the softmax activation function to convert the feature vector into the type of fire extinguisher used. In one embodiment, the first fully connected layer uses the Sigmoid activation function to compress the input value between 0 and 1 for processing binary classification problems, in which it helps the model begin to understand and distinguish whether there is a certain type of fire feature. If the image features detected by the system indicate a significant rise in temperature but no obvious flames, the Sigmoid function will help identify whether this may be overheating rather than an open fire source. The second fully connected layer uses an improved AP-Tanh activation function, which is an improved hyperbolic tangent function that allows the shape of the curve to be adjusted to adapt to the characteristics of the input data, thereby providing a more accurate nonlinear mapping, which helps the model refine its understanding of different types of fires. When processing fire images from near circuits, the AP-Tanh activation function can be adjusted according to the complexity of the input features to better distinguish between fires caused by circuits and other types of fire sources, such as flames caused by chemical reactions. The third fully connected layer uses the Softmax activation function to process the input vector into a probability distribution, where each element represents the probability of a specific category. In a fire protection system, this means being able to output the probability of each fire extinguisher corresponding to a specific fire. If the analyzed image data indicates that the fire source has both liquid and electrical elements, Softmax can calculate and decide which fire extinguisher (such as dry powder fire extinguisher or carbon dioxide fire extinguisher) is most appropriate, based on their respective efficiency and adaptability in extinguishing fires. In some embodiments, the system extracts features about the size, color, and smoke density of the flame, and fuses these data into a feature vector, which is first input into the first fully connected layer using the Sigmoid function, which determines whether there is a fire in the scene. After the first layer of processing, the feature vector enters the second fully connected layer using AP-Tanh, which further analyzes the type of fire, such as electrical fire or liquid fire. Finally, the feature vector enters the third fully connected layer using Softmax, which outputs the type of fire extinguisher that best suits the current type of fire. Based on the model output, the system automatically activated a carbon dioxide fire extinguisher to deal with the fire caused by an electrical fault. The fire extinguisher was quickly deployed and successfully extinguished the flames.
[0049] In some embodiments, the trained deep neural network DNN model includes three independent convolutional network branches, each branch specifically processes a type of video frame image, namely, the original video frame image, the first processed video image and the second processed video image; the first convolutional network branch specifically processes the original video frame image, and extracts features including contrast, grayscale mean, RGB color channel mean, and entropy of the grayscale co-occurrence matrix through multiple layers of convolutional layers and pooling layers; the second convolutional network branch specifically processes the first processed video frame image, and extracts features including the area of the changed region, the standard deviation of the pixel value, and the entropy of the grayscale co-occurrence matrix through multiple layers of convolution and pooling operations; the third convolutional network branch specifically processes the second processed video frame image, and extracts features including motion flow density through multiple layers of convolution and pooling operations; the feature vectors obtained after processing by the three independent convolutional network branches are merged in the fusion layer through feature splicing. The first convolutional network branch is used for processing the original video frame image, which is used to obtain contrast, that is, to identify the intensity of changes in brightness in the image, which helps to highlight flames or smoke, and also includes the grayscale mean to reflect the overall brightness level of the image, which is particularly important for detecting smoke concentration, and obtains the RGB color channel mean to help identify the color characteristics of the flame, such as the orange-red color of the flame, and also includes obtaining the entropy of the grayscale co-occurrence matrix to measure the complexity of the image texture, which helps to identify irregular patterns caused by fire. The second convolutional network is used to process the first processed video frame obtained by the image difference method, mainly identifying the difference with the standard non-fire image, the area of the change region quantifies the size of the area where the image difference is significant, which is related to the spread speed of the fire, the standard deviation of the pixel value reflects the color distribution difference of the image change area, and the entropy of the grayscale co-occurrence matrix analyzes the texture complexity of the image difference area. The second processed video frame obtained by the frame difference method focuses on identifying dynamic changes, such as the movement of smoke and flames, and the motion flow density calculates the density of moving objects in the image, which helps to evaluate the activity and spread speed of the fire.
[0050] In some embodiments, the third fully connected layer uses a softmax activation function to convert the feature vector into the type of fire extinguisher used, wherein the number of neurons in the third fully connected layer is 5, corresponding to carbon dioxide fire extinguisher, foam fire extinguisher, dry powder fire extinguisher, wet chemical fire extinguisher, and water mist fire extinguisher, respectively. The output of the second fully connected layer is sent to the softmax function to calculate the index of each type of fire extinguisher, and each index value is divided by the sum of all index values to obtain the probability of each type of fire extinguisher.
[0051] In one embodiment, in an intelligent safety electricity fire protection system, the final fully connected layer uses a Softmax activation function to determine the type of fire extinguisher that best suits the currently detected fire situation. The Softmax function can convert the input feature vector (output from the previous layer) into a probability distribution, where each element represents the probability of selecting a type of fire extinguisher. The output of the second fully connected layer is a feature vector containing all relevant information about the fire learned from the previous network layer. The Softmax function applies an exponential operation to each element and then divides each exponential value by the sum of the exponential values, thereby ensuring that the sum of all output values is 1. Each value is between 0 and 1, representing a probability. Each output represents the probability of selecting a specific type of fire extinguisher. Specifically in this example, the output layer has 5 neurons, corresponding to carbon dioxide fire extinguishers, foam fire extinguishers, dry powder fire extinguishers, wet chemical fire extinguishers, and water mist fire extinguishers.
[0052] In some embodiments, the feature vector processed by the first fully connected layer is input to the second fully connected layer, and the improved AP-Tanh activation function is used for further nonlinear transformation. The improved AP-Tanh activation function f(x) is expressed as follows:
[0053]
[0054] Among them, e is the base of the natural logarithm, x is the feature vector processed by the first fully connected layer, t is the real-time temperature of the charging pile environment, s is the real-time smoke concentration of the charging pile environment, a0, a1, and a3 are the first empirical parameter, the second empirical parameter, and the third empirical parameter, respectively.
[0055]
[0056] In some embodiments, the first convolutional network branch specifically processes the original video frame image, and extracts features including contrast, grayscale mean, RGB color channel mean, and entropy of the grayscale co-occurrence matrix through multiple convolutional layers and pooling layers, wherein the grayscale mean is the average of the grayscale values of all pixels in the image, the contrast is the mean of the sum of the squares of the difference between the grayscale value of each pixel in the image and the average grayscale value of the image, the RGB color channel mean is the average of all pixel values of the red, green, and blue channels, and the entropy of the grayscale co-occurrence matrix is the entropy value generated by the grayscale co-occurrence matrix based on the pixel pair. The grayscale mean is the average of the grayscale values of all pixels in the image, reflecting the overall brightness of the image, converting the image to grayscale, and then calculating the arithmetic mean of all pixel values. The contrast is the mean of the sum of the squares of the difference between the grayscale value of each pixel in the image and the average grayscale value of the image, reflecting the contrast intensity of the image. The grayscale mean is first calculated, and then the square of the difference between each pixel and the average is calculated to obtain the average of all square differences. The RGB color channel mean is to average all pixel values of the red, green, and blue channels respectively, providing key information about the color of the flame, and averaging all pixel values of each color channel. The entropy of the grayscale co-occurrence matrix is based on the entropy value generated by the grayscale co-occurrence matrix of the pixel pair, which measures the complexity of the image texture. First, the grayscale co-occurrence matrix is generated, and then the entropy value is calculated. A high entropy value indicates a more complex image texture. In the intelligent safety power fire protection system, the processing of the original video frame image is performed on each frame, rather than the average or sum of the entire video sequence. This method allows the system to capture and respond to changes in each frame in real time, thereby more accurately detecting and analyzing the dynamic development of the fire. The grayscale mean is calculated for each frame of the image, first converting it to a grayscale image, and then calculating the average grayscale value of all pixels. This value reflects the overall brightness of the frame image, and the contrast is in the same frame image. First, the grayscale mean is calculated, and then the square of the difference between each pixel and the mean is calculated, and finally the average of these square differences is obtained, which represents the contrast level of the image. The RGB color channel mean is calculated for each frame of the image, and the average of the pixel values of the red, green and blue channels is calculated respectively, which helps to identify the flame color or other visual cues. The entropy of the gray-level co-occurrence matrix is first generated for each frame of the image. This is a matrix that describes the relative frequency of pixel gray levels and is used to analyze the texture characteristics of the image. The entropy of this matrix is calculated to measure the complexity of the image texture.
[0057] In some embodiments, the second convolutional network branch specifically processes the first processed video frame image, and extracts features including the area of the changed region, the standard deviation of the pixel value, and the entropy of the grayscale co-occurrence matrix through multi-layer convolution and pooling operations, wherein the area of the changed region is the number of pixels whose pixel values are greater than a set threshold; the standard deviation of the pixel value is to first calculate the average pixel value of the image, then calculate the square of the difference between each pixel value and the average value and sum them, and finally, take the square root of the variance to obtain the standard deviation of the pixel value. The second convolutional network branch focuses on processing the first processed video frame images, that is, those images that have been processed by the preliminary image difference method. The main task of this branch is to analyze and quantify the changed areas in the image in order to more accurately identify and respond to fire-related visual changes. The area of the changed area refers to the number of pixels in the image whose pixel value changes are greater than a set threshold. It is determined by subtracting the first processed video frame from a baseline non-fire state image and counting the number of pixels that exceed a certain threshold in the result. The pixel value standard deviation first calculates the average pixel value of the image, then calculates the square of the difference between each pixel value and the average value, sums the squares of these differences, and takes the square root of the sum to obtain the pixel value standard deviation. This value describes the degree of discreteness of the image pixel values and helps to identify the uniformity or concentration of image changes. The entropy of the gray-level co-occurrence matrix is based on the entropy value generated by the gray-level co-occurrence matrix of pixel pairs, which is used to measure the complexity and non-uniformity of image texture. A higher entropy value indicates that the texture changes in the image are more complex, which is related to complex fire scenes.
[0058] In some embodiments, the third convolutional network branch specifically processes the second processed video frame image, and extracts features including motion flow density through multi-layer convolution and pooling operations, including first applying the optical flow method to calculate the motion vector of each pixel between consecutive video frames, counting the total number of pixels whose motion vectors are greater than a set threshold and dividing it by the total number of pixels in the image, and obtaining the proportion of moving pixels, which is the motion flow density. The third convolutional network branch focuses on processing the second processed video frame images. These images are processed by the frame difference method to make dynamic changes (such as moving flames or smoke) more significant. This branch uses the optical flow method to calculate and analyze the motion features in the image, especially the motion flow density, which is a key parameter for evaluating the dynamic characteristics of fire. The optical flow method is a technology for calculating the motion of pixels in a video image sequence. The motion vector of each pixel is estimated by comparing the changes in pixels between two consecutive frames. The steps for calculating the motion flow density are as follows: Step 1 Apply the optical flow method to the second processed video frame image to calculate the motion vector of each pixel between consecutive frames; Step 2 Set a threshold to determine which pixels have significant motion, and the motion vector length greater than a certain value is considered significant; Step 3 Count the number of all significantly moving pixels, and then divide this number by the total number of pixels in the image. The ratio obtained is the motion flow density.
[0059] The present invention provides an intelligent safe electricity fire protection system, which can achieve the following beneficial technical effects:
[0060] 1. The present invention provides an intelligent safe electricity fire protection system, which determines whether the real-time charging pile ambient temperature, charging pile circuit current and smoke concentration are greater than a set threshold value. When the real-time charging pile ambient temperature, charging pile circuit current and smoke concentration are greater than the set threshold value, the single-chip microcomputer obtains the video frame image in the CCD camera within the time period T after the moment greater than the set threshold value, and uploads the image to the cloud service end; the cloud service end obtains the first processed video image by subtracting each acquired video frame image from the fire-free standard image at the current time point stored in the database, and processes the acquired video frame image using the inter-frame difference method to obtain the second processed video image; the data analysis module inputs the acquired video frame image, the first processed video image and the second processed video image into the trained deep neural network DNN model for processing, and outputs the type of fire extinguisher used. The present invention uses the trained deep neural network DNN model to process the original video image, the first processed video frame image and the second processed video frame image respectively, and outputs the type of fire extinguisher through feature splicing and full connection layer, which greatly improves the accuracy of fire identification and provides targeted fire extinguishers for fire extinguishing, which greatly improves the efficiency of fire extinguishing.
[0061] 2. The trained deep neural network DNN model of the present invention includes three independent convolutional network branches, each branch specializes in processing one type of video frame image, namely, the original video frame image, the first processed video image and the second processed video image; after each convolutional network branch performs a convolution operation, the extracted feature vector is passed to the fusion layer to form a fused feature vector through feature splicing; the fused feature vector is input to the fully connected layer for processing, and the type of fire extinguisher used is output. By considering the video image information in different situations, the features are enriched and the accuracy of fire extinguisher selection is greatly improved.
[0062] 3. The feature vector processed by the first fully connected layer of the present invention is input to the second fully connected layer, and the improved AP-Tanh activation function is used for further nonlinear transformation. The improved AP-Tanh activation function f(x) is expressed as follows:
[0063]
[0064] Among them, e is the base of the natural logarithm, x is the feature vector processed by the first fully connected layer, t is the real-time temperature of the charging pile environment, s is the real-time smoke concentration of the charging pile environment, a0, a1, and a3 are the first empirical parameter, the second empirical parameter, and the third empirical parameter respectively; the second fully connected layer of the present application greatly enhances the feature extraction fusion by adding factors such as the temperature of the charging pile environment and the smoke concentration of the charging pile environment to the activation function processing process, which provides strong support for the selection of fire extinguishers and improves the accuracy of fire extinguisher selection.
[0065] 4. This application first inputs the fused feature vector into the first fully connected layer, and uses the Sigmoid activation function for nonlinear transformation; the feature vector processed by the first fully connected layer is input into the second fully connected layer, and the improved AP-Tanh activation function is used for further nonlinear transformation; the feature vector processed by the second fully connected layer is input into the third fully connected layer, and the third fully connected layer uses the softmax activation function to convert the feature vector into the type of fire extinguisher used; the fully connected layer uses three different activation functions. In the intelligent safe electricity fire protection system, the fully connected layer uses three activation functions, namely Sigmoid, improved Adaptive Parametric Tanh (AP-Tanh) and Softmax; among them, the Sigmoid function is suitable for judging the existence of fire risk; AP-Tanh provides adjustable parameters, allowing the activation function to be dynamically adjusted according to input data such as temperature and smoke concentration, enhancing the adaptability of the model to input changes; the Softmax function converts the output of the network into a probability distribution, which is suitable for multi-classification tasks, such as selecting the appropriate type of fire extinguisher, optimizing the decision-making process of the system, and improving the accuracy and efficiency of the response. The combination of the three functions makes the system more efficient and accurate in multi-tasking and decision-making.
[0066] An intelligent safety electricity fire protection system is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of the present invention. At the same time, for those skilled in the art, according to the ideas and methods of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. An intelligent safety electricity fire protection system, characterized in that: include: Charging pile information collection unit, which obtains data from the temperature sensor, current sensor, and smoke concentration sensor of the charging pile environment in real time; Fire judgment module, if the real-time temperature t of the charging pile environment is greater than the set threshold, or the real-time current is greater than the set threshold, or the real-time smoke concentration s of the charging pile environment is greater than the set threshold, the single-chip microcomputer obtains the video frame image within the time period T in the CCD camera and uploads it to the cloud service end; The video image processing module, the cloud server obtains a first processed video image by subtracting the acquired video frame image from the standard image of no fire at the current time point stored in the database, and obtains a second processed video image by processing the acquired video frame image using a frame difference method; The data analysis module inputs the acquired video frame image, the first processed video image, and the second processed video image into the trained deep neural network DNN model for processing, and outputs the type of fire extinguisher used; wherein the trained deep neural network DNN model includes three independent convolutional network branches, each branch specifically processes a type of video frame image, namely, the original video frame image, the first processed video image, and the second processed video image; after each convolutional network branch performs a convolution operation, the extracted feature vector is passed to the fusion layer to form a fused feature vector through feature splicing; the fused feature vector is input into the fully connected layer for processing, and the type of fire extinguisher used is output; Fire extinguisher selection module: the cloud server outputs the output results of the deep neural network DNN model to the MCU, and the MCU opens the corresponding fire extinguisher according to the output fire extinguisher type and extinguishes the fire; The step of inputting the fused feature vector to the fully connected layer for processing and outputting the type of fire extinguisher used comprises: firstly inputting the fused feature vector to the first fully connected layer and performing nonlinear transformation using the Sigmoid activation function; inputting the feature vector processed by the first fully connected layer to the second fully connected layer and performing further nonlinear transformation using the improved AP-Tanh activation function; inputting the feature vector processed by the second fully connected layer to the third fully connected layer, and the third fully connected layer uses the softmax activation function to transform the feature vector into the type of fire extinguisher used; The trained deep neural network DNN model includes three independent convolutional network branches, each branch is specialized in processing a type of video frame image, namely, the original video frame image, the first processed video image and the second processed video image; the first convolutional network branch is specialized in processing the original video frame image, and extracts features including contrast, grayscale mean, RGB color channel mean, and entropy of grayscale co-occurrence matrix through multiple layers of convolutional layers and pooling layers; the second convolutional network branch is specialized in processing the first processed video frame image, and extracts features including the area of the changed region, the standard deviation of the pixel value, and the entropy of the grayscale co-occurrence matrix through multiple layers of convolution and pooling operations; the third convolutional network branch is specialized in processing the second processed video frame image, and extracts features including motion flow density through multiple layers of convolution and pooling operations; the feature vectors obtained after processing by the three independent convolutional network branches are merged in the fusion layer through feature splicing; The third fully connected layer uses a softmax activation function to convert the feature vector into the type of fire extinguisher used, wherein the number of neurons in the third fully connected layer is 5, corresponding to carbon dioxide fire extinguisher, foam fire extinguisher, dry powder fire extinguisher, wet chemical fire extinguisher, and water mist fire extinguisher, respectively. The output of the second fully connected layer is sent to the softmax function to calculate the index of each fire extinguisher type, and each index value is divided by the sum of all index values to obtain the probability of each fire extinguisher type; The feature vector processed by the first fully connected layer is input to the second fully connected layer, and the improved AP-Tanh activation function is used for further nonlinear transformation. The improved AP-Tanh activation function f(x) is expressed as follows: Among them, e is the base of the natural logarithm, x is the feature vector processed by the first fully connected layer, t is the real-time temperature of the charging pile environment, s is the real-time smoke concentration of the charging pile environment, a0, a1, and a3 are the first empirical parameter, the second empirical parameter, and the third empirical parameter, respectively.
2. An intelligent safe electricity fire protection system as claimed in claim 1, characterized in that: The output uses the type of fire extinguisher, where the fire extinguisher types include carbon dioxide fire extinguisher, foam fire extinguisher, dry powder fire extinguisher, wet chemical fire extinguisher, and water mist fire extinguisher.
3. An intelligent safe electricity fire protection system as claimed in claim 1, characterized in that: The single chip microcomputer obtains the video frame images within the time period T in the CCD camera and uploads them to the cloud service end, and before uploading to the cloud service end, a denoising process is performed using a Gaussian filter.
4. The intelligent safe electricity fire protection system according to claim 1, characterized in that: The first convolutional network branch specifically processes the original video frame image, and extracts features including contrast, grayscale mean, RGB color channel mean, and entropy of the grayscale co-occurrence matrix through multiple layers of convolutional layers and pooling layers, wherein the grayscale mean is the average of the grayscale values of all pixels in the image, the contrast is the mean of the sum of the squares of the difference between the grayscale value of each pixel in the image and the average grayscale value of the image, the RGB color channel mean is the average of all pixel values of the red, green, and blue channels respectively, and the entropy of the grayscale co-occurrence matrix is the entropy value generated by the grayscale co-occurrence matrix based on pixel pairs.
5. The intelligent safe electricity fire protection system according to claim 1, characterized in that: The second convolutional network branch specifically processes the first processed video frame image, and extracts features including the area of the changed region, the standard deviation of the pixel value, and the entropy of the gray-level co-occurrence matrix through multi-layer convolution and pooling operations, where the area of the changed region is the number of pixels whose pixel values are greater than the set threshold; the standard deviation of the pixel value is to first calculate the average pixel value of the image, then calculate the square of the difference between each pixel value and the average value and sum them, and finally, take the square root of the variance to obtain the standard deviation of the pixel value.
6. The intelligent safe electricity fire protection system according to claim 1, characterized in that: The third convolutional network branch specifically processes the second processed video frame image, and extracts features including motion flow density through multi-layer convolution and pooling operations, including first applying the optical flow method to calculate the motion vector of each pixel between consecutive video frames, counting the total number of pixels whose motion vectors are greater than a set threshold and dividing it by the total number of pixels in the image, and obtaining the proportion of moving pixels, which is the motion flow density.
