Electroencephalogram stimulation control method and device, medium and computer equipment
By dividing the electrical stimulation cycle into stimulation, gap, and re-acquisition phases in the electrical stimulation system, using the same electrode pad for both electrical stimulation and EEG acquisition, and shielding against interference during the gap phase and processing artifacts during the re-acquisition phase, the artifact interference problem in the electrical stimulation system was solved, thus improving signal accuracy and security.
Patent Information
- Application Number
- CN202511900223.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-16
- Publication Date
- 2026-02-13
AI Technical Summary
In existing electrostimulation systems, the hardware integration of the electrostimulation module and the EEG acquisition module leads to severe artifact signal interference, which obscures the true characteristics of the EEG signal and causes mutual interference due to the lack of temporal coordination.
By dividing the electrical stimulation cycle time signal into a stimulation phase, a window phase, and a recollection phase, the same electrode pad is used to perform electrical stimulation and EEG acquisition at different phases. Stimulation signal interference is shielded during the window phase, and a suppression algorithm is executed to process artifacts during the recollection phase. Timing control is achieved by combining an analog switch array and a high-impedance isolation circuit.
It effectively eliminates artifact interference, improves the accuracy and security of EEG signals, simplifies the hardware structure, and enhances the portability and ease of operation of the device.
Smart Images

Figure CN121513359A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electrical stimulation technology, and in particular to a brain stimulation control method, device, medium, and computer equipment. Background Technology
[0002] Transcutaneous / transcranial electrical stimulation (TCS) technology is widely used in neurorehabilitation, cognitive modulation, and brain science research. Its efficacy and safety are highly dependent on the accurate adjustment of stimulation parameters, and the core basis for adjustment is the characteristics of EEG signals acquired during stimulation, including frequency band power and phase synchronization.
[0003] In existing technologies, electrical stimulation devices and EEG acquisition systems are usually separate hardware modules, or although they are integrated into one device, the lack of timing coordination leads to mutual interference of signals, resulting in obvious artifact signals.
[0004] The generation of artifact signals occurs when the stimulation module of the electrical stimulation system is deeply integrated with the EEG acquisition module in terms of hardware and software. The hardware integration adopts a scheme in which the stimulation module and the EEG acquisition module share electrode pads. This scheme achieves the miniaturization, portability and simplification of operation of the system, with obvious advantages. However, it also results in the electrical stimulation signal being directly coupled to the EEG acquisition channel through the parasitic capacitance, switching circuit, power supply circuit and common ground circuit of the electrode pad module. Since the amplitude of the electrical stimulation signal is much larger than that of the EEG signal, artifact signals cause strong interference. At the same time, artifact signals appear periodically with the stimulation cycle, causing the true characteristics of the EEG acquisition signal to be submerged.
[0005] Therefore, finding a suitable method for controlling brain stimulation is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0006] Based on this, in response to the artifact signal interference problem mentioned in the prior art, it is necessary to propose a brain stimulation control method, device, medium, and computer equipment to effectively solve the hardware redundancy and artifact interference problems of existing electrostimulation systems, thereby improving accuracy and safety.
[0007] In a first aspect, this application provides a brain stimulation control method applied to an electrical stimulation system, wherein the electrical stimulation system integrates an electrical stimulation module and an EEG acquisition module, and the method includes: The electrical stimulation cycle time signal is set by the local control module and divided into a continuous stimulation phase, a window phase, and a recovery phase. During the stimulation phase, an electrical stimulation signal with preset parameters is output through time-multiplexed electrode pads; During the window period, the electrode pads are disconnected or protected by hardware to shield the crosstalk of stimulation signals to the EEG acquisition channel; During the data acquisition phase, EEG signals are collected and processed using a suppression algorithm to eliminate residual artifacts.
[0008] Furthermore, the duration of the stimulation phase accounts for 70%-90% of the total duration of the electrical stimulation cycle; The window of inactivity lasts 10-50 microseconds; The extraction phase lasts 50-200 microseconds.
[0009] Furthermore, the local control module has a built-in programmable timer, which generates timing control signals for the stimulation phase, the empty window phase, and the retrieval phase. The mode of the shared electrode sheet is switched by the analog switch array in response to the timing control signal. The stimulation output circuit is turned on during the stimulation phase, and the EEG acquisition circuit is switched during the window phase and the retrieval phase. The switching delay is ≤10 microseconds. During the window period, the input protection circuit is activated, and the input clamping circuit is connected through a high-impedance isolation circuit or an operational amplifier circuit. The clamping circuit blocks crosstalk between the electrical stimulation signal and the EEG acquisition channel.
[0010] Furthermore, when the artifact residue index of the EEG signal exceeds the preset threshold or the stimulation effect index fails to meet the preset criteria during the recollection phase, the total duration of the electrical stimulation cycle is adjusted. The steps of the local control module to dynamically adjust the total duration of the electrical stimulation cycle based on artifact residue indicators or stimulation effect indicators include: maintaining the duration of the idle window phase at 10-50 microseconds and the duration of the recovery phase at 50-200 microseconds; the duration of the stimulation phase changes with the total duration of the electrical stimulation cycle, increasing proportionally when the total duration of the electrical stimulation cycle increases and decreasing proportionally when the total duration of the electrical stimulation cycle decreases; the total duration of the idle window phase and the recovery phase accounts for no more than 30% of the total duration of the electrical stimulation cycle.
[0011] Furthermore, the artifact residue index includes the signal-to-noise ratio after EEG signal suppression algorithm processing during the re-collection stage, and the stimulation effect index is the difference between the EEG characteristics and the baseline characteristics during the re-collection stage.
[0012] Furthermore, the suppression algorithm includes: S11: The template signal of the pre-stored stimulus artifacts is used to perform point-by-point subtraction operation between the EEG signal collected in the retrieval stage and the template signal to remove the fixed pattern of stimulus artifacts and obtain the first inhibition signal. S12: Acquire pure stimulus artifacts and obtain the second inhibition signal through a non-stimulated reference channel; S13: Decompose the second inhibition signal into multiple frequency domain sub-bands, remove the frequency band components in the stimulus artifact set to retain the frequency band where the effective EEG features are located, and obtain the EEG signal with artifacts removed.
[0013] Furthermore, the suppression algorithm includes: S21: Pre-store the template signal of the stimulus artifact, and perform point-by-point subtraction operation between the EEG signal collected in the retrieval stage and the template signal to remove the fixed pattern of stimulus artifact and obtain the EEG signal with the artifact removed. S22: Acquire pure stimulus artifact signals through a non-stimulated reference channel, filter and cancel the first inhibition signal and the reference channel signal to eliminate dynamic residual artifacts and obtain the EEG signal with artifacts removed. S23: Decompose the second inhibition signal into multiple frequency domain sub-bands, remove the frequency band components in the stimulus artifact set to retain the frequency band where the effective EEG features are located and obtain the EEG signal with artifacts removed. The crosstalk signal strength is monitored in real time. If the crosstalk signal strength is within the preset strength threshold range, steps S21-S23 are continued.
[0014] Secondly, this application provides a brain stimulation control device, comprising: The cycle time signal division module sets the electrical stimulation cycle time signal through the local control module, and divides the electrical stimulation cycle time signal into a continuous stimulation phase, a window phase, and a recovery phase. The stimulation phase control module outputs an electrical stimulation signal with preset parameters through time-multiplexed electrode plates during the stimulation phase. The window phase control module performs disconnection or hardware protection on the electrode pads during the window phase to shield the crosstalk of stimulation signals to the EEG acquisition channel. The data acquisition phase control module collects EEG signals and performs suppression algorithms on them to eliminate residual artifacts.
[0015] Thirdly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 7.
[0016] Fourthly, this application provides a computer device including a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 7.
[0017] The electroencephalogram (EEG) stimulation control method, device, medium, and computer equipment provided in this application have the following advantages: The electrical stimulation cycle time signal is set through a local control module, dividing the signal into a continuous stimulation phase, a window phase, and a data acquisition phase. During the stimulation phase, an electrical stimulation signal with preset parameters is output through time-multiplexed electrode pads. The same electrode pad outputs the electrical stimulation signal during the stimulation phase and switches to an EEG acquisition electrode during the data acquisition phase, eliminating the need for additional independent acquisition electrodes. During the window phase, the electrode pads are disconnected or protected by hardware to shield the crosstalk of the stimulation signal to the EEG acquisition channel. After the stimulation phase ends, a window phase is set, and direct crosstalk of high-amplitude stimulation signals to the EEG acquisition channel is blocked by disconnecting the electrodes or hardware protection. During the data acquisition phase, EEG signals are acquired and processed using a suppression algorithm to eliminate residual artifacts. The low-frequency artifacts remaining from electrode capacitance are eliminated during the data acquisition phase. This effectively solves the hardware redundancy and artifact interference problems of existing electrical stimulation systems, improving accuracy and safety. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating a brain stimulation control method in one embodiment; Figure 2 This is one of the flowcharts illustrating the suppression algorithm in one embodiment; Figure 3 This is a second flowchart illustrating the suppression algorithm in one embodiment; Figure 4 This is a block diagram of a brain stimulation control device in one embodiment; Figure 5 This is a block diagram of the computer equipment in an example. Detailed Implementation
[0020] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] Example 1 In existing technologies, electrical stimulation devices and EEG acquisition systems are typically separate hardware modules, or although integrated into a single device, the lack of timing coordination leads to signal interference and significant artifacts. The artifacts arise from the deep hardware and software integration of the stimulation module and EEG acquisition module. While this approach achieves miniaturization, portability, and simplified operation, it also results in the electrical stimulation signal being directly coupled to the EEG acquisition channel through parasitic capacitance, switching circuits, power supply loops, and grounding circuits in the electrode module. Since the amplitude of the electrical stimulation signal is much larger than that of the EEG signal, artifacts cause strong interference. Furthermore, these artifacts appear periodically with the stimulation cycle, obscuring the true characteristics of the acquired EEG signal. Therefore, a new EEG stimulation control method is needed to address the hardware redundancy and artifact interference problems in existing electrical stimulation systems, improving accuracy and safety.
[0022] See Figure 1 As shown, this embodiment provides a brain stimulation control method applied to an electrical stimulation system, which integrates an electrical stimulation module and an EEG acquisition module. The method includes: S101, through the local control module, sets the electrical stimulation cycle time signal and divides the electrical stimulation cycle time signal into a continuous stimulation phase, a window phase, and a recovery phase. S102, during the stimulation phase, outputs an electrical stimulation signal with preset parameters through time-multiplexed electrode pads; S103, during the window phase, disconnection or hardware protection is performed on the electrode pads to shield the crosstalk of stimulation signals to the EEG acquisition channel. S104, during the data acquisition phase, collects EEG signals and performs suppression algorithm processing on them to eliminate residual artifacts.
[0023] It should be noted that the electrical stimulation cycle is set via a local control module, divided into a stimulation phase, a window phase, and a data acquisition phase. During the stimulation phase, pulsed electrical stimulation signals are output through time-multiplexed electrode pads. During the window phase, the hardware clamping circuit of the electrode pads is activated to shield the stimulation signal from crosstalk to the EEG acquisition channel. In the data acquisition phase, EEG signals are acquired, and residual artifacts are eliminated and features are extracted using an independent component analysis algorithm. The same electrode pad serves as the stimulation electrode outputting signals during the stimulation phase and switches to the acquisition electrode receiving EEG signals during the data acquisition phase. Functional multiplexing is achieved through timing control. After stimulation, a window period is set, and the hardware clamping circuit cuts off the transmission path of the stimulation signal to avoid crosstalk. The data acquisition phase uses an independent component analysis algorithm to separate residual stimulation artifacts from the EEG signal, preserving the true EEG components. Electrode multiplexing reduces the number of electrodes, simplifying the hardware while ensuring the authenticity of the EEG signal.
[0024] Specifically, the duration of the stimulation phase accounts for 70%-90% of the total duration of the electrical stimulation cycle; The window of inactivity lasts 10-50 microseconds; The extraction phase lasts 50-200 microseconds.
[0025] It should be noted that, for example, the stimulation phase lasts for 900 microseconds, outputting electrical stimulation signals. The electrode pads output a high proportion of stimulation signals to ensure sufficient stimulation energy acts on the prefrontal cortex of the brain, promoting the synchronization of alpha waves. The window phase lasts for 30 microseconds, activating the hardware clamping circuit of the electrode pads to briefly block the transmission of stimulation signals to the acquisition channel, preventing high-amplitude stimulation pulses from directly entering the EEG acquisition module. The re-acquisition phase lasts for 70 microseconds, switching the electrode pads to acquisition mode to synchronously acquire electrical signals. The EEG signals acquired immediately after stimulation are used to eliminate residual artifacts through an adaptive filtering algorithm and extract alpha wave power characteristics.
[0026] Specifically, the local control module has a built-in programmable timer, which generates timing control signals for the stimulation phase, the window phase, and the retrieval phase. The mode of the shared electrode sheet is switched by the analog switch array in response to the timing control signal. The stimulation output circuit is turned on during the stimulation phase, and the EEG acquisition circuit is switched during the window phase and the retrieval phase. The switching delay is ≤10 microseconds. During the window period, the input protection circuit is activated, and the input clamping circuit is connected through a high-impedance isolation circuit or an operational amplifier circuit. The clamping circuit blocks crosstalk between the electrical stimulation signal and the EEG acquisition channel.
[0027] It should be noted that the local control module is responsible for timing logic control, parameter calculation, and data processing. The programmable timer generates timing control signals for the stimulation phase, the window phase, and the retrieval phase. It simulates the switching array switching the working mode of the shared electrode pads and the input protection circuit to block crosstalk. For example, the local control module configures the timing parameters for the stimulation phase, the window phase, and the retrieval phase through the TIM8 programmable timer. It simulates the switching array responding to the timing signals of the programmable timer. The switching array connects the stimulation output circuit, the shared electrode pads output stimulation signals, and the switching array switches to the EEG acquisition circuit, realizing the mode switching of the shared electrode pads. During the window phase, the local control module triggers the input protection circuit, activates the high-impedance isolation circuit, cuts off the direct connection between the stimulation output circuit and the acquisition circuit, and activates the operational amplifier circuit's input clamping circuit to clamp the input voltage of the acquisition circuit within ±0.5V, blocking crosstalk of the stimulation signal. This achieves efficient reuse and precise timing control of the shared electrode pads, solves the electrode redundancy and crosstalk interference problems of traditional systems, and improves the portability of the equipment.
[0028] Specifically, when the artifact residue index of the EEG signal exceeds the preset threshold or the stimulation effect index fails to meet the preset criteria during the recollection phase, the total duration of the electrical stimulation cycle is adjusted. The steps of the local control module to dynamically adjust the total duration of the electrical stimulation cycle based on artifact residue indicators or stimulation effect indicators include: maintaining the duration of the idle window phase at 10-50 microseconds and the duration of the recovery phase at 50-200 microseconds; the duration of the stimulation phase changes with the total duration of the electrical stimulation cycle, increasing proportionally when the total duration of the electrical stimulation cycle increases and decreasing proportionally when the total duration of the electrical stimulation cycle decreases; the total duration of the idle window phase and the recovery phase accounts for no more than 30% of the total duration of the electrical stimulation cycle.
[0029] It should be noted that when the artifact persistence index exceeds a preset threshold, the total duration of the electrical stimulation cycle is adjusted. Initially, the total duration of the electrical stimulation cycle is 1000 microseconds, consisting of a 900-microsecond stimulation phase, a 30-microsecond window phase, and a 70-microsecond recovery phase. During the recovery phase, the EEG artifact amplitude is detected at 8 μV; if it exceeds the preset 5 μV, the total cycle duration is adjusted. The local control module increases the total cycle duration to 1500 microseconds, maintaining the 30-microsecond window and 70-microsecond recovery phase, while the stimulation phase duration is proportionally increased to 1400 microseconds. If the stimulation effect index fails to meet the preset criteria, the total duration of the electrical stimulation cycle will be adjusted. Initially, the total duration of the electrical stimulation cycle is 1000 microseconds, including a 900-microsecond stimulation phase, a 30-microsecond window phase, and a 70-microsecond recovery phase. If the alpha wave power increase is only 10% for three consecutive cycles, which is less than the criterion of <15%, the local control module will reduce the total cycle duration to 800 microseconds, maintain the 30-microsecond window and 70-microsecond recovery phase, and reduce the stimulation phase duration proportionally to 700 microseconds. After adjustment, the alpha wave power will be re-detected.
[0030] When the artifact residue index of EEG signals exceeds the preset threshold during the recollection stage, or the stimulation effect index fails to meet the preset criteria, the total duration of the electrical stimulation cycle is adjusted dynamically to resolve artifact interference and provide personalized adaptation.
[0031] Specifically, artifact persistence indicators include the signal-to-noise ratio after EEG signal suppression algorithm processing during the re-collection stage, and stimulation effect indicators are the difference between EEG features and baseline features during the re-collection stage.
[0032] It should be noted that the signal-to-noise ratio (SNR) of the EEG signal after processing with the suppression algorithm during the re-acquisition stage is the ratio of the amplitude of the real EEG signal to the amplitude of artifacts and noise. Through hardware blocking during the window stage and algorithmic suppression during the re-acquisition stage, the SNR of the processed EEG signal decreases, and the details of the real EEG signal are preserved.
[0033] Example 2 Based on Example 1, see [link / reference] Figure 1 and Figure 2 As shown, this embodiment provides a further solution. Specifically, the suppression algorithm includes: S11, Pre-store the template signal of the stimulus artifact, and perform point-by-point subtraction operation between the EEG signal collected in the retrieval stage and the template signal to remove the fixed pattern of stimulus artifacts and obtain the first inhibition signal. S12, acquires pure stimulus artifacts and obtains the second inhibition signal through the unstimulated reference channel; S13, the second inhibition signal is decomposed into multiple frequency domain sub-bands, and the frequency band components of the stimulus artifact set are removed to retain the frequency band where the effective EEG features are located and to obtain the EEG signal with artifacts removed.
[0034] It should be noted that the issue of mismatch between the fixed template and the artifact compensation in the reference channel is resolved. Artifact frequency bands are precisely removed through sub-band decomposition, avoiding the loss of effective EEG data. During template pre-storage, upon initial device startup without a user wearing the device, 100 standard electrical stimulation cycles are output, acquiring pure stimulation artifact signals and storing them as template signals. During the re-acquisition phase, after acquiring the user's EEG signals, these signals are subtracted point-by-point from the pre-stored template signals to remove fixed-pattern stimulation artifacts.
[0035] See Figure 3 As shown, this embodiment also provides another suppression algorithm, including: S21: Pre-store the template signal of the stimulus artifact, and perform point-by-point subtraction operation between the EEG signal collected in the retrieval stage and the template signal to remove the fixed pattern of stimulus artifact and obtain the EEG signal with the artifact removed. S22: Acquire pure stimulus artifact signals through a non-stimulated reference channel, filter and cancel the first inhibition signal and the reference channel signal to eliminate dynamic residual artifacts and obtain the EEG signal with artifacts removed. S23: Decompose the second inhibition signal into multiple frequency domain sub-bands, remove the frequency band components in the stimulus artifact set to retain the frequency band where the effective EEG features are located and obtain the EEG signal with artifacts removed. The crosstalk signal strength is monitored in real time. If the crosstalk signal strength is within the preset strength threshold range, steps S21-S23 are continued.
[0036] It should be noted that by pre-stored template signals and point-by-point subtraction operations, fixed pattern artifacts transmitted from the stimulation stage to the retrieval stage are directly removed. Pure artifacts are acquired through a non-stimulation reference channel and filtered to cancel them out, thus solving the problem of dynamic artifacts caused by impedance fluctuations. The problem of frequency domain overlap between stimulation artifacts and effective EEG is solved by frequency domain subband decomposition and artifact frequency band removal.
[0037] Example 3 See Figure 4 As shown, this embodiment provides a brain stimulation control device, including: The cycle time signal division module 100 sets the electrical stimulation cycle time signal through the local control module and divides the electrical stimulation cycle time signal into a continuous stimulation phase, a window phase, and a recovery phase. The stimulation phase control module 200 outputs an electrical stimulation signal with preset parameters through time-multiplexed electrode plates during the stimulation phase. The window phase control module 300 performs disconnection or hardware protection on the electrode pads during the window phase to shield the crosstalk of stimulation signals to the EEG acquisition channel. The data acquisition stage control module 400 acquires EEG signals during the data acquisition stage and performs suppression algorithm processing on them to eliminate residual artifacts.
[0038] The electroencephalogram (EEG) stimulation control device provided in this embodiment has the following advantages: The local control module sets the electrical stimulation cycle time signal, dividing it into a continuous stimulation phase, a window phase, and a data acquisition phase. During the stimulation phase, time-multiplexed electrode pads output electrical stimulation signals with preset parameters. The same electrode pad outputs electrical stimulation signals during the stimulation phase, and during the data acquisition phase, it switches to an EEG acquisition electrode, eliminating the need for additional independent acquisition electrodes. During the window phase, the electrode pads are disconnected or protected by hardware to shield the stimulation signal from crosstalk to the EEG acquisition channel. After the stimulation phase ends, a window phase is set, and the electrode disconnection or hardware protection blocks direct crosstalk of high-amplitude stimulation signals to the EEG acquisition channel. During the data acquisition phase, EEG signals are acquired and processed using a suppression algorithm to eliminate residual artifacts. The data acquisition phase also applies a suppression algorithm to the acquired EEG signals to eliminate low-frequency artifacts remaining from electrode capacitance. This effectively solves the hardware redundancy and artifact interference problems of existing electrical stimulation systems, improving accuracy and safety.
[0039] Example 4 This embodiment provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to perform the steps of the following method: S101, through the local control module, sets the electrical stimulation cycle time signal and divides the electrical stimulation cycle time signal into a continuous stimulation phase, a window phase, and a recovery phase. S102, during the stimulation phase, outputs an electrical stimulation signal with preset parameters through time-multiplexed electrode pads; S103, during the window phase, disconnection or hardware protection is performed on the electrode pads to shield the crosstalk of stimulation signals to the EEG acquisition channel. S104, during the data acquisition phase, collects EEG signals and performs suppression algorithm processing on them to eliminate residual artifacts.
[0040] Example 5 See Figure 5 As shown, this embodiment provides a computer device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the following method: S101, through the local control module, sets the electrical stimulation cycle time signal and divides the electrical stimulation cycle time signal into a continuous stimulation phase, a window phase, and a recovery phase. S102, during the stimulation phase, outputs an electrical stimulation signal with preset parameters through time-multiplexed electrode pads; S103, during the window phase, disconnection or hardware protection is performed on the electrode pads to shield the crosstalk of stimulation signals to the EEG acquisition channel. S104, during the data acquisition phase, collects EEG signals and performs suppression algorithm processing on them to eliminate residual artifacts.
[0041] It should be noted that the structures, proportions, sizes, etc., shown in the accompanying drawings of this specification are only for the purpose of assisting those skilled in the art in understanding and reading the content disclosed in the specification, and are not intended to limit the conditions under which this application can be implemented. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in the proportions, or adjustments to the size should still fall within the scope of the technical content disclosed in this application, provided that they do not affect the effects and purposes that this application can produce.
[0042] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0043] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0044] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A brain stimulation control method, applied to an electrical stimulation system, wherein the electrical stimulation system integrates an electrical stimulation module and an EEG acquisition module, characterized in that, The method includes: The electrical stimulation cycle time signal is set by the local control module and divided into a continuous stimulation phase, a window phase, and a recovery phase. During the stimulation phase, an electrical stimulation signal with preset parameters is output through time-multiplexed electrode pads; During the window period, the electrode pads are disconnected or protected by hardware to shield the crosstalk of stimulation signals to the EEG acquisition channel; During the data acquisition phase, EEG signals are collected and processed using a suppression algorithm to eliminate residual artifacts.
2. The brain stimulation control method according to claim 1, characterized in that, The duration of the stimulation phase accounts for 70%-90% of the total duration of the electrical stimulation cycle; The window of inactivity lasts 10-50 microseconds; The extraction phase lasts 50-200 microseconds.
3. The brain stimulation control method according to claim 1, characterized in that, The local control module has a built-in programmable timer, which generates timing control signals for the stimulation phase, the window phase, and the retrieval phase. The mode of the shared electrode sheet is switched by the analog switch array in response to the timing control signal. The stimulation output circuit is turned on during the stimulation phase, and the EEG acquisition circuit is switched during the window phase and the retrieval phase. The switching delay is ≤10 microseconds. During the window period, the input protection circuit is activated, and the input clamping circuit is connected through a high-impedance isolation circuit or an operational amplifier circuit. The clamping circuit blocks crosstalk between the electrical stimulation signal and the EEG acquisition channel.
4. The brain stimulation control method according to claim 1, characterized in that, When the artifact residue index of EEG signals exceeds the preset threshold during the recollection phase, or the stimulation effect index fails to meet the preset criteria, the total duration of the electrical stimulation cycle is adjusted. The steps of the local control module to dynamically adjust the total duration of the electrical stimulation cycle based on artifact residue indicators or stimulation effect indicators include: maintaining the duration of the idle window phase at 10-50 microseconds and the duration of the recovery phase at 50-200 microseconds; the duration of the stimulation phase changes with the total duration of the electrical stimulation cycle, increasing proportionally when the total duration of the electrical stimulation cycle increases and decreasing proportionally when the total duration of the electrical stimulation cycle decreases; the total duration of the idle window phase and the recovery phase accounts for no more than 30% of the total duration of the electrical stimulation cycle.
5. The brain stimulation control method according to claim 4, characterized in that, The artifact residue index includes the signal-to-noise ratio after EEG signal suppression algorithm processing during the re-collection stage, and the stimulation effect index is the difference between the EEG characteristics and the baseline characteristics during the re-collection stage.
6. The brain stimulation control method according to claim 1, characterized in that, The suppression algorithm includes: S11: The template signal of the pre-stored stimulus artifacts is used to perform point-by-point subtraction operation between the EEG signal collected in the retrieval stage and the template signal to remove the fixed pattern of stimulus artifacts and obtain the first inhibition signal. S12: Acquire pure stimulus artifacts and obtain the second inhibition signal through a non-stimulated reference channel; S13: Decompose the second inhibition signal into multiple frequency domain sub-bands, remove the frequency band components in the stimulus artifact set to retain the frequency band where the effective EEG features are located, and obtain the EEG signal with artifacts removed.
7. The brain stimulation control method according to claim 1, characterized in that, The suppression algorithm includes: S21: Pre-store the template signal of the stimulus artifact, and perform point-by-point subtraction operation between the EEG signal collected in the retrieval stage and the template signal to remove the fixed pattern of stimulus artifact and obtain the EEG signal with the artifact removed. S22: Acquire pure stimulus artifact signals through a non-stimulated reference channel, filter and cancel the first inhibition signal and the reference channel signal to eliminate dynamic residual artifacts and obtain the EEG signal with artifacts removed. S23: Decompose the second inhibition signal into multiple frequency domain sub-bands, remove the frequency band components in the stimulus artifact set to retain the frequency band where the effective EEG features are located and obtain the EEG signal with artifacts removed. The crosstalk signal strength is monitored in real time. If the crosstalk signal strength is within the preset strength threshold range, steps S21-S23 are continued.
8. A brain stimulation control device, characterized in that, include: The cycle time signal division module sets the electrical stimulation cycle time signal through the local control module, and divides the electrical stimulation cycle time signal into a continuous stimulation phase, a window phase, and a recovery phase. The stimulation phase control module outputs an electrical stimulation signal with preset parameters through time-multiplexed electrode plates during the stimulation phase. The window phase control module performs disconnection or hardware protection on the electrode pads during the window phase to shield the crosstalk of stimulation signals to the EEG acquisition channel. The data acquisition phase control module collects EEG signals and performs suppression algorithms on them to eliminate residual artifacts.
9. A computer-readable storage medium, characterized in that, The device stores a computer program that, when executed by a processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 7.
10. A computer device, characterized in that, It includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 7.
Citation Information
Cited By
Multichannel electroencephalogram acquisition and electrical stimulation multiplexing electrode circuit and control method thereof
CN122135889A