Mental activity closed-loop regulation and control system based on brain-computer interface
Through the closed-loop regulation system of mental activity based on brain-computer interface, EEG signals and multi-threading technology are used to achieve accurate and real-time detection of ADHD patients, solving the problems of subjectivity and high misdiagnosis rate of existing diagnostic methods, and providing It provides more accurate and timely support and is suitable for early diagnosis and personalized intervention for adolescent groups.
Patent Information
- Application Number
- CN202410837936.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-15
AI Technical Summary
Existing ADHD diagnostic methods have problems such as subjectivity, high time and cost, high misdiagnosis rate, and insensitivity to specific groups of people, which limits their feasibility in large-scale application.
A closed-loop mental activity control system based on brain-computer interface is used to achieve accurate, objective and real-time detection of patients with neurodevelopmental disorders by real-time monitoring of electroencephalogram signals and combining advanced data analysis and machine learning algorithms, including hardware acquisition modules and software. The system uses multi-threading technology and animated interfaces to reflect attention levels in real time and generate diagnostic reports.
It improves the objectivity and time efficiency of diagnosis, reduces the misdiagnosis rate, is suitable for specific groups of people, provides more accurate and timely support, reduces the burden on the medical system, and is suitable for early diagnosis and personalized intervention for adolescent groups.
Smart Images

Figure CN118766460A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of brain-computer interface technology, and in particular to a closed-loop control system for mental activities based on a brain-computer interface, which can monitor and control an individual's attention level in real time. Background Art
[0002] ADHD (attention deficit hyperactivity disorder) is a typical neurodevelopmental disorder, which is included in the application scope of the present invention. Its main characteristics include attention deficit, hyperactivity and impulsivity. This disorder may affect the academic, occupational and social functions of individuals. According to the classification of DSM-V, ADHD is divided into mainly inattention type (ADHD-I), mainly hyperactivity / impulsivity type (ADHD-HI) and mixed type (ADHD-C). Globally, ADHD is a relatively common disorder with a prevalence of about 5.3% to 7.1%. The harm is mainly manifested in academic and occupational challenges, social relationship troubles, and impulsive and hyperactive behaviors in daily life, which may cause difficulties for patients in various aspects. In China, the prevalence of ADHD is about 6.3%, which is particularly significant among adolescents. This may be related to factors such as social pressure, academic burden and family environment. The existence of ADHD has a certain impact on the health and development of Chinese adolescents. ADHD may affect adolescents' academic performance, career development and social relationships. Without effective intervention, this disorder may continue to exist in adulthood and have a long-term impact on the overall quality of life of individuals. Therefore, timely and effective diagnosis and intervention are crucial for Chinese adolescents to alleviate the various challenges they may face in the future.
[0003] Currently, the diagnosis of ADHD mainly relies on behavioral observation, questionnaires, neuropsychological tests and brain imaging technology. These technologies provide support for diagnosis to a certain extent, but there are some obvious shortcomings:
[0004] 1. Subjectivity: Behavioral observation and questionnaire surveys are easily influenced by the subjective judgment of the observer, making the diagnostic results lack objectivity.
[0005] 2. Time and cost: Traditional ADHD diagnosis usually takes a long time and is costly, limiting its feasibility in large-scale applications.
[0006] 3. High misdiagnosis rate: Because ADHD symptoms overlap with other psychological disorders, the misdiagnosis rate is relatively high, causing unnecessary distress to patients.
[0007] 4. Not applicable to certain populations: Some methods may not be sensitive or accurate enough for people of certain age groups, cultural backgrounds, or cognitive levels.
[0008] These shortcomings force us to look for more advanced, objective, and applicable ADHD detection technologies for a wide range of people. Summary of the invention
[0009] In view of the limitations of existing detection methods, the present invention proposes a closed-loop control system for mental activities based on brain-computer interface. The system makes full use of brain-computer interface technology, monitors electroencephalogram (EEG) signals in real time, and combines advanced data analysis and machine learning algorithms to achieve accurate, objective, and real-time detection of patients with neurodevelopmental disorders.
[0010] Specifically, the system not only provides a direct measure of attention deficits, but also identifies biomarkers of hyperactivity and impulsive behavior. Compared with traditional methods, the system is more objective, less dependent on human observation, and more time-efficient. In addition, the system can also provide personalized diagnosis based on individual EEG patterns, improving its applicability to specific populations.
[0011] By filling the gaps in existing detection methods, this system is expected to play an important role in the early diagnosis, quantitative assessment and personalized intervention of neurological diseases, providing more accurate and timely support to patients while reducing the burden on the medical system.
[0012] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0013] The present invention provides a neurological disease detection process mechanism based on brain-computer interface, including the following five aspects:
[0014] S1. Hardware acquisition module:
[0015] It includes a physical cap equipped with electrodes;
[0016] The electrodes collect EEG signals and transmit the data to a computer via a specially developed hardware system kit;
[0017] The kit also includes: amplifier, digital-to-analog converter, microcontroller and power management module.
[0018] S2. Software system:
[0019] The user starts the system's exe file and enters personal information (name, age, gender);
[0020] After the user confirms, the system launches two main windows: the real-time EEG analysis window and the animation window;
[0021] After the re-test diagnosis is completed, the system will pop up a diagnostic report.
[0022] S3, Real-time EEG analysis window:
[0023] Displays real-time time domain and real-time frequency domain EEG analysis.
[0024] S4, animation window:
[0025] This window will play an animation. The total number of frames of the animation is fixed, but the playback speed can be controlled by the user's real-time attention. After processing the EEG signal and extracting features in step S3, this system can quantitatively evaluate the user's concentration. Through multi-threading technology, this system can organically apply the user's concentration to the animation playback process, so that the animation playback speed can change in real time with the user's attention level.
[0026] S5. Diagnostic report generation:
[0027] Analyze EEG data to generate objective diagnostic reports;
[0028] The report includes an assessment of attention deficits and various related behaviors.
[0029] Furthermore, the first aspect of the present invention S1 hardware acquisition module includes the following parts:
[0030] S11: The first part is a tiny electrode array that can efficiently contact the scalp. The electrodes are made of highly conductive materials to ensure the stability and reliability of signal transmission to maximize signal quality. This electrode array is tightly combined with the head clamp through a soft but firm support system to ensure comfort and reliability during use;
[0031] S12: The second part is the amplifier, which is responsible for enhancing the weak signal captured by the EEG sensor. The amplifier uses advanced electronic components and amplification technology to ensure high sensitivity and low noise level;
[0032] S13: The third part is the analog-to-digital converter, which is responsible for converting analog EEG signals into digital form for processing and analysis by the microcontroller;
[0033] S14: The fourth part is the microcontroller, which is the intelligent core of the whole system and coordinates the collaborative work of various hardware elements. Its program is responsible for controlling data flow, real-time processing and storage to ensure efficient EEG signal acquisition and analysis. At the same time, the microcontroller is connected to the data transmission interface to realize communication with the host computer, making the system more flexible and scalable;
[0034] S15: To ensure that the system runs for a long time, the system is equipped with a power management module, which is responsible for effectively managing power distribution and power consumption to ensure that the hardware life is extended without sacrificing performance.
[0035] A second aspect of the present invention provides a software system, comprising:
[0036] S21 After the subject wears the EEG acquisition device and connects the transmission interface of the EEG acquisition device to the host computer, the user opens the executable file of the host computer, and an information acquisition window pops up on the computer desktop, with a text box for input and corresponding prompt information. The user can enter personal information in this interface, or the doctor can assist in filling it out;
[0037] After filling in the information in S22, you can click the confirmation button. After the user clicks the "Confirm" button, the system will enter the detection stage;
[0038] S23 During the detection phase, the system can pop up two interfaces at the same time, one is the real-time time-frequency EEG signal interface, and the other is the speed-controlled video playback interface. The real-time time-frequency analysis interface can be used as a reference for relevant industry insiders to conduct in-depth analysis, and can be used for further analysis or other related analysis based on this project; the speed-controlled video playback interface is for the test subject to watch. When the test subject watches the video, some EEG signals will undergo some fixed changes. Through the feature recognition algorithm, the EEG signals can be analyzed to quantitatively evaluate the concentration of the test subject. The concentration here can be fed back to the speed-controlled video playback interface. The speed-controlled video playback thread can collect the quantitative concentration of the test subject's attention, and adjust the playback speed of the video in the speed-controlled video playback thread in a positive correlation with the quantitative concentration of attention through the quantitative concentration of attention. Finally, since the total number of frames of the video being played is fixed, the test time depends on the user's concentration. The more concentrated the user's attention is, the faster the video plays and the earlier the video ends;
[0039] After the S24 detection stage is completed, that is, after the fixed frame rate controllable video playback is completed, the system will pop up a detection report interface. The report interface contains the user's personal information filled in by the user in the S21 stage and the attention assessment results obtained by the system based on the EEG signals collected in the S23 EEG signal acquisition stage. It can be used as a reference for the test subject and the testing doctor.
[0040] The third aspect of the present invention provides a real-time EEG analysis and processing algorithm and visualization method, which collects the electrical signals of brain activity through the hardware mentioned in S1, performs data processing and analysis, and visualizes the results through a drawing module. The design of this program enables it to provide important original analysis data for medical diagnosis of relevant practitioners. In detail, it includes:
[0041] S31:
[0042] EEG signal acquisition and background recording: Through the port communication connection with S1, the program can receive the EEG signals collected by S1 in real time and continuously record these signals in the background;
[0043] S32: The collected EEG signals will undergo real-time preprocessing, filtering, and feature extraction steps to better understand and analyze brain activity, while providing important basis for subsequent S33 and S4 steps;
[0044] S33: Combined with the drawing library, the program can visualize the processed EEG signals in various forms, such as time domain graphs and spectrum graphs, providing users with intuitive data display;
[0045] At the same time, through the user-friendly interface, users can easily start data acquisition, adjust parameters, observe real-time or offline EEG signal analysis results, and interact and operate as needed;
[0046] In addition, in addition to basic data processing, users can choose other more efficient signal processing functions or other advanced functions to improve the accuracy and efficiency of EEG signal analysis. At the same time, industry users can also choose to process, analyze, and extract features of EEG signals generated by brain areas other than attention-related brain areas to detect and diagnose other related diseases and improve the versatility of the system.
[0047] A fourth aspect of the present invention provides an animation interface based on multi-threading technology whose playing speed can be controlled by attention.
[0048] This part is a key component of the system. Its innovative animation interface cleverly integrates multi-threading technology, brain-computer interface and real-time EEG analysis algorithm. Through the careful application of multi-threading technology, the system successfully realizes efficient control of video playback speed, so that the video playback speed can change with the user's attention. The more focused the attention, the faster the playback speed, and the more distracted the attention, the slower the playback speed. Specifically, the hardware part of the system can monitor the user's EEG signal in real time and transmit it back to the host computer. The host computer can analyze the user's EEG signal through the S3 step. After processing and feature extraction of the EEG signal, the user's concentration can be quantitatively evaluated. Through multi-threading technology, the user's concentration can be organically applied to the animation playback process, so that the animation playback speed can change in real time with the user's attention level. In addition, users can choose their favorite videos to play according to their preferences, providing users with personalized animation experience, which can prevent users from causing instability in the results due to resistance to the test, and can increase the robustness and sensitivity of the system to a certain extent, and to a certain extent solve the defects of other current detection methods.
[0049] In order to cater to young users, the interface design focuses on friendliness, creating an interesting and highly interactive experience through vivid animation effects and intuitive user interfaces. This project is not only a technological innovation, but also combines a deep focus on user experience, which to a certain extent solves the defect of the high misdiagnosis rate of existing detection methods and ensures the early and accurate diagnosis of various neurological diseases.
[0050] The fifth aspect of the present invention provides an attention assessment system based on a brain-computer interface. Based on the time domain EEG signals and frequency domain EEG signals of the user just collected in the detection, with the help of the feature value extraction and analysis algorithm we selected, the user's attention status is evaluated. At the same time, combined with the basic data of the user just collected, the user's attention detection and evaluation report is generated to assist the user or the doctor.
[0051] Compared with the prior art, the closed-loop control system for mental activities based on brain-computer interface described in the present invention has the following beneficial effects:
[0052] The overall workflow of the brain-computer interface-based mental activity closed-loop control system described in this invention integrates hardware and software technologies, and realizes real-time and objective neurological disease detection through a user-friendly interface. Our goal is to provide more accurate and timely support while reducing the burden on the medical system, especially in the adolescent population, and provide a powerful tool for early intervention. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0054] Figure 1 The figure is a schematic diagram of the system flow described in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0056] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0057] Embodiment 1: Embodiment 1 is a hardware system, the core of which is the following five parts:
[0058] S11: The first part is a tiny electrode array that can efficiently contact the scalp. The electrodes are made of highly conductive materials to ensure the stability and reliability of signal transmission to maximize signal quality. This electrode array is tightly combined with the head clamp through a soft but firm support system to ensure comfort and reliability during use;
[0059] S12: The second part is the amplifier, which is responsible for enhancing the weak signal captured by the EEG sensor. The amplifier uses advanced electronic components and amplification technology to ensure high sensitivity and low noise level;
[0060] S13: The third part is the analog-to-digital converter, which is responsible for converting analog EEG signals into digital form for processing and analysis by the microcontroller;
[0061] S14: The fourth part is the microcontroller, which is the intelligent core of the whole system and coordinates the collaborative work of various hardware elements. Its program is responsible for controlling data flow, real-time processing and storage to ensure efficient EEG signal acquisition and analysis. At the same time, the microcontroller is connected to the data transmission interface to realize communication with the host computer, making the system more flexible and scalable;
[0062] S15: To ensure that the system runs for a long time, the system is equipped with a power management module, which is responsible for effectively managing power distribution and power consumption to ensure that the hardware life is extended without sacrificing performance.
[0063] Embodiment 2:
[0064] S21 After the subject wears the EEG acquisition device and connects the transmission interface of the EEG acquisition device to the host computer, the user opens the executable file of the host computer, and an information acquisition window will pop up on the computer desktop, such as Figure 1 As shown, there are text boxes and corresponding prompts for input. Users can enter personal information on this interface, or doctors can assist in filling it out.
[0065] After filling in the information in S22, you can click the confirmation button. After the user clicks the "Confirm" button, the system will enter the detection stage;
[0066] S23 During the detection phase, the system can pop up two interfaces at the same time, one is the real-time time-frequency EEG signal interface, and the other is the speed-controlled video playback interface. The real-time time-frequency analysis interface can be used as a reference for relevant industry insiders to conduct in-depth analysis, and can be used for further analysis or other related analysis based on this project; the speed-controlled video playback interface is for the test subject to watch. When the test subject watches the video, some EEG signals will undergo some fixed changes. Through the feature recognition algorithm, the EEG signals can be analyzed to quantitatively evaluate the concentration of the test subject. The concentration here can be fed back to the speed-controlled video playback interface. The speed-controlled video playback thread can collect the quantitative concentration of the test subject's attention, and adjust the playback speed of the video in the speed-controlled video playback thread in a positive correlation with the quantitative concentration of attention through the quantitative concentration of attention. Finally, since the total number of frames of the video being played is fixed, the test time depends on the user's concentration. The more concentrated the user's attention is, the faster the video plays and the earlier the video ends;
[0067] After the S24 detection stage is completed, that is, after the fixed frame rate controllable video playback is completed, the system will pop up a detection report interface. The report interface contains the user's personal information filled in by the user in the S21 stage and the attention assessment results obtained by the system based on the EEG signals collected in the S23 EEG signal acquisition stage. It can be used as a reference for the test subject and the testing doctor.
[0068] Embodiment three:
[0069] The third aspect of the present invention provides a real-time EEG analysis and processing algorithm and visualization method, which collects the electrical signals of brain activity through the hardware mentioned in S1, performs data processing and analysis, and visualizes the results through a drawing module. The design of this program enables it to provide important original analysis data for medical diagnosis of relevant practitioners. In detail, it includes:
[0070] S31:
[0071] EEG signal acquisition and background recording: Through the port communication connection with S1, the program can receive the EEG signals collected by S1 in real time and continuously record these signals in the background;
[0072] S32: The collected EEG signals will undergo real-time preprocessing, filtering, and feature extraction steps to better understand and analyze brain activity, while providing important basis for subsequent S33 and S4 steps;
[0073] S33: Combined with the drawing library, the program can visualize the processed EEG signals in various forms, such as time domain graphs and spectrum graphs, providing users with intuitive data display;
[0074] At the same time, through the user-friendly interface, users can easily start data acquisition, adjust parameters, observe real-time or offline EEG signal analysis results, and interact and operate as needed;
[0075] In addition, in addition to basic data processing, users can choose other more efficient signal processing functions or other advanced functions to improve the accuracy and efficiency of EEG signal analysis. At the same time, industry users can also choose to process, analyze, and extract features of EEG signals generated by brain areas other than attention-related brain areas to detect and diagnose other related diseases and improve the versatility of the system.
[0076] Embodiment 4:
[0077] That is, the speed-controllable video playback interface. The speed-controllable video playback thread can collect the quantitative concentration of the attention of the subject, and adjust the playback speed of the video in the speed-controllable video playback thread in a positive correlation with the quantitative concentration of attention through the quantitative concentration of attention. Finally, since the total number of frames of the played video is fixed, the test time depends on the user's concentration. The more concentrated the user's attention is, the faster the video is played and the earlier the video ends.
[0078] Embodiment five:
[0079] Based on the user's time domain EEG signals and frequency domain EEG signals collected in the detection just now, with the help of the feature value extraction and analysis algorithm we selected, the user's attention status is evaluated, and at the same time, combined with the user's basic data just collected, the user's attention detection evaluation report is generated.
[0080] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0081] In the several embodiments provided in the present application, it should be understood that the disclosed methods and systems can be implemented in other ways. For example, the division of the units described above is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The above-mentioned units may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
[0083] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. Closed-loop control system of mental activity based on brain-computer interface, Features , including the following parts: EEG acquisition device, a supporting software: The EEG acquisition device is a simple and portable EEG acquisition device, which consists of a micromotor array, an amplifier, a digital-to-analog converter, etc. It can efficiently contact the scalp, capture EEG signals and transmit them to the host computer for analysis and processing; The software system mainly includes two user ports:
1. Doctor side, the core functions are: auxiliary information filling, viewing diagnosis reports, real-time EEG analysis; 2. Patient side, the core functions are: an animation player based on multi-threading technology whose playback speed can be controlled by attention. Attention comes from the energy concentration of EEG, and the video speed feedback affects the user so that the user can conduct attention training independently.
2. According to claim 1, the closed-loop control system for mental activities based on brain-computer interface, Features ,The wireless EEG acquisition device includes a Bluetooth module, which transmits the collected real-time EEG signals to the host computer, facilitating the host computer to perform further analysis and ,processing.
3. According to claim 1, the closed-loop control system for mental activities based on brain-computer interface, Features , after the supporting software is started S1. A pop-up window can be opened for filling in personal information, which can be filled in by doctors or patients, so as to facilitate the personalized treatment files of patients in the later stage; S2. After the doctor confirms the patient information, the system can pop up a real-time EEG window and an animation window based on multi-threading technology whose playback speed can be controlled by attention on the doctor's side and the patient's side respectively; S3. After the diagnosis is completed, the system can pop up a neurological disease diagnosis report for reference by doctors or patients.
4. The closed-loop control system for mental activities based on brain-computer interface according to claim 3, It is characterized in that The system includes an animation player based on multi-threading technology, the playback speed of which can be controlled by attention. The window will play an animation with a fixed total number of frames, but the playback speed can be controlled by the user's real-time attention. After processing EEG signals and extracting features, the system can quantitatively evaluate the user's concentration level. The system can organically apply the user's concentration level to the animation playback process, so that the animation playback speed can change in real time with the user's attention level. The animation playback speed depends on the concentration of the user's EEG energy. The more concentrated the user's attention is, the greater the concentration of EEG energy is, and the faster the video playback speed is.
5. The closed-loop control system for mental activities based on brain-computer interface according to claim 3, It is characterized in that It includes a real-time EEG processing and visualization interface, which collects the electrical signals of brain activity based on the hardware mentioned in S1, processes the data in real time, and visualizes the results through a drawing module. The design of this interface enables it to provide important raw analysis data for medical diagnosis of relevant practitioners.
6. The closed-loop control system for mental activities based on brain-computer interface according to claim 5, It is characterized in that It includes a real-time EEG analysis and processing algorithm and a visualization method, which collects electrical signals of brain activity based on the hardware mentioned in S1, and uses the algorithm to preprocess, filter, and extract features of the data in real time. Finally, the real-time EEG is classified through a machine learning algorithm. The animation player based on multi-threading technology described in Claim 4, whose playback speed can be controlled by attention, controls the animation playback speed based on the results of the algorithm.
7. The closed-loop control system for mental activities based on brain-computer interface according to claim 3, It is characterized in that The invention comprises an attention assessment system combined with the algorithm described in claim 6, which can assess the user's attention status based on the result of EEG processing by the algorithm described in claim 6, and generate a personalized attention detection and assessment report for the user in combination with the basic data of the user just collected to assist in diagnosis of the user.
8. The closed-loop control system for mental activities based on a brain-computer interface according to claim 4, It is characterized in that The interface presents users with a real-time "energy score". Based on this score, users can find out that the more focused they are, the faster the video in the speed-controllable video player will play. When they are not focused, the video will play slower or even in reverse. Users will therefore work hard to concentrate their attention for training and achieve the goal of correcting neurological diseases.
9. The closed-loop control system for mental activities based on brain-computer interface according to claim 7, It is characterized in that Finally, the user can selectively save the EEG signal data in a specified HTML file.
