CN106236083B - Equipment for removing ocular artifacts in sleep state analysis - Google Patents
Equipment for removing ocular artifacts in sleep state analysis Download PDFInfo
- Publication number
- CN106236083B CN106236083B CN201610840431.8A CN201610840431A CN106236083B CN 106236083 B CN106236083 B CN 106236083B CN 201610840431 A CN201610840431 A CN 201610840431A CN 106236083 B CN106236083 B CN 106236083B
- Authority
- CN
- China
- Prior art keywords
- intrinsic mode
- mode functions
- signal
- eeg signals
- eeg
- 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.)
- Active
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/369—Electroencephalography [EEG]
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
- A61B5/4812—Detecting sleep stages or cycles
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7203—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7221—Determining signal validity, reliability or quality
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7225—Details of analogue processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Veterinary Medicine (AREA)
- Public Health (AREA)
- Animal Behavior & Ethology (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Surgery (AREA)
- Molecular Biology (AREA)
- Psychiatry (AREA)
- Artificial Intelligence (AREA)
- Physiology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Power Engineering (AREA)
- Psychology (AREA)
- Eye Examination Apparatus (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
本发明涉及一种睡眠状态分析中去除眼电伪迹的设备,包括:脑电电极、眼电电极、参考电极及其连接的模数转换器,以及通过模数转换器和滤波电路连接的处理器;脑电电极用于检测原始脑电信号;眼电电极用于采集眼电信号;模数转换器用于模数转换,滤波电路用于低频滤波后输入至处理器;处理器,用于对每帧滤波后的脑电信号进行经验模态分解,将其分解成若干个本征模函数,计算各个本征模函数与同一时刻的眼电信号之间的相关系数;查找并删除相关系数大于预设阈值的本征模函数和相关系数最大的本征模函数,利用剩余的本征模函数重建每帧脑电信号。本发明可以减少去除眼电伪迹过程对脑电信号的波形的影响,保留了原始信号的大部分细节信息。
The invention relates to a device for removing electro-oculogram artifacts in sleep state analysis, including: EEG electrodes, electro-oculogram electrodes, reference electrodes and analog-to-digital converters connected thereto, and the processing connected through the analog-to-digital converters and filter circuits The electroencephalogram electrode is used to detect the original electroencephalogram signal; the oculoelectric electrode is used to collect the oculoelectric signal; the analog-to-digital converter is used for analog-to-digital conversion, and the filter circuit is used for low-frequency filtering and then input to the processor; the processor is used for The EEG signal after each frame filtering is subjected to empirical mode decomposition, decomposed into several eigenmode functions, and the correlation coefficient between each eigenmode function and the oculoelectric signal at the same time is calculated; find and delete the correlation coefficient greater than The eigenmode function with the preset threshold and the eigenmode function with the largest correlation coefficient are used to reconstruct the EEG signal of each frame by using the remaining eigenmode function. The invention can reduce the influence of the electrooculograph artifact removal process on the waveform of the electroencephalogram signal, and retain most of the detail information of the original signal.
Description
技术领域technical field
本发明涉及辅助睡眠技术领域,特别是涉及一种睡眠状态分析中去除眼电伪迹的设备。The invention relates to the technical field of sleep aids, in particular to a device for removing oculoelectric artifacts in sleep state analysis.
背景技术Background technique
在睡眠中,人体进行了自我放松及恢复的过程,因此良好的睡眠是保持身体健康的一项基本条件;但是由于工作压力大、生活作息不规律等原因,导致了部分人群的睡眠质量欠佳,表现为失眠、半夜惊醒等。During sleep, the human body undergoes a process of self-relaxation and recovery, so good sleep is a basic condition for maintaining good health; however, due to work pressure, irregular life schedule and other reasons, some people have poor sleep quality , manifested as insomnia, waking up in the middle of the night, etc.
目前市面上已经有一些设备来帮助人们入睡,提高睡眠质量。例如在某一特定睡眠状态下通过声音、光信号等人工干预,避免在熟睡状态下叫醒用户等。对于辅助睡眠的设备而言,为了真正达到提高用户睡眠质量的目的,正确的识别用户的睡眠状态是非常重要的。There are already some devices on the market to help people fall asleep and improve the quality of sleep. For example, in a specific sleep state, manual intervention such as sound and light signals can be used to avoid waking up the user in a deep sleep state. For devices that assist sleep, in order to really achieve the purpose of improving the user's sleep quality, it is very important to correctly identify the user's sleep state.
多导睡眠图(Polysomnography,PSG),又称睡眠脑电图,是目前临床上用于睡眠诊断和分析的“金标准”。多导睡眠图利用多种生命体征例如脑电、肌电(颌下)、眼电、呼吸、血氧等对睡眠进行分析。在这些体征信号中,脑电图(electroencephalogram,EOG)处于核心地位。脑电图是利用精密的电子仪器,在头皮上将来自大脑皮层产生的电活动加以记录并放大的波形信号。由于脑电图的信号非常微弱(微伏级),容易被来自其他部位的生物电信号干扰。当眼电信号幅值较低时(即没有较强烈眼球/眼睑活动如眨眼等),眼电信号对脑电信号的干扰比较微弱。而眼电信号幅值较高时,由于眼电信号的频率比正常脑电信号低,高幅值的眼电信号叠加在脑电信号上就形成了一个类似于基线漂移的现象。Polysomnography (PSG), also known as sleep EEG, is currently the "gold standard" for clinical sleep diagnosis and analysis. Polysomnography uses a variety of vital signs such as EEG, EMG (submandibular), Oculoelectricity, respiration, blood oxygen, etc. to analyze sleep. Among these signs and signals, the electroencephalogram (EOG) is at the core. An electroencephalogram is a waveform signal that uses sophisticated electronic instruments to record and amplify the electrical activity from the cerebral cortex on the scalp. Since the EEG signal is very weak (microvolt level), it is easily interfered by bioelectrical signals from other parts. When the amplitude of the EEG signal is low (that is, there is no strong eyeball/eyelid activity such as blinking), the interference of the EEG signal on the EEG signal is relatively weak. When the amplitude of the EEG signal is high, because the frequency of the EEG signal is lower than that of the normal EEG signal, the high-amplitude EEG signal is superimposed on the EEG signal to form a phenomenon similar to baseline drift.
为了降低眼电信号所带来的影响,目前有很多去除眼电伪迹的方法。独立成分分析(Indepdent component analysis,ICA)是一种常用的方法。它首先假设输入信号都是统计独立的非高斯的信号的线性组合,然后利用线性变换将来自于信号分离。它的缺点是(1)输入信号的假设条件在实际使用中并不能完全满足;(2)对于分离后的多个信号,还需要进一步判断哪些信号是“纯净的”脑电信号,哪些信号是被分离出的眼电信号。此外,还有方法假设了一个眼电信号对脑电信号的影响因子(如0.2),然后利用脑电信号减去乘以影响因子的眼电信号的方法去除眼电伪迹,如公式:EEGpure=EEGoriginal-0.2*EOG,由于存在个体差异及眼电电极的位置的不同,一个固定的影响因子并不能很好的适应不同的个体。In order to reduce the impact of electro-oculogram signals, there are currently many methods for removing electro-oculogram artifacts. Independent component analysis (Indepdent component analysis, ICA) is a commonly used method. It first assumes that the input signals are a linear combination of statistically independent non-Gaussian signals, and then uses a linear transformation to separate them from the signals. Its disadvantages are (1) the assumed conditions of the input signal cannot be fully satisfied in actual use; (2) for multiple separated signals, it is necessary to further judge which signals are "pure" EEG signals and which signals are The separated electro-oculogram signal. In addition, there is a method that assumes an influence factor (such as 0.2) of the electrooculogram signal on the EEG signal, and then removes the electrooculogram artifact by subtracting the electrooculogram signal multiplied by the influence factor from the EEG signal, such as the formula: EEG pure =EEG original -0.2*EOG, due to individual differences and differences in the location of the electro-oculogram electrodes, a fixed impact factor cannot be well adapted to different individuals.
此外,由于在睡眠状态分析中,脑电信号的波形是一个很重要的睡眠状态指标。例如纺锤波和K复合波的出现,表示进入了非眼快动睡眠的S2期。经过传统方法处理后的脑电信号的波形往往会发生变化,影响了后续对脑电信号的分析效果。In addition, in the sleep state analysis, the waveform of the EEG signal is a very important sleep state indicator. For example, the appearance of spindle waves and K complex waves indicates that the S2 phase of non-rapid eye movement sleep has entered. The waveform of the EEG signal processed by the traditional method often changes, which affects the subsequent analysis of the EEG signal.
发明内容Contents of the invention
基于此,有必要针对上述问题,提供一种睡眠状态分析中去除眼电伪迹的设备,减少去除眼电伪迹过程对脑电信号的波形的影响,确保后续对脑电信号的分析效果。Based on this, it is necessary to address the above problems and provide a device for removing EEG artifacts in sleep state analysis, reducing the influence of the EEG artifact removal process on the waveform of EEG signals, and ensuring the subsequent analysis of EEG signals.
一种睡眠状态分析中去除眼电伪迹的设备,包括:脑电电极、眼电电极、参考电极、模数转换器、滤波电路以及处理器;A device for removing electro-oculogram artifacts in sleep state analysis, comprising: EEG electrodes, electro-oculogram electrodes, reference electrodes, analog-to-digital converters, filter circuits and processors;
所述脑电电极、眼电电极、参考电极分别连接模数转换器,并依次通过所述模数转换器和滤波电路连接至处理器;The EEG electrodes, oculoelectric electrodes, and reference electrodes are respectively connected to the analog-to-digital converter, and are connected to the processor through the analog-to-digital converter and the filter circuit in turn;
所述脑电电极用于检测用户在睡眠中的脑电信号;所述眼电电极用于采集用户在睡眠中的眼电信号;The EEG electrodes are used to detect the EEG signals of the user during sleep; the electro-oculogram electrodes are used to collect the EEG signals of the user during sleep;
所述模数转换器将眼电信号和脑电信号转换为数字信号,所述滤波电路对眼电信号和脑电信号进行低频滤波后输入至处理器;The analog-to-digital converter converts the electro-oculogram signal and the electroencephalogram signal into digital signals, and the filter circuit performs low-frequency filtering on the electro-oculogram signal and the electroencephalogram signal before inputting them to the processor;
所述处理器,用于对每帧滤波后的脑电信号进行经验模态分解,将其分解成若干个本征模函数,计算各个本征模函数与同一时刻的眼电信号之间的相关系数;查找并删除相关系数大于预设阈值的本征模函数和相关系数最大的本征模函数,利用剩余的本征模函数重建每帧脑电信号。The processor is used to perform empirical mode decomposition on the filtered EEG signal of each frame, decompose it into several eigenmode functions, and calculate the correlation between each eigenmode function and the electrooculogram signal at the same time Coefficient; find and delete the intrinsic mode function with the correlation coefficient greater than the preset threshold and the intrinsic mode function with the largest correlation coefficient, and use the remaining intrinsic mode function to reconstruct the EEG signal of each frame.
上述睡眠状态分析中去除眼电伪迹的设备,利用眼电电极采集的用户的眼电信号和脑电电极采集的脑电信号,经过模数转换和滤波处理后,由处理器对每帧滤波后的脑电信号进行经验模态分解,将其分解成若干个本征模函数,计算各个本征模函数与同一时刻的眼电信号之间的相关系数;查找并删除相关系数大于预设阈值的本征模函数和相关系数最大的本征模函数,利用剩余的本征模函数重建每帧脑电信号。该设备可以减少去除眼电伪迹过程对脑电信号的波形的影响,保留了信号的大部分细节信息,确保后续对脑电信号的分析效果。In the sleep state analysis mentioned above, the equipment for removing the electrooculogram artifacts uses the electrooculogram signals of the user collected by the electro-oculogram electrodes and the electroencephalogram signals collected by the electroencephalogram electrodes. After analog-to-digital conversion and filtering, the processor filters each frame. The final EEG signal is subjected to empirical mode decomposition, decomposed into several eigenmode functions, and the correlation coefficient between each eigenmode function and the oculoelectric signal at the same time is calculated; find and delete the correlation coefficient greater than the preset threshold The eigenmode function and the eigenmode function with the largest correlation coefficient are used to reconstruct the EEG signal of each frame by using the remaining eigenmode function. The device can reduce the influence of the EEG artifact removal process on the waveform of the EEG signal, retain most of the details of the signal, and ensure the subsequent analysis of the EEG signal.
附图说明Description of drawings
图1为一个实施例的睡眠状态分析中去除眼电伪迹的设备的结构示意图图;FIG. 1 is a schematic structural diagram of a device for removing electrooculogram artifacts in sleep state analysis of an embodiment;
图2是处理器去除眼电伪迹的算法流程图;Fig. 2 is the algorithm flow chart of removing the electrooculograph artifact by the processor;
图3是去除眼电伪迹的实验数据结果示意图。Fig. 3 is a schematic diagram of the experimental data results of removing electroocular artifacts.
具体实施方式detailed description
下面结合附图阐述本发明的睡眠状态分析中去除眼电伪迹的设备的实施例。Embodiments of the device for removing oculograph artifacts in sleep state analysis of the present invention will be described below with reference to the accompanying drawings.
参考图1所示,图1为本发明的睡眠状态分析中去除眼电伪迹的设备的结构示意图,包括:脑电电极、眼电电极、参考电极、模数转换器、滤波电路以及处理器;Referring to Fig. 1, Fig. 1 is a schematic structural diagram of a device for removing electrooculogram artifacts in sleep state analysis of the present invention, including: EEG electrodes, electro-oculogram electrodes, reference electrodes, analog-to-digital converters, filter circuits and processors ;
所述脑电电极、眼电电极、参考电极分别连接模数转换器,并依次通过所述模数转换器和滤波电路连接至处理器;The EEG electrodes, oculoelectric electrodes, and reference electrodes are respectively connected to the analog-to-digital converter, and are connected to the processor through the analog-to-digital converter and the filter circuit in turn;
所述脑电电极用于检测用户在睡眠中的脑电信号;所述眼电电极用于采集用户在睡眠中的眼电信号;The EEG electrodes are used to detect the EEG signals of the user during sleep; the electro-oculogram electrodes are used to collect the EEG signals of the user during sleep;
所述模数转换器将眼电信号和脑电信号转换为数字信号,所述滤波电路对眼电信号和脑电信号进行低频滤波后输入至处理器;The analog-to-digital converter converts the electro-oculogram signal and the electroencephalogram signal into digital signals, and the filter circuit performs low-frequency filtering on the electro-oculogram signal and the electroencephalogram signal before inputting them to the processor;
所述处理器,用于对每帧滤波后的脑电信号进行经验模态分解,将其分解成若干个本征模函数,计算各个本征模函数与同一时刻的眼电信号之间的相关系数;查找并删除相关系数大于预设阈值的本征模函数和相关系数最大的本征模函数,利用剩余的本征模函数重建每帧脑电信号。The processor is used to perform empirical mode decomposition on the filtered EEG signal of each frame, decompose it into several eigenmode functions, and calculate the correlation between each eigenmode function and the electrooculogram signal at the same time Coefficient; find and delete the intrinsic mode function with the correlation coefficient greater than the preset threshold and the intrinsic mode function with the largest correlation coefficient, and use the remaining intrinsic mode function to reconstruct the EEG signal of each frame.
上述实施例的睡眠状态分析中去除眼电伪迹的设备,利用眼电电极采集的用户的眼电信号和脑电电极采集的脑电信号,经过模数转换和滤波处理后,由处理器对每帧滤波后的脑电信号进行经验模态分解,将其分解成若干个本征模函数,计算各个本征模函数与同一时刻的眼电信号之间的相关系数;查找并删除相关系数大于预设阈值的本征模函数和相关系数最大的本征模函数,利用剩余的本征模函数重建每帧脑电信号。该设备可以减少去除眼电伪迹过程对脑电信号的波形的影响,保留了信号的大部分细节信息,确保后续对脑电信号的分析效果。In the device for removing electrooculogram artifacts in the sleep state analysis of the above-mentioned embodiments, the electrooculogram signals of the user collected by the electro-oculogram electrodes and the electroencephalogram signals collected by the electroencephalogram electrodes are processed by the processor after analog-to-digital conversion and filtering. The EEG signal after each frame filtering is subjected to empirical mode decomposition, decomposed into several eigenmode functions, and the correlation coefficient between each eigenmode function and the oculoelectric signal at the same time is calculated; find and delete the correlation coefficient greater than The eigenmode function with the preset threshold and the eigenmode function with the largest correlation coefficient are used to reconstruct the EEG signal of each frame by using the remaining eigenmode function. The device can reduce the influence of the EEG artifact removal process on the waveform of the EEG signal, retain most of the details of the signal, and ensure the subsequent analysis of the EEG signal.
后续可以利用该设备输出的脑电信号进行睡眠状态监测和分析等,当然,该后续的处理也可以在所述处理器上去实现。Subsequently, the EEG signal output by the device can be used to monitor and analyze the sleep state, etc. Of course, the subsequent processing can also be implemented on the processor.
在一个实施例中,所述脑电电极设置在用户的额头位置;所述参考电极设置在用户的耳垂;所述眼电电极设置在眼角位置;如图1所示,图中,脑电电极即图中的“M”,眼电电极包括左右两个电极,即图中的“ROC”和“LOC”,参考电极设置在用户的耳垂,即图中“R”和“L”,加速度传感器即图中“AT”。滤波电路主要是进行低通滤波和滤除工频干扰,为了适应于脑电信号和眼电信号的处理,滤波电路滤波后,输出0-256Hz频段的信号至处理器。In one embodiment, the EEG electrodes are set on the user's forehead; the reference electrodes are set on the user's earlobe; the eye-electric electrodes are set on the corners of the eyes; That is "M" in the figure, the oculoelectric electrode includes left and right electrodes, namely "ROC" and "LOC" in the figure, the reference electrode is set on the user's earlobe, namely "R" and "L" in the figure, the acceleration sensor It is "AT" in the figure. The filter circuit is mainly for low-pass filtering and filtering out power frequency interference. In order to adapt to the processing of EEG signals and electro-oculogram signals, the filter circuit outputs signals in the 0-256Hz frequency band to the processor after filtering.
对于去除眼电伪迹功能,主要通过处理器来进行,基于处理器实现的功能,可以在处理器中配置相应的算法模块。The function of removing the electro-ocular artifact is mainly performed by the processor, and based on the functions realized by the processor, corresponding algorithm modules can be configured in the processor.
处理器去除眼电伪迹的算法流程包括(1)~(5),具体如下:The algorithm flow of the processor to remove the oculoelectric artifacts includes (1) to (5), as follows:
(1)处理器控制眼电电极和脑电电极根据设定帧长度采集用户的眼电信号和脑电信号;(1) The processor controls the electro-oculogram electrodes and EEG electrodes to collect the electro-oculogram signals and EEG signals of the user according to the set frame length;
如在对用户进行辅助睡眠等睡眠状态分析中,处理器可以以设定帧长度,通过用户佩戴的眼电电极和脑电电极,采集用户在睡眠过程中产生的眼电信号和脑电信号。在采集信号时,可以以30s为一帧进行采集,后续对每帧眼电信号和脑电信号进行分析处理。For example, in the sleep state analysis of the user such as assisted sleep, the processor can set the frame length to collect the electro-oculogram and electroencephalogram signals generated by the user during sleep through the oculoelectric electrodes and electroencephalogram electrodes worn by the user. When collecting signals, 30s can be used as a frame for collection, and subsequent analysis and processing of each frame of electro-ocular signals and electroencephalogram signals.
(2)对该帧脑电信号进行经验模态分解,将其分解成若干个本征模函数,得到本征模函数集合;(2) Carry out empirical mode decomposition to the frame of EEG signal, decompose it into several eigenmode functions, and obtain the eigenmode function set;
在此,处理器对脑电信号进行经验模态分解,将其分解成若干个本征模函数(Intrinsic Mode Function,IMF)和残差函数(Redisual,Re)之和的形式。Here, the processor performs empirical mode decomposition on the EEG signal, and decomposes it into the form of the sum of several intrinsic mode functions (Intrinsic Mode Function, IMF) and residual function (Redisual, Re).
本征模函数集合包括如下公式:The set of eigenmode functions includes the following formulas:
式中,EEGoriginal表示脑电信号,imfi表示第i个本征模函数,Re表示残差函数。In the formula, EEG original represents the EEG signal, imf i represents the i-th eigenmode function, and Re represents the residual function.
(3)分别计算所述本征模函数集合的各个本征模函数与同一时刻的眼电信号之间的相关系数;(3) Calculate the correlation coefficient between each eigenmode function of the eigenmode function set and the electrooculogram signal at the same moment respectively;
参考图2,图2是处理器去除眼电伪迹的算法流程图,脑电信号进行经验模态分解后,得到本征模函数集合,分别计算本征模函数1-n(imf1~imfn)与眼电信号EOG的相关系数1-n(corrcoef1~corrcoefn)。Referring to Fig. 2, Fig. 2 is a flow chart of the algorithm for the processor to remove electrooculogram artifacts. After the EEG signal is subjected to empirical mode decomposition, the set of intrinsic mode functions is obtained, and the intrinsic mode functions 1-n(imf 1 ~imf n ) Correlation coefficient 1-n (corrcoef 1 ˜corrcoef n ) with the electrooculogram signal EOG.
(4)查找出相关系数大于预设阈值的本征模函数和相关系数最大的本征模函数,并将其从本征模函数集合中删除;(4) find out the eigenmode function whose correlation coefficient is greater than the preset threshold and the eigenmode function with the largest correlation coefficient, and delete it from the eigenmode function set;
如图2所示,通过设定阈值,在计算完相关系数后,将相关系数大于阈值的本征模函数和相关系数最大的本征模函数删除,剩下的m个本征模函数。As shown in Figure 2, by setting the threshold, after the correlation coefficient is calculated, the eigenmode function with the correlation coefficient greater than the threshold and the eigenmode function with the largest correlation coefficient are deleted, leaving m eigenmode functions.
作为一个实施例,在计算完相关系数后,处理器还可以用于在相关系数大于预设阈值的本征模函数中;计算本征模函数与眼电信号的欧氏距离;从欧氏距离最小的本征模函数从本征模函数集合中剔除。As an embodiment, after calculating the correlation coefficient, the processor can also be used in the intrinsic mode function whose correlation coefficient is greater than the preset threshold; calculate the Euclidean distance between the intrinsic mode function and the electrooculogram signal; from the Euclidean distance The smallest eigenmode function is eliminated from the set of eigenmode functions.
类似的,在计算完相关系数后,处理器还可以用于在相关系数大于预设阈值的本征模函数中;计算本征模函数与眼电信号的余弦距离;从余弦距离最小的本征模函数从本征模函数集合中剔除。Similarly, after calculating the correlation coefficient, the processor can also be used in the eigenmode function whose correlation coefficient is greater than the preset threshold; calculate the cosine distance between the eigenmode function and the electrooculogram signal; from the eigenmode function with the smallest cosine distance The modulus function is excluded from the set of intrinsic modulus functions.
通过上述实施例,在相关系数判断基础上结合了欧氏距离或余弦距离判断,可以将与相关系数判断中无法去除的更多遗留的眼电伪迹去除。Through the above-mentioned embodiment, the determination of Euclidean distance or cosine distance is combined with the determination of the correlation coefficient, so that more residual electroocular artifacts that cannot be removed in the determination of the correlation coefficient can be removed.
(5)利用本征模函数集合中剩余的本征模函数重建该帧脑电信号;(5) Utilize the remaining eigenmode functions in the eigenmode function set to reconstruct the frame of EEG signal;
处理器在去除了眼电伪迹后,利用剩下的m个本征模函数重建去除了眼电伪迹后的脑电信号。作为一个实施例,处理器在重建脑电信号时,根据本征模函数的排列顺序,选择本征模函数集合中位置靠前的若干个本征模函数进行重建脑电信号。After removing the electro-oculogram artifacts, the processor uses the remaining m eigenmode functions to reconstruct the EEG signals after removing the electro-oculogram artifacts. As an embodiment, when the processor reconstructs the EEG signal, according to the order of the eigenmode functions, the processor selects a number of eigenmode functions at the front in the eigenmode function set to reconstruct the EEG signal.
该实施例中,由于本征模函数的排列顺序是按频率由大到小,并且与眼电信号相似度最高的本征模函数一般排列在中间位置,因此在重建脑电信号时,可以仅利用前若干个本征模函数,删除包括相似度最高的本征模函数在内的频率较低的本征模函数后,再重建脑电信号。In this embodiment, since the order of the intrinsic mode functions is from large to small according to the frequency, and the intrinsic mode functions with the highest similarity to the electrooculogram signal are generally arranged in the middle position, when reconstructing the EEG signal, only Using the first few eigenmode functions, delete the eigenmode functions with lower frequency including the eigenmode function with the highest similarity, and then reconstruct the EEG signal.
其中,处理器可以采用如下公式重建脑电信号:Wherein, the processor can use the following formula to reconstruct the EEG signal:
式中,EEGpure表示重建的脑电信号,corrcoef表示相关系数,imfi表示第i个本征模函数,EOG表示眼电信号,corrcoefmax表示最大的相关系数,thre表示预设的相关系数阈值。In the formula, EEG pure represents the reconstructed EEG signal, corrcoef represents the correlation coefficient, imf i represents the i-th eigenmode function, EOG represents the oculoelectric signal, corrcoef max represents the maximum correlation coefficient, and thre represents the preset correlation coefficient threshold .
在一个实施例中,处理器可以在对脑电信号进行经验模态分解前,先将脑电信号帧划分为N个时间窗口,并对每个时间窗口的脑电信号进行本征模函数分解;以及在重建脑电信号后,将各个时间窗口重建的脑电信号进行合并,得到脑电信号帧。In one embodiment, the processor may divide the EEG signal frame into N time windows before performing EMD on the EEG signal, and perform eigenmode function decomposition on the EEG signal in each time window ; and after reconstructing the EEG signal, combining the EEG signals reconstructed in each time window to obtain the EEG signal frame.
上述实施例,通过将采集的脑电信号帧划分多个时间窗口并行处理,能够加快信号处理速度,提高睡眠状态分析的效率。In the above embodiments, by dividing the collected EEG signal frames into multiple time windows for parallel processing, the speed of signal processing can be accelerated and the efficiency of sleep state analysis can be improved.
例如,以30s一帧为例,可以以5s或10s为一个时间窗口长度。For example, taking a frame of 30s as an example, a time window length of 5s or 10s can be used.
本发明的睡眠状态分析中去除眼电伪迹的设备,只去除高幅度眼电所造成的类似于基线漂移的伪迹,并且保留了信号的大部分细节信息;后续使用该脑电信号去进行睡眠状态分析时,可以得到更好的效果。The device for removing electrooculogram artifacts in sleep state analysis of the present invention only removes artifacts similar to baseline drift caused by high-amplitude electrooculograms, and retains most of the detailed information of the signal; the subsequent use of the EEG signal to perform Better results can be obtained when sleep state analysis is performed.
参考图3所示,图3是去除眼电伪迹的实验数据结果示意图。图3(a)为采集的脑电信号,图3(b)为采集的眼电信号,图3(c)比较了去除眼电伪迹前后的脑电信号(图中,①为脑电信号;②为去除眼电伪迹后的脑电信号),下图是上图截取部分放大图,可以发现,上述区间内的数据点之间,由眼电带来的幅度较大的深V形波动被本方案给消除的同时,并且保留了较多的信息。Referring to FIG. 3 , FIG. 3 is a schematic diagram of experimental data results for removing electrooculus artifacts. Figure 3(a) is the collected EEG signal, Figure 3(b) is the collected EEG signal, and Figure 3(c) compares the EEG signal before and after removing the EEG artifact (in the figure, ① is the EEG signal ;②It is the EEG signal after removing the oculograph artifacts), the figure below is an enlarged part of the intercepted part of the above figure, and it can be found that between the data points in the above interval, there is a deep V-shaped While the fluctuation is eliminated by this scheme, more information is retained.
相对于传统方法(如ICA等)将输入的多路信号视为经过线性组合后的多路源信号,并试图将这些信号彼此分离,能在周期信号上传统方法能获得比较好的效果。而且对于脑电信号而言,由于脑电信号和眼电信号都可以视为随机信号,并且脑电信号容易受到外部干扰,很难将脑电信号和眼电信号彻底分离开,此时脑电信号就会混入额外的噪声信号,加大了后续信号处理分析的难度。而本发明的技术方案,只去除高幅度眼电带来的类似于基线漂移的伪迹,保留了信号的大部分细节信息。因此有利于后续的基于时域的脑电信号分析方法的处理。Compared with traditional methods (such as ICA, etc.), which regard the input multi-channel signals as multi-channel source signals after linear combination, and try to separate these signals from each other, the traditional method can obtain better results on periodic signals. Moreover, for the EEG signal, since the EEG signal and the EEG signal can be regarded as random signals, and the EEG signal is easily subject to external interference, it is difficult to completely separate the EEG signal from the EEG signal. The signal will be mixed with additional noise signals, which increases the difficulty of subsequent signal processing and analysis. However, the technical solution of the present invention only removes artifacts similar to baseline drift caused by high-amplitude electro-oculograms, and retains most of the detailed information of the signal. Therefore, it is beneficial to the subsequent processing of the EEG signal analysis method based on the time domain.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The various technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610840431.8A CN106236083B (en) | 2016-09-21 | 2016-09-21 | Equipment for removing ocular artifacts in sleep state analysis |
| PCT/CN2016/113143 WO2018053968A1 (en) | 2016-09-21 | 2016-12-29 | Device for removing electrooculograph artifact in sleep condition analysis |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610840431.8A CN106236083B (en) | 2016-09-21 | 2016-09-21 | Equipment for removing ocular artifacts in sleep state analysis |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106236083A CN106236083A (en) | 2016-12-21 |
| CN106236083B true CN106236083B (en) | 2018-02-16 |
Family
ID=57600065
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610840431.8A Active CN106236083B (en) | 2016-09-21 | 2016-09-21 | Equipment for removing ocular artifacts in sleep state analysis |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106236083B (en) |
| WO (1) | WO2018053968A1 (en) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106236083B (en) * | 2016-09-21 | 2018-02-16 | 广州视源电子科技股份有限公司 | Equipment for removing ocular artifacts in sleep state analysis |
| CN107510453B (en) * | 2017-10-12 | 2019-12-24 | 北京翼石科技有限公司 | Forehead area electroencephalogram analysis method |
| CN110558977A (en) * | 2019-09-09 | 2019-12-13 | 西北大学 | epileptic seizure electroencephalogram signal classification method based on machine learning fuzzy feature selection |
| CN112971778A (en) * | 2021-02-09 | 2021-06-18 | 北京师范大学 | Brain function imaging signal obtaining method and device and electronic equipment |
| CN113081002B (en) * | 2021-03-31 | 2023-03-31 | 灵犀医学科技(北京)有限公司 | Electroencephalogram signal artifact removing method and device and electronic equipment |
| CN113208614A (en) * | 2021-04-30 | 2021-08-06 | 南方科技大学 | Electroencephalogram noise reduction method and device and readable storage medium |
| CN114403896B (en) * | 2022-01-14 | 2023-08-25 | 南开大学 | Method for removing ocular artifacts in single-channel electroencephalogram signals |
| CN114788701B (en) * | 2022-04-15 | 2025-04-25 | 复旦大学 | An eye movement detection and analysis system based on multi-channel array electrooculogram electrodes |
| CN114886388B (en) * | 2022-07-12 | 2022-11-22 | 浙江普可医疗科技有限公司 | Evaluation method and device for quality of electroencephalogram signal in anesthesia depth monitoring process |
| CN115186719B (en) * | 2022-08-08 | 2025-08-29 | 太原理工大学 | A method and system for extracting features of electroencephalogram signals |
| CN117251774B (en) * | 2023-08-18 | 2025-04-25 | 中国兵器工业计算机应用技术研究所 | Training method and device for electroencephalogram signal artifact removal and artifact removal model |
| CN119523499B (en) * | 2024-10-29 | 2025-05-06 | 北京师范大学 | A method and device for evaluating electroencephalogram data quality |
| CN119848472B (en) * | 2025-03-20 | 2025-06-06 | 慧云(大连)智能科技有限公司 | Electroencephalogram signal processing system for sleep analysis |
| CN120052916B (en) * | 2025-04-28 | 2025-08-05 | 都汇康健(成都)医疗科技有限公司 | An EEG monitoring system for neurology patients |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101869477A (en) * | 2010-05-14 | 2010-10-27 | 北京工业大学 | An Automatic Removal Method of Oculograph Artifacts in Adaptive EEG Signals |
| CN103720471A (en) * | 2013-12-24 | 2014-04-16 | 电子科技大学 | Factor analysis based ocular artifact removal method |
| CN104688220A (en) * | 2015-01-28 | 2015-06-10 | 西安交通大学 | Method for removing ocular artifacts in EEG signals |
| CN105342605A (en) * | 2015-12-09 | 2016-02-24 | 西安交通大学 | Method for removing myoelectricity artifacts from brain electrical signals |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8280501B2 (en) * | 2010-04-16 | 2012-10-02 | Dyna Dx Corporation | Systems and methods for quantitatively characterizing slow wave activities and states in sleep |
| US10349851B2 (en) * | 2013-07-30 | 2019-07-16 | Yrt Limited | Method, non-transitory computer readable medium and apparatus for arousal intensity scoring |
| CN106236083B (en) * | 2016-09-21 | 2018-02-16 | 广州视源电子科技股份有限公司 | Equipment for removing ocular artifacts in sleep state analysis |
-
2016
- 2016-09-21 CN CN201610840431.8A patent/CN106236083B/en active Active
- 2016-12-29 WO PCT/CN2016/113143 patent/WO2018053968A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101869477A (en) * | 2010-05-14 | 2010-10-27 | 北京工业大学 | An Automatic Removal Method of Oculograph Artifacts in Adaptive EEG Signals |
| CN103720471A (en) * | 2013-12-24 | 2014-04-16 | 电子科技大学 | Factor analysis based ocular artifact removal method |
| CN104688220A (en) * | 2015-01-28 | 2015-06-10 | 西安交通大学 | Method for removing ocular artifacts in EEG signals |
| CN105342605A (en) * | 2015-12-09 | 2016-02-24 | 西安交通大学 | Method for removing myoelectricity artifacts from brain electrical signals |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106236083A (en) | 2016-12-21 |
| WO2018053968A1 (en) | 2018-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106236083B (en) | Equipment for removing ocular artifacts in sleep state analysis | |
| Nabavi et al. | A robust fusion method for motion artifacts reduction in photoplethysmography signal | |
| WO2021180028A1 (en) | Method, apparatus and device for evaluating sleep quality on basis of high-frequency electroencephalography, and storage medium | |
| CN106175754B (en) | Awake state detection device in sleep state analysis | |
| JP2015533580A (en) | System and method for detecting brain biosignals | |
| CN106333652B (en) | A kind of sleep state analysis method | |
| CN105496363A (en) | Method for classifying sleep stages on basis of sleep EGG (electroencephalogram) signal detection | |
| CN106388818A (en) | Method and system for extracting characteristic information of sleep state monitoring model | |
| CN106473705A (en) | Electroencephalogram signal processing method and system for sleep state monitoring | |
| CN109481164B (en) | An electric wheelchair control system based on EEG signals | |
| CN112426162A (en) | Fatigue detection method based on electroencephalogram signal rhythm entropy | |
| Shi et al. | Removal of ocular and muscular artifacts from multi-channel EEG using improved spatial-frequency filtering | |
| Gong et al. | Design and implementation of wearable dynamic electrocardiograph real-time monitoring terminal | |
| CN103816007A (en) | Equipment and method for tinnitus treatment based on electroencephalogram frequency-domain characteristic indexation algorithm | |
| CN106333676B (en) | Annotating device for data type of EEG signal in awake state | |
| CN115316957A (en) | Perioperative anesthesia depth monitoring system based on multi-parameter indexes | |
| CN106377250B (en) | Annotation device for EEG data types in sleep state | |
| CN106333674B (en) | Sleep cycle detection method and system in sleep state analysis | |
| CN106175698A (en) | Sleep cycle detection device in sleep state analysis | |
| CN106473704B (en) | Method and system for removing ocular artifacts in sleep state analysis | |
| CN106333678A (en) | Method and system for detecting brain waves in sleep state in electroencephalogram signals | |
| CN106166068B (en) | Method and system for marking data types of EEG signals in sleep state | |
| 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 | |
| CN106175755B (en) | Sleep state detector for sleep state analysis | |
| CN106344008B (en) | Method and system for detecting waking state in sleep state analysis |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |