Multimodal brain-computer interface character input method based on head movement signals and SSVEP
By combining head movement signals and the multimodal brain-computer interface method of SSVEP, and using the Transformer model to process the time and frequency domain characteristics of EEG signals, the problems of signal interference, visual fatigue and device discomfort in traditional SSVEP systems are solved, achieving high-accuracy character recognition and a comfortable user experience.
Patent Information
- Application Number
- CN202410985142.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Traditional multi-character, multi-frequency SSVEP systems suffer from signal interference, visual fatigue, decreased recognition accuracy, prolonged response time, and discomfort when wearing the device. Furthermore, they lack effective methods for fusing time-domain and frequency-domain features.
A multimodal brain-computer interface method based on head movement signals and SSVEP is adopted. The Transformer model is used to process time and frequency domain information. Signals are collected in real time through a wireless wearable EEG acquisition device. The head movement signals are used to control a virtual cursor. The linear support vector machine is used for feature classification to simplify the character recognition process.
It improves the accuracy of SSVEP signal recognition, reduces visual fatigue, simplifies the equipment preparation process, and enhances user experience and equipment comfort.
Smart Images

Figure CN118519539B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of EEG signal character input, and in particular to a multimodal brain-computer interface character input method and system based on head movement signals and SSVEP, and a multimodal brain-computer interface system. Background Art
[0002] When the human body is subjected to a visual stimulus of a fixed frequency flickering or changing pattern, the potential activity of the cerebral cortex will be modulated, resulting in a continuous response related to the stimulus frequency (at the fundamental frequency or multiple of the stimulus frequency). This response has a periodic rhythm similar to that of visual stimulation, which is steady-state visual evoked potentials (SSVEP). The SSVEP signal is manifested in the EEG signal as a spectrum peak at the stimulus frequency or harmonics in the power spectrum. By analyzing and detecting the frequency corresponding to the spectrum peak, the stimulus source of the user's visual gaze can be detected, thereby identifying the user's intention.
[0003] Traditional multi-character multi-frequency SSVEP systems rely on multiple stimuli with different flashing frequencies, each of which represents a specific character or command. The core challenge of this system is that it must be able to accurately identify and distinguish multiple different frequency components, which undoubtedly increases the complexity of signal processing and the difficulty of algorithm recognition. In this system, each character button flashes at a unique frequency, and the user generates a corresponding SSVEP response by looking at the corresponding button. After the system receives these responses, it must deeply analyze the EEG signals to find the components corresponding to each stimulus frequency, and then determine the character the user intends to select.
[0004] However, this system also faces a series of problems. First, stimulation of multiple frequencies may cause mutual interference between signals, thereby reducing the recognition accuracy. As the number of characters increases, the corresponding frequency number will also increase, which makes target recognition more difficult, the recognition accuracy may be reduced, and the response time will be prolonged. Secondly, the character spelling interface usually contains multiple characters, each of which is associated with a specific frequency. When these characters flash at the same time, users may feel visual fatigue, which may affect the long-term use of the system and user satisfaction. Finally, the decoding of SSVEP signals mainly relies on time domain or frequency domain information. At present, there is a lack of a method that can effectively extract time domain and frequency domain features at the same time and efficiently fuse these features, which limits the performance improvement of the SSVEP system. Developing algorithms that can handle multiple frequencies and accurately classify them undoubtedly increases the complexity of the system.
[0005] In addition, traditional EEG acquisition equipment requires complex wiring and environmental configuration before use, which increases preparation time, and its design may not focus enough on comfort, including too many electrodes and structures, resulting in discomfort when worn. In addition, the device needs to be coated with conductive glue before use, which increases the operation steps, and after use, the electrodes may adhere to the user's hair, requiring hair washing, affecting the user experience. Summary of the invention
[0006] The first purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and provide a multimodal brain-computer interface character input method based on head movement signals and SSVEP. The method integrates head movement signals and steady-state visual evoked potential (SSVEP) signals and adopts an advanced Transformer model, which can simultaneously process time domain and frequency domain information. This fusion helps to more comprehensively capture the time-frequency characteristics of the SSVEP signal, thereby significantly improving the recognition accuracy. In addition, the method also solves some major problems of the traditional SSVEP system during use, including visual fatigue that users are prone to, decreased recognition accuracy in a multi-character environment, and output response delays. At the same time, it also improves the problems of long experimental preparation time and uncomfortable wearing, thereby improving the user experience and practicality of operation, and has higher applicability and performance. For users with disabilities in their hands or upper limbs, a non-invasive interaction method is provided.
[0007] The second object of the present invention is to provide a multimodal brain-computer interface character input system based on head movement signals and SSVEP.
[0008] The third object of the present invention is to provide a multimodal brain-computer interface system based on head movement signals and SSVEP.
[0009] The first object of the present invention is achieved by the following technical solution: a multimodal brain-computer interface character input method based on head movement signals and SSVEP, comprising:
[0010] Arranging a virtual cursor and a plurality of character buttons in a character spelling interface, each character button being associated with a unique character;
[0011] The user's head movement signal is obtained in real time, and a virtual cursor is operated to move on the character spelling interface according to the head movement signal. When the virtual cursor moves to the target character and stays on it, the target character will periodically flash with a preset sinusoidal modulation signal to become a visual stimulation source. At this time, other characters will not flash. At the same time, the user is required to stare at the flashing target character, and the user's brain will be induced to generate an SSVEP signal and mark it through visual stimulation;
[0012] The user's EEG signal is sampled in real time, and bandpass filtering and notch processing are performed to obtain the processed EEG signal. The time domain and frequency domain features of the processed EEG signal are extracted based on the Transformer model, and the extracted time domain features and frequency domain features are spliced to obtain a feature matrix containing time-frequency information. A trained linear support vector machine is used to perform binary classification on the feature matrix, that is, to distinguish between a resting state and a task state, wherein the resting state indicates that the user is not looking at any stimulus, and the task state indicates that the user is looking at the stimulus that generates the SSVEP signal;
[0013] Based on the classification results, determine whether the user intends to click the button: if the classification result is a task state, it is considered that the user has the intention to click the button, the virtual cursor performs a click operation, and the corresponding target character is output and displayed in the output window; if the classification result is a static state, it is considered that the user has no intention to click the button, the virtual cursor does not perform a click operation, and the target character is not output or displayed.
[0014] Furthermore, users can use wireless wearable EEG acquisition equipment to sample EEG signals in real time, and the sampling frequency Set to 250HZ, intercept the EEG signal at a preset time after the EEG event marker, and obtain the EEG signal matrix , , R represents the set of real numbers, c Indicates the number of EEG signal channels of the wireless wearable EEG acquisition device. t The number of time points of the EEG signal representing the preset time, For a c OK t A real matrix of columns, The EEG signal is filtered by removing irrelevant frequency components through a 50HZ notch filter and a 5-30HZ bandpass filter. , ,in EEG No. Data at a moment, , express No. c Channels The EEG data value at the moment.
[0015] Furthermore, for the processed EEG signal , extracting EEG signals based on the Transformer model The time domain characteristics of , as follows:
[0016] Using EEG signals Temporal dependencies in EEG signals captured using the Transformer model The global context information from Extract the query vector , key vector Sum value vector , the specific calculation formula is as follows:
[0017] ;
[0018] ;
[0019] ;
[0020] In the formula, Linear It is a fully connected operation. , and is the weight; query vector From the original input data After linear transformation, it represents the query or attention information. In the self-attention mechanism, For use with key vector Compare to calculate the attention weight; key vector Also from the original input data After linear transformation, it represents the information used for comparison. In the self-attention mechanism, With query vector Compare to calculate the attention weight; value vector Also from the original input data Obtained through linear transformation, it represents the information that needs to be weighted summed;
[0021] Established through self-attention mechanism and and use the cosine similarity metric to make it possible to and key vector The similarities or differences between them are quantified by their respective directions in the feature space. By calculating the cosine similarity, the model can capture the correlation between EEG signals at different time points. It is used to calculate the query vector and key vector This function uses cosine similarity to measure the similarity or dissimilarity between two vectors. The calculation formula is as follows:
[0022] ;
[0023] use soft The max function calculates the attention weight and obtains the time domain similarity weight matrix , The weights in reflect the importance of EEG signals at different time points, and the self-attention mechanism enables the most prominent information to be captured and highlighted in the output representation. The calculation formula is as follows:
[0024] ;
[0025] In the formula, soft max is a function used to obtain weights on values;
[0026] Time domain similarity weight matrix With value vector Multiply them together to generate a weighted output matrix, which effectively emphasizes important features and suppresses irrelevant features. Therefore, the final output time domain feature of the time dimension is for:
[0027] ;
[0028] In the self-attention mechanism, the temporal similarity weight matrix Used for weighted sum value vector , to obtain the time domain features of the weighted output .
[0029] Furthermore, for the processed EEG signal , perform fast Fourier transform FFT , convert it from time domain to frequency domain, obtain frequency domain data matrix, and then use Transformer model to extract EEG signal Frequency domain characteristics , as follows:
[0030] The time domain data of each channel The frequency domain data of the channel is obtained by fast Fourier transform , g =1,2,…, c , , Indicates g Channels The EEG data value at the moment, The frequency domain data matrix is obtained by fast Fourier transform , yes The g elements, , frequency domain data The calculation formula is as follows:
[0031] ;
[0032] In the formula, N is the Fast Fourier Transform FFT The number of points, m is the frequency index, from 0 to N -1, is a complex exponential function, representing a complex number on the unit circle;
[0033] Use the Transformer model to process the fast Fourier transform FFT The obtained frequency domain data matrix ,from Extract the query vector , key vector Sum value vector , the calculation formula is as follows:
[0034] ;
[0035] ;
[0036] ;
[0037] ;
[0038] In the formula, Linear It is a fully connected operation. , , is the weight, is the function for calculating cosine similarity, represents the frequency domain similarity weight matrix, soft max is a function used to obtain weights on values, using soft The max function calculates the attention weight and obtains ; Query vector From the original input data After linear transformation, it represents the query or attention information. In the self-attention mechanism, For use with key vector Compare to calculate the attention weight; key vector Also from the original input data After linear transformation, it represents the information used for comparison. In the self-attention mechanism, With query vector Compare to calculate the attention weight; value vector Also from the original input data Obtained through linear transformation, it represents the information that needs to be weighted summed;
[0039] Frequency domain similarity weight matrix With value vector Multiply them together to generate a weighted output matrix, which effectively emphasizes important features and suppresses irrelevant features. Therefore, the final output frequency domain feature of the frequency domain dimension is for:
[0040] ;
[0041] In the self-attention mechanism, the frequency domain similarity weight matrix Used for weighted sum value vector , to obtain the frequency domain characteristics of the weighted output .
[0042] Furthermore, the wireless wearable EEG acquisition device includes a wireless wearable EEG amplifier, a cloth belt, an electrode wire and electrodes;
[0043] The wireless wearable EEG amplifier is used to collect EEG signals and head movement signals in real time, and is fixed in front of the cloth belt;
[0044] The left and right sides of the cloth belt are elastic cloth to adapt to different head sizes. The cloth for fixing the electrode at the rear is non-elastic material to prevent the cloth from deforming and causing the electrode position to move. Seven electrodes are arranged on the cloth belt according to the positions of the left mastoid A1, the right mastoid A2, O1, O2, P3, PZ, and P4 in the international EEG 10-20 system, including 5 signal electrodes, 1 reference electrode, and 1 ground electrode, wherein the left mastoid A1 is connected to the reference electrode, the right mastoid A2 is connected to the ground electrode, and O1, O2, P3, PZ, and P4 are connected to the signal electrode; when the user wears the wireless wearable EEG acquisition device, the position of the cloth belt is adjusted so that the wireless wearable EEG amplifier is located in the center of the forehead, and the electrodes at the rear of the cloth belt overlap with the position areas of O1, O2, P3, PZ, and P4 of the user's occipital region;
[0045] There are 7 electrode wires in total, corresponding to the 7 electrodes respectively, and used to connect the electrodes with the wireless wearable EEG amplifier to provide a signal channel;
[0046] An electrode structure is composed of a cavity cylinder, a tail cover and an electrode, which is used to fix the electrode position. The cavity cylinder is fixed on a cloth belt, and the tail cover is connected to the cavity cylinder and can be buckled on the top opening of the cavity cylinder to cover the opening and can be opened freely. The electrode is used to collect brain electrical signals and is embedded in the tail cover. When in use, after opening the tail cover, a gel with an adaptive structure is placed in the cavity cylinder, and then the tail cover is buckled on the cavity cylinder to achieve the conduction of brain electrical signals. In addition, there are circular holes in the center of the tail cover and the electrode, and conductive paste can be injected from the hole to make the conductive paste contact with the scalp and the electrode. There are 7 electrode structures, which are compatible with both gel and conductive paste to conduct brain electrical signals.
[0047] Further, for the training of the linear support vector machine, the specific situation is as follows:
[0048] The user's EEG signals in resting state and task state are collected, and bandpass filtering and notch processing are performed to obtain processed EEG signals. Time domain and frequency domain features of the processed EEG signals are extracted based on the Transformer model, and the extracted time domain features and frequency domain features are spliced to obtain two sets of feature matrices corresponding to the resting state and task state. The two sets of feature matrices are used to train the linear support vector machine for binary classification, that is, to distinguish between the resting state and the task state.
[0049] Furthermore, the head movement signal includes left and right head turns and up and down nodding movements.
[0050] The second object of the present invention is achieved by the following technical solution: a multimodal brain-computer interface character input system based on head movement signals and SSVEP, which is used to implement the above-mentioned multimodal brain-computer interface character input method based on head movement signals and SSVEP, comprising:
[0051] The data analysis module is used to analyze the data collected by the wireless wearable EEG acquisition device and separate it into head movement signals and 5-channel EEG signals;
[0052] A virtual cursor movement module is used to associate the user's head posture with the virtual cursor and control the movement of the virtual cursor in the character spelling interface;
[0053] A character spelling interface, including a virtual cursor and a number of character buttons, each character button is associated with a unique character;
[0054] The target character generation module is used to select a target character from a number of characters to generate visual stimulation and mark it. All character buttons use the same sinusoidal frequency modulation to flash periodically. When the virtual cursor moves to a character button and stays for a preset time, the character button is the target character. At this time, the target character flashes, and other characters do not flash. At the same time, the mark is sent to the wireless wearable EEG acquisition device;
[0055] The EEG signal preprocessing module is used to perform bandpass filtering, 50HZ notch filtering and artifact removal on the EEG signals of 5 channels;
[0056] The feature extraction module is used to decode the EEG signal from two different perspectives, time domain and frequency domain, and realize organic fusion to obtain a feature matrix containing time-frequency information;
[0057] The feature classification module is used to input the obtained feature matrix into the linear support vector machine for binary classification, that is, to distinguish between the resting state and the task state;
[0058] The character output module is responsible for displaying the characters selected or generated by the user through the virtual cursor on the output window. When the classification result shows that the user is in a task state, the virtual cursor will be controlled to perform a click operation and output the target character associated with the click button. This character will be displayed on the output window. If the classification result shows that the user is in a resting state, it will be considered that the user has no click intention, the virtual cursor will not perform a click operation, and the target character will not be output and displayed.
[0059] The third object of the present invention is achieved by the following technical solutions: a multimodal brain-computer interface system based on head movement signals and SSVEP, used to implement the above-mentioned multimodal brain-computer interface character input method based on head movement signals and SSVEP, which includes: a wireless wearable EEG acquisition device, a Bluetooth transceiver and a computer;
[0060] The wireless wearable EEG acquisition device collects the user's head movement signals and EEG signals in real time, performs posture calculation on the head movement signals, and performs filtering, amplification and AD conversion processing on the EEG signals, and then packages the calculated head movement signals and processed EEG signals and sends them to the Bluetooth transceiver;
[0061] The Bluetooth transceiver establishes a wireless communication connection with the wireless wearable EEG acquisition device via Bluetooth, and establishes a wired connection with the computer via a USB interface. After receiving the data sent by the wireless wearable EEG device, the Bluetooth transceiver transmits the data to the computer via the USB interface;
[0062] The computer includes a display, a memory and a processor, the display is used to display a character spelling interface, the memory is used to store executable program code, the memory is coupled to the processor, the display is coupled to the processor, and the processor is used to call and run the executable program code in the memory to execute the above-mentioned multimodal brain-computer interface character input method based on head movement signals and SSVEP.
[0063] Furthermore, the wireless wearable EEG acquisition device includes an EEG acquisition module, a head posture acquisition module and a Bluetooth processor module;
[0064] The EEG acquisition module collects data from 5 EEG channels. According to the international EEG 10-20 system distribution standard, the signal electrodes are 5 channels O1, O2, P3, PZ, and P4 in the occipital region, the reference electrode is the left mastoid A1, and the ground electrode is the right mastoid A2. The sampling frequency is set to 250 Hz.
[0065] The head posture acquisition module has a built-in 9-axis gyroscope and a motion processor, and the motion processor performs posture calculation on the 9-axis data collected by the 9-axis gyroscope and outputs a head movement signal;
[0066] The Bluetooth processor module is used to drive the EEG acquisition module and the head posture acquisition module, and obtain EEG signals and head movement signals, and package the data and send them to the Bluetooth transceiver through its Bluetooth communication unit.
[0067] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0068] The user manipulates the virtual cursor through simple head movements (including gentle left and right turns and subtle up and down nodding movements) to select the target character button on the character spelling interface. The target character button flashes periodically with a preset sinusoidal modulation signal, while other character buttons remain stationary and do not emit a flashing signal. This design strategy is intended to induce the user to produce a specific SSVEP response. Since only a single target character button flashes each time a stimulus source is generated, this approach significantly reduces the generation of interfering frequency signals and reduces the user's visual fatigue. In addition, all character buttons use the same preset sinusoidal modulation signal. Compared with the traditional multi-character and multi-frequency SSVEP system, the present invention greatly simplifies the recognition difficulty of SSVEP and improves the recognition accuracy and response speed. At the same time, the character spelling interface supports the expansion of the number of character buttons without affecting the recognition accuracy.
[0069] The algorithm adopted by the present invention integrates the Transformer model of time domain and frequency domain, which can fully capture the time-frequency information of SSVEP signal, thereby effectively improving the accuracy of SSVEP signal recognition. The system provides a variety of character targets, including numbers, English letters, common punctuation marks and function keys, so that users can easily dial, input pinyin and write English content.
[0070] The present invention adopts a wireless wearable design. Compared with traditional EEG acquisition equipment, it does not require cumbersome wiring and environmental configuration, which greatly shortens the preparation time before use. In addition, the design of the device focuses on wearing comfort, eliminating electrodes and structures that are not related to the system, making the device lighter and more breathable than traditional EEG caps. The wireless wearable EEG acquisition device supports the assembly of gel electrodes, avoiding the trouble of applying conductive glue before using traditional EEG equipment. After use, the gel electrode will not adhere to the user's hair, and there is no need to wash the hair, which improves the comfort of the user experience. Overall, the present invention provides a short preparation time, excellent breathability and excellent wearing experience, making it a more convenient and comfortable EEG acquisition solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 This is a schematic diagram of the character spelling interface disclosed in Example 1 of the present invention.
[0072] Figure 2 This is a schematic diagram of the structure of the wireless wearable EEG acquisition device disclosed in Example 1 of the present invention.
[0073] Figure 3 This is an architectural diagram of the multimodal brain-computer interface character input system based on head movement signals and SSVEP disclosed in Example 2 of the present invention.
[0074] Figure 4 This is a schematic diagram of the structure of a multimodal brain-computer interface system based on head movement signals and SSVEP disclosed in Example 3 of the present invention. DETAILED DESCRIPTION
[0075] The present invention is further described in detail below in conjunction with embodiments and drawings, but the embodiments of the present invention are not limited thereto.
[0076] Example 1
[0077] This embodiment discloses a multimodal brain-computer interface character input method based on head movement signals and SSVEP, including:
[0078] Arranging a virtual cursor and a plurality of character buttons in a character spelling interface, each character button being associated with a unique character;
[0079] The user's head movement signal is obtained in real time, and a virtual cursor is operated to move on the character spelling interface according to the head movement signal. When the virtual cursor moves to the target character and stays on it, the target character will periodically flash with a preset sinusoidal modulation signal to become a visual stimulation source. At this time, other characters will not flash. At the same time, the user is required to stare at the flashing target character, and the user's brain will be induced to generate an SSVEP signal and mark it through visual stimulation;
[0080] The user's EEG signal is sampled in real time, and bandpass filtering and notch processing are performed to obtain the processed EEG signal. The time domain and frequency domain features of the processed EEG signal are extracted based on the Transformer model, and the extracted time domain features and frequency domain features are spliced to obtain a feature matrix containing time-frequency information. A trained linear support vector machine (SVM) is used to perform binary classification on the feature matrix, that is, to distinguish between the resting state and the task state, wherein the resting state indicates that the user is not looking at any stimulus, and the task state indicates that the user is looking at the stimulus that generates the SSVEP signal;
[0081] Based on the classification results, determine whether the user intends to click the button: if the classification result is a task state, it is considered that the user has the intention to click the button, the virtual cursor performs a click operation, and the corresponding target character is output and displayed in the output window; if the classification result is a static state, it is considered that the user has no intention to click the button, the virtual cursor does not perform a click operation, and the target character is not output or displayed.
[0082] Specifically, the user wears the EEG device, opens the character spelling interface, faces the center of the character spelling interface with the user's eyes, and initializes the virtual cursor position so that the virtual cursor is located in the blank space in the center of the screen of the character spelling interface.
[0083] In an embodiment of the present invention, the EEG device is a wireless wearable EEG acquisition device that integrates head posture acquisition and EEG signal acquisition functions. The EEG signal channels are no less than 5 channels, and the structure of the EEG device can facilitate the arrangement of electrodes in the occipital area of the user's brain. According to the standard position in the international 10-20 system, 5 channels in the occipital area including O1, O2, P3, PZ, and P4 are selected for recording EEG signals, and the sampling frequency is set to 250HZ.
[0084] See also Figure 1 As shown, there are 49 character buttons a arranged in a 7×7 matrix in the character spelling interface, including 10 numeric keys (0-9), 26 English letter keys (AZ), "," key, "." key, "?" key, "+" key, "-" key, "*" key, " / " key, "@" key, "space" key, "backspace" key, "delete" key, "enter" key and "uppercase to lowercase" key. Output window b is arranged in the character spelling interface for character output display.
[0085] After connecting the wireless wearable EEG acquisition device, the user's eyes face the blank space in the middle of the screen, and a prompt will appear to start initialization. The virtual cursor is positioned in the blank space in the center of the screen. At the same time, the head posture data is collected and recorded (i.e., head movement signal). The virtual cursor position corresponding to this posture data is defined as the origin, and a prompt of successful initialization will pop up. The user can move the virtual cursor on the screen by changing the head posture. Methods for changing the head posture include slight head adjustments, including gentle left and right turns of the head and subtle up and down nodding movements.
[0086] Specifically, in the embodiment of the present invention, the user controls the movement of the virtual cursor by changing the head posture. When the virtual cursor moves to the character button, the timer is started to calculate the virtual cursor dwell time, and it is determined whether the dwell time is greater than 0.2S. If it is greater, the character button is considered to be the user's target character, and the target character is periodically flashed with a preset sinusoidal modulation signal. If the dwell time is less than 0.2S, the character button does not flash. If the character button is not the user's target character, the head posture can be continuously changed until the target character is selected.
[0087] In the embodiment of the present invention, the 49 character buttons in the character spelling interface are arranged in a preset order and are marked as 1-49 in sequence. Each button corresponds to a unique character and index, and each button is modulated with the same sinusoidal frequency. The sinusoidal modulation signal The formula is:
[0088] ;
[0089] In the formula, For time, and They represent the initial phase and initial frequency of the sinusoidal modulation signal respectively.
[0090] Choose 13HZ, but not limited to 13HZ, 0 can be selected, but it is not limited to 0, and the phase can be selected in the range of 0-2π.
[0091] In the embodiment of the present invention, a marking operation is performed while the target character is flashing. When the wireless wearable EEG acquisition device receives the mark, it inserts the mark into the EEG signal at the corresponding moment.
[0092] In the embodiment of the present invention, the user is required to gaze at the flashing target character and keep the head posture as unchanged as possible during the gaze of the target character, so as to induce the user's SSVEP.
[0093] Specifically, users use wireless wearable EEG acquisition equipment to sample EEG signals in real time, and the sampling frequency Set it to 250HZ, intercept the EEG signal at a preset time after the EEG event marker, where the preset time is set to 1S, and get the EEG signal matrix , , R represents the set of real numbers, c Indicates the number of EEG signal channels of the wireless wearable EEG acquisition device. t The number of time points of the EEG signal representing the preset time, For a c OK t A real matrix of columns, The EEG signal is filtered by removing irrelevant frequency components through a 50HZ notch filter and a 5-30HZ bandpass filter. , ,in EEG No. Data at a moment, , express No. c Channels The EEG data value at the moment.
[0094] Specifically, for the processed EEG signal , extracting EEG signals based on the Transformer model The time domain characteristics of , as follows:
[0095] Using EEG signals Temporal dependencies in EEG signals captured using the Transformer model The global context information from Extract the query vector , key vector Sum value vector , the specific calculation formula is as follows:
[0096] ;
[0097] ;
[0098] ;
[0099] In the formula, Linear It is a fully connected operation. , and is the weight; query vector From the original input data After linear transformation, it represents the query or attention information. In the self-attention mechanism, For use with key vector Compare to calculate the attention weight; key vector Also from the original input data After linear transformation, it represents the information used for comparison. In the self-attention mechanism, With query vector Compare to calculate the attention weight; value vector Also from the original input data Obtained through linear transformation, it represents the information that needs to be weighted summed;
[0100] Established through self-attention mechanism and and use the cosine similarity metric to make it possible to and key vector The similarities or differences between them are quantified by their respective directions in the feature space. By calculating the cosine similarity, the model can capture the correlation between EEG signals at different time points. It is used to calculate the query vector and key vector This function uses cosine similarity to measure the similarity or dissimilarity between two vectors. The calculation formula is as follows:
[0101] ;
[0102] use soft The max function calculates the attention weight and obtains the time domain similarity weight matrix , The weights in reflect the importance of EEG signals at different time points, and the self-attention mechanism enables the most prominent information to be captured and highlighted in the output representation. The calculation formula is as follows:
[0103] ;
[0104] In the formula, soft max is a function used to obtain weights on values;
[0105] Time domain similarity weight matrix With value vector Multiply them together to generate a weighted output matrix, which effectively emphasizes important features and suppresses irrelevant features. Therefore, the final output time domain feature of the time dimension is for:
[0106] ;
[0107] In the self-attention mechanism, the temporal similarity weight matrix Used for weighted sum value vector , to obtain the time domain features of the weighted output .
[0108] Specifically, for the processed EEG signal , perform fast Fourier transform FFT , convert it from time domain to frequency domain, obtain frequency domain data matrix, and then use Transformer model to extract EEG signal Frequency domain characteristics , as follows:
[0109] The time domain data of each channel The frequency domain data of the channel is obtained by fast Fourier transform , g =1,2,…, c , , Indicates g Channels The EEG data value at the moment, The frequency domain data matrix is obtained by fast Fourier transform , yes The g elements, , frequency domain data The calculation formula is as follows:
[0110] ;
[0111] In the formula, N is the Fast Fourier Transform FFT The number of points, m is the frequency index, from 0 to N -1, is a complex exponential function, representing a complex number on the unit circle;
[0112] Use the Transformer model to process the fast Fourier transform FFT The obtained frequency domain data matrix ,from Extract the query vector , key vector Sum value vector , the calculation formula is as follows:
[0113] ;
[0114] ;
[0115] ;
[0116] ;
[0117] In the formula, Linear It is a fully connected operation. , , is the weight, is the function for calculating cosine similarity, represents the frequency domain similarity weight matrix, soft max is a function used to obtain weights on values, using soft The max function calculates the attention weight and obtains ; Query vector From the original input data After linear transformation, it represents the query or attention information. In the self-attention mechanism, For use with key vector Compare to calculate the attention weight; key vector Also from the original input data After linear transformation, it represents the information used for comparison. In the self-attention mechanism, With query vector Compare to calculate the attention weight; value vector Also from the original input data Obtained through linear transformation, it represents the information that needs to be weighted summed;
[0118] Frequency domain similarity weight matrix With value vector Multiply them together to generate a weighted output matrix, which effectively emphasizes important features and suppresses irrelevant features. Therefore, the final output frequency domain feature of the frequency domain dimension is for:
[0119] ;
[0120] In the self-attention mechanism, the frequency domain similarity weight matrix Used for weighted sum value vector , to obtain the frequency domain characteristics of the weighted output .
[0121] Specifically, and The two features are concatenated to obtain a feature matrix containing time-frequency information .
[0122] Specifically, the Transformer model is usually composed of multiple layers, each of which contains a multi-head self-attention mechanism and a feedforward network (MLP) block. Layer normalization is performed before each block to ensure that the input data of each block has stable statistical properties within the layer. Layer normalization ensures that the input data of each block has stable statistical properties, the multi-head self-attention mechanism allows the model to focus on different parts of the input sequence at the same time, and the feedforward network block further enhances the expressiveness of the features. In this way, the Transformer model can effectively process time series data and extract useful features from it.
[0123] Layer Normalization is a normalization technique that normalizes each hidden state to have a mean of 0 and a variance of 1. This normalization helps speed up learning and improve the stability of the model.
[0124] The Multi-Head Self-Attention mechanism is a core component of the Transformer model. It allows the model to focus on different parts of the input sequence at the same time. Multi-Head Self-Attention divides the input data into multiple "heads", each head uses a different weight matrix to calculate the attention weight, and then concatenates the outputs of these heads and integrates them through a linear layer.
[0125] A feedforward network (MLP) block is a neural network containing two or more fully connected layers, usually used for nonlinear transformations. In the Transformer model, the feedforward network block is usually located after the self-attention layer to further enhance the expressiveness of the features.
[0126] Specifically, see Figure 2 As shown, the wireless wearable EEG acquisition device includes a wireless wearable EEG amplifier 401 , a cloth belt 402 , an electrode wire 403 and an electrode 406 .
[0127] The wireless wearable EEG amplifier 401 is used to collect EEG signals and head movement signals in real time, and is fixed in front of the cloth belt 402;
[0128] The left and right sides of the cloth belt 402 are elastic cloth, which can be stretched and contracted to adapt to different head sizes. The cloth for fixing the electrode at the rear is a non-elastic material to prevent the cloth from deforming and causing the electrode position to move. Seven Ag / AgCl electrodes 406 are arranged on the cloth belt 402 according to the positions of the left mastoid (A1), the right mastoid (A2), O1, O2, P3, PZ, and P4 in the international EEG 10-20 system, including 5 signal electrodes, 1 reference electrode, and 1 ground electrode, wherein the left mastoid (A1) is connected to the reference electrode, the right mastoid (A2) is connected to the ground electrode, and O1, O2, P3, PZ, and P4 are connected to the signal electrode; when the user wears the wireless wearable EEG acquisition device, the position of the cloth belt 402 is adjusted so that the wireless wearable EEG amplifier 401 is located in the center of the forehead, and the electrodes at the rear of the cloth belt 402 overlap with the position areas of O1, O2, P3, PZ, and P4 of the user's occipital region;
[0129] There are 7 electrode wires 403, corresponding to the above 7 electrodes respectively, with a reserved length according to the maximum head shape, used to connect the Ag / AgCl electrode 406 and the wireless wearable EEG amplifier 401 to provide a signal channel;
[0130] The electrode structure is composed of a cavity cylinder 404, a tail cover 405 and an electrode 406, which is used to fix the electrode position. The cavity cylinder 404 is fixed on the cloth belt 402, and the tail cover 405 is connected to the cavity cylinder 404. It can be buckled at the top opening of the cavity cylinder 404 to cover the opening, or it can be opened freely. The electrode 406 is used to collect EEG signals and is embedded in the tail cover 405. The material is Ag / AgCl. After opening the tail cover 405, a gel of an adaptive structure is placed in the cavity cylinder 404, and then the tail cover 405 is buckled on the cavity cylinder 404 to realize the conduction of EEG signals. It should be noted that the material of the electrode is not limited to Ag / AgCl, and gold, silver, copper, titanium, stainless steel and other materials can also be used to meet different application scenarios and performance requirements. There are circular holes in the center of the tail cap 405 and the electrode 406, and conductive paste can be injected from the holes to make the conductive paste contact the scalp and the electrode 406. The electrode structure has 7 electrodes, which are compatible with both gel and conductive paste to conduct EEG signals. When the gel is used to contact the scalp, the user does not need to wash the hair, but when the conductive paste is used, the user needs to wash the hair for cleaning.
[0131] Specifically, for the training of the linear support vector machine (SVM), the specific situation is as follows:
[0132] The user's EEG signals in resting state and task state are collected, and bandpass filtering and notch processing are performed to obtain processed EEG signals. Time domain and frequency domain features of the processed EEG signals are extracted based on the Transformer model, and the extracted time domain features and frequency domain features are spliced to obtain two sets of feature matrices corresponding to the resting state and task state. The two sets of feature matrices are used to train the linear support vector machine for binary classification, that is, to distinguish between the resting state and the task state.
[0133] Example 2
[0134] This embodiment discloses a multimodal brain-computer interface character input system based on head movement signals and SSVEP, which is used to implement the multimodal brain-computer interface character input method based on head movement signals and SSVEP described in Example 1, see Figure 3 As shown, it includes the following functional modules:
[0135] The data analysis module 301 is used to analyze the data collected by the wireless wearable EEG acquisition device and separate it into head movement signals and 5-channel EEG signals;
[0136] A virtual cursor moving module 302 is used to associate the user's head posture with the virtual cursor and control the movement of the virtual cursor in the character spelling interface;
[0137] A character spelling interface 303 includes a virtual cursor and a plurality of character buttons, each character button being associated with a unique character;
[0138] The target character generation module 304 is used to select a target character from a number of characters to generate visual stimulation and mark it. All character buttons use the same sine frequency modulation to periodically flash. When the virtual cursor moves to a character button and stays for a preset time, the character button is the target character. At this time, the target character flashes, and other characters do not flash. At the same time, the mark is sent to the wireless wearable EEG acquisition device;
[0139] The EEG signal preprocessing module 305 is used to perform bandpass filtering, 50 Hz notch filtering and artifact removal processing on the EEG signals of the five channels;
[0140] The feature extraction module 306 is used to decode the EEG signal from two different perspectives, time domain and frequency domain, and realize organic fusion to obtain a feature matrix containing time-frequency information;
[0141] The feature classification module 307 is used to input the obtained feature matrix into a linear support vector machine (SVM) for binary classification, i.e., distinguishing between a resting state and a task state;
[0142] The character output module 308 is responsible for displaying the characters selected or generated by the user through the virtual cursor on the output window b. When the classification result shows that the user is in the task state, the virtual cursor will be controlled to perform a click operation and output the target character associated with the click button. This character will be displayed on the output window b. If the classification result shows that the user is in the resting state, it will be considered that the user has no intention to click, the virtual cursor will not perform the click operation, and the target character will not be output and displayed.
[0143] Example 3
[0144] This embodiment discloses a multimodal brain-computer interface system based on head movement signals and SSVEP, which is used to implement the multimodal brain-computer interface character input method based on head movement signals and SSVEP described in Example 1, see Figure 4 As shown, it includes: a wireless wearable EEG acquisition device 201, a Bluetooth transceiver 202 and a computer 203;
[0145] The wireless wearable EEG acquisition device 201 acquires the user's head movement signal and EEG signal in real time, performs posture calculation on the head movement signal, and performs filtering, amplification and AD conversion processing on the EEG signal, and then packages the calculated head movement signal and the processed EEG signal and sends them to the Bluetooth transceiver;
[0146] The Bluetooth transceiver 202 establishes a wireless communication connection with the wireless wearable EEG acquisition device 201 via Bluetooth, and establishes a wired connection with the computer 203 via a USB interface. After receiving the data sent by the wireless wearable EEG device 201, the Bluetooth transceiver 202 transmits the data to the computer 203 via the USB interface;
[0147] The computer 203 includes a display, a memory and a processor, the display is used to display a character spelling interface, the memory is used to store executable program codes, the memory is coupled to the processor, the display is coupled to the processor, and the processor is used to call and run the executable program codes in the memory to execute the multimodal brain-computer interface character input method based on head movement signals and SSVEP described in Example 1.
[0148] Specifically, the wireless wearable EEG acquisition device 201 includes an EEG acquisition module, a head posture acquisition module and a Bluetooth processor module;
[0149] The EEG acquisition module collects data from 5 EEG channels. According to the international EEG 10-20 system distribution standard, the signal electrodes are 5 channels O1, O2, P3, PZ, and P4 in the occipital region, the reference electrode is the left mastoid (A1), and the ground electrode is the right mastoid (A2). The sampling frequency is set to 250 Hz.
[0150] The head posture acquisition module has a built-in 9-axis gyroscope and a motion processor, and the motion processor performs posture calculation on the 9-axis data collected by the 9-axis gyroscope and outputs a head movement signal;
[0151] The Bluetooth processor module is used to drive the EEG acquisition module and the head posture acquisition module, and obtain EEG signals and head movement signals, and package the data and send them to the Bluetooth transceiver through its Bluetooth communication unit.
[0152] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A multimodal brain-computer interface character input method based on head movement signals and SSVEP, characterized in that: include: Arranging a virtual cursor and a plurality of character buttons in a character spelling interface, each character button being associated with a unique character; The user's head movement signal is obtained in real time, and a virtual cursor is operated to move on the character spelling interface according to the head movement signal. When the virtual cursor moves to the target character and stays on it, the target character will periodically flash with a preset sinusoidal modulation signal to become a visual stimulation source. At this time, other characters will not flash. At the same time, the user is required to stare at the flashing target character, and the user's brain will be induced to generate an SSVEP signal and mark it through visual stimulation; The user's EEG signal is sampled in real time, and bandpass filtering and notch processing are performed to obtain the processed EEG signal. The time domain and frequency domain features of the processed EEG signal are extracted based on the Transformer model, and the extracted time domain features and frequency domain features are spliced to obtain a feature matrix containing time-frequency information. A trained linear support vector machine is used to perform binary classification on the feature matrix, that is, to distinguish between a resting state and a task state, wherein the resting state indicates that the user is not looking at any stimulus, and the task state indicates that the user is looking at the stimulus that generates the SSVEP signal; According to the classification result, it is determined whether the user intends to click the button: if the classification result is a task state, it is considered that the user has the intention to click the button, the virtual cursor performs a click operation, and the corresponding target character is output and displayed in the output window; if the classification result is a resting state, it is considered that the user has no intention to click the button, the virtual cursor does not perform a click operation, and the target character is not output or displayed; Users use wireless wearable EEG acquisition devices to sample EEG signals in real time. The sampling frequency Set to 250HZ, intercept the EEG signal at a preset time after the EEG event marker, and obtain the EEG signal matrix , , R represents the set of real numbers, c Indicates the number of EEG signal channels of the wireless wearable EEG acquisition device. t The number of time points of the EEG signal representing the preset time, For a c OK t A real matrix of columns, The EEG signal is filtered by removing irrelevant frequency components through a 50HZ notch filter and a 5-30HZ bandpass filter. , ,in EEG No. Data at a moment, , express No. c Channels EEG data value at the moment; For the processed EEG signal , extracting EEG signals based on the Transformer model The time domain characteristics of , as follows: Using EEG signals Temporal dependencies in EEG signals captured using the Transformer model The global context information from Extract the query vector , key vector Sum value vector , the specific calculation formula is as follows: ; ; ; In the formula, Linear It is a fully connected operation. , and is the weight; query vector From the original input data After linear transformation, it represents the query or attention information. In the self-attention mechanism, For use with key vector Compare to calculate the attention weight; key vector Also from the original input data After linear transformation, it represents the information used for comparison. In the self-attention mechanism, With query vector Compare to calculate the attention weight; value vector Also from the original input data Obtained through linear transformation, it represents the information that needs to be weighted summed; Established through self-attention mechanism and and use the cosine similarity metric to make it possible to and key vector The similarities or differences between them are quantified by their respective directions in the feature space. By calculating the cosine similarity, the model can capture the correlation between EEG signals at different time points. It is used to calculate the query vector and key vector This function uses cosine similarity to measure the similarity or dissimilarity between two vectors. The calculation formula is as follows: ; use soft The max function calculates the attention weight and obtains the time domain similarity weight matrix , The weights in reflect the importance of EEG signals at different time points, and the self-attention mechanism enables the most prominent information to be captured and highlighted in the output representation. The calculation formula is as follows: ; In the formula, soft max is a function used to obtain weights on values; Time domain similarity weight matrix With value vector Multiply them together to generate a weighted output matrix, which effectively emphasizes important features and suppresses irrelevant features. Therefore, the final output time domain feature of the time dimension is for: ; In the self-attention mechanism, the temporal similarity weight matrix Used for weighted sum value vector , to obtain the time domain features of the weighted output ; For the processed EEG signal , perform fast Fourier transform FFT , convert it from time domain to frequency domain, obtain frequency domain data matrix, and then use Transformer model to extract EEG signal Frequency domain characteristics , as follows: The time domain data of each channel The frequency domain data of the channel is obtained by fast Fourier transform , g =1,2,…, c , , Indicates g Channels The EEG data value at the moment, The frequency domain data matrix is obtained by fast Fourier transform , yes The g elements, , frequency domain data The calculation formula is as follows: ; In the formula, N is the Fast Fourier Transform FFT The number of points, m is the frequency index, from 0 to N -1, is a complex exponential function, representing a complex number on the unit circle; Use the Transformer model to process the fast Fourier transform FFT The obtained frequency domain data matrix ,from Extract the query vector , key vector Sum value vector , the calculation formula is as follows: ; ; ; ; In the formula, Linear It is a fully connected operation. , , is the weight, is the function for calculating cosine similarity, represents the frequency domain similarity weight matrix, soft max is a function used to obtain weights on values, using soft The max function calculates the attention weight and obtains ; Query vector From the original input data After linear transformation, it represents the query or attention information. In the self-attention mechanism, For use with key vector Compare to calculate the attention weight; key vector Also from the original input data After linear transformation, it represents the information used for comparison. In the self-attention mechanism, With query vector Compare to calculate the attention weight; value vector Also from the original input data Obtained through linear transformation, it represents the information that needs to be weighted summed; Frequency domain similarity weight matrix With value vector Multiply them together to generate a weighted output matrix, which effectively emphasizes important features and suppresses irrelevant features. Therefore, the final output frequency domain feature of the frequency domain dimension is for: ; In the self-attention mechanism, the frequency domain similarity weight matrix Used for weighted sum value vector , to obtain the frequency domain characteristics of the weighted output ; For the training of the linear support vector machine, the specific situation is as follows: The user's EEG signals in resting state and task state are collected, and bandpass filtering and notch processing are performed to obtain processed EEG signals. Time domain and frequency domain features of the processed EEG signals are extracted based on the Transformer model, and the extracted time domain features and frequency domain features are spliced to obtain two sets of feature matrices corresponding to the resting state and task state. The two sets of feature matrices are used to train the linear support vector machine for binary classification, that is, to distinguish between the resting state and the task state.
2. The multimodal brain-computer interface character input method based on head movement signals and SSVEP according to claim 1, characterized in that: The wireless wearable EEG acquisition device comprises a wireless wearable EEG amplifier, a cloth belt, an electrode wire and electrodes; The wireless wearable EEG amplifier is used to collect EEG signals and head movement signals in real time, and is fixed in front of the cloth belt; The left and right sides of the cloth belt are elastic cloth to adapt to different head sizes. The cloth for fixing the electrode at the rear is non-elastic material to prevent the cloth from deforming and causing the electrode position to move. Seven electrodes are arranged on the cloth belt according to the positions of the left mastoid A1, the right mastoid A2, O1, O2, P3, PZ, and P4 in the international EEG 10-20 system, including 5 signal electrodes, 1 reference electrode, and 1 ground electrode, wherein the left mastoid A1 is connected to the reference electrode, the right mastoid A2 is connected to the ground electrode, and O1, O2, P3, PZ, and P4 are connected to the signal electrode; when the user wears the wireless wearable EEG acquisition device, the position of the cloth belt is adjusted so that the wireless wearable EEG amplifier is located in the center of the forehead, and the electrodes at the rear of the cloth belt overlap with the position areas of O1, O2, P3, PZ, and P4 of the user's occipital region; There are 7 electrode wires in total, corresponding to the 7 electrodes respectively, and used to connect the electrodes with the wireless wearable EEG amplifier to provide a signal channel; An electrode structure is composed of a cavity cylinder, a tail cover and an electrode, which is used to fix the electrode position. The cavity cylinder is fixed on a cloth belt, and the tail cover is connected to the cavity cylinder and can be buckled on the top opening of the cavity cylinder to cover the opening and can be opened freely. The electrode is used to collect brain electrical signals and is embedded in the tail cover. When in use, after opening the tail cover, a gel with an adaptive structure is placed in the cavity cylinder, and then the tail cover is buckled on the cavity cylinder to achieve the conduction of brain electrical signals. In addition, there are circular holes in the center of the tail cover and the electrode, and conductive paste can be injected from the hole to make the conductive paste contact with the scalp and the electrode. There are 7 electrode structures, which are compatible with both gel and conductive paste to conduct brain electrical signals.
3. The multimodal brain-computer interface character input method based on head movement signals and SSVEP according to claim 1, characterized in that: The head movement signals include left and right head turns and up and down nodding movements.
4. A multimodal brain-computer interface character input system based on head movement signals and SSVEP, characterized in that: A multimodal brain-computer interface character input method based on head movement signals and SSVEP for implementing any one of claims 1 to 3, comprising: The data analysis module is used to analyze the data collected by the wireless wearable EEG acquisition device and separate it into head movement signals and 5-channel EEG signals; A virtual cursor movement module is used to associate the user's head posture with the virtual cursor and control the movement of the virtual cursor in the character spelling interface; A character spelling interface, including a virtual cursor and a number of character buttons, each character button is associated with a unique character; The target character generation module is used to select a target character from a number of characters to generate visual stimulation and mark it. All character buttons use the same sinusoidal frequency modulation to flash periodically. When the virtual cursor moves to a character button and stays for a preset time, the character button is the target character. At this time, the target character flashes, and other characters do not flash. At the same time, the mark is sent to the wireless wearable EEG acquisition device; The EEG signal preprocessing module is used to perform bandpass filtering, 50HZ notch filtering and artifact removal on the EEG signals of 5 channels; The feature extraction module is used to decode the EEG signal from two different perspectives, time domain and frequency domain, and realize organic fusion to obtain a feature matrix containing time-frequency information; The feature classification module is used to input the obtained feature matrix into the linear support vector machine for binary classification, that is, to distinguish between the resting state and the task state; The character output module is responsible for displaying the characters selected or generated by the user through the virtual cursor on the output window. When the classification result shows that the user is in a task state, the virtual cursor will be controlled to perform a click operation and output the target character associated with the click button. This character will be displayed on the output window. If the classification result shows that the user is in a resting state, it will be considered that the user has no click intention, the virtual cursor will not perform a click operation, and the target character will not be output and displayed.
5. A multimodal brain-computer interface system based on head movement signals and SSVEP, characterized in that: A multimodal brain-computer interface character input method based on head movement signals and SSVEP for implementing any one of claims 1 to 3, comprising: a wireless wearable EEG acquisition device, a Bluetooth transceiver and a computer; The wireless wearable EEG acquisition device collects the user's head movement signals and EEG signals in real time, performs posture calculation on the head movement signals, and performs filtering, amplification and AD conversion processing on the EEG signals, and then packages the calculated head movement signals and processed EEG signals and sends them to the Bluetooth transceiver; The Bluetooth transceiver establishes a wireless communication connection with the wireless wearable EEG acquisition device via Bluetooth, and establishes a wired connection with the computer via a USB interface. After receiving the data sent by the wireless wearable EEG device, the Bluetooth transceiver transmits the data to the computer via the USB interface; The computer includes a display, a memory and a processor, the display is used to display a character spelling interface, the memory is used to store executable program codes, the memory is coupled to the processor, the display is coupled to the processor, and the processor is used to call and run the executable program codes in the memory to execute the multimodal brain-computer interface character input method based on head movement signals and SSVEP as described in any one of claims 1 to 3.
6. The multimodal brain-computer interface system based on head movement signals and SSVEP according to claim 5, characterized in that: The wireless wearable EEG acquisition device includes an EEG acquisition module, a head posture acquisition module and a Bluetooth processor module; The EEG acquisition module collects data from 5 EEG channels. According to the international EEG 10-20 system distribution standard, the signal electrodes are 5 channels O1, O2, P3, PZ, and P4 in the occipital region, the reference electrode is the left mastoid A1, and the ground electrode is the right mastoid A2. The sampling frequency is set to 250 Hz. The head posture acquisition module has a built-in 9-axis gyroscope and a motion processor, and the motion processor performs posture calculation on the 9-axis data collected by the 9-axis gyroscope and outputs a head movement signal; The Bluetooth processor module is used to drive the EEG acquisition module and the head posture acquisition module, and obtain EEG signals and head movement signals, and package the data and send them to the Bluetooth transceiver through its Bluetooth communication unit.
Citation Information
Patent Citations
Combined brain-computer interface method and device based on SSVEP (Steady-State Visually Evoked Potentials) and P300
CN103399639A
Brain-computer interfaces and use thereof
US20130130799A1
