CN116763275A - Time-frequency analysis method and device for processing photoplethysmography signals - Google Patents
Time-frequency analysis method and device for processing photoplethysmography signals Download PDFInfo
- Publication number
- CN116763275A CN116763275A CN202311054338.0A CN202311054338A CN116763275A CN 116763275 A CN116763275 A CN 116763275A CN 202311054338 A CN202311054338 A CN 202311054338A CN 116763275 A CN116763275 A CN 116763275A
- Authority
- CN
- China
- Prior art keywords
- frequency
- signal
- order
- time
- representing
- 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.)
- Granted
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 28
- 238000012545 processing Methods 0.000 title claims abstract description 26
- 238000013186 photoplethysmography Methods 0.000 title claims description 38
- 238000001228 spectrum Methods 0.000 claims abstract description 46
- 238000000354 decomposition reaction Methods 0.000 claims abstract description 38
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 20
- 230000001052 transient effect Effects 0.000 claims abstract description 12
- 238000000605 extraction Methods 0.000 claims abstract description 8
- 230000009466 transformation Effects 0.000 claims abstract description 7
- 238000001514 detection method Methods 0.000 claims abstract description 6
- 230000006870 function Effects 0.000 claims description 34
- 230000001419 dependent effect Effects 0.000 claims description 22
- 238000000034 method Methods 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000013519 translation Methods 0.000 claims description 3
- 101100379079 Emericella variicolor andA gene Proteins 0.000 claims 1
- 230000001678 irradiating effect Effects 0.000 claims 1
- 230000000149 penetrating effect Effects 0.000 claims 1
- 238000009826 distribution Methods 0.000 abstract description 15
- 230000002776 aggregation Effects 0.000 abstract description 13
- 238000004220 aggregation Methods 0.000 abstract description 13
- 230000000694 effects Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 5
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 5
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 5
- 230000000717 retained effect Effects 0.000 description 5
- 239000008280 blood Substances 0.000 description 2
- 210000004369 blood Anatomy 0.000 description 2
- 210000004204 blood vessel Anatomy 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 206010011409 Cross infection Diseases 0.000 description 1
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 206010029803 Nosocomial infection Diseases 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000036772 blood pressure Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
- A61B5/021—Measuring pressure in heart or blood vessels
- A61B5/02108—Measuring pressure in heart or blood vessels from analysis of pulse wave characteristics
-
- 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/7235—Details of waveform analysis
- A61B5/7253—Details of waveform analysis characterised by using transforms
- A61B5/7257—Details of waveform analysis characterised by using transforms using Fourier transforms
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Signal Processing (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Veterinary Medicine (AREA)
- Physiology (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Cardiology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Psychiatry (AREA)
- Mathematical Physics (AREA)
- Vascular Medicine (AREA)
- Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
Abstract
本发明公开了一种用于处理光电容积脉搏信号的时频分析方法,将光电容积脉搏波信号作为原始时域信号;对该信号进行不同阶数下的分数阶傅立叶变换,对获得的每个阶数下的分数谱进行峰度系数计算,并进行峰值检测,确定峰值个数作为变分模态分解中模态分解个数;构建变分模态分解算法,得到本征模式分量,计算每个本征模式分量与原始时域信号之间的相关系数,根据两者关系得到重构后的信号实现信号的降噪;对重构后的信号进行广义Warblet变换后进行二阶瞬态提取得到二维时频特征表示。本发明能较好地去除光电容积脉搏信号的噪声干扰,提高信号时频分布的聚集度,在基线漂移、工频噪声和电磁干扰等背景下的光电容积脉搏信号分析中得到良好的应用。
The invention discloses a time-frequency analysis method for processing photoplethysm pulse signal. The photoplethysm wave signal is used as the original time domain signal; the signal is subjected to fractional Fourier transform at different orders, and each obtained Calculate the kurtosis coefficient of the fractional spectrum under the order, and perform peak detection to determine the number of peaks as the number of mode decompositions in the variational mode decomposition; construct a variational mode decomposition algorithm, obtain the intrinsic mode components, and calculate each The correlation coefficient between the eigenmode components and the original time domain signal is used to obtain the reconstructed signal based on the relationship between the two to achieve signal denoising; the reconstructed signal is subjected to generalized Warblet transformation and second-order transient extraction is performed to obtain Two-dimensional time-frequency feature representation. The invention can better remove the noise interference of the photoplethysmographic pulse signal, improve the aggregation degree of the signal's time-frequency distribution, and is well applied in the analysis of the photoplethysmographic pulse signal under the background of baseline drift, power frequency noise, electromagnetic interference and other backgrounds.
Description
技术领域Technical Field
本发明涉及光电信号处理领域,尤其涉及一种用于处理光电容积脉搏信号的时频分析方法及装置。The present invention relates to the field of photoelectric signal processing, and in particular to a time-frequency analysis method and device for processing photoplethysmography signals.
背景技术Background Art
光电容积脉搏法是一种非侵入性的生理信号测量技术,主要用于测量血管的容积变化和脉搏波形。该技术基于脉搏波的机制,将光电二极管和光源置于人体皮肤上,然后通过传感器测量血管内的血液容积变化。血液容积变化所产生的信号被转换成电信号,进而可以通过数据处理和分析来获取相关的生理参数,如血压、心率,心跳等信息。光电容积脉搏方法所具有的无创、且检测方便、操作简单、性能稳定、重复性好、安全无交叉感染等许多优点,使其不仅可用于医院中的临床检测、监护、急救体能测试,还可应用于社区和家庭医疗保健。Photoplethysmography is a non-invasive physiological signal measurement technology, mainly used to measure the volume changes and pulse waveforms of blood vessels. This technology is based on the mechanism of pulse waves. Photodiodes and light sources are placed on human skin, and then the blood volume changes in blood vessels are measured through sensors. The signals generated by the changes in blood volume are converted into electrical signals, which can then be used to obtain relevant physiological parameters such as blood pressure, heart rate, heartbeat and other information through data processing and analysis. The photoplethysmography method has many advantages such as non-invasiveness, convenient detection, simple operation, stable performance, good repeatability, safety and no cross-infection, etc., which makes it not only suitable for clinical testing, monitoring, emergency physical fitness testing in hospitals, but also can be applied to community and family health care.
由于人体是一个复杂的系统以及光电信号是一个相对较弱的信号,人体内部细微的变化或者是受到外界的微弱干扰就会影响到最终采集到的脉搏波波形,在采集容积脉搏波的过程中容易受基线漂移、工频噪声和电磁干扰等的影响。Since the human body is a complex system and the photoelectric signal is a relatively weak signal, slight changes in the human body or weak interference from the outside world will affect the final collected pulse wave waveform. In the process of collecting volume pulse waves, it is easy to be affected by baseline drift, power frequency noise and electromagnetic interference.
发明内容Summary of the invention
为了解决上述问题,本发明提供了一种用于处理光电容积脉搏信号的时频分析方法及装置,其中的方法包括以下步骤:In order to solve the above problems, the present invention provides a time-frequency analysis method and device for processing photoplethysmography signals, wherein the method comprises the following steps:
S1、使用光源垂直照射透过人体手指,用光电探测器接收透过的光,得到光电容积脉搏波信号,作为原始时域信号;S1. Use a light source to vertically illuminate a human finger, use a photodetector to receive the transmitted light, and obtain a photoelectric volume pulse wave signal as the original time domain signal;
S2、对原始时域信号进行不同阶数下的分数阶傅立叶变换,获得不同阶数下的分数谱;S2, performing fractional Fourier transform of different orders on the original time domain signal to obtain fractional spectra of different orders;
S3、对每个阶数下的分数谱进行峰度系数计算,并对峰度系数进行峰值检测,确定峰值个数作为变分模态分解算法中的输入参数模态分解个数;S3, calculating the kurtosis coefficient of the fractional spectrum at each order, and performing peak detection on the kurtosis coefficient, and determining the number of peaks as the input parameter modal decomposition number in the variational modal decomposition algorithm;
S4、构建变分模态分解算法,将所述峰值个数作为变分模态分解算法中的模态分解个数K,得到K个本征模式分量;S4, constructing a variational mode decomposition algorithm, taking the number of peaks as the mode decomposition number K in the variational mode decomposition algorithm, and obtaining K eigenmode components;
S5、计算每个本征模式分量与原始时域信号之间的相关系数,设定阈值TH,当某个本征模式分量与原始信号的相关系数大于阈值TH时,就保留该本征模式分量,反之,则剔除这个本征模式分量,对保留下来的本征模式分量求和得到重构后的信号;S5, calculating the correlation coefficient between each eigenmode component and the original time domain signal, setting a threshold TH, when the correlation coefficient between a certain eigenmode component and the original signal is greater than the threshold TH, the eigenmode component is retained, otherwise, the eigenmode component is removed, and the retained eigenmode components are summed to obtain the reconstructed signal;
S6、对重构后的信号结合广义Warblet变换和二阶瞬态提取变换,即二阶瞬态提取广义Warblet变换(STEGWT)得到二维时频特征表示。S6. The reconstructed signal is combined with the generalized Warblet transform and the second-order transient extraction transform, namely the second-order transient extraction generalized Warblet transform (STEGWT), to obtain a two-dimensional time-frequency feature representation.
进一步地,步骤S1中的光源为650nm红光或者940nm近红外光。Furthermore, the light source in step S1 is 650nm red light or 940nm near-infrared light.
进一步地,步骤S2中对原始时域信号进行不同阶数下的分数阶傅立叶变换用公式表示为:Furthermore, in step S2, fractional Fourier transform of different orders is performed on the original time domain signal and is expressed by the formula:
(1) (1)
其中,表示p阶分数阶傅立叶变换谱,p为旋转阶数,n为任意整数,α为时频平面的旋转角度,与旋转阶数p的关系为2,为分数阶傅立叶变换结果的幅度,u为分数阶傅立叶变换域,简称分数域,为原始时域信号,j为虚数单位;in, represents the p-order fractional Fourier transform spectrum, p is the rotation order, n is an arbitrary integer, α is the rotation angle in the time-frequency plane, and its relationship with the rotation order p is 2, is the amplitude of the fractional Fourier transform result, u is the fractional Fourier transform domain, referred to as the fractional domain, is the original time domain signal, j is the imaginary unit;
基于以上公式,计算信号在不同阶数下的分数阶傅立叶变换,获得分数谱,表示绝对值的平方。Based on the above formula, calculate the signal at different orders The fractional Fourier transform under the condition is used to obtain the fractional spectrum. , Represents the square of the absolute value.
进一步地,步骤S3中,对每个阶数下的分数谱进行峰度系数计算公式为:Furthermore, in step S3, the kurtosis coefficient of the fractional spectrum at each order is calculated as follows:
(2) (2)
其中,是p阶下的峰度系数,E表示期望值算子,表示p阶分数阶傅立叶变换谱,为的均值,表示绝对值。in, is the kurtosis coefficient at order p, E represents the expected value operator, represents the p-order fractional Fourier transform spectrum, for The mean of Indicates absolute value.
进一步地,步骤S5中,计算每个本征模式分量与原始时域信号之间的相关系数,设定阈值TH用公式表示为:Further, in step S5, the correlation coefficient between each eigenmode component and the original time domain signal is calculated, and the threshold TH is set to be expressed by the formula:
(3) (3)
(4) (4)
其中,为第j个本征模式分量与原始时域信号的相关系数,N为信号的采样点数,表示的均值,表示第j个本征模式分量,表示的均值,n等于相关系数个数,表示的均值。in, is the jth eigenmode component and the original time domain signal The correlation coefficient of N is the number of sampling points of the signal. express The mean of represents the jth eigenmode component, express The mean of , n is equal to the number of correlation coefficients, express The mean of .
进一步地,步骤S6具体为:Further, step S6 is specifically as follows:
对重构后的信号利用广义Warblet变换表达式为:The generalized Warblet transform expression for the reconstructed signal is:
(5) (5)
其中,表示重构信号的广义Warblet变换,ω表示重构信号的时频域中的频率,是滑动窗口函数,t表示时间窗滑动时的窗中心所在时间,定义了一个非负对称的标准化实窗,j为虚数单位,计算公式如下:in, represents the generalized Warblet transform of the reconstructed signal, ω represents the frequency of the reconstructed signal in the time-frequency domain, is a sliding window function, t represents the time when the window center is sliding. A non-negative symmetric normalized real window is defined, j is the imaginary unit, The calculation formula is as follows:
(6) (6)
其中,表示重构后的信号,表示重构后信号的时间变量,表示一个中间变量,和分别为频率平移算子与频率旋转算子,j为虚数单位,m表示正弦函数或余弦函数的总数,和为傅立叶系数,为对应谐波分量频率;in, represents the reconstructed signal, represents the time variable of the reconstructed signal, represents an intermediate variable, and are the frequency translation operator and the frequency rotation operator respectively, j is the imaginary unit, m represents the total number of sine functions or cosine functions, and are the Fourier coefficients, is the corresponding harmonic component frequency;
强脉冲分量的冲击性成分用狄拉克δ函数表示为:The impact component of the strong pulse component is expressed by the Dirac delta function:
(7) (7)
其中,表示强脉冲分量的冲击性成分用狄拉克δ函数的表示,表示狄拉克δ函数,A为冲击成分幅值,为冲击发生的时刻;in, The impulsive component of the strong pulse component is represented by the Dirac delta function. represents the Dirac delta function, A is the amplitude of the impulse component, The moment when the impact occurs;
将式(7)表示的冲击性代入式(5)得到:Substituting the impact expressed by equation (7) into equation (5) yields:
(8) (8)
其中,为窗函数;in, is the window function;
使用二维群延迟估计重新分配重构信号广义Warblet变换的扩散能量,写为:The spread energy of the generalized Warblet transform of the reconstructed signal is redistributed using the two-dimensional group delay estimate and is written as:
(9) (9)
其中,表示二维群延迟估计,i是虚数单位,为对ω求偏导的符号,Re()表示取实部;in, represents the two-dimensional group delay estimate, i is the imaginary unit, is the symbol for partial derivative with respect to ω, Re() means taking the real part;
将式(8)代入式(9),则有:Substituting formula (8) into formula (9), we have:
(10) (10)
建立一个二阶频变模型:Build a second-order frequency-dependent model:
(11) (11)
其中,表示二阶频变模型,表示二阶频变模型的幅值,为二阶频变模型的相位,ω表示重构信号的时频域中的频率,表示原始时域信号在频域的相位,i是虚数单位,ξ表示二阶频变模型的频域,表示求一阶导数,表示求二阶导数;in, represents the second-order frequency-dependent model, represents the amplitude of the second-order frequency-dependent model, is the phase of the second-order frequency-varying model, ω represents the frequency of the reconstructed signal in the time-frequency domain, represents the phase of the original time domain signal in the frequency domain, i is an imaginary unit, ξ represents the frequency domain of the second-order frequency-varying model, It means to find the first-order derivative, It means to find the second-order derivative;
二阶频变模型下的重构信号频域中的广义Warblet变换表达式为:The generalized Warblet transform expression in the frequency domain of the reconstructed signal under the second-order frequency-varying model is:
(12) (12)
其中,表示二阶频变模型下的重构信号频域中的广义Warblet变换,表示二阶频变模型,表示频域中的窗函数,i是虚数单位,为的广义Warblet变换,,,表示窗函数的标准差,将公式(11)代入公式(12)得到:in, represents the generalized Warblet transform in the frequency domain of the reconstructed signal under the second-order frequency-varying model, represents the second-order frequency-dependent model, represents the window function in the frequency domain, i is the imaginary unit, for The generalized Warblet transform of , , represents the standard deviation of the window function. Substituting formula (11) into formula (12) yields:
(13) (13)
二阶频变模型的一阶二维群延时估计为:The first-order two-dimensional group delay estimate for the second-order frequency-dependent model is:
(14) (14)
根据公式(14)得到:According to formula (14), we get:
(15) (15)
定义一个新的二维估计:Define a new two-dimensional estimate :
(16) (16)
其中,为对t求偏导的符号;in, is the sign of the partial derivative with respect to t;
因此,二阶频变模型的二阶二维群延迟表示如下:Therefore, the second-order two-dimensional group delay of the second-order frequency-dependent model is expressed as follows:
(17) (17)
其中,为二阶频变模型的二阶二维群延迟估计,表示二阶频变模型的一阶二维群延时估计;in, is the second-order two-dimensional group delay estimate of the second-order frequency-dependent model, Represents the first-order two-dimensional group delay estimate of the second-order frequency-dependent model;
因此,公式(11)的二阶瞬态变换为:Therefore, the second-order transient transformation of formula (11) is:
(18) (18)
其中,表示狄拉克δ函数,i是虚数单位,为分数阶傅立叶变换技术和变分模态分解有效的结合下的二阶瞬态提取广义Warblet变换的结果。in, represents the Dirac delta function, i is the imaginary unit, The results of the generalized Warblet transform for second-order transient extraction are obtained by effectively combining the fractional Fourier transform technique with variational mode decomposition.
本发明还提出一种用于处理光电容积脉搏信号的时频分析装置,所述装置包括:The present invention also provides a time-frequency analysis device for processing a photoplethysmogram signal, the device comprising:
处理器;processor;
存储器,其上存储有可在所述处理器上运行的计算机程序;a memory having stored thereon a computer program executable on the processor;
其中,所述计算机程序被所述处理器执行时实现一种用于处理光电容积脉搏信号的时频分析方法。Wherein, when the computer program is executed by the processor, a time-frequency analysis method for processing photoplethysmography signals is implemented.
本发明提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the present invention are:
本发明的方案在于针对光电容积脉搏信号进行去噪处理及时频分析,FrVMD(将FrFT技术和VMD结合起来形成FrVMD算法)实现过程中选择不同旋转阶数下FrFT(分数阶傅立叶变换)的峰度系数进行峰值检测,得到的峰值个数作为VMD(变分模态分解)的模态分解个数作为输入条件对光电容积脉搏信号进行模态分解并重构,可以对光电容积脉搏信号进行分解重构去除虚假的、无意义的本征模式分量,从而在一定程度上滤除干扰噪声,选择广义Warblet变换(GWT:generalized Warblet transform)得到信号的时间-频率联合分布;将二阶瞬态提取变换(STET:Second-order transient-extracting transform)应用于GWT时频谱的优化,以提高时频分布的聚集度,且很大程度上减少噪声干扰对信号时频表示的影响。本发明可以较好地去除光电容积脉搏信号数据的噪声干扰,提高光电容积脉搏数据信号时频分布的聚集度,在基线漂移、工频噪声和电磁干扰等背景下光电容积脉搏信号数据分析中得到良好的应用。The scheme of the present invention is to perform denoising processing and time-frequency analysis on a photoplethysmogram signal. In the process of realizing FrVMD (combining FrFT technology and VMD to form an FrVMD algorithm), the kurtosis coefficient of FrFT (fractional Fourier transform) under different rotation orders is selected for peak detection. The obtained number of peaks is used as the number of modal decomposition of VMD (variational modal decomposition) as an input condition to perform modal decomposition and reconstruction on the photoplethysmogram signal. The photoplethysmogram signal can be decomposed and reconstructed to remove false and meaningless intrinsic mode components, thereby filtering out interference noise to a certain extent, and selecting a generalized Warblet transform (GWT: generalized Warblet transform) to obtain the time-frequency joint distribution of the signal; the second-order transient-extracting transform (STET: Second-order transient-extracting transform) is applied to the optimization of the GWT time-frequency spectrum to improve the aggregation of the time-frequency distribution and greatly reduce the influence of noise interference on the time-frequency representation of the signal. The present invention can effectively remove noise interference of photoplethysmography signal data, improve the aggregation of time-frequency distribution of photoplethysmography signal data, and is well applied in photoplethysmography signal data analysis under the background of baseline drift, power frequency noise and electromagnetic interference.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本发明实施例一种用于处理光电容积脉搏信号的时频分析方法的流程框图;1 is a flowchart of a time-frequency analysis method for processing a photoplethysmography signal according to an embodiment of the present invention;
图2是本发明实施例光电容积脉搏信号1的FrVMD分解结果;FIG2 is a FrVMD decomposition result of a photoplethysmography signal 1 according to an embodiment of the present invention;
图3是本发明实施例光电容积脉搏信号1的FrVMD分解后重构结果,图3中的(a)是重构后的时域信号1;图3中的(b)是重构后的时域信号1矩形框处的放大版本;图3中的(c)是原始时域信号1;图3中的(d)是原始时域信号1矩形框处的放大版本;FIG3 is a reconstructed result of the photoplethysmography signal 1 after FrVMD decomposition according to an embodiment of the present invention, wherein (a) in FIG3 is the reconstructed time domain signal 1; (b) in FIG3 is an enlarged version of the reconstructed time domain signal 1 at the rectangular frame; (c) in FIG3 is the original time domain signal 1; and (d) in FIG3 is an enlarged version of the original time domain signal 1 at the rectangular frame;
图4是本发明实施例光电容积脉搏信号1的FrVMD分解后重构结果,图4中的(a)是重构信号1的频谱;图4中的(b)是重构信号1的频谱矩形框处的放大版本;图4中的(c)是原始信号1的频谱;图4中的(d)是原始信号1的频谱矩形框处的放大版本;FIG4 is a reconstructed result of the FrVMD decomposition of the photoplethysmography signal 1 according to an embodiment of the present invention, wherein (a) in FIG4 is the spectrum of the reconstructed signal 1; (b) in FIG4 is an enlarged version of the spectrum of the reconstructed signal 1 at the rectangular frame; (c) in FIG4 is the spectrum of the original signal 1; and (d) in FIG4 is an enlarged version of the spectrum of the original signal 1 at the rectangular frame;
图5是本发明实施例光电容积脉搏信号2的FrVMD分解结果;FIG5 is a FrVMD decomposition result of a photoplethysmography signal 2 according to an embodiment of the present invention;
图6是本发明实施例光电容积脉搏信号2的FrVMD分解后重构结果,图6中的(a)是重构后的时域信号2;图6中的(b)是重构后的时域信号2矩形框处的放大版本;图6中的(c)是原始时域信号2;图6中的(d)是原始时域信号2矩形框处的放大版本;FIG6 is a reconstructed result after FrVMD decomposition of the photoplethysmography signal 2 according to an embodiment of the present invention, wherein (a) in FIG6 is the reconstructed time domain signal 2; (b) in FIG6 is an enlarged version of the reconstructed time domain signal 2 at the rectangular frame; (c) in FIG6 is the original time domain signal 2; and (d) in FIG6 is an enlarged version of the original time domain signal 2 at the rectangular frame;
图7是本发明实施例光电容积脉搏信号2的FrVMD分解后重构结果,图7中的(a)是重构信号2的频谱;图7中的(b)是重构信号2的频谱矩形框处的放大版本;图7中的(c)是原始信号2的频谱;图7中的(d)是原始信号2的频谱矩形框处的放大版本。Figure 7 is the reconstruction result of the photoplethysmography signal 2 after FrVMD decomposition according to an embodiment of the present invention, where (a) in Figure 7 is the spectrum of the reconstructed signal 2; (b) in Figure 7 is an enlarged version of the spectrum of the reconstructed signal 2 at the rectangular frame; (c) in Figure 7 is the spectrum of the original signal 2; and (d) in Figure 7 is an enlarged version of the spectrum of the original signal 2 at the rectangular frame.
具体实施方式DETAILED DESCRIPTION
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地描述。In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
本发明将分数阶傅立叶变换(FrFT)技术和变分模态分解(VMD)有效的结合起来形成FrVMD算法,实现对光电容积脉搏信号去噪处理,将广义Warblet变换(GWT:generalizedWarblet transform)技术和二阶瞬态提取变换(STET:Second-order transient-extracting transform)有效的结合起来形成STEGWT算法,实现对光电容积脉搏信号的时频分析。通过FrVMD对信号进行分解,根据模态分量与原始信号的相关性是否超过阈值决定是否留下该模态分量,最后对留下的模态分量叠加得到重构的光电容积脉搏信号达到去噪的目的。通过GWT方法处理信号,得到信号的广义Warblet变换时频分布,然后由STET技术以GWT的处理结果为基础进行二阶瞬态提取,得到高聚集度的时频分布。The present invention effectively combines the fractional Fourier transform (FrFT) technology and the variational mode decomposition (VMD) to form the FrVMD algorithm, realizes the denoising of the photoplethysmography signal, and effectively combines the generalized Warblet transform (GWT: generalized Warblet transform) technology and the second-order transient-extracting transform (STET: Second-order transient-extracting transform) to form the STEGWT algorithm, realizes the time-frequency analysis of the photoplethysmography signal. The signal is decomposed by FrVMD, and whether the modal component is retained is determined according to whether the correlation between the modal component and the original signal exceeds the threshold. Finally, the modal components retained are superimposed to obtain the reconstructed photoplethysmography signal to achieve the purpose of denoising. The signal is processed by the GWT method to obtain the generalized Warblet transform time-frequency distribution of the signal, and then the STET technology performs second-order transient extraction based on the processing result of the GWT to obtain a time-frequency distribution with high concentration.
本发明实施例一种用于处理光电容积脉搏信号的时频分析方法的流程框图如图1所示,包括以下步骤:A flow chart of a time-frequency analysis method for processing a photoplethysmography signal according to an embodiment of the present invention is shown in FIG1 , and includes the following steps:
S1、使用光源垂直照射透过人体手指,用光电探测器接收透过的光,得到光电容积脉搏波信号,作为原始时域信号。S1. Use a light source to vertically illuminate the human finger, use a photodetector to receive the transmitted light, and obtain a photoelectric volume pulse wave signal as the original time domain signal.
本实施例中的光源采用650nm红光或者940nm近红外光。The light source in this embodiment uses 650nm red light or 940nm near-infrared light.
S2、对原始时域信号进行不同阶数下的分数阶傅立叶变换(FrFT),获得不同阶数下的分数谱。确定FrFT的搜索步长,在[0,2]内按照步长获得N个旋转阶数p;计算信号在不同阶数p下的分数阶傅立叶变换,获得分数谱。S2. Perform fractional Fourier transform (FrFT) of different orders on the original time domain signal to obtain fractional spectra of different orders. Determine the search step of FrFT, and obtain N rotation orders p in [0,2] according to the step; calculate the fractional Fourier transform of the signal at different orders p to obtain the fractional spectrum .
对原始时域信号进行不同阶数下的分数阶傅立叶变换用公式表示为:The fractional Fourier transform of the original time domain signal at different orders is expressed by the formula:
(1) (1)
其中,表示p阶分数阶傅立叶变换谱,p为旋转阶数,n为任意整数,α为时频平面的旋转角度,与旋转阶数p的关系为2,为分数阶傅立叶变换结果的幅度,u为分数阶傅立叶变换域,简称分数域,为原始时域信号,j为虚数单位。in, represents the p -order fractional Fourier transform spectrum, p is the rotation order, n is an arbitrary integer, α is the rotation angle in the time-frequency plane, and its relationship with the rotation order p is 2, is the amplitude of the fractional Fourier transform result, u is the fractional Fourier transform domain, referred to as the fractional domain, is the original time domain signal, and j is the imaginary unit.
基于以上公式,计算信号在不同阶数下的分数阶傅立叶变换,获得分数谱,表示绝对值的平方。Based on the above formula, calculate the signal at different orders The fractional Fourier transform under the condition is used to obtain the fractional spectrum. , Represents the square of the absolute value.
S3、对每个阶数下的分数谱进行峰度系数计算,并对峰度系数进行峰值检测,确定峰值个数作为变分模态分解算法中的输入参数模态分解个数。S3. Calculate the kurtosis coefficient of the fractional spectrum at each order, perform peak detection on the kurtosis coefficient, and determine the number of peaks as the input parameter modal decomposition number in the variational mode decomposition algorithm.
对每个阶数下的分数谱进行峰度系数计算公式为:The calculation formula for the kurtosis coefficient of the fractional spectrum at each order is:
(2) (2)
其中,是p阶下的峰度系数,E表示期望值算子,表示p阶分数阶傅立叶变换谱,为的均值,表示绝对值。in, is the kurtosis coefficient at order p , E represents the expected value operator, represents the p- order fractional Fourier transform spectrum, for The mean of Indicates absolute value.
对每个阶数下的分数谱进行峰度系数计算,得到N个峰度系数;对峰度系数进行峰值检测,确定峰值个数,将峰值个数作为VMD算法中的输入参数模态分解个数K值。The kurtosis coefficient of the fractional spectrum under each order is calculated to obtain N kurtosis coefficients; the peak value of the kurtosis coefficient is detected to determine the number of peaks, and the number of peaks is used as the input parameter mode decomposition number K value in the VMD algorithm.
S4、构建变分模态分解算法,将所述峰值个数作为变分模态分解算法中的模态分解个数K,得到K个本征模式分量。S4. Construct a variational mode decomposition algorithm, use the number of peaks as the mode decomposition number K in the variational mode decomposition algorithm, and obtain K eigenmode components.
S5、计算每个本征模式分量与原始时域信号之间的相关系数,设定阈值TH,当某个本征模式分量与原始信号的相关系数大于阈值TH时,就保留该本征模式分量,反之,则剔除这个本征模式分量,对保留下来的本征模式分量求和得到重构后的信号。该重构方法可判断哪些本征模式分量是信号的真实分量,哪些是虚假的、无意义的本征模式分量。重构后的信号记为x(τ)。S5. Calculate the correlation coefficient between each eigenmode component and the original time domain signal, set the threshold TH, and when the correlation coefficient between a certain eigenmode component and the original signal is greater than the threshold TH, retain the eigenmode component, otherwise, remove the eigenmode component, and sum the retained eigenmode components to obtain the reconstructed signal. This reconstruction method can determine which eigenmode components are the real components of the signal and which are false and meaningless eigenmode components. The reconstructed signal is recorded as x(τ) .
每个本征模式分量与原始时域信号之间的相关系数和设定的阈值TH用公式表示为:The correlation coefficient between each eigenmode component and the original time domain signal and the set threshold TH are expressed as follows:
(3) (3)
(4) (4)
其中,为第j个本征模式分量与原始时域信号的相关系数,N为信号的采样点数,表示的均值,表示第j个本征模式分量,表示的均值,n等于相关系数个数,表示的均值。in, is the jth eigenmode component and the original time domain signal The correlation coefficient of N is the number of sampling points of the signal. express The mean of represents the jth eigenmode component, express The mean of , n is equal to the number of correlation coefficients, express The mean of .
S6、对重构后的信号利用广义Warblet变换与二阶瞬态提取变换结合得到二维时频特征表示。S6. The reconstructed signal is subjected to a two-dimensional time-frequency feature representation by combining the generalized Warblet transform with the second-order transient extraction transform.
对重构后的信号利用广义Warblet变换表达式为:The generalized Warblet transform expression for the reconstructed signal is:
(5) (5)
其中,表示重构信号的广义Warblet变换,ω表示重构信号的时频域中的频率,是滑动窗口函数,t表示时间窗滑动时的窗中心所在时间,定义了一个非负对称的标准化实窗,通常是高斯窗,j为虚数单位,计算公式如下:in, represents the generalized Warblet transform of the reconstructed signal, ω represents the frequency of the reconstructed signal in the time-frequency domain, is a sliding window function, t represents the time when the window center is sliding. Defines a non-negative symmetric normalized real window, usually a Gaussian window, j is an imaginary unit, The calculation formula is as follows:
(6) (6)
其中,表示重构后的信号,表示重构后信号的时间变量,表示一个中间变量,和分别为频率平移算子与频率旋转算子,m表示正弦函数或余弦函数的总数,和为傅立叶系数,为对应谐波分量频率;in, represents the reconstructed signal, represents the time variable of the reconstructed signal, represents an intermediate variable, and are the frequency translation operator and the frequency rotation operator respectively, m represents the total number of sine functions or cosine functions, and are the Fourier coefficients, is the corresponding harmonic component frequency;
将简记为,Will Abbreviated as ,
强脉冲分量的冲击性成分用狄拉克δ函数表示为:The impact component of the strong pulse component is expressed by the Dirac delta function:
(7) (7)
其中,s(t)表示强脉冲分量的冲击性成分用狄拉克δ函数的表示,即脉冲的冲击性函数,表示狄拉克δ函数,A为冲击成分幅值,为冲击发生的时刻;Among them, s(t) represents the impulsive component of the strong pulse component expressed by the Dirac delta function, that is, the impulse function of the pulse, represents the Dirac delta function, A is the amplitude of the impulse component, The moment when the impact occurs;
将式(7)表示的冲击性代入公式(5)中表示信号的冲击特性然后积分得到:Substituting the impact expressed by formula (7) into formula (5) Represents the impulse characteristics of the signal and then integrates to obtain:
(8) (8)
其中,此时,Δ表示窗函数的时间支撑范围,为窗函数;Among them, at this time , Δ represents the time support range of the window function, is the window function;
理想情况下,狄拉克δ函数的GWT变换结果应该集中在冲击发生时刻。使用二维(2D)群延迟(GD)估计重新分配重构信号的广义Warblet变换的扩散能量,写为:Ideally, the GWT transformation of the Dirac delta function should be concentrated at the time of the impact. The diffusion energy of the generalized Warblet transform that redistributes the reconstructed signal is estimated using the two-dimensional (2D) group delay (GD), written as:
(9) (9)
其中,表示一阶二维群延迟,i是虚数单位,为对ω求偏导的符号,Re()表示取实部;in, represents the first-order two-dimensional group delay, i is the imaginary unit, is the symbol for partial derivative with respect to ω, Re() means taking the real part;
将式(8)代入式(9),则有:Substituting formula (8) into formula (9), we have:
(10) (10)
方程(10)表明使用方程(7)计算的狄拉克三角洲函数的二维GD估计与脉冲的发生时间时刻一致。Equation (10) shows that the 2D GD estimate of the Dirac delta function calculated using equation (7) is related to the pulse occurrence time instant Consistent.
建立一个二阶频变模型:Build a second-order frequency-dependent model:
(11) (11)
其中,表示重构信号的二阶广义Warblet变换,即二阶频变模型,表示二阶频变模型的幅值,为二阶频变模型的相位,表示原始时域信号在频域的相位,i是虚数单位,ξ表示二阶频变模型的频域,表示求一阶导数,表示求二阶导数。in, represents the second-order generalized Warblet transform of the reconstructed signal, that is, the second-order frequency-varying model, represents the amplitude of the second-order frequency-dependent model, is the phase of the second-order frequency-variable model, represents the phase of the original time domain signal in the frequency domain, i is an imaginary unit, ξ represents the frequency domain of the second-order frequency-varying model, It means to find the first-order derivative, It means to find the second-order derivative.
二阶频变模型下的重构信号频域中的广义Warblet变换表达式为:The generalized Warblet transform expression in the frequency domain of the reconstructed signal under the second-order frequency-varying model is:
(12) (12)
其中,表示二阶频变模型下的重构信号频域中的广义Warblet变换,表示二阶频变模型,表示频域中的窗函数,i是虚数单位,,,表示窗函数的标准差,为的广义Warblet变换,将公式(11)代入公式(12)得到:in, represents the generalized Warblet transform in the frequency domain of the reconstructed signal under the second-order frequency-varying model, represents the second-order frequency-dependent model, represents the window function in the frequency domain, i is the imaginary unit, , , represents the standard deviation of the window function, for The generalized Warblet transform of , substituting formula (11) into formula (12) yields:
(13) (13)
二阶频变模型的一阶二维群延时估计为:The first-order two-dimensional group delay estimate for the second-order frequency-dependent model is:
(14) (14)
根据公式(14)得到:According to formula (14), we get:
(15) (15)
公式(15)提供了如何在二阶信号分析中计算新的2D GD估计的指示。因此,定义一个新的二维估计:Equation (15) provides an indication of how to compute the new 2D GD estimate in second-order signal analysis. Therefore, a new two-dimensional estimate is defined as :
(16) (16)
其中,为求对t偏导的符号;in, To find the sign of the partial derivative with respect to t ;
根据式(16)定义的新的二维群延迟计算方法,同时考虑相关限制条件,二阶频变模型的二阶二维群延迟表示如下:According to the new two-dimensional group delay calculation method defined in equation (16), and considering the relevant constraints, the second-order two-dimensional group delay of the second-order frequency-variant model is expressed as follows:
(17) (17)
其中,即为二阶频变模型的二阶二维群延迟估计,表示二阶频变模型的一阶二维群延时估计;in, This is the second-order two-dimensional group delay estimate of the second-order frequency-varying model, Represents the first-order two-dimensional group delay estimate of the second-order frequency-dependent model;
公式(11)的二阶瞬态变换为:The second-order transient transformation of formula (11) is:
(18) (18)
因此,即为FrVMD-二阶瞬态提取广义Warblet变换的结果,可以为二阶频变信号生成高分辨率时频表示。therefore, That is, FrVMD is the result of the generalized Warblet transform for second-order transient extraction, which can generate a high-resolution time-frequency representation for the second-order frequency-varying signal.
本发明算法可以较好地去除信号的噪声,得到该信号的时间-频率的联合分布情况,有助于进一步了解基线漂移、工频噪声和电磁干扰等背景下光电容积脉搏数据的时频分布变化,为光电容积脉搏信号识别研究提供依据和帮助。为了验证该算法在基线漂移、工频噪声和电磁干扰等背景下光电容积脉搏数据处理研究中的有效性,本文选取两组分别含噪声的实测数据1和含基线漂移的实测数据2进行实验验证。The algorithm of the present invention can effectively remove the noise of the signal and obtain the joint distribution of the time-frequency of the signal, which is helpful to further understand the changes in the time-frequency distribution of photoplethysmography data under the background of baseline drift, power frequency noise and electromagnetic interference, and provide a basis and help for the research on photoplethysmography signal recognition. In order to verify the effectiveness of the algorithm in the research on photoplethysmography data processing under the background of baseline drift, power frequency noise and electromagnetic interference, this paper selects two groups of measured data 1 with noise and 2 with baseline drift for experimental verification.
1、FrVMD去噪实验1. FrVMD denoising experiment
(1)含噪声的实测数据1(1) Measured data with noise 1
首先对含噪声的实测数据1采用FrVMD进行降噪处理,图2为其FrVMD的分解结果,表1为各模态分量与原始信号的相关性及阈值。Firstly, FrVMD is used to perform noise reduction on the noisy measured data 1. Figure 2 is the decomposition result of FrVMD. Table 1 shows the correlation and threshold of each modal component with the original signal.
表1Table 1
由图2和表1可知,该光电容积脉搏信号分解成了3个模态分量,只有模态分量1超过阈值,即与原始信号相关性很高,则认为模态分量1为有效分量,模态分量2和模态分量3为无效分量应当去除。然后对留下的模态分量进行求和,得到最终的重构结果。As shown in Figure 2 and Table 1, the photoplethysmography signal is decomposed into three modal components. Only modal component 1 exceeds the threshold, that is, it has a high correlation with the original signal. Therefore, modal component 1 is considered to be a valid component, and modal components 2 and 3 are invalid components that should be removed. Then the remaining modal components are summed to obtain the final reconstruction result.
图3是本发明实施例光电容积脉搏信号1的FrVMD分解后重构结果,图3中的(a)是重构后的时域信号1;图3中的(b)是重构后的时域信号1矩形框处的放大版本;图3中的(c)是原始时域信号1;图3中的(d)是原始时域信号1矩形框处的放大版本,图4是本发明实施例光电容积脉搏信号1的FrVMD分解后重构结果,图4中的(a)是重构信号1的频谱;图4中的(b)是重构信号1的频谱矩形框处的放大版本;图4中的(c)是原始信号1的频谱;图4中的(d)是原始信号1的频谱矩形框处的放大版本。Figure 3 is the reconstruction result after FrVMD decomposition of the photoplethysmography signal 1 according to an embodiment of the present invention, (a) in Figure 3 is the reconstructed time domain signal 1; (b) in Figure 3 is an enlarged version of the reconstructed time domain signal 1 at the rectangular frame; (c) in Figure 3 is the original time domain signal 1; (d) in Figure 3 is an enlarged version of the original time domain signal 1 at the rectangular frame, and Figure 4 is the reconstruction result after FrVMD decomposition of the photoplethysmography signal 1 according to an embodiment of the present invention, (a) in Figure 4 is the spectrum of the reconstructed signal 1; (b) in Figure 4 is an enlarged version of the spectrum of the reconstructed signal 1 at the rectangular frame; (c) in Figure 4 is the spectrum of the original signal 1; (d) in Figure 4 is an enlarged version of the spectrum of the original signal 1 at the rectangular frame.
由图3可知,原始时域信号含有较多噪声,在时域曲线的表现上为毛刺较多。FrVMD方法能够有效地去除信号的噪声,使得重构后的时域信号曲线较为光滑,无毛刺。由图4可知,重构信号的频谱不含多余的噪声频谱,而原始信号除中心处真实分量的频谱外,明显含有多余噪声的频谱。因此FrVMD方法能够有效地去除信号的噪声。As shown in Figure 3, the original time domain signal contains more noise, and the time domain curve shows more burrs. The FrVMD method can effectively remove the noise of the signal, making the reconstructed time domain signal curve smoother and free of burrs. As shown in Figure 4, the spectrum of the reconstructed signal does not contain redundant noise spectrum, while the original signal, except for the spectrum of the true component at the center, obviously contains the spectrum of redundant noise. Therefore, the FrVMD method can effectively remove the noise of the signal.
为了进一步比较FrVMD重构方法的性能,分别选取平均绝对百分比误差(MAPE)、均方根误差(RMSE)、决定系数(R2)来判断分解重构去噪效果,其定义如式(19)、式(20)、式(21)所示。平均绝对误差(MAE)、均方根误差(RMSE)越大,信号的去噪效果越不理想。决定系数(R2)越接近于1,去噪效果越好。In order to further compare the performance of the FrVMD reconstruction method, the mean absolute percentage error (MAPE), root mean square error (RMSE), and determination coefficient (R2) are selected to judge the decomposition and reconstruction denoising effect, and their definitions are shown in equations (19), (20), and (21). The larger the mean absolute error (MAE) and root mean square error (RMSE), the less ideal the denoising effect of the signal. The closer the determination coefficient (R2) is to 1, the better the denoising effect.
(19) (19)
(20) (20)
(21) (twenty one)
表2是信号的不同误差值,由表2可知,FrVMD算法对光电容积脉搏信号分解重构的误差较小,重构后的信号与原始信号具有很高的相关性,表明了FrVMD算法在保留原始信号有效的真实的分量的基础上,对噪声具有较为明显的去除效果。Table 2 shows the different error values of the signal. It can be seen from Table 2 that the error of the FrVMD algorithm in decomposing and reconstructing the photoplethysmography signal is small, and the reconstructed signal has a high correlation with the original signal, indicating that the FrVMD algorithm has a more obvious noise removal effect on the basis of retaining the effective real components of the original signal.
表2Table 2
(2)含基线漂移的实测数据2(2) Measured data including baseline drift 2
对含基线漂移的实测数据2采用FrVMD进行降噪处理,图5为其FrVMD的分解结果,表3是各模态分量与原始信号的相关性及阈值。由图5和表3可知,该光电容积脉搏信号分解成了10个模态分量,只有模态分量1和模态分量2超过阈值,即与原始信号相关性很高,则认为模态分量1和模态分量2为有效分量,剩余的模态分量为无效分量应当去除。然后对留下的模态分量进行求和,得到最终的重构结果。FrVMD is used to perform noise reduction on the measured data 2 containing baseline drift. Figure 5 shows the decomposition result of FrVMD, and Table 3 shows the correlation and threshold of each modal component with the original signal. As shown in Figure 5 and Table 3, the photoelectric volumetric pulse signal is decomposed into 10 modal components. Only modal component 1 and modal component 2 exceed the threshold, that is, they are highly correlated with the original signal. Then modal component 1 and modal component 2 are considered to be valid components, and the remaining modal components are invalid components and should be removed. Then the remaining modal components are summed to obtain the final reconstruction result.
表3Table 3
图6是本发明实施例光电容积脉搏信号2的FrVMD分解后重构结果,图6中的(a)是重构后的时域信号2;图6中的(b)是重构后的时域信号2矩形框处的放大版本;图6中的(c)是原始时域信号2;图6中的(d)是原始时域信号2矩形框处的放大版本。Figure 6 is the reconstruction result after FrVMD decomposition of the photoplethysmography signal 2 according to an embodiment of the present invention, where (a) in Figure 6 is the reconstructed time domain signal 2; (b) in Figure 6 is an enlarged version of the reconstructed time domain signal 2 at the rectangular frame; (c) in Figure 6 is the original time domain signal 2; and (d) in Figure 6 is an enlarged version of the original time domain signal 2 at the rectangular frame.
图7是本发明实施例光电容积脉搏信号2的FrVMD分解后重构结果,图7中的(a)是重构信号2的频谱;图7中的(b)是重构信号2的频谱矩形框处的放大版本;图7中的(c)是原始信号2的频谱;图7中的(d)是原始信号2的频谱矩形框处的放大版本。Figure 7 is the reconstruction result of the photoplethysmography signal 2 after FrVMD decomposition according to an embodiment of the present invention, where (a) in Figure 7 is the spectrum of the reconstructed signal 2; (b) in Figure 7 is an enlarged version of the spectrum of the reconstructed signal 2 at the rectangular frame; (c) in Figure 7 is the spectrum of the original signal 2; and (d) in Figure 7 is an enlarged version of the spectrum of the original signal 2 at the rectangular frame.
由图6可知,原始时域信号含有基线漂移,在时域曲线的表现上如图6中的(d)所示。FrVMD方法能够有效地去除信号的基线漂移,使得重构后的时域信号曲线较为规整,如图6中的(b)所示。由图7可知,重构信号的频谱不含多余的噪声频谱,而原始信号除中心处真实分量的频谱外,明显含有多余噪声的频谱。因此FrVMD方法能够有效地去除信号的噪声。As shown in Figure 6, the original time domain signal contains baseline drift, as shown in Figure 6 (d) in the time domain curve. The FrVMD method can effectively remove the baseline drift of the signal, making the reconstructed time domain signal curve more regular, as shown in Figure 6 (b). As shown in Figure 7, the spectrum of the reconstructed signal does not contain redundant noise spectrum, while the original signal, except for the spectrum of the true component at the center, obviously contains the spectrum of redundant noise. Therefore, the FrVMD method can effectively remove the noise of the signal.
表4是信号2的不同误差值,由表4可知,FrVMD算法对光电容积脉搏信号分解重构的误差较小,重构后的信号与原始信号具有较高的相关性,表明了FrVMD算法在保留原始信号有效的真实的分量的基础上,对基线漂移等干扰具有较为明显的去除效果。Table 4 shows the different error values of signal 2. It can be seen from Table 4 that the error of the FrVMD algorithm in decomposing and reconstructing the photoplethysmography signal is small, and the reconstructed signal has a high correlation with the original signal, indicating that the FrVMD algorithm has a more obvious effect in removing interference such as baseline drift while retaining the effective real components of the original signal.
表4Table 4
2、STEGWT时频分析实验2. STEGWT time-frequency analysis experiment
(1)含噪声的实测数据1(1) Measured data with noise 1
首先对含噪声的实测数据1采用STEGWT进行时频分析,FrVMD-STEGWT方法得到的时频曲线较为集中,时频聚集度较高。Firstly, STEGWT is used to perform time-frequency analysis on the noisy measured data 1. The time-frequency curves obtained by the FrVMD-STEGWT method are relatively concentrated and the time-frequency aggregation is high.
时频聚集度越高就表明时频分布对于信号频率分量的局部定位和分辨越准确,从而说明该时频分析方法的处理效果越好。本文将瑞利熵(Rényi entropy)作为衡量时频分布聚集度的性能评价指标,其计算公式为:,其中,表示瑞利熵的次数,本文中取;表示信号的时频分布。瑞利熵的值越小,表示时频分布的聚集度越高。The higher the time-frequency aggregation, the more accurate the local positioning and resolution of the signal frequency components by the time-frequency distribution, which means the better the processing effect of the time-frequency analysis method. This paper uses Rayleigh entropy as a performance evaluation index to measure the aggregation of time-frequency distribution, and its calculation formula is: ,in, represents the number of Rayleigh entropy, and in this paper, ; Represents the time-frequency distribution of the signal. Rayleigh entropy The smaller the value of , the higher the aggregation of the time-frequency distribution.
表5为信号1不同时频分布的瑞利熵,FrVMD-STEGWT的瑞利熵值为9.6842,远小于SST、GWT、WVD这3种时频分析方法,即FrVMD-STEGWT的时频聚集度较高,证明本改进方法在处理含噪声干扰的光电容积脉搏信号时能有效提高其时频聚集度。Table 5 shows the Rayleigh entropy of signal 1 with different time-frequency distributions. The Rayleigh entropy value of FrVMD-STEGWT is 9.6842, which is much smaller than that of the three time-frequency analysis methods, SST, GWT, and WVD. That is, the time-frequency aggregation of FrVMD-STEGWT is relatively high, which proves that this improved method can effectively improve the time-frequency aggregation when processing photoelectric volume pulse signals with noise interference.
表5Table 5
(2)含基线漂移的实测数据2(2) Measured data including baseline drift 2
FrVMD-STEGWT方法得到的时频曲线较为集中,时频聚集度较高。The time-frequency curves obtained by the FrVMD-STEGWT method are relatively concentrated, and the time-frequency aggregation is high.
表6是信号2不同时频分布的瑞利熵,时频聚集度越高就表明时频分布对于信号频率分量的局部定位和分辨越准确,从而说明该时频分析方法的处理效果越好。FrVMD-STEGWT的瑞利熵值为11.3464,远小于SST、GWT、WVD这3种时频分析方法,即FrVMD-STEGWT的时频聚集度较高,证明本改进方法在处理含基线漂移的光电容积脉搏信号时能有效提高其时频聚集度。Table 6 shows the Rayleigh entropy of different time-frequency distributions of signal 2. The higher the time-frequency aggregation, the more accurate the local positioning and resolution of the signal frequency components by the time-frequency distribution, which indicates that the processing effect of the time-frequency analysis method is better. The Rayleigh entropy value of FrVMD-STEGWT is 11.3464, which is much smaller than that of the three time-frequency analysis methods of SST, GWT, and WVD, that is, the time-frequency aggregation of FrVMD-STEGWT is higher, which proves that this improved method can effectively improve its time-frequency aggregation when processing photoelectric volume pulse signals with baseline drift.
表6Table 6
本发明还提出一种用于处理光电容积脉搏信号的时频分析装置,包括:The present invention also provides a time-frequency analysis device for processing a photoplethysmogram signal, comprising:
处理器;processor;
存储器,其上存储有可在处理器上运行的计算机程序;a memory having stored thereon a computer program executable on the processor;
其中,计算机程序被处理器执行时实现一种用于处理光电容积脉搏信号的时频分析方法。When the computer program is executed by the processor, a time-frequency analysis method for processing photoplethysmography signals is implemented.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311054338.0A CN116763275B (en) | 2023-08-22 | 2023-08-22 | A time-frequency analysis method and device for processing photoplethysm pulse signals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311054338.0A CN116763275B (en) | 2023-08-22 | 2023-08-22 | A time-frequency analysis method and device for processing photoplethysm pulse signals |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116763275A true CN116763275A (en) | 2023-09-19 |
CN116763275B CN116763275B (en) | 2023-10-31 |
Family
ID=88011972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311054338.0A Active CN116763275B (en) | 2023-08-22 | 2023-08-22 | A time-frequency analysis method and device for processing photoplethysm pulse signals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116763275B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117473233A (en) * | 2023-12-27 | 2024-01-30 | 华东交通大学 | Sample component analysis method, system, storage medium and computer |
CN117875480A (en) * | 2023-12-18 | 2024-04-12 | 上海叁零肆零科技有限公司 | Hourly natural gas flow load forecasting method, medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110309817A (en) * | 2019-07-19 | 2019-10-08 | 北京理工大学 | A pulse wave motion artifact removal method based on parameter adaptive optimization of VMD |
CN113627375A (en) * | 2021-08-16 | 2021-11-09 | 北京信息科技大学 | A planetary gear fault diagnosis method, system, storage medium and computing device |
CN116449328A (en) * | 2023-04-24 | 2023-07-18 | 中国人民解放军陆军工程大学 | Radar working mode identification method and system based on time-frequency analysis feature fusion |
CN116522073A (en) * | 2023-04-10 | 2023-08-01 | 哈尔滨工业大学 | Adaptive signal decomposition method of fractional Fourier transform domain, storage medium and computer |
-
2023
- 2023-08-22 CN CN202311054338.0A patent/CN116763275B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110309817A (en) * | 2019-07-19 | 2019-10-08 | 北京理工大学 | A pulse wave motion artifact removal method based on parameter adaptive optimization of VMD |
CN113627375A (en) * | 2021-08-16 | 2021-11-09 | 北京信息科技大学 | A planetary gear fault diagnosis method, system, storage medium and computing device |
CN116522073A (en) * | 2023-04-10 | 2023-08-01 | 哈尔滨工业大学 | Adaptive signal decomposition method of fractional Fourier transform domain, storage medium and computer |
CN116449328A (en) * | 2023-04-24 | 2023-07-18 | 中国人民解放军陆军工程大学 | Radar working mode identification method and system based on time-frequency analysis feature fusion |
Non-Patent Citations (2)
Title |
---|
JUAN GUO等: "A novel solution for improved performance of Time-frequency concentration", MECHANICAL SYSTEMS AND SIGNAL PROCESSING, pages 1 - 23 * |
韦明辉: "SE-KSD优化的FRFT-VMD轴承故障诊断方法", 机械科学与技术, pages 1 - 9 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117875480A (en) * | 2023-12-18 | 2024-04-12 | 上海叁零肆零科技有限公司 | Hourly natural gas flow load forecasting method, medium and electronic equipment |
CN117473233A (en) * | 2023-12-27 | 2024-01-30 | 华东交通大学 | Sample component analysis method, system, storage medium and computer |
CN117473233B (en) * | 2023-12-27 | 2024-03-01 | 华东交通大学 | Sample component analysis method, system, storage medium and computer |
Also Published As
Publication number | Publication date |
---|---|
CN116763275B (en) | 2023-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116763275B (en) | A time-frequency analysis method and device for processing photoplethysm pulse signals | |
CN106037694B (en) | A kind of continuous blood pressure measurer based on pulse wave | |
Bahoura et al. | DSP implementation of wavelet transform for real time ECG wave forms detection and heart rate analysis | |
Castillo et al. | Noise Suppression in ECG Signals through Efficient One‐Step Wavelet Processing Techniques | |
Liu et al. | Modeling carotid and radial artery pulse pressure waveforms by curve fitting with Gaussian functions | |
Seena et al. | A review on feature extraction and denoising of ECG signal using wavelet transform | |
Nagendra et al. | Application of wavelet techniques in ECG signal processing: an overview | |
WO2019127623A1 (en) | Method and device for constructing model for estimating arterial blood vessel age | |
CN110338813A (en) | A non-invasive blood glucose detection method based on spectrum analysis | |
Sun et al. | An improved morphological approach to background normalization of ECG signals | |
EP2854620A1 (en) | Narrow band feature extraction from cardiac signals | |
TW201717845A (en) | Devices, systems, and methods for determining heart rate of a subject from noisy electrocardiogram data | |
Awodeyi et al. | Median filter approach for removal of baseline wander in photoplethysmography signals | |
Nouira et al. | A Robust R Peak Detection Algorithm Using Wavelet Transform for Heart Rate Variability Studies. | |
CN114569097A (en) | Blood pressure prediction method, system and medium based on auricle PPG signal preprocessing | |
CN106073800B (en) | Method for processing dynamic spectral data and its device based on absolute difference and extraction | |
Pauk | 419. Different techniques for EMG signal processing. | |
Tan et al. | EMD-based electrocardiogram delineation for a wearable low-power ECG monitoring device | |
Luke et al. | Motion artifact removal and feature extraction from PPG signals using efficient signal processing algorithms | |
Wu et al. | An improved method for ECG signal feature point detection based on wavelet transform | |
CN105595974B (en) | A kind of rapid extracting method of human body photoplethysmographic spectrum signature | |
Chatterjee et al. | Real–time detection of electrocardiogram wave features using template matching and implementation in FPGA | |
Roy et al. | Estimation of respiration rate from motion corrupted photoplethysmogram: A combined time and frequency domain approach | |
CN113288090B (en) | Blood pressure prediction method, system, device and storage medium | |
Wang et al. | A novel frequency domain method for estimating blood pressure from photoplethysmogram |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |