Electrooculogram processing method based on improved MIBSS-CEEMDAN
Through the improved MIBSS-CEEMDAN method, combined with fuzzy adaptive boundary information fitting and dual-category denoising method, and using the mutual information optimization criterion, the problems of noise interference and inaccurate decomposition in electrooculoscope signal processing are solved, and the accuracy of the signal is improved. accuracy and stability, adapts to different signal characteristics, and enhances the system performance of electroocular signal processing.
Patent Information
- Application Number
- CN202410646112.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-23
AI Technical Summary
Existing technologies have problems such as noise interference, inaccurate decomposition, and poor stability in EOG signal processing. Especially when using CEEMDAN or MIBSS alone, it is difficult to effectively remove noise, affecting the accuracy and integrity of the signal.
An improved MIBSS-CEEMDAN method is proposed, which combines fuzzy adaptive boundary information fitting, a denoising method that fuses dual coefficients and dual categories, and an ICA intelligent optimization criterion based on mutual information to solve the problems of modal aliasing and noise interference and improve the signal quality. Decomposition accuracy and stability.
The boundary defects in the decomposition are reduced through fuzzy adaptive boundary information fitting, the denoising method of dual coefficients and dual categories is integrated to separate the modes, and the ICA optimization criterion based on mutual information is used to separate the noise components, which improves the decomposition accuracy and stability of the electrooculogram signal. , adapts to different signal characteristics and enhances the accuracy of the source signal and system performance.
Smart Images

Figure CN118592985A
Abstract
Description
Technical Field
[0001] The present invention relates to an electrooculogram signal processing method, in particular to an electrooculogram signal processing method combining an improved fully adaptive noise-assisted ensemble empirical mode decomposition (CEEMDAN) with a mutual information-based independent component analysis (MIBSS), and belongs to the technical field of biomedical signal processing. Background Art
[0002] Electrooculography (EOG) is a bioelectric signal that reflects the state of human eye movement by measuring the potential difference caused by eye movement. It has wide application value in human-computer interaction, virtual reality, psychological research and other fields.
[0003] During the acquisition process of EO signals, they are often interfered by various noises (such as myoelectric noise, power frequency interference, etc.). These noises seriously affect the accuracy and reliability of EO signals. Therefore, how to effectively remove noise and extract pure EO signals is a research hotspot and difficulty in the field of EO signal processing technology.
[0004] Although traditional EO signal denoising methods (such as Fourier transform, wavelet transform, etc.) can effectively remove noise to a certain extent, there are still some obvious problems. For example, Fourier transform cannot reflect the change of signal frequency over time when processing EO signals, the choice of wavelet basis in wavelet transform has a great influence on the processing results, and when processing EO signals with mutation points, large oscillations may occur, affecting the accuracy of denoising.
[0005] Fully adaptive noise-assisted ensemble empirical mode decomposition (CEEMDAN) solves the problem of modal aliasing by integrating the signal decomposition results after adding white noise. In independent component analysis (ICA), it is assumed that the source signals are independent of each other, and the mixed signal is separated into independent source signals through optimization algorithms. However, when processing electrooculogram signals, CEEMDAN is still interfered by noise, resulting in more noise components in the decomposed modal components. ICA faces problems such as unknown number of source signals and unstable separation effect. The mutual information-based ICA method (MIBSS) uses mutual information as an optimization criterion to improve the accuracy and stability of source signal separation, especially when processing electrooculogram signals with complex noise, it shows superior performance.
[0006] However, when using CEEMDAN or MIBSS alone to process electrooculogram signals, there are still problems such as noise interference and low system performance and quality. Summary of the invention
[0007] The purpose of the present invention is to address the technical problems of distortion and low accuracy in electrooculogram signal processing in the prior art, and to creatively propose an electrooculogram signal processing method based on improved MIBSS-CEEMDAN, which can effectively decompose the electrooculogram signal and remove noise, thereby improving the accuracy of electrooculogram signal processing and signal integrity.
[0008] The innovative features of the present invention include:
[0009] First, a fuzzy adaptive boundary information fitting method is proposed to solve the boundary defect phenomenon in EMD decomposition (Empirical Mode Decomposition).
[0010] Second, a denoising method that integrates dual coefficients and dual species is designed to solve the problem of modal aliasing.
[0011] Thirdly, an ICA intelligent optimization criterion based on mutual information is proposed to further decompose the IMF (Intrinsic Mode Function) components, separate different types of electrooculographic signal components and noise components, and improve the accuracy and stability of source signal separation.
[0012] Beneficial Effects
[0013] Compared with the prior art, this method has the following advantages:
[0014] 1. This method proposes a fuzzy adaptive fitting boundary information method to generate flexible boundary events, which effectively solves the boundary defect problem in EMD decomposition, more accurately fits and reconstructs the boundary information of the signal, thereby improving the accuracy and stability of the decomposition.
[0015] 2. This method designs a dual-coefficient dual-type denoising method to solve the problem of modal aliasing. By introducing dual-coefficient dual-type fusion noise, it effectively separates and distinguishes different modes, thereby improving the accuracy and clarity of signal decomposition.
[0016] 3. This method proposes an ICA intelligent optimization criterion based on mutual information, decomposes the signal matrix composed of IMF components, identifies and reduces artifact components unrelated to electrooculographic activity through mutual information analysis, and more accurately separates different types of electrooculographic signal components and noise components, thereby improving the accuracy and stability of source signal separation.
[0017] 4. This method has stronger adaptability and can handle a wider range of EOG signal changes and adapt to the EOG signal processing needs with different signal characteristics. It solves the large differences in EOG signals between different individuals and under different physiological conditions and improves the accuracy and stability of source signal separation. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of the process of the present invention;
[0019] Figure 2 It is a specific algorithm step diagram of the present invention;
[0020] Figure 3 It is a step diagram of the improved CEEMDAN decomposition in the present invention;
[0021] Figure 4 It is a detailed schematic diagram of the improved CEEMDAN decomposition in the present invention;
[0022] Figure 5 It is the vertical / horizontal electrooculogram signal instance event detection result;
[0023] Figure 6 It is the high / low mixed sampling result of the vertical electrooculogram signal instance;
[0024] Figure 7 It is the high / low mixed sampling result of the horizontal electrooculogram signal instance;
[0025] Figure 8 This is the IMF component result diagram obtained by CEEMDAN decomposition of the vertical electrooculogram signal example;
[0026] Fig. 9 This is the IMF component result diagram obtained by CEEMDAN decomposition of the horizontal electrooculogram signal example. DETAILED DESCRIPTION
[0027] The method of the present invention is further described in detail below with reference to the accompanying drawings and embodiments.
[0028] The present invention is implemented by adopting the following technical solutions.
[0029] like Figure 1 , Figure 2 As shown, an electrooculogram processing method based on improved MIBSS-CEEMDAN includes the following steps:
[0030] Step 1: Fuzzy adaptive boundary information fitting.
[0031] For the upper and lower boundaries of the preprocessed electrooculogram signals, the fuzzy decision tree algorithm is used to evaluate the possible events of the electrooculogram, and then decompose and generate reasonable signal boundaries to reduce the boundary defects in the decomposition process.
[0032] The following steps are involved:
[0033] Step 1.1: Perform high / low mixed sampling on the original electrooculogram signal, where t is the continuous time, is the low sampling rate, and is the high sampling rate.
[0034] Step 1.1.1: Detect the start and end points of the electrooculogram (EOG) signal using the short-time energy change rate method.
[0035] First, frame and weight the EOG signal and calculate the energy of each frame. where \(x(n)\) is the sampled value in each frame of the signal, \(n = 0,1,\cdots,M - 1\), \(M\) is the frame size, and \(w(n)\) is the Hamming window function.
[0036] Then, calculate the change rate between adjacent frames. where \(\epsilon\) is a very small positive number to avoid division by zero.
[0037] Define the short-time energy threshold \(STE=\mu\) E +\(\psi\sigma\) E , where \(\mu\) E , \(\sigma\) E are the mean and standard deviation of the frame energy \(E\) respectively, and \(\psi\) is used to adjust the degree of increase of the threshold relative to the standard deviation.
[0038] For each frame index \(i\), if \(E\) i \(>STE\) and \(R\) i \(>\tau\), then mark it as the start of the event \(t\) s,i , until \(E\) i \(<STE\) or \(R\) i \(<1 / \tau\), mark it as the end of the event \(t\) e,i , where \(STE\) is the energy threshold and \(\tau\) is the change rate threshold.
[0039] Step 1.1.2: Perform position indexing based on the start and end points of the event \(t\) s,i , \(t\) e,i and perform high / low mixed sampling on the EOG signal.
[0040] The sampled signal \(y\) f [t] is expressed as:
[0041]
[0042] where, \(y\) L [n]\) is the low sampling rate \(f\) L sampled signal segment; \(y\) H [m]\) is the high sampling rate \(f\) H sampled signal segment;
[0043] In the edge region \(2\Delta t\) of \(t\) s,i and \(t\) e,i , linearly interpolate to obtain the sampled signal \(y\) l [t]:
[0044]
[0045] where, \(t\) i is the start and end point of the event \(t\) s,ior e,i , Δt is a very small sampling interval.
[0046] Step 1.2: Sampled signal y f [t], design a fuzzy adaptive boundary information fitting method.
[0047] Step 1.2.1: Based on the event start and end points t obtained in step 1.1.1 i , taking the start and end positions of the signal as boundary points, calculate the boundary point t b and the event start and end points t i Distance d, d = t b -t i , the boundary point change rate Where Δt is a very small sampling interval.
[0048] Step 1.2.2: Design fuzzy rules.
[0049] According to the size of the distance d, define the distance fuzzy set A far and A near , define two change rate fuzzy sets B according to the change rate r of the boundary point High and B Low . Create rules based on four possible scenarios:
[0050] If d∈A far , r∈B Low , then the signal changes smoothly at the boundary point, and the linear regression method (LR) is used;
[0051] If d∈A far , r∈B High , then the boundary point is in the case of drastic signal changes, but the changes are not directly related to the event itself, the polynomial curve fitting method (Polynomial Curve Fitting, PCF) is used;
[0052] If d∈A near , r∈B Low , then the boundary point is near the start and end points of the event but the signal changes relatively slowly, and the support vector regression (SVR) method is used;
[0053] If d∈A near And r∈B High , then the boundary point is located within the event occurrence, and the nonlinear least squares (NLS) method is used.
[0054] Right now:
[0055]
[0056] Among them, the distance membership function is set to Gaussian function e represents the exponential function; the membership function of the rate of change is the sigmoid function r0 is the change rate threshold; λ1 and λ2 are two membership function thresholds respectively; D is the output variable decision,
[0057] Step 1.2.3: Design a fuzzy adaptive boundary fitting information method.
[0058] Specifically, let the training sample set be A = {(h1, g1), (h2, g2), ..., (h l , g l )}, where h i , g i is the i-th input / output vector, h i =[y f (t i ), y f (t i+1 ), …, y f (t N-l+i-1 )] T , g i =[y f (t i ), y f (t i+1 ), …, y f (t N-l+i )] T , 1≤i≤l, l is the number of training sample sets, where T represents the matrix transpose. Test sample set B = {(h N-s+1 , g N-s+1 ),...,(h N , g N )}, 1≤s≤Nl is the number of test samples, where h N , g N is the Nth input / output vector.
[0059] The fuzzy set of distance d and rate of change r is used to select decision D for training. Based on formula 3, for signal y f [t] performs right extension and outputs right extension F = {y f [t1],y f [t2], …, y f [t N ],y f [t N+1 ]}, where y f [t N+1 ] is the first boundary signal of the signal extended to the right. Repeat the above steps according to the number of data points to be extended, and obtain the entire right extension sequence y f [tN+1 ]、y f [t N+2 ], ..., y f [t N+M ]. Similarly, according to formula 3, the signal is extended to the left to obtain the complete left extended sequence y f [t -M+1 ]、y f [t -M+2 ], ..., y f [t0], where M is the number of signal points extended to the left / right.
[0060] Finally, the left extension sequence, the original signal sequence, and the right extension sequence are sorted to form a new signal sequence y′(t), y′(t)={y f [t -M+1 ], …, y f [t0],y f [t1],…,y f [t N ], …, y f [t N+M ]}.
[0061] Step 2: For positive and negative paired Gaussian white noise and 1 / f noise, a denoising method with dual coefficients and dual types is designed to perform an improved CEEMDAN decomposition on the electrooculogram signal.
[0062] like Figure 3 As shown, step 2 includes the following steps:
[0063] Step 2.1: Add positive and negative pairs of Gaussian white noise and 1 / f noise to the extended signal y′(t) to be decomposed N times, and decompose it to ensure that in the entire time range, the number of local extreme points and zero crossing points is equal or differs by at most one, and the upper and lower envelopes of the local extreme values at any time point are zero on average:
[0064]
[0065] Among them, E(·) represents EMD decomposition, δ, are two noise amplitude coefficients, g i (t) is a Gaussian white noise signal that satisfies the standard normal distribution, f i (t) is 1 / f noise, i=1, 2, ..., N, i is the number of times the noise is added, γ i,1 is the residue after signal decomposition.
[0066] The N modal components generated are averaged to obtain
[0067] Step 2.2: Through singular value decomposition, the residual signal γi,1 Remove the linear correlation of the signal, that is, {γ i,1}=U∑V * , where U and V represent the matrix spanned by the eigenvectors, and ∑ represents the singular value matrix.
[0068] Select V * The columns corresponding to the non-zero singular values in are treated as a set of linearly independent vectors {v1, v2, …, v m},pass The standard orthogonal system {e1, e2, ..., e m}, where m <N。
[0069] Step 2.3: k-th decomposition, for the remainder r k-1 (t) Add positive and negative pairs of Gaussian white noise and 1 / f noise and decompose
[0070] Calculate the overall mean and get the IMF components of k decompositions
[0071] Step 2.4: Calculate the residual r k (t) = r k-1 (t)-IMF k (t), using the method in step 2.2, we can obtain the standard orthogonal system {e i,k}Construct orthogonal approximation Make sure that the L2 norm of the error between the residual signal and the fitting signal is less than ε, otherwise reselect the linearly independent vector group, that is:
[0072]
[0073] Among them, E k Represents the error value between the residual signal and the fitting signal, <r k , e i,k > represents the inner product in the Hilbert space; ε represents the error threshold.
[0074] Step 2.5: Repeat the above steps. If the residual signal r after the Kth decomposition K (t) Orthogonal approximation function If the decomposition is monotonic and has no local extreme value, the iteration stops. The specific algorithm implementation steps are as follows: Figure 4 shown.
[0075] Step 2.6: The decomposed signal is expressed as:
[0076]
[0077] Step 3: According to the ICA intelligent optimization criterion based on mutual information, the IMF modal components are further decomposed to obtain different types of electrooculographic signal components and noise components.
[0078] The following steps are involved:
[0079] Step 3.1: For each IMF modal component IMF i (t), calculate the correlation coefficient with the original signal, the correlation coefficient calculation expression is:
[0080]
[0081] Wherein, Ttp represents the total number of time points of the signal sequence y(t).
[0082] According to the absolute value of the correlation coefficient | R i |<ρ2、ρ2≤|R i |<ρ1,|R i |≥ρ1, divided into three different demand levels: selected, sub-selected and rough selected, where ρ1 and ρ2 are two correlation coefficient thresholds respectively.
[0083] Select the IMF components to combine and sort them by column to form new signal matrices X1, X2, and X3. Each column in the matrix represents a component, and the row represents the time series. The signal matrix is expressed as:
[0084]
[0085] Step 3.2: Analyze the independent source components of the signal matrix.
[0086] First, the signal is de-meaned and whitened to make its mean 0 and variance 1.
[0087] The correlation between the observed signals is removed by linear transformation, and the function approximation is selected after processing. The contrast function is expressed as:
[0088]
[0089] Where a1 represents a constant variable that affects the steepness or scale of the logarithm of the hyperbolic cosine function; u represents the independent variable.
[0090] Step 3.3: Take the direction in which the negative entropy increases fastest, that is, the gradient of the negative entropy, as the initialization value of W, W←E{xG′(Wx)}, where G′ represents the derivative of G(Wx).
[0091] Use the current separation matrix W to calculate the output signal S i =WX i , for each output signal component S i ={s1, s2, ..., s m}Estimate the probability density function p i (s i ), m is each signal matrix X i The number of IMF components in .
[0092] Step 3.4: Iterative optimization.
[0093] For the signal matrices X1, X2, and X3, the most suitable optimization criterion is selected to improve the effectiveness of the ICA decomposition and ensure that the decomposed components are as independent as possible at a specific level.
[0094] Step 3.4.1: For the selected signal matrix X1, select the log-likelihood maximization method to extract independent components with specific physiological significance from the complex electrooculographic data. Set the log-likelihood function expression:
[0095]
[0096] Among them, p i (s i ) is the probability density function, det(W) represents the determinant of the separation matrix W, and λ is the regularization strength parameter.
[0097] Update W1 using the adaptive learning rate method, namely:
[0098]
[0099] Among them, α is the learning rate; ∈ is a very small constant to ensure that the denominator is not zero; t is the number of iterations; and are the first-order and second-order moment estimates after bias correction, respectively, and the update expression is:
[0100]
[0101]
[0102]
[0103] in, represents the correction of the first-order moment estimate; is the gradient of the log-likelihood function with respect to W1; β1 and β2 are iteration parameters.
[0104] Step 3.4.2: For the sub-selected signal matrix X2, select the method of minimizing mutual information to ensure that the extracted signal components have high statistical independence.
[0105] Based on the estimated probability density function, the mutual information between the output signal components is calculated. Considering the scale uncertainty problem, the mutual information I(S) is approximately calculated as:
[0106]
[0107] Where J(S) represents negative entropy, J(S) = [E{G(S)}-E{G(v)}] 2 , where S is the output signal, v represents a Gaussian random vector with zero mean and unit variance, and m represents the number of components in the output signal matrix.
[0108] The gradient of mutual information I(S) with respect to the separation matrix W Update the separation matrix W2, and get the iterative formula of W2 as follows:
[0109]
[0110] Where η is the learning rate and h is a function that adjusts the learning rate according to the ratio of performance improvement between two consecutive iterations.
[0111] Step 3.4.3: For the coarse signal matrix X3, use Newton's method to update the separation matrix W3 and obtain the iterative formula:
[0112] W3←E{XG′(W3X)}-E{G″(W3X)}W3 (17)
[0113] Wherein, G′ represents the first-order derivative of the contrast function G(·), G″ represents the second-order derivative of the contrast function G(·), and X represents the signal matrix.
[0114] Step 3.4.4: Normalize W:
[0115] Iterative calculation, if ΔW is less than the set convergence threshold Or when the maximum number of iterations is reached, the iteration stops.
[0116] The final independent signal component is S i =W i X i , W i is the unmixing matrix, X i is the signal matrix composed of IMF components.
[0117] Step 4: Perform noise analysis on the obtained independent signal components to achieve signal denoising.
[0118] Observe the time series, spectral characteristics and spatial distribution of each independent component. Set the components with obvious energy concentration in a specific frequency band and the components with characteristics consistent with Gaussian white noise and 1 / f noise in spatial distribution to zero, and obtain S1′, S2′, and S3′ respectively.
[0119] The independent signal component matrices are concatenated in sequence as S′ = [S1′ S2′ S3′]. The reconstructed new signal matrix is X′ = W -1 S′, where X′ = [IMF1′, IMF2′, …, IMF K ′].
[0120] The reconstruction combination of IMF components has the following calculation formula:
[0121]
[0122] where y′(t) is the denoised signal.
[0123] Embodiment
[0124] This embodiment describes the implementation process of applying the method of the present invention to the scenario of electrooculogram signal processing.
[0125] In this embodiment, the data is from the publicly available dataset DEAP database. This database is based on physiological signals induced by music video materials, recording the physiological signals of 32 subjects watching 40 minutes of music videos (each music video is 1 minute) and the psychological scales of the subjects. The signal length of the collected electrooculogram signals is 63 s, downsampled to 128 Hz, and preliminarily band-pass filtered to 4 - 45 Hz.
[0126] Figure 1 is the flow schematic diagram of this method, Figure 2 is the specific algorithm step diagram of this method. It can be seen from the figure that the preprocessed electrooculogram signal is first obtained, and then the following steps are carried out:
[0127] Step 1: Extend the boundary of the collected electrooculogram signal by the method of fuzzy adaptive boundary fitting.
[0128] Step 1.1: Perform hybrid sampling on the electrooculogram signal.
[0129] Detect the start and end points of events of the electrooculogram signal according to the short-time energy change rate. The frame size M = 50, the step size for each frame is 10, the increase degree ψ of the threshold relative to the standard deviation is 0.8, and the energy threshold T = μ E + ψσ E . For each frame index i, if E i > T and R i > τ, then it is marked as the start of the event t s,i , until E i < T or R i < 1 / τ, it is marked as the end of the event t e,i , where the change rate threshold τ = 1.2. The event detection results are as Figure 5 shown.
[0130] Use a low sampling rate f L =64Hz to coarsely sample the electrooculogram signal and obtain the initial downsampled signal y L [n]. Use a higher sampling rate f according to the starting and ending points of the electrooculogram event. H =512Hz for detailed sampling to obtain y H [m]. Use equation 2 to perform linear interpolation to transition between high sampling rate and low sampling rate. According to equation 1, the final mixed sampling signal y is formed f [t].
[0131] Specifically in this example, the original number of sampling points is 8064, and the short-time energy detection event is calculated. After downsampling, the number of sampling points is n = 4032. There are 9 events in the horizontal electrooculogram signal within 63s, and the final mixed sampling sampling points have k = 4386; there are 11 events in the vertical electrooculogram signal within 63s, and the final mixed sampling sampling points have k = 4252. The signal sampling diagram after mixed sampling is as follows Figure 6 , 7 shown.
[0132] Step 1.2: Perform fuzzy adaptive fitting boundary extension on the sampled signal.
[0133] Calculate the distance d between the boundary point and the starting and ending points and the change rate r of the boundary point and use them as the input of the fuzzy model. Use Formula 3 to get the output fuzzy decision D. Select the fitting extension method according to the decision D, and extend it to the left / right to get the complete boundary extension sequence y′(t)={y f [t -M+1 ], …, y f [t0],y f [t1],…,y f [t N ], …, y f [t N+M ]}, M is the number of signal points extended to the left / right.
[0134] Specifically for this example, the fuzzy set settings are λ1 = 0.683, λ2 = 0.5; the membership function μ rat In the example, r0 is set to 0.6. 128 sampling points are extended from the two end points of the signal to both sides, that is, M = 128, and a total of 256 sampling points are extended.
[0135] Step 2: The double-coefficient double-type fusion noise method is used to implement the improved CEEMDAN to decompose the electrooculogram signal.
[0136] Step 2.1: Use equation 4 to add the positive and negative pairs of Gaussian white noise signals and 1 / f noise that meet the standard normal distribution to the extended signal to be decomposed, decompose the signal after adding noise for the i-th time, and calculate the overall mean IMF1. Integrate the linearly independent vector group to obtain the orthogonal system {e1, e2, …, e m}.
[0137] Specifically for this example, the noise amplitude coefficient ε = 0.01, Start by adding 100 times.
[0138] Step 2.2: k-th decomposition, for the remainder r k-1 (t) Add positive and negative paired Gaussian white noise and 1 / f noise to get a new signal. Perform EMD decomposition on the new signal to get the IMF component IMF k,i (t), the overall mean is calculated to obtain the IMF component, the residual is calculated and the standard orthogonal system {e i,k}Construct signal orthogonal approximation Formula 5 is used to calculate the error between the residual signal and the fitting signal to ensure that the error ε is less than 0.5.
[0139] Step 2.3: Perform the above processing on the residual signal and iterate to determine the orthogonal approximation signal function r K Is ′(t) a monotonic function? If so, the iteration stops and the decomposition of the improved CEEMDAN algorithm ends.
[0140] Specifically in this example, the vertical electrooculogram signal and the horizontal electrooculogram signal are decomposed by CEEMDAN respectively, and 11 IMF modes are obtained respectively. The reconstructed signal is obtained by calculating formula 6. The result after signal decomposition is as follows Figure 8 , 9 shown.
[0141] Step 3: Based on the ICA intelligent optimization criterion under mutual information, the IMF component combination is further decomposed, and the noise components are screened and removed.
[0142] Step 3.1: Calculate the correlation coefficient between the IMF modal component and the original signal, and calculate the absolute value of the correlation coefficient |R i |>0.8、0.5<|R i |<0.8, |R i |<0.5, select the modal component IMF i (t), sort by columns to form new signal matrices X1, X2, and X3, and the matrix expression 8 is respectively the selected matrix, the sub-selected matrix, and the coarsely selected matrix.
[0143] Step 3.2: Perform ICA decomposition preprocessing on the signal, perform function approximation through Equation 9, and use the gradient of negative entropy as the initialization value of W, that is, W←E{xG′(Wx)}.
[0144] Step 3.3: Iterative optimization. Use the current separation matrix W to calculate the output signal S = WX, for each output signal component S = {s1, s2, ..., s M}Estimate the probability density function p i (s i ).
[0145] For the selected signal matrix X1, based on the estimated probability density function, the log-likelihood function is calculated using the method in formula 10, the adaptive learning rate method in formula 11 is used to update W1, and the parameters in formula 11 are updated using formulas 12-14. Initialization α = 0.001, m0 = 0, v0 = 0, β1 = 0.9, β2 = 0.999, ∈ = 10 -8 .
[0146] For the sub-selected signal matrix X2, the mutual information between the output signal components is calculated using equation 15. The separation matrix W2 is updated using equation 16. Initialize h=1, η=0.01.
[0147] For the coarse selection signal matrix X3, the separation matrix is updated using Newton's method, i.e., iterative formula 17.
[0148] Step 3.4: W i Normalize The calculation is repeated until the stopping condition is met.
[0149] Step 4: Perform noise analysis on the obtained independent signal components. Set the components with obvious energy concentration in a specific frequency band and the components with characteristics consistent with Gaussian white noise and 1 / f noise in spatial distribution to zero, perform signal reconstruction, and use Equation 18 to obtain the reconstructed signal.
Claims
1. The electrooculogram processing method based on the improved MIBSS-CEEMDAN is characterized by: The following steps are involved: Step 1: Fuzzy adaptive boundary information fitting; For the upper and lower boundaries of the preprocessed electrooculogram signals, the fuzzy decision tree algorithm is used to evaluate the possible events of the electrooculogram, and then decompose and generate reasonable signal boundaries to reduce the boundary defects in the decomposition process; Step 2: For the positive and negative paired Gaussian white noise and 1 / f noise, a denoising method with dual coefficients and dual types is designed to perform an improved CEEMDAN decomposition on the electrooculogram signal; Step 2.1: Add positive and negative pairs of Gaussian white noise and 1 / f noise to the extended signal y′(t) to be decomposed N times, and decompose it to ensure that in the entire time range, the number of local extreme points and zero crossing points is equal or differs by at most one, and the upper and lower envelopes of the local extreme values at any time point are zero on average: Among them, E(·) represents EMD decomposition, δ, are two noise amplitude coefficients, g i (t) is a Gaussian white noise signal that satisfies the standard normal distribution, f i (t) is 1 / f noise, i=1, 2, ..., N, i is the number of times the noise is added, γ i,1 is the residual after signal decomposition; The N modal components generated are averaged to obtain Step 2.2: Through singular value decomposition, the residual signal γ i,1 Remove the linear correlation of the signal, that is, {γ i,1 }=U∑V * , where U and V represent the matrix of eigenvectors, and Σ represents the singular value matrix; Select V * The columns corresponding to the non-zero singular values in are treated as a set of linearly independent vectors {v1, v2, …, v m },pass The standard orthogonal system {e1, e2, ..., e m }, where m<N; Step 2.3: k-th decomposition, for the remainder r k-1 (t) Add positive and negative pairs of Gaussian white noise and 1 / f noise and decompose Calculate the overall mean and get the IMF components of k decompositions Step 2.4: Calculate the residual r k (t) = r k-1 (t)-IMF k (t), using the method in step 2.2, we can obtain the standard orthogonal system {e i,k }Construct orthogonal approximation Make sure that the L2 norm of the error between the residual signal and the fitting signal is less than ε, otherwise reselect the linearly independent vector group, that is: Among them, E k Represents the error value between the residual signal and the fitting signal, <r k , e i,k > represents the inner product in the Hilbert space; ε represents the error threshold; Step 2.5: Repeat the above steps; if the residual signal r after the Kth decomposition K (t) Orthogonal approximation function If it is monotonic and has no local extreme value, and cannot be decomposed further, the iteration stops; Step 2.6: The decomposed signal is expressed as: Step 3: According to the ICA intelligent optimization criterion based on mutual information, the IMF modal components are further decomposed to obtain different types of electrooculographic signal components and noise components; Step 3.1: For each IMF modal component IMF i (t), calculate the correlation coefficient with the original signal, the correlation coefficient calculation expression is: Wherein, Ttp represents the total number of time points of the signal sequence y(t); According to the absolute value of the correlation coefficient | R i |<ρ2、ρ2≤|R i |<ρ1、|R i |≥ρ1, divided into three different demand levels: selected, sub-selected and rough selected, where ρ1 and ρ2 are two correlation coefficient thresholds respectively; Select the IMF components to combine and sort them by column to form new signal matrices X1, X2, X3; each column in the matrix represents a component, and the row represents the time series. The signal matrix is expressed as: Step 3.2: Analyze the independent source components of the signal matrix; First, the signal is de-meaned and whitened to make its mean 0 and variance 1; The correlation between the observed signals is removed by linear transformation, and the function approximation is selected after processing. The contrast function is expressed as: Where a1 represents a constant variable that affects the steepness or scale of the logarithm of the hyperbolic cosine function; u represents the independent variable; Step 3.3: Take the direction in which the negative entropy increases fastest, that is, the gradient of the negative entropy, as the initialization value of W, W←E{xG′(Wx)}, where G′ represents the derivative of G(Wx); Use the current separation matrix W to calculate the output signal S i =WX i , for each output signal component S i ={s1, s2, ..., s m }Estimate the probability density function p i (s i ), m is each signal matrix X i The number of IMF components; Step 3.4: Iterative optimization; For the signal matrices X1, X2, and X3, the most suitable optimization criteria are selected to improve the effectiveness of the ICA decomposition and ensure that the decomposed components are as independent as possible at a specific level; Step 3.4.1: For the selected signal matrix X1, select the log-likelihood maximization method to extract independent components with specific physiological significance from the complex electrooculographic data; set the log-likelihood function expression: Among them, p i (s i ) is the probability density function, det(W) represents the determinant of the separation matrix W, and λ is the regularization strength parameter; Update W1 using the adaptive learning rate method, namely: Among them, α is the learning rate; ∈ is a very small constant to ensure that the denominator is not zero; t is the number of iterations; and are the first-order and second-order moment estimates after bias correction, respectively, and the update expression is: in, represents the correction of the first-order moment estimate; is the gradient of the log-likelihood function with respect to W1; β1 and β2 are iteration parameters; Step 3.4.2: For the sub-selected signal matrix X2, select the method of minimizing mutual information; Based on the estimated probability density function, the mutual information between the output signal components is calculated; the mutual information I(S) is approximately calculated as: Where J(S) represents negative entropy, J(S) = [E{G(S)}-E{G(v)}] 2 , where S is the output signal, v represents a Gaussian random vector with zero mean and unit variance, and m represents the number of components in the output signal matrix; The gradient of mutual information I(S) with respect to the separation matrix W Update the separation matrix W2, and get the iterative formula of W2 as follows: Where η is the learning rate, and h is a function that adjusts the learning rate according to the ratio of performance improvement between two consecutive iterations; Step 3.4.3: For the coarse signal matrix X3, use Newton's method to update the separation matrix W3 and obtain the iterative formula: W3←E{XG′(W3X)}-E{G″(W3X)}W3 Where G′ represents the first-order derivative of the contrast function G(·), G″ represents the second-order derivative of the contrast function G(·), and X represents the signal matrix; Step 3.4.4: Normalize W: Iterative calculation, if ΔW is less than the set convergence threshold Or when the maximum number of iterations is reached, the iteration is stopped; The final independent signal component is S i =W i X i , W i is the unmixing matrix, X i is the signal matrix composed of IMF components; Step 4: Perform noise analysis on the obtained independent signal components to achieve signal denoising.
2. The electrooculogram processing method based on improved MIBSS-CEEMDAN as claimed in claim 1, characterized in that: Step 1 includes the following steps: Step 1.1: Perform high / low mixed sampling on the original electrooculogram signal y(t), where t is continuous time and f L For low sampling rate, f H For high sampling rate; Step 1.1.1: Use the short-time energy change rate method to detect the start and end points of the electrooculogram signal; First, the electrooculogram signal is divided into frames and weighted to calculate the energy of each frame. where y i [n] is the sample value in each frame of the signal, n = 0, 1, ..., M-1, M is the frame size, ω[n] is the Hamming window function; Then, calculate the rate of change of each adjacent frame Where ζ is a very small positive number to avoid division by zero; Define the short-time energy threshold STE = μ E +ψσ E , where μ E , σ E are the mean and standard deviation of the frame energy E, respectively, and ψ is used to adjust the degree of increase of the threshold relative to the standard deviation; For each frame index i, if E i >STE and R i >τ, then it is marked as the start of event t s,i Until E i <STE or R i <1 / τ, marked as the end of the event t e,i , where STE is the energy threshold and τ is the change rate threshold; Step 1.1.2: According to the start and end points t of the event s,i ,t e,i Perform position indexing and high / low mixed sampling of electrooculogram signals; The sampled signal y f [t] is represented by: Among them, y L [n] is the low sampling rate f L Sampling signal segment; y H [m] is the high sampling rate f H Sampling signal segment; In t s,i and t e,i Within the edge area 2Δt, linear interpolation is used to obtain the sampled signal y l [t]: Among them, t i The starting and ending points of the event are t s,i or e,i , Δt is a very small sampling interval; Step 1.2: Sampled signal y f [t], design a fuzzy adaptive boundary information fitting method; Step 1.2.1: Based on the event start and end points t obtained in step 1.1.1 i , taking the start and end positions of the signal as boundary points, calculate the boundary point t b and the event start and end points t i Distance d, d = t b -t i , the boundary point change rate Where Δt is a very small sampling interval; Step 1.2.2: Design fuzzy rules; According to the size of the distance d, define the distance fuzzy set A far and A near , define two change rate fuzzy sets B according to the change rate r of the boundary point High and B Low ; Make rules based on four possible scenarios: If d∈A far , r∈B Low , then the signal changes smoothly at the boundary point, and the linear regression method LR is used; If d∈A far , r∈B High , then the boundary point is in the case of drastic signal changes, but the changes are not directly related to the event itself, the polynomial fitting method PCF is used; If d∈A near , r∈B Low , then the boundary point is near the start and end points of the event but the signal changes relatively slowly, and the support vector regression method SVR is used; If d∈A near And r∈B High , then the boundary point is located within the event occurrence, and the nonlinear least squares method NLS is used; Among them, the distance membership function is set to Gaussian function e represents the exponential function; the membership function of the rate of change is the sigmoid function r0 is the change rate threshold; λ1 and λ2 are two membership function thresholds respectively; D is the output variable decision, Step 1.2.3: Design a fuzzy adaptive boundary fitting information method; Assume that the training sample set is A = {(h1, g1), (h2, g2), ..., (h l , g l )}, where h i , g i is the i-th input / output vector, h i =[y f (t i ), y f (t i+1 ), …, y f (t N-l+i-1 )] T , g i =[y f (t i ), y f (t i+1 ), …, y f (t N-l+i )] T , 1≤i≤l, l is the number of training sample sets, where T represents the matrix transpose; the test sample set B={(h N-s+1 , g N-s+1 ),...,(h N , g N )}, 1≤s≤Nl is the number of test samples, where h N , g N is the Nth input / output vector; The fuzzy set of distance d and rate of change r is used to select decision D for training; based on formula 1, the signal y f [t] performs right extension and outputs right extension F = {y f [t1],y f [t2], …, y f [t N ],y f [t N+1 ]}, where y f [t N+1 ] is the first boundary signal of the signal extended to the right; repeat the above steps to obtain the entire right extension sequence y according to the number of extended data points required f [t N+1 ]、y f [t N+2 ], …, y f [t N+M ]; Similarly, according to formula 1, the signal is extended to the left to obtain the complete left extended sequence y f [t -M+1] ,y f [t -M+2 ], …, y f [t0], where M is the number of signal points extended to the left / right; Finally, the left extension sequence, the original signal sequence, and the right extension sequence are sorted to form a new signal sequence y′(t), y′(t)={y f [t -M+1 ], …, y f [t0],y f [t1],…,y f [t N ], …, y f [t N+M ]}.
3. The electrooculogram processing method based on improved MIBSS-CEEMDAN as claimed in claim 1, characterized in that: Step 4 includes the following steps: Observe the time series, spectral characteristics and spatial distribution of each independent component; set the components with obvious energy concentration in a specific frequency band and the components with characteristics consistent with Gaussian white noise and 1 / f noise in spatial distribution to zero, and obtain S1′, S2′, and S3′ respectively; The independent signal component matrices are concatenated in order S′=[S1′ S2′ S3′]; the new signal matrix is reconstructed as X′=W-1S′, where X′=[IMF1′, IMF2′, …, IMF K ′]; IMF component reconstruction combination, the formula is as follows: Among them, y′(t) is the denoised signal.
Citation Information
Patent Citations
Myoelectrical denoising method based on CEEMD (complementary ensemble empirical mode decomposition) and interval thresholds
CN109589114A
Electrocardiosignal denoising method based on improved EMD (Empirical mode decomposition) and threshold method fusion
CN110680308A
Ultrasonic signal measurement method based on ICEEMDAN and ICA combined denoising
CN110940409A
ICEEMDAN partial discharge denoising method based on Pearson's correlation coefficient
CN114757233A
FastICA-based ocular artifact self-recognition and elimination method, device and equipment and medium
CN117462145A
