Noise-assisted analysis based tacs artifact removal method, device, equipment and medium

By adding white noise to the EEG signal and using power spectrum interpolation and iterative averaging techniques, the problem of overlap between tACS artifacts and normal EEG activity was solved, thereby improving the clarity and accuracy of the signal.

CN120267304BActive Publication Date: 2026-11-24SOUTH CHINA UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510274937.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2026-11-24
Estimated Expiration
2045-03-10

AI Technical Summary

Technical Problem

In existing technologies, tACS artifacts overlap with normal EEG activity in the frequency domain and cannot be effectively removed by frequency domain filtering, resulting in the signal of interest being overwhelmed by the artifacts.

Method used

By adding white noise to the EEG signal, artifact signals are removed using power spectrum interpolation and iterative averaging techniques.

Benefits of technology

It improves the signal-to-noise ratio, clarity, and accuracy of the signal, effectively removes tACS artifacts, and preserves normal EEG activity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120267304B_ABST
    Figure CN120267304B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and medium for tACS artifact removal based on noise-assisted analysis. The method includes: inputting an electroencephalogram (EEG) signal; adding white noise to the single-channel EEG signal; processing the EEG signal with added white noise using a power spectrum interpolation method, correcting the power spectrum using interpolation, and obtaining an artifact-removed single-channel EEG signal; using the obtained artifact-removed single-channel EEG signal as a new input signal, iteratively repeating the white noise addition step, and obtaining new artifact-removed single-channel EEG signals until the number of iterations reaches a preset number; averaging all obtained artifact-removed single-channel EEG signals to obtain the final artifact-removed single-channel EEG data. This invention utilizes repeated noise addition and subsequent averaging processes to effectively improve signal clarity and accuracy. This invention can be widely applied in the field of EEG signal processing.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of electroencephalogram signal processing, and in particular to a tACS artifact removal method and device based on noise-assisted analysis, equipment and medium. BACKGROUND

[0002] Electroencephalogram (EEG) is a non-invasive neuroimaging technique that measures the postsynaptic potential generated by the electrical activity of cortical neurons by placing electrodes on the scalp. Due to its relatively simple setup, EEG has become the main neuroimaging method for recording and understanding the effects of tACS on the brain and its underlying mechanisms. However, there are artifacts in the EEG signal caused by tACS stimulation, and the amplitude of these artifacts is much larger than the signal of interest. Due to hardware limitations and physiological interference (such as head movement, heartbeat, etc.), this current is nonlinearly converted and mixed with normal brain activity, and the artifact not only appears at the basic stimulation frequency, but also shows high power at several harmonics thereof. Therefore, tACS artifacts overlap with normal EEG activity in the frequency domain, and cannot be denoised using frequency domain filtering and methods that do not remove part of the signal of interest.

[0003] Electroencephalogram (EEG) is a non-invasive neuroimaging technique that measures the postsynaptic potential generated by the electrical activity of cortical neurons by placing electrodes on the scalp. Due to its relatively simple setup, EEG has become the main neuroimaging method for recording and understanding the effects of tACS on the brain and its underlying mechanisms. However, there are artifacts in the EEG signal caused by tACS stimulation, and the amplitude of these artifacts is much larger than the signal of interest. Due to hardware limitations and physiological interference (such as head movement, heartbeat, etc.), this current is nonlinearly converted and mixed with normal brain activity, and the artifact not only appears at the basic stimulation frequency, but also shows high power at several harmonics thereof. Therefore, tACS artifacts overlap with normal EEG activity in the frequency domain, and cannot be denoised using frequency domain filtering and methods that do not remove part of the signal of interest. SUMMARY

[0004] To at least partially solve one of the technical problems existing in the prior art, the purpose of the present application is to provide a tACS artifact removal method and device based on noise-assisted analysis, equipment and medium.

[0005] The first technical solution adopted by the present application is:

[0006] A tACS artifact removal method based on noise-assisted analysis, comprising the following steps:

[0007] inputting an electroencephalogram signal;

[0008] Add white noise to a single-channel EEG signal;

[0009] The power spectrum interpolation method was used to process the EEG signal with added white noise, and the power spectrum was corrected by interpolation to obtain a single-channel EEG signal with artifacts removed.

[0010] The obtained artifact-free single-channel EEG signal is used as the new input signal. The process is repeated iteratively to add white noise and obtain new artifact-free single-channel EEG signals. This process continues until the preset number of iterations is reached. All obtained artifact-free single-channel EEG signals are averaged to obtain the final artifact-free single-channel EEG data.

[0011] Furthermore, the addition of white noise to the single-channel EEG signal includes:

[0012] For a single-channel EEG signal x(t), white noise n(t) will be added to obtain an EEG signal with added white noise, expressed as:

[0013] x'(t)=x(t)+α i ·n i (t)

[0014] In the formula, α is a scaling factor and n(t) is white noise.

[0015] Furthermore, the intensity of the white noise is 1-5%.

[0016] Furthermore, the process of processing the EEG signal with added white noise using the power spectrum interpolation method includes:

[0017] For EEG signals with added white noise, FFT is used to transform them to the frequency domain to obtain the power spectrum F1;

[0018] Median filtering is applied to power spectrum F1 to obtain smoothed power spectrum F2;

[0019] Subtracting the power spectrum F2 from the power spectrum F1 yields the power spectrum difference curve F3;

[0020] For all points on the power spectrum difference curve F3, abnormal frequency points are detected to obtain spectrum anomalies;

[0021] For each outlier, the preset bandwidths on its left and right sides are considered to be the locations of tACS artifacts and are removed from the spectrum.

[0022] Based on the frequency points of the remaining spectrum, cubic spline interpolation is performed on the phase and amplitude of the deleted frequency points to complete the power spectrum and obtain the complete power spectrum F4.

[0023] A fast inverse Fourier transform was performed on the power spectrum F4 to transform the signal to the time domain, obtaining a single-channel EEG signal with artifacts removed.

[0024] Further, the step of detecting abnormal frequency points to obtain spectral anomalies includes:

[0025] Points with spectral values ​​exceeding the third quartile plus 1.5 to 3 times the quartile interval are identified as spectral anomalies.

[0026] Furthermore, the correction of the power spectrum using interpolation includes:

[0027] For the frequency points of tACS artifacts detected by anomalies, interpolation is used to correct the power spectrum to eliminate the peaks at these frequency points:

[0028] P 修正 (f) = spectrum_interp(P(f),f tACS )

[0029] In the formula, f tACS It is the frequency of tACS artifacts detected by anomalies, P(f) is the signal after fast Fourier transform of x'(t), and spectrum_interp represents the frequency of tACS artifacts detected by anomalies. tACS Delete f from center tACS The left and right sides are preset with bandwidth from the spectrum. Then, based on the frequency points of the remaining spectrum, cubic spline interpolation is performed on the phase and amplitude of the deleted frequency points to complete the power spectrum.

[0030] Furthermore, the step of averaging all obtained artifact-free single-channel EEG signals to obtain the final artifact-free single-channel EEG data includes:

[0031] Each time white noise is added to the EEG signal x'(t), after processing by power spectrum interpolation, artifact-free single-channel EEG signal y is obtained. i (t), where i represents the iteration number;

[0032] After completing all iterations, for all y i (t) averaged

[0033]

[0034] Where N is the total number of iterations.

[0035] The second technical solution adopted in this invention is:

[0036] A tACS artifact removal device based on noise-assisted analysis includes:

[0037] The signal input module is used to input electroencephalogram (EEG) signals.

[0038] The noise addition module is used to add white noise to single-channel EEG signals;

[0039] The artifact removal module is used to process EEG signals with added white noise using a power spectrum interpolation method, and to correct the power spectrum using interpolation to obtain a single-channel EEG signal with artifacts removed.

[0040] The signal averaging module is used to take the obtained artifact-free single-channel EEG signal as a new input signal, return to iteratively execute the step of adding white noise, and obtain a new artifact-free single-channel EEG signal until the number of iterations reaches a preset number. All the obtained artifact-free single-channel EEG signals are averaged to obtain the final artifact-free single-channel EEG data.

[0041] The third technical solution adopted in this invention is:

[0042] An electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a noise-assisted analysis-based tACS artifact removal method as described above.

[0043] The fourth technical solution adopted in this invention is:

[0044] A computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement a noise-assisted analysis-based tACS artifact removal method as described above.

[0045] The fifth technical solution adopted in this invention is:

[0046] A computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium and execute the computer instructions to cause the computer device to perform the method described above.

[0047] The beneficial effects of this invention are as follows: By adding white noise of a certain intensity to the EEG signal, the weak effective components in the signal are amplified, improving the signal-to-noise ratio of the data. Subsequently, these signals are processed using power spectrum interpolation technology to remove artifacts generated by tACS or other interference sources. In addition, the clarity and accuracy of the signal are improved by using repeated noise addition and subsequent averaging processes. Attached Figure Description

[0048] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following description is provided with accompanying drawings of the relevant technical solutions in the embodiments of the present invention or the prior art. It should be understood that the accompanying drawings described below are only for the purpose of clearly illustrating some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0049] Figure 1 This is a flowchart illustrating a tACS artifact removal method based on noise-assisted analysis in an embodiment of the present invention.

[0050] Figure 2 This is a flowchart of the power spectrum interpolation method in an embodiment of the present invention;

[0051] Figure 3 This is a schematic diagram of EEG data segments before and after artifact removal in an embodiment of the present invention. Detailed Implementation

[0052] The embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention. The step numbers in the following embodiments are set only for ease of explanation, and there is no limitation on the order between the steps. The execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.

[0053] In the description of this invention, it should be understood that the orientation descriptions, such as up, down, front, back, left, right, etc., are based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limiting this invention.

[0054] In the description of this invention, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0055] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.

[0056] Terminology Explanation:

[0057] tACS: an abbreviation for transcranial alternating current stimulation.

[0058] EEG: an abbreviation for Electroencephalography, also known as electroencephalography.

[0059] NA: an abbreviation for noise assisted.

[0060] Ideally, a single-frequency tACS stimulation artifact should appear as a single sine wave in EEG, and as a single peak at that frequency point in the spectrum. Therefore, spectral interpolation can be used to remove contamination at a small number of frequencies. However, in reality, due to the properties of the electrochemical interface of the conductive medium, changes in the contact area during stimulation, the dynamic range of the EEG acquisition amplifier, and the frequency response characteristics, strong spectral leakage and higher harmonics often occur, making simple spectral interpolation insufficient to effectively remove tACS artifacts.

[0061] During EEG data acquisition, the signal contains a certain amount of noise due to the influence of the acquisition site and equipment conditions. This noise includes scalp contact noise, electrolyte electrochemical interface noise, and thermal noise from the EEG amplifier circuit, which generally manifests as white noise. Noise-assisted (NA) analysis simulates the noise in the actual data collection process by adding a certain amount of white noise to the data before subsequent data analysis. By repeatedly adding noise and performing data analysis, the results from multiple analyses are averaged to offset the impact of the added noise. NA simulates multiple signal resampling processes, which can amplify weak effective components in the signal and improve the signal-to-noise ratio.

[0062] Based on this, the present invention provides a tACS artifact removal scheme based on noise-assisted analysis. This involves adding white noise of a certain intensity (1-5%) to the EEG signal, followed by power spectrum interpolation to process the signal, thereby removing artifacts generated by tACS (transcranial alternating current stimulation) or other interference sources. Compared with existing technologies, the originality of this invention lies in the reverse thinking of improving signal processing by adding noise, and in improving signal clarity and accuracy through repeated noise addition and subsequent averaging.

[0063] Example 1

[0064] like Figure 1 As shown, this embodiment provides a tACS artifact removal method based on noise-assisted analysis, including the following steps:

[0065] S1, Input EEG signal.

[0066] S2. Add white noise to the single-channel EEG signal.

[0067] For a single-channel EEG signal x(t), this embodiment will add white noise n(t), as shown in the following equation:

[0068] x'(t)=x(t)+α i ·n i (t)

[0069] Where α is a scaling factor, taking a random value between 0.01 and 0.05, and n(t) is white noise.

[0070] As an alternative implementation, white noise with an intensity of approximately 1-5% is added to the single-channel EEG signal.

[0071] S3. The power spectrum interpolation method is used to process the EEG signal with added white noise, and the power spectrum is corrected by interpolation to obtain a single-channel EEG signal with artifacts removed.

[0072] As an optional implementation, see [link to implementation details]. Figure 2 Step S3 specifically includes the following steps:

[0073] S31. For EEG signals with added white noise, FFT (Fast Fourier Transform) is used to transform them to the frequency domain to obtain the power spectrum F1.

[0074] S32. Perform median filtering on the power spectrum F1 with a width of 0.1Hz to obtain the smoothed power spectrum F2.

[0075] S33. Subtract the power spectrum F1 from the power spectrum F2 to obtain the power spectrum difference curve F3.

[0076] S34. For all points on the power spectrum difference curve F3, perform abnormal frequency point detection to obtain spectrum anomalies. For example, points whose spectrum values ​​exceed the third quartile plus 1.5 to 3 times the intern quartile range (IQR) are identified as spectrum anomalies.

[0077] S35. For each outlier, the preset bandwidths on its left and right sides are considered as the locations of tACS artifacts and are removed from the spectrum. For example, the preset bandwidth is generally 0.25-0.5Hz.

[0078] S36. Based on the frequency points of the remaining spectrum, perform cubic spline interpolation on the phase and amplitude of the deleted frequency points to complete the power spectrum and obtain the complete power spectrum F4.

[0079] In some embodiments, for the frequency points of tACS artifacts detected by anomalies, interpolation is used to correct the power spectrum to eliminate the spikes at these frequency points:

[0080] P 修正 (f) = spectrum_interp(P(f),f tACS )

[0081] Where f tACS tACS artifact frequency is the frequency detected by anomalies, and P(f) is the signal after fast Fourier transform of x'(t).

[0082] S37. Perform a fast inverse Fourier transform on the power spectrum F4 to transform the signal to the time domain and obtain a single-channel EEG signal with artifacts removed.

[0083] S4. Using the obtained artifact-free single-channel EEG signal as the new input signal, return to the iterative execution of the white noise addition step and obtain a new artifact-free single-channel EEG signal until the number of iterations reaches the preset number. Then, average all the obtained artifact-free single-channel EEG signals to obtain the final artifact-free single-channel EEG data.

[0084] In this embodiment, the above process is repeated 60 to 100 times, with each analysis performed on the interpolated signal x'(t). After obtaining a corrected signal each time, an inverse Fourier transform y is performed. i (t), where i represents the iteration number. After all iterations are completed, for all y i (t) is averaged to reduce the impact of random noise:

[0085]

[0086] The number of iterations, N, is typically between 60 and 100.

[0087] In summary, artifacts generated by tACS (transcranial alternating current stimulation) or other interference sources are removed by adding white noise of a certain intensity (1-5%) to EEG signals and then processing these signals using power spectrum interpolation techniques. The originality of this invention compared to existing technologies lies in the reverse thinking of improving signal processing by adding noise, and in improving signal clarity and accuracy through repeated noise addition and subsequent averaging processes.

[0088] Comparing methods with and without noise assistance, it was found that adding noise can further improve artifact removal, indicating that adding random noise alleviates the incomplete rank problem of component decomposition and further enhances the signal-to-noise ratio of existing components in the signal through superposition averaging. In summary, the noise-assisted spectral interpolation (NA Interp) scheme exhibits the lowest spectral leakage, good artifact suppression at stimulation frequencies, and good power spectrum distribution. A 5-second EEG segment was selected, and the time-domain waveforms before and after artifact removal are shown below. Figure 3 As shown, it is worth noting that, Figure 3 In (a), the fluctuation scale range is 2000uV. Figure 3 The fluctuation scale range in (b) is 55uV. As can be seen, after artifact removal by the NA Interp scheme, the EEG amplitude range of each channel is more reasonable. At the same time, the oculomotor artifact caused by blinking can be clearly seen, indicating that the strong tACS artifact has been effectively removed. Meanwhile, the EEG components in each rhythm range are well preserved, which intuitively demonstrates the effectiveness of the scheme.

[0089] Example 2

[0090] This embodiment provides a tACS artifact removal device based on noise-assisted analysis, including:

[0091] The signal input module is used to input electroencephalogram (EEG) signals.

[0092] The noise addition module is used to add white noise to single-channel EEG signals;

[0093] The artifact removal module is used to process EEG signals with added white noise using a power spectrum interpolation method, and to correct the power spectrum using interpolation to obtain a single-channel EEG signal with artifacts removed.

[0094] The signal averaging module is used to take the obtained artifact-free single-channel EEG signal as a new input signal, return to iteratively execute the step of adding white noise, and obtain a new artifact-free single-channel EEG signal until the number of iterations reaches a preset number. All the obtained artifact-free single-channel EEG signals are averaged to obtain the final artifact-free single-channel EEG data.

[0095] Since this device is a tACS artifact removal device based on noise-assisted analysis according to an embodiment of the present invention, and the principle of the device in solving the problem is similar to that of the method, the implementation of this device can refer to the implementation process of the above method embodiment, and the repeated parts will not be described again.

[0096] Example 3

[0097] This invention also provides an electronic device, which includes a processor and a memory. The memory stores at least one instruction, at least one program, a code set, or an instruction set. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to achieve the following: Figure 1 This paper presents a tACS artifact removal method based on noise-assisted analysis.

[0098] It is understood that the memory may include random access memory (RAM) or read-only memory. Optionally, the memory may include non-transitory computer-readable storage medium. The memory can be used to store instructions, programs, code, code sets, or instruction sets. The memory may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the various method embodiments described above, etc.; the stored data area may store data created according to the use of the server, etc.

[0099] A processor may include one or more processing cores. The processor connects to various parts of the server via various interfaces and lines, executing instructions, programs, code sets, or instruction sets stored in memory, and accessing data stored in memory to perform various server functions and process data. Optionally, the processor may be implemented using at least one of the following hardware forms: Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor may integrate one or more of the following: Central Processing Unit (CPU) and Modem. The CPU primarily handles the operating system and applications; the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor.

[0100] Since this electronic device is the electronic device corresponding to the tACS artifact removal method based on noise-assisted analysis in the embodiments of the present invention, and the principle of solving the problem by this electronic device is similar to that of this method, the implementation of this electronic device can refer to the implementation process of the above method embodiments, and the repeated parts will not be described again.

[0101] Example 4

[0102] This invention also provides a computer-readable storage medium storing at least one instruction, at least one program, a code set, or an instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to achieve the following: Figure 1 This paper presents a tACS artifact removal method based on noise-assisted analysis.

[0103] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0104] Since this storage medium is the storage medium corresponding to the tACS artifact removal method based on noise-assisted analysis in the embodiments of the present invention, and the principle of the storage medium in solving the problem is similar to that of the method, the implementation of this storage medium can refer to the implementation process of the above method embodiments, and the repeated parts will not be described again.

[0105] Example 5

[0106] In some possible implementations, various aspects of the methods of the embodiments of the present invention can also be implemented as a program product comprising program code that, when run on a computer device, causes the computer device to perform the steps of a noise-assisted analysis-based tACS artifact removal method according to various exemplary embodiments of the present application described above. The executable computer program code or "code" for performing the various embodiments can be written in high-level programming languages ​​such as C, C++, C#, Smalltalk, Java, JavaScript, Visual Basic, Structured Query Language (e.g., Transact-SQL), Perl, or in various other programming languages.

[0107] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0108] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0109] The above embodiments are merely illustrative of the technical concept and features of the present invention, and are intended to enable those skilled in the art to understand the content of the present invention and implement it accordingly. They should not be construed as limiting the scope of protection of the present invention. All equivalent changes or modifications made based on the essence of the content of the present invention should be covered within the scope of protection of the present invention.

Claims

1. A method for removing tACS artifacts based on noise-assisted analysis, characterized in that, Includes the following steps: Inputting EEG signals; Add white noise to a single-channel EEG signal; The power spectrum interpolation method was used to process the EEG signal with added white noise, and the power spectrum was corrected by interpolation to obtain a single-channel EEG signal with artifacts removed. The obtained artifact-free single-channel EEG signal is used as the new input signal. The step of adding white noise is returned to iterative execution, and a new artifact-free single-channel EEG signal is obtained. This process continues until the number of iterations reaches the preset number. All the obtained artifact-free single-channel EEG signals are averaged to obtain the final artifact-free single-channel EEG data. The process of processing EEG signals with added white noise using a power spectrum interpolation method includes: For EEG signals with added white noise, FFT is used to transform them to the frequency domain to obtain the power spectrum F1; Median filtering is applied to power spectrum F1 to obtain smoothed power spectrum F2; Subtracting the power spectrum F2 from the power spectrum F1 yields the power spectrum difference curve F3; For all points on the power spectrum difference curve F3, abnormal frequency points are detected to obtain spectrum anomalies; For each outlier, the preset bandwidths on its left and right sides are considered to be the locations of tACS artifacts and are removed from the spectrum. Based on the frequency points of the remaining spectrum, cubic spline interpolation is performed on the phase and amplitude of the deleted frequency points to complete the power spectrum and obtain the complete power spectrum F4. A fast inverse Fourier transform was performed on the power spectrum F4 to transform the signal to the time domain, obtaining a single-channel EEG signal with artifacts removed.

2. The tACS artifact removal method based on noise-assisted analysis according to claim 1, characterized in that, Adding white noise to a single-channel EEG signal includes: For single-channel EEG signals White noise will be added. The EEG signal with added white noise is obtained, and its expression is: In the formula, It is the first The scaling factor for the next iteration It is the first White noise added in the next iteration.

3. The tACS artifact removal method based on noise-assisted analysis according to claim 1, characterized in that, The intensity of the white noise is 1-5%.

4. The tACS artifact removal method based on noise-assisted analysis according to claim 1, characterized in that, The process of detecting abnormal frequency points and obtaining spectral anomalies includes: Points whose spectral values ​​exceed the third quartile plus 1.5 to 3 times the interquartile range are identified as spectral anomalies.

5. The tACS artifact removal method based on noise-assisted analysis according to claim 1, characterized in that, The correction of the power spectrum using interpolation includes: For the frequency points of tACS artifacts detected by anomalies, interpolation is used to correct the power spectrum to eliminate the peaks at these frequency points: In the formula, It is the frequency of tACS artifacts detected at outliers. yes The signal after Fast Fourier Transform, spectrum_interp represents... Delete by center The left and right sides are preset with bandwidth from the spectrum. Then, based on the frequency points of the remaining spectrum, cubic spline interpolation is performed on the phase and amplitude of the deleted frequency points to complete the power spectrum.

6. The tACS artifact removal method based on noise-assisted analysis according to claim 1, characterized in that, The step of averaging all obtained artifact-free single-channel EEG signals to obtain the final artifact-free single-channel EEG data includes: EEG signals with added white noise each time After processing using power spectrum interpolation, artifact-free single-channel EEG signals were obtained. ,in Represents the number of iterations; After completing all iterations, for all Average in, N This represents the total number of iterations.

7. A tACS artifact removal device based on noise-assisted analysis, characterized in that, include: The signal input module is used to input electroencephalogram (EEG) signals. The noise addition module is used to add white noise to single-channel EEG signals; The artifact removal module is used to process EEG signals with added white noise using a power spectrum interpolation method, and to correct the power spectrum using interpolation to obtain a single-channel EEG signal with artifacts removed. The signal averaging module is used to take the obtained artifact-free single-channel EEG signal as a new input signal, return to iteratively execute the white noise addition step, and obtain a new artifact-free single-channel EEG signal until the number of iterations reaches a preset number. All the obtained artifact-free single-channel EEG signals are averaged to obtain the final artifact-free single-channel EEG data. The process of processing EEG signals with added white noise using a power spectrum interpolation method includes: For EEG signals with added white noise, FFT is used to transform them to the frequency domain to obtain the power spectrum F1; Median filtering is applied to power spectrum F1 to obtain smoothed power spectrum F2; Subtracting the power spectrum F2 from the power spectrum F1 yields the power spectrum difference curve F3; For all points on the power spectrum difference curve F3, abnormal frequency points are detected to obtain spectrum anomalies; For each outlier, the preset bandwidths on its left and right sides are considered to be the locations of tACS artifacts and are removed from the spectrum. Based on the frequency points of the remaining spectrum, cubic spline interpolation is performed on the phase and amplitude of the deleted frequency points to complete the power spectrum and obtain the complete power spectrum F4. A fast inverse Fourier transform was performed on the power spectrum F4 to transform the signal to the time domain, obtaining a single-channel EEG signal with artifacts removed.

8. An electronic device, characterized in that, The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • EEMD-based fatigue electroencephalogram feature extraction method

    CN113633288A

  • Method for removing electroencephalogram artifacts by combining improved CEEMDAN and box plot technology

    CN118861525A