A closed-loop detection method and device for electroencephalogram (EEG) signals

By calculating brain space impedance parameters and feedback signals for closed-loop control, the problem of EEG signal detection accuracy and control is solved, and detection accuracy and user experience are improved.

CN115251955BActive Publication Date: 2024-09-20WUHAN NEURACOM TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210880702.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-25
Publication Date
2024-09-20
Estimated Expiration
2042-07-25

AI Technical Summary

Technical Problem

Existing EEG signal detection methods cannot guarantee the accuracy of EEG signal position, and cannot effectively control EEG signals based on external stimulation signals, resulting in poor user detection experience.

Method used

By collecting the EEG signal from the electrical stimulation site, calculating the brain spatial impedance parameters, determining the EEG signal at the target electrical stimulation site, and controlling it based on the feedback signal, closed-loop detection is achieved and signal accuracy and biocompatibility are improved.

Benefits of technology

It achieves precise control of EEG signals, improves detection accuracy and user experience, and ensures that the matching result between signal and output meets the preset conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115251955B
    Figure CN115251955B
Patent Text Reader

Abstract

The present application discloses a closed-loop detection method and device for EEG signals, the method comprising: when detecting EEG signals, first collecting a first EEG signal of at least one electrical stimulation site, then obtaining a brain space impedance parameter based on the first EEG signal, and calculating a second EEG signal of a target electrical stimulation site based on the brain space impedance parameter; then determining an analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site, collecting a feedback EEG signal of the target electrical stimulation site based on the analog electrical signal, and controlling the target electrical stimulation site to output according to the feedback EEG signal of the target electrical stimulation site. By combining the collected feedback EEG signal to control the target electrical stimulation site to output, a closed loop can be formed between the collected signal and the output signal, which can not only achieve the purpose of accurately controlling the EEG signal by mutual reference, but also improve biocompatibility, giving users a more comfortable detection experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electroencephalogram (EEG) signals, and in particular, relates to a closed-loop detection method and device for EEG signals. Background Art

[0002] At present, the methods for determining the functions of brain areas and EEG signals mainly use visual triggering, P300, motor imagery and other methods. The biggest feature of these methods is to determine the location of EEG signals through external stimulation and confirm the EEG signals through certain algorithms.

[0003] However, the above-mentioned method can only determine the approximate location of the EEG signal, but cannot guarantee the accuracy of the location of the EEG signal, and cannot effectively control the EEG signal according to the external stimulation signal, which may easily affect the user's detection experience. Summary of the invention

[0004] In order to solve the above-mentioned technical problems such as the inability to ensure the accuracy of the EEG signal position and the inability to effectively control the EEG signal according to the external stimulation signal, this application proposes an EEG signal closed-loop detection method and device, and its technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a closed-loop detection method for an EEG signal, comprising:

[0006] Collecting a first electroencephalogram signal of at least one electrical stimulation site;

[0007] Obtaining a brain spatial impedance parameter according to a first EEG signal of at least one electrical stimulation site, and calculating a second EEG signal of a target electrical stimulation site based on the brain spatial impedance parameter; wherein the target electrical stimulation site is any one of the at least one electrical stimulation site;

[0008] Determine an analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site, and collect a feedback EEG signal of the target electrical stimulation site based on the analog electrical signal;

[0009] The target electrical stimulation site is controlled to output according to the feedback EEG signal of the target electrical stimulation site.

[0010] In an optional solution of the first aspect, collecting a first electroencephalogram signal of at least one electrical stimulation site includes:

[0011] Controlling each of the at least one electrical stimulation site to output a preset stimulation electrical signal;

[0012] The first electroencephalogram signal based on the preset excitation electrical signal is collected at each electrical stimulation site.

[0013] In another optional solution of the first aspect, obtaining a brain spatial impedance parameter according to a first electroencephalogram signal of at least one electrical stimulation site includes:

[0014] Extracting a bioelectric signal from the first EEG signal of each electrical stimulation site;

[0015] The brain spatial impedance parameters are obtained according to the preset excitation electrical signal and the bioelectrical signal of each electrical stimulation site.

[0016] In another optional solution of the first aspect, before obtaining the brain spatial impedance parameter according to the first EEG signal of at least one electrical stimulation site, the method further includes:

[0017] Performing filtering processing on the first EEG signal of each electrical stimulation site;

[0018] Obtaining a brain spatial impedance parameter according to a first electroencephalogram signal of at least one electrical stimulation site includes:

[0019] The brain spatial impedance parameters are obtained according to the processed first EEG signal of each electrical stimulation site.

[0020] In another optional solution of the first aspect, calculating the second EEG signal of the target electrical stimulation site based on the brain spatial impedance parameter includes:

[0021] Determine a target electrical stimulation site from at least one electrical stimulation site, and determine a positional relationship between the target electrical stimulation site and each electrical stimulation site in the at least one electrical stimulation site;

[0022] Based on the brain spatial impedance parameter and the positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site, a spatial transfer function of the target electrical stimulation site is obtained;

[0023] A second EEG signal of the target electrical stimulation site is calculated based on the first EEG signal of the target electrical stimulation site and the spatial transfer function of the target electrical stimulation site.

[0024] In another optional solution of the first aspect, controlling the target electrical stimulation site to output according to the feedback EEG signal of the target electrical stimulation site includes:

[0025] collecting a third electroencephalogram signal of any one of the at least one electrical stimulation sites;

[0026] Calculate the target EEG signal of the target electrical stimulation site according to the third EEG signal of any electrical stimulation site;

[0027] Matching the feedback EEG signal of the target electrical stimulation site and the target EEG signal of the target electrical stimulation site to obtain a matching result;

[0028] The target electrical stimulation site is controlled to output according to the matching result.

[0029] In another optional solution of the first aspect, controlling the target electrical stimulation site to output according to the matching result includes:

[0030] When the matching result meets the preset conditions, the target electrical stimulation site is controlled to output an analog electrical signal;

[0031] When the matching result does not meet the preset conditions, the analog electrical signal is adjusted according to the target EEG signal of the target electrical stimulation site until the matching result between the feedback EEG signal of the target electrical stimulation site based on the adjusted analog electrical signal and the target EEG signal of the target electrical stimulation site meets the preset conditions.

[0032] In a second aspect, an embodiment of the present application provides an EEG signal closed-loop detection device, comprising:

[0033] A signal acquisition module, used for acquiring a first EEG signal of at least one electrical stimulation site;

[0034] A signal analysis module, used to obtain a brain spatial impedance parameter according to a first EEG signal of at least one electrical stimulation site, and calculate a second EEG signal of a target electrical stimulation site based on the brain spatial impedance parameter; wherein the target electrical stimulation site is any one of the at least one electrical stimulation site;

[0035] A signal feedback module, used to determine an analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site, and collect a feedback EEG signal of the target electrical stimulation site based on the analog electrical signal;

[0036] The signal control module is used to control the output of the target electrical stimulation site according to the feedback EEG signal of the target electrical stimulation site.

[0037] In an optional solution of the second aspect, the signal acquisition module includes:

[0038] A signal output unit, used to control each of the at least one electrical stimulation site to output a preset excitation electrical signal;

[0039] The signal acquisition unit is used to collect the first electroencephalogram signal of each electrical stimulation site based on the preset excitation electrical signal.

[0040] In yet another optional solution of the second aspect, the signal analysis module includes:

[0041] A signal extraction unit, used for extracting a bioelectric signal from the first EEG signal of each electrical stimulation site;

[0042] The first processing unit is used to obtain brain spatial impedance parameters according to the preset excitation electrical signal and the bioelectric signal of each electrical stimulation site.

[0043] In yet another optional solution of the second aspect, the device further comprises:

[0044] A signal filtering module, used for filtering the first EEG signal of each electrical stimulation site before obtaining the brain spatial impedance parameter according to the first EEG signal of at least one electrical stimulation site;

[0045] The signal analysis module is specifically used to obtain brain spatial impedance parameters according to the processed first electroencephalogram signal of each electrical stimulation site.

[0046] In yet another optional solution of the second aspect, the signal analysis module further includes:

[0047] a signal determination unit, configured to determine a target electrical stimulation site from at least one electrical stimulation site, and determine a positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site;

[0048] a second processing unit, configured to obtain a spatial transfer function of the target electrical stimulation site based on the brain spatial impedance parameter and a positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site;

[0049] The third processing unit is used to calculate the second EEG signal of the target electrical stimulation site according to the first EEG signal of the target electrical stimulation site and the spatial transfer function of the target electrical stimulation site.

[0050] In yet another optional solution of the second aspect, the signal control module includes:

[0051] a signal acquisition unit, used for acquiring a third electroencephalogram signal of any one of the at least one electrical stimulation sites;

[0052] A fourth processing unit, configured to calculate a target EEG signal of a target electrical stimulation site according to a third EEG signal of any electrical stimulation site;

[0053] A signal matching unit, used for matching the feedback EEG signal of the target electrical stimulation site with the target EEG signal of the target electrical stimulation site to obtain a matching result;

[0054] The signal output unit is used to control the target electrical stimulation site to output according to the matching result.

[0055] In yet another optional solution of the second aspect, the signal output unit is specifically used to:

[0056] When the matching result meets the preset conditions, the target electrical stimulation site is controlled to output an analog electrical signal;

[0057] When the matching result does not meet the preset conditions, the analog electrical signal is adjusted according to the target EEG signal of the target electrical stimulation site until the matching result between the feedback EEG signal of the target electrical stimulation site based on the adjusted analog electrical signal and the target EEG signal of the target electrical stimulation site meets the preset conditions.

[0058] In a third aspect, an embodiment of the present application further provides an EEG signal closed-loop detection device, including a processor and a memory;

[0059] The processor is connected to the memory;

[0060] A memory for storing executable program codes;

[0061] The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the EEG signal closed-loop detection method provided by the first aspect of the embodiment of the present application or any implementation method of the first aspect.

[0062] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the EEG signal closed-loop detection method provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect can be implemented.

[0063] In the embodiment of the present application, when detecting the EEG signal, the first EEG signal of at least one electrical stimulation site can be collected first, and then the brain space impedance parameter is obtained according to the first EEG signal of at least one electrical stimulation site, and the second EEG signal of the target electrical stimulation site is calculated based on the brain space impedance parameter; then the analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site can be determined, and the feedback EEG signal of the target electrical stimulation site based on the analog electrical signal can be collected, and the target electrical stimulation site can be controlled to output according to the feedback EEG signal of the target electrical stimulation site. First, the theoretical EEG signal of the target electrical stimulation site is determined by the EEG signals collected from multiple electrical stimulation sites, and then the target electrical stimulation site can be controlled to output the analog electrical signal corresponding to the theoretical EEG signal. At the same time, the target electrical stimulation site can also be controlled to output in combination with the collected feedback EEG signal, so as to realize the formation of a closed loop between the collected signal and the output signal, which can not only achieve the purpose of accurately controlling the EEG signal by mutual reference, but also improve biocompatibility, and bring a more comfortable detection experience to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0065] Figure 1 A schematic diagram of a closed-loop detection method for an EEG signal provided in an embodiment of the present application;

[0066] Figure 2 A schematic diagram of the structure of an EEG signal closed-loop detection device provided in an embodiment of the present application;

[0067] Figure 3 A schematic diagram of the structure of another EEG signal closed-loop detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0069] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.

[0070] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.

[0071] See also Figure 1 , Figure 1 A schematic flow chart of a closed-loop detection method for an EEG signal provided in an embodiment of the present application is shown.

[0072] like Figure 1 As shown, the EEG signal closed-loop detection method may at least include the following steps:

[0073] Step 102: Collect a first EEG signal from at least one electrical stimulation site.

[0074] Specifically, when detecting the EEG signal, at least one electrode may be placed outside the cerebral cortex of the user to be detected, but is not limited to it. Each electrode may include a collection end for collecting EEG signals in the cerebral cortex of the user to be detected and an output end for outputting a stimulation excitation electrical signal, and the collection end for collecting EEG signals in the cerebral cortex of the user to be detected and the output end for outputting a stimulation excitation electrical signal may be, but are not limited to, in the same position. It is understandable that a conductive paste may be applied between each electrode and the outside of the cerebral cortex of the user to be detected to facilitate signal amplification. Among them, each electrode may correspond to an electrical stimulation site outside the cerebral cortex of the user to be detected, and the distance between any two adjacent electrodes may be set by itself, for example, but not limited to, the distance between any two adjacent electrodes may be set to be equal, and the embodiments of the present application are not limited to this.

[0075] Furthermore, after at least one electrode is placed outside the cerebral cortex of the user to be detected, a first electroencephalogram signal in the cerebral cortex of the user to be detected can be collected based on the electrical stimulation site corresponding to the at least one electrode.

[0076] As an option of the embodiment of the present application, collecting a first EEG signal of at least one electrical stimulation site includes:

[0077] Controlling each of the at least one electrical stimulation site to output a preset stimulation electrical signal;

[0078] The first electroencephalogram signal based on the preset excitation electrical signal is collected at each electrical stimulation site.

[0079] Specifically, when collecting the first EEG signal of at least one electrical stimulation site, the output end of each electrode may first output a preset excitation electrical signal to the cerebral cortex of the user to be detected, so that the cerebral cortex of the user to be detected can generate a signal response according to the input preset excitation electrical signal, and the collection end of each electrode collects the EEG signal corresponding to the signal response. Among them, the preset excitation electrical signal may be, but is not limited to, a safe excitation current with a current value of a preset threshold, and the current value of the safe excitation current may avoid causing damage to the neurons in the cerebral cortex of the user to be detected, and the preset excitation electrical signal output by each electrode may be, but is not limited to, set to be the same, so as to improve the detection efficiency. It is understandable that the first EEG signals collected by the collection end of each electrode are different due to their different positions, and the expression form of the first EEG signal may be, but is not limited to, a fluctuation curve.

[0080] Here, taking the example that at least one electrical stimulation site may include electrical stimulation site A, electrical stimulation site B and electrical stimulation site C, the output end of electrical stimulation site A, the output end of electrical stimulation site B and the output end of electrical stimulation site C can first output the same preset excitation current I to the cerebral cortex of the user to be detected at their respective corresponding electrical stimulation sites at the same time, and within a preset time interval, the collection end of the electrical stimulation site A, the collection end of the electrical stimulation site B and the collection end of the electrical stimulation site C collect the electroencephalogram (EEG) signal generated by the cerebral cortex of the user to be detected, wherein the collection end of the electrical stimulation site A can collect the first electroencephalogram (EEG) signal a, the collection end of the electrical stimulation site B can collect the first electroencephalogram (EEG) signal b, and the collection end of the electrical stimulation site C can collect the first electroencephalogram (EEG) signal c.

[0081] Step 104: obtain a brain spatial impedance parameter according to the first EEG signal of at least one electrical stimulation site, and calculate a second EEG signal of the target electrical stimulation site based on the brain spatial impedance parameter.

[0082] The target electrical stimulation site includes the electrical stimulation site corresponding to the first electroencephalogram signal and / or the electrical stimulation site other than the electrical stimulation site corresponding to the first electroencephalogram signal.

[0083] Specifically, after collecting the first EEG signal of at least one electrical stimulation site, the brain space impedance parameter of the cerebral cortex of the user to be detected can be obtained based on the first EEG signal of each electrical stimulation site. Since the resistivity corresponding to the biological tissue in the cerebral cortex of each user to be detected is different, when obtaining the brain space impedance parameter of the cerebral cortex of the user to be detected based on the first EEG signal of each electrical stimulation site, a bioelectric signal can be extracted from the first EEG signal of each electrical stimulation site, but is not limited to a biovoltage signal, and since the biovoltage signal has different characteristics from the first EEG signal, the corresponding biovoltage signal can be extracted from the first EEG signal of each electrical stimulation site by feature extraction.

[0084] Then, the impedance parameters of different biological tissues in the cerebral cortex of the user to be detected can be obtained by combining the biovoltage signal of each electrical stimulation site and the preset excitation electrical signal output by the electrodes corresponding to each electrical stimulation site. It can be understood that the calculation method of the impedance parameters here can refer to the impedance calculation method known to those skilled in the art, and no further elaboration is given here.

[0085] Furthermore, after obtaining the brain space impedance parameter of the cerebral cortex of the user to be detected, the second EEG signal of the target electrical stimulation site can be calculated according to the brain space impedance parameter. The target electrical stimulation site can be any one of the at least one electrical stimulation site mentioned above, and the second EEG signal of the target electrical stimulation site can be understood as a theoretical EEG signal, but is not limited to it.

[0086] As another option of the embodiment of the present application, calculating the second EEG signal of the target electrical stimulation site based on the brain spatial impedance parameter includes:

[0087] Determine a target electrical stimulation site from at least one electrical stimulation site, and determine a positional relationship between the target electrical stimulation site and each electrical stimulation site in the at least one electrical stimulation site;

[0088] Based on the brain spatial impedance parameter and the positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site, a spatial transfer function of the target electrical stimulation site is obtained;

[0089] A second EEG signal of the target electrical stimulation site is calculated based on the first EEG signal of the target electrical stimulation site and the spatial transfer function of the target electrical stimulation site.

[0090] Specifically, a target electrical stimulation site can be first determined from at least one electrical stimulation site, and the target electrical stimulation site can be used to output analog electrical signals to the cerebral cortex of the user to be detected, and collect the electroencephalogram (EEG) signals generated by the cerebral cortex of the user to be detected according to the stimulation of the analog electrical signals. Here, any electrical stimulation site except the target electrical stimulation site in the at least one electrical stimulation site does not output analog electrical signals to the cerebral cortex of the user to be detected during the process of EEG signal detection. Then, the positional relationship between the target electrical stimulation site and any electrical stimulation site except the target electrical stimulation site in the at least one electrical stimulation site can be determined, for example but not limited to, a spatial rectangular coordinate system can be established based on the cerebral cortex of the user to be detected, and the position coordinates of the target electrical stimulation site and any electrical stimulation site except the target electrical stimulation site in the at least one electrical stimulation site can be determined in the spatial rectangular coordinate system, and then the positional relationship between the target electrical stimulation site and any electrical stimulation site except the target electrical stimulation site in the at least one electrical stimulation site can be obtained according to the position coordinates, and the embodiments of the present application are not limited to this.

[0091] Furthermore, after obtaining the brain spatial impedance parameters and the positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site, the brain spatial impedance parameters and the positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site can be brought into a preset spatial transfer function structure to obtain the spatial transfer function of the target electrical stimulation site.

[0092] Since the first EEG signal collected by the target electrical stimulation site can be understood as a collection of components of the first EEG signals of different electrical stimulation sites (that is, the components of the first EEG signal of each electrical stimulation site will be collected by the target electrical stimulation site and used as the first EEG signal together with the EEG signal collected by the target electrical stimulation site), in order to obtain a more accurate theoretical EEG signal corresponding to the target electrical stimulation site, a rotation matrix can be established. The structure of the rotation matrix may include the matrix corresponding to the second EEG signal of the target electrical stimulation site, the spatial transfer function of the target electrical stimulation site, and the first EEG signal of the target electrical stimulation site. By substituting the spatial transfer function of the target electrical stimulation site and the first EEG signal of the target electrical stimulation site obtained above, the matrix corresponding to the second EEG signal of the target electrical stimulation site can be derived, and then the second EEG signal of the target electrical stimulation site can be obtained.

[0093] As another option of the embodiment of the present application, before obtaining the brain spatial impedance parameter according to the first EEG signal of at least one electrical stimulation site, the method further includes:

[0094] Performing filtering processing on the first EEG signal of each electrical stimulation site;

[0095] Obtaining a brain spatial impedance parameter according to a first electroencephalogram signal of at least one electrical stimulation site includes:

[0096] The brain spatial impedance parameters are obtained according to the processed first EEG signal of each electrical stimulation site.

[0097] Specifically, before obtaining the brain spatial impedance parameters based on the first EEG signal of at least one electrical stimulation site, the first EEG signal of each electrical stimulation site may be filtered to remove the biological static electrical signal, thereby improving the accuracy of the first EEG signal of each electrical stimulation site.

[0098] Step 106: determine the analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site, and collect the feedback EEG signal of the target electrical stimulation site based on the analog electrical signal.

[0099] Specifically, after obtaining the second EEG signal of the target electrical stimulation site, the corresponding analog electrical signal can be determined based on the second EEG signal of the target electrical stimulation site. The waveform of the analog electrical signal can be but is not limited to being consistent with the waveform of the second EEG signal, and the analog electrical signal can be a current signal in the normal output current range.

[0100] Then, after determining the analog electrical signal of the target electrical stimulation site, the output end of the electrode corresponding to the target electrical stimulation site outputs the analog electrical signal to the cerebral cortex of the user to be detected, and the collection end of the electrode collects the feedback EEG signal generated by the cerebral cortex of the user to be detected based on the analog electrical signal.

[0101] Step 108: Control the target electrical stimulation site to output according to the feedback EEG signal of the target electrical stimulation site.

[0102] Specifically, after the feedback EEG signal is collected by the collection end of the electrode at the target electrical stimulation site, the collection end of the electrode at other electrical stimulation sites can also collect the EEG signal generated by the cerebral cortex of the detected user to obtain the third EEG signal corresponding to each. Then, the target EEG signal of the target electrical stimulation site can be calculated based on the third EEG signal of any electrical stimulation site among the other electrical stimulation sites and the spatial transfer function of the electrical stimulation site corresponding to the target electrical stimulation site. Among them, the method of calculating the target EEG signal of the target electrical stimulation site can refer to the above embodiment or the known technology in the art, which will not be elaborated here.

[0103] Furthermore, after obtaining the target EEG signal of the target electrical stimulation site, the feedback EEG signal of the target electrical stimulation site and the target EEG signal of the target electrical stimulation site can be matched to obtain a matching result. It can be understood that the matching result here can be the similarity between the feedback EEG signal of the target electrical stimulation site and the target EEG signal of the target electrical stimulation site. The calculation method can refer to the common similarity calculation method, which will not be described in detail here.

[0104] Possibly, when the matching result meets the preset condition, the target electrical stimulation site is controlled to continuously output the analog electrical signal. The preset condition may be, but is not limited to, a preset similarity interval. When the matching result is within the preset similarity interval, it indicates that the matching result meets the preset condition. When the matching result does not meet the preset similarity interval, it indicates that the matching result does not meet the preset condition.

[0105] It is possible that when the matching result does not meet the preset conditions, the analog electrical signal is adjusted according to the target EEG signal of the target electrical stimulation site until the matching result between the collected feedback EEG signal of the target electrical stimulation site based on the adjusted analog electrical signal and the target EEG signal of the target electrical stimulation site meets the preset conditions. It is understandable that when the matching result meets the preset conditions, the target electrical stimulation site can be controlled to continuously output the adjusted analog electrical signal.

[0106] See also Figure 2 , Figure 2 A schematic structural diagram of an EEG signal closed-loop detection device provided in an embodiment of the present application is shown.

[0107] like Figure 2 As shown, the EEG signal closed-loop detection device may include at least a signal acquisition module 201, a signal analysis module 202, a signal feedback module 203 and a signal control module 204, wherein:

[0108] A signal acquisition module 201, used for collecting a first EEG signal of at least one electrical stimulation site;

[0109] A signal analysis module 202, configured to obtain a brain spatial impedance parameter according to a first EEG signal of at least one electrical stimulation site, and calculate a second EEG signal of a target electrical stimulation site based on the brain spatial impedance parameter; wherein the target electrical stimulation site is any one of the at least one electrical stimulation site;

[0110] The signal feedback module 203 is used to determine the analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site, and collect the feedback EEG signal of the target electrical stimulation site based on the analog electrical signal;

[0111] The signal control module 204 is used to control the output of the target electrical stimulation site according to the feedback EEG signal of the target electrical stimulation site.

[0112] In some possible embodiments, the signal acquisition module includes:

[0113] A signal output unit, used to control each of the at least one electrical stimulation site to output a preset excitation electrical signal;

[0114] The signal acquisition unit is used to collect the first electroencephalogram signal of each electrical stimulation site based on the preset excitation electrical signal.

[0115] In some possible embodiments, the signal analysis module includes:

[0116] A signal extraction unit, used for extracting a bioelectric signal from the first EEG signal of each electrical stimulation site;

[0117] The first processing unit is used to obtain brain spatial impedance parameters according to the preset excitation electrical signal and the bioelectric signal of each electrical stimulation site.

[0118] In some possible embodiments, the device further includes:

[0119] A signal filtering module, used for filtering the first EEG signal of each electrical stimulation site before obtaining the brain spatial impedance parameter according to the first EEG signal of at least one electrical stimulation site;

[0120] The signal analysis module is specifically used to obtain brain spatial impedance parameters according to the processed first electroencephalogram signal of each electrical stimulation site.

[0121] In some possible embodiments, the signal analysis module further includes:

[0122] a signal determination unit, configured to determine a target electrical stimulation site from at least one electrical stimulation site, and determine a positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site;

[0123] a second processing unit, configured to obtain a spatial transfer function of the target electrical stimulation site based on the brain spatial impedance parameter and a positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site;

[0124] The third processing unit is used to calculate the second EEG signal of the target electrical stimulation site according to the first EEG signal of the target electrical stimulation site and the spatial transfer function of the target electrical stimulation site.

[0125] In some possible embodiments, the signal control module includes:

[0126] a signal acquisition unit, used for acquiring a third electroencephalogram signal of any one of the at least one electrical stimulation sites;

[0127] A fourth processing unit, configured to calculate a target EEG signal of a target electrical stimulation site according to a third EEG signal of any electrical stimulation site;

[0128] A signal matching unit, used for matching the feedback EEG signal of the target electrical stimulation site with the target EEG signal of the target electrical stimulation site to obtain a matching result;

[0129] The signal output unit is used to control the target electrical stimulation site to output according to the matching result.

[0130] In some possible embodiments, the signal output unit is specifically used for:

[0131] When the matching result meets the preset conditions, the target electrical stimulation site is controlled to output an analog electrical signal;

[0132] When the matching result does not meet the preset conditions, the analog electrical signal is adjusted according to the target EEG signal of the target electrical stimulation site until the matching result between the feedback EEG signal of the target electrical stimulation site based on the adjusted analog electrical signal and the target EEG signal of the target electrical stimulation site meets the preset conditions.

[0133] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (Field-Programmable Gate Array, FPGA), an integrated circuit (Integrated Circuit, IC), etc.

[0134] See also Figure 3 , Figure 3 FIG. 2 shows a schematic diagram of the structure of another closed-loop EEG signal detection device provided in an embodiment of the present application. Figure 3 As shown, the EEG signal closed-loop detection device 300 may include: at least one processor 301 , at least one network interface 303 , a user interface 303 , a memory 305 and at least one communication bus 302 .

[0135] The communication bus 302 may be used to realize the connection and communication among the above-mentioned components.

[0136] The user interface 303 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0137] The network interface 303 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0138] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts within the entire electronic device 300, and executes various functions and processes data of the routing device 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 301 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, but may be implemented separately through a chip.

[0139] The memory 305 may include a RAM or a ROM. Optionally, the memory 305 includes a non-transitory computer-readable medium. The memory 305 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally be at least one storage device located away from the aforementioned processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an EEG signal closed-loop detection application.

[0140] Specifically, the processor 301 may be used to call the EEG signal closed-loop detection application stored in the memory 305, and specifically perform the following operations:

[0141] Collecting a first electroencephalogram signal of at least one electrical stimulation site;

[0142] Obtaining a brain spatial impedance parameter according to a first EEG signal of at least one electrical stimulation site, and calculating a second EEG signal of a target electrical stimulation site based on the brain spatial impedance parameter; wherein the target electrical stimulation site is any one of the at least one electrical stimulation site;

[0143] Determine an analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site, and collect a feedback EEG signal of the target electrical stimulation site based on the analog electrical signal;

[0144] The target electrical stimulation site is controlled to output according to the feedback EEG signal of the target electrical stimulation site.

[0145] In some possible embodiments, collecting a first EEG signal of at least one electrical stimulation site includes:

[0146] Controlling each of the at least one electrical stimulation site to output a preset stimulation electrical signal;

[0147] The first electroencephalogram signal based on the preset excitation electrical signal is collected at each electrical stimulation site.

[0148] In some possible embodiments, obtaining a brain spatial impedance parameter according to a first EEG signal of at least one electrical stimulation site includes:

[0149] Extracting a bioelectric signal from the first EEG signal of each electrical stimulation site;

[0150] The brain spatial impedance parameters are obtained according to the preset excitation electrical signal and the bioelectrical signal of each electrical stimulation site.

[0151] In some possible embodiments, before obtaining the brain spatial impedance parameter according to the first EEG signal of at least one electrical stimulation site, the method further includes:

[0152] Performing filtering processing on the first EEG signal of each electrical stimulation site;

[0153] Obtaining a brain spatial impedance parameter according to a first electroencephalogram signal of at least one electrical stimulation site includes:

[0154] The brain spatial impedance parameters are obtained according to the processed first EEG signal of each electrical stimulation site.

[0155] In some possible embodiments, calculating the second EEG signal of the target electrical stimulation site based on the brain spatial impedance parameter includes:

[0156] Determine a target electrical stimulation site from at least one electrical stimulation site, and determine a positional relationship between the target electrical stimulation site and each electrical stimulation site in the at least one electrical stimulation site;

[0157] Based on the brain spatial impedance parameter and the positional relationship between the target electrical stimulation site and each of the at least one electrical stimulation site, a spatial transfer function of the target electrical stimulation site is obtained;

[0158] A second EEG signal of the target electrical stimulation site is calculated based on the first EEG signal of the target electrical stimulation site and the spatial transfer function of the target electrical stimulation site.

[0159] In some possible embodiments, controlling the target electrical stimulation site to output according to the feedback EEG signal of the target electrical stimulation site includes:

[0160] collecting a third electroencephalogram signal of any one of the at least one electrical stimulation sites;

[0161] Calculate the target EEG signal of the target electrical stimulation site according to the third EEG signal of any electrical stimulation site;

[0162] Matching the feedback EEG signal of the target electrical stimulation site and the target EEG signal of the target electrical stimulation site to obtain a matching result;

[0163] The target electrical stimulation site is controlled to output according to the matching result.

[0164] In some possible embodiments, controlling the target electrical stimulation site to output according to the matching result includes:

[0165] When the matching result meets the preset conditions, the target electrical stimulation site is controlled to output an analog electrical signal;

[0166] When the matching result does not meet the preset conditions, the analog electrical signal is adjusted according to the target EEG signal of the target electrical stimulation site until the matching result between the feedback EEG signal of the target electrical stimulation site based on the adjusted analog electrical signal and the target EEG signal of the target electrical stimulation site meets the preset conditions.

[0167] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0168] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0169] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0170] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. 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. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0172] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0173] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program code.

[0174] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by entering a program to instruct related hardware. The program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0175] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A closed-loop detection method for EEG signals, characterized in that: include: Collecting a first electroencephalogram signal of at least one electrical stimulation site; Obtaining a brain spatial impedance parameter according to the first EEG signal of the at least one electrical stimulation site, and calculating a second EEG signal of the target electrical stimulation site based on the brain spatial impedance parameter; wherein the target electrical stimulation site is any one of the at least one electrical stimulation site; Determine an analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site, and collect a feedback EEG signal of the target electrical stimulation site based on the analog electrical signal; Controlling the target electrical stimulation site to output according to the feedback EEG signal of the target electrical stimulation site; The step of obtaining a brain spatial impedance parameter according to the first electroencephalogram signal of the at least one electrical stimulation site comprises: extracting a bioelectric signal from the first EEG signal of each of the electrical stimulation sites; Obtaining brain spatial impedance parameters according to a preset excitation electrical signal and a bioelectrical signal of each electrical stimulation site; The step of calculating a second electroencephalogram signal of a target electrical stimulation site based on the brain spatial impedance parameter comprises: Determine a target electrical stimulation site from the at least one electrical stimulation site, and determine a positional relationship between the target electrical stimulation site and each electrical stimulation site in the at least one electrical stimulation site; Based on the brain spatial impedance parameter and the positional relationship, obtaining the spatial transfer function of the target electrical stimulation site; A second electroencephalogram signal of the target electrical stimulation site is calculated according to the spatial transfer function.

2. The method according to claim 1, characterized in that The collecting of a first electroencephalogram signal of at least one electrical stimulation site comprises: Controlling each of the at least one electrical stimulation site to output a preset stimulation electrical signal; A first electroencephalogram signal based on the preset excitation electrical signal is collected from each of the electrical stimulation sites.

3. The method according to claim 2, characterized in that Before obtaining the brain spatial impedance parameter according to the first EEG signal of the at least one electrical stimulation site, the method further includes: The first electroencephalogram signal of each electrical stimulation site is filtered.

4. The method according to any one of claims 1 to 3, characterized in that: The step of controlling the target electrical stimulation site to output according to the feedback electroencephalogram signal of the target electrical stimulation site comprises: collecting a third electroencephalogram signal of any one of the at least one electrical stimulation sites; Calculating a target EEG signal of the target electrical stimulation site according to the third EEG signal of any one of the electrical stimulation sites; Matching the feedback EEG signal of the target electrical stimulation site and the target EEG signal of the target electrical stimulation site to obtain a matching result; The target electrical stimulation site is controlled to output according to the matching result.

5. The method according to claim 4, characterized in that The step of controlling the target electrical stimulation site to output according to the matching result comprises: When the matching result meets a preset condition, controlling the target electrical stimulation site to output the analog electrical signal; When the matching result does not meet the preset condition, the analog electrical signal is adjusted according to the target EEG signal of the target electrical stimulation site until the matching result between the feedback EEG signal of the target electrical stimulation site based on the adjusted analog electrical signal and the target EEG signal of the target electrical stimulation site meets the preset condition.

6. A closed-loop detection device for EEG signals, characterized in that: include: A signal acquisition module, used for acquiring a first EEG signal of at least one electrical stimulation site; a signal analysis module, configured to obtain a brain spatial impedance parameter according to the first EEG signal of the at least one electrical stimulation site, and calculate a second EEG signal of the target electrical stimulation site based on the brain spatial impedance parameter; wherein the target electrical stimulation site is any one of the at least one electrical stimulation site; A signal feedback module, used to determine an analog electrical signal corresponding to the second EEG signal of the target electrical stimulation site, and collect a feedback EEG signal of the target electrical stimulation site based on the analog electrical signal; A signal control module, used for controlling the target electrical stimulation site to output according to the feedback EEG signal of the target electrical stimulation site; The step of obtaining a brain spatial impedance parameter according to the first electroencephalogram signal of the at least one electrical stimulation site comprises: extracting a bioelectric signal from the first EEG signal of each of the electrical stimulation sites; Obtaining brain spatial impedance parameters according to a preset excitation electrical signal and a bioelectrical signal of each electrical stimulation site; The step of calculating a second electroencephalogram signal of a target electrical stimulation site based on the brain spatial impedance parameter comprises: Determine a target electrical stimulation site from the at least one electrical stimulation site, and determine a positional relationship between the target electrical stimulation site and each electrical stimulation site in the at least one electrical stimulation site; Based on the brain spatial impedance parameter and the positional relationship, obtaining the spatial transfer function of the target electrical stimulation site; A second electroencephalogram signal of the target electrical stimulation site is calculated according to the spatial transfer function.

7. A closed-loop detection device for EEG signals, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.