Smart helmet system based on EEG-NIRS and MHGAT

The smart helmet system that collects EEG-NIRS information and recognizes MHGAT signals solves the shortcomings of monitoring working status in high-risk operations, realizes real-time monitoring and timely warnings for personnel working at heights, and improves safety assurance and accident prevention capabilities.

CN114903247BActive Publication Date: 2024-09-17WUHAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210691827.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2024-09-17
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

The existing technology lacks effective monitoring means to monitor the working status of high-risk workers in real time, especially in high-climbing operations, and cannot promptly prevent safety risks caused by drunkenness or physical discomfort.

Method used

A smart helmet system based on EEG-NIRS information collection and MHGAT signal recognition is designed. It monitors the wearer's brain status in real time through the brainwave signal collection module, cloud platform and monitoring alarm unit, and uses DTW composition and multi-head attention. The mechanism extracts features, identifies the user's level of wakefulness, and provides timely warnings through voice prompts or buzzer alarms.

Benefits of technology

It achieves rapid and accurate monitoring of the brain status of high-risk workers, improves safety, reduces the risk of accidents through real-time alarms, and improves the ability to prevent incidents beforehand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114903247B
    Figure CN114903247B
Patent Text Reader

Abstract

The present invention discloses an intelligent helmet system based on EEG-NIRS information collection and MHGAT signal recognition, including a helmet, a cloud platform, and a user APP terminal; wherein a brain wave signal collection module, an ARM core control board, a WiFi module, and a monitoring alarm unit are installed in the helmet; the brain wave signal collection module is a TGAM module, which is used to collect the wearer's EEG-NIRS signal and transmit it to the cloud platform via the WiFi module; after the cloud platform collects the features of the EEG-NIRS signal, the DTW composition method is first used to construct the collected signal into a graph data with a topological structure, and then input it into the MHGAT model, relying on the application of the multi-head attention mechanism, extracting discriminative features at multiple scales for the judgment of brain wave signals. Determine the real-time human brain awakeness of the user. The present invention can provide an intelligent solution to the problem of personnel safety protection in high-risk areas.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of safety monitoring, and in particular to an intelligent safety helmet system based on EEG-NIRS information collection and MHGAT signal recognition. Background Art

[0002] The most basic safety requirement for workers in high-risk areas such as power systems is to wear safety helmets when performing construction work. For height climbing work, workers are also required to be in good physical condition. They are not suitable for height climbing work when they are drunk, have a fever, or are inattentive. However, because workers are working on site and safety officers cannot follow every worker to the site, there is still a lack of effective monitoring methods for drunken work, physical illness, etc. in the existing technology. Compared with post-rescue, the importance of pre-prevention is self-evident. Therefore, it is important to propose a monitoring device that can monitor workers in advance and give timely alarm feedback.

[0003] Through the analysis of wireless medical products currently on the market, it is found that at a time when wireless detection equipment is so popular, a system that can monitor the working status of high-altitude and high-risk workers in real time and intelligently is still urgently needed. Summary of the invention

[0004] The main purpose of the present invention is to provide a smart helmet which uses a wireless EEG detection system in conjunction with a helmet to realize EEG-NIRS information collection and wireless connection functions.

[0005] The technical solution adopted by the present invention is:

[0006] Provided is an intelligent helmet system based on EEG-NIRS information collection and MHGAT signal recognition, including a helmet, a cloud platform, and a user APP terminal; wherein the helmet is equipped with an EEG signal collection module, an ARM core control board, a WiFi module, and a monitoring alarm unit;

[0007] The EEG signal acquisition module is a TGAM module, which is used to collect the wearer's EEG-NIRS signal and transmit it to the cloud platform via the WiFi module;

[0008] After the cloud platform extracts the features of the EEG-NIRS signal, it first uses the DTW composition method to construct the EEG signal into a graph data with a topological structure, and then inputs it into the MHGAT model. Relying on the application of the multi-head attention mechanism, it extracts discriminative features at multiple scales for rolling bearing fault diagnosis, identifies the user's brain working state, and determines the user's real-time brain alertness. When the cloud platform detects that the user is in a state of decreased concentration, it sends a control signal to the monitoring and alarm unit through the remote control ARM core control board, generates a voice prompt, and guides the user to adjust the working state. When it is detected that the user has entered a state of meditation or confusion, the ARM core control board controls the buzzer of the monitoring and alarm unit to trigger an alarm, prompting the user to terminate work. The cloud platform will also send corresponding prompt information to the safety officer who is remotely monitoring the user's APP end, so that he can quickly rush to the scene and take corresponding emergency protection measures.

[0009] Following the above technical solution, the prompt alarm unit is provided with two early warning modes for selection, one is a voice prompt mode, which prompts the user to adjust the working status through a locally stored voice prompt message; the other is an alarm mode, which tells the user to terminate high-risk work activities when the user is unclear.

[0010] According to the above technical solution, the user APP interacts with the cloud platform, and performs system settings, user information entry, work parameter entry, real-time display of EEG-NIRS signal analysis results, and historical work status change curve display on the user APP; when working, the user APP uploads the user's basic information and relevant parameters of the work mode settings to the cloud platform, and obtains the results of the human brain wakefulness level from the cloud platform.

[0011] According to the above technical solution, the monitoring alarm unit includes a human body resonance part, which uses a VS1053 decoding chip for audio decoding, an internal integrated audio amplifier, and an external bone conduction vibrator; the ARM core control board reads the corresponding stored voice prompt message according to the control parameters sent back by the cloud platform, sends it to the decoding chip for decoding, and plays it to the user through the bone conduction vibrator.

[0012] According to the above technical solution, the EEG signal acquisition module includes EEG acquisition and brain oxygen acquisition, which is arranged in the area where the cap cover and the brim of the cap shell are connected, including EEG electrodes placed in the forehead area of ​​the brain, brain oxygen light-emitting diodes and photosensitive diode circuits, EEG signal preprocessing circuits, high-precision ADC circuits, LED drive circuits and brain oxygen signal preprocessing circuits; the EEG electrodes and brain oxygen light-emitting diodes are arranged in an array and embedded on the front inner side of the helmet cap, in direct contact with the wearer's forehead skin.

[0013] According to the above technical solution, the brain wave signal acquisition module is provided with three dry contact points at the forehead of the helmet.

[0014] According to the above technical solution, the TGAM module includes a TGAT chip, the signal sampling frequency is 512 Hz, and includes a UART serial port standard output interface.

[0015] Following the above technical solution, the Wi-Fi module transmits data with the cloud platform through the TCP / IP protocol. The Wi-Fi module uses the ESP-826 chip.

[0016] The beneficial effects of the present invention are as follows: for the local time offset problem of EEG vibration signal, DTW is introduced as an evaluation index, independent time series samples are constructed as a neighbor graph, and the geometric structure information between nodes in the graph is used as unbalanced signal samples and supplementary information is provided, thereby improving the ability of the diagnostic model to process EEG signals in different situations and multiple tasks, and improving the classification performance of the model. In view of the problems of poor generalization performance and high time consumption of EEG signal recognition methods based on deep learning under complex conditions, an EEG signal recognition model based on MHGAT is proposed. First, the dynamic time warping composition method is used to construct the signal into a graph data with a topological structure, and then it is input into the MHGAT model. Relying on the application of the multi-head attention mechanism, discriminative features are extracted at multiple scales for the diagnosis of EEG signals. The main purpose of the helmet algorithm module of the present invention is to extract the features of EEG signals. The previous method of extracting features using deep learning only mines the deep features of the samples and ignores the information of the neighbor nodes of the EEG signals. The EEG signal recognition based on the multi-head attention mechanism proposed by the present invention takes into account the information of the neighbor nodes, and the algorithm has good robustness, high accuracy and strong feature extraction ability. Therefore, the final analysis of the helmet's status is faster and more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0018] Figure 1 1 is a schematic diagram of the overall structure of an intelligent helmet system based on EEG-NIRS and MHGAT according to an embodiment of the present invention;

[0019] Figure 2 is a diagram of the hardware architecture of the system according to an embodiment of the present invention;

[0020] Figure 3 This is the overall structure diagram of the cloud platform of the embodiment of the present invention

[0021] Figure 4 is a flow chart of brain wave signal recognition according to an embodiment of the present invention;

[0022] Figure 5 This is a flowchart of a DTW algorithm composition according to an embodiment of the present invention;

[0023] Figure 6 It is a diagram of the construction of the MHGAT model of an embodiment of the present invention;

[0024] Figure 7 is a calculation graph based on the DTW composition method according to an embodiment of the present invention;

[0025] Figure 8 It is a functional design block diagram of the user APP of an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0027] like Figure 1 , 2 As shown, the intelligent safety helmet system based on EEG-NIRS information collection and MHGAT signal recognition in an embodiment of the present invention includes a safety helmet, a cloud platform, and a user APP terminal; wherein an EEG signal collection module, an ARM core control board, a WiFi module, and a monitoring and alarm unit are installed in the safety helmet.

[0028] Among them, the brain wave signal acquisition module is a TGAM module, which is used to collect the wearer's EEG-NIRS signal and transmit it to the cloud platform via the WiFi module;

[0029] After extracting the features of the EEG-NIRS signal, the cloud platform extracts discriminative features at multiple scales for EEG signal recognition to determine the user's real-time brain alertness level; when the cloud platform detects that the user is in a state of decreased concentration, it remotely controls the ARM core control board to send a control signal to the monitoring and alarm unit, generates voice prompts, and guides the user to adjust the working state; when it is detected that the user has entered a state of meditation or confusion, the ARM core control board controls the buzzer of the monitoring and alarm unit to trigger an alarm, prompting the user to terminate work. The cloud platform will also send corresponding prompt information to the safety officer who is remotely monitoring the user on the APP side, so that he can quickly rush to the scene and take corresponding emergency protection measures.

[0030] The present invention designs the EEG-NIRS signal acquisition module, the cloud analysis system and the feedback system based on the MHGAT signal processing and pattern recognition module, and realizes the accurate acquisition of brain waves, local storage of data and cloud platform storage, 24-hour dynamic monitoring and early warning, and timely early warning. It can also be presented to users through a visual APP.

[0031] In the EEG signal acquisition module, the TGAM module is mainly used to collect EEG-NIRS signals. The TGAM module is a highly integrated EEG sensor developed by Shennian. So far, millions of EEG devices around the world have used this TGAM module to collect brain waves. It can be said that using the TGAM module to collect brain waves is already a very mature and effective method.

[0032] Furthermore, the EEG acquisition unit is mainly composed of an EEG acquisition module and a brain oxygen acquisition module. The brain state acquisition system is arranged as a whole in the area where the cap cover and the brim of the cap body are connected, which mainly includes EEG electrodes placed in the forehead area of ​​the brain, brain oxygen light-emitting diodes and photosensitive diode circuits, EEG signal preprocessing circuits, high-precision ADC circuits, LED drive circuits and brain oxygen signal preprocessing circuits; EEG sensors and brain oxygen sensors are arranged in an array and embedded on the front inner side of the cap for direct contact with the wearer's forehead skin.

[0033] The WiFi module mainly uses Wi-Fi technology for data transmission under the TCP / IP protocol, which has the advantages of fast speed, high reliability, and long communication distance. The Wi-Fi chip uses ESP-8266, which can send the data output by ADC directly to the cloud platform. Its hardware implementation is simple and easy to reduce the size of the device. It is the best choice for this patent.

[0034] like Figure 3 As shown in the figure, the cloud platform mainly includes two main parts, the EEG signal processing algorithm and the brain oxygen signal processing algorithm. Real-time EEG-NIRS signal data is uploaded to the cloud platform via the acquisition device. After the cloud platform collects the EEG-NIRS signal, it first uses the DTW composition method to construct the EEG signal into a graph data with a topological structure, and then inputs it into the MHGAT model. Relying on the application of the multi-head attention mechanism, it extracts discriminative features at multiple scales for rolling bearing fault diagnosis, identifies the user's brain working state, and determines the user's real-time human brain wakefulness. Combined with the user's age, gender, and historical data, personalized analysis is performed. The real-time wakefulness working state will be used as a feedback parameter to adjust the working state of the intelligent monitoring system. In addition, the cloud platform can collect EEG-NIRS signal data and corresponding information and indicators of a large number of users, making the monitoring alarm standard more accurate.

[0035] The present invention provides two early warning mode options for users, one is a voice prompt mode, which prompts users to adjust their work status through locally stored voice prompt messages; the other is an alarm mode, which tells users to terminate high-risk work activities when they are confused.

[0036] like Figure 4Flowchart for brain wave signal recognition.

[0037] First, the signals collected by the cloud platform are preprocessed. Due to the different types and fluctuations of brain wave signals, the amplitudes of the collected signals will also be different. In the standard evaluation system, each signal may have different dimensions and orders of magnitude. When the amplitudes of multiple signals vary greatly, if the original index values ​​are directly used for analysis, the role of the index with higher values ​​in the classification will be highlighted, and the role of the index with lower values ​​will be relatively weakened. Therefore, in order to ensure the reliability of the results, the original signal needs to be standardized. Normalization of data is to scale the data so that it falls into a specific interval. It is often used in the processing of some comparison and evaluation indicators to remove the unit restrictions of the data and convert it into a dimensionless pure value, so that indicators of different units or magnitudes can be compared and weighted.

[0038] For the collected original EEG signal X, the maximum-minimum normalization operation is performed. The standardized data can improve the convergence speed of the MHGAT model in subsequent training, improve the accuracy of the model, and avoid the model gradient explosion to a certain extent. The normalization process can be expressed as the formula

[0039]

[0040] Among them, X nol represents the standardized data, X is the original vibration signal to be standardized, X max Indicates the maximum amplitude of the vibration signal, X min Indicates the minimum amplitude of the vibration signal.

[0041] After standardization is completed, the standardized data is divided into several sub-samples x i Represents one of the standardized samples, n is the number of samples, and m represents the number of samples of the sample feature (for example, if the sampling points are 1024 points, then the number of samples here is 1024).

[0042] like Figure 5 , which is a graph construction method based on dynamic time warping (DTW). Figure 5 The time domain samples {x1, x2, ..., x n}, converted into graph domain data {v1,v2,...,v n}∈G(V,E).

[0043] Dynamic Time Warping (DTW) constructs a neighbor graph. DTW is a nonlinear warping technique that combines time normalization and distance metric calculation. It can ignore the shortcomings of the monitoring signal time step not being aligned and solve the problem of local time offset. i and x j Characteristics of h i and h j ,h i and h j Represents the signal after sampling, and the amplitude of vibration reflects the characteristics of the sample. Figure 7 As shown in the figure, firstly, the cumulative Euclidean distance matrix of the two samples is calculated according to the formula D(a, b), then a shortest backtracking path from D(m, m) to D(1, 1) is found, and finally the sum of the distances on the shortest backtracking path is taken as the similarity of the two samples. The calculation diagram of DTW is shown in the figure. Figure 2-6 shown.

[0044]

[0045] The above formula represents the calculation formula of DTW, which calculates the distance between two samples, where d() represents the distance between points a and b, D() is the total cumulative distance, and a and b represent each sampling point of the signal (refer to Figure 7 The horizontal axis represents a signal, and the vertical axis also represents a signal. Each number in the signal represents the distance, while a and b represent each point of the vibration signal.)

[0046] The smaller the DTW between samples, the higher their similarity. Figure 7 As shown in the figure, the DTW distances between samples are sorted, and according to the K nearest neighbor criterion, the K samples with the highest similarity are connected through the edge e. In this way, the independent samples in the Euclidean space are constructed into a graph G with a topological structure. The sample set constitutes the node set V, the connections between samples constitute the edge set E, and the sample features are used as node features. Therefore, we use Figure 5 As a graph construction method based on dynamic time warping (DTW).

[0047] like Figure 6The MHGAT model is constructed (the model is a graph neural network, and its input must be a graph. According to the DTW measurement condition, the shortest distance between two samples can be iterated, and the graph is constructed through this shortest distance, and then input into the network for recognition, that is, the graph constructed by the DTW above). The EEG diagnosis model based on MHGAT consists of two graph attention layers (GAL) and a fully connected layer (FC). The parameters corresponding to the two rolling bearing data sets (the number of heads in the attention layer and the number of neurons in the output layer) are set as shown. In order to avoid overfitting of the model, a dropout layer is added between each network layer. The cross-entropy function is also selected as the loss function, and Adam is used as the optimizer this time.

[0048] MHGAT parameter settings

[0049]

[0050] The pseudo code of the EEG signal recognition algorithm based on MHGAT is as follows:

[0051]

[0052] The MHGAT algorithm is chosen because:

[0053] Time shift: The input graph data structure of the graph neural network is usually constructed by a composition method based on Euclidean distance. The measurement of Euclidean distance usually faces a problem: local time shifting, that is, for the same signal, the calculated Euclidean distance is very large due to the time step deviation.

[0054] There is also a lot of information between adjacent nodes of EEG signals, but traditional deep learning methods ignore the information of neighboring nodes. The edges of graph data can represent the connection relationship between vertices and provide additional supplementary information for the model, but in traditional neural networks, the relationship information between data is expressed through sample features. In other words, CNN and RNN do not express this relationship explicitly, but indirectly express the association information of data through different sample features.

[0055] In contrast, GNN is a connection model that obtains dependencies in the graph by passing information between nodes in the network. GNN updates the node state from neighbors at any depth of the node, and this state can represent information. GNN learns features by propagating them separately on each node, thereby ignoring the order of the nodes, which means that the output of GNN will be different depending on the input. GNN updates the hidden state of the node by weighted summation of adjacent nodes.

[0056] The attention mechanism is an important concept in neural networks, with advantages such as fewer parameters, fast speed, and good effect. The attention mechanism enables the network to focus on the important parts of things, ignore the minor parts, and process various things more effectively. It was originally used in machine translation, but has now been applied to various fields of neural networks. Similarly, the attention mechanism can also be applied to graph neural networks. Graph attention networks (GAT) are a graph neural network based on the attention mechanism proposed by Bengio et al. in 2018. It can learn different weights of different nodes in the neighborhood without prior knowledge of the global structure of the graph, nor does it require complex matrix operations like GCN, so GAT can complete model training faster.

[0057] The Multi Head Graph Attention Networks (MHGAT) consists of multiple Graph Attention Layers (GAL). The entire calculation process is divided into three steps: First, the attention coefficients between adjacent nodes are calculated. Second, the node information is aggregated by weighted summation. Finally, the multi-head attention mechanism is used to capture the influence of neighbor nodes on the central node from different angles, and aggregate and propagate information.

[0058] like Figure 8 As shown in the figure, the function of the APP user end is to interact with the system and the user, and can realize system settings, user information entry, work parameter entry, real-time display of the results of EEG-NIRS signal analysis by MHGAT signal processing and pattern recognition module, and display of the change curve of historical work status. When working, the APP will upload the user's basic information and the relevant parameters of the work mode setting to the cloud platform, and obtain the results of the human brain wakefulness from the cloud platform, thereby realizing data visualization and personalized human-computer interaction experience.

[0059] The present invention mainly adopts TGAM module to collect EEG-NIRS signals. TGAM module is a highly integrated EEG sensor developed by Shennian Company. TGAM module includes TGAT chip, which is a highly integrated single chip EEG sensor. The sampling frequency of the signal is 512Hz, and it can output three Neurosky eSense parameters, can perform analog-to-digital conversion, detect abnormal state of poor contact, filter out electrooculogram noise and 50 / 60hz AC interference. The module can process and output brain wave band data and frequency spectrum such as brain wave α, β, EEG signal quality, original brain wave and three Neurosky eSense parameters: concentration, relaxation and blink detection. The interface with the human body only needs a simple dry contact point. Its advanced filtering technology can eliminate the noise of the environment in daily life, so that the chip can be used in consumer devices of general users outside hospitals. The module includes a UART serial port standard output interface, supports three output baud rates of 1200, 9600 and 57600, and the operating voltage is about 3.3V.

[0060] Commonly used wireless data transmission technologies include infrared, Bluetooth, and Wi-Fi. The cloud platform used in this invention needs to use Wi-Fi technology to transmit data under the TCP / IP protocol, which has the advantages of fast speed, high reliability, and long communication distance. The Wi-Fi chip uses ESP-8266, which can send the data output by ADC directly to the cloud platform. Its hardware implementation is simple and easy to reduce the size of the device. It is the best choice for this work.

[0061] Taking the above into consideration, the EEG signal acquisition device designed by the present invention and located at the front end of the user's wearable device is composed of 3 dry electrodes, a TGAM EEG signal acquisition module, an ESP-8266 Wi-Fi module, and a power module.

[0062] The monitoring alarm unit of the present invention is mainly a voice prompt and alarm device in the front end of the wearable device, which is used to remind the user of the working status and suggest work behavior. The voice prompt alarm part reminds the user to pay attention to his current working status by playing the prompt voice stored locally or directly alarming, so as to choose to adjust or terminate the work. The voice conveys the message to the user through the bone conduction vibrator. The device uses the STM32F103RCT6 processor with ARM core as the core control module. When working, the cloud platform sends instructions to the Wi-Fi module, and the instructions are passed to the ARM processor to control the working status of other peripherals.

[0063] The monitoring alarm unit includes a human body resonance part, which uses VS1053 for audio decoding. It has an integrated audio amplifier and can be directly connected to a bone conduction vibrator. The circuit is simple. The ARM processor reads the corresponding voice prompt message stored in the SD card according to the control parameters sent back by the cloud platform, sends it to the decoding chip for decoding, and plays it to the user through the vibrator.

[0064] The buzzer alarm part completes the alarm prompt service of forcibly terminating the user's work, thereby raising the user's vigilance.

[0065] Therefore, the voice prompt and alarm device involved in this patent is composed of an STM32F103RCT6 microcontroller, a VS1053 audio decoding chip, a buzzer, a power module, etc.

[0066] Smart helmets based on EEG-NIRS information collection realize personalized monitoring and early warning, and expand the functions of helmets in safety protection; electroencephalogram (EEG) and near-infrared spectroscopy technology are low-cost and can be continuously detected; bone conduction will bring users a more comfortable experience than traditional headphones; workers are not allowed to wear headphones while working and wearing traditional headphones for too long will cause user fatigue and affect human ear health; the brain state analysis model based on EEG-NIRS can make a more accurate judgment on the user's brain clarity.

[0067] The cloud platform of the present invention includes two main parts, an EEG-NIRS signal acquisition system and a cloud analysis system and feedback system based on MHGAT signal processing and pattern recognition module. Real-time EEG signal data is uploaded to the cloud platform via an EEG signal acquisition device. After the cloud platform extracts the features of the EEG-NIRS signal, the EEG signal is constructed as a graph data with a topological structure using the DTW composition method, and then input into the MHGAT model. Relying on the application of the multi-head attention mechanism, the features with discriminative power are extracted on multiple scales for the fault diagnosis of rolling bearings, and personalized brain concentration state analysis is performed in combination with user age, gender, and historical data. Real-time brain awakeness data will be used as a feedback parameter to adjust the working state of the brain concentration state analysis system. In addition, the cloud platform can collect the EEG data of a large number of users and the corresponding information and indicators, and use a large amount of data to self-optimize itself, so that the analysis is more accurate.

[0068] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. An intelligent helmet system based on EEG-NIRS information collection and MHGAT signal recognition, characterized in that: It includes a safety helmet, a cloud platform, and a user APP terminal; the safety helmet is equipped with a brain wave signal acquisition module, an ARM core control board, a WiFi module, and a monitoring and alarm unit; The EEG signal acquisition module is a TGAM module, which is used to collect the wearer's EEG-NIRS signal and transmit it to the cloud platform via the WiFi module; After the cloud platform extracts the features of the EEG-NIRS signal, it first uses the DTW composition method to construct the EEG signal into a graph data with a topological structure, and then inputs it into the MHGAT model. Relying on the application of the multi-head attention mechanism, it extracts discriminative features at multiple scales to identify the user's brain working state and judge the user's real-time brain wakefulness. When the cloud platform detects that the user is in a state of decreased concentration, it sends a control signal to the monitoring and alarm unit through the remote control ARM core control board, generates a voice prompt, and guides the user to adjust the working state. When it is detected that the user has entered a state of meditation or confusion, the ARM core control board controls the buzzer of the monitoring and alarm unit to trigger an alarm, prompting the user to stop working. The cloud platform will also send corresponding prompt information to the safety officer who is remotely monitoring the user's APP end, so that he can quickly rush to the scene and take corresponding emergency protection measures. There are two early warning modes to choose from in the prompt alarm unit. One is the voice prompt mode, which prompts the user to adjust the working status through the locally stored voice prompt message; the other is the alarm mode, which tells the user to terminate the high-risk work activities when the user is not clear-headed. The user APP interacts with the cloud platform, and performs system settings, user information entry, work parameter entry, real-time display of EEG-NIRS signal analysis results, and display of historical work status change curves on the user APP. When working, the user APP uploads the user's basic information and relevant parameters of the work mode settings to the cloud platform, and obtains the results of the human brain wakefulness from the cloud platform; The EEG signal acquisition module includes EEG acquisition and brain oxygen acquisition, which is arranged in the area where the cap cover and the brim of the cap body are connected, including EEG electrodes placed in the forehead area of ​​the brain, brain oxygen light-emitting diodes and photosensitive diode circuits, EEG signal preprocessing circuits, high-precision ADC circuits, LED drive circuits and brain oxygen signal preprocessing circuits; the EEG electrodes and brain oxygen light-emitting diodes are arranged in an array and embedded on the front inner side of the helmet cap, in direct contact with the wearer's forehead skin.

2. The intelligent helmet system based on EEG-NIRS information acquisition and MHGAT signal recognition according to claim 1 is characterized in that: The monitoring and alarm unit includes a human body resonance part, which uses a VS1053 decoding chip for audio decoding, an internal integrated audio amplifier, and an external bone conduction vibrator; the ARM core control board reads the corresponding stored voice prompt message according to the control parameters sent back by the cloud platform, sends it to the decoding chip for decoding, and plays it to the user through the bone conduction vibrator.

3. The intelligent helmet system based on EEG-NIRS information acquisition and MHGAT signal recognition according to claim 1 is characterized in that: The EEG signal acquisition module is provided with three dry contact points on the forehead of the helmet.

4. The intelligent helmet system based on EEG-NIRS information acquisition and MHGAT signal recognition according to claim 1 is characterized in that: The TGAM module includes a TGAT chip, the signal sampling frequency is 512Hz, and includes a UART serial port standard output interface.

5. The intelligent helmet system based on EEG-NIRS information acquisition and MHGAT signal recognition according to claim 1 is characterized in that: The Wi-Fi module transmits data with the cloud platform through the TCP / IP protocol. The Wi-Fi module uses the ESP-826 chip.