CN116671932A - Depression brain electric signal extraction method based on wavelet and self-adaptive filtering - Google Patents

Depression brain electric signal extraction method based on wavelet and self-adaptive filtering Download PDF

Info

Publication number
CN116671932A
CN116671932A CN202310660335.5A CN202310660335A CN116671932A CN 116671932 A CN116671932 A CN 116671932A CN 202310660335 A CN202310660335 A CN 202310660335A CN 116671932 A CN116671932 A CN 116671932A
Authority
CN
China
Prior art keywords
wavelet
signal
signals
depression
coefficient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310660335.5A
Other languages
Chinese (zh)
Inventor
林海军
刘国建
孟令洲
杜海龙
张俊鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin University of Science and Technology
Original Assignee
Harbin University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin University of Science and Technology filed Critical Harbin University of Science and Technology
Priority to CN202310660335.5A priority Critical patent/CN116671932A/en
Publication of CN116671932A publication Critical patent/CN116671932A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/165Evaluating the state of mind, e.g. depression, anxiety
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • A61B5/372Analysis of electroencephalograms
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/725Details of waveform analysis using specific filters therefor, e.g. Kalman or adaptive filters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7253Details of waveform analysis characterised by using transforms
    • A61B5/726Details of waveform analysis characterised by using transforms using Wavelet transforms
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Psychiatry (AREA)
  • Public Health (AREA)
  • Molecular Biology (AREA)
  • Biomedical Technology (AREA)
  • Pathology (AREA)
  • Biophysics (AREA)
  • Medical Informatics (AREA)
  • Veterinary Medicine (AREA)
  • General Health & Medical Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Surgery (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physiology (AREA)
  • Psychology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Developmental Disabilities (AREA)
  • Hospice & Palliative Care (AREA)
  • Algebra (AREA)
  • Software Systems (AREA)
  • Child & Adolescent Psychology (AREA)
  • Computational Mathematics (AREA)
  • Educational Technology (AREA)
  • General Engineering & Computer Science (AREA)
  • Social Psychology (AREA)
  • Databases & Information Systems (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention discloses a depression electroencephalogram signal extraction method based on wavelet and self-adaptive filtering, which aims at the defects that the extraction effect is not ideal under the condition of low signal-to-noise ratio of the adaptive filtering, the extraction effect is good when the signal-to-noise ratio is high, and the extraction effect is poor when the signal-to-noise ratio is low, and the wavelet analysis method is used for preprocessing an input signal, filtering noise signals such as electrooculogram, electrocardiograph, myoelectric and the like, and improving the signal-to-noise ratio of the noise-containing signal; after wavelet decomposition is carried out on the extracted electroencephalogram signals, an adaptive filtering algorithm is introduced into wavelet coefficients of each layer for filtering; the electroencephalogram signals are obtained through wavelet coefficient reconstruction, the electroencephalogram signals extracted by the method are clear and neat, compared with the adaptive filtering algorithm, the convergence step length of the algorithm is increased, the convergence speed and stability of the LMS algorithm are improved, and noise is well suppressed; the invention is helpful for improving the diagnosis and treatment effect of depression, promoting the progress of brain-computer interface technology and promoting the development of brain-computer interface technology.

Description

Depression brain electric signal extraction method based on wavelet and self-adaptive filtering
Technical Field
The invention belongs to the technical field of bioelectric signal processing, and particularly relates to a depression electroencephalogram signal extraction method based on wavelet and adaptive filtering.
Background
Depression is a common, chronic recurrent disease, manifested by a marked and persistent depression in the mood, accompanied by corresponding changes in thinking and behavior, with a tendency to recurrent attacks, normal intermittent mental functioning, without residual personality defects. At present, about 5% of people in China have psychological disorders with different degrees, about 15% of depression patients die from suicide, and in recent years, the tendency is rising. Depressive disorders have become an increasingly serious public health problem in our country. A joint study by the world health organization, world banks and Harvard university has shown that depression has become the second most serious disease burden in China. Experts speculate that the 21 st century is the peak in the onset of depression. However, most patients with depression are not correctly diagnosed and treated due to the lack of knowledge of the disease in the past. With the current state of research and development, patients with depression have no positive results from specific laboratory tests. Therefore, the current depression diagnosis method is to perform comprehensive analysis and evaluation on various data (cognition, emotion, personality, social functions and the like) obtained from various information sources (patient, relatives and outpatients) by various data collection methods (interviews, behavioral observations, psychological tests, laboratory physiological examinations and the like) so as to make the most reliable diagnosis and evaluation of symptom severity. However, such time consuming, cumbersome and uneconomical diagnostic procedures are difficult to use in practical clinical practice.
Electroencephalogram (EEG) is an electrical activity signal of nerve cells recorded through the cerebral cortex, and has many kinds of brain wave rhythms and various changes. The heart state affects the changes of brain waves in various emotions. Research shows that the brain electrical signals of depression patients show abnormal phenomena in parameters such as rhythms, amplitude, power and the like. The united states Maixner recognizes that slow wave sleep, particularly reduced total sleep, may be a characteristic of depression and other mental disorders, and is more stable in sleep monitored overnight, presumably a marker of diathesis. Lauer found that this reduction in total sleep volume was associated with ventricle size. There are many studies supporting that MMN reduction is a predisposition marker for depression, indicating that persistent MMN reduction in depression is independent of psychotropic drugs and also occurs in the first-degree relatives of depression. These features make it believed that the EEG researchers must have a great deal of information available to us in EEG signals. Thus, intensive research into EEG has been significant in diagnosing mental disorders.
Disclosure of Invention
Aiming at the technical requirements, the invention discloses a depression electroencephalogram signal extraction method based on wavelet and adaptive filtering, which can improve the convergence rate of the adaptive filtering, improve the accuracy of acquiring depression electroencephalogram signals and forcefully inhibit the noise of signals.
The purpose of the invention is realized in the following way:
a depression electroencephalogram signal extraction method based on wavelet and adaptive filtering comprises the following steps:
step a, acquiring brain electrical signal data of a patient suffering from depression;
step b, preprocessing the signals by using a wavelet analysis method, selecting a proper wavelet basis function to carry out wavelet decomposition, filtering out useless physiological electric signals such as electrooculogram, myoelectricity, electrocardiograph and the like, and improving the signal-to-noise ratio of the signals;
step c, extracting the electroencephalogram signals by a self-adaptive filtering algorithm, and performing secondary wavelet transformation on the electroencephalogram signals;
step d, taking the reconstructed noise as a reference input of the adaptive filter, and performing adaptive filtering processing to obtain a denoising signal;
and e, reconstructing the signals obtained in the step d and the brain electrical signals of each frequency band in the step b to obtain the effective brain electrical signals of the patient suffering from depression.
According to the depression electroencephalogram signal extraction method based on wavelet and adaptive filtering, after the electroencephalogram signal data are collected, amplified and filtered through the signal collecting unit, the electroencephalogram signal data are converted into digital signals through the A/D converter and are sent to the real-time electroencephalogram signal processing module, and the real-time electroencephalogram signal processing module is used for eliminating noise caused by interference and physiological artifacts.
Step b, realizing wavelet decomposition by adopting a Mallat algorithm, and decomposing signals into wavelet coefficients with different scales, wherein the basic formula of the Mallat algorithm is as follows:
where j is the scale of the wavelet transform, k is the index corresponding to the scale factor or wavelet coefficient, w j,k For the kth wavelet coefficient in the jth layer wavelet decomposition, n represents the position in the time domain, x j+1,2k-n For the 2k-n low frequency coefficients in the j+1 layer wavelet decomposition, y j+1,2k-n In order to obtain the 2k-n high frequency coefficients in the j+1 layer wavelet decomposition, h (n) is the low pass filter coefficient at the n-th sampling point in the wavelet decomposition, and g (n) is the high pass filter coefficient at the n-th sampling point in the wavelet decomposition.
For the detail coefficient of each scale, low-pass filtering or high-pass filtering is realized by setting a threshold value so as to remove noise signals.
Wavelet reconstruction is carried out on the processed approximation coefficient and detail coefficient to obtain a denoised signal, and the basic formula of the wavelet reconstruction is as follows:
wherein x is n N is the position in time domain, J is the scale of wavelet transformation, k is the index corresponding to scale coefficient or wavelet coefficient, J is the highest number of layers of decomposition,for the low-pass filter coefficients at the moment of the j-th layer k +.>For the high-pass filter coefficient at the j-th layer k moment, a j,k,n For the approximation coefficient of the jth layer of the nth sampling point, d j,k,n Is the detail coefficient of the jth layer at the nth sampling point.
The beneficial effects are that:
the invention relates to a depression electroencephalogram signal extraction method based on wavelet and self-adaptive filtering. After wavelet decomposition is carried out on the extracted electroencephalogram signals, an adaptive filtering algorithm is introduced into each layer of wavelet coefficients for filtering, and then the electroencephalogram signals are obtained through wavelet coefficient reconstruction, so that the electroencephalogram signals extracted by the method are clear and neat, compared with the adaptive filtering algorithm, the convergence step length of the algorithm is increased, the convergence speed and stability of the LMS algorithm are improved, noise is better suppressed, and more accurate and stable electroencephalogram signals can be provided for brain-computer interface technology; in addition, the brain-computer interface technology is used, so that the brain-computer signal of a person can be connected with external equipment, and man-machine interaction is realized.
Drawings
FIG. 1 is a flow chart of a method for extracting an electrical signal of a depressive disorder brain based on wavelet and adaptive filtering of the present invention;
FIG. 2 is a different signal-to-noise ratio signal extraction;
fig. 3 is a signal waveform of wavelet denoising in combination with adaptive filtering.
Detailed Description
The following describes the embodiments of the present invention in further detail with reference to the accompanying drawings.
Detailed description of the preferred embodiments
The depression electroencephalogram signal extraction method based on wavelet and adaptive filtering in the specific embodiment comprises the following steps of:
step a, acquiring brain electrical signal data of a patient suffering from depression;
step b, preprocessing the signals by using a wavelet analysis method, selecting a proper wavelet basis function to carry out wavelet decomposition, filtering out useless physiological electric signals such as electrooculogram, myoelectricity, electrocardiograph and the like, and improving the signal-to-noise ratio of the signals;
step c, extracting the electroencephalogram signals by a self-adaptive filtering algorithm, and performing secondary wavelet transformation on the electroencephalogram signals;
step d, taking the reconstructed noise as a reference input of the adaptive filter, and performing adaptive filtering processing to obtain a denoising signal;
and e, reconstructing the signals obtained in the step d and the brain electrical signals of each frequency band in the step b to obtain the effective brain electrical signals of the patient suffering from depression.
According to the depression electroencephalogram signal extraction method based on wavelet and adaptive filtering, after the electroencephalogram signal data are collected, amplified and filtered through the signal collecting unit, the electroencephalogram signal data are converted into digital signals through the A/D converter and are sent to the real-time electroencephalogram signal processing module, and the real-time electroencephalogram signal processing module is used for eliminating noise caused by interference and physiological artifacts.
Step b, realizing wavelet decomposition by adopting a Mallat algorithm, and decomposing signals into wavelet coefficients with different scales, wherein the basic formula of the Mallat algorithm is as follows:
where j is the scale of the wavelet transform, k is the index corresponding to the scale factor or wavelet coefficient, w j,k For the kth wavelet coefficient in the jth layer wavelet decomposition, n represents the position in the time domain, x j+1,2k-n For the 2k-n low frequency coefficients in the j+1 layer wavelet decomposition, y j+1,2k-n In order to obtain the 2k-n high frequency coefficients in the j+1 layer wavelet decomposition, h (n) is the low pass filter coefficient at the n-th sampling point in the wavelet decomposition, and g (n) is the high pass filter coefficient at the n-th sampling point in the wavelet decomposition.
For the detail coefficient of each scale, low-pass filtering or high-pass filtering is realized by setting a threshold value so as to remove noise signals.
Wavelet reconstruction is carried out on the processed approximation coefficient and detail coefficient to obtain a denoised signal, and the basic formula of the wavelet reconstruction is as follows:
wherein x is n N is the position in time domain, J is the scale of wavelet transformation, k is the index corresponding to scale coefficient or wavelet coefficient, J is the highest number of layers of decomposition,for the low-pass filter coefficients at the moment of the j-th layer k +.>For the high-pass filter coefficient at the j-th layer k moment, a j,k,n For the approximation coefficient of the jth layer of the nth sampling point, d j,k,n Is the detail coefficient of the jth layer at the nth sampling point.
Detailed description of the preferred embodiments
The method for extracting the depression electroencephalogram signal based on the wavelet and the adaptive filtering in the specific embodiment expands on the basis of the first specific embodiment and comprises the following steps of:
step a, acquiring brain electrical signal data of a patient suffering from depression;
extracting EEG signals by using an EEG signal acquisition system; the specific implementation mode is as follows: an EEG brain electricity acquisition system Neuroscan which is one of the tools for acquiring and analyzing brain electricity data with the largest internationally-used range and extremely strong professional is used for acquisition; it mainly includes electrode cap, power supply box, head box, control box, collecting and analyzing tool and stimulating tool. In the acquisition process, synAmps is an amplifier adopted in a Neuroscan electroencephalogram acquisition and analysis system. After the processing of the head box amplifier, the acquired original signals can be amplified, the digital conversion of the signals is completed, the SynAmps amplifier can ensure that the distortion of the signals is reduced to the minimum, and the repeated stimulation is carried out 4000 times in the process of acquiring the EEG signals for subsequent processing.
Step b, preprocessing the signals by using a wavelet analysis method, selecting a proper wavelet basis function to carry out wavelet decomposition, filtering out useless physiological electric signals such as electrooculogram, myoelectricity, electrocardiograph and the like, and improving the signal-to-noise ratio of the signals;
and selecting a proper wavelet base, preprocessing an input signal by using a wavelet analysis method, filtering useless interference signals such as electrooculogram, myoelectricity, electrocardiograph and the like, and improving the specific rule of the signal-to-noise ratio of the signal. Aiming at the time domain characteristics of the depression brain electrical signals, the sound induction brain electrical signals are effectively extracted in the time domain, and the induction signals can be accurately extracted by selecting wavelet basis functions in combination with the clinical characteristics of the hearing induction brain stem reaction signals. These characteristics are optimized for the signal to be extracted based on the characteristics of the wavelet basis function, such as tight support, regularization, orthogonality and double crossover, symmetry, vanishing distance.
Step c, extracting the electroencephalogram signals by a self-adaptive filtering algorithm, and performing secondary wavelet transformation on the electroencephalogram signals;
step d, taking the reconstructed noise as a reference input of the adaptive filter, and performing adaptive filtering processing to obtain a denoising signal;
step e, reconstructing the signals obtained in the step d and the brain electrical signals of each frequency band in the step b to obtain effective brain electrical signals of the patient suffering from depression;
mixed signal f (t) =s (t) +d i (t), s (t) is the original brain electrical signal, d i (t) is a noise signal mixed in an electroencephalogram signal, mainly comprising some noises caused by electrooculogram, myoelectricity and the like, and recovering a real signal from the undistorted f (t), wherein the step of adopting a wavelet threshold to remove noise is as follows:
(1) Selecting proper wavelet base phi (t) and corresponding decomposition scale j for carrying out binary discrete wavelet transformation on the signal containing noise to obtain wavelet coefficient w on each scale i,k
(2) And processing the wavelet coefficient by adopting a certain threshold t and a corresponding threshold processing function to obtain a processed coefficient.
(3) For the processed coefficient w i,k Performing small sizeWave reconstruction yields an estimated signal for the true signal s.
The specific principle of denoising and filtering the depression brain electrical signal by using adaptive filtering and analyzing and combining wavelet is as follows:
input signal vector: x (n) = [ X (n), X (n-1), …, X (n-m+1)] T
Input signal weight coefficient vector: w (n) = [ W (n), W (n-1), …, W (n-m+1)] T
The output signal y (n) is the product of the input vector X (n) and the weight coefficient vector W (n):
filter output error: e (n) =d (n) -W T (n)X(n)
The weight coefficient vector of the current moment is output through the step factor mu and the error of the previous moment, so that E [ E ] 2 (n)]At a minimum, the output error only preserves the portion that is uncorrelated with x (n): e (E (n) x (n-M))=0, 0.ltoreq.m.ltoreq.M-1
The weight coefficient vector at the current moment obtained by using the step factor, the weight coefficient vector obtained at the previous moment and the output error can be expressed as follows: w (n+1) =w (n) -2 μe (n) X (n)
The mean square value of the output error is shown as:
fig. 1 is a flowchart of a method for extracting a wavelet and adaptively filtered depression brain electrical signal.
Fig. 2 is a graph of signal extraction waveforms for different signal to noise ratios, resulting in a clean waveform by increasing the signal to noise ratio.
The unknown channel is in a Finite Impulse Response (FIR) structure, an adaptive filter in the FIR structure is constructed, a pseudo-random series is used as an input signal x (n) of the system, and the input signal x (n) is simultaneously sent into the unknown channel system and the adaptive filter. The coefficients of the adaptive filter are adjusted such that the mean square error of the error signal e (n) is minimized and the output y (n) of the adaptive filter is approximately equal to the output d (n) of the communication system. It can be demonstrated that the presence of additive noise v (n) does not affect the final convergence of the adaptive filter to the optimal wiener solution.
Two FIR systems with the same input and similar output should have similar characteristics. Thus, the characteristics of the adaptive filter or its unit impulse response may be employed to approximate the characteristics or unit impulse response of the replacement unknown system. The adaptive filter consists of two parts, one part being a digital filter for performing the desired signal processing and the other part being an adaptive algorithm for adjusting the filter coefficients (or weights). The minimum mean square error criterion four minimizes the mean square value of the output e (k) of the canceller, namely: e (k) =e [ E ] 2 (k)]。
e (k) is called a criterion function, the calculation process of the adaptive filtering algorithm is as follows, and then the output z (k) of the filter is calculated at the moment k; calculating e (k) =y (k) -z (k); calculating the next filter parameter according to the principle of minimizing the criterion function e; k=k+1, and jump to (1) gradually iterate E [ E ] 2 (k)]Approximation es 2 (k)]This is to make e (k) successive to s (k), and when the algorithm converges, the measured signal s (k) with noise removed is obtained from the output of the canceller.
The input signal x (n) is passed through a digital filter with adjustable parameters to produce an output signal y (n) which is compared with a reference signal d (n) to form an error signal e (n). In design, knowledge about the statistical properties of the input signal and noise is not required in advance, and the required statistical properties can be gradually known or estimated in the working process of the user. And based on the change, the method automatically adjusts own parameters to achieve the optimal filtering effect, and once the statistical characteristics of the input signals change, the method can track the change, automatically adjusts the parameters, and enables the filter to reach the optimal again.
Signal x (k) =s (k) +v (k), where x (k) is the useful signal to be extracted and v (k) is the noise signal, the correlation with v (k) is not considered in the simulation. The wavelet is a Harr wavelet function, and multi-layer wavelet decomposition is performed according to analysis x (k) pairs. Signal signalThe noise of (2) is concentrated in a high frequency band, and the approximate component of the multi-layer filtering can remove part of the noise and is used as the input of the self-adaptive filter. The self-adaptive filtering algorithm adopts LMS algorithm, when the mean square error E [ E ] 2 (k)]The output x (k) will approach the signal s (k). And further, the error in the depression brain electrical signal can be reduced, so that the brain electrical signal is further extracted. Because the convergence rate of the LMS algorithm is sensitive to the distribution of the characteristic values of the autocorrelation function matrix of the signal, the strong correlation of the input signal can cause the dispersion of the characteristic values of the autocorrelation matrix of the input signal, namely, the maximum value and the minimum value of the characteristic values have larger difference, the convergence rate and the accuracy can be affected to a certain extent at the moment, an adaptive filtering algorithm based on wavelet decomposition and reconstruction are provided, the convergence rate of the adaptive filtering can be improved, the accuracy of acquiring the depression brain electrical signals is improved, and the noise of the signal is forcefully restrained.
Fig. 3 is a waveform of a signal denoised by wavelet combining adaptive filtering, where an original signal is decomposed into a plurality of subband signals of different scales by wavelet transformation, then each subband signal is subjected to adaptive filtering, and finally the processed signal is reconstructed into a denoised signal.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explanation of the principles of the present invention and are in no way limiting of the invention. Accordingly, any modification, equivalent replacement, improvement, etc. made without departing from the spirit and scope of the present invention should be included in the scope of the present invention. Furthermore, the appended claims are intended to cover all such changes and modifications that fall within the scope and boundary of the appended claims, or equivalents of such scope and boundary.

Claims (5)

1. The method for extracting the depression brain electrical signal based on the wavelet and the adaptive filtering is characterized by comprising the following steps of:
step a, acquiring brain electrical signal data of a patient suffering from depression;
step b, preprocessing the signals by using a wavelet analysis method, selecting a proper wavelet basis function to carry out wavelet decomposition, filtering out useless physiological electric signals such as electrooculogram, myoelectricity, electrocardiograph and the like, and improving the signal-to-noise ratio of the signals;
step c, extracting the electroencephalogram signals by a self-adaptive filtering algorithm, and performing secondary wavelet transformation on the electroencephalogram signals;
step d, taking the reconstructed noise as a reference input of the adaptive filter, and performing adaptive filtering processing to obtain a denoising signal;
and e, reconstructing the signals obtained in the step d and the brain electrical signals of each frequency band in the step b to obtain the effective brain electrical signals of the patient suffering from depression.
2. The depression electroencephalogram signal extraction method based on wavelet and adaptive filtering according to claim 1, wherein the electroencephalogram signal data is collected, amplified and filtered by a signal collection unit, and then converted into a digital signal by an A/D converter to be sent to a real-time electroencephalogram signal processing module, and the real-time electroencephalogram signal processing module is used for eliminating noise caused by interference and physiological artifacts.
3. The method for extracting the depression electroencephalogram based on wavelet and adaptive filtering according to claim 2, wherein the step b is characterized in that a Mallat algorithm is adopted to realize wavelet decomposition, signals are decomposed into wavelet coefficients with different scales, and the basic formula of the Mallat algorithm is as follows:
where j is the scale of the wavelet transform, k is the index corresponding to the scale factor or wavelet coefficient, w j,k For the kth wavelet coefficient in the jth layer wavelet decomposition, n represents the position in the time domain, x j+1,2k-n For the 2k-n low frequency coefficients in the j+1 layer wavelet decomposition, y j+1,2k-n For the 2k-n high frequency coefficients in the j+1 layer wavelet decomposition, h (n) is the low pass filter coefficient at the n-th sampling point in the wavelet decomposition, g (n) is the high at the n-th sampling point in the wavelet decompositionAnd (5) passing filter coefficients.
4. A method for extracting an electroencephalogram signal from depression based on wavelet and adaptive filtering according to claim 3, wherein the method comprises the following steps: for the detail coefficient of each scale, low-pass filtering or high-pass filtering is realized by setting a threshold value so as to remove noise signals.
5. The method for extracting the depression electroencephalogram based on wavelet and adaptive filtering according to claim 4, wherein the method comprises the following steps of: wavelet reconstruction is carried out on the processed approximation coefficient and detail coefficient to obtain a denoised signal, and the basic formula of the wavelet reconstruction is as follows:
wherein x is n N is the position in time domain, J is the scale of wavelet transformation, k is the index corresponding to scale coefficient or wavelet coefficient, J is the highest number of layers of decomposition,for low pass filter coefficients at the j-th layer k instant,for the high-pass filter coefficient at the j-th layer k moment, a j,k,n For the approximation coefficient of the jth layer of the nth sampling point, d j,k,n Is the detail coefficient of the jth layer at the nth sampling point.
CN202310660335.5A 2023-06-06 2023-06-06 Depression brain electric signal extraction method based on wavelet and self-adaptive filtering Pending CN116671932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310660335.5A CN116671932A (en) 2023-06-06 2023-06-06 Depression brain electric signal extraction method based on wavelet and self-adaptive filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310660335.5A CN116671932A (en) 2023-06-06 2023-06-06 Depression brain electric signal extraction method based on wavelet and self-adaptive filtering

Publications (1)

Publication Number Publication Date
CN116671932A true CN116671932A (en) 2023-09-01

Family

ID=87788549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310660335.5A Pending CN116671932A (en) 2023-06-06 2023-06-06 Depression brain electric signal extraction method based on wavelet and self-adaptive filtering

Country Status (1)

Country Link
CN (1) CN116671932A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117633442A (en) * 2024-01-24 2024-03-01 小舟科技有限公司 Brain-computer interface signal preprocessing method and computer equipment
CN117672457A (en) * 2023-12-15 2024-03-08 山东奥洛瑞医疗科技有限公司 Micro-feedback intelligent knee rehabilitation nursing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117672457A (en) * 2023-12-15 2024-03-08 山东奥洛瑞医疗科技有限公司 Micro-feedback intelligent knee rehabilitation nursing method and device
CN117633442A (en) * 2024-01-24 2024-03-01 小舟科技有限公司 Brain-computer interface signal preprocessing method and computer equipment
CN117633442B (en) * 2024-01-24 2024-05-10 小舟科技有限公司 Brain-computer interface signal preprocessing method and computer equipment

Similar Documents

Publication Publication Date Title
Sun et al. A novel end-to-end 1D-ResCNN model to remove artifact from EEG signals
CN110353672B (en) System and method for removing eye artifacts in electroencephalogram signals
CN116671932A (en) Depression brain electric signal extraction method based on wavelet and self-adaptive filtering
CN106709469B (en) Automatic sleep staging method based on electroencephalogram and myoelectricity multiple characteristics
Nayak et al. Filtering techniques for ECG signal processing
CN108309290A (en) The automatic removal method of Muscle artifacts in single channel EEG signals
Li et al. ECG denoising method based on an improved VMD algorithm
CN108577834A (en) A method of it is detected automatically for phase spike between epilepsy
Patil et al. Quality advancement of EEG by wavelet denoising for biomedical analysis
CN109480832A (en) The removing method of Muscle artifacts in a kind of single pass EEG signals
AU2020103949A4 (en) EEG Signal Mixed Noise Processing Method, Equipment and Storage Medium
Bortolan et al. Dynamic filtration of high-frequency noise in ECG signal
Al-kadi et al. Compatibility of mother wavelet functions with the electroencephalographic signal
Wang et al. Wavelet transform based ECG denoising using adaptive thresholding
CN112426162A (en) Fatigue detection method based on electroencephalogram signal rhythm entropy
Sharma EEG signal denoising based on wavelet transform
CN112861625A (en) Method for determining stacking denoising autoencoder model
CN114403896A (en) Method for removing ocular artifacts in single-channel electroencephalogram signal
CN103816007A (en) Equipment and method for tinnitus treatment based on electroencephalogram frequency-domain characteristic indexation algorithm
Heydari et al. Adaptive wavelet technique for EEG de-noising
CN116172576A (en) Electroencephalogram signal artifact removing method based on multi-module neural network
CN114757236B (en) Electroencephalogram signal denoising optimization method and system based on TQWT and SVMD
CN111493864B (en) EEG signal mixed noise processing method, equipment and storage medium
Dembrani et al. Accurate detection of ECG signals in ECG monitoring systems by eliminating the motion artifacts and improving the signal quality using SSG filter with DBE
Murthy et al. Design and implementation of hybrid techniques and DA-based reconfigurable FIR filter design for noise removal in EEG signals on FPGA

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination