Brain-computer interface system, electroencephalogram signal processing method, electronic equipment and medium
By using deep learning technology and closed-loop feedback adjustment modules in the brain-computer interface system to analyze and interpret EEG signals, the problems of unstable treatment effects and device complexity in traditional systems are solved, and an efficient and personalized brain-computer interface is achieved. treat.
Patent Information
- Application Number
- CN202410530796.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-08-23
AI Technical Summary
Traditional brain-computer interface systems have shortcomings in real-time debugging and personalized treatment mechanisms in the treatment of neurological and psychiatric diseases, resulting in unstable and unpredictable treatment effects. The equipment is large, heavy, and complex to operate, which limits its use in daily life. applications in.
Provides a brain-computer interface system, including an acquisition module, a signal transmission module and a signal processing module. It acquires neural activity status information and intention information through acquisition, preprocessing, detection and identification, synchronous regulation and decoding of EEG signals, using a recurrent neural network It performs deep learning decoding with the long and short-term memory network, and combines it with the closed-loop feedback adjustment module to achieve personalized treatment.
It improves the overall performance and reliability of the brain-computer interface system, achieves accurate analysis and interpretation of EEG signals, improves the stability and predictability of treatment effects, meets the individual needs of different patients, and improves the quality of life. .
Smart Images

Figure CN118535892A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of brain-computer interface and neural regulation, and in particular to a brain-computer interface system, an electroencephalogram signal processing method, an electronic device and a medium. Background Art
[0002] Brain-Machine Interface (BMI) refers to a direct connection created between the human or animal brain and an external device to achieve information exchange between the brain and the device. Its mechanism of action is to bypass peripheral nerves and muscles and directly establish a new communication and control channel between the brain and external devices. It captures brain signals through a limited number of channels and converts them into electrical signals to achieve control of external devices (such as computers, robotic arms, etc.). Traditional brain-computer interface systems have deficiencies in real-time debugging and personalized treatment mechanisms, resulting in unstable and unpredictable treatment effects. These problems restrict its widespread application and in-depth research in the treatment of neurological and psychiatric diseases. Summary of the invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a brain-computer interface system, an electroencephalogram signal processing method, an electronic device and a medium, which can improve the overall performance and reliability of the brain-computer interface system, and facilitate the wide application and in-depth research of the brain-computer interface system in the treatment of neurological and psychiatric diseases.
[0004] In order to achieve the above objectives, the technical solutions provided by the embodiments of the present disclosure are as follows:
[0005] In a first aspect, the present disclosure provides a brain-computer interface system, comprising:
[0006] An acquisition module, used for acquiring EEG signals;
[0007] A signal transmission module, used for transmitting the EEG signal to the signal processing module;
[0008] The signal processing module is used to detect and identify the preprocessed EEG signals to obtain neural activity state information and neural activity regulation mode; and to synchronously regulate the EEG signals to obtain EEG signal data, and decode the preprocessed EEG signals and EEG signal data to obtain neural activity intention information.
[0009] As an optional implementation of the embodiment of the present disclosure, the signal processing module includes a preprocessing module: the preprocessing module is used to preprocess the EEG signal; wherein the preprocessing includes: removing power frequency interference, re-referencing, depolarization, discrete Fourier transform and interpolation reconstruction. At least one of the following.
[0010] As an optional implementation of the embodiment of the present disclosure, the signal processing module includes a signal detection and identification module, which is used to detect and identify the preprocessed EEG signals based on a recurrent neural network and a multi-module perception task to obtain neural activity state information and neural activity regulation mode; wherein the multi-module perception task includes: at least one of an amplitude perception task, a frequency perception task, and a self-attention mechanism.
[0011] As an optional implementation of the embodiment of the present disclosure, the signal processing module, in the process of synchronously regulating the EEG signal to obtain the EEG signal data, is specifically used to: perform noise reduction processing on the EEG signal; synchronize and calibrate the EEG signal after the noise reduction processing to obtain a first signal; and synchronously regulate the first signal across brain regions to obtain the EEG signal data.
[0012] As an optional implementation of the embodiment of the present disclosure, the signal processing module, in the process of synchronously regulating the first signal across brain regions to obtain EEG signal data, is specifically used to:
[0013] Extracting frequency characteristics of the first signal to obtain frequency characteristics of the first signal;
[0014] Calculate signal delay parameters between different brain regions;
[0015] According to the signal delay parameter and the frequency characteristics, the first signal is synchronized in time and frequency to obtain the EEG signal data.
[0016] As an optional implementation of the embodiment of the present disclosure, the signal processing module, in the process of decoding the preprocessed EEG signal and the EEG signal data to obtain the neural activity intention information, is specifically used to:
[0017] The EEG signals and EEG signal data are input into the long short-term memory network to obtain the neural activity intention information output by the long short-term memory network.
[0018] As an optional implementation of the embodiment of the present disclosure, the system also includes: a closed-loop feedback regulation module; a closed-loop feedback regulation module, which is used to dynamically regulate the EEG signal according to the neural activity regulation mode.
[0019] In a second aspect, the present disclosure provides a method for processing an electroencephalogram signal, the method comprising:
[0020] Collect EEG signals;
[0021] Transmitting EEG signals to a signal processing module;
[0022] The preprocessed EEG signals are detected and identified through the signal processing module to obtain the neural activity state information and the neural activity regulation mode; and the EEG signals are synchronously regulated to obtain EEG signal data, and the preprocessed EEG signals and EEG signal data are decoded to obtain the neural activity intention information.
[0023] In a third aspect, the present disclosure provides an electronic device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the method for processing electroencephalogram signals as described in the second aspect or any one of its optional embodiments is implemented.
[0024] In a fourth aspect, the present disclosure provides a computer-readable storage medium, comprising: a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the electroencephalogram signal processing method as described in the first aspect or any optional embodiment thereof is implemented.
[0025] In a fifth aspect, the present disclosure provides a computer program product, including: the computer program product includes a computer program, and when the computer program runs on a computer, the computer implements the EEG signal processing method as described in the first aspect or any optional embodiment thereof.
[0026] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0027] The disclosed embodiments provide a brain-computer interface system, an EEG signal processing method, an electronic device, and a medium, wherein the system includes an acquisition module for acquiring EEG signals; a signal transmission module for transmitting EEG signals to a signal processing module; a signal processing module for detecting and identifying preprocessed EEG signals to obtain neural activity state information and neural activity regulation modes; and synchronously regulating the EEG signals to obtain EEG signal data, and decoding the preprocessed EEG signals and the EEG signal data to obtain neural activity intention information. In this way, the disclosed embodiments achieve accurate analysis of EEG signals by acquiring, preprocessing, detecting, identifying, synchronously regulating, and decoding EEG signals, and interpreting the neural activity state information, neural activity regulation mode, and neural activity intention information corresponding to the EEG signals, thereby improving the overall performance and reliability of the brain-computer interface system, and facilitating the wide application and in-depth research of the brain-computer interface system in the treatment of neurological and psychiatric diseases. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0030] Figure 1 A schematic diagram of the structure of a brain-computer interface system provided by an embodiment of the present disclosure;
[0031] Figure 2 A schematic diagram of a process of processing an electroencephalogram signal according to an embodiment of the present disclosure;
[0032] Figure 3 The present invention is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the technical terms required to be used in the embodiments or the prior art description are briefly introduced below:
[0034] Brain-computer interface technology refers to the technology used to achieve direct communication and control between the brain and external devices. Traditional brain-computer interface systems mainly rely on a limited number of channels to capture and analyze EEG signals to achieve control of external devices (such as computers, robotic arms, etc.).
[0035] Neuromodulation technology refers to technologies used to monitor, analyze and regulate the activity of the human nervous system. These systems involve the collection and analysis of EEG signals and are used in the fields of treating neurological diseases, mood management, etc.
[0036] Although existing brain-computer interface technologies have provided solutions for the treatment of neurological and psychiatric diseases and neurodegenerative diseases to a certain extent, there are still a series of limitations. Traditional brain-computer interface systems have obvious limitations in data acquisition and processing, real-time debugging and personalized treatment, and closed-loop control technology. Due to the limited number of channels, these systems are difficult to fully and accurately capture and analyze complex EEG activity patterns. This has an adverse effect on the treatment effect of neurofunctional diseases such as epilepsy and Parkinson's disease and the quality of life of patients. In addition, traditional brain-computer interface devices are usually large, heavy, and complicated to operate, which limits their application in daily life, especially for patients with neurodegenerative diseases such as ALS, who need more convenient treatment solutions.
[0037] Existing neuromodulation technologies still face challenges in data collection and processing, real-time monitoring and precise analysis, and personalized regulation. Due to technical limitations, existing neuromodulation systems are difficult to monitor and regulate neural activity in real time and accurately. This has an adverse impact on the treatment of mental illnesses and neurodegenerative diseases such as dementia, depression, and schizophrenia, as well as the quality of life of patients. In addition, the design and functions of traditional neuromodulation devices are usually relatively simple, lacking personalized treatment plans for different diseases and individuals, which limits their promotion and application in clinical applications and daily life.
[0038] In summary, in terms of data acquisition and processing, existing brain-computer interface systems often find it difficult to fully and accurately capture and analyze complex EEG activity patterns due to the use of a limited number of channels. In addition, the lack of real-time debugging and personalized treatment mechanisms leads to unstable and unpredictable treatment effects. In terms of closed-loop control technology, traditional technologies have problems such as high computational complexity and poor real-time performance. These limitations restrict their application in real-time monitoring and regulation of EEG activities. In addition, traditional equipment is usually large in size, heavy in weight, and complex to operate, which limits its application in daily life. It can be seen that the current brain-computer interface technology still has many limitations in multi-channel data acquisition, real-time processing, personalized debugging, and closed-loop control. These problems restrict its wide application and in-depth research in the treatment of neurological and psychiatric diseases.
[0039] In order to solve some or all of the technical problems existing in the related art, the embodiments of the present disclosure provide a brain-computer interface system, an EEG signal processing method, an electronic device and a medium, wherein the system includes an acquisition module for acquiring EEG signals; a signal transmission module for transmitting EEG signals to a signal processing module; a signal processing module for detecting and identifying the preprocessed EEG signals to obtain neural activity state information and neural activity regulation mode; and synchronously regulating the EEG signals to obtain EEG signal data, decoding the preprocessed EEG signals and the EEG signal data to obtain neural activity intention information. In this way, the embodiments of the present disclosure achieve accurate analysis of EEG signals by acquiring, preprocessing, detecting, identifying, synchronously regulating and decoding EEG signals, and interpreting the neural activity state information, neural activity regulation mode and neural activity intention information corresponding to the EEG signals, thereby improving the overall performance and reliability of the brain-computer interface system, and facilitating the wide application and in-depth research of the brain-computer interface system in the treatment of neurological and psychiatric diseases.
[0040] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0041] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0042] The present disclosure provides a brain-computer interface system. Figure 1 As shown, Figure 1 A schematic diagram of the structure of a brain-computer interface system provided in an embodiment of the present disclosure, the system comprising:
[0043] The acquisition module 101 is used to acquire EEG signals;
[0044] A signal transmission module 102, used to transmit the EEG signal to the signal processing module;
[0045] The signal processing module 103 is used to detect and identify the preprocessed EEG signals to obtain neural activity state information and neural activity regulation mode; and to synchronously regulate the EEG signals to obtain EEG signal data, and then decode the preprocessed EEG signals and EEG signal data to obtain neural activity intention information.
[0046] In the above embodiments, the EEG signals reflect the neural activities of various regions in the brain. The EEG signals are time series data, such as Stereo Electro Encephalo Graphy (SEEG), which is used to identify the brain region where epileptic seizures originate.
[0047] In some embodiments, the acquisition module 101 is a neural recording unit that adopts a 64-channel strip electrode design and is driven by a highly integrated electrophysiological amplifier (Intan) microchip; the acquisition module 101 is arranged inside the patient's skull.
[0048] Among them, Intan is a low-power microchip containing 16 or 32 low-noise amplifiers for electrophysiological monitoring and recording applications. With high sensitivity and accuracy, Intan can more effectively collect and process complex EEG signals, achieving higher data processing efficiency and real-time performance.
[0049] Optionally, the electrodes are made of nano-scale biocompatible materials. The acquisition module 101 is designed to be adjustable to meet the requirements of different patient head sizes and brain area coverage.
[0050] Optionally, 3D reconstruction is performed on Freesurfer based on the results of functional magnetic resonance imaging and magnetoencephalography to design the electrode spacing of the acquisition module 101. FreeSurfer is an open source software for magnetic resonance imaging (MRI) image processing and analysis, mainly used for the analysis of brain nerve data. By reasonably designing the electrode spacing, full use of brain area spatial information is achieved, making the acquisition of EEG signals more targeted and improving the efficiency of EEG signal acquisition.
[0051] In the above embodiment, the acquisition module 101 has the characteristics of high sampling frequency, low noise, and high sensitivity, and can capture the field point information of a wide range of brain areas from the frontal lobe to the occipital lobe, from the temporal lobe to the parietal lobe in real time, including EEG signals of different frequency ranges, which improves the comprehensiveness and accuracy of EEG signal acquisition, thereby providing basic data for subsequent data processing and analysis. At the same time, combined with the precise mapping of the patient's brain activity, high-resolution EEG signal acquisition is achieved. The design of the acquisition module disclosed in the present disclosure takes into account the spatial distribution and temporal changes of EEG signals.
[0052] In some embodiments, the signal transmission module 102 can use cellular mobile communication technology (such as 5G) combined with Bluetooth technology and be deployed on the patient's scalp to ensure that the EEG signal can be quickly, stably and reliably transmitted to the signal processing module. The signal transmission module 102 can achieve millisecond-level delay, greatly improving the efficiency and real-time performance of data transmission, while meeting the patient's needs for real-time monitoring while performing daily activities.
[0053] The above-mentioned signal transmission module 102 utilizes wireless communication and high-performance Bluetooth technology to realize wireless transmission of EEG signals, with high integration, low latency, low packet loss rate, and excellent signal-to-noise ratio, ensuring the real-time, stability and reliability of the system, and enhancing the flexibility of the system and the comfort of the patient.
[0054] In some embodiments, the signal processing module 103 includes a preprocessing module, which is used to preprocess the EEG signal collected by the collection module 101. The preprocessing includes but is not limited to: at least one of removing power frequency interference, re-referencing, depolarization, discrete Fourier transform and interpolation reconstruction.
[0055] Exemplarily, the preprocessing module combines the TMS320C6678 multi-core signal processor of Texas Instruments and uses MATLAB software to preprocess the EEG signals. Among them, the TMS320C6678 processor has high performance and low power consumption, and is equipped with a dedicated digital signal processing unit (Digital Signal Processing, DSP) to achieve efficient real-time signal processing and filtering. Tools such as EEGLAB provided by MATLAB can perform complex signal processing, such as filtering, spectrum analysis, time-frequency analysis, etc., to further enhance the accuracy and reliability of the data.
[0056] In some embodiments, the signal processing module 103 includes a signal detection and identification module, which is used to detect and identify the pre-processed EEG signal to obtain neural activity state information and neural activity regulation mode. The neural activity state information can indicate neural activity states such as pre-onset of mental illness and neurodegenerative disease, onset of mental illness and neurodegenerative disease, and post-onset of mental illness and neurodegenerative disease; for example, the neural activity state information can indicate states such as pre-onset of epilepsy, epilepsy onset, or post-onset of epilepsy. Neural activity regulation modes include: high-frequency electrical stimulation, mechanical control, brain wave regulation, and the like.
[0057] Specifically, the signal detection and recognition module is used to detect and recognize the preprocessed EEG signals based on the recurrent neural network and the multi-module perception task. Among them, the recurrent neural network (RNN) is used to extract features from the preprocessed EEG signals and classify the neural activity state information and neural activity regulation mode. The multi-module perception task includes: at least one of the amplitude perception task, the frequency perception task and the self-attention mechanism.
[0058] Optionally, the signal detection and recognition module uses the preprocessed EEG signal as the input of the recurrent neural network in the process of detecting and identifying the preprocessed EEG signal based on the recurrent neural network and the multi-module perception task, so as to obtain the neural activity state information and neural activity regulation mode output by the recurrent neural network.
[0059] It should be noted that the recurrent neural network includes: input layer, recurrent layer (RNN layer), hidden state update layer, activation function layer, fully connected layer, inactivation layer (Dropout), batch normalization layer and output layer.
[0060] The recurrent layer is used to extract dynamic physiological features from the preprocessed EEG signals and determine the temporal dependencies between EEG signals. EEG signals are time series data, and the recurrent layer can effectively capture their temporal dependencies from time series data.
[0061] The hidden state update layer is used to update the hidden state by using a loop structure and recursion to capture and transmit long-term dependencies in the EEG signal.
[0062] The activation function layer is used to enhance the nonlinear characteristics of the recurrent neural network. This improves the learning ability of the recurrent neural network for complex patterns. The activation function can be a hyperbolic tangent activation function (hyperbolictangent, tanh) or a rectified linear unit (Rectified Linear Unit, ReLU). This disclosure does not specifically limit this.
[0063] The fully connected layer is used to integrate the dynamic physiological features of the EEG signal extracted by the recurrent layer, and to further extract and classify the dynamic physiological features.
[0064] The inactivation layer is used to randomly inactivate some neurons of the recurrent neural network. This reduces the overfitting risk of the recurrent neural network, reduces the internal complexity and dependency of the recurrent neural network, and thus improves the generalization ability of the recurrent neural network.
[0065] The batch normalization layer is used to accelerate the training process of the recurrent neural network. The batch normalization layer is located after the fully connected layer, which can improve the stability of the recurrent neural network and help the recurrent neural network converge to the optimal solution quickly.
[0066] The output layer is used to classify the neural activity status information and neural activity regulation patterns of different brain regions. It helps to monitor and regulate neural activity and facilitates in-depth analysis and interpretation of the nervous system.
[0067] In the above embodiment, the advantages of recurrent neural network analysis and processing of long time series are used to analyze and process complex EEG signals, and capture and understand the time dependency between EEG signals; the recurrent neural network has a memory-related mechanism, which allows the RNN to learn the data features of a specific time point, and the RNN can perform a comprehensive analysis of the data features in combination with the time points before and after a specific time point after traversing the overall data for multiple times, thereby providing strong data support for subsequent signal decoding and system regulation.
[0068] The above-mentioned signal detection and recognition module can identify the starting and ending times of the onset of mental illness and neurodegenerative diseases (such as epilepsy) in the EEG signals. Through real-time analysis of the EEG signals, it is possible to issue stimulation signals in advance before the onset of mental illness and neurodegenerative diseases, so as to avoid the onset of mental illness and neurodegenerative diseases, or alleviate the symptoms of the disease.
[0069] In some embodiments, the signal processing module 103 includes a signal encoding and decoding module for synchronously regulating the EEG signal to obtain EEG signal data, and decoding the preprocessed EEG signal and the EEG signal data to obtain neural activity intention information.
[0070] In the above embodiment, the signal encoding and decoding module uses the ASM synchronous modulation system to encode and synchronize the EEG signal in the process of synchronously regulating the EEG signal to obtain the EEG signal data. Optionally, the EEG signal is first subjected to noise reduction processing, and then the EEG signal after noise reduction processing is synchronized and calibrated to obtain a first signal; and then the first signal is synchronously regulated across brain regions to obtain the EEG signal data.
[0071] In the process of noise reduction processing of EEG signals, the signal encoding and decoding module uses a digital filter to reduce the noise of the original EEG signals, thereby improving the quality and clarity of the EEG signals.
[0072] Exemplarily, the original EEG signal is subjected to noise reduction processing according to the following formula (1):
[0073] X filtered (t) = Filter(X(t))(1)
[0074] Where X(t) is the original EEG signal.
[0075] The signal encoding and decoding module synchronizes and calibrates the EEG signal after noise reduction, including time synchronization of the EEG signal and calibration adjustment of the amplitude and phase of the EEG signal, so as to further optimize the signal quality of the EEG signal.
[0076] Exemplarily, the original EEG signal after noise reduction is synchronized according to the following formula (2), and the amplitude and phase are calibrated and adjusted according to the following formula (3):
[0077] X sync (t) = X filtered (t)×Ref(t)(2)
[0078] X calibrated (t) = α × X sync (t)+β(3)
[0079] Where Ref(t) is the reference signal. calibrated (t) is the first signal.
[0080] In the process of performing cross-brain region synchronous regulation on the first signal to obtain EEG signal data, the signal encoding and decoding module extracts the frequency characteristics of the first signal to obtain the frequency characteristics of the first signal, and calculates the signal delay parameters between different brain regions. Then, according to the signal delay parameters and the frequency characteristics of the first signal, the first signal is synchronized in time and frequency, so that the EEG signals of different brain regions are effectively synchronized in time and frequency. Cross-brain region synchronous regulation ensures that the EEG signals of different brain regions are synchronized, thereby providing a solid data foundation for subsequent signal processing and decoding.
[0081] Exemplarily, the first signal X is calculated according to the following formula (4): cblibrated (t) Perform synchronous regulation across brain regions:
[0082] X cross-sync (t)=Cross-Region Synchronization(X calibrated (t))(4)
[0083] The signal encoding and decoding module of the above-mentioned embodiment provides high-quality signal support for the brain-computer interface system by synchronously regulating the EEG signals, can realize precise regulation and real-time transmission of EEG signals in different brain regions, and provides a stable and accurate signal basis for subsequent signal processing and decoding, thereby improving the stability, accuracy and reliability of the brain-computer interface system.
[0084] In some embodiments, the signal processing module 103, especially the signal encoding and decoding module, when decoding the preprocessed EEG signals and EEG signal data to obtain the neural activity intention information, first inputs the EEG signals and EEG signal data into the long short-term memory network to obtain the neural activity intention information output by the long short-term memory network.
[0085] Among them, neural activity intention information is a machine language interpretation of neural activity patterns, brain area activities and other EEG-related information. It can be key semantic information or motion information of EEG signals. Computers, single-chip microcomputers, microprocessors and other devices can understand what the human brain is doing based on neural activity intention information.
[0086] Specifically, the Long Short-Term Memory (LSTM) network includes: input layer, input gate, forget gate, output gate, cell state, hidden state, activation function layer, and output layer.
[0087] Among them, the preprocessed EEG signal and the synchronously regulated EEG signal are input into the input layer.
[0088] The input gate is used to control the update of the current unit state by the input signal, and to choose whether to memorize the neural activity information according to the specific pattern of the EEG signal.
[0089] The forget gate is used to determine whether the historical neural activity information has been forgotten based on the historical EEG signals. It helps the long-term short-term memory network to form a long-term dependence on learning and processing neural activity information.
[0090] The output gate is used to determine the output neural activity regulation mode according to the current unit state and input. It should be emphasized that this output gate of the long short-term memory network can be combined with the output layer of the recurrent neural network to classify and identify neural activity regulation tasks related to EEG signals.
[0091] The cell state is used to store the long-term dependency information of the EEG signal in the forget gate and is dynamically adjusted through real-time feedback from the input gate and output gate. The cell state is the core of the long short-term memory network.
[0092] Hidden states are used to capture features in EEG signals and encode patterns in EEG signals, thereby facilitating the interpretation and classification of neural activity.
[0093] The activation function layer is used to introduce nonlinear features and enhance the fitting and representation capabilities of the long short-term memory network for EEG signals. The activation function can be tanh, or an "s" type activation function (Sigmoid), which is not specifically limited in the present disclosure.
[0094] The output layer analyzes and classifies the EEG signals according to the characteristics and encoding patterns of the EEG signals output by the hidden state, and outputs the neural activity intention information. The neural activity intention information is used to interpret the neural activity pattern, brain area activity and other EEG related information in machine language.
[0095] The above-mentioned embodiment uses the long short-term memory network to efficiently and accurately decode complex EEG signals, thereby capturing the long-term dependencies in the EEG signals; and the long short-term memory network can work in coordination with other modules to achieve accurate interpretation of EEG signals in different brain regions, providing strong support for the signal interpretation of the brain-computer interface system, and also helping to determine the stability, accuracy and reliability of the brain-computer interface system.
[0096] The above-mentioned embodiment synchronously modulates the EEG signal through the ASM synchronous modulation system, and applies RNN and LSTM to analyze and process the EEG signal, thereby improving the decoding speed and accuracy of the EEG signal, realizing the precise analysis and processing of complex brain wave morphologies, and thus decoding to obtain more accurate neural activity intentions.
[0097] In some embodiments, the brain-computer interface system further includes a closed-loop feedback regulation module, which is used to dynamically regulate the EEG signal according to the neural activity regulation mode, thereby improving the possibility of treating mental illness and neurodegenerative diseases.
[0098] Among them, the closed-loop feedback regulation module includes: a high-frequency electrical stimulation submodule, a mechanical control submodule and a brain wave regulation submodule. The high-frequency electrical stimulation submodule is used to output electrical stimulation waves with adjustable frequency and intensity, which can treat functional diseases such as epilepsy and Parkinson's disease; for example, electrical stimulation is injected into the brain area related to emotion regulation to achieve relief of depression symptoms. The mechanical control submodule is used to control external mechanical devices, including but not limited to exoskeletons and robotic arms, and can treat neurodegenerative diseases such as akinesia or movement disorders; for example, the patient's robotic arm is driven by real-time decoding of motor nerve information to help the patient achieve elbow and wrist movements. The brain wave regulation submodule is used to adjust the patient's brain wave activity through a feedback mechanism.
[0099] The above-mentioned closed-loop feedback regulation module enables the brain-computer interface system to have closed-loop control capabilities. It can not only adjust the working status of the implanted device in real time according to the decoded EEG signal information, but also adjust the system parameters in real time according to the patient's therapeutic effect, so as to achieve accurate and personalized intervention and treatment of brain dysfunction and various mental illnesses.
[0100] In some embodiments, the present disclosure can also develop a custom application or mobile application platform, upload the real-time output data to the platform, and then display it to doctors in the form of charts, data reports, etc. through visualization tools, providing doctors with a friendly user interface and real-time brain function feedback. Doctors can obtain real-time EEG data and analysis results and the patient's recovery process through the application, and monitor and adjust the patient's neurological state.
[0101] In summary, the brain-computer interface system provided by the embodiment of the present disclosure can capture EEG signals comprehensively and densely by designing a 64-channel high-precision electrode layout, thereby providing rich EEG data support. It integrates key technologies such as signal processing, deep learning decoding, synchronous regulation and closed-loop feedback, realizes accurate analysis of EEG signals, improves the accuracy and efficiency of data processing, realizes real-time monitoring of neural activity, and can timely adjust and feedback the neural state of individuals, so that it can operate stably, accurately and reliably in a complex EEG environment, meeting the high requirements of implantable brain-computer interfaces in practical applications, and has strong practical value and broad application prospects. Through personalized debugging algorithms, stimulation parameters can be accurately adjusted according to the specific needs and disease types of patients. It improves the stability and predictability of the treatment effect, and can also meet the personalized treatment needs of different patients, thereby improving the treatment effect and the quality of life of patients.
[0102] A method for processing EEG signals is also provided in the embodiments of the present disclosure, which can be implemented by an EEG signal processing device or an electronic device, and the electronic device includes but is not limited to a vehicle terminal, a server, a personal computer, a laptop computer, a tablet computer, a smart phone, etc. The operating system of the electronic device may include Android, a mobile operating system (iOS) developed by Apple, an operating system (Windows) developed by Microsoft Corporation of the United States, etc., and the embodiments of the present disclosure are not limited to this. The electronic device can be operated alone to implement the present disclosure, or it can be connected to a network and implement the present disclosure through interactive operations with other computer devices in the network. Among them, the network in which the electronic device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN) network, etc.
[0103] It should be noted that the protection scope of the EEG signal processing method described in the embodiment of the present disclosure is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present disclosure are included in the protection scope of the present disclosure.
[0104] like Figure 2 As shown, Figure 2 FIG. 1 is a flow chart of an EEG signal processing method according to an embodiment of the present disclosure. The method can be executed by an EEG signal processing device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 2 As shown, the method mainly includes the following steps S201 to S203:
[0105] S201, collecting EEG signals.
[0106] Among them, EEG signals reflect the neural activity of various regions in the brain. EEG signals are time series data, such as Stereo Electro Encephalo Graphy (SEEG), which is used to identify the brain region where epileptic seizures originate.
[0107] In some embodiments, the patient's EEG signals are collected by a neural recording unit driven by a 64-channel strip electrode combined with a highly integrated electrophysiological amplifier (Intan) microchip.
[0108] S202, transmitting the EEG signal to a signal processing module.
[0109] In some embodiments, cellular mobile communication technology (such as 5G) is used in combination with Bluetooth technology to quickly, stably and reliably transmit EEG signals to the signal processing module, thereby improving the efficiency and real-time performance of data transmission and meeting the needs of patients for real-time monitoring while carrying out daily activities.
[0110] S203. Detect and identify the preprocessed EEG signals through the signal processing module to obtain neural activity state information and neural activity regulation mode; and synchronously regulate the EEG signals to obtain EEG signal data, and decode the preprocessed EEG signals and the EEG signal data to obtain neural activity intention information.
[0111] Among them, the neural activity state information can indicate neural activity states such as the pre-attack of mental illness and neurodegenerative diseases, the onset of mental illness and neurodegenerative diseases, and the post-attack of mental illness and neurodegenerative diseases; for example, the neural activity state information can indicate states such as the pre-attack of epilepsy, the onset of epilepsy, or the post-attack of epilepsy.
[0112] Neural activity regulation modes include: high-frequency electrical stimulation, mechanical control, brain wave regulation, etc.
[0113] Neural activity intention information is a machine language interpretation of neural activity patterns, brain area activities, and other EEG-related information. It can be key semantic information or motion information of EEG signals. Computers, single-chip microcomputers, microprocessors and other devices can understand what the human brain is doing based on neural activity intention information.
[0114] In some embodiments, the process of executing step S203 includes the following stages:
[0115] (1) Pretreatment
[0116] The collected EEG signals are preprocessed, wherein the preprocessing includes but is not limited to: at least one of power frequency interference removal, re-referencing, depolarization, discrete Fourier transform and interpolation reconstruction.
[0117] (2) Detection and identification
[0118] The preprocessed EEG signal is used as the input of the recurrent neural network to obtain the neural activity state information and neural activity regulation mode output by the recurrent neural network.
[0119] Among them, the recurrent neural network includes: input layer, recurrent layer (RNN layer), hidden state update layer, activation function layer, fully connected layer, inactivation layer (Dropout), batch normalization layer and output layer.
[0120] The recurrent layer is used to extract dynamic physiological features from the preprocessed EEG signals and determine the temporal dependencies between EEG signals. EEG signals are time series data, and the recurrent layer can effectively capture their temporal dependencies from time series data.
[0121] The hidden state update layer is used to update the hidden state by using a loop structure and recursion to capture and transmit long-term dependencies in the EEG signal.
[0122] The activation function layer is used to enhance the nonlinear characteristics of the recurrent neural network. This improves the learning ability of the recurrent neural network for complex patterns. The activation function can be a hyperbolic tangent activation function (hyperbolictangent, tanh) or a rectified linear unit (Rectified Linear Unit, ReLU). This disclosure does not specifically limit this.
[0123] The fully connected layer is used to integrate the dynamic physiological features of the EEG signal extracted by the recurrent layer, and to further extract and classify the dynamic physiological features.
[0124] The inactivation layer is used to randomly inactivate some neurons of the recurrent neural network. This reduces the overfitting risk of the recurrent neural network, reduces the internal complexity and dependency of the recurrent neural network, and thus improves the generalization ability of the recurrent neural network.
[0125] The batch normalization layer is used to accelerate the training process of the recurrent neural network. The batch normalization layer is located after the fully connected layer, which can improve the stability of the recurrent neural network and help the recurrent neural network converge to the optimal solution quickly.
[0126] The output layer is used to classify the neural activity status information and neural activity regulation patterns of different brain regions. It helps to monitor and regulate neural activity and facilitates in-depth analysis and interpretation of the nervous system.
[0127] In the above embodiment, the advantages of recurrent neural network analysis and processing of long time series are used to analyze and process complex EEG signals, and capture and understand the time dependency between EEG signals; the recurrent neural network has a memory-related mechanism, which allows the RNN to learn the data features of a specific time point, and the RNN can perform a comprehensive analysis of the data features in combination with the time points before and after a specific time point after traversing the overall data for multiple times, thereby providing strong data support for subsequent signal decoding and system regulation.
[0128] (3) Synchronous Control
[0129] The ASM synchronous modulation system is used to encode and synchronize the EEG signal. Optionally, the EEG signal is first subjected to noise reduction processing, and then the noise-reduced EEG signal is synchronized and calibrated to obtain a first signal; and then the first signal is synchronously regulated across brain regions to obtain EEG signal data.
[0130] S301, performing noise reduction processing on the EEG signal.
[0131] Optionally, the original EEG signal is subjected to noise reduction by a digital filter, thereby improving the quality and clarity of the EEG signal.
[0132] Exemplarily, the original EEG signal is subjected to noise reduction processing according to the following formula (1):
[0133] X filtered (t) = Filter(X(t))(1)
[0134] Where X(t) is the original EEG signal.
[0135] S302: Synchronize and calibrate the EEG signal after noise reduction processing to obtain a first signal.
[0136] Optionally, the EEG signal is time synchronized, and the amplitude and phase of the EEG signal are calibrated and adjusted, thereby further optimizing the signal quality of the EEG signal.
[0137] Exemplarily, the original EEG signal after noise reduction is synchronized according to the following formula (2), and the amplitude and phase are calibrated and adjusted according to the following formula (3):
[0138] X sunc (t) = X filtered (t)×Ref(t)(2)
[0139] X calibrated (t) = α × X sync (t)+β(3)
[0140] Where Ref(t) is the reference signal. calibrated (t) is the first signal.
[0141] S303, synchronously regulating the first signal across brain regions to obtain electroencephalogram signal data.
[0142] Optionally, frequency characteristics of the first signal are extracted to obtain the frequency characteristics of the first signal, and signal delay parameters between different brain regions are calculated. Then, based on the signal delay parameters and the frequency characteristics of the first signal, the first signal is time synchronized and frequency synchronized, so that the EEG signals of different brain regions are effectively synchronized in time and effectively synchronized in frequency.
[0143] Exemplarily, the first signal X is calculated according to the following formula (4): calibrated (t) Perform synchronous regulation across brain regions:
[0144] X cross-sync (t)=Cross-Region Synchronization(X calibrated (t))(4)
[0145] Cross-brain region synchronous regulation ensures the synchronization of EEG signals in different brain regions, thus providing a solid data foundation for subsequent signal processing and decoding.
[0146] (4) Decoding
[0147] Optionally, the EEG signal and EEG signal data are input into a long short-term memory network to obtain the neural activity intention information output by the long short-term memory network.
[0148] Among them, the Long Short-Term Memory (LSTM) network includes: input layer, input gate, forget gate, output gate, cell state, hidden state, activation function layer, and output layer.
[0149] Among them, the preprocessed EEG signal and the synchronously regulated EEG signal are input into the input layer.
[0150] The input gate is used to control the update of the current unit state by the input signal, and to choose whether to memorize the neural activity information according to the specific pattern of the EEG signal.
[0151] The forget gate is used to determine whether the historical neural activity information has been forgotten based on the historical EEG signals. It helps the long-term short-term memory network to form a long-term dependence on learning and processing neural activity information.
[0152] The output gate is used to determine the output neural activity regulation mode according to the current unit state and input. It should be emphasized that this output gate of the long short-term memory network can be combined with the output layer of the recurrent neural network to classify and identify neural activity regulation tasks related to EEG signals.
[0153] The cell state is used to store the long-term dependency information of the EEG signal in the forget gate and is dynamically adjusted through real-time feedback from the input gate and output gate. The cell state is the core of the long short-term memory network.
[0154] Hidden states are used to capture features in EEG signals and encode patterns in EEG signals, thereby facilitating the interpretation and classification of neural activity.
[0155] The activation function layer is used to introduce nonlinear features and enhance the fitting and representation capabilities of the long short-term memory network for EEG signals. The activation function can be tanh, or an "s" type activation function (Sigmoid), which is not specifically limited in the present disclosure.
[0156] The output layer analyzes and classifies the EEG signals according to the characteristics and encoding patterns of the EEG signals output by the hidden state, and outputs the neural activity intention information. The neural activity intention information is used to interpret the neural activity pattern, brain area activity and other EEG related information in machine language.
[0157] The above-mentioned embodiment uses the long short-term memory network to efficiently and accurately decode complex EEG signals, thereby capturing the long-term dependencies in the EEG signals; and the long short-term memory network can work in coordination with other modules to achieve accurate interpretation of EEG signals in different brain regions, providing strong support for the signal interpretation of the brain-computer interface system, and also helping to determine the stability, accuracy and reliability of the brain-computer interface system.
[0158] The above-mentioned embodiment synchronously modulates the EEG signal through the ASM synchronous modulation system, and applies RNN and LSTM to analyze and process the EEG signal, thereby improving the decoding speed and accuracy of the EEG signal, realizing the precise analysis and processing of complex brain wave morphologies, and thus decoding to obtain more accurate neural activity intentions.
[0159] In some embodiments, after executing step S203, the method further includes: dynamically adjusting the EEG signal according to the neural activity adjustment mode, thereby improving the possibility of treating mental diseases and neurodegenerative diseases.
[0160] For example, if the neural activity regulation mode is high-frequency electrical stimulation, electrical stimulation is injected into the brain area related to emotion regulation to relieve the symptoms of depression. If the neural activity regulation mode is mechanical control, real-time decoding drives the patient's mechanical arm to help the patient achieve elbow and wrist movements.
[0161] In summary, the embodiments of the present disclosure provide a method for processing EEG signals, which integrates key technologies such as signal processing, deep learning decoding, synchronous control and closed-loop feedback, to achieve accurate analysis of EEG signals, real-time monitoring of neural activity, and timely adjustment and feedback of the individual's neural state, so that it can operate stably, accurately and reliably in a complex EEG environment, meet the high requirements of implantable brain-computer interfaces in practical applications, and have strong practical value and broad application prospects.
[0162] like Figure 3 As shown, Figure 3This is a schematic diagram of the structure of an electronic device described in an embodiment of the present disclosure. The electronic device includes: a processor 301, a memory 302, and a computer program stored in the memory 302 and executable on the processor 301. When the computer program is executed by the processor 301, each process of the EEG signal processing method in the above method embodiment is implemented. And the same technical effect can be achieved, so it will not be repeated here to avoid repetition.
[0163] The embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the electroencephalogram signal processing method in the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0164] The computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0165] The disclosed embodiment provides a computer program product, which stores a computer program. When the computer program is executed by a processor, each process of the EEG signal processing method in the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0166] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0167] In several embodiments provided by the present disclosure, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0168] In the present disclosure, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0169] In the present disclosure, memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0170] In the present disclosure, computer-readable media include permanent and non-permanent, removable and non-removable storage media. Storage media can be implemented by any method or technology to store information, and the information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0171] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0172] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A brain-computer interface system, characterized in that: include: An acquisition module, used for acquiring EEG signals; A signal transmission module, used for transmitting the EEG signal to a signal processing module; The signal processing module is used to detect and identify the preprocessed EEG signal to obtain neural activity state information and neural activity regulation mode; and synchronously regulate the EEG signal to obtain EEG signal data, and decode the preprocessed EEG signal and the EEG signal data to obtain neural activity intention information.
2. The system according to claim 1, characterized in that The signal processing module includes a preprocessing module: The preprocessing module is used to preprocess the EEG signal; The preprocessing includes at least one of: power frequency interference removal, re-referencing, depolarization, discrete Fourier transform and interpolation reconstruction.
3. The system according to claim 1, characterized in that The signal processing module includes a signal detection and identification module, The signal detection and recognition module is used to detect and recognize the preprocessed EEG signal based on a recurrent neural network and a multi-module perception task to obtain the neural activity state information and the neural activity regulation mode; Among them, the multi-module perception task includes: at least one of: amplitude perception task, frequency perception task, and self-attention mechanism.
4. The system according to claim 1, characterized in that The signal processing module, in the process of synchronously regulating the EEG signal to obtain EEG signal data, is specifically used to: Performing noise reduction processing on the EEG signal; Synchronizing and calibrating the EEG signal after the noise reduction process to obtain a first signal; The first signal is synchronously regulated across brain regions to obtain the electroencephalogram signal data.
5. The system according to claim 4, characterized in that The signal processing module, in the process of performing cross-brain region synchronous regulation on the first signal to obtain the electroencephalogram signal data, is specifically used to: Extracting frequency characteristics of the first signal to obtain frequency characteristics of the first signal; Calculate signal delay parameters between different brain regions; According to the signal delay parameter and the frequency characteristic, the first signal is time synchronized and frequency synchronized to obtain the electroencephalogram signal data.
6. The system according to claim 1, characterized in that The signal processing module, in the process of decoding the preprocessed EEG signal and the EEG signal data to obtain the neural activity intention information, is specifically used to: The EEG signal and the EEG signal data are input into a long short-term memory network to obtain neural activity intention information output by the long short-term memory network.
7. The system according to claim 1, characterized in that The system further comprises: a closed-loop feedback regulation module; The closed-loop feedback regulation module is used to dynamically regulate the EEG signal according to the neural activity regulation mode.
8. A method for processing electroencephalogram signals, characterized in that: include: Collect EEG signals; Transmitting the EEG signal to a signal processing module; The preprocessed EEG signal is detected and identified by the signal processing module to obtain neural activity state information and neural activity regulation mode; and the EEG signal is synchronously regulated to obtain EEG signal data, and the preprocessed EEG signal and the EEG signal data are decoded to obtain neural activity intention information.
9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the electroencephalogram signal processing method as claimed in claim 8 when executed by the processor.
10. A computer-readable storage medium, characterized in that: include: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for processing electroencephalogram signals as claimed in claim 8 is implemented.
Citation Information
Cited By
Memory enhancement system and method based on closed-loop regulation brain-computer interface
CN120459532A
Brain region signal reconstruction method and device, electronic equipment and readable storage medium
CN121387066A
