Civil air defense door intelligent control method based on surrounding environment perception
Through the intelligent control method of civil air defense doors based on the perception of the surrounding environment, sensor data and machine learning algorithms are used to solve the problem of insufficient response speed and decision-making accuracy of the existing system in complex environments, and achieve more efficient security response capabilities.
Patent Information
- Application Number
- CN202410845826.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing civil defense door intelligent control systems lack response speed, decision-making accuracy and reliability when faced with complex and changing environments, and cannot effectively respond to fires, harmful gas leaks, earthquakes and other safety threats.
An intelligent control method for civil air defense doors based on the perception of the surrounding environment is adopted. By classifying environmental types, using a variety of sensors to obtain real-time data, performing data processing and feature extraction, and combining machine learning algorithms to build a decision support system to achieve automated control decisions.
It improves the response speed and decision-making accuracy of civil air defense doors, ensuring that the most appropriate response measures can be quickly taken in various emergencies, and ensuring the safety of personnel and facilities to the greatest extent.
Smart Images

Figure CN118709015A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent control of electric civil air defense doors, and in particular to an intelligent control method of civil air defense doors based on surrounding environment perception. Background Art
[0002] In civil air defense projects, civil air defense doors, as key facilities, play an important role in protection, isolation and evacuation. In traditional civil air defense door control systems, they often rely on manual operation or simple automatic control, which is difficult to cope with the complex and changing surrounding environment. In this case, the safety of personnel and facilities cannot be effectively guaranteed, especially in emergencies such as fire, harmful gas leakage, earthquake and other security threats.
[0003] With the development of intelligent technology, sensor-based environmental perception and intelligent control have gradually become a research hotspot and application trend. In this context, a variety of sensor technologies have been applied to environmental monitoring, such as smoke sensors, temperature sensors, gas sensors, vibration sensors, etc. These sensors can obtain environmental data in real time, providing a basis for environmental monitoring. However, how to efficiently process and fuse these sensor data and perform intelligent control based on environmental perception results is still a technical problem that needs to be solved.
[0004] Although some existing intelligent control systems can achieve a certain degree of automated control, their response speed, decision-making accuracy and reliability still need to be improved when facing complex and changing environments. For example, some systems cannot accurately distinguish different types of emergencies, resulting in control decision errors; other systems lack intelligence in data processing and decision support, and cannot be optimized and adjusted according to actual conditions. Summary of the invention
[0005] The present invention provides an intelligent control method for civil air defense doors based on surrounding environment perception, which can comprehensively utilize a variety of environmental perception data, accurately identify the surrounding environment, and realize automatic control of civil air defense doors based on an intelligent decision support system, so as to improve the system's response speed and decision accuracy, and ensure the safety of personnel and facilities.
[0006] In order to solve the above problems, the technical solution adopted by the present invention is as follows:
[0007] The present invention provides an intelligent control method for civil air defense doors based on surrounding environment perception, comprising the following steps:
[0008] S1. Divide the surrounding environment into normal environment, fire environment, harmful gas leakage environment, earthquake environment and security threat environment, and each environment corresponds to a basic control decision; the basic control decision corresponding to the normal environment is to keep the civil air defense door in standby state, the door is closed and not locked, and normal entry and exit are allowed; the basic control decision corresponding to the fire environment is to immediately close and lock the civil air defense door, start the fire alarm system, and notify relevant personnel to evacuate; the basic control decision corresponding to the harmful gas leakage environment is to immediately close and lock the civil air defense door, start the ventilation system to exhaust the harmful gas, and notify relevant personnel to take protective measures; the basic control decision corresponding to the earthquake environment is to determine whether to close the civil air defense door according to the vibration intensity. If the vibration exceeds the set threshold, the civil air defense door is automatically closed and locked, and the personnel are notified to take refuge; the basic control decision corresponding to the security threat environment is to close and lock the civil air defense door, start the security alarm system, and notify the security personnel to check;
[0009] S2. Use the surrounding environment perception module to obtain real-time surrounding environment data, including fire environment detection data, harmful gas leakage environment detection data, earthquake environment detection data and security threat environment detection data;
[0010] S3, processing the real-time surrounding environment data through the data processing unit, including filtering, denoising, standardizing data, feature extraction and data fusion, to obtain feature fusion data;
[0011] S4. The feature fusion data is analyzed by using a machine learning algorithm through the decision support system to determine the current surrounding environment of the civil defense door and output the final control decision. If the current surrounding environment is one environment, the final control decision is the basic control decision corresponding to the environment. If the current surrounding environment is a combination of multiple environments, the final control decision is a combination of basic control decisions corresponding to multiple environments.
[0012] As a further description of the above technical solution: in step S2, the surrounding environment perception module includes a fire environment detection sensor, a harmful gas leakage environment detection sensor, an earthquake environment detection sensor and a security threat environment detection sensor; the fire environment detection sensor includes a smoke sensor, a temperature sensor and a flame sensor; the harmful gas leakage environment detection sensor includes a gas sensor and a VOC sensor; the earthquake environment detection sensor includes a vibration sensor; the security threat environment detection sensor includes a door and window magnetic sensor and an infrared sensor.
[0013] As a further description of the above technical solution: in step S3, the filtering process is to use a low-pass filter to eliminate the high-frequency noise of the surrounding environment data; the denoising process is to use a mean filtering method to eliminate random noise and burst noise in the surrounding environment data; the standardized data processing is to convert various types of surrounding environment data to the same scale to make different types of data comparable.
[0014] As a further description of the above technical solution: the extracted feature data include fire environment characteristics, harmful gas leakage environment characteristics, earthquake environment characteristics and security threat environment characteristics; fire environment characteristics include smoke concentration change rate, temperature change rate and spectral characteristics; harmful gas leakage environment characteristics include gas concentration peak, gas concentration change rate and volatile organic compound concentration characteristics; earthquake environment characteristics include vibration intensity and vibration frequency; security threat environment characteristics include door and window status characteristics and human activity characteristics, and human activity characteristics include human activity frequency and position characteristics.
[0015] As a further description of the above technical solution: data fusion includes time alignment, spatial integration and feature combination; time alignment is to align the extracted feature data by timestamp; spatial integration is to integrate the feature data belonging to the same environment type; feature combination is to combine the feature data of different environment types together to form a unified feature vector, that is, to obtain feature fusion data.
[0016] As a further description of the above technical solution: Step S4 specifically includes the following steps:
[0017] S41, normalizing the feature fusion data so that all feature values are within the same magnitude range;
[0018] S42, constructing an environment classification model, and training the environment classification model using historical surrounding environment data and corresponding control decisions;
[0019] S43, inputting the normalized feature fusion data into the trained environment classification model, and outputting the environment classification result;
[0020] S44. Output a final control decision based on the environmental classification result. If the current surrounding environment is one environment, the final control decision is the basic control decision corresponding to the environment. If the current surrounding environment is a combination of multiple environments, the final control decision is a combination of the basic control decisions corresponding to the multiple environments.
[0021] As a further description of the above technical solution: Step S42 specifically includes the following steps:
[0022] S421. Construct an environment classification model based on a neural network, including an input layer, a hidden layer, and an output layer; the size of the input feature vector is the number of all extracted features; there are two hidden layers, and the activation function is the ReLU function; the number of neurons in the output layer is 5, and the activation function is the Softmax function;
[0023] S422, collect and annotate historical data sets containing various environmental features and corresponding control decisions, perform data normalization and one-hot encoding, and then divide them into a training set and a validation set according to a sample size ratio of 4:1;
[0024] S423, the unselected training samples X in the training set i Input neural network and calculate output prediction value
[0025] S424. Calculate the predicted value using the cross entropy loss function and the true label Y i The loss between them is L;
[0026] S425. Calculate the gradient g of the loss L with respect to the model parameter θ t , use the Adam optimization algorithm to update the model parameters θ;
[0027] S426, determine whether the number of training times reaches the maximum number of iterations N, if so, continue to step S427, otherwise jump to step S423;
[0028] S427. Use the validation set to verify the performance of the environment classification model, calculate the loss value and classification accuracy on the validation set, adjust the model hyperparameters accordingly to optimize the model performance, and then save the model parameters.
[0029] As a further description of the above technical solution: In step S423,
[0030]
[0031] Among them, X i is the i-th training sample, W1 and W2 are the weight matrices of the hidden layer and the output layer respectively, b1 and b2 are the bias vectors of the hidden layer and the output layer respectively, ReLU is the activation function, and Softmax is the activation function.
[0032] As a further description of the above technical solution: In step S424, the cross entropy loss function of the loss L is calculated as:
[0033]
[0034] Among them, Y ij is the j-th class true label of the i-th sample, and its value is 0 or 1, indicating whether the sample belongs to the j-th class. is the predicted probability of the jth class of the ith sample, N is the number of samples, and m is the number of environmental types;
[0035] In step S425, the formula for updating the model parameter θ is:
[0036]
[0037] Among them, θ t is the model parameter of the t-th iteration, η is the learning rate, β1 and β2 are momentum parameters, and mt and v t are the first-order moment estimate and the second-order moment estimate of the gradient of the t-th iteration, m t-1 and v t-1 They are the first-order moment estimate and the second-order moment estimate of the gradient of the t-1th iteration respectively;
[0038] m t =β1m t-1 +(1-β1)g t
[0039]
[0040] and They are m t and v t The bias correction value of
[0041]
[0042] ∈ is a small constant.
[0043] As a further description of the above technical solution: In step S427, the calculation formula of the classification accuracy is:
[0044]
[0045] Among them, A val is the classification accuracy, N val is the number of samples in the validation set, y val,i is the true label of the i-th sample in the validation set, is the predicted label of the i-th sample in the validation set.
[0046] As a further description of the above technical solution: the expression of the final control decision in step S44 is:
[0047]
[0048] Among them, BaseControlDecision c is the basic control decision corresponding to category c;
[0049]
[0050] Among them, θ is the preset probability threshold.
[0051] Compared with the prior art, the present invention has the following beneficial effects:
[0052] 1) The present invention divides the surrounding environment into normal environment, fire environment, harmful gas leakage environment, earthquake environment and security threat environment, and can sense and identify a variety of different surrounding environments in real time. Through specific control decisions for different environments, the intelligent control level of civil defense doors is effectively improved, ensuring safety and response capabilities in various emergencies.
[0053] 2) According to different environmental types, the system can make corresponding basic control decisions. For example, in a fire environment, the system can immediately close and lock the civil defense door and activate the fire alarm system; in a harmful gas leakage environment, the system can immediately activate the ventilation system to exhaust the harmful gas; this precise control can quickly take the most appropriate response measures in different emergency situations to ensure the safety of personnel to the greatest extent.
[0054] 3) The data processing unit filters, denoises, standardizes and extracts features from the surrounding environment data, effectively improving the accuracy and reliability of the data. At the same time, data fusion technology is used to fuse and process multiple sensor data, further improving the accuracy of environmental perception and providing a high-quality data foundation for subsequent decision support.
[0055] 4) The decision support system built using machine learning algorithms can intelligently analyze and judge the integrated surrounding environment data and automatically output the final control decision. The system can accurately predict the current environment and make corresponding control decisions based on historical data and training models, thereby improving the intelligence level and response speed of the system.
[0056] 5) The system uses advanced neural network models during the training process and optimizes model performance through verification and hyperparameter tuning. The model is easy to continuously learn and optimize based on new data, ensuring the adaptability and robustness of the system in practical applications.
[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the embodiments of the present invention are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0059] Figure 1 is a flow chart of an intelligent control method for civil air defense doors based on surrounding environment perception in an embodiment;
[0060] Figure 2 is a flow chart of a method for generating a final control decision in an embodiment;
[0061] Figure 3 It is a flow chart of the training method of the environment classification model in the embodiment. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0063] Please refer to Figure 1 The present invention provides an intelligent control method for civil air defense doors based on surrounding environment perception, which is as follows:
[0064] 1. Divide the surrounding environment into normal environment, fire environment, harmful gas leakage environment, earthquake environment and security threat environment, and each environment corresponds to a basic control decision.
[0065] The basic control decision corresponding to the normal environment is:
[0066] Keep the civil air defense door in standby mode. Under normal circumstances, the civil air defense door does not require special control and should be kept in standby mode to allow normal entry and exit.
[0067] The basic control decisions corresponding to the fire environment are:
[0068] Immediately close and lock the civil defense door to prevent the fire from spreading into the room and ensure the safety of people.
[0069] Activate the fire alarm system to sound an alarm to notify people of a fire and prompt them to evacuate in time.
[0070] Notify appropriate personnel to evacuate, including but not limited to building residents, staff, security patrols, and firefighters.
[0071] The basic control decisions corresponding to the hazardous gas leakage environment are:
[0072] Close and lock the air defense door immediately to prevent harmful gases from entering the room and protect the health and safety of personnel.
[0073] Start the ventilation system to expel harmful gases, that is, exhaust harmful gases in the room through the ventilation system to reduce harm to the human body.
[0074] Notify relevant personnel to take protective measures, including but not limited to residents, staff, security patrols, emergency rescue personnel, etc. in the building. They need to take appropriate protective measures according to the situation, such as wearing gas masks, escaping, etc.
[0075] The basic control decisions corresponding to the earthquake environment are:
[0076] Determine whether to close the civil air defense door based on the vibration intensity. In an earthquake environment, determine whether to close and lock the civil air defense door based on the vibration intensity detected by the sensor to protect the safety of people inside.
[0077] Notify people to evacuate. If necessary, the system should promptly notify people indoors to evacuate to reduce possible damage caused by earthquake disasters.
[0078] The basic control decisions corresponding to the security threat environment are:
[0079] Close and lock the civil air defense door to prevent security threats from entering the room and protect the safety of people inside.
[0080] The security alarm system is activated to issue an alarm to notify relevant personnel of security threats and prompt them to take countermeasures.
[0081] Notify security personnel to conduct inspection. Relevant personnel include but are not limited to security personnel, police, etc. They need to arrive at the scene in time to conduct safety inspections and handle the situation.
[0082] 2. Use the surrounding environment perception module to obtain real-time surrounding environment data, including fire environment detection data, harmful gas leakage environment detection data, earthquake environment detection data and security threat environment detection data.
[0083] The surrounding environment perception module includes fire environment detection sensors, harmful gas leakage environment detection sensors, earthquake environment detection sensors and security threat environment detection sensors.
[0084] Fire environment detection sensors include smoke sensors, temperature sensors and flame sensors, and the data they detect are all fire environment detection data. Smoke sensors are used to detect smoke concentration in order to identify fire smoke. Temperature sensors are used to detect abnormal increases in ambient temperature in order to identify changes in fire temperature. Flame sensors are used to detect flame spectra in order to confirm the occurrence of fire. Smoke sensors are installed on the ceiling or wall near the civil air defense door to monitor the smoke generated by the fire in a timely manner. Temperature sensors are installed at key locations indoors, such as walls or ceilings near civil air defense doors, to detect changes in ambient temperature. Flame sensors are installed on walls or ceilings near civil air defense doors to detect the presence of flames in a timely manner.
[0085] Harmful gas leakage environment detection sensors include gas sensors and VOC sensors, and the data they detect are all harmful gas leakage environment detection data. Gas sensors are used to detect the concentration of specific harmful gases (such as carbon monoxide, methane, ammonia, etc.), and VOC (volatile organic compound) sensors are used to detect the concentration of organic compounds in the environment in order to identify harmful gas leaks. Gas sensors and VOC sensors are installed in locations with good indoor air circulation, such as ceilings or walls, so as to detect changes in the concentration of harmful gases and volatile organic compounds in a timely manner.
[0086] The earthquake environment detection sensor is a vibration sensor. The data detected is the earthquake environment detection data, which is used to detect earthquake waves and vibration intensity in order to determine the occurrence of an earthquake and the amplitude of the vibration. The vibration sensor is installed on the floor or wall to timely sense the changes in vibration intensity caused by an earthquake.
[0087] Security threat environment detection sensors include door and window magnetic sensors and infrared sensors, and the data they detect are all security threat environment detection data. Door and window magnetic sensors are used to detect the switch status of doors and windows to prevent illegal intrusion. Door and window magnetic sensors are used to detect human activities and identify potential security threats. Door and window magnetic sensors are installed on the door frame or door leaf of the civil air defense door, or at the corresponding position of the door and window near the civil air defense door. Infrared sensors are installed on the wall or ceiling near the civil air defense door to sense the activities of people.
[0088] 3. The real-time surrounding environment data is processed by the data processing unit, including filtering, denoising, data standardization, feature extraction and data fusion to obtain feature fusion data.
[0089] Filtering is the process of using a low-pass filter to eliminate high-frequency noise in the surrounding environment data. For example, low-pass filtering is performed on temperature detection data and vibration detection data to reduce instantaneous noise.
[0090] De-noising is the process of using mean filtering or median filtering to eliminate random noise and burst noise in the surrounding environment data. For example, median filtering is performed on smoke detection data and gas detection data to smooth data changes.
[0091] Standardized data processing is to convert various types of ambient environmental data to the same scale to make different types of data comparable, for example: standardize temperature data from degrees Celsius to a range of 0 to 1, and standardize gas concentration data to a range of 0 to 1. Standardization methods include Z-score standardization and Min-Max standardization. Z-score standardization converts data to a distribution with a mean of 0 and a standard deviation of 1, while Min-Max standardization scales data to a fixed range, usually [0,1] or [-1,1].
[0092] In the present invention, the surrounding environment data can be organized into a sample set after filtering, denoising and standardization data processing, and each sample includes a set of features and a corresponding label (environmental state). Feature extraction methods (such as mean, variance, etc.), frequency domain analysis (such as Fourier transform), time-frequency domain analysis (such as wavelet transform) and other methods are then used to extract features, and the selected feature extraction algorithm is applied to each sample to convert the original data into a feature vector to describe the characteristics of the environmental state. The extracted features are then optimized and screened to improve the characterization ability and classification effect of the features. Feature selection, dimensionality reduction and other methods can be used to optimize and screen the extracted features to remove redundant features and noise features. Finally, the features of each sample after extraction and optimization are combined into a feature vector to ensure that each sample can be represented as a feature vector, and the dimension and structure of the feature vector meet the requirements of the subsequent model.
[0093] In the present invention, the extracted feature data include fire environment features, harmful gas leakage environment features, earthquake environment features and security threat environment features.
[0094] Fire environment characteristics:
[0095] The smoke concentration change rate is the speed at which the smoke concentration changes per unit time.
[0096] The temperature change rate is the speed at which the temperature changes per unit time.
[0097] Flame characteristics, that is, extracting the spectral characteristics detected by the flame sensor.
[0098] Environmental characteristics of harmful gas leakage:
[0099] Gas concentration peak refers to the maximum value of gas concentration recorded within a specific time period.
[0100] The rate of change of gas concentration is the speed at which the gas concentration changes per unit time.
[0101] VOC features, that is, extracting the concentration features of volatile organic compounds detected by the VOC sensor.
[0102] Earthquake environment characteristics:
[0103] Vibration intensity, that is, calculating the vibration amplitude and magnitude.
[0104] Vibration frequency, that is, extracting the frequency characteristics of the vibration waveform.
[0105] Security threat environment characteristics:
[0106] Door and window status, that is, recording the switch status changes of doors and windows.
[0107] Human activity features, that is, extracting the frequency and position features of human activities detected by infrared sensors.
[0108] In the present invention, data fusion includes time series alignment, spatial integration and feature combination.
[0109] Time alignment means aligning various sensor data by timestamp to ensure the consistency of data from different sources at the same time point. Spatial integration means integrating multi-sensor data of the same type to improve the reliability and accuracy of the data. Feature combination means combining different types of feature data together to form a unified feature vector, that is, obtaining feature fusion data. For example: combining features such as smoke concentration change rate, temperature change rate, flame characteristics, gas concentration peak, vibration intensity, etc. into a feature vector.
[0110] 4. The decision support system uses machine learning algorithms to analyze the feature fusion data, determine the current surrounding environment of the civil air defense door, and output the final control decision. If the current surrounding environment is one environment, the final control decision is the basic control decision corresponding to the environment. If the current surrounding environment is a combination of multiple environments, the final control decision is a combination of the basic control decisions corresponding to multiple environments. Figure 2 As shown, the details are as follows:
[0111] (1) Normalize the feature fusion data so that all feature values are within the same magnitude range.
[0112] (2) Construct an environmental classification model and train it using historical surrounding environment data and corresponding control decisions. Figure 3 As shown, the details are as follows:
[0113] 1) Build an environment classification model based on a neural network, including an input layer, a hidden layer, and an output layer.
[0114] The input feature vector size of the input layer is n (the number of all features extracted).
[0115] The hidden layer includes hidden layer 1 and hidden layer 2; the number of neurons in hidden layer 1 is h1, and the activation function is ReLU; the number of neurons in hidden layer 2 is h2, and the activation function is ReLU.
[0116] The number of output neurons in the output layer is m (the number of classification types, 5 in the scenario of the present invention), and the activation function is Softmax, which is used for multi-classification tasks.
[0117] 2) Collect and annotate historical data sets containing various environmental features and corresponding control decisions, perform data normalization and one-hot encoding, and then divide them into training and validation sets with a sample size ratio of 4:1;
[0118] 3) The unselected training samples X in the training set i Input neural network and calculate output prediction value
[0119]
[0120] Among them, X i is the i-th training sample, W1 and W2 are the weight matrices of the hidden layer and the output layer respectively, b1 and b2 are the bias vectors of the hidden layer and the output layer respectively, ReLU is the activation function, and Softmax is the activation function.
[0121] 4) Use the cross entropy loss function to calculate the predicted value and the true label Y i The loss between them is L;
[0122]
[0123] Among them, Y ij is the j-th class true label of the i-th sample, and its value is 0 or 1, indicating whether the sample belongs to the j-th class. is the predicted probability of the jth class of the ith sample, N is the number of samples, and m is the number of environmental types.
[0124] 5) Calculate the gradient g of the loss L with respect to the model parameter θ t , use the Adam optimization algorithm to update the model parameters θ;
[0125] The formula for updating the model parameters θ is:
[0126]
[0127] Among them, θ t is the model parameter of the t-th iteration, η is the learning rate, β1 and β2 are momentum parameters, which are set to 0.9 and 0.999 respectively, and m t and v t are the first-order moment estimate and the second-order moment estimate of the gradient of the t-th iteration, m t-1 and v t-1 They are the first-order moment estimate and the second-order moment estimate of the gradient of the t-1th iteration respectively;
[0128] m t =β1m t-1 +(1-β1)g t
[0129]
[0130]
[0131] and They are m t and v t The bias correction value of
[0132]
[0133] ∈ is a small constant to prevent division by zero, here it is set to 10 -8 .
[0134] 6) Determine whether the number of training times reaches the maximum number of iterations N. If so, continue to step 7), otherwise jump to step 3);
[0135] 7) Use the validation set to verify the performance of the environment classification model, calculate the loss value and classification accuracy on the validation set, adjust the model hyperparameters accordingly to optimize the model performance, and then save the model parameters.
[0136] The calculation formula for classification accuracy is:
[0137]
[0138] Among them, A val is the classification accuracy, N val is the number of samples in the validation set, y val,i is the true label of the i-th sample in the validation set, is the predicted label of the i-th sample in the validation set.
[0139] (3) The normalized feature fusion data is input into the trained environment classification model, and the environment classification result is output.
[0140] (4) Output the final control decision based on the environmental classification result. If the current surrounding environment is one type of environment, the final control decision is the basic control decision corresponding to the environment. If the current surrounding environment is a combination of multiple environments, the final control decision is a combination of the basic control decisions corresponding to the multiple environments.
[0141] The final control decision expression is:
[0142]
[0143] Among them, BaseControlDecision c is the basic control decision corresponding to category c;
[0144]
[0145] Among them, θ is the preset probability threshold.
[0146] The following takes the combination of fire environment and harmful gas leakage environment as an example to explain the final control decision, namely:
[0147] When the system detects the simultaneous existence of a fire environment and a hazardous gas leakage environment, the final control decision should be based on the basic control decisions of the two environments, specifically:
[0148] Close and lock the civil air defense door:
[0149] It is necessary to prevent the spread of fire and to prevent harmful gases from entering the room. This measure is necessary and must be implemented in both environments.
[0150] To activate the fire alarm system:
[0151] The activation of the fire alarm system can promptly alert personnel to the occurrence of a fire and prompt them to respond quickly. Therefore, it is necessary to activate the fire alarm system.
[0152] Start the ventilation system to exhaust harmful gases:
[0153] Due to the existence of a harmful gas leakage environment, the ventilation system must be activated to exhaust the harmful gas and reduce harm to personnel.
[0154] Notify relevant personnel to evacuate and take protective measures:
[0155] Notify residents, staff and other personnel to evacuate: Not only should people be made aware of the fire and need to be evacuated, but they should also be reminded to take protective measures to prevent the inhalation of harmful gases.
[0156] Notify security patrols and firefighters that the fire needs to be dealt with promptly and that steps should be taken to deal with hazardous gas leaks.
[0157] Notify emergency rescue personnel: Ensure that emergency rescue personnel are aware of the situation and take appropriate protective measures for rescue.
[0158] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An intelligent control method for civil air defense doors based on surrounding environment perception, characterized in that: The following steps are involved: S1. Divide the surrounding environment into normal environment, fire environment, harmful gas leakage environment, earthquake environment and security threat environment, and each environment corresponds to a basic control decision; the basic control decision corresponding to the normal environment is to keep the civil air defense door in standby state, the door is closed and not locked, and normal entry and exit are allowed; the basic control decision corresponding to the fire environment is to immediately close and lock the civil air defense door, start the fire alarm system, and notify relevant personnel to evacuate; the basic control decision corresponding to the harmful gas leakage environment is to immediately close and lock the civil air defense door, start the ventilation system to exhaust the harmful gas, and notify relevant personnel to take protective measures; the basic control decision corresponding to the earthquake environment is to determine whether to close the civil air defense door according to the vibration intensity. If the vibration exceeds the set threshold, the civil air defense door is automatically closed and locked, and the personnel are notified to take refuge; the basic control decision corresponding to the security threat environment is to close and lock the civil air defense door, start the security alarm system, and notify the security personnel to check; S2. Use the surrounding environment perception module to obtain real-time surrounding environment data, including fire environment detection data, harmful gas leakage environment detection data, earthquake environment detection data and security threat environment detection data; S3, processing the real-time surrounding environment data through the data processing unit, including filtering, denoising, standardizing data, feature extraction and data fusion, to obtain feature fusion data; S4. The feature fusion data is analyzed by using a machine learning algorithm through the decision support system to determine the current surrounding environment of the civil defense door and output the final control decision. If the current surrounding environment is one environment, the final control decision is the basic control decision corresponding to the environment. If the current surrounding environment is a combination of multiple environments, the final control decision is a combination of basic control decisions corresponding to multiple environments.
2. According to claim 1, the intelligent control method of civil air defense door based on surrounding environment perception is characterized in that: In step S2, the surrounding environment perception module includes a fire environment detection sensor, a harmful gas leakage environment detection sensor, an earthquake environment detection sensor and a security threat environment detection sensor; the fire environment detection sensor includes a smoke sensor, a temperature sensor and a flame sensor; the harmful gas leakage environment detection sensor includes a gas sensor and a VOC sensor; the earthquake environment detection sensor includes a vibration sensor; the security threat environment detection sensor includes a door and window magnetic sensor and an infrared sensor.
3. According to claim 1, the intelligent control method of civil air defense door based on surrounding environment perception is characterized in that: In step S3, filtering is performed by using a low-pass filter to eliminate high-frequency noise of the surrounding environment data; De-noising is to use the mean filtering method to eliminate random noise and burst noise in the surrounding environment data; Standardized data processing is to convert various types of surrounding environment data to the same scale so that different types of data can be comparable.
4. According to claim 3, the intelligent control method of civil air defense door based on surrounding environment perception is characterized in that: The extracted feature data include fire environment characteristics, harmful gas leakage environment characteristics, earthquake environment characteristics and security threat environment characteristics; fire environment characteristics include smoke concentration change rate, temperature change rate and spectral characteristics; harmful gas leakage environment characteristics include gas concentration peak, gas concentration change rate and volatile organic compound concentration characteristics; earthquake environment characteristics include vibration intensity and vibration frequency; security threat environment characteristics include door and window status characteristics and human activity characteristics, and human activity characteristics include human activity frequency and position characteristics.
5. According to claim 4, the intelligent control method of civil air defense door based on surrounding environment perception is characterized in that: Data fusion includes temporal alignment, spatial integration, and feature combination; Timing Alignment is to align the extracted feature data by timestamp; spatial integration is to integrate the feature data belonging to the same environment type; feature combination is to combine the feature data of different environment types together to form a unified feature vector, that is, to obtain feature fusion data.
6. The intelligent control method for civil air defense doors based on surrounding environment perception according to claim 5 is characterized in that: Step S4 specifically includes the following steps: S41, normalizing the feature fusion data so that all feature values are within the same magnitude range; S42, constructing an environment classification model, and training the environment classification model using historical surrounding environment data and corresponding control decisions; S43, inputting the normalized feature fusion data into the trained environment classification model, and outputting the environment classification result; S44. Output a final control decision based on the environmental classification result. If the current surrounding environment is one environment, the final control decision is the basic control decision corresponding to the environment. If the current surrounding environment is a combination of multiple environments, the final control decision is a combination of the basic control decisions corresponding to the multiple environments.
7. The intelligent control method for civil air defense doors based on surrounding environment perception according to claim 6 is characterized in that: Step S42 specifically includes the following steps: S421. Construct an environment classification model based on a neural network, including an input layer, a hidden layer, and an output layer; the size of the input feature vector is the number of all extracted features; there are two hidden layers, and the activation function is the ReLU function; the number of neurons in the output layer is 5, and the activation function is the Softmax function; S422, collect and annotate historical data sets containing various environmental features and corresponding control decisions, perform data normalization and one-hot encoding, and then divide them into a training set and a validation set according to a sample size ratio of 4:1; S423, the unselected training samples X in the training set i Input neural network and calculate output prediction value S424. Calculate the predicted value using the cross entropy loss function and the true label Y i The loss between them is L; S425. Calculate the gradient g of the loss L with respect to the model parameter θ t , use the Adam optimization algorithm to update the model parameters θ; S426, determine whether the number of training times reaches the maximum number of iterations N, if so, continue to step S427, otherwise jump to step S423; S427. Use the validation set to verify the performance of the environment classification model, calculate the loss value and classification accuracy on the validation set, adjust the model hyperparameters accordingly to optimize the model performance, and then save the model parameters.
8. The intelligent control method for civil air defense doors based on surrounding environment perception according to claim 7 is characterized in that: In step S423, Among them, X i is the i-th training sample, W1 and W2 are the weight matrices of the hidden layer and the output layer respectively, b1 and b2 are the bias vectors of the hidden layer and the output layer respectively, ReLU is the activation function, and Softmax is the activation function. In step S424, the cross entropy loss function of the loss L is calculated as: Among them, Y ij is the j-th class true label of the i-th sample, and its value is 0 or 1, indicating whether the sample belongs to the j-th class. is the predicted probability of the jth class of the ith sample, N is the number of samples, and m is the number of environmental types; In step S425, the formula for updating the model parameter θ is: Among them, θ t is the model parameter of the t-th iteration, η is the learning rate, β1 and β2 are momentum parameters, and m t and v t are the first-order moment estimate and the second-order moment estimate of the gradient of the t-th iteration, m t-1 and v t-1 They are the first-order moment estimate and the second-order moment estimate of the gradient of the t-1th iteration respectively; m t =β1m t-1 +(1-β1)g t and They are m t and v t The bias correction value of ∈ is a small constant; In step S427, the calculation formula of classification accuracy is: Among them, A val is the classification accuracy, N val is the number of samples in the validation set, y val,i is the true label of the i-th sample in the validation set, is the predicted label of the i-th sample in the validation set.
9. The intelligent control method for civil air defense doors based on surrounding environment perception according to claim 8 is characterized in that: The expression of the final control decision in step S44 is: Among them, BaseControlDecision c is the basic control decision corresponding to category c; Among them, θ is the preset probability threshold.
Citation Information
Patent Citations
Fire safety door control method and system and readable storage medium
CN109653629A
Internet of Things system
CN116368355A
Intelligent security and protection integration method and system based on multi-source data fusion
CN117909325A
A management system of alarm contained gas and vibration sensor
KR102057319B1
IoT based fire and disaster management systems and methods
US20230034481A1
Cited By
Intelligent monitor and method for multi-parameter fusion analysis in natural gas pipeline operation
CN120537992A
Intelligent monitoring instruments and methods for multi-parameter fusion analysis in natural gas pipeline operation
CN120537992B
