• No results found

B) Reflexive

3.4 BLIND SOURCE SEPARATION

3.4.4 Empirical Mode Decomposition

EMD is a data-driven mathematical process developed by N. E. Huang et al. [77] in 1998, making it a relatively โ€œyoungโ€ method. It shares some similarities with SWT in that it splits a signal into a group of time-frequency components except that EMD is purely data-driven instead of making any assumptions about the data, making it more adaptive to the signal it is applied to as it has to learn the different properties from the data themselves. It is also completely objective as it does not require the selection of a mother wavelet like the WT or any other choices by the user to inform its outputs.

EMD applies an iterative sifting process to a signal in order to decompose it into a group of Intrinsic Mode Functions (IMFs) and residual noise, depicted in Figure 3.3 [77]. An IMF is defined as a signal that is symmetrical with respect to the amplitude and has at least two extrema, i.e. it is comprised completely of sinusoids. EMD can be applied to any non-linear and non-stationary signal as its decomposition is based on the local characteristic time scale of the data, allowing it to be used in many different fields, from analysing mortgage rate data [78] to characterising non-linear water waves [79]. It functions by subtracting the mean envelope of the signal repeatedly until it produces a signal with symmetrical

oscillations. This is stored as an IMF and the envelope subtraction continues until no peaks or troughs are left, leaving the remainder of the signal to be classified as residual noise.

Fig. 3.3: A decomposed channel from a single trial of a BCI MI experiment, with the stimulus cue appearing at 4.1 seconds. The IMFs are sorted by frequency in a descending order until only the residual noise is left. Should all the IMFs and noise be summed together they will reform the original signal. This process is useful for extracting features from a signal that are

composed of a narrow range of frequencies, such as MIโ€™s rhythmic 8-13Hz ยต-rhythm.

A signal decomposed by EMD can be defined as

๐‘ฅ(๐‘ก) = โˆ‘ ๐‘๐‘—+ ๐‘Ÿ๐‘› ๐‘›

๐‘—=1

, (3.15)

where ๐‘๐‘— is the jth IMF, ๐‘Ÿ๐‘› is the residual and ๐‘ฅ(๐‘ก) is the original signal. IMFs are obtained by

applying an iterative sifting process using the following steps to the signal, ๐‘ฅ(๐‘ก):

1. Identify the maxima and minima of the signal.

2. Interpolate between the maxima and minima to create upper and lower envelopes.

3. Calculate the mean between the two envelopes, ๐‘š(๐‘ก).

4. Subtract the mean from the signal to get an IMF candidate, ๐‘ฅ๐‘›+1(๐‘ก) = ๐‘ฅ๐‘›(๐‘ก) โˆ’

๐‘š(๐‘ก).

6. If ๐‘ฅ๐‘›+1(๐‘ก)is an IMF then store the IMF and return to step 1.) with the signal

๐‘ฅ(๐‘ก) = ๐‘ฅ๐‘›(๐‘ก) โˆ’ ๐‘ฅ๐‘›+1(๐‘ก), else discard and return to step 1.) with the signal

๐‘ฅ(๐‘ก) = ๐‘ฅ๐‘›(๐‘ก) โˆ’ ๐‘ฅ๐‘›+1(๐‘ก).

7. When there are less than two extrema left in the signal the remaining data are classified as the residual.

These IMFs give us the ability to localise any signal event by time, frequency, and

morphology, compared to just frequency in an FFT or frequency and time in a spectrogram.

Diez et al. 2009 [80] applied EMD to the same mental task dataset Kottaimalai et al. 2013 [66] used in their study on PCA and ANNs. Diez et al. 2009 [80] found that EMD performed well with classification accuracies ranging from 80.9% to 97.4%. Wei et al. 2009 [81] applied EMD to a binary-class MI dataset consisting of four subjects. The tasks were performed un-cued, meaning there were no delineated trials, making it more similar to the EEG signals that would be produced in a practical setting. IMFs with frequency content within a range of 6 โ€“ 30 Hz were selected, and an average classification accuracy of 85.9% was reported.

Williams et al. 2009 [82] applied EMD to a dataset of artificial EEG signals. A 1000 trial dataset consisting of synthetic P300 evoked potentials mixed with simulated EEG signals at different SNR levels was constructed. The two lowest frequency IMFs were always chosen and summed to form the processed signal. At every SNR level the classifier combined with EMD outperformed the classifier on its own. It may have performed better if IMFs were not chosen based on their numerical index when sorted by frequency, as the number of IMFs produced by EMD varies depending on the signal content. This is because the more content a signal has the more unique components there are to be separated into IMFs. For

frequency could be interpreted as its own unique IMF instead of part of an IMF of similar frequency. Whilst artefact removal is an application of EMD, it can lead to a higher number of IMFs being produced which is why using the absolute indexes of IMFs to select them is not preferable.

He et al. 2012 [83] applied EMD and CSPs to a pre-recorded binary-class MI BCI dataset consisting of five subjects performing 200 trials each. Again, the IMFs were selected by their index, with IMF 1, IMF 2, IMFs 1 and 2 summed together, and IMFs 1, 2, and 3 summed together evaluated. Classifiers using individual IMFs had the lowest performance with approximately 70% classification accuracy. CSPs achieved a classification accuracy of 79.2% but the summed IMFs both produced a performance of 82% classification accuracy. This is a negligible difference between the two methods, but it does show EMD is

applicable in the processing of MI EEG signals.

Wu et al. 2011 [84] used EMD to extract SSVEPs in a BCI. They constructed a six-class SSVEP control system that used icons flashing on a screen at the frequencies of 30, 31, 32, 33, 34, and 35 Hz to control a mouse cursor. Five subjects each attempted to perform a sequence of commands, totalling 20 commands altogether. The percentage of correct commands out of total commands executed varied from 77% to 95%, with an average of 84.6%. The average time to complete the sequence was 66.5 seconds, giving an average of 37 commands per minute. This is a relatively high performance for a BCI. As SSEPs in general are sinusoids of a constant frequency they match the properties of an IMF precisely, meaning EMD is very robust at separating them from a mix of signal sources.