EEG fatigue signal preprocessing method based on CEEMDAN-DFA-ICA

Through the CEEMDAN-DFA-ICA method adaptive decomposition and denoising, combined with fuzzy entropy value judgment, the problem of signal loss during noise removal in the existing technology is solved, the accuracy and robustness of EEG signal preprocessing are improved, and the Improved the reliability of EEG fatigue detection.

CN118535867AInactive Publication Date: 2024-08-23CHANGCHUN UNIV OF SCI & TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410634428.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing EEG signal preprocessing methods may cause useful signal components to be mistakenly deleted or weakened when removing noise, and require subjective manual judgment, resulting in inconsistent processing results and affecting the accuracy and reliability of the data.

Method used

A method based on CEEMDAN-DFA-ICA is adopted, through adaptive decomposition and multi-scale analysis, combined with fuzzy entropy value judgment, to adaptively remove noise, retain the original signal information, and improve the robustness and accuracy of signal processing.

Benefits of technology

It retains useful signals to a greater extent, improves preprocessing denoising performance, enhances the fatigue detection accuracy and reliability of EEG signals, reduces manual intervention, and improves the consistency of results between different researchers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535867A
    Figure CN118535867A
Patent Text Reader

Abstract

The invention provides an electroencephalogram fatigue signal preprocessing method based on CEEMDAN-DFA-ICA, and relates to the technical field of electroencephalogram signal processing. An electroencephalogram acquisition device is used for acquiring electroencephalogram signals with mixed ocular artifacts; the method comprises the following steps: firstly, performing adaptive decomposition on an electroencephalogram signal by adopting a CEEMDAN method to obtain an intrinsic mode function; a scale index of the signal is obtained based on a DFA method, and an effective intrinsic mode component IMF is separated; performing ICA analysis on the invalid eigenmode component group, calculating the fuzzy entropy of the invalid eigenmode component group, taking the first IC with the highest fuzzy entropy value as a noisy component, performing zero setting, and performing inverse ICA analysis on all IC components to obtain a denoised eigenmode component IMF set; and reconstructing all the processed intrinsic mode components IMF to obtain a preprocessed electroencephalogram signal. According to the method, the electroencephalogram signals are preprocessed, algorithm fusion is achieved, recognition and noise suppression are conducted on the part, subjected to strong interference, in the actually-measured signals, the good denoising effect is achieved, and the actually-measured data quality of the electroencephalogram signals can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of electroencephalogram (EEG) signal processing, and in particular to an EEG fatigue signal preprocessing method based on CEEMDAN-DFA-ICA. Background Art

[0002] Electroencephalogram (EEG) is the overall expression of brain nerve cell activity on the scalp. It can reflect changes in brain state in a timely manner and is an important source of information for human brain research, disease diagnosis and rehabilitation engineering. The fatigue state detection method based on EEG signals is considered to be the most predictive and is known as the "gold standard" for fatigue detection. EEG signals can provide some information about fatigue status and can timely, accurately and objectively evaluate the user's fatigue level. However, EEG signals have the characteristics of low amplitude and weak signal, and during the collection, transmission and storage of EEG signals, there will be noise such as electromyography, electrooculography, breathing, and power frequency interference, which will affect the accuracy of experimental data collection. Therefore, how to effectively remove noise and obtain valuable analysis data has always been one of the important issues in the field of EEG signal processing.

[0003] At present, in terms of EEG signal preprocessing, common EEG fatigue signal preprocessing methods include filters (low-pass, high-pass, band-pass), mean filtering, median filtering, independent component analysis (ICA) and correlation analysis. However, in order to remove noise and interference when collecting signals, some useful signal components may be deleted or weakened by mistake, resulting in information loss; and removing noise and interference requires subjective manual judgment and operation, which may also lead to differences in processing results between different researchers. The ideal EEG preprocessing method is to eliminate noise on the contaminated EEG signal and retain the original EEG information as much as possible. The CEEMDAN algorithm is a nonlinear and non-stationary signal analysis algorithm obtained by improvement based on empirical mode decomposition (EMD) and integrated empirical mode decomposition (EEMD). It has adaptability, can improve the decomposition ability of nonlinear signals, and reduce reconstruction errors. De-trended Fluctuations Analysis (DFA) is a scale analysis method to measure the long-range correlation of non-stationary sequences. The ICA algorithm is a signal separation method based on the principle of statistical independence, which can separate independent components in the signal. The CEEMDAN algorithm can effectively remove noise from non-stationary signals, while the DFA algorithm and the ICA algorithm can also remove noise from signals to a certain extent. At the same time, the CEEMDAN algorithm can decompose the signal at multiple scales, while the DFA algorithm and the ICA algorithm can also analyze the long-range correlation of the signal. When combined, the analysis and modeling of the signal at multiple scales and multiple time scales can be realized. In addition, the ICA algorithm has strong robustness and can process various types of signals including nonlinear, non-Gaussian and non-stationary. Combining the ICA algorithm with the CEEMDAN algorithm and the DFA algorithm can further improve the robustness of signal processing.

[0004] In summary, based on the integrity, accuracy and robustness of the signal, this patent proposes an EEG fatigue signal preprocessing technology based on CEEMDAN-ICA-ICA, which combines the completeness lumped average empirical mode decomposition method of adaptive white noise (CEEMDAN), detrending fluctuations (DFA) and independent component ICA analysis to separate and identify EEG fatigue signals. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] In view of the deficiencies in the prior art, the present invention provides a method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA, which solves the problems raised in the above-mentioned background technology.

[0007] (II) Technical solution

[0008] In order to achieve the above-mentioned purpose, the present invention specifically adopts the following technical solutions:

[0009] A method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA, comprising the following steps:

[0010] S1. Obtain EEG signal data and pre-process it through common filtering and other methods; the EEG signal data comes from the data collected by the self-created experimental environment and the public data set;

[0011] S2, performing CEEMDAN adaptive decomposition on EEG signal data from multiple channels to obtain different intrinsic mode functions;

[0012] S3, obtaining the scaling index of the signal based on the DFA method, thereby judging the validity of each intrinsic mode component and separating the effective intrinsic mode component IMF;

[0013] S4, using the invalid intrinsic mode components containing a large number of noise components to form a new observation signal as a plurality of virtual channels, using the ICA method to perform blind source separation, calculating the fuzzy entropy of each virtual channel, taking the first IC with the highest fuzzy entropy value as the noisy component and setting it to zero, then performing inverse ICA analysis on all IC components to obtain the denoised intrinsic mode component IMF;

[0014] S5, reconstructing the denoised intrinsic mode component IMF and the effective intrinsic mode component IMF considered to be noise-free to obtain a preprocessed EEG signal;

[0015] S6. Compare the signal preprocessed by common filtering and the signal preprocessed by CEEMDAN-DFA-ICA method.

[0016] Furthermore, the step S1 comprises the following steps:

[0017] S11. Using the principle of Stroop color-word test, build a visual test experimental environment and use the EEG acquisition device to collect EEG in real time;

[0018] S12, performing a first filtering process on the EEG signal data using a multi-order Butterworth filtering algorithm to eliminate noise interference;

[0019] S13, using 250 Hz down sampling to process the EEG signal data to reduce the amount of calculation, prevent overfitting, and enable the subsequent convolution kernel to learn more global information;

[0020] S14. Using independent component analysis (ICA) to process the EEG signal data to eliminate interference from artifact signals such as electromyography, electrooculography, and electrocardiography.

[0021] Furthermore, the step S2 comprises the following steps:

[0022] S21, add white noise to the original EEG signal, perform an EMD decomposition, and obtain a set of IMFs and a residue;

[0023] S22, performing exponential moving average processing on the remaining items to obtain a new set of residuals;

[0024] S23, repeating step S21 and step S22 for multiple iterations until a stable residual is obtained;

[0025] S24. The final set of IMFs and stable residuals are taken as the decomposition results.

[0026] Furthermore, step S3 includes the following steps:

[0027] S31. First, the mean value of the sequence is filtered out and its cumulative deviation is calculated. Since cyclic or fluctuating components may exist in general time series, a time series may have random components. Filtering out these components of the EEG signal will be of great help.

[0028] S32, reconstructing the sequence, dividing the sequence into n non-overlapping intervals by equal length respectively; then reversing the order of the sequence and performing the same operation to obtain multiple intervals of equal length;

[0029] S33. For each interval, use the least squares method to perform a first-order linear fit on the data contained in each interval to obtain the local trend y n (i);

[0030] S34, calculate the mean square error [y(k)-y n (k)] 2 ;

[0031] S35, finding the mean of all intervals of equal length and taking the square root, and calculating the average fluctuation function F(n);

[0032] S36. Filter out useful EEG signals with a Hurst index greater than 0.5. If the sequence shows a long correlation between past values ​​and future values, that is, a long-range power-law correlation, then F(n) and n satisfy the power-law relationship. In the scatter plot in the double logarithmic coordinates (lnn, ln F(n)), the data points are fitted using the least squares method, where the slope α of the straight line is the Hurst exponent.

[0033] Furthermore, the step S4 comprises the following steps:

[0034] S41, taking a signal set that is considered to contain a large number of invalid components as an input of an ICA algorithm for denoising, and obtaining a valid set of the original signal;

[0035] S42, through fuzzy entropy value judgment, regular noise with lower entropy value than valuable signal can be found;

[0036] S43, taking the first IC with the highest fuzzy entropy value as the noisy component and setting it to zero, and then performing inverse ICA analysis on all IC components to obtain a denoised intrinsic mode component IMF set.

[0037] Further, step S5 includes the following steps:

[0038] The denoised intrinsic mode component IMF set obtained after step S4 and the noise-free effective IMF component set separated in step S3 are reconstructed to obtain a cleaner EEG signal.

[0039] Further, step S6 includes the following steps:

[0040] S61, the root mean square error (MSE) and signal-to-noise ratio (SNR) are used to measure the preprocessing effect;

[0041] S62. Compare the signal preprocessed by common filtering and the signal preprocessed by the CEEMDAN-DFA-ICA method.

[0042] (III) Beneficial effects

[0043] Compared with the prior art, the present invention provides a method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA, which has the following beneficial effects:

[0044] (1) In view of the fact that fatigue can cause attention loss, which leads to poor stability and low reliability of steady-state visual evoked EEG data, the improved method can retain useful signals to a greater extent and improve the preprocessing denoising performance compared with the traditional preprocessing method.

[0045] (2) The multi-channel EEG signal is decomposed by CEEMDAN to obtain a multidimensional intrinsic mode function, and then the DFA-ICA method is used to construct a multidimensional source signal for the intrinsic mode function. The artifact component signal is adaptively identified based on the threshold criterion of fuzzy entropy, and the artifact component in the multidimensional source signal is filtered out and then reconstructed to improve the accuracy of signal extraction and classification, and enhance the fatigue detection of EEG signals. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A schematic flow chart of a method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA according to an embodiment of the present invention;

[0047] Figure 2 A schematic diagram of the process of collecting EEG fatigue signals in a self-created environment according to an embodiment of the present invention;

[0048] Figure 3 This is a partial Qt Creator interface diagram set up before the experiment of collecting EEG fatigue signals in an embodiment of the present invention;

[0049] Figure 4 It is a schematic flow chart of a simple method for denoising EEG fatigue signal data disclosed in an embodiment of the present invention;

[0050] Figure 5 This is a diagram showing a simple denoising result of the public EEG fatigue signal data according to an embodiment of the present invention;

[0051] Figure 6 Schematic diagram of the CEEMDAN-DFA-ICA method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] Example

[0054] like Figure 1-6 As shown, an embodiment of the present invention proposes a method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA, comprising the following steps:

[0055] S1. Obtain EEG signal data and pre-process it through common filtering and other methods; the EEG signal data comes from the data collected by the self-created experimental environment and the public data set;

[0056] S2. Perform CEEMDAN adaptive decomposition on EEG signal data from multiple channels to obtain different intrinsic mode functions.

[0057] Further:

[0058] Step S2 includes the following steps:

[0059] S201, the original EEG signal f(t) and the white noise n i (t) is combined, ε is the signal-to-noise ratio. The control coefficient constructs the noise signal f i (t), we get N noise signals f i(t) = f(t) + εn i (t), i = 1, 2, ..., N; use EMD to decompose each f i (t), and obtain the first-order component c of each signal i1 (t), the first-order IMF component is calculated by adding and averaging, and the corresponding first-order modal component can be expressed as:

[0060] and its residual term r i (t), calculate c i1 (t) and calculate c1(t):

[0061]

[0062] S202. Subtract c1(t) from f(t) to obtain the first-order residual term R1(t):

[0063] R1(t)=f(t)-c1(t)#

[0064] S203, white noise n i (t) participates in subsequent decomposition at different scales. Here, CEEMDAN is used to decompose white noise to obtain and Where j represents the jth IMF component, and E is defined j (n i (t)) represents n i (t) The set of j-th IMF components, for example: Combine the residual components R1(t) and E1(n i (t)) constitutes fn1(t)=R1(t)+E1(n i (t)), repeat the EMD decomposition of fn1(t) to obtain calculate Repeat S201 with the average value of , and get the second IMF component of CEEMDAN Then we get R2(t)=R1(t)-c2(t);

[0065] S204, repeat S203 to obtain

[0066]

[0067]

[0068] R j (t) = R j-1 (t)-c j (t)#

[0069] S205, until the Rj (t) When there are no more than two extreme points, the algorithm ends, R j (t) is the final residual component R(t), and the final f(t) is expressed as

[0070]

[0071] Where M is the number of decomposed IMFs and R(t) is the residual component.

[0072] S3. Obtain the scaling index of the signal based on the DFA method, so as to judge the validity of each intrinsic mode component and separate the effective intrinsic mode component IMF.

[0073] Further:

[0074] Step S3 includes the following steps:

[0075] S301, accumulate the IMF sequence xi(t) with a sequence length of N to obtain the cumulative deviation y(k):

[0076]

[0077] In the formula Represents x i (t) the mean of the time series,

[0078] S302, divide the accumulated y(k) sequence into n subsequences of equal length, and use the least squares method to fit the local trend y n (i) Average fluctuation function F(n):

[0079]

[0080]

[0081] F(n)∝n α #

[0082] Where: a n represents the polynomial coefficient; α is the scaling exponent Hurst exponent, which reflects the smoothness of the signal. It is generally believed that the higher the Hurst exponent, the higher the smoothness and the less noise. The Hurst exponent of 0.5 is used as the threshold to determine whether there is a long-range power law correlation. The decomposed IMF components are divided into two groups: one group is the IMF invalid components less than 0.5, and the set M1 = [I1, I2, ..., I k ], k is the number of IMF components, which need further noise reduction; the other group is the effective IMF components greater than 0.5, the set is l represents the number of components.

[0083] S4. The invalid intrinsic mode components containing a large number of noise components are used to form new observation signals as multiple virtual channels. The ICA method is used for blind source separation. The fuzzy entropy of each virtual channel is calculated. The first IC with the highest fuzzy entropy value is taken as the noisy component and set to zero. Then, all IC components are subjected to inverse ICA analysis to obtain the denoised intrinsic mode component IMF.

[0084] Further:

[0085] Step S4 includes the following steps:

[0086] S401, using M1 as the input of the ICA algorithm to perform denoising, and obtaining a valid component set M3 of the original signal in M1, where M3 = [Y1, Y2, ..., Y k ].

[0087] S402, suppose there is a time series {u(i): 1≤i≤N} with a length of N, and a set of m-dimensional vectors are regenerated according to the sequence order:

[0088]

[0089] Where: i = 1, 2, ..., N-m + 1, u0(i) is

[0090] S403. Define vector and Distance It is the maximum value of the difference between the corresponding elements of the two, that is: where i, j = 1, 2,…, N-m+1, i≠j.

[0091] S404, introduce a fuzzy membership function to define the similarity between vectors:

[0092]

[0093] Where r is the similarity tolerance parameter, which is defined as R times the standard deviation of the one-dimensional time series. Then the vector and The similarity between them is:

[0094]

[0095] S405. Define function

[0096] Similarly, repeat steps S402 to S405 for dimension m+1 to obtain φ m+1 (r).

[0097] The fuzzy entropy of the above sequence is defined as:

[0098]

[0099] Where: parameter m is the dimension of phase space, r is the similarity tolerance, and N is the data length. Selecting r in the range of 0.1 to 0.2SD (SD is the standard deviation of the time series) can obtain a reasonable and effective fuzzy entropy value. The values ​​of fuzzy entropy parameters are m = 2, r = 0.2SD.

[0100] S406. After obtaining the fuzzy entropy value of each component, a threshold discriminant is required to distinguish artifacts and EEG components. The k variable is defined to satisfy 1<k≤[N / 2] and the following formula:

[0101]

[0102] Where: represents the entropy value of the kth independent component after ascending sorting, and [N / 2] represents the largest integer not greater than N / 2. If there is k that satisfies the above formula, then k is the smallest integer that satisfies the condition, and the ICA components corresponding to the first k entropy values ​​are determined to be electrooculographic artifacts, which are filtered out by setting them to zero. Then, all IC components are subjected to inverse ICA analysis to obtain the denoised intrinsic mode component IMF set M4, M4 = [Z1, Z2, ..., Z k ].

[0103] S5. Reconstruct the denoised intrinsic mode component IMF and the effective intrinsic mode component IMF considered to be noise-free to obtain the preprocessed EEG signal.

[0104] Further:

[0105] Step S5 includes the following steps:

[0106] The denoised intrinsic mode component IMF obtained after step S3 and the effective IMF component without noise separated by step S2 are reconstructed to obtain the EEG signal after electrooculogram filtering. That is, M4 and M2 are linearly superimposed to obtain set M5, that is,

[0107]

[0108] Reconstruct M5 to obtain the final clean signal EEG signal U(t).

[0109] S6, compare the signal preprocessed by common filtering and other methods with the signal preprocessed by CEEMDAN-DFA-ICA method. Since different noises are added in S21, the denoised signal needs to calculate three index parameters: normalized correlation coefficient, root mean square error, and signal-to-noise ratio to evaluate the denoising effect and compare the results.

[0110] The present invention will obtain the required EEG signal by collecting data from a self-created experimental environment and a public data set, and then use the CEEMDAN-DFA-ICA method to process it to obtain a relatively clean signal. The specific process is as follows Figure 1 shown.

[0111] like Figure 2 As shown in the figure, the process diagram of collecting EEG fatigue signals in a self-created environment. Based on the principle of the stroop color word test, the Qt Creator software is used to create a self-created experimental environment combined with EEG equipment to collect data, and the obtained data is preprocessed.

[0112] The EEG data acquisition in step S1 is specifically as follows: the test subject who has made sufficient preparations before the experiment connects an external EEG acquisition device, and then uses a visual experiment designed by Qt Creator to judge and synchronously collect the EEG signal at the moment with the keyboard, and finally screens out the required EEG data. The pre-experimental condition settings are mainly divided into the overall experimental time and the probability and residence time of the color and font of the color words in the stage experiment; during the experiment, the Qt visual window interface uses a "321" countdown and a "+" fixation point before each judgment to focus the subject's attention and reduce the error in experimental data collection, and then judge the correct input based on the random color word prompts, and collect real-time EEG data; after the experiment, the statistical reaction data analysis is used to obtain EEG data with more significant stage effects.

[0113] like Figure 3 As shown in the figure, part of the Qt Creator interface set up before collecting EEG fatigue signal experiment includes the following parts.

[0114] The settings before the experiment are divided into two parts: overall and local. The overall part includes the regulation of the overall data consumption time and the "+" fixation time of each group, and the local part is the control of the details such as the outer frame of each group and the data retention and "+" fixation point, aiming to count the judgments under different fatigue states and detect the EEG data signals in the experiment in real time. The additional functions such as memory and reset are added to ensure that the final EEG data is more reliable.

[0115] like Figure 4 As shown, a simple denoising method for publicly disclosed EEG fatigue signal data includes the following steps.

[0116] The behavioral data in the raw data were integrated into the EEG signal, and the signal was removed and smoothed by a 0.5 Hz high-pass filter and a 50 Hz low-pass filter. The signal was downsampled to 250 Hz to reduce the amount of calculation and prevent overfitting.

[0117] Since there may be baseline differences between data periods, the average baseline value needs to be removed for each period. The data time period related to the event is extracted, and baseline removal is performed on the data of all channels. The delay window used to calculate the average value of the original epoched data set in each epoch will be overwritten by the removed baseline data set, and some artifacts in the EEG and behavioral data will be removed.

[0118] Decompose the EEG signal into independent signals, time-lock it to the corresponding epoch, and save the corresponding data set after ICA training. Approximate the source of EEG in the brain, also time-lock it to the corresponding epoch, divide the brain into grids, and position the dipoles on the appropriate grids for rough and fine matching. Use "Draw Dipole Diagram" to check whether the position of the dipole is reasonable. If not, make fine adjustments. Repeat the above steps multiple times until all components related to brain processes are fine-tuned. Perform the same operation on other epochs that have not undergone ICA and dipole fitting.

[0119] The independent component analysis of the components in the EEG dataset is activated, and the components of the EEG dataset are clustered using component identification. The missing channels in the dataset are found and the channel positions are standardized. The average scalp map, alert baseline power, and dipole positions in the cluster are calculated and plotted. The clusters characterize the common patterns of spectral activity of similar ICs from different states. The abnormal spectra / component scalp maps are removed from the IC clusters to refine the trends and reselect the components. After reselecting the components, the cluster spectra are recalculated and the EEGs in two different states are compared. Finally, the EEG preprocessed by this method is obtained.

[0120] like Figure 5 As shown, a set of data using Figure 4 The denoising effect of this simple denoising method. As can be seen from the figure, after the original EEG is processed, the artifacts and pseudo-coherence are reduced very well, the noise interference is small, the effective EEG information is better preserved, and it has a high similarity with the true EEG value.

[0121] like Figure 6 The figure shows a schematic diagram of the CEEMDAN-DFA-ICA method, which includes the following four steps.

[0122] The first step is to decompose the original EEG by CEEMDAN to obtain all intrinsic mode components IMF. The second step is to use DFA to calculate whether the Hurst index is greater than the threshold of 0.5. The third step is to screen and judge all IMF components processed by ICA based on fuzzy entropy. The fourth step is to reconstruct the processed IMF components.

[0123] The first step is to decompose the nonlinear and non-stationary EEG signals into multiple intrinsic mode functions (IMFs) by using CEEMDAN, and extract information in different frequency ranges. This decomposition can help us understand the different frequency components in the EEG signals, so as to deeply understand the dynamic changes and frequency characteristics of the EEG signals, extract useful information, and perform subsequent analysis and processing.

[0124] The second step is to study the long-term memory characteristics, time correlation or other dynamic characteristics of EEG signals, and use DFA to select a reliable Hurst scaling exponent α as the basis for identifying noise IMF, and roughly screen out useful signals.

[0125] In the third step, fuzzy entropy is used as a metric in ICA analysis to comprehensively evaluate the independence and characteristics of IMF components. EEG signals are usually non-Gaussian signals, containing rich nonlinearities and non-Gaussian properties. Fuzzy entropy has advantages in measuring the complexity and uncertainty of non-Gaussian signals and can more accurately reflect the characteristics of signals. The IC component with the highest fuzzy entropy is set to 0, and the rest are retained, and then inverse transformed by ICA.

[0126] The fourth step is to reconstruct the EEG signal. The denoised effective IMfs obtained by inverse ICA in the third step are reconstructed with the IMFs screened out in the second step to obtain a relatively clean and useful EEG.

[0127] The background section of the present invention may contain background information about the problem or environment of the present invention, but does not necessarily describe the prior art. Therefore, the content included in the background section is not an admission by the applicant that the prior art is available.

[0128] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA, characterized in that: The steps include: S1. Obtain EEG signal data and pre-process it through common filtering and other methods; the EEG signal data comes from the data collected by the self-created experimental environment and the public data set; S2, performing CEEMDAN adaptive decomposition on EEG signal data from multiple channels to obtain different intrinsic mode functions; S3, obtaining the scaling index of the signal based on the DFA method, thereby judging the validity of each intrinsic mode component and separating the effective intrinsic mode component IMF; S4, using the invalid intrinsic mode components containing a large number of noise components to form a new observation signal as a plurality of virtual channels, using the ICA method to perform blind source separation, calculating the fuzzy entropy of each virtual channel, taking the first IC with the highest fuzzy entropy value as the noisy component and setting it to zero, then performing inverse ICA analysis on all IC components to obtain the denoised intrinsic mode component IMF; S5, reconstructing the denoised intrinsic mode component IMF and the effective intrinsic mode component IMF considered to be noise-free to obtain a preprocessed EEG signal; S6. Compare the signal preprocessed by common filtering and the signal preprocessed by CEEMDAN-DFA-ICA method.

2. The method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA according to claim 1, characterized in that: The step S1 comprises the following steps: S11. Using the principle of Stroop color-word test, build a visual test experimental environment and use the EEG acquisition device to collect EEG in real time; S12, performing a first filtering process on the EEG signal data using a multi-order Butterworth filtering algorithm to eliminate noise interference; S13, using 250 Hz down sampling to process the EEG signal data to reduce the amount of calculation, prevent overfitting, and enable the subsequent convolution kernel to learn more global information; S14. Using independent component analysis (ICA) to process the EEG signal data to eliminate interference from artifact signals such as electromyography, electrooculography, and electrocardiography.

3. The method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA according to claim 1, characterized in that: The step S2 comprises the following steps: S21, add white noise to the original EEG signal, perform an EMD decomposition, and obtain a set of IMFs and a residue; S22, performing exponential moving average processing on the remaining items to obtain a new set of residuals; S23, repeating step S21 and step S22 for multiple iterations until a stable residual is obtained; S24. The final set of IMFs and stable residuals are taken as the decomposition results.

4. The method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA according to claim 1, characterized in that: The step S3 comprises the following steps: S31. First, the mean value of the sequence is filtered out and its cumulative deviation is calculated. Since cyclic or fluctuating components may exist in general time series, a time series may have random components. Filtering out these components of the EEG signal will be of great help. S32, reconstructing the sequence, dividing the sequence into n non-overlapping intervals by equal length respectively; then reversing the order of the sequence and performing the same operation to obtain multiple intervals of equal length; S33. For each interval, use the least squares method to perform a first-order linear fit on the data contained in each interval to obtain the local trend y n (i); S34, calculate the mean square error [y(k)-y n (k)] 2 ; S35, finding the mean of all intervals of equal length and taking the square root, and calculating the average fluctuation function F(n); S36. Filter out useful EEG signals with a Hurst exponent greater than 0.

5. If the sequence shows a long correlation between past values ​​and future values, that is, a long-range power-law correlation, then F(n) and n satisfy a power-law relationship. In the scatter plot in the double logarithmic coordinates (ln n, lnF(n)), use the least squares method to fit the data points, where the slope α of the straight line is the Hurst exponent.

5. The method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA according to claim 4, characterized in that: The step S4 comprises the following steps: S41, taking a signal set that is considered to contain a large number of invalid components as an input of an ICA algorithm for denoising, and obtaining a valid set of the original signal; S42, through fuzzy entropy value judgment, regular noise with lower entropy value than valuable signal can be found; S43, taking the first IC with the highest fuzzy entropy value as the noisy component and setting it to zero, and then performing inverse ICA analysis on all IC components to obtain a denoised intrinsic mode component IMF set.

6. The method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA according to claim 1, characterized in that: Step S5 includes the following steps: The denoised intrinsic mode component IMF set obtained after step S4 and the noise-free effective IMF component set separated in step S3 are reconstructed to obtain a cleaner EEG signal.

7. The method for preprocessing EEG fatigue signals based on CEEMDAN-DFA-ICA according to claim 1, characterized in that: Step S6 includes the following steps: S61, the root mean square error (MSE) and signal-to-noise ratio (SNR) are used to measure the preprocessing effect; S62. Compare the signal preprocessed by common filtering and the signal preprocessed by the CEEMDAN-DFA-ICA method.

Citation Information

Cited By

  • Electroencephalogram signal denoising method and system based on MVMD and SOBI

    CN119257562A

  • Intelligent sleep state monitoring method and device based on brain waves

    CN119454052A