Next Article in Journal
New Keypoint Matching Method Using Local Convolutional Features for Power Transmission Line Icing Monitoring
Previous Article in Journal
Analysis of Resonance Asymmetry Phenomenon in Resonant Fiber Optic Gyro
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Embedding Dimension Selection for Adaptive Singular Spectrum Analysis of EEG Signal

1
State Key Laboratory of Precision Measurement Technology and Instruments, Department of Precision Instrument, Tsinghua University, Beijing 100084, China
2
Division of Intelligent and Bio-mimetic Machinery, The State Key Laboratory of Tribology, Tsinghua University, Beijing 100084, China
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(3), 697; https://doi.org/10.3390/s18030697
Submission received: 12 January 2018 / Revised: 14 February 2018 / Accepted: 22 February 2018 / Published: 26 February 2018
(This article belongs to the Section Physical Sensors)

Abstract

:
The recorded electroencephalography (EEG) signal is often contaminated with different kinds of artifacts and noise. Singular spectrum analysis (SSA) is a powerful tool for extracting the brain rhythm from a noisy EEG signal. By analyzing the frequency characteristics of the reconstructed component (RC) and the change rate in the trace of the Toeplitz matrix, it is demonstrated that the embedding dimension is related to the frequency bandwidth of each reconstructed component, in consistence with the component mixing in the singular value decomposition step. A method for selecting the embedding dimension is thereby proposed and verified by simulated EEG signal based on the Markov Process Amplitude (MPA) EEG Model. Real EEG signal is also collected from the experimental subjects under both eyes-open and eyes-closed conditions. The experimental results show that based on the embedding dimension selection method, the alpha rhythm can be extracted from the real EEG signal by the adaptive SSA, which can be effectively utilized to distinguish between the eyes-open and eyes-closed states.

1. Introduction

Electroencephalography (EEG) recordings from the scalp reflect the electrophysiological activity of the brain neurons. The features of the spontaneous EEG signal contain different physiological and pathological information [1]. For example, alpha rhythm (α-rhythm) reflects attentional demands and beta rhythm (β-rhythm) reflects emotional and cognitive processes [2]. Theta rhythm (θ-rhythm) is related to moral actions [3], while delta rhythm (δ-rhythm) is an indicator of attention to internal processing during performance of mental tasks [4]. Due to the advantage of abundant information in the brain, EEG has been widely studied in the area of physiological status monitoring, intelligent rehabilitation therapy and brain computer interface (BCI) system [5,6,7].
Rhythm extraction is very important for the research and application of EEG signal. However, the recorded EEG signal usually contains large amounts of artifacts, such as electrooculogram (EOG), electromyography (EMG), electrocardiography (ECG), baseline drift and so on, in consistence with common interference and random noise originating from measurement system. Especially, the artifacts show considerably larger amplitude than the spontaneous EEG signal, which lead to an unsatisfied low signal-to-noise ratio (SNR) [8]. In addition, the frequency spectrum of artifacts overlaps with that of the spontaneous EEG signal. Therefore, traditional methods based on frequency spectrum analysis, like Fourier Transform, are difficult to accomplish the artifacts removal and rhythms extraction. What’s more, the brain rhythm depends on the experimental subject to a large extent and the artifacts vary significantly with the measurement environment. Consequently, the rhythms extraction from the EEG signal has attracted much attention in recent studies.
To extract the desired rhythms accurately from the contaminated EEG signal, various processing methods have been proposed for artifacts removal [9,10,11]. In multi-channel EEG recordings, a conventional approach of visual inspection is useful for artifacts removal. However, this method is time consuming, laborious and unrealizable for single-channel EEG recording. Therefore, many efforts have been paid on automated detection and correction for artifacts removal. He et al. combined regression analysis (RA) and adaptive filtering (AF) for removal of ocular artifacts [12]. This method required a separately recorded ocular artifacts signal as a reference, which increased the complexity of the measurement system. Jadhav et al. proposed an automated detection and correction method of eye blink and muscular artifacts based on fast independent component analysis (FastICA) and discrete waveform transform (DWT) [13]. Then this method is further improved and realized in a low-complexity and reliable system without the need of any reference electrode [14]. Machine learning techniques were recently introduced to the processing of EEG signals. For instance, Chai et al. used an autoregressive (AR) model and sparse-deep belief networks (sparse-DBN) combined with independent component analysis (ICA) to remove artifacts and discriminateEEG-based driver fatigue, which obtained satisfied classification performance between fatigue and alert states [15]. However, this method required abundant labeled EEG samples for training the parametric model and suffered from the cost of high computational complexity, which is not applicable for portable or wearable devices.
Singular spectrum analysis (SSA) is a model-free method developed from Karhunen-Loeve decomposition theory [16]. SSA works well for single channel signals as well as multichannel signals. So, it allows the exploitation of SSA for a variety of applications including biomedical signal processing such as signal restoration, change detection, segmentation, anomaly detection and prediction [17]. In terms of biomedical signal, the recorded biomedical information is often a combination of a number of source signals, artifact and noise, which possesses nonlinear and non-stationary characteristics [18]. SSA is utilized to find the structure of nonlinear and non-stationary signal and enables the separation of different sources even overlapping in the time-frequency space. In recent years, SSA has been successfully applied in the research of artifacts removal and rhythm extraction from the EEG signal. For instance, the research group of Maddirala [19] analyzed single channel EEG signal by SSA processing and successfully realized the motion artifact removal. Then the EOG artifact was furtherly removed by means of combined singular spectrum analysis and adaptive noise canceler [20]. SSA was applied by the Mohammadi group [21,22] to automatically extract the sleep EEG rhythm and successfully discriminated between different sleep states. Akar et al. proposed an approach based on wavelet and SSA to eliminate noise and extract desired components from the EEG signal, which was then effectively applied to the analysis of brain dynamics [23].
During the SSA processing of EEG signal, embedding dimension selection and grouping rule are two critical issues. For the issue of grouping rule, various methods have been proposed and achieved good performance in different applications. The conventional grouping rule was performed according to the magnitudes of eigenvalues, which was related with the power of each RC [24]. Then a new grouping rule based on the local mobility of the eigenvectors was proposed to remove the motion artifact, which performed better than the traditional method [19]. Based on the similarity of the eigenvalues and the peak frequency of RC, Hai et al. proposed another efficient grouping rule enabling SSA to be adaptive to EEG signals containing different levels of artifacts and rhythms [25]. However, for the issue of embedding dimension selection, to the best of our knowledge, there is no explicit rule for embedding dimension selection. On one hand, a general strategy is that the embedding dimension L should capture at least one period of the lowest frequency component of interest, i.e., L > f s / f r , where f s is the sampling rate and f r is the minimum frequency [26,27]. One the other hand, to get a satisfied result, the embedding dimension L should be chosen sufficiently large enough so that L-lagged vector incorporates an essential part of the EEG features [28]. The larger the embedding dimension is, the more detailed is the decomposition of the EEG signal. The most detailed decomposition is achieved when the embedding dimension is approximately equal to half of the EEG signal length. However, a larger L corresponds to an increased amount of computation and time complexity. In addition, for the EEG signal with complex structures, too large L may produce component mixing with each other [29], which lead to undesirable decomposition of brain rhythm of interest.
An embedding dimension selection method of the adaptive SSA for EEG signal processing is proposed in this paper. Based on the embedding dimension selection method, the frequency bandwidth of each reconstructed component is limited to a particular band of the brain rhythm of interest. At the same time, this method avoids component mixing in the SVD step. The experimental results show that, with the aid of the proposed embedding dimension selection method, the adaptive SSA performs successfully in the alpha rhythm extraction and distinguishing between eyes-open and eyes-closed states.

2. Adaptive Singular Spectrum Analysis Method for EEG Processing

Regarding the recorded one-dimensional time series of EEG signal s = (s1,s2,…,sN)T, with the superscript T denoting the transpose operator, SSA consists of two complementary stages: decomposition and reconstruction. Each stage includes two separate steps.
The decomposition stage includes time-delay embedding operation followed by singular value decomposition (SVD). In the time-delay embedding step, one-dimensional time series s is mapped into the multi-dimensional space to construct the trajectory matrix
X = ( s 1 , s 2 , , s L ) = [ s 1 s 2 s L s 2 s 3 s L + 1 s K s K + 1 s N ]
where L denotes the embedding dimension and K (K = N − L + 1) denotes the indices of the L-dimensional time-delay vectors. In the SVD step, the trajectory matrix is processed by SVD and decomposed into a series of rank-one elementary matrices
X = X 1 + X 2 + + X r = i = 1 r λ i u i v i T
where λ i are the eigenvalues of the covariance matrix X T X in decreasing order of magnitude ( λ 1 λ 2 ≥ … ≥ λ r > 0). The left singular vectors u i are the eigenvectors of the covariance matrix X X T and the right singular vectors v i are the eigenvectors of the covariance matrix X T X . Therefore, the trajectory matrix X is projected into the orthogonal space spanned by the left and right singular vectors. Each principal component subspace contains different characteristics of the EEG signal.
The reconstruction stage includes grouping and diagonal averaging. In the grouping step, the reconstructed components containing the same characteristics are grouped to indicate different brain rhythms, artifacts or noise. Let A = (c1,c2,…,cm) (m < r) be the corresponding grouped sequences. Then, the reconstructed matrix is
X c = i = c 1 c m X i = [ s ¯ 1 c s ¯ 2 c s ¯ L c s ¯ 2 c s ¯ 3 c s ¯ L + 1 c s ¯ K c s ¯ K + 1 c s ¯ N c ]
Finally, X c is transformed into a new one-dimensional time series s c = ( s 1 c , s 2 c , , s N c ) T in the diagonal averaging step, which represents the particular characteristic of the EEG signal.
Thus, as can be seen that the embedding dimension and grouping sequence selection are the two critical parameters of the SSA process. According to the magnitude of the singular value and the dominant frequency of each reconstructed component, an adaptive grouping rule has been proposed to solve the problem of grouping sequence selection [25]. In the following section, an embedding dimension selection method of adaptive SSA is presented for the purpose of rhythm extraction from the EEG signal.
In the above SVD step, the singular values of trajectory X are tied up with the eigenvalues of the covariance matrix X T X via the relation σ = λ . The covariance matrix is represented by
X T X = [ s 1 T s 1 s 1 T s 2 s 1 T s L s 2 T s 1 s 2 T s 2 s 2 T s L s L T s 1 s L T s 2 s L T s L ]
It is a symmetric positive semidefinite matrix. Generally, it satisfies the conditions N L and K L during the application of EEG signal processing. Thus, the principal diagonal elements and the elements parallel to the principal diagonal are approximately equal, namely
z l = n = 1 K s n s n l s L m s L l m ( L = 0 , 1 , , L 1 , m = 0 , 1 , , L 1 1 )
where z l is the auto covariance with delayed points l. Then covariance matrix X T X can be rewritten as
T K , L = X T X = [ z 0 z 1 z L 1 z 1 z 0 z L 2 z L 1 z L 2 z 0 ]
Based on the theorem of the symmetric Toeplitz matrix [30,31], the eigenvalues of T K , L are calculated as
λ p = j = L + 1 L 1 z | j | e i 2 π jp / L
To analyze the relationship between the eigenvalues of the covariance matrix and the frequency spectrum of the EEG signal, the circular operator is introduced here to represent
z l s K T P K l s K = s K T P K l s K
where s K denotes the first K elements of s and P K denotes the basic circulant matrix. Hence, P K is utilized to construct the relationship between the eigenvalues of T K , L and the discrete Fourier transform (DFT) of s K . The K × K Fourier matrix is represented as
F K = 1 K [ 1 1 1 1 ω K 1 ω K K 1 1 ω K K 1 ω K ( K 1 ) ( K 1 ) ]
where ω K = e i 2 π / K and F K is unitary matrix. With the aid of the matrix F K , the basic circulant matrix can be rewritten as [32]
P K = F K Λ K F K H = F K [ 1 0 0 0 ω K 0 0 0 ω K ( K 1 ) ] F K H
where F K H is the conjugate transpose of the matrix F K . In addition, the form of the inverse DFT is
s K = F K H s ^ K = F K H ( s ^ 0 , s ^ 1 , , s ^ K 1 ) T
where s ^ K denotes the frequency spectrum of the time series s K . Upon substituting Equations (10) and (11) into Equation (8), we get
z l s ^ K T Λ K l s ^ K = s ^ K T Λ K l s ^ K
Based on Equations (7) and (12), the eigenvalues are written in the form
λ p = s ^ K T ( j = L + 1 L 1 Λ K j e i 2 π jp / L ) s ^ K = q = 0 K 1 | s ^ q | 2 ζ p , q
where the coefficients are given by
ζ p , q = j = L + 1 L 1 e i 2 π j ( p / L + q / K ) = 1 + 2 m = 1 L 1 cos 2 π m ( p / L + q / K )
It can be seen that the eigenvalues of T K , L are determined by the magnitude | s ^ q | 2 and coefficients ζ p , q . The coefficients ζ p , q for different parameters are shown in Figure 1. The coefficient at p × K / L is the dominant component, while the coefficients between p × K / L 0.5 × K / L and p × K / L + 0.5 × K / L are the major parts of all the components. Based on Equation (13), each eigenvalue of the normalized covariance matrix T K , L can be approximated by the mean value of a portion of the power spectrum of s K , whose width is roughly K / L [33]. For the recorded EEG signal at a sampling rate f s , the frequency resolution of the DFT is f s / K . Therefore, the frequency bandwidth of each reconstructed component can be expressed by
f b = K / L × f s / K = f s / L
As a consequence, the frequency bandwidth f b of each reconstructed component is limited to f s / L . In order to remove the frequency components outside the f b , with f b denoting the bandwidth of the brain rhythm of interest, the embedding dimension L should satisfy the condition L f s / f b . Otherwise, the reconstructed components in the grouping step will contain frequency components outside the bandwidth of the brain rhythm of interest.
The analysis presented above shows that the frequency bandwidth of each reconstructed component is determined by the embedding dimension. Besides, the rate of change in the trace of Toeplitz matrix T K , L is associated with the embedding dimension [34] via the relation
Tr L , N Tr L 1 , N = j = L K s j 2
where the trace of T K , L is defined as
Tr L , N = tr ( T K , L ) = j = 1 L λ j L , N
It can be seen that the change rate of the trace is large for small embedding dimensions and decreases to the attain a minimum value at L = K. It means that the increase of information for all the frequency components slows down gradually when the embedding dimension L increases. Therefore, a smaller value of L should be chosen when the change rate of the trace is small. Otherwise, for nonlinear and nonstationary EEG signal with complicated structures, too large L can lead to component mixing with each other, which result in unsatisfied brain rhythm extraction.
The recorded EEG signal contains different brain rhythms, artifacts and noise. In particular, the frequency spectrum of the brain rhythms overlaps with that of the artifacts and noise. Therefore, in order to avoid component mixing in the rhythm extraction from the EEG signal by the adaptive SSA, the embedding dimension is selected according to the rule L = f s / f b , where f b is determined by the frequency bandwidth of the brain rhythm to be extracted.

3. Simulation Results and Discussion

3.1. Markov Process Amplitude EEG Model

The simulated EEG signal consists of three parts: the spontaneous EEG signal, the artifacts and the measurement noise. The spontaneous EEG signal possesses the characteristic rhythmic oscillations and stochastic processes. The artifacts are represented by the EOG and baseline drift. The measurement noise is simulated by the Gaussian white noise.
The spontaneous EEG signal is generated based on the Markov Process Amplitude (MAP) EEG model [35,36]. The rhythmic oscillation is represented by the sinusoidal wave, while the stochastic process is represented by the first-order Markov process. Therefore, the spontaneous EEG is produced by the sinusoidal wave modulated by the first-order Markov process. Considering that the spontaneous EEG consists of several oscillations, the MPA EEG model is given by
{ s ( n Δ t ) = i = 1 K a i ( n Δ t ) sin ( 2 π f i n Δ t + θ i ) + v α ( n Δ t ) + v n ( n Δ t ) a i ( ( n + 1 ) Δ t ) = γ i a i ( n Δ t ) + ξ i ( n Δ t ) ,                                                   0 < γ i < 1
where K is the number of rhythms, n is the number of sampling points, Δ t is the sampling interval, f is the oscillation frequency, θ is the initial phase, while v α and v n represent the artifacts and Gaussian white noise, respectively.
Equation (18) shows that the amplitude of the first-order Markov process at the succeeding time ( n + 1 ) Δ t depends only on the amplitude at the current time Δ t and is independent of the amplitudes of any other time. ξ represents the stochastic feature of amplitudes between the two steps of the process, for which the variance of ξ is σ ξ and the mean of ξ is zero. There are two critical parameters in the first-order Markov process: γ and ξ . γ denotes the correlation of the amplitudes between adjacent steps and σ ξ denotes the strength of the stochastic process.
The procedure for the simulation of the spontaneous EEG signal based on MPA EEG model is given in Figure 2. Firstly, by means of the maximum likelihood method, the parameters of γ and ξ are estimated from the power spectrum density (PSD) of the real EEG signal. Then, four brain rhythms are generated using the above estimated parameters, as shown in Figure 2a. The four brain rhythms are delta rhythm (1−4 Hz), theta rhythm (4−8 Hz), alpha rhythm (8−13 Hz) and beta rhythm (13−30 Hz), whose oscillation frequencies are set at the middle points of the corresponding frequency ranges. Finally, the spontaneous EEG is constructed as a superposition of the four brain rhythms, as shown in Figure 2b. In the simulation, the sampling frequency is 200 Hz and the sampling time is 8s. All of the simulation parameters are shown in Table 1.

3.2. Adaptive Singular Spectrum Analysis for Simulated EEG signal

The spontaneous EEG signal is processed by the adaptive SSA and the embedding dimension is set at L = 40 ( f s / f b ( α ) ) and L = 80 ( 2 f s / f b ( α ) ), with f b ( α ) = 5 Hz denoting the bandwidth of alpha rhythm. The PSD of the first six reconstructed components are shown in Figure 3a,b, respectively. In agreement with the results from Figure 1, the bandwidth of each reconstructed component is limited to f s / L (between two dashed lines in Figure 3), i.e., 5 Hz for L = 40 and 2.5 Hz for L = 80. It is observed from Figure 3 that RC1 and RC2 reflect the frequency feature of the alpha rhythm in both situations. Then the alpha rhythm is reconstructed according to the adaptive grouping rule [25].
For the purpose of evaluating the reconstruction performance of the alpha rhythm, an error parameter is defined as
ε ave = 1 N i = 1 N | p α ( i ) p r ( i ) |
where ε ave is the average error of the PSD between the simulated alpha rhythm and the reconstructed alpha rhythm, p α is the PSD of the simulated alpha rhythm, p r is the PSD of the reconstructed alpha rhythm and N is the length of the PSD.
The alpha rhythm is extracted from the spontaneous EEG signal by different values of L. The calculated errors ε ave are shown in Figure 4. As shown in the figure, ε ave decreases gradually for small values of L (L < 40), while ε ave reaches a relatively steady state for large values of L (L > 40). In accordance with the theoretical analysis, the alpha rhythm can be effectively extracted from the spontaneous EEG signal by the adaptive SSA when the embedding dimension is set at L = f s / f b ( α ) . Therefore, ε ave attains a minimum value at L = 40.
In order to further analyze the effect of the embedding dimension on the performance of the alpha rhythm extraction, the artifacts and noise are superimposed on the spontaneous EEG signal to construct the simulated EEG signal. The artifacts consist of two parts: EOG and baseline drift. EOG is represented by the triangular waveform with low frequency and high amplitude, which is the main source of artifacts and is caused by eye blinks and ocular movement. The baseline drift is characterized by low-frequency sinusoidal wave, which originates from head or body movement. In addition, Gaussian white noise is used to simulate the measurement noise. The simulation parameters of the artifacts and noise are shown in Table 1.
Figure 5a shows the simulated EEG signal with artifacts and noise. The average error ε ave corresponding to the embedding dimension L is shown in Figure 5b. It can be seen from Figure 5b that ε ave decreases gradually for small values of L (L < 40) and attains a minimum value at L = 40. However, for large values of L (L > 40), ε ave shows a general increasing trend with significant fluctuations. In particular, ε ave becomes much worse when L > 80. Figure 6a,b illustrate the PSD of the first six reconstructed components by L = 40 and 80. As can be observed in Figure 6, RC2 and RC3 reflect the frequency feature of the alpha rhythm. However, RC1 and RC2 suffer from component mixing for the alpha rhythm extraction when using L = 80. These two reconstructed components contain an admixture of frequency features from both alpha rhythm and artifacts.
The extracted alpha rhythms by embedding dimensions L = 20, 40 and 80 are illustrated in Figure 7a–c, respectively. Figure 7d shows the PSD of the extracted alpha rhythm for the three different embedding dimensions, compared with that of the simulated alpha rhythm. It can be seen that the alpha rhythm can be extracted effectively by L = 20 and 40. Due to the effects of artifacts and noise, the PSD of the extracted alpha rhythm by L = 20 and 40 are lower than that of the simulated alpha rhythm. When the embedding dimension is set at L = 20, the extracted waveform contains frequency components outside the alpha band because of the wide frequency bandwidth of the reconstructed components. When the embedding dimension is set at L = 80, the decomposition step leads to component mixing. Some of the frequency components of the alpha rhythm are mixed in the other reconstructed components. Therefore, the PSD of the extracted alpha rhythm is much lower than that of the simulated alpha rhythm. In addition, the PSD contains frequency feature from the artifacts due to the same reason of component mixing. So it is concluded that the adaptive SSA results in the best alpha rhythm extraction when the embedding dimension is set at L = 40.

4. Experimental Results and Discussion

4.1. Measurement Setup and Experimental Procedure

The real EEG signal was obtained by means of the MP36 data acquisition and analysis system (BIOPAC Systems Inc., Goleta, CA, USA). In order to improve the common mode rejection ratio (CMRR) of the measurement setup, three electrodes system was used to conduct the experiment. The Ag/AgCl electrode was adopted as the recording electrode, which was flushed with conductive gel and then attached to the frontal region of the subject’s scalp. The other two electrodes serving as a ground and a reference were attached to the earlobe and mastoid, respectively.
Three male and three female subjects aged 20 to 25 years participated in the experiment. All of the subjects were asked to refrain from psychoactive substances for at least 4 h prior to the experiments. The experimental procedures were as follows. Firstly, the subject relaxed with eyes closed for 10 min. Next, the subject opened eyes and focused on the cross symbol displayed on the computer screen. Finally, the subject kept eyes open for 60 s followed by a period with eyes closed for 60 s, and repeated this procedure 5 times. In the experiment, the real EEG signal is recorded at the sampling rate of 200 Hz. To obtain the desired segments of eyes-open and eyes-closed states, the segments lasting for 8 s were cut off from the middle of each period. Consequently, 30 segments of eyes-open state and 30 segments of eyes-closed state were obtained in total.

4.2. Adaptive Singular Spectrum Analysis for Real EEG Signal

Figure 8a,b show the obtained EEG signal and the corresponding PSD under eyes-closed condition. The PSD of the first nine reconstructed components by L = 20, 40 and 80 are illustrated in Figure 9a−c, respectively. In agreement with the simulation results, the PSD of each reconstructed component is constrained within the frequency bandwidth of f s / L , i.e., 10 Hz for L = 20, 5 Hz for L = 40 and 2.5 Hz for L = 80.
When the embedding dimension is set at L = 20, the PSD of each reconstructed component is limited to the frequency bandwidth of 10 Hz. For example, the bandwidth of RC2 is from 2 Hz to 12 Hz. Because RC2 contains the frequency features from delta, theta and alpha rhythms, it is hard to extract the alpha rhythm effectively. When the embedding dimension is set at L = 40, the PSD of each reconstructed component is limited to the frequency bandwidth of 5 Hz, which represents the frequency characteristic of alpha band well. Therefore, RC3 and RC4 effectively reflect the frequency feature of alpha rhythm. In particular, the frequency range of RC6 is from 5 Hz to 15 Hz. However, the peak value of PSD is only 0.17 μ V 2 / Hz . So, PC6 mainly reflects the feature of the noise. When the embedding dimension is set at L = 80, RC4 and RC6 suffer from the problem of component mixing. The PSD of RC4 at the frequencies of 4.1 Hz and 10.5 Hz are 3.73 and 2.13 μ V 2 / Hz , while The PSD of PC6 at the same frequencies of 4.1 Hz and 10.5 Hz are 0.42 and 3.77 μ V 2 / Hz . Therefore, RC4 and RC6 contain the frequency feature out of the alpha band. So, the alpha rhythm cannot be effectively extracted due to the component mixing as a result of large embedding dimension.
The reconstructed components containing the same frequency feature of the alpha rhythm are then grouped to calculate the alpha rhythm by the diagonal averaging step. The extracted alpha rhythms by three different embedding dimensions are shown in Figure 10a–c, while the PSD corresponding to the three embedding dimensions is shown in Figure 10d.
Figure 10d shows that strong alpha rhythms are extracted by L = 20 and 40, whose peak value of PSD are 45.40 and 40.87 μ V 2 / Hz , respectively. However, the PSD by L = 20 contains large amounts of frequency components outside the alpha band. When the embedding dimension is set at L = 80, the PSD of the extracted alpha rhythm is within the alpha band well. However, the peak PSD value of the extracted alpha rhythm is 32.02 μ V 2 / Hz , which is weaker than those by L = 20 and 40. This is caused by the problem of component mixing at a large embedding dimension. Some frequency components of the alpha rhythm are mixed together with the other reconstructed components.
The extracted alpha rhythms and corresponding PSD by different embedding dimensions under eyes-open condition are shown in Figure 11. Prior research has demonstrated that the alpha rhythm in resting state with eyes closed is much stronger than that under eyes-open condition with visual stimulation [37]. It can be seen that the extracted alpha rhythm by L = 20 and 40 under eyes-open condition is much weaker than that under eyes-closed condition. But the extracted alpha rhythm by L = 80 under eyes-open condition has significant amplitude, which does not agree with reality. It is likely because some frequency components of the artifacts or noise are mixed into the alpha rhythm by a large embedding dimension. Based on the results analysis under both eyes-open and eyes-closed conditions, the extracted alpha rhythm by L = 40 shows better performance than those by L = 20 and 80. Figure 12 shows the spectrogram of the extracted alpha rhythm, which indicates the change process of power as a function of time and frequency. It presents significant difference between the eyes-open and eyes-closed states.
The performance of the adaptive SSA is compared with the other methods: wavelet decomposition (WDec), infinite impulse response (IIR) and another recently reported SSA method (SSA#) [22]. Figure 13, Figure 14 and Figure 15 show the extracted alpha rhythms under eyes-closed and eyes-open conditions using WDec, IIR and SSA#, respectively. For comparison, the PSD of the extracted alpha rhythms by four methods under eyes-closed and eyes-open conditions are shown in Figure 16.
As can be observed in Figure 16a, under eyes-closed condition, the adaptive SSA, IIR and SSA# can extract strong alpha rhythm. However, the extracted alpha rhythm by SSA# contains the frequency components out of the alpha band, which is due to the component mixing resulting from unsatisfied decomposition. In comparison, the extracted alpha rhythm by WDec is much weaker (29.18 μ V 2 / Hz ) with large amounts of frequency components falling outside the alpha band. Figure 16b shows that, under eyes-open condition, WDec can extract significant frequency components of alpha rhythm (23.17 μ V 2 / Hz ), which is close to that under eyes-closed condition. Clearly, it is inconsistent with reality. Because IIR is unable to remove artifacts and noise from the alpha rhythm with overlapping frequency spectrum, IIR yields a similar result of strong alpha rhythm. In the contrast, the extracted alpha rhythm by the adaptive SSA has low PSD amplitude, which can reflect the eyes-open state efficiently. As can be observed in Figure 16b, the extracted alpha rhythm by SSA# is similar to that by the adaptive SSA. In comprehensive consideration of the alpha rhythm extraction under eyes-open and eyes-closed conditions, the adaptive SSA performs better than WDec, IIR and SSA#.
In order to further verify the performance of the adaptive SSA, the extracted alpha rhythm is used to distinguish between eyes-open and eyes-closed states. At the same time, the classification result by the adaptive SSA is used to compare with those by WDec, IIR and SSA#, together with autoregressive model combined with linear discriminant analysis (AR) [38].
In this study, the power ( P = V α 2 / N ) is selected as the characteristic parameter of the alpha rhythm [21], where V α represents the amplitude of the extracted alpha rhythm. Figure 17a shows the power values of the extracted alpha rhythm by the adaptive SSA. Obviously, the power values under eyes-open condition are generally lower than those under eyes-closed condition. Then the threshold value is set at 12 μ V 2 / Hz . When the power is higher than the threshold value, it is classified into the eyes-closed category. Otherwise, it is classified into the eyes-open category. Consequently, the accuracy of classification is 95.0%.
Figure 17b–d show the power values of the extracted alpha rhythms by WDec, IIR and SSA#, respectively. Similar to the results obtained by the adaptive SSA, the power values under eyes-open condition are generally lower than those under eyes-closed condition. With threshold values of 19 μ V 2 / Hz , 18 μ V 2 / Hz and 15 μ V 2 / Hz , WDec, IIR and SSA# achieve the best accuracy of classification: 88.3%, 86.7% and 91.7%, respectively. It can be seen that the threshold value by SSA# is a little greater than that by the adaptive SSA. It is likely because SSA# suffers from component mixing and therefore the extracted alpha rhythm contains the frequency components out of alpha band. The threshold values by WDec and IIR are much greater than that by the adaptive SSA. It may be because WDec and IIR cannot reduce artifacts and noise contamination that has the same frequency components as the alpha band. Figure 17e shows the classification result by AR and the threshold value is set at the probability of 0.5. When the probability is higher than the threshold value, it is classified into the eyes-closed category. Otherwise, it is classified into the eyes-open category. The accuracy of classification by AR is 90.0%. Therefore, the classification performance by the adaptive SSA is better than those by WDec, IIR, SSA# and AR. It is concluded that the adaptive SSA assisted by the embedding dimension selection method could be potentially used to distinguish between eyes-open and eyes-closed states.

5. Conclusions

In this study, a method for selecting the embedding dimension is proposed for extracting brain rhythm from EEG signal by adaptive SSA. Based on the embedding dimension selection method, the frequency bandwidth of each reconstructed component is constrained to a particular band of the brain rhythm of interest. At the same time, it avoids component mixing in the SVD step. Simulated EEG signal based on MPA EEG model and real EEG signal under eyes-open and eyes-closed conditions are used to verify the proposed method. Experimental results show that alpha rhythms can be effectively extracted by the adaptive SSA assisted by the embedding dimension selection method. The accuracy of classification between eyes-open and eyes-closed states is 95.0%, better than the corresponding values by WDec (88.3%), IIR (86.7%), SSA# (91.7%) and AR (90.0%).

Acknowledgments

This work is supported by Fund for Joint Project of Beijing.

Author Contributions

S.X. designed the signal processing algorithm and prepared the manuscript. H.H. assisted to finish the experiments. L.J. proposed the measurement method and revised the manuscript. P.W. supervised the research work and revised the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Teplan, M. Fundamentals of EEG measurement. Meas. Sci. Rev. 2002, 2, 1–11. [Google Scholar]
  2. Rowland, N.; Meile, M.J.; Nicolaidis, S. EEG alpha activity reflects attentional demands and beta activity reflects emotional and cognitive processes. Science 1985, 228, 750–752. [Google Scholar]
  3. Schacter, D.L. EEG theta waves and psychological phenomena: A review and analysis. Biol. Psychol. 1977, 5, 47–82. [Google Scholar] [CrossRef]
  4. Harmony, T.; Fernández, T.; Silva, J.; Bernal, J.; Díaz-Comas, L.; Reyes, A.; Marosi, E.; Rodríguez, M.; Rodríguez, M. EEG delta activity: An indicator of attention to internal processing during performance of mental tasks. Int. J. Psuchophysiol. 1996, 24, 161–171. [Google Scholar] [CrossRef]
  5. Delisle-Rodriguez, D.; Villa-Parra, A.; Bastos-Filho, T.; López-Delis, A.; Frizera-Neto, A.; Krishnan, S.; Rocon, E. Adaptive Spatial Filter Based on Similarity Indices to Preserve the Neural Information on EEG Signals during On-Line Processing. Sensors 2017, 17, 2725. [Google Scholar] [CrossRef] [PubMed]
  6. Liu, Y.; Li, M.; Zhang, H.; Wang, H.; Li, J.; Jia, J.; Wu, Y.; Zhang, L. A tensor-based scheme for stroke patients’ motor imagery EEG analysis in BCI-FES rehabilitation training. J. Neurosci. Methods 2014, 222, 238–249. [Google Scholar] [CrossRef] [PubMed]
  7. Mantini, D.; Perrucci, M.G.; Del Gratta, C.; Romani, G.L.; Corbetta, M. Electrophysiological signatures of resting state networks in the human brain. Proc. Natl. Acad. Sci. USA 2007, 104, 13170–13175. [Google Scholar] [CrossRef] [PubMed]
  8. Urigüen, J.A.; Garcia-Zapirain, B. EEG artifact removal—State-of-the-art and guidelines. J. Neural Eng. 2015, 12, 31001. [Google Scholar] [CrossRef] [PubMed]
  9. Feis, R.A.; Smith, S.M.; Filippini, N.; Douaud, G.; Dopper, E.G.P.; Heise, V.; Trachtenberg, A.J.; Swieten, J.C.V.; Buchem, M.A.V.; Rombouts, S.A.R.B. ICA-based artifact removal diminishes scan site differences in multi-center resting-state fMRI. Front. Neurosci. 2015, 9, 395. [Google Scholar] [CrossRef] [PubMed]
  10. Daly, I.; Nicolaou, N.; Nasuto, S.J.; Warwick, K. Automated artifact removal from the electroencephalogram: A comparative study. Clin. Eng. Neurosci. 2013, 44, 291. [Google Scholar] [CrossRef] [PubMed]
  11. Vázquez, R.R.; Vélez-Pérez, H.; Ranta, R.; Dorr, V.L.; Maquin, D.; Maillard, L. Blind source separation, wavelet denoising and discriminant analysis for EEG artefacts and noise cancelling. Biomed. Signal Process. Control 2012, 7, 389–400. [Google Scholar] [CrossRef]
  12. He, P.; Wilson, G.; Russell, C. Removal of ocular artifacts from electro-encephalogram by adaptive filtering. Med. Biol. Eng. Comput. 2004, 42, 407. [Google Scholar] [CrossRef] [PubMed]
  13. Jadhav, P.N.; Shanamugan, D.; Chourasia, A.; Ghole, A.R.; Acharyya, A.; Naik, G. Automated Detection and Correction of Eye Blink and Muscular Artefacts in EEG Signal for Analysis of Autism Spectrum Disorder. In Proceedings of the 36th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Chicago, IL, USA, 26–30 August 2014; pp. 1881–1884. [Google Scholar]
  14. Bhardwaj, S.; Jadhav, P.; Adapa, B.; Acharyya, A.; Naik, G.R. Online and automated reliable system design to remove blink and muscle artefact in EEG. In Proceedings of the 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Milan, Italy, 25–29 August 2015; pp. 6784–6787. [Google Scholar]
  15. Chai, R.; Ling, S.H.; San, P.P.; Naik, G.R.; Nguyen, T.N.; Tran, Y.; Craig, A.; Nguyen, H.T. Improving EEG-Based Driver Fatigue Classification Using Sparse-Deep Belief Networks. Front. Neurosci. 2017, 11, 103. [Google Scholar] [CrossRef] [PubMed]
  16. Golyandina, N.; Zhigljavsky, A. Singular Spectrum Analysis for Time Series; Springer: Berlin, Germany, 2013; pp. 25–32. [Google Scholar]
  17. Sanei, S.; Hassani, H. Singular Spectrum Analysis of Biomedical Signals; CRC Press: Boca Raton, FL, USA, 2015. [Google Scholar]
  18. Kuang, C.C.; Chandran, V.; Acharya, U.R.; Lim, C.M. Application of higher order statistics/spectra in biomedical signals—A review. Med. Eng. Phys. 2010, 32, 679. [Google Scholar]
  19. Maddirala, A.K.; Shaik, R.A. Motion artifact removal from single channel electroencephalogram signals using singular spectrum analysis. Biomed. Signal Process. Control 2016, 30, 79–85. [Google Scholar] [CrossRef]
  20. Maddirala, A.K.; Shaik, R.A. Removal of EOG Artifacts from single channel EEG signals using combined singular spectrum analysis and adaptive noise canceler. IEEE Sens. J. 2016, 16, 8279–8287. [Google Scholar] [CrossRef]
  21. Mohammadi, S.M.; Enshaeifar, S.; Ghavami, M.; Sanei, S. Classification of awake, REM and NREM from EEG via singular spectrum analysis. In Proceedings of the 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Milan, Italy, 25–29 August 2015; pp. 4769–4772. [Google Scholar]
  22. Mohammadi, S.M.; Kouchaki, S.; Ghavami, M.; Sanei, S. Improving time–frequency domain sleep EEG classification via singular spectrum analysis. J. Neurosci. Methods 2016, 273, 96–106. [Google Scholar] [CrossRef] [PubMed]
  23. Akar, S.A.; Kara, S.; Latifoğlu, F.; Bilgic, V. Investigation of the noise effect on fractal dimension of EEG in schizophrenia patients using wavelet and SSA-based approaches. Biomed. Signal Process. Control 2015, 18, 42–48. [Google Scholar] [CrossRef]
  24. Teixeira, A.R.; Tomé, A.M.; Lang, E.W.; Gruber, P.; Silva, A.M.D. On the use of clustering and local singular spectrum analysis to remove ocular artifacts from electroencephalograms. In Proceedings of the IEEE International Joint Conference on Neural Networks, Montreal, QC, Canada, 31 July–4 August 2005; pp. 2514–2519. [Google Scholar]
  25. Hai, H.; Guo, S.; Ran, L.; Peng, W. An adaptive singular spectrum analysis method for extracting brain rhythms of electroencephalography. PeerJ 2017, 5, e3474. [Google Scholar]
  26. Teixeira, A.R.; Tomé, A.M.; Lang, E.W.; Gruber, P.; Da Silva, A.M. Automatic removal of high-amplitude artefacts from single-channel electroencephalograms. Comput. Methods Prog. Biol. 2006, 83, 125–138. [Google Scholar] [CrossRef] [PubMed]
  27. James, C.J.; Lowe, D. Extracting multisource brain activity from a single electromagnetic channel. Artif. Intell. Med. 2003, 28, 89–104. [Google Scholar] [CrossRef]
  28. Sanei, S.; Ghodsi, M.; Hassani, H. An adaptive singular spectrum analysis approach to murmur detection from heart sounds. Med. Eng. Phys. 2011, 33, 362–367. [Google Scholar] [CrossRef] [PubMed]
  29. Golyandina, N.; Nekrutkin, V.; Zhigljavsky, A.A. Analysis of Time Series Structure: SSA and Related Techniques; Chapman & Hall CRC: Boca Raton, FL, USA, 2001; pp. 81–82. [Google Scholar]
  30. Gray, R.M. Toeplitz and circulant matrices: A review. Found. Trends® Commun. Inf. Theory 2006, 2, 155–239. [Google Scholar] [CrossRef]
  31. Yang, B.; Dong, Y.; Yu, C.; Hou, Z. Singular Spectrum Analysis Window Length Selection in Processing Capacitive Captured Biopotential Signals. IEEE Sens. J. 2016, 16, 7183–7193. [Google Scholar] [CrossRef]
  32. Pollock, D.S.G. Circulant matrices and time series analysis. Int. J. Math. Educ. Sci. Technol. 2002, 33, 213–230. [Google Scholar] [CrossRef]
  33. Bozzo, E.; Carniel, R.; Fasino, D. Relationship between Singular Spectrum Analysis and Fourier analysis: Theory and application to the monitoring of volcanic activity. Comput. Math. Appl. 2010, 60, 812–820. [Google Scholar] [CrossRef]
  34. Mahmoudvand, R.; Zokaei, M. On the singular values of the Hankel matrix with application in singular spectrum analysis. Chil. J. Stat. 2012, 3, 43–56. [Google Scholar]
  35. Bai, O.; Nakamura, M.; Nishida, S.; Ikeda, A.A.; Shibasaki, H. Markov process amplitude EEG model for spontaneous background activity. J. Clin. Neurophysiol. 2001, 18, 283–290. [Google Scholar] [CrossRef]
  36. Alnashash, H.; Alassaf, Y.; Paul, J.; Thakor, N. EEG signal modeling using adaptive Markov process amplitude. IEEE Trans. Biomed. Eng. 2004, 51, 744–751. [Google Scholar] [CrossRef] [PubMed]
  37. Zou, Q.; Long, X.; Zuo, X.; Yan, C.; Zhu, C.; Yang, Y.; Liu, D.; He, Y.; Zang, Y. Functional connectivity between the thalamus and visual cortex under eyes closed and eyes open conditions: A resting-state fMRI study. Hum. Brain Mapp. 2009, 30, 3066. [Google Scholar] [CrossRef] [PubMed]
  38. Abo-Zahhad, M.; Ahmed, S.M.; Abbas, S.N. A new multi-level approach to EEG based human authentication using eye blinking. Pattern Recogn. Lett. 2016, 82, 216–225. [Google Scholar] [CrossRef]
Figure 1. The coefficients ζ p , q for different parameters of L and p: (a) L 1 = 20; (b) L 2 = 50.
Figure 1. The coefficients ζ p , q for different parameters of L and p: (a) L 1 = 20; (b) L 2 = 50.
Sensors 18 00697 g001
Figure 2. The simulation process of the spontaneous electroencephalography (EEG) signal: (a) simulated delta, theta, alpha and beta rhythm; (b) the spontaneous EEG signal constructed by the superposition of the four rhythms.
Figure 2. The simulation process of the spontaneous electroencephalography (EEG) signal: (a) simulated delta, theta, alpha and beta rhythm; (b) the spontaneous EEG signal constructed by the superposition of the four rhythms.
Sensors 18 00697 g002
Figure 3. Power spectrum density (PSD) of the first six reconstructed components for the spontaneous EEG signal: (a) L = 40; (b) L = 80.
Figure 3. Power spectrum density (PSD) of the first six reconstructed components for the spontaneous EEG signal: (a) L = 40; (b) L = 80.
Sensors 18 00697 g003
Figure 4. ε ave corresponding to different embedding dimensions L during the alpha rhythm extraction from the spontaneous EEG signal.
Figure 4. ε ave corresponding to different embedding dimensions L during the alpha rhythm extraction from the spontaneous EEG signal.
Sensors 18 00697 g004
Figure 5. Extracting the alpha rhythm from the simulated EEG signal by different embedding dimensions L: (a) the simulated EEG signal; (b) ε ave corresponding to different embedding dimensions L.
Figure 5. Extracting the alpha rhythm from the simulated EEG signal by different embedding dimensions L: (a) the simulated EEG signal; (b) ε ave corresponding to different embedding dimensions L.
Sensors 18 00697 g005
Figure 6. PSD of the first six reconstructed components for the simulated EEG signal: (a) L = 40; (b) L = 80.
Figure 6. PSD of the first six reconstructed components for the simulated EEG signal: (a) L = 40; (b) L = 80.
Sensors 18 00697 g006aSensors 18 00697 g006b
Figure 7. Extracted alpha rhythm: (a) L = 20; (b) L = 40; (c) L = 80; (d) PSD of the extracted alpha rhythm by different embedding dimensions L, as compared with that of the simulated alpha rhythm.
Figure 7. Extracted alpha rhythm: (a) L = 20; (b) L = 40; (c) L = 80; (d) PSD of the extracted alpha rhythm by different embedding dimensions L, as compared with that of the simulated alpha rhythm.
Sensors 18 00697 g007
Figure 8. The real EEG signal and corresponding PSD under eyes-closed condition: (a) the real EEG signal under eyes-closed condition; (b) PSD of the real EEG signal under eyes-closed condition.
Figure 8. The real EEG signal and corresponding PSD under eyes-closed condition: (a) the real EEG signal under eyes-closed condition; (b) PSD of the real EEG signal under eyes-closed condition.
Sensors 18 00697 g008
Figure 9. PSD of the first nine reconstructed components of the real EEG signal: (a) L = 20; (b) L = 40; (c) L = 80.
Figure 9. PSD of the first nine reconstructed components of the real EEG signal: (a) L = 20; (b) L = 40; (c) L = 80.
Sensors 18 00697 g009aSensors 18 00697 g009b
Figure 10. Extracted alpha rhythm under eyes-closed condition: (a) L = 20; (b) L = 40; (c) L = 80; (d) PSD of the extracted alpha rhythm by different L.
Figure 10. Extracted alpha rhythm under eyes-closed condition: (a) L = 20; (b) L = 40; (c) L = 80; (d) PSD of the extracted alpha rhythm by different L.
Sensors 18 00697 g010aSensors 18 00697 g010b
Figure 11. Extracted alpha rhythm under eyes-open condition: (a) L = 20; (b) L = 40; (c) L = 80; (d) PSD of the extracted alpha rhythm by different L.
Figure 11. Extracted alpha rhythm under eyes-open condition: (a) L = 20; (b) L = 40; (c) L = 80; (d) PSD of the extracted alpha rhythm by different L.
Sensors 18 00697 g011aSensors 18 00697 g011b
Figure 12. Spectrogram of the extracted alpha rhythm under eyes-open and eye-closed conditions by L = 40.
Figure 12. Spectrogram of the extracted alpha rhythm under eyes-open and eye-closed conditions by L = 40.
Sensors 18 00697 g012
Figure 13. Extracted alpha rhythm by wavelet decomposition (WDec) under: (a) eyes-closed condition; (b) eyes-open condition.
Figure 13. Extracted alpha rhythm by wavelet decomposition (WDec) under: (a) eyes-closed condition; (b) eyes-open condition.
Sensors 18 00697 g013
Figure 14. Extracted alpha rhythm by infinite impulse response (IIR) under: (a) eyes-closed condition; (b) eyes-open condition.
Figure 14. Extracted alpha rhythm by infinite impulse response (IIR) under: (a) eyes-closed condition; (b) eyes-open condition.
Sensors 18 00697 g014
Figure 15. Extracted alpha rhythm by SSA# under: (a) eyes-closed condition; (b) eyes-open condition.
Figure 15. Extracted alpha rhythm by SSA# under: (a) eyes-closed condition; (b) eyes-open condition.
Sensors 18 00697 g015
Figure 16. PSD of the extracted alpha rhythm by four methods: (a) under eyes-closed condition; (b) under eyes-open condition.
Figure 16. PSD of the extracted alpha rhythm by four methods: (a) under eyes-closed condition; (b) under eyes-open condition.
Sensors 18 00697 g016
Figure 17. Classification results between eyes-closed and eyes-open states by: (a) adaptive SSA; (b) WDec; (c) IIR; (d) SSA#; (e) autoregressive model (AR).
Figure 17. Classification results between eyes-closed and eyes-open states by: (a) adaptive SSA; (b) WDec; (c) IIR; (d) SSA#; (e) autoregressive model (AR).
Sensors 18 00697 g017aSensors 18 00697 g017b
Table 1. Parameters of the simulated electroencephalography (EEG) signal.
Table 1. Parameters of the simulated electroencephalography (EEG) signal.
SymbolValueComment
Spontaneous EEG f 1 /Hz2.50Delta rhythm
γ 1 0.99
σ 1 ξ 2.26
f 2 /Hz6.00Theta rhythm
γ 2 0.97
σ 2 ξ 2.78
f 3 /Hz10.50Alpha rhythm
γ 3 0.99
σ 3 ξ 2.35
f 4 /Hz21.50Beta rhythm
γ 4 0.99
σ 4 ξ 0.36
Artifacts V EOG / μ V 50Amplitude of EOG
T EOG /s3Period of EOG
W EOG /s0.3Pulse width of EOG
V BD / μ V 10Amplitude of baseline drift
f BD /Hz0.5Frequency of baseline drift
Noise P n /dBW1Power of white noise

Share and Cite

MDPI and ACS Style

Xu, S.; Hu, H.; Ji, L.; Wang, P. Embedding Dimension Selection for Adaptive Singular Spectrum Analysis of EEG Signal. Sensors 2018, 18, 697. https://doi.org/10.3390/s18030697

AMA Style

Xu S, Hu H, Ji L, Wang P. Embedding Dimension Selection for Adaptive Singular Spectrum Analysis of EEG Signal. Sensors. 2018; 18(3):697. https://doi.org/10.3390/s18030697

Chicago/Turabian Style

Xu, Shanzhi, Hai Hu, Linhong Ji, and Peng Wang. 2018. "Embedding Dimension Selection for Adaptive Singular Spectrum Analysis of EEG Signal" Sensors 18, no. 3: 697. https://doi.org/10.3390/s18030697

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop