Electroencephalogram signal feature extraction method based on ITD modal parameter identification

文档序号:99092 发布日期:2021-10-15 浏览:37次 中文

阅读说明:本技术 一种基于itd模态参数识别的脑电信号特征提取方法 (Electroencephalogram signal feature extraction method based on ITD modal parameter identification ) 是由 杨怀花 叶庆卫 于 2021-06-08 设计创作,主要内容包括:本发明公开了一种基于ITD模态参数识别的脑电信号特征提取方法,其根据脑电信号中的δ波节律信号、θ波节律信号、α波节律信号、β波节律信号各自的频率范围,设计各自对应的有限脉冲响应带通滤波器,再利用各自对应的有限脉冲响应带通滤波器对脑电信号进行滤波处理,提取得到δ波节律信号、θ波节律信号、α波节律信号、β波节律信号;对四个节律信号分别进行ITD模态参数识别,提取得到各自的四个ITD模态参数,进而得到四个节律信号各自的特征向量;将四个节律信号的特征向量构成脑电信号的特征向量;优点是其能够从运动想象的脑电信号中提取出有效的特征,从而能够极大地提高后续特征分类的正确率。(The invention discloses an electroencephalogram signal characteristic extraction method based on ITD modal parameter identification, which comprises the steps of designing respective corresponding finite impulse response band-pass filters according to respective frequency ranges of a delta nodal signal, a theta nodal signal, an alpha nodal signal and a beta nodal signal in an electroencephalogram signal, then carrying out filtering processing on the electroencephalogram signal by using the respective corresponding finite impulse response band-pass filters, and extracting to obtain the delta nodal signal, the theta nodal signal, the alpha nodal signal and the beta nodal signal; respectively carrying out ITD modal parameter identification on the four rhythm signals, extracting to obtain four respective ITD modal parameters, and further obtaining respective characteristic vectors of the four rhythm signals; forming feature vectors of the four rhythm signals into feature vectors of the electroencephalogram signals; the method has the advantages that effective features can be extracted from the electroencephalogram signals of the motor imagery, so that the accuracy of subsequent feature classification can be greatly improved.)

1. An EEG signal feature extraction method based on ITD modal parameter identification is characterized by comprising the following steps:

step 1: randomly acquiring an electroencephalogram signal in one channel at one time according to a given sampling frequency; then, the electroencephalogram signals are expressed in a vector form and are marked as Y, Y ═ Y1…yn…yN](ii) a The given sampling frequency is F hertz, the dimension of Y is 1 XN, each element in Y is a sample value, N represents the total number of sample values in Y, N is not less than 5, N is F X t, t represents the acquisition time for acquiring one electroencephalogram signal of one channel, the unit of t is second, N is a positive integer, the initial value of N is 1, N is not less than 1 and not more than N, Y is a positive integer, N is a positive integer, the number of the sampling frequency is larger than 1X, the number of the sampling frequency is larger than N, each element in Y is one, the number of the sampling frequency is one, N represents the total number of the sampling values in Y, N is not less than 5, N is larger than 1, N is not less than F X, t represents the acquisition time for acquiring one electroencephalogram signal of one channel, the electroencephalogram signal, the unit of one channel, the unit of second, N is a unit, N is a positive integer, N is larger than 1, N is larger than N, N is larger than N, N is larger than N1Represents the 1 st sample value in Y, YnRepresenting the n-th sample value in Y, YNDenotes the Nth sample value in Y, the symbol "[ alpha ]]"is a symbol representing a vector or matrix;

step 2: designing respective corresponding finite impulse response band-pass filters according to respective frequency ranges of a delta wave pitch signal, a theta wave pitch signal, an alpha wave pitch signal and a beta wave pitch signal in the electroencephalogram signals; then, respectively filtering Y by utilizing finite impulse response band-pass filters corresponding to delta wave pitch signals, theta wave pitch signals, alpha wave pitch signals and beta wave pitch signals in the electroencephalogram signals, correspondingly extracting the delta wave pitch signals, the theta wave pitch signals, the alpha wave pitch signals and the beta wave pitch signals in the Y, and correspondingly expressing the delta wave pitch signals, the theta wave pitch signals, the alpha wave pitch signals and the beta wave pitch signals in the Y in a vector form as Yδ、Yθ、Yα、Yβ,Yδ=[yδ,1…yδ,n…yδ,N],Yθ=[yθ,1…yθ,n…yθ,N],Yα=[yα,1…yα,n…yα,N],Yβ=[yβ,1…yβ,n…yβ,N](ii) a Wherein the frequency range of delta nodal signals in the electroencephalogram signals is 0.78-3.90 Hz, the frequency range of theta nodal signals in the electroencephalogram signals is 3.91-7.80 Hz, the frequency range of alpha nodal signals in the electroencephalogram signals is 7.81-13.28 Hz, the frequency range of beta nodal signals in the electroencephalogram signals is 13.29-30.47 Hz, and the frequency range of Y nodal signals in the electroencephalogram signals is 13.29-30.47 Hzδ、Yθ、Yα、YβAre all of dimensions1×N,YδIs a sample value, yδ,1Represents Yδ1 st sample value of (1), yδ,nRepresents YδN-th sample value of (1), yδ,NRepresents YδSample value of Nth, YθIs a sample value, yθ,1Represents Yθ1 st sample value of (1), yθ,nRepresents YθN-th sample value of (1), yθ,NRepresents YθSample value of Nth, YαIs a sample value, yα,1Represents Yα1 st sample value of (1), yα,nRepresents YαN-th sample value of (1), yα,NRepresents YαSample value of Nth, YβIs a sample value, yβ,1Represents Yβ1 st sample value of (1), yβ,nRepresents YβN-th sample value of (1), yβ,NRepresents YβThe nth sample value;

and step 3: for YδIdentifying ITD modal parameters, and extracting to obtain YδFour ITD mode parameters of, will YδThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YδFeature vector of (1), denoted feaδ(ii) a In the same way for YθIdentifying ITD modal parameters, and extracting to obtain YθFour ITD mode parameters of, will YθThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YθFeature vector of (1), denoted feaθ(ii) a In the same way for YαIdentifying ITD modal parameters, and extracting to obtain YαFour ITD mode parameters of, will YαThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YαFeature vector of (1), denoted feaα(ii) a In the same way for YβIdentifying ITD modal parameters, and extracting to obtain YβFour ITD mode parameters of, will YβThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YβFeature vector of (1), denoted feaβ(ii) a Wherein feaδ、feaθ、feaα、feaβThe dimensions of (A) are all 1 × 4;

and 4, step 4: will feaδ、feaθ、feaα、feaβThe vector formed by arranging the sequences is taken as a feature vector of Y and is denoted as fea, fea ═ feaδ feaθ feaα feaβ](ii) a Wherein the dimension of fea is 1 × 16.

2. The electroencephalogram signal feature extraction method based on ITD modal parameter identification according to claim 1, characterized in that the specific process of the step 2 is as follows:

according to the frequency range of a delta-wave pitch signal in an electroencephalogram signal, designing a first finite impulse response band-pass filter, wherein the first finite impulse response band-pass filter is recorded as H1, the sampling frequency of H1 is F Hz, the order of H1 is 10, the upper edge frequency of a stop band of H1 is 0.7 Hz, the lower edge frequency of the stop band is 4 Hz, the upper edge frequency of a pass band is 0.8 Hz, and the lower edge frequency of the pass band is 3.5 Hz; then, H1 is used for carrying out filtering processing on Y, and delta wave pitch signals in Y are extracted;

similarly, according to the frequency range of a theta-wave pitch signal in the electroencephalogram signal, designing a second finite impulse response band-pass filter, which is recorded as H2, wherein the sampling frequency of H2 is F Hz, the order of H2 is 10, the upper edge frequency of a stop band of H2 is 3.9 Hz, the lower edge frequency of the stop band is 8 Hz, the upper edge frequency of a pass band is 4 Hz, and the lower edge frequency of the pass band is 7.5 Hz; then, filtering Y by using H2, and extracting to obtain a theta node law signal in Y;

according to the frequency range of alpha-nodal signals in the electroencephalogram signals, a third finite impulse response band-pass filter is designed and recorded as H3, the sampling frequency of H3 is F Hz, the order of H3 is 10, the upper edge frequency of a stop band of H3 is 7.8 Hz, the lower edge frequency of the stop band is 13 Hz, the upper edge frequency of a pass band is 7.9 Hz, and the lower edge frequency of the pass band is 12 Hz; then, filtering Y by using H3, and extracting to obtain an alpha wave pitch signal in Y;

designing a fourth finite impulse response band-pass filter according to the frequency range of beta-nodal signals in the electroencephalogram signals, wherein the fourth finite impulse response band-pass filter is recorded as H4, the sampling frequency of H4 is F Hz, the order of H4 is 10, the upper edge frequency of a stop band of H4 is 13 Hz, the lower edge frequency of the stop band is 31 Hz, the upper edge frequency of a pass band is 14 Hz, and the lower edge frequency of the pass band is 30 Hz; and then, filtering Y by using H4 to extract and obtain a beta wave law signal in Y.

3. The EEG signal feature extraction method based on ITD modal parameter identification according to claim 1 or 2, characterized in that in step 3, feaδThe acquisition process comprises the following steps:

step 3_ 1: will Yδ=[yδ,1…yδ,n…yδ,N]The discrete signal is regarded as a free response vibration signal for Yδ=[yδ,1…yδ,n…yδ,N]Carrying out normal sampling, d-delay sampling and 2 d-delay sampling in sequence to obtain a normal sampling free response data vector, a d-delay sampling free response data vector and a 2 d-delay sampling free response data vector in sequence, and correspondingly marking as Xnor、Xdel_1、Xdel_2,Xnor=[yδ,1…yδ,n…yδ,m],Xdel_1=[yδ,d+1…yδ,d+n…yδ,d+m],Xdel_2=[yδ,2d+1…yδ,2d+n…yδ,2d+m](ii) a Then X is put innor=[yδ,1…yδ,n…yδ,m]Re-expressed as Xnor=[xnor,1…xnor,n…xnor,m]Is mixing Xdel_1=[yδ,d+1…yδ,d+n…yδ,d+m]Re-expressed as Xdel_1=[xdel_1,1…xdel_1,n…xdel_1,m]Is mixing Xdel_2=[yδ,2d+1…yδ,2d+n…yδ,2d+m]Re-expressed as Xdel_2=[xdel_2,1…xdel_2,n…xdel_2,m](ii) a Wherein d is a positive integer, d represents a sampling interval,m is a positive integer, m represents Xnor、Xdel_1、Xdel_2M is more than or equal to 1 and less than or equal to N-2d, Xnor、Xdel_1、Xdel_2All dimensions of (a) are 1 xm, yδ,m、yδ,d+1、yδ,d+n、yδ,d+m、yδ,2d+1、yδ,2d+n、yδ,2d+mCorresponds to and represents YδM-th, d + 1-th, d + n-th, d + m-th, 2d + 1-th, 2d + n-th, 2d + m-th sample values, xnor,1、xnor,n、xnor,mCorresponds to Xnor1 st element, nth element, mth element, xdel_1,1、xdel_1,n、xdel_1,mCorresponds to Xdel_11 st element, nth element, mth element, xdel_2,1、xdel_2,n、xdel_2,mCorresponds to Xdel_2The 1 st element, the nth element, the mth element in (a);

step 3_ 2: according to XnorAnd Xdel_1Constructing a first augmented matrix, denoted Xzg1And according to Xdel_1And Xdel_2Constructing a second augmented matrix, denoted Xzg2Then let A ═ Xzg2(Xzg1)-1And using QR decomposition method to pair A ═ Xzg2(Xzg1)-1Processing to obtain a characteristic value matrix of A, and recording the characteristic value matrix as delta; wherein, Xzg1And Xzg2All dimensions of (A) are 2X m, A represents a system feature matrix, (X)zg1)-1Is Xzg1The dimension of a is 2 × 2, and the dimension of Δ is 2 × 2;

step 3_ 3: calculating Y from DeltaδHas a natural frequency and an attenuation coefficient, corresponding to fδAnd λδWherein the content of the first and second substances,to representThe imaginary part of (a) is,to representReal part of, Δ1,1Line 1, column 1 elements representing Δ, t' at Yδ=[yδ,1…yδ,n…yδ,N]A time interval of d sample values is sampled,

step 3_ 4: applying free response theory to XnorThe description is as follows: xnor=ψnorEnorWherein psinorRepresents XnorMode vector of ψnorDimension of (1X 2, E)norFor the introduction of intermediate variables, EnorDimension of (d) is 2 xm, e represents a natural base, and μ ═ λδ+j2πfδ,μ*Is a conjugate of mu, mu*=-λδ-j2πfδJ represents an imaginary unit of number,then solving X by using a least square methodnor=ψnorEnorTo obtain psinor,ψnor=XnorEnor T(EnorEnor T)-1Wherein, the upper mark is 'T' tableRepresenting transposes of vectors or matrices, (E)norEnor T)-1Is EnorEnor TThe inverse of (1); recalculate psinorIs the amplitude and phase of (1), the correspondence is expressed as xinorAndξnor=abs(ψnor(1))+abs(ψnor(2)),wherein abs () is the absolute value function, ψnor(1) To indicate psinorElement # 1 ofnor(2) To indicate psinorThe number 2 element of (a) is,to representThe real part of (2); finally xi isnorAs YδAmplitude of (1), re-noted as xiδWill beAs YδIs newly recorded as

Step 3_ 5: f. ofδ、λδ、ξδIs YδFour ITD modal parameters of, will fδ、λδ、ξδSequentially arranging the constructed vectors as YδFeature vector fea ofδ

In the step 3, feaθ、feaα、feaβIs acquired in the same manner as the procedure of step 3_1 to step 3_5, wherein f isθ、λθ、ξθCorresponds to YθNatural frequency, attenuation coefficient, amplitude, phase, fα、λα、ξαCorresponds to YαNatural frequency, attenuation coefficient, amplitude, phase, fβ、λβ、ξβCorresponds to YβNatural frequency, attenuation coefficient, amplitude, phase.

4. The EEG signal feature extraction method based on ITD modal parameter identification as claimed in claim 3, characterized in that EEG signals are randomly acquired for many times in the same channel according to a given sampling frequency, feature vectors of the EEG signals acquired for each time in the same channel are acquired in the same way according to the processes of step 1 to step 4, the feature vectors of the EEG signals randomly acquired for many times in the same channel form a feature matrix, and each row of vectors in the feature matrix represents the feature vector of the EEG signals randomly acquired for one time; and then classifying the characteristic matrix to obtain a motor imagery type corresponding to the electroencephalogram signals randomly acquired each time.

5. The EEG signal feature extraction method based on ITD modal parameter identification as claimed in claim 4, characterized in that for a plurality of different channels, EEG signals are collected at a plurality of channels at the same time according to a given sampling frequency, and feature vectors of the EEG signals collected at each channel are obtained in the same manner according to the processes of step 1 to step 4, and the feature vectors of the EEG signals collected at a plurality of channels at the same time are arranged in sequence to form a row vector; after multiple times of acquisition, obtaining a plurality of row vectors, arranging the row vectors in sequence to form a characteristic matrix, wherein each row vector in the characteristic matrix represents a row vector formed by arranging the characteristic vectors of the electroencephalogram signals acquired at multiple channels at one time in sequence; and then classifying the characteristic matrix to obtain a motor imagery type corresponding to the electroencephalogram signal acquired each time.

Technical Field

The invention relates to a signal feature extraction technology, in particular to an electroencephalogram signal feature extraction method based on ITD (Ibrahim Time domain) modal parameter identification.

Background

The Brain-Computer Interface (BCI) is a communication control system that can realize direct communication between the human Brain and the external environment, and the communication control system can make the human Brain independent of the normal output pathway of the Brain composed of peripheral nerves and muscles of the Brain. In recent years, due to the widespread development of many technologies such as computer science, biomedicine, signal processing, and artificial intelligence, attention has been focused on brain-computer interface technology as a cross-discipline thereof.

The brain-computer interface technology comprises five main parts: the method comprises the steps of electroencephalogram signal acquisition, preprocessing, feature extraction, feature classification and identification and control equipment. The key point of the current technical research is how to effectively extract the features of the electroencephalogram signals and improve the accuracy of classification of the electroencephalogram signals. Hitherto, people extract features of electroencephalogram signals by using methods of a plurality of signal processing technologies, such as a CSP (Common Spatial Pattern) algorithm, a sparse self-coding method, and the like, so that quantitative analysis of electroencephalogram signals is greatly advanced, but whether dynamic behaviors exist in the brain is always a hot topic. From a kinetic point of view, the neuronal network system of the human brain is an extremely intricate, ultra-high-dimensional, nonlinear system formed by many neuronal connections. In view of the multiple coupling property of the life phenomenon, together with various nonlinear characteristics such as the activity and the large damping characteristic of the biological material, the living system has strong nonlinearity, so that the deep research can be carried out from the nonlinear characteristics, and the deep research has profound significance on the signal processing technology and the life phenomenon research.

Disclosure of Invention

The invention aims to solve the technical problem of providing an electroencephalogram characteristic extraction method based on the electroencephalogram signal nonlinear vibration theory, which can extract effective characteristics from electroencephalogram signals of motor imagery, thereby greatly improving the accuracy of subsequent characteristic classification.

The technical scheme adopted by the invention for solving the technical problems is as follows: an EEG signal feature extraction method based on ITD modal parameter identification is characterized by comprising the following steps:

step 1: randomly acquiring an electroencephalogram signal in one channel at one time according to a given sampling frequency; then, the electroencephalogram signals are expressed in a vector form and are marked as Y, Y ═ Y1…yn…yN](ii) a Wherein the given sampling frequency is F Hz, and the dimension of YIs 1 multiplied by N, each element in Y is a sample value, N represents the total number of sample values in Y, N is more than or equal to 5, N is F multiplied by t, t represents the acquisition time of one electroencephalogram signal of one channel, the unit of t is second, N is a positive integer, the initial value of N is 1, N is more than or equal to 1 and less than or equal to N, Y1Represents the 1 st sample value in Y, YnRepresenting the n-th sample value in Y, YNDenotes the Nth sample value in Y, the symbol "[ alpha ]]"is a symbol representing a vector or matrix;

step 2: designing respective corresponding finite impulse response band-pass filters according to respective frequency ranges of a delta wave pitch signal, a theta wave pitch signal, an alpha wave pitch signal and a beta wave pitch signal in the electroencephalogram signals; then, respectively filtering Y by utilizing finite impulse response band-pass filters corresponding to delta wave pitch signals, theta wave pitch signals, alpha wave pitch signals and beta wave pitch signals in the electroencephalogram signals, correspondingly extracting the delta wave pitch signals, the theta wave pitch signals, the alpha wave pitch signals and the beta wave pitch signals in the Y, and correspondingly expressing the delta wave pitch signals, the theta wave pitch signals, the alpha wave pitch signals and the beta wave pitch signals in the Y in a vector form as Yδ、Yθ、Yα、Yβ,Yδ=[yδ,1…yδ,n…yδ,N],Yθ=[yθ,1…yθ,n…yθ,N],Yα=[yα,1…yα,n…yα,N],Yβ=[yβ,1…yβ,n…yβ,N](ii) a Wherein the frequency range of delta nodal signals in the electroencephalogram signals is 0.78-3.90 Hz, the frequency range of theta nodal signals in the electroencephalogram signals is 3.91-7.80 Hz, the frequency range of alpha nodal signals in the electroencephalogram signals is 7.81-13.28 Hz, the frequency range of beta nodal signals in the electroencephalogram signals is 13.29-30.47 Hz, and the frequency range of Y nodal signals in the electroencephalogram signals is 13.29-30.47 Hzδ、Yθ、Yα、YβAll dimensions of (A) are 1 XN, YδIs a sample value, yδ,1Represents Yδ1 st sample value of (1), yδ,nRepresents YδN-th sample value of (1), yδ,NRepresents YδSample value of Nth, YθIs a sample value, yθ,1Represents Yθ1 st sample value of (1), yθ,nRepresents YθN-th sample value of (1), yθ,NRepresents YθSample value of Nth, YαIs a sample value, yα,1Represents Yα1 st sample value of (1), yα,nRepresents YαN-th sample value of (1), yα,NRepresents YαSample value of Nth, YβIs a sample value, yβ,1Represents Yβ1 st sample value of (1), yβ,nRepresents YβN-th sample value of (1), yβ,NRepresents YβThe nth sample value;

and step 3: for YδIdentifying ITD modal parameters, and extracting to obtain YδFour ITD mode parameters of, will YδThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YδFeature vector of (1), denoted feaδ(ii) a In the same way for YθIdentifying ITD modal parameters, and extracting to obtain YθFour ITD mode parameters of, will YθThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YθFeature vector of (1), denoted feaθ(ii) a In the same way for YαIdentifying ITD modal parameters, and extracting to obtain YαFour ITD mode parameters of, will YαThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YαFeature vector of (1), denoted feaα(ii) a In the same way for YβIdentifying ITD modal parameters, and extracting to obtain YβFour ITD mode parameters of, will YβThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YβFeature vector of (1), denoted feaβ(ii) a Wherein feaδ、feaθ、feaα、feaβThe dimensions of (A) are all 1 × 4;

and 4, step 4: will feaδ、feaθ、feaα、feaβThe vector formed by arranging the sequences is taken as a feature vector of Y and is denoted as fea, fea ═ feaδfeaθfeaαfeaβ](ii) a Wherein the dimension of fea is 1 × 16。

The specific process of the step 2 is as follows:

according to the frequency range of a delta-wave pitch signal in an electroencephalogram signal, designing a first finite impulse response band-pass filter, wherein the first finite impulse response band-pass filter is recorded as H1, the sampling frequency of H1 is F Hz, the order of H1 is 10, the upper edge frequency of a stop band of H1 is 0.7 Hz, the lower edge frequency of the stop band is 4 Hz, the upper edge frequency of a pass band is 0.8 Hz, and the lower edge frequency of the pass band is 3.5 Hz; then, H1 is used for carrying out filtering processing on Y, and delta wave pitch signals in Y are extracted;

similarly, according to the frequency range of a theta-wave pitch signal in the electroencephalogram signal, designing a second finite impulse response band-pass filter, which is recorded as H2, wherein the sampling frequency of H2 is F Hz, the order of H2 is 10, the upper edge frequency of a stop band of H2 is 3.9 Hz, the lower edge frequency of the stop band is 8 Hz, the upper edge frequency of a pass band is 4 Hz, and the lower edge frequency of the pass band is 7.5 Hz; then, filtering Y by using H2, and extracting to obtain a theta node law signal in Y;

according to the frequency range of alpha-nodal signals in the electroencephalogram signals, a third finite impulse response band-pass filter is designed and recorded as H3, the sampling frequency of H3 is F Hz, the order of H3 is 10, the upper edge frequency of a stop band of H3 is 7.8 Hz, the lower edge frequency of the stop band is 13 Hz, the upper edge frequency of a pass band is 7.9 Hz, and the lower edge frequency of the pass band is 12 Hz; then, filtering Y by using H3, and extracting to obtain an alpha wave pitch signal in Y;

designing a fourth finite impulse response band-pass filter according to the frequency range of beta-nodal signals in the electroencephalogram signals, wherein the fourth finite impulse response band-pass filter is recorded as H4, the sampling frequency of H4 is F Hz, the order of H4 is 10, the upper edge frequency of a stop band of H4 is 13 Hz, the lower edge frequency of the stop band is 31 Hz, the upper edge frequency of a pass band is 14 Hz, and the lower edge frequency of the pass band is 30 Hz; and then, filtering Y by using H4 to extract and obtain a beta wave law signal in Y.

In the step 3, feaδThe acquisition process comprises the following steps:

step 3_ 1: will Yδ=[yδ,1…yδ,n…yδ,N]Discrete signals are treated as free-response vibrationsSignal, to Yδ=[yδ,1…yδ,n…yδ,N]Carrying out normal sampling, d-delay sampling and 2 d-delay sampling in sequence to obtain a normal sampling free response data vector, a d-delay sampling free response data vector and a 2 d-delay sampling free response data vector in sequence, and correspondingly marking as Xnor、Xdel_1、Xdel_2,Xnor=[yδ,1…yδ,n…yδ,m],Xdel_1=[yδ,d+1…yδ,d+n…yδ,d+m],Xdel_2=[yδ,2d+1…yδ,2d+n…yδ,2d+m](ii) a Then X is put innor=[yδ,1…yδ,n…yδ,m]Re-expressed as Xnor=[xnor,1…xnor,n…xnor,m]Is mixing Xdel_1=[yδ,d+1…yδ,d+n…yδ,d+m]Re-expressed as Xdel_1=[xdel_1,1…xdel_1,n…xdel_1,m]Is mixing Xdel_2=[yδ,2d+1…yδ,2d+n…yδ,2d+m]Re-expressed as Xdel_2=[xdel_2,1…xdel_2,n…xdel_2,m](ii) a Wherein d is a positive integer, d represents a sampling interval,m is a positive integer, m represents Xnor、Xdel_1、Xdel_2M is more than or equal to 1 and less than or equal to N-2d, Xnor、Xdel_1、Xdel_2All dimensions of (a) are 1 xm, yδ,m、yδ,d+1、yδ,d+n、yδ,d+m、yδ,2d+1、yδ,2d+n、yδ,2d+mCorresponds to and represents YδM-th, d + 1-th, d + n-th, d + m-th, 2d + 1-th, 2d + n-th, 2d + m-th sample values, xnor,1、xnor,n、xnor,mCorresponds to Xnor1 st element, nth element, mth element, xdel_1,1、xdel_1,n、xdel_1,mCorrespond toRepresents Xdel_11 st element, nth element, mth element, xdel_2,1、xdel_2,n、xdel_2,mCorresponds to Xdel_2The 1 st element, the nth element, the mth element in (a);

step 3_ 2: according to XnorAnd Xdel_1Constructing a first augmented matrix, denoted Xzg1And according to Xdel_1And Xdel_2Constructing a second augmented matrix, denoted Xzg2Then let A ═ Xzg2(Xzg1)-1And using QR decomposition method to pair A ═ Xzg2(Xzg1)-1Processing to obtain a characteristic value matrix of A, and recording the characteristic value matrix as delta; wherein, Xzg1And Xzg2All dimensions of (A) are 2X m, A represents a system feature matrix, (X)zg1)-1Is Xzg1The dimension of a is 2 × 2, and the dimension of Δ is 2 × 2;

step 3_ 3: calculating Y from DeltaδHas a natural frequency and an attenuation coefficient, corresponding to fδAnd λδWherein the content of the first and second substances,to representThe imaginary part of (a) is,to representReal part of, Δ1,1Line 1, column 1 elements representing Δ, t' atYδ=[yδ,1…yδ,n…yδ,N]A time interval of d sample values is sampled,

step 3_ 4: applying free response theory to XnorThe description is as follows: xnor=ψnorEnorWherein psinorRepresents XnorMode vector of ψnorDimension of (1X 2, E)norFor the introduction of intermediate variables, EnorDimension of (d) is 2 xm, e represents a natural base, and μ ═ λδ+j2πfδ,μ*Is a conjugate of mu, mu*=-λδ-j2πfδJ represents an imaginary unit of number,then solving X by using a least square methodnor=ψnorEnorTo obtain psinor,ψnor=XnorEnor T(EnorEnor T)-1Wherein the superscript "T" denotes the transpose of the vector or matrix, (E)norEnor T)-1Is EnorEnor TThe inverse of (1); recalculate psinorIs the amplitude and phase of (1), the correspondence is expressed as xinorAndξnor=abs(ψnor(1))+abs(ψnor(2)),wherein abs () is the absolute value function, ψnor(1) To indicate psinorElement # 1 ofnor(2) To indicate psinorThe number 2 element of (a) is,to representThe real part of (2); finally xi isnorAs YδAmplitude of (1), re-noted as xiδWill beAs YδIs newly recorded as

Step 3_ 5: f. ofδ、λδ、ξδIs YδFour ITD modal parameters of, will fδ、λδ、ξδSequentially arranging the constructed vectors as YδFeature vector fea ofδ

In the step 3, feaθ、feaα、feaβIs acquired in the same manner as the procedure of step 3_1 to step 3_5, wherein f isθ、λθ、ξθCorresponds to YθNatural frequency, attenuation coefficient, amplitude, phase, fα、λα、ξαCorresponds to YαNatural frequency, attenuation coefficient, amplitude, phase, fβ、λβ、ξβCorresponds to YβNatural frequency, attenuation coefficient, amplitude, phase.

Randomly acquiring electroencephalogram signals in the same channel for multiple times according to a given sampling frequency, acquiring the characteristic vectors of the electroencephalogram signals acquired in the same channel every time in the same mode according to the processes of the step 1 to the step 4, and forming a characteristic matrix by the characteristic vectors of the electroencephalogram signals acquired in the same channel for multiple times, wherein each row of vectors in the characteristic matrix represents the characteristic vector of the electroencephalogram signals acquired at one time; and then classifying the characteristic matrix to obtain a motor imagery type corresponding to the electroencephalogram signals randomly acquired each time.

Acquiring electroencephalogram signals at a plurality of channels according to a given sampling frequency aiming at a plurality of different channels, acquiring the characteristic vector of the electroencephalogram signals acquired at each channel in the same mode according to the processes from step 1 to step 4, and arranging the characteristic vectors of the electroencephalogram signals acquired at the plurality of channels at the same time in sequence to form a row vector; after multiple times of acquisition, obtaining a plurality of row vectors, arranging the row vectors in sequence to form a characteristic matrix, wherein each row vector in the characteristic matrix represents a row vector formed by arranging the characteristic vectors of the electroencephalogram signals acquired at multiple channels at one time in sequence; and then classifying the characteristic matrix to obtain a motor imagery type corresponding to the electroencephalogram signal acquired each time.

Compared with the prior art, the invention has the advantages that:

1) the method provided by the invention starts from a nonlinear vibration theory, analyzes the electroencephalogram signal dynamic model, researches the electroencephalogram signal from the aspect of vibration and engineering, has an important scientific theoretical value, and has an important significance for electroencephalogram signal characteristic extraction.

2) The characteristics of the electroencephalogram signals extracted by the method are used for classification, and simulation comparison is carried out on the existing motor imagery electroencephalogram signal database, so that the vibration mode characteristics acquired by the method have higher classification accuracy and better stability.

Drawings

Fig. 1 is a block diagram of the overall implementation of the method of the present invention.

Detailed Description

The invention is described in further detail below with reference to the accompanying examples.

The invention provides an electroencephalogram characteristic extraction method based on ITD modal parameter identification, the overall implementation block diagram of which is shown in figure 1, and the method comprises the following steps:

step 1: randomly acquiring an electroencephalogram signal in one channel at one time according to a given sampling frequency; then, the electroencephalogram signals are expressed in a vector form and are marked as Y, Y ═ Y1…yn…yN](ii) a The given sampling frequency is F hertz, the given sampling frequency is a sampling frequency parameter of an acquisition system, the dimension of Y is 1 xN, each element in Y is a sample value, N represents the total number of the sample values in Y, N is not less than 5, N is F x t, t represents the acquisition time for acquiring one electroencephalogram signal of one channel, the unit of t is second, N is a positive integer, the initial value of N is 1, N is not less than 1 and not more than N, Y is not less than 1 and not more than N, and1represents the 1 st sample value in Y, YnRepresenting the n-th sample value in Y, YNDenotes the Nth sample value in Y, the symbol "[ alpha ]]"is a symbol representing a vector or a matrix.

Step 2: designing respective corresponding Finite Impulse Response (FIR) band-pass filters according to respective frequency ranges (namely frequency bands) of a delta wave pitch signal, a theta wave pitch signal, an alpha wave pitch signal and a beta wave pitch signal in the electroencephalogram signal; then, respectively filtering Y by utilizing respective corresponding finite impulse response band-pass filters of a delta wave pitch signal, a theta wave pitch signal, an alpha wave pitch signal and a beta wave pitch signal in the electroencephalogram signals, and correspondingly extracting the delta wave pitch signal, the theta wave pitch signal, the alpha wave pitch signal and the beta wave pitch signal in the YSignal, represented correspondingly in vector form as Yδ、Yθ、Yα、Yβ,Yδ=[yδ,1…yδ,n…yδ,N],Yθ=[yθ,1…yθ,n…yθ,N],Yα=[yα,1…yα,n…yα,N],Yβ=[yβ,1…yβ,n…yβ,N](ii) a Wherein the frequency range of delta nodal signals in the electroencephalogram signals is 0.78-3.90 Hz, the frequency range of theta nodal signals in the electroencephalogram signals is 3.91-7.80 Hz, the frequency range of alpha nodal signals in the electroencephalogram signals is 7.81-13.28 Hz, the frequency range of beta nodal signals in the electroencephalogram signals is 13.29-30.47 Hz, and the frequency range of Y nodal signals in the electroencephalogram signals is 13.29-30.47 Hzδ、Yθ、Yα、YβAll dimensions of (A) are 1 XN, YδIs a sample value, yδ,1Represents Yδ1 st sample value of (1), yδ,nRepresents YδN-th sample value of (1), yδ,NRepresents YδSample value of Nth, YθIs a sample value, yθ,1Represents Yθ1 st sample value of (1), yθ,nRepresents YθN-th sample value of (1), yθ,NRepresents YθSample value of Nth, YαIs a sample value, yα,1Represents Yα1 st sample value of (1), yα,nRepresents YαN-th sample value of (1), yα,NRepresents YαSample value of Nth, YβIs a sample value, yβ,1Represents Yβ1 st sample value of (1), yβ,nRepresents YβN-th sample value of (1), yβ,NRepresents YβThe nth sample value in (1).

In this embodiment, the specific process of step 2 is:

according to the frequency range of a delta-wave pitch signal in an electroencephalogram signal, designing a first finite impulse response band-pass filter, wherein the first finite impulse response band-pass filter is recorded as H1, the sampling frequency of H1 is F Hz, the order of H1 is 10, the upper edge frequency of a stop band of H1 is 0.7 Hz, the lower edge frequency of the stop band is 4 Hz, the upper edge frequency of a pass band is 0.8 Hz, and the lower edge frequency of the pass band is 3.5 Hz; and then, filtering Y by using H1, and extracting to obtain a delta wave law signal in Y.

Similarly, according to the frequency range of a theta-wave pitch signal in the electroencephalogram signal, designing a second finite impulse response band-pass filter, which is recorded as H2, wherein the sampling frequency of H2 is F Hz, the order of H2 is 10, the upper edge frequency of a stop band of H2 is 3.9 Hz, the lower edge frequency of the stop band is 8 Hz, the upper edge frequency of a pass band is 4 Hz, and the lower edge frequency of the pass band is 7.5 Hz; and then, filtering Y by using H2 to extract and obtain a theta node law signal in Y.

According to the frequency range of alpha-nodal signals in the electroencephalogram signals, a third finite impulse response band-pass filter is designed and recorded as H3, the sampling frequency of H3 is F Hz, the order of H3 is 10, the upper edge frequency of a stop band of H3 is 7.8 Hz, the lower edge frequency of the stop band is 13 Hz, the upper edge frequency of a pass band is 7.9 Hz, and the lower edge frequency of the pass band is 12 Hz; and then, filtering Y by using H3, and extracting to obtain an alpha wave law signal in Y.

Designing a fourth finite impulse response band-pass filter according to the frequency range of beta-nodal signals in the electroencephalogram signals, wherein the fourth finite impulse response band-pass filter is recorded as H4, the sampling frequency of H4 is F Hz, the order of H4 is 10, the upper edge frequency of a stop band of H4 is 13 Hz, the lower edge frequency of the stop band is 31 Hz, the upper edge frequency of a pass band is 14 Hz, and the lower edge frequency of the pass band is 30 Hz; and then, filtering Y by using H4 to extract and obtain a beta wave law signal in Y.

And step 3: for YδIdentifying ITD modal parameters, and extracting to obtain YδFour ITD mode parameters of, will YδThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YδFeature vector of (1), denoted feaδ(ii) a In the same way for YθIdentifying ITD modal parameters, and extracting to obtain YθFour ITD mode parameters of, will YθThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YθFeature vector of (1), denoted feaθ(ii) a In the same way for YαIdentifying ITD modal parameters, and extracting to obtain YαFour ITD mode parameters of, will YαThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YαFeature vector of (1), denoted feaα(ii) a In the same way for YβIdentifying ITD modal parameters, and extracting to obtain YβFour ITD mode parameters of, will YβThe vector formed by the sequential arrangement of the four ITD modal parameters is used as YβFeature vector of (1), denoted feaβ(ii) a Wherein feaδ、feaθ、feaα、feaβAre all 1 x 4.

In this embodiment, fea in step 3δThe acquisition process comprises the following steps:

step 3_ 1: analyzing from the induction process of the motor imagery electroencephalogram signals, when motor imagery induction signal stimulation occurs, the brain starts to respond, at the moment, the total number of synaptic transmission signals of neurons of the brain is increased sharply, a corresponding kinetic equation shows strong nonlinearity, the electroencephalogram signals collected in the period of time are transient nonlinear signals, and the transient nonlinear signals have chaotic characteristics and are very difficult to classify and process; and then, after adapting to the evoked stimulus signals, the total number of synaptic transmission signals of the neurons of the brain is reduced in the inhibition stage, the number of the synaptic transmission signals is continuously reduced in the corresponding kinetic equation, the electroencephalogram signals acquired in the period are free response vibration signals, and the kinetic equation is degenerated into a weak nonlinear vibration equation. Thus, Y will beδ=[yδ,1…yδ,n…yδ,N]The discrete signal is regarded as a free response vibration signal for Yδ=[yδ,1…yδ,n…yδ,N]Carrying out normal sampling, d-delay sampling and 2 d-delay sampling in sequence to obtain a normal sampling free response data vector, a d-delay sampling free response data vector and a 2 d-delay sampling free response data vector in sequence, and correspondingly marking as Xnor、Xdel_1、Xdel_2,Xnor=[yδ,1…yδ,n…yδ,m],Xdel_1=[yδ,d+1…yδ,d+n…yδ,d+m],Xdel_2=[yδ,2d+1…yδ,2d+n…yδ,2d+m](ii) a Then X is put innor=[yδ,1…yδ,n…yδ,m]Re-expressed as Xnor=[xnor,1…xnor,n…xnor,m]Is mixing Xdel_1=[yδ,d+1…yδ,d+n…yδ,d+m]Re-expressed as Xdel_1=[xdel_1,1…xdel_1,n…xdel_1,m]Is mixing Xdel_2=[yδ,2d+1…yδ,2d+n…yδ,2d+m]Re-expressed as Xdel_2=[xdel_2,1…xdel_2,n…xdel_2,m](ii) a Wherein d is a positive integer, d represents a sampling interval,m is a positive integer, m represents Xnor、Xdel_1、Xdel_2M is more than or equal to 1 and less than or equal to N-2d, Xnor、Xdel_1、Xdel_2All dimensions of (a) are 1 xm, yδ,m、yδ,d+1、yδ,d+n、yδ,d+m、yδ,2d+1、yδ,2d+n、yδ,2d+mCorresponds to and represents YδM-th, d + 1-th, d + n-th, d + m-th, 2d + 1-th, 2d + n-th, 2d + m-th sample values, xnor,1、xnor,n、xnor,mCorresponds to Xnor1 st element, nth element, mth element, xdel_1,1、xdel_1,n、xdel_1,mCorresponds to Xdel_11 st element, nth element, mth element, xdel_2,1、xdel_2,n、xdel_2,mCorresponds to Xdel_2The 1 st element, the nth element, the mth element in (1).

Step 3_ 2: according to XnorAnd Xdel_1Constructing a first augmented matrix, denoted Xzg1And according to Xdel_1And Xdel_2Constructing a second augmented matrix, denoted Xzg2Then let A ═ Xzg2(Xzg1)-1And using QR (orthogonal trigonometric) decomposition method to determine A ═ Xzg2(Xzg1)-1Processing to obtain a characteristic value matrix of A, and recording the characteristic value matrix as delta; wherein, Xzg1And Xzg2All dimensions of (A) are 2X m, A represents a system feature matrix, (X)zg1)-1Is Xzg1The dimension of a is 2 × 2 and the dimension of Δ is 2 × 2.

Step 3_ 3: calculating Y from DeltaδHas a natural frequency and an attenuation coefficient, corresponding to fδAnd λδWherein the content of the first and second substances,to representThe imaginary part of (a) is,to representReal part of, Δ1,1Line 1, column 1 elements representing Δ, t' at Yδ=[yδ,1…yδ,n…yδ,N]A time interval of d sample values is sampled,

step 3_ 4: applying free response theory to XnorThe description is as follows: xnor=ψnorEnorWherein psinorRepresents XnorMode vector of ψnorDimension of (1X 2, E)norFor the introduction of intermediate variables, EnorDimension of (d) is 2 × m, e represents a natural base, e is 2.17 …, μ is λδ+j2πfδ,μ*Is a conjugate of mu, mu*=-λδ-j2πfδJ represents an imaginary unit of number, then solving X by using a least square methodnor=ψnorEnorTo obtain psinor,ψnor=XnorEnor T(EnorEnor T)-1Wherein the superscript "T" denotes the transpose of the vector or matrix, (E)norEnor T)-1Is EnorEnor TThe inverse of (1); recalculate psinorIs the amplitude and phase of (1), the correspondence is expressed as xinorAndξnor=abs(ψnor(1))+abs(ψnor(2)),wherein abs () is the absolute value function, ψnor(1) To indicate psinorElement # 1 ofnor(2) To indicate psinorThe number 2 element of (a) is,to representThe real part of (2); finally xi isnorAs YδAmplitude of (1), re-noted as xiδWill beAs YδIs newly recorded as

Step 3_ 5: f. ofδ、λδ、ξδIs YδFour ITD modal parameters of, will fδ、λδ、ξδSequentially arranging the constructed vectors as YδFeature vector fea ofδ

In this embodiment, fea in step 3θ、feaα、feaβIs acquired in the same manner as the procedure of step 3_1 to step 3_5, wherein f isθ、λθ、ξθCorresponds to YθNatural frequency, attenuation coefficient, amplitude, phase, fα、λα、ξαCorresponds to YαNatural frequency, attenuation coefficient, amplitude, phase, fβ、λβ、ξβCorresponds to YβNatural frequency, attenuation coefficient, amplitude, phase.

And 4, step 4: will feaδ、feaθ、feaα、feaβThe vector formed by arranging the sequences is taken as a feature vector of Y and is denoted as fea, fea ═ feaδ feaθ feaα feaβ](ii) a Wherein the dimension of fea is 1 × 16.

On the basis of the above steps 1 to 4, subsequent classification may be performed, such as: randomly acquiring electroencephalogram signals in the same channel for multiple times according to a given sampling frequency, acquiring the characteristic vectors of the electroencephalogram signals acquired in the same channel every time in the same mode according to the processes of the step 1 to the step 4, and forming a characteristic matrix by the characteristic vectors of the electroencephalogram signals acquired in the same channel for multiple times, wherein each row of vectors in the characteristic matrix represents the characteristic vector of the electroencephalogram signals acquired at one time; and then classifying the characteristic matrix to obtain a motor imagery type corresponding to the electroencephalogram signals randomly acquired each time.

For another example: acquiring electroencephalogram signals at a plurality of channels according to a given sampling frequency aiming at a plurality of different channels, acquiring the characteristic vector of the electroencephalogram signals acquired at each channel in the same mode according to the processes from step 1 to step 4, and arranging the characteristic vectors of the electroencephalogram signals acquired at the plurality of channels at the same time in sequence to form a row vector; after multiple times of acquisition, obtaining a plurality of row vectors, arranging the row vectors in sequence to form a characteristic matrix, wherein each row vector in the characteristic matrix represents a row vector formed by arranging the characteristic vectors of the electroencephalogram signals acquired at multiple channels at one time in sequence; and then classifying the characteristic matrix to obtain a motor imagery type corresponding to the electroencephalogram signal acquired each time.

In this embodiment, when a specific arrangement mode is not given, the sequence arrangement referred to in multiple places may be arranged according to the same self-defined sequence when the same kind of information is acquired, and may be arranged according to a sequence in general.

Let Y be [ 9.729.386.017.467.235.077.925.735.185.71 ]]F is 200, then Yδ=[0.7029 1.4001 1.8677 2.4437 3.0069 3.4138 4.0195 4.4626 4.8542 5.2688],Yθ=[0.5803 1.2786 1.8847 2.6101 3.3521 3.9654 4.6916 5.2505 5.6846 6.0344],Yα=[-0.0364 0.3748 1.1926 2.1650 3.2642 4.3742 5.2636 5.9892 6.3732 6.3498],Yβ=[-1.2230 -2.5862 -2.9156 -2.1651 -0.4555 1.6578 2.6811 2.5778 1.5536 0.1579](ii) a And when d is equal to 2, fδ=2.3755,λδ=0.0828,ξδ=7.8459,fθ=5.4966,λθ=-14.5290,ξθ=3.2526,fα=8.7462,λα=-32.9419,ξα=-1.9559,fβ=21.3646,λβ=2.9961,ξβ=-3.1203,

In order to verify the feasibility and effectiveness of the method of the invention, experiments were carried out on the method of the invention.

The method is used for extracting the characteristics of the CLA left and right hand motor imagery data set in the current maximum Slow Cortical Potential (SCP) data set of the international standard electroencephalogram signal database, the extracted characteristic matrix is classified through the adaboost algorithm, the classification accuracy is as high as 92.7%, and compared with most characteristic extraction algorithms such as a CSP (Common Spatial Pattern) algorithm, a sparse self-coding method and the like, the accuracy is obviously improved, and the feasibility and the effectiveness of the method are fully demonstrated.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种下肢静脉曲张可视化腔内闭合系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!