Depressive disorder adjuvant therapy system based on wearable three-lead electroencephalogram sensor
Through a wearable three-lead EEG sensor and a closed-loop music intervention module, the CGAN model is used to generate a personalized music plan, which solves the problems of accuracy in the diagnosis of depressive disorders and poor intervention effects, and achieves efficient, real-time emotion regulation and Diagnosis and in-depth understanding of the relationship between EEG signals and music effects.
Patent Information
- Application Number
- CN202410887732.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-29
AI Technical Summary
The existing technology is highly subjective, time-consuming and labor-intensive in diagnosing depressive disorders, and lacks portable and comfortable EEG acquisition equipment, resulting in poor diagnostic accuracy and intervention effects, as well as a lack of non-drug auxiliary treatment methods.
An auxiliary treatment system for depression disorder based on a wearable three-lead EEG sensor is used, combined with a closed-loop music intervention module, to generate a personalized music intervention plan through the CGAN model, and use reinforcement learning algorithms to adjust music parameters in real time to regulate the user's emotional state.
It improves the accuracy and real-timeness of diagnosis of depressive disorders, reduces costs and subjectivity, achieves effective relief of depressive symptoms, and provides a deep understanding of the intrinsic mechanism between EEG signal characteristics and music effects.
Smart Images

Figure CN118846338A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of auxiliary treatment of depressive disorders, and specifically relates to an auxiliary treatment system for depressive disorders based on a wearable three-lead electroencephalogram sensor. Background Art
[0002] Depression is a common affective disorder that has a serious impact on an individual's physiological and psychological functions. It is crucial to effectively screen and promptly intervene in the treatment of depressive disorders.
[0003] Traditionally, the diagnosis of mental illnesses such as depression disorders mainly relies on interviews between doctors and patients and clinical scales. However, these methods have disadvantages such as strong subjectivity, time-consuming and labor-intensive. According to statistics from The Lancet, the accuracy rate of general practitioners' diagnosis of depression disorders is only 47.3%. Therefore, the lack of objective universal diagnostic tools will make it difficult for patients with depression to receive timely treatment and intervention.
[0004] In the era of artificial intelligence, EEG signals, as an objective physiological indicator, have been widely used in the detection and evaluation of affective disorders. Selecting prefrontal EEG signals that are strongly related to human emotions and cognitive functions can help improve the real-time and comfort of detection, and can effectively reduce data redundancy and avoid the interference of hair areas on EEG signals. Therefore, it is feasible to use prefrontal EEG signals for auxiliary diagnosis of depressive disorders. However, to extract effective features that are strongly related to depressive disorders and establish accurate classification artificial intelligence models, high-quality, large-sample EEG data are required. Traditional multi-channel EEG equipment is bulky and complex to operate. In addition, the multi-lead EEG cap is not comfortable to wear and is not suitable for people with depressive disorders. Therefore, it is urgent to develop a portable, comfortable to wear, and easy-to-operate wearable prefrontal EEG acquisition device to improve the diagnostic accuracy, real-time and intervention effect of depressive disorders. At the same time, current research lacks research on non-drug auxiliary treatments for depressive disorders such as closed-loop music feedback therapy. Summary of the invention
[0005] In view of this, the present invention aims to provide a depressive disorder auxiliary treatment system based on a wearable three-lead EEG sensor. The system uses a wearable three-lead EEG sensor to perform real-time EEG assessment on patients with depression, and is equipped with a music intervention module, which can generate personalized music intervention plans using the real-time EEG assessment results, perform closed-loop auxiliary treatment on patients with depressive disorders, and achieve real-time assessment and closed-loop intervention of depressive disorders.
[0006] The technical solution for implementing the present invention is as follows:
[0007] A depressive disorder auxiliary treatment system based on a wearable three-lead EEG sensor, further comprising a closed-loop music intervention module;
[0008] The closed-loop music intervention module is used to generate a music intervention plan and play music for intervention according to the changes in the EEG signals detected by the wearable three-lead EEG sensor; the specific process of the music intervention module is as follows:
[0009] Let S t represents the EEG signal of the user after listening to the music at time t, R t It represents the degree of reward between the t-1th moment and the tth moment. The closer the state of the user after listening to the music is to the target state, the greater the reward value. t represents the motivational music from the t-1th moment to the tth moment; the music intervention module uses the CGAN model to realize music generation;
[0010] At the tth moment, given the user's current EEG signal S t and Gaussian noise z as input, and generate music M related to the target through a pre-trained CGAN network t ; Then, M t As a stimulus material to motivate the user to change his state from S t Transformed to S t+1 , calculate S t and S t+1 The degree of closeness to the target state, thus obtaining a reward R t+1 ; R t+1 As a new condition, it is re-input into the CGAN network to generate updated music M t+1 , in this way, the state and music are updated alternately, and by maximizing the reward, the music generated by the CGAN network gradually approaches the ideal target state in terms of stimulation to the user.
[0011] Furthermore, the generator of the CGAN network described in the present invention also includes a music rule module, which contains music rule constraints. The music rule module calculates the loss function of the generated music under the imposed music rule constraints and adjusts the generator neuron parameters by the gradient descent method.
[0012] Furthermore, the updating of music by the CGAN network described in the present invention includes updating the rhythm, pitch and / or melody of the music.
[0013] Furthermore, the music intervention module of the present invention uses headphones to play the generated music.
[0014] Furthermore, the wearable three-lead EEG sensor described in the present invention collects EEG signal characteristics including: the mean of the power spectral density in the three leads, the maximum value of the power spectral density in the second lead, the minimum value of the power spectral density in the first and third leads, the sample entropy in the three leads, and the Rayleigh entropy in the first and second leads.
[0015] Furthermore, the system of the present invention also includes a PC host display module, which is used to display the collected EEG signals on the one hand, and to display the played music on the other hand.
[0016] Beneficial effects:
[0017] First, the depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor of the present invention includes a closed-loop music intervention module, which is designed to generate a personalized music intervention plan based on the emotional state assessment results of the subject, and intervene by playing music through headphones to help users regulate their emotions and relieve depression symptoms. The module uses an intelligent algorithm to generate music that matches the patient's current state, thereby achieving closed-loop music intervention regulation for depression.
[0018] Second, the closed-loop music intervention module of the present invention adopts a reinforcement learning algorithm to establish an adaptive music generation model, which adjusts music parameters (such as rhythm, pitch, melody, etc.) in real time through EEG signal feedback to achieve the best emotion regulation effect. The reinforcement learning algorithm continuously optimizes the music generation strategy so that the generated music can effectively regulate the user's emotional state. The system monitors the user's EEG signals as feedback, and combines the reinforcement learning model to achieve adaptive regulation of music generation. By dynamically adjusting the music playback plan, the system can continuously adapt to the user's emotional changes and provide the most suitable music intervention.
[0019] Third, the music intervention technology for depression treatment of the present invention helps to deeply understand the internal mechanism and explicit modeling between EEG signal characteristics and music effects, and realize the mapping between EEG signal characteristic parameters and music parameters. At the same time, the system can synthesize real-time music that is highly correlated with the characteristics of EEG signal changes, and let users feel their own influence on the music performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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 will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 A system composition block diagram of a depressive disorder auxiliary treatment system based on a wearable three-lead EEG sensor provided in an embodiment of the present invention;
[0022] Figure 2 A physical diagram of a depressive disorder auxiliary treatment system based on a wearable three-lead EEG sensor provided in an embodiment of the present invention;
[0023] Figure 3 Hardware schematic diagram of the EEG acquisition module provided in the embodiment of the present invention. (a) Composition details, (b) International 10-20 system adopted for electrode positions, and (c) Main hardware components and data acquisition process;
[0024] Figure 4 A functional schematic diagram of a depressive disorder auxiliary treatment system based on a wearable three-lead EEG sensor provided in an embodiment of the present invention;
[0025] Figure 5 An algorithm flow chart for performing feature fusion analysis based on the antlion optimization algorithm provided in an embodiment of the present invention;
[0026] Figure 6 A schematic diagram of a closed-loop music intervention module model provided in an embodiment of the present invention.
[0027] Among them, there are EEG acquisition module-1, Bluetooth module-2, signal processing and evaluation algorithm module-3, PC host display system module-4, power supply module-5, and closed-loop music intervention module-6. Specific implementation plan
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0030] like Figure 1 As shown, the embodiment of the present invention provides a depressive disorder auxiliary diagnosis and treatment system based on a wearable three-lead EEG sensor, including: an EEG acquisition module 1, a Bluetooth module 2, a signal processing and evaluation algorithm module 3, a PC host computer display system module 4, a power module 5 and a closed-loop music intervention module 6. The connection relationship between the above modules is: the signal input end of the signal processing and evaluation algorithm module 3 is connected to the signal output end of the EEG acquisition module 1, the connection between the signal processing and evaluation algorithm module 3 and the EEG acquisition module 1 needs to be realized through the Bluetooth module 2, and the signal output end of the signal processing and evaluation algorithm module 3 is connected to the signal input end of the PC host computer display system module 4.
[0031] The EEG acquisition module 1 is used to detect the changes in the user's EEG signals in real time and obtain a real-time EEG. The signal processing and evaluation algorithm module 3 is used to process the collected EEG data and extract features, then perform feature fusion on the extracted EEG features, and use a machine learning-based depression disorder recognition model to identify and evaluate the mental state of the subject. The PC host display system module 4 is used to display the collected EEG signals in real time and output the final detection results.
[0032] After the subjects cooperate to complete the collection of three-lead EEG data of the frontal lobe, they will receive feedback from the experimenter and details of the subsequent treatment plan. After the EEG information is processed, the data model can be used to objectively and efficiently evaluate the depression status of the subjects and conduct auxiliary diagnosis, which can effectively reduce the cost and subjectivity of identifying depressive disorders, improve the timeliness and accuracy of identifying depressive disorders, and effectively promote the treatment of people with depressive disorders.
[0033] The depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor of this embodiment includes: a Bluetooth module 2. The Bluetooth module 2 is connected to the EEG acquisition module 1, the signal processing and evaluation algorithm module 3 and the PC host computer display system module 4. The Bluetooth module 2 is mainly responsible for data communication.
[0034] The EEG acquisition module 1 installs the EEG sensor on the subject's head, the signal processing and evaluation algorithm module 3 is connected to the Bluetooth module 2 and the PC host display system module 4 respectively, and finally the Bluetooth module 2 is connected to the EEG acquisition module 1.
[0035] The EEG acquisition module 1 detects the changes in EEG signals in real time, obtains EEG data, and feeds back the results to the signal processing and evaluation algorithm module 3 and the PC host computer display system module 4 through the Bluetooth module 2. The signal processing and evaluation algorithm module 3 processes the collected EEG data and extracts features, then performs feature fusion on the extracted EEG features, and uses a depressive disorder recognition model based on machine learning to identify and evaluate the mental state of the subject. Then the PC host computer display system module 4 displays the collected EEG signals in real time and outputs the final detection results.
[0036] The depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor of this embodiment includes: a power module 5. The power module 5 is respectively connected to the EEG acquisition module 1 and the Bluetooth module 2. The power module 5 is used to supply power to the entire device.
[0037] The depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor in this embodiment further includes: a closed-loop music intervention module 6. The closed-loop music intervention module 6 is used to achieve real-time diagnosis and closed-loop intervention of depression.
[0038] In this embodiment, the EEG acquisition module 1 is implemented by a three-lead EEG sensor, which consists of a mainboard, a disposable non-invasive flexible EEG electrode and a medical-grade silicone headband. The electrodes are located in the frontal lobe (Fp1, Fpz, Fp2) to collect EEG signals. In addition, two additional electrodes are placed on the two mastoids (A1 and A2) as reference electrodes and bias electrodes. A magnetic connection is used between the headband and the electrodes to facilitate installation. The data acquisition process of the EEG sensor mainboard is as follows: First, the EEG signal is sent to the analog front end (AFE) for impedance matching. Next, the DC servo circuit is used to reduce the DC offset of the electrode skin surface and the AFE, and then the EEG signal is amplified to match the dynamic range of the analog-to-digital converter (ADC). Subsequently, the EEG signal is processed using an anti-aliasing filter and digitized by an ADC (ADS1299-4PAG produced by Texas Instruments). Finally, the EEG data is transmitted to the host computer via low-power Bluetooth (WH-BLE105). At the same time, in order to meet the wearable requirements of the developed EEG sensor to collect high-quality prefrontal EEG, a non-invasive flexible Ag / AgCl electrode was designed.
[0039] A three-lead EEG sensor was used as the EEG acquisition module 1 to collect EEG data. The frontal EEG data was collected for 162 seconds, including 90 seconds of EEG data in the closed eyes state and 72 seconds of EEG data with audio stimulation, with a sampling rate of 250SPS. In order to eliminate the baseline drift and high-frequency interference in the original EEG signal, the signal processing and evaluation algorithm module 3 used a 500-order finite impulse response (FIR) filter with a passband of 0.1-45Hz. At the same time, since the electrodes (Fp1, Fpz and Fp2) are located close to the eyes, eye artifacts (OA) will inevitably be collected. Therefore, the signal processing and evaluation algorithm module 3 uses a model combining discrete wavelet transform and Kalman filtering to remove eye artifacts.
[0040] In the field of wearable technology, the introduction of non-invasive flexible EEG electrodes enables subjects to wear the device comfortably. Considering the requirements for wearability, portability and performance of EEG acquisition equipment in depression screening scenarios frequently used in mental health screening and outpatient clinics, the three-lead EEG sensor proposed in this invention is considered to be an ideal choice for EEG-assisted depression diagnosis.
[0041] Signal processing and evaluation algorithm module 3 processes and extracts features from the 72-second audio stimulation EEG data collected, extracting linear features including the mean, maximum and minimum values of the power spectrum density, and nonlinear features including frontal alpha wave asymmetry, LZC complexity and sample entropy. Then, feature fusion analysis is performed based on the ant lion optimization algorithm, which mainly includes feature selection and feature weighting methods. Finally, based on the results of feature fusion analysis, the EEG features are input into the machine learning classification model, including the K-Nearest Neighbour classification algorithm (k-NN), support vector machine (SVM), naive Bayes classifier (NB), decision tree classification algorithm (DT), random forest classification algorithm (RF) and extreme gradient boosting tree (XGBoost), to identify depressive disorders and identify and evaluate the mental state of the subjects.
[0042] Since the ant lion optimization algorithm has good exploration and development capabilities, the optimal feature weights and parameter values of the network can be searched simultaneously. In the present invention, the ant lion optimization algorithm is used for feature weighting and feature selection, and a hybrid crossover operation is introduced to enhance the search capability of the ant lion optimization algorithm. The EEG signal features finally selected include: the mean of the power spectral density in the three leads, the maximum value of the power spectral density in the second lead, the minimum value of the power spectral density in the first and third leads, the sample entropy in the three leads, and the Rayleigh entropy in the first and second leads.
[0043] This embodiment proposes a feature weighting and feature selection algorithm based on the ant lion optimization algorithm for the identification of depression disorders. By selecting and processing the collected features, the EEG information is processed and the data model is used to objectively and efficiently evaluate the depression status of the subject and conduct auxiliary diagnosis, which can effectively reduce the cost and subjectivity of the identification of depression disorders, improve the timeliness and accuracy of the identification of depression disorders, and effectively promote the treatment of people with depression disorders. And a high classification effect is achieved.
[0044] The PC host computer display system module 4 of this embodiment can display the EEG collected by the EEG acquisition module 3 in real time, output the detection results calculated by the signal processing and evaluation algorithm module 3, and can also display the music signal generated by the closed-loop music intervention module 6.
[0045] The closed-loop music intervention module 6 of this embodiment can realize closed-loop music intervention regulation for depression. The module generates a personalized music intervention plan based on the emotional state assessment results of the subject, and intervenes by playing music through headphones to help users regulate their emotions and relieve depression symptoms. An intelligent algorithm is used to generate music that matches the patient's current state, thereby realizing closed-loop music intervention regulation for depression.
[0046] Specifically, the system uses a reinforcement learning algorithm to establish an adaptive music generation model. The model uses EEG signal feedback to adjust music parameters (such as rhythm, pitch, melody, etc.) in real time to achieve the best emotion regulation effect. The reinforcement learning algorithm continuously optimizes the music generation strategy so that the generated music can effectively regulate the user's emotional state. The system monitors the user's EEG signals as feedback and combines the reinforcement learning model to achieve adaptive regulation of music generation. By dynamically adjusting the music playback plan, the system can continuously adapt to the user's emotional changes and provide the most suitable music intervention.
[0047] The closed-loop music intervention module 6 uses multimodal neurophysiological signals as feedback and adopts a music model based on reinforcement learning to achieve multimodal neurophysiological feedback and adaptive music generation. Figure 6 As shown, S t represents the state of the user after listening to the music at time t (reflected in the physiological signal characteristics of the user), R t represents the degree of reward between the t-1th moment and the tth moment (reflected in the degree of closeness between the user's state after listening to the music and the target state, the closer the state is, the higher the reward level is), M t represents the motivational music from time t-1 to time t (which can be generated by the conditional generative adversarial network CGAN, where R t is the conditional input of CGAN).
[0048] The model can be explained as follows: at time t, given the user's current state S t and Gaussian noise z as input, and generate music M related to the target through a pre-trained CGAN model t Then, M t As a stimulus material to motivate the user to change his state from S t Transformed to S t+1 , calculate S t and S t+1 The degree of closeness to the target state, thus obtaining a reward R t+1 . t+1 Re-input into CGAN as a new condition to generate updated music M t+1 , thereby updating the state and music alternately, and by maximizing the reward, the music generated by the model gradually approaches the ideal target state in terms of stimulation to the user.
[0049] In addition, a music rule module is added to the generator module of the conditional generative adversarial neural network. While using CGAN to train the generative model, restrictions on music rules are added to regulate the generated music. In this module, the loss function of the generated music under the imposed music rules is calculated, and the generator neuron parameters are adjusted by gradient descent. The definition of music rules is constrained by the structural principles of music itself.
[0050] Since the structure of music has temporal constraints and the impact of music stimulation on the patient's neurophysiological state is presented in time, a bidirectional long short-term memory network (LSTM) will be used to obtain the temporal characteristics of the music sequence and realize the constraints on the balance and expected rules of the music.
[0051] The closed-loop music intervention module also includes a music playback device that stimulates the user, which can be achieved through speakers, headphones, various musical instruments adapted to MIDI, or audio devices capable of audio digital-to-analog conversion.
[0052] Combining real-time monitoring equipment with assessment equipment, and using data models to objectively and efficiently assess and screen subjects for depression and assist in diagnosis, can effectively reduce the cost and subjectivity of identifying depression disorders, improve the timeliness and accuracy of identifying depression disorders, and effectively promote the treatment of people with depression disorders. According to experimental data, the depression assessment screening efficiency of this method is over 90%.
[0053] In this embodiment, the EEG data of the subject is collected by the EEG acquisition module, and then the EEG data is transmitted to the signal processing and evaluation algorithm module through the Bluetooth module. The signal processing and evaluation algorithm module processes and extracts the collected EEG data, and then performs feature fusion on the extracted EEG features, adopts the depression disorder recognition model based on machine learning to identify and evaluate the mental state of the subject, and finally displays the collected EEG signal in real time through the PC host computer display system module, and outputs the final test results. And the closed-loop music intervention adjustment of depression is realized through the closed-loop music intervention module. After the EEG information is processed, the data model is used to objectively and efficiently evaluate the depression state of the subject and perform auxiliary diagnosis, which can effectively reduce the cost and subjectivity of depression disorder identification, improve the timeliness and accuracy of depression disorder identification, and effectively promote the treatment of people with depression disorders. At the same time, a neurofeedback music therapy is proposed to achieve real-time diagnosis and closed-loop intervention of depression.
[0054] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A depressive disorder auxiliary treatment system based on a wearable three-lead EEG sensor. It is characterized in that Also included is a closed-loop music intervention module; The closed-loop music intervention module is used to generate a music intervention plan and play music for intervention according to the changes in the EEG signals detected by the wearable three-lead EEG sensor; the specific process of the music intervention module is as follows: Let S t represents the EEG signal of the user after listening to the music at time t, R t It represents the degree of reward between the t-1th moment and the tth moment. The closer the state of the user after listening to the music is to the target state, the greater the reward value. t represents the motivational music from the t-1th moment to the tth moment; the music intervention module uses the CGAN model to realize music generation; At the tth moment, given the user's current EEG signal S t and Gaussian noise z as input, and generate music M related to the target through a pre-trained CGAN network t ; Then, M t As a stimulus material to motivate the user to change his state from S t Transformed to S t+1 , calculate S t and S t+1 The degree of closeness to the target state, thus obtaining a reward R t+1 ; R t+1 As a new condition, it is re-input into the CGAN network to generate updated music M t+1 , in this way, the state and music are updated alternately, and by maximizing the reward, the music generated by the CGAN network gradually approaches the ideal target state in terms of stimulation to the user.
2. According to claim 1, the depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor, It is characterized in that The generator of the CGAN network also includes a music rule module, which contains music rule constraints. The music rule module calculates the loss function of the generated music under the imposed music rule constraints and adjusts the generator neuron parameters by the gradient descent method.
3. According to claim 2, the depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor, It is characterized in that The updating of the music by the CGAN network includes updating the rhythm, pitch and / or melody of the music.
4. According to claim 1, the depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor, It is characterized in that The music intervention module uses headphones to play the generated music.
5. According to claim 1, the depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor, It is characterized in that The EEG signal features collected by the wearable three-lead EEG sensor include: the mean of the power spectral density in the three leads, the maximum value of the power spectral density in the second lead, the minimum value of the power spectral density in the first and third leads, the sample entropy in the three leads, and the Rayleigh entropy in the first and second leads.
6. The depressive disorder auxiliary treatment system based on the wearable three-lead EEG sensor according to claim 1, It is characterized in that The system also includes a PC host display module, which is used to display the collected EEG signals on the one hand, and to display the played music on the other hand.
Citation Information
Patent Citations
Music feedback depressive emotion adjusting system based on electroencephalogram signals
CN111068159A
Electroencephalogram emotion recognition method for feature weight adaptive learning
CN112773378A
Depression state assessment method based on forehead minority lead electroencephalogram monitoring
CN114366104A
Electroencephalogram amplification system capable of outputting iteration enhancement signal
CN115105099A
Body and mind state adjusting system based on bidirectional closed-loop brain-computer music interface
CN115445050A
Cited By
Wearable portable mental disorder closed-loop self-adaptive diagnosis and treatment system based on acousto-optic-electric technology
CN120284287A
Portable depressive disorder auxiliary diagnosis equipment and diagnosis method
CN120661139A
Depression population determination system and method based on asynchronous electroencephalogram
CN120732418A
