A single target SSVEP recognition system and method based on data extension
Through the maximum whole period data extension method, the problems of signal length dependence and noise interference in SSVEP feature recognition are solved, the signal-to-noise ratio and information transmission rate are improved, and high-accuracy recognition results are achieved.
Patent Information
- Application Number
- CN202210899411.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-28
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2042-07-28
AI Technical Summary
The existing SSVEP feature recognition method is highly dependent on signal length, making it difficult to improve the information transmission rate. Moreover, the EEG signal is susceptible to noise interference, making it difficult to improve the signal-to-noise ratio.
The maximum integer period data extension method is used to increase the length of the EEG signal. By calculating the maximum integer period number of a single target frequency, the low-frequency EEG signal is extended to interrupt the rhythm of non-target frequencies and improve the signal-to-noise ratio of the signal characteristics.
It effectively improves the accuracy and information transmission rate of SSVEP feature recognition, significantly suppresses noise, enhances the signal-to-noise ratio, and simplifies system operation.
Smart Images

Figure CN115192044B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of biomedical engineering and brain-computer interface technology, and in particular to a single-target SSVEP recognition system and method based on data extension. Background Art
[0002] Brain-computer interface (BCI) is a technology that does not rely on human neuromuscular channels and can achieve direct information exchange between the brain and external devices. It has made rapid progress in the past decade, and has developed systems such as brain-controlled prostheses, brain-controlled spelling, brain-controlled wheelchairs, and brain-controlled drones. Steady-state visual evoked potentials (SSVEP), as a type of visual evoked potential, are widely used in various brain-computer interface systems due to their characteristics of no need for training, high signal-to-noise ratio, and good robustness. In brain-computer interface systems, neural decoding is a crucial link, and feature extraction has always been a hot topic of research and is favored by researchers at home and abroad.
[0003] In recent years, the feature extraction methods of SSVEP have developed rapidly. The most widely used are canonical correlation analysis (CCA) and its extensions. CCA is a statistical analysis method that calculates the maximum correlation coefficient between two sets of multidimensional data. Its essence is a spatial filter that reduces the dimension of multidimensional data to maximize its correlation. The filter bank canonical correlation analysis method (FBCCA) uses harmonic signals to enhance the SSVEP features. Multi-set CCA (MsetCCA) optimizes the CCA reference template based on the training set to improve the feature extraction ability. However, EEG signals are nonlinear and non-stationary signals. The use of linear methods to extract the features of EEG signals is subject to many limitations. In recent years, nonlinear methods have also been developed. The steady-state visual evoked potential recognition method based on the principle of chaos detection uses the characteristics that weak periodic signals can transform chaotic systems from critical states to large-scale periodic states to detect weak periodic EEG signals.
[0004] However, both statistical analysis methods and nonlinear methods based on chaos theory have a strong dependence on signal length. Longer signals are more conducive to extracting useful features and improving the signal-to-noise ratio. Although increasing the signal length is conducive to improving the accuracy of classification, it is not conducive to improving the information transmission rate and the application of online brain-computer interface systems. Secondly, EEG signals are very weak and easily coupled with noise. How to suppress noise and improve the signal-to-noise ratio is also an urgent problem to be solved in the current field. The data extension method is widely used in the field of fault diagnosis to solve the endpoint effect of empirical mode decomposition, but there is no literature on the single-target steady-state visual evoked potential feature enhancement method based on the maximum full-cycle data extension. Summary of the invention
[0005] In order to overcome the shortcomings of the above-mentioned prior art, the purpose of the present invention is to provide a single-target SSVEP recognition system and method based on data extension. By using the data extension method, the length of the EEG signal is increased, and the maximum whole cycle extension method is used to ensure the rhythm of the useful signal and interrupt the rhythm of the non-target frequency, thereby improving the signal-to-noise ratio, enhancing the signal characteristics, and improving the target recognition accuracy.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] A single target SSVEP recognition system based on data extension, comprising:
[0008] Signal acquisition module: 6 measurement electrodes are arranged in the occipital area of the user's head: Oz, O1, O2, PO1, PO3, PO4, a reference electrode is arranged on the earlobe of one side, and a ground electrode Gnd is arranged at the forehead Fpz, and EEG signals are collected through EEG acquisition equipment;
[0009] Signal preprocessing module: preprocess the EEG signals collected by the signal acquisition module, first normalize and zero-mean the EEG signals, and then use the Butterworth filter to extract low-frequency EEG signals;
[0010] Data extension module: by calculating the maximum number of whole cycles of a single target frequency in the EEG signal, the maximum whole cycle data extension is performed on the low-frequency EEG signal to obtain the extended EEG signal;
[0011] Feature recognition module: Use the canonical correlation analysis algorithm (CCA) to complete feature extraction and classification of the extended EEG signal processed by the data extension module.
[0012] The data extension module firstly calculates the single target visual stimulus frequency f target , sampling frequency Fs and sampling time t to calculate the maximum number of complete cycles contained in the collected EEG signal n = floor (f target*t), where floor means rounding down; then calculate the length of the maximum complete cycle in the EEG signal Length = round (Fs / f target *n), where round represents rounding; then, starting from the end of the low-frequency EEG signal processed by the signal preprocessing module, the signal of length Length is taken forward, and it is concatenated with the preprocessed low-frequency EEG signal to form an extended EEG signal.
[0013] The feature recognition module uses a canonical correlation analysis algorithm (CCA) to calculate the maximum correlation coefficient between the extended EEG signal processed by the data extension module and the sine and cosine templates of each frequency, and finally uses the most significant feature as the final recognition feature.
[0014] A single target SSVEP recognition method based on data extension using the above system includes the following steps:
[0015] Step 1: The signal acquisition module collects EEG signals:
[0016] 1.1) Arrange 6 measuring electrodes on the occipital area of the user's head: Oz, O1, O2, PO1, PO3, PO4, arrange a reference electrode on one earlobe, and arrange a ground electrode Gnd on the forehead Fpz;
[0017] 1.2) presenting a visual stimulation paradigm, which stimulates the human visual system and induces SSVEP response in the occipital area of the human brain. The visual stimulation paradigm is a light flash, a flipped grating, a checkerboard or a motion stimulation paradigm, etc., and only one stimulus is displayed on the monitor at a time;
[0018] 1.3) The EEG acquisition device collects EEG signals while presenting the visual stimulation paradigm;
[0019] Step 2: The preprocessing module performs EEG signal preprocessing: first, the EEG signal is normalized and zero-mean processed, and then the EEG signal is filtered to 5-30 Hz (adjusted according to the stimulation frequency range) using a Butterworth bandpass filter to extract the low-frequency EEG signal;
[0020] Step 3: The data extension module extends the EEG signal: First, according to the single target visual stimulation frequency f target , sampling frequency Fs and sampling time t to calculate the maximum number of complete cycles contained in the collected EEG signal n = floor (f target *t), where floor means rounding down; then calculate the length of the maximum complete cycle in the EEG signal Length = round (Fs / f target*n), where round represents rounding to the nearest integer; then, a signal of length Length is taken from the end of the low-frequency EEG signal processed by the preprocessing module, and is concatenated with the preprocessed low-frequency EEG signal to form a new extended EEG signal;
[0021] Step 4: The feature recognition module identifies the extended EEG signal after data extension: the canonical correlation analysis algorithm (CCA) is used to calculate the maximum correlation coefficient between the extended EEG signal processed by the data extension module and the sine and cosine templates of each frequency, and finally the most significant feature is used as the final feature recognition result.
[0022] The beneficial effects of the present invention are:
[0023] In view of the problems that the existing SSVEP feature recognition methods are highly dependent on signal length, short data and high recognition accuracy cannot be achieved at the same time, it is difficult to improve the information transmission rate of the BCI system, the weak EEG signal is easily interfered by noise, and it is difficult to suppress noise and improve the signal-to-noise ratio, the present invention proposes a single-target steady-state visual evoked potential recognition system and method based on maximum whole cycle data extension, which provides a new method and new idea for improving the information transmission rate, suppressing noise and improving the signal-to-noise ratio, and has the following advantages:
[0024] (1) By using the method of data extension, the length of EEG signals is increased to solve the limitation of signal length on SSVEP feature recognition algorithm.
[0025] (2) By using the data extension method of the maximum whole cycle, the rhythm of the target features is maintained while the rhythm of the non-target features is interrupted, the noise is suppressed, and the signal-to-noise ratio and recognition accuracy are improved.
[0026] (3) High recognition accuracy is achieved by using short data, which significantly improves the information transmission rate of the BCI system.
[0027] (4) This method is simple to implement, easy to operate, and convenient to deploy and use in various SSVEP-based single-target BCI systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 The following is a block diagram of a system and method according to an embodiment of the present invention.
[0029] Figure 2 This is a SSVEP signal acquisition diagram of an embodiment of the present invention.
[0030] Figure 3 It is an illustration diagram of an embodiment of the present invention based on the extension of maximum integer cycle data; (a) is the original signal, (b) is the signal after the maximum integer cycle data is extended, wherein the solid line represents the useful signal, and the dotted line represents the noise.
[0031] Figure 4It is a comparison chart of CCA correlation coefficient spectra before and after data extension in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0033] Reference Figure 1 , a single target SSVEP recognition system based on data extension, including:
[0034] Signal acquisition module: 6 measurement electrodes are arranged in the occipital area of the user's head: Oz, O1, O2, PO1, PO3, PO4, a reference electrode is arranged on the earlobe of one side, and a ground electrode Gnd is arranged at the forehead Fpz, and EEG signals are collected through EEG acquisition equipment;
[0035] Signal preprocessing module: preprocess the EEG signals collected by the signal acquisition module, first normalize and zero-mean the EEG signals, and then use the Butterworth filter to extract low-frequency EEG signals;
[0036] Data extension module: by calculating the maximum number of whole cycles of a single target frequency in the EEG signal, the maximum whole cycle data extension is performed on the low-frequency EEG signal to obtain the extended EEG signal;
[0037] The data extension module first calculates the frequency of the single-target visual stimulus f target , sampling frequency Fs and sampling time t to calculate the maximum number of complete cycles contained in the collected EEG signal n = floor (f target *t), where floor means rounding down; then calculate the length of the maximum complete cycle in the EEG signal Length = round (Fs / f target *n), where round represents rounding; then, starting from the end of the low-frequency EEG signal processed by the signal preprocessing module, take the signal of length Length forward, splice it with the preprocessed low-frequency EEG signal and form the extended EEG signal; the simplified mathematical expression is as follows:
[0038] X = X1 + X2;
[0039] X1=sin(2πf target t), 0 <t≤nT+t1,(t1<T);
[0040] X2=sin(2πf noise t),0 <t≤nT+t1,(t1<T);
[0041] X10=X11+X21;
[0042] X11=sin(2πf targett), 0 <t≤2nT+t1,(t1<T);
[0043]
[0044] Where X represents the original EEG signal; X1 represents the useful EEG signal (target feature); X2 represents noise; t represents time; T represents the frequency of single target visual stimulation f target cycle; t1 represents the time less than one cycle; f noise represents the non-target frequency, i.e., the noise frequency; X10 represents the extended EEG signal after the maximum full cycle data is extended; X11 represents the extended EEG useful signal after the maximum full cycle data is extended; X21 represents the noise after the maximum full cycle data is extended; t2 represents the time;
[0045] The extended EEG signal after the extension of the above maximum full cycle data maintains the rhythm of the target feature and interrupts the rhythm of the non-target frequency. The CCA correlation spectrum shows that the CCA correlation coefficient value at the target frequency remains unchanged, while the CCA correlation coefficient values at other frequencies decrease.
[0046] Feature recognition module: Use the canonical correlation analysis algorithm (CCA) to complete feature extraction and classification of the extended EEG signals processed by the data extension module;
[0047] The feature recognition module uses the canonical correlation analysis algorithm (CCA) to calculate the maximum correlation coefficient between the extended EEG signal processed by the data extension module and the sine and cosine templates of each frequency, and finally takes the most significant feature as the final recognition feature.
[0048] Reference Figure 1 , a single target SSVEP recognition method based on data extension using the above system includes the following steps:
[0049] Step 1: The signal acquisition module collects EEG signals:
[0050] 1.1) Arrange 6 measuring electrodes on the occipital area of the user's head: Oz, O1, O2, PO1, PO3, PO4, arrange a reference electrode on one earlobe, and arrange a ground electrode Gnd on the forehead Fpz;
[0051] 1.2) Reference Figure 2 , presenting a visual stimulation paradigm, the visual stimulation paradigm stimulates the human visual system and induces SSVEP response in the occipital area of the human brain, the visual stimulation paradigm can be a light flash, grating, checkerboard or motion stimulation paradigm, etc., and only one stimulus is displayed on the monitor at a time;
[0052] 1.3) The EEG acquisition device collects EEG signals while presenting the visual stimulation paradigm;
[0053] Step 2: The preprocessing module performs EEG signal preprocessing: first, the signal is normalized and zero-mean processed, and then the EEG signal is filtered to 5-30 Hz (adjusted according to the stimulation frequency range) using a Butterworth bandpass filter.
[0054] Step 3: The data extension module extends the EEG signal: First, according to the single target visual stimulation frequency f target , sampling frequency Fs and sampling time t calculate the maximum number of complete cycles contained in the EEG signal n = floor (f target *t), where floor means rounding down; then calculate the length of the maximum complete cycle in the EEG signal Length = round (Fs / f target *n), where round represents rounding; then, the signal of length Length is taken from the end of the low-frequency EEG signal processed by the signal preprocessing module, and is concatenated with the preprocessed low-frequency EEG signal to form a new extended EEG signal, such as Figure 3 As shown;
[0055] Step 4: The feature recognition module identifies the extended EEG signal after data extension: the canonical correlation analysis algorithm (CCA) is used to calculate the maximum correlation coefficient between the extended EEG signal processed by the data extension module and the sine and cosine templates of each frequency, and finally the most significant feature is used as the final feature recognition result.
[0056] To verify the feasibility of the method proposed in the present invention, data from 35 subjects (male to female ratio of 4:3) were collected in this implementation case. The age distribution was 20 to 27 years old and all had normal or corrected-to-normal vision. The stimulation paradigm was light flashing. Each subject conducted 6 rounds of experiments. The target frequency of each round of experiments was 8-15.8 Hz, with an interval of 0.2 Hz, for a total of 40 target frequencies. Before each visual stimulation, a 1-second cursor and a language reminder would appear in the center of the screen, followed by a 5-second visual stimulation, with a 5-second rest between every two visual stimulations.
[0057] Before data processing, the 0.25 s data in the transition phase after the start of the experiment was removed, that is, the remaining 4.75 s data were used for data processing.
[0058] Table 1 Average recognition accuracy and information transmission rate of different data lengths
[0059]
[0060] After the maximum full-cycle data extension processing, the accuracy of CCA feature recognition is significantly improved, and the information transmission rate is improved, especially for short data signals. Figure 4 , Figure 4The figure shows the changes in the CCA correlation coefficient spectrum before and after data extension. The solid line is the CCA spectrum after extension and the dotted line is the CCA spectrum before extension. It can be clearly seen that at the target frequency of 9Hz, the CCA correlation coefficient remains unchanged, and at other frequencies the CCA correlation coefficient decreases. This method effectively suppresses noise and improves the signal-to-noise ratio.
Claims
1. A single-target SSVEP recognition system based on data extension, It is characterized in that Include: Signal acquisition module: 6 measurement electrodes are arranged in the occipital area of the user's head: Oz, O1, O2, PO1, PO3, PO4, a reference electrode is arranged on the earlobe of one side, and a ground electrode Gnd is arranged at the forehead Fpz, and EEG signals are collected through EEG acquisition equipment; Signal preprocessing module: preprocess the EEG signals collected by the signal acquisition module, first normalize and zero-mean the EEG signals, and then use the Butterworth filter to extract low-frequency EEG signals; Data extension module: by calculating the maximum number of whole cycles of a single target frequency in the EEG signal, the maximum whole cycle data extension is performed on the low-frequency EEG signal to obtain the extended EEG signal; Feature recognition module: Use the canonical correlation analysis algorithm (CCA) to complete feature extraction and classification of the extended EEG signals processed by the data extension module; The data extension module firstly calculates the single target visual stimulus frequency f target , sampling frequency Fs and sampling time t to calculate the maximum number of complete cycles contained in the collected EEG signal n = floor (f target *t), where floor means rounding down; Then calculate the length of the maximum complete cycle in the EEG signal Length = round (Fs / f target *n), where round represents rounding to the nearest integer; then, starting from the end of the low-frequency EEG signal processed by the signal preprocessing module, take the signal of length Length forward, splice it with the preprocessed low-frequency EEG signal and form an extended EEG signal; The feature recognition module uses a canonical correlation analysis algorithm (CCA) to calculate the maximum correlation coefficient between the extended EEG signal processed by the data extension module and the sine and cosine templates of each frequency, and finally uses the most significant feature as the final recognition feature.
2. A single target SSVEP recognition method based on data extension using the system of claim 1, It is characterized in that The following steps are involved: Step 1: The signal acquisition module collects EEG signals: 1.1) Arrange 6 measuring electrodes on the occipital area of the user's head: Oz, O1, O2, PO1, PO3, PO4, arrange a reference electrode on one earlobe, and arrange a ground electrode Gnd on the forehead Fpz; 1.2) presenting a visual stimulation paradigm, which stimulates the human visual system and induces SSVEP response in the occipital area of the human brain. The visual stimulation paradigm is a light flash, a flipped grating, a checkerboard or a motion stimulation paradigm, etc., and only one stimulus is displayed on the monitor at a time; 1.3) The EEG acquisition device collects EEG signals while presenting the visual stimulation paradigm; Step 2: The preprocessing module performs EEG signal preprocessing: first, the EEG signal is normalized and zero-mean processed, and then the EEG signal is filtered to 5-30Hz using a Butterworth bandpass filter, and adjusted according to the stimulation frequency range to extract low-frequency EEG signals; Step 3: The data extension module extends the EEG signal: First, according to the single target visual stimulus frequency f target , sampling frequency Fs and sampling time t to calculate the maximum number of complete cycles contained in the collected EEG signal n = floor (f target *t), where floor means rounding down; Then calculate the length of the maximum complete cycle in the EEG signal Length = round (Fs / f target *n), where round means rounding to the nearest integer; Then, a signal of length Length is taken from the end of the low-frequency EEG signal processed by the preprocessing module, and is concatenated with the preprocessed low-frequency EEG signal to form a new extended EEG signal; Step 4: The feature recognition module identifies the extended EEG signal after data extension: the canonical correlation analysis algorithm (CCA) is used to calculate the maximum correlation coefficient between the extended EEG signal processed by the data extension module and the sine and cosine templates of each frequency, and finally the most significant feature is used as the final feature recognition result.
