CN102631198A - Dynamic spectrum data processing method based on difference value extraction - Google Patents
Dynamic spectrum data processing method based on difference value extraction Download PDFInfo
- Publication number
- CN102631198A CN102631198A CN2012101184094A CN201210118409A CN102631198A CN 102631198 A CN102631198 A CN 102631198A CN 2012101184094 A CN2012101184094 A CN 2012101184094A CN 201210118409 A CN201210118409 A CN 201210118409A CN 102631198 A CN102631198 A CN 102631198A
- Authority
- CN
- China
- Prior art keywords
- difference
- dynamic spectrum
- value
- dynamic
- spectrum
- 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
- 238000001228 spectrum Methods 0.000 title claims abstract description 134
- 238000000605 extraction Methods 0.000 title claims abstract description 34
- 238000003672 processing method Methods 0.000 title claims abstract description 12
- 238000013186 photoplethysmography Methods 0.000 claims abstract description 12
- 239000006185 dispersion Substances 0.000 claims abstract description 7
- 238000000034 method Methods 0.000 claims description 21
- 230000003595 spectral effect Effects 0.000 claims description 17
- 230000003287 optical effect Effects 0.000 claims description 15
- 238000012935 Averaging Methods 0.000 claims description 11
- 238000005070 sampling Methods 0.000 claims description 8
- 238000012216 screening Methods 0.000 claims description 8
- 238000010606 normalization Methods 0.000 claims description 5
- 238000004364 calculation method Methods 0.000 abstract description 9
- 239000012503 blood component Substances 0.000 abstract description 5
- 230000000694 effects Effects 0.000 abstract description 4
- 238000001514 detection method Methods 0.000 abstract description 3
- 238000010183 spectrum analysis Methods 0.000 abstract description 3
- 238000012360 testing method Methods 0.000 abstract description 2
- 230000002159 abnormal effect Effects 0.000 description 7
- 239000008280 blood Substances 0.000 description 5
- 210000004369 blood Anatomy 0.000 description 5
- 238000003379 elimination reaction Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000008030 elimination Effects 0.000 description 4
- 239000000306 component Substances 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000004611 spectroscopical analysis Methods 0.000 description 2
- 238000002835 absorbance Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 210000001367 artery Anatomy 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 210000000624 ear auricle Anatomy 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000031700 light absorption Effects 0.000 description 1
- 238000000691 measurement method Methods 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
- 238000002235 transmission spectroscopy Methods 0.000 description 1
Images
Landscapes
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
本发明公开了一种基于差值提取的动态光谱数据处理方法,涉及光谱分析技术领域,同步采集待测部位的全波段N个波长下的光电容积脉搏波,设置间隔点数范围;采用差值提取法提取所述间隔点数范围内各数值SA对应的差值动态光谱组;对所述各数值SA对应的差值动态光谱组进行比较,选取离散程度最小的一组进行叠加平均作为最终动态光谱结果。本发明通过差值运算可获得大量的差值动态光谱,实现了对实验数据更为充分的利用,提高了计算效率,降低了试验的复杂度;在粗大误差剔除过程中利用差值动态光谱的平均效应对含粗大误差的动态光谱予以剔除,极大地提高了动态光谱的信噪比,改善了动态光谱无创血液成分检测的精度。
The invention discloses a dynamic spectrum data processing method based on difference extraction, which relates to the technical field of spectrum analysis, and synchronously collects photoplethysmography pulse waves under N wavelengths in the full band of the part to be measured, and sets the range of interval points; adopts difference extraction method to extract the difference dynamic spectrum group corresponding to each value SA within the range of the interval point number; compare the difference value dynamic spectrum group corresponding to each value SA, and select the group with the smallest degree of dispersion for superposition and average as the final dynamic spectrum result . The present invention can obtain a large number of difference dynamic spectra through difference calculation, realize more full utilization of experimental data, improve calculation efficiency, and reduce test complexity; The average effect eliminates the dynamic spectrum with gross errors, which greatly improves the signal-to-noise ratio of the dynamic spectrum and improves the accuracy of the non-invasive blood component detection of the dynamic spectrum.
Description
技术领域 technical field
本发明涉及光谱分析技术领域,特别涉及一种能提高动态光谱分析精度及效率的基于差值提取的动态光谱数据处理方法。The invention relates to the technical field of spectrum analysis, in particular to a dynamic spectrum data processing method based on difference extraction that can improve the precision and efficiency of dynamic spectrum analysis.
背景技术 Background technique
在众多的无创血液成分光学检测方法中,透射光谱法相比其他光谱测量方法具有明显的优越性,其中动态光谱法在理论上可消除皮肤、脂肪等光学背景对测量脉动部分的动脉血液光谱的干扰。动态光谱法的基本原理是采用可见和近红外波段的光照射手指进而得到各波长下含有血液成分信息的光电容积脉搏波,通过提取各波长下取对数后的光电容积脉搏波的峰峰值即可组成动态光谱。由于脉动动脉血液吸光量相较于组织背景而言微弱很多,加之光谱重叠、异常波形干扰、数据采集系统采样率有限等因素的影响,如何更为充分利用采集得到的各波长光电容积脉搏波数据,更为高速有效地获得高质量的动态光谱就显得尤为重要。Among the many non-invasive optical detection methods of blood components, transmission spectroscopy has obvious advantages over other spectral measurement methods, among which dynamic spectroscopy can theoretically eliminate the interference of optical backgrounds such as skin and fat on the measured arterial blood spectrum of the pulsating part . The basic principle of dynamic spectroscopy is to irradiate the finger with light in the visible and near-infrared bands to obtain photoplethysmography waves containing blood component information at each wavelength. A dynamic spectrum can be composed. Since the light absorption of pulsating arterial blood is much weaker than that of the tissue background, coupled with the influence of factors such as spectral overlap, abnormal waveform interference, and limited sampling rate of the data acquisition system, how to make full use of the collected photoplethysmography data of each wavelength , it is particularly important to obtain high-quality dynamic spectra more quickly and effectively.
为了更为简单有效的获取相同血液容积变化对应的吸光度的差异,通常采用提取光电容积脉搏波的峰峰值(单个光电容积脉搏波周期中最大值与最小值之间的差值)来对应脉动动脉血液最大变化量,进而组成动态光谱。现有的动态光谱提取方法主要有频域提取法(发明专利《无创测量血液光谱与成分的方法》公开号:CN101507607,公开日:2009年8月19日)和时域单拍提取法(发明专利《一种基于单沿提取法的动态光谱数据处理方法》公开号:CN101912256A,公开日:2010年12月15日),二者均是通过提取光电容积脉搏波的峰峰值来组成动态光谱。In order to obtain the difference in absorbance corresponding to the same blood volume change more simply and effectively, the peak-to-peak value of the photoplethysmogram (the difference between the maximum value and the minimum value in a single photoplethysmography cycle) is usually used to correspond to the pulsating artery The maximum amount of blood changes, and then constitute a dynamic spectrum. Existing dynamic spectrum extraction methods mainly include frequency domain extraction method (invention patent "method for non-invasive measurement of blood spectrum and components" publication number: CN101507607, publication date: August 19, 2009) and time domain single-shot extraction method (invention Patent "A Dynamic Spectral Data Processing Method Based on Single-edge Extraction Method" Publication No.: CN101912256A, Publication Date: December 15, 2010), both of them compose the dynamic spectrum by extracting the peak-to-peak value of the photoplethysmographic wave.
通过对上述两种方法进行分析发现二者均存在着以下不足和缺陷:Through the analysis of the above two methods, it is found that both of them have the following deficiencies and defects:
1、频域提取法利用傅里叶变换的方法对各波长下的取对数后的光电容积脉搏波进行时域到频域的变换,提取频域中幅值最大的谐波幅值来替代对数光电容积脉搏波的峰峰值,该方法是为了解决时域提取对数光电容积脉搏波峰峰值相对困难且误差较大的问题而提出的间接提取方式,尽管对各波长下光电容积脉搏波的全部数据加以处理,但只利用了最大谐波分量信息,造成运算的冗余,降低了运算效率,且在运算过程中难以抑制时域信号中存在的异常波形和基线漂移等因素的影响,无法在运算过程中对数据质量进行有效的实时评估;1. The frequency domain extraction method uses the Fourier transform method to transform the logarithmic photoplethysmogram at each wavelength from the time domain to the frequency domain, and extracts the harmonic amplitude with the largest amplitude in the frequency domain to replace The peak-to-peak value of the logarithmic photoplethysmogram, this method is an indirect extraction method proposed to solve the problem of relatively difficult and large error in extracting the peak-to-peak value of the logarithmic photoplethysmogram in the time domain, although the photoplethysmography at each wavelength All the data are processed, but only the maximum harmonic component information is used, resulting in redundant calculations, reducing the efficiency of calculations, and it is difficult to suppress the influence of factors such as abnormal waveforms and baseline drift in the time-domain signals during the calculation process. Effective real-time assessment of data quality during calculations;
2、时域单拍提取法初步解决了动态光谱时域提取的困难,实现了对数脉搏波峰峰值的直接提取并且能较好抑制光电容积脉搏波中异常波形对动态光谱精度的影响,数据处理速度有所提升,然而该方法未能对实验数据进行充分利用,在脉搏波峰值定位上仍存在较大误差,实验数据处理程序繁冗复杂,实时监测能力较差。2. The time-domain single-shot extraction method preliminarily solves the difficulty of dynamic spectrum time-domain extraction, realizes the direct extraction of logarithmic pulse peak-to-peak values and can better suppress the influence of abnormal waveforms in photoplethysmography on the accuracy of dynamic spectra. Data processing The speed has been improved, but this method fails to make full use of the experimental data, there is still a large error in the location of the pulse wave peak, the experimental data processing procedure is cumbersome and complex, and the real-time monitoring ability is poor.
发明内容 Contents of the invention
为了解决目前动态光谱频域提取法中运算效率低和运算中无法有效评估和克服异常波形影响等不足,以及时域单拍提取法中脉搏波定位困难和运算复杂等问题,本发明提供了一种基于差值提取的动态光谱数据处理方法,所述方法包括以下步骤:In order to solve the problems of low operation efficiency in the current dynamic spectrum frequency domain extraction method and the inability to effectively evaluate and overcome the influence of abnormal waveforms in the operation, as well as the difficulties in pulse wave positioning and complex operation in the time domain single-shot extraction method, the present invention provides a A kind of dynamic spectral data processing method based on difference value extraction, described method comprises the following steps:
一种基于差值提取的动态光谱数据处理方法,所述方法包括以下步骤:A method for processing dynamic spectral data based on difference extraction, said method comprising the following steps:
(1)同步采集待测部位的全波段N个波长下的光电容积脉搏波,设置间隔点数范围S;(1) Synchronously collect the photoplethysmography waves under the full band N wavelengths of the part to be measured, and set the range S of interval points;
(2)采用差值提取法提取所述间隔点数范围S内各数值SA对应的差值动态光谱组;(2) adopt difference extraction method to extract the difference value dynamic spectrum group corresponding to each numerical value SA in the range S of the interval point number;
(3)对所述各数值SA对应的差值动态光谱组进行比较,选取离散程度最小的一组进行叠加平均作为最终动态光谱结果。(3) Compare the difference dynamic spectrum groups corresponding to the various numerical values SA, and select the group with the smallest degree of dispersion for superposition and averaging as the final dynamic spectrum result.
步骤(2)中的所述采用差值提取法提取所述间隔点数范围S内各数值对应的差值动态光谱组具体包括:In step (2), the difference value dynamic spectrum group corresponding to each numerical value in the range S of the interval points extracted by the difference value extraction method specifically includes:
1)对全波段光电容积脉搏波取对数,获取全波段对数脉搏波,选定所述间隔点数范围S内的任意所述数值SA,按时间先后顺序计算相隔所述数值SA的两个采样点差值的绝对值,获取全波段差值序列,其中,各波长下差值序列的长度为M-SA,M为采样点个数;1) Take the logarithm of the full-band photoplethysmogram, obtain the full-band logarithmic pulse wave, select any of the numerical values SA within the range S of the interval points, and calculate the two values separated by the numerical value SA in chronological order. The absolute value of the sampling point difference is obtained to obtain the full-band difference sequence, wherein the length of the difference sequence at each wavelength is M-SA, and M is the number of sampling points;
2)对所述全波段差值序列中同一位置差值进行叠加平均得到平均差值序列;2) superimposing and averaging the same position difference in the full-band difference sequence to obtain an average difference sequence;
3)对所述平均差值序列中所有差值Di,求平均差值根据所述平均差值设置差值阈值范围,通过所述差值阈值范围对所述平均差值序列中差值进行筛选,获取筛选后L个差值,其中,i=1,2,3...,M-SA,L的取值小于等于M-SA;3) Calculate the average difference for all the differences D i in the average difference sequence According to the mean difference Set a difference threshold range, filter the difference in the average difference sequence through the difference threshold range, and obtain L difference values after filtering, wherein, i=1, 2, 3..., M-SA , the value of L is less than or equal to M-SA;
4)根据所述筛选后L个差值的位置,按波长大小顺序提取全波段差值序列中同一位置的差值组成L个初始差值动态光谱;4) According to the positions of the L difference values after the screening, the difference values at the same position in the full-band difference value sequence are extracted in order of wavelength to form L initial difference value dynamic spectra;
5)对所述L个初始差值动态光谱进行归一化,获取归一化差值动态光谱Xj,其中,j=1,2,3,…,L;5) Normalize the L initial differential dynamic spectra to obtain a normalized differential dynamic spectrum X j , where j=1, 2, 3, ..., L;
6)将所述归一化差值动态光谱Xj进行叠加平均得到差值动态光谱模板 6) Superimpose and average the normalized difference dynamic spectrum X j to obtain the difference dynamic spectrum template
7)用欧式距离描述各归一化差值动态光谱Xj与所述差值动态光谱模板的相似程度;7) Euclidean distance is used to describe each normalized difference dynamic spectrum X j and the difference dynamic spectrum template degree of similarity;
8)根据3σ准则和所述相似程度,判断所述各归一化差值动态光谱Xj是否存在粗大误差,如果存在,剔除对应的归一化差值动态光谱Xj;如果不存在,则筛选结束,最终得到与所述数值SA相对应的一个差值动态光谱组;8) According to the 3σ criterion and the degree of similarity, it is judged whether there is a gross error in each normalized difference dynamic spectrum X j , and if there is, the corresponding normalized difference dynamic spectrum X j is eliminated; if not, then After the screening is completed, a difference dynamic spectrum group corresponding to the value SA is finally obtained;
9)循环执行步骤2)~8),依次提取所述间隔点数范围内其他数值对应的差值动态光谱组。9) Steps 2) to 8) are executed cyclically, and the differential dynamic spectrum groups corresponding to other values within the range of the interval points are sequentially extracted.
所述对所述L个初始差值动态光谱进行归一化,获取归一化差值动态光谱Xj具体包括:The normalization of the L initial difference dynamic spectra, and obtaining the normalized difference dynamic spectra X j specifically include:
对所述L个初始差值动态光谱进行叠加平均得到一个平均光程长差值动态光谱;Performing superposition and averaging on the L initial difference dynamic spectra to obtain an average optical path length difference dynamic spectrum;
将初始差值动态光谱中各波长的光谱值除以所述平均光程长差值动态光谱对应的光谱值,获取一组比例系数Kλ,其中λ=1,2,3...,N;Divide the spectral value of each wavelength in the initial difference dynamic spectrum by the spectral value corresponding to the average optical path length difference dynamic spectrum to obtain a set of proportional coefficients K λ , where λ=1, 2, 3..., N ;
对所有比例系数Kλ进行叠加平均得到一个平均光程归一化系数 Superimpose and average all proportional coefficients K λ to obtain an average optical path normalization coefficient
用所述初始差值动态光谱中各波长的光谱值乘以获取所述归一化差值动态光谱Xj。Multiply the spectral value of each wavelength in the initial difference dynamic spectrum by The normalized difference dynamic spectrum X j is obtained.
步骤(3)中的所述离散程度最小即标准差σ的值最小。The degree of dispersion in step (3) is the smallest, that is, the value of the standard deviation σ is the smallest.
本发明提供的一种基于差值提取的动态光谱数据处理方法的有益效果是:The beneficial effects of a dynamic spectral data processing method based on difference extraction provided by the present invention are:
本发明提供的方法与现有的频域提取法和时域差值提取法相比,通过差值运算可获得大量的差值动态光谱,实现了对实验数据更为充分的利用,提高了计算效率,降低了试验的复杂度;在处理过程中首先利用差值序列模板的平均效应实现对信噪比较低和奇异的差值动态光谱的有效剔除,其次在粗大误差剔除过程中利用差值动态光谱的平均效应对含粗大误差的动态光谱予以剔除,极大地提高了动态光谱的信噪比,改善了动态光谱无创血液成分检测的精度。Compared with the existing frequency domain extraction method and time domain difference value extraction method, the method provided by the present invention can obtain a large number of difference value dynamic spectra through difference operation, realize more full utilization of experimental data, and improve calculation efficiency , which reduces the complexity of the experiment; in the process of processing, the average effect of the difference sequence template is firstly used to effectively eliminate the low signal-to-noise ratio and singular difference dynamic spectrum, and secondly, the difference dynamic spectrum is used in the coarse error elimination process The average effect of the spectrum eliminates the dynamic spectrum with gross errors, which greatly improves the signal-to-noise ratio of the dynamic spectrum and improves the accuracy of the non-invasive blood component detection of the dynamic spectrum.
附图说明 Description of drawings
图1为本发明提供的一种基于差值提取的动态光谱数据处理方法的流程图;Fig. 1 is a flow chart of a dynamic spectral data processing method based on difference extraction provided by the present invention;
图2为本发明提供的提取间隔点数范围S内各数值对应的差值动态光谱组的流程图。Fig. 2 is a flow chart of extracting the difference dynamic spectrum group corresponding to each value in the interval point range S provided by the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
为了解决目前动态光谱频域提取法中运算效率低和运算中无法有效评估和克服异常波形影响等不足,以及时域单拍提取法中脉搏波定位困难和运算复杂等问题,本发明实施例提供了一种基于差值提取的动态光谱数据处理方法,参见图1和图2,详见下文描述:In order to solve the problems of low operation efficiency in the current dynamic spectrum frequency domain extraction method and the inability to effectively evaluate and overcome the influence of abnormal waveforms in the operation, as well as the difficulties in pulse wave positioning and complex operation in the time domain single-shot extraction method, the embodiments of the present invention provide A dynamic spectral data processing method based on difference extraction is proposed, see Figure 1 and Figure 2, see the following description for details:
101:同步采集待测部位的全波段N个波长下的光电容积脉搏波,设置间隔点数范围S;101: Synchronously collect the photoplethysmography waves of the part to be measured in the full band of N wavelengths, and set the range S of interval points;
其中,各光电容积脉搏波的采样点个数为M个,待测部位可以为手指和耳垂等部位,具体实现时本发明实施例对此不做限制;Wherein, the number of sampling points of each photoplethysmogram is M, and the parts to be measured can be parts such as fingers and earlobes, which are not limited in the embodiments of the present invention during specific implementation;
根据光电容积脉搏波数据采集装置的采样率及精度,同时结合人体脉搏波的特征设置间隔点数范围S,光电脉搏波数据采集装置采用现有技术中通用的只要能实现同步采集的装置即可,具体实现时本发明实施例对此不做限制;According to the sampling rate and precision of the photoelectric plethysmography data acquisition device, the interval point range S is set in conjunction with the characteristics of the pulse wave of the human body. The embodiments of the present invention do not limit this during specific implementation;
102:采用差值提取法提取间隔点数范围S内各数值SA对应的差值动态光谱组;102: Using the difference extraction method to extract the difference dynamic spectrum group corresponding to each value SA in the interval point range S;
其中,该步骤具体包括步骤1021-1029,详见下文描述:Wherein, this step specifically includes steps 1021-1029, see the following description for details:
1021:对全波段光电容积脉搏波取对数,获取全波段对数脉搏波,选定间隔点数范围S内的任意数值SA,按时间先后顺序计算相隔SA的两个采样点差值的绝对值,获取全波段差值序列;1021: Take the logarithm of the full-band photoplethysmography, obtain the full-band logarithmic pulse wave, select any value SA within the interval point range S, and calculate the absolute value of the difference between two sampling points separated by SA in chronological order , to obtain the full-band difference sequence;
其中,该步骤具体为:根据修正的朗伯-比尔定律,对采集的所有波长下的光电容积脉搏波进行对数变换得到全波段对数脉搏波,各波长下差值序列的长度为M-SA。Wherein, this step is specifically: according to the amended Lambert-Beer's law, logarithmically transform the photoplethysmography waves collected at all wavelengths to obtain full-band logarithmic pulse waves, and the length of the difference sequence under each wavelength is M- SA.
其中,数值SA可以选择间隔点数范围S内的任意数值,例如:间隔点数范围S为1至5,数值SA可以取值为1、2、3、4或5,具体实现时,本发明实施例对此不做限制。Wherein, the numerical value SA can select any numerical value within the interval point range S, for example: the interval point number range S is 1 to 5, and the numerical value SA can take a value of 1, 2, 3, 4 or 5. During specific implementation, the embodiment of the present invention There is no restriction on this.
1022:对全波段差值序列中同一位置差值进行叠加平均得到平均差值序列;1022: Obtain an average difference sequence by superimposing and averaging the differences at the same position in the full-band difference sequence;
其中,由于各波长下的光电容积脉搏波是在同一部位同步采集到的,因而它们在时间上具有严格一致性,图形上具有相似性。经对数和差值运算得到的全波段差值序列同样具有时间的一致性和图形的一致性,因而可对各波长的差值序列中同一位置差值进行叠加平均获取平均差值序列。Among them, since the photoplethysmography at each wavelength is collected synchronously at the same site, they have strict consistency in time and similarity in graph. The full-band difference sequence obtained by logarithmic and difference operations also has time consistency and graphic consistency, so the difference values at the same position in the difference sequence of each wavelength can be superimposed and averaged to obtain the average difference sequence.
1023:对平均差值序列中所有差值Di(i=1,2,3...,M-SA)求平均差值根据平均差值设置差值阈值范围,通过差值阈值范围对平均差值序列中差值进行筛选,获取筛选后L个差值;1023: Calculate the average difference for all differences D i (i=1, 2, 3..., M-SA) in the average difference sequence According to the average difference Set the difference threshold range, filter the difference in the average difference sequence through the difference threshold range, and obtain L difference values after filtering;
其中,该步骤具体为:在差值运算过程中会出现差值过小或者异常波形导致的差值大小异常,这些都严重影响差值动态光谱的信噪比,需要予以剔除。在处理过程中,对平均差值序列中所有差值Di(i=1,2,3...,M-SA)求平均差值根据平均差值设置差值阈值范围,筛选得到差值范围内的L个差值,L的取值小于等于M-SA。其中,本发明实施例中的差值阈值范围选取为具体实现时,还可以设置为其他的范围,本发明实施例对此不做限制。Wherein, this step is specifically: during the difference calculation process, there may be too small differences or abnormal difference sizes caused by abnormal waveforms, which seriously affect the signal-to-noise ratio of the difference dynamic spectrum and need to be eliminated. During processing, calculate the average difference for all differences D i (i=1, 2, 3..., M-SA) in the average difference sequence According to the average difference Set the difference threshold range, filter to obtain L difference values within the difference range, and the value of L is less than or equal to M-SA. Wherein, the difference threshold range in the embodiment of the present invention is selected as During specific implementation, other ranges may also be set, which is not limited in this embodiment of the present invention.
1024:根据筛选后L个差值的位置,按波长大小顺序提取全波段差值序列中同一位置的差值组成L个初始差值动态光谱;1024: According to the positions of the L difference values after screening, the difference values at the same position in the full-band difference value sequence are extracted in order of wavelength to form L initial difference value dynamic spectra;
其中,根据动态光谱理论,全波段差值序列中同一位置的差值即可组成一个差值动态光谱;由于平均差值序列为全波段各波长差值序列的“理想序列”,对平均差值序列中差值的选择,其实质是对全波段差值序列中同一位置差值的优选,即对差值动态光谱的选择;根据筛选得到的L个差值的位置分别获取对应的L个初始差值动态光谱。Among them, according to the theory of dynamic spectrum, the difference of the same position in the full-band difference sequence can form a difference dynamic spectrum; since the average difference sequence is the "ideal sequence" of the difference sequence of each wavelength in the whole band, the average difference The selection of the difference in the sequence is essentially the selection of the difference at the same position in the full-band difference sequence, that is, the selection of the dynamic spectrum of the difference; according to the positions of the L differences obtained by screening, the corresponding L initial Difference Dynamic Spectrum.
1025:对L个初始差值动态光谱进行归一化,获取归一化差值动态光谱Xj(j=1,2,3,…,L);1025: Normalize the L initial differential dynamic spectra to obtain normalized differential dynamic spectra X j (j=1, 2, 3, ..., L);
由于初始差值动态光谱之间存在光程长差异,因而需要对初始差值动态光谱进行归一化处理。由于不同时刻的差值动态光谱具有相似性但光程长存在差异,对L个初始差值动态光谱进行叠加平均即可得到一个平均光程长差值动态光谱。Since there is a difference in optical path length between the initial difference dynamic spectra, it is necessary to normalize the initial difference dynamic spectra. Since the difference dynamic spectra at different times are similar but the optical path lengths are different, an average optical path length difference dynamic spectrum can be obtained by superimposing and averaging the L initial difference dynamic spectra.
由于平均光程长差值动态光谱具有很高的信噪比,以此作为标准对各初始差值动态光谱归一化,最终使各差值动态光谱与平均光程长差值动态光谱具有相同的光程长。Since the average optical path length difference dynamic spectrum has a high signal-to-noise ratio, use this as a standard to normalize each initial difference dynamic spectrum, and finally make each difference dynamic spectrum and the average optical path length difference dynamic spectrum have the same of light path length.
以某一差值动态光谱为例,其归一化具体步骤如下:①将初始差值动态光谱中各波长的光谱值除以平均光程长差值动态光谱对应光谱值,得到一组比例系数Kλ(λ=1,2,3...,N);②对所有比例系数Kλ进行叠加平均得到一个平均光程归一化系数③用初始差值动态光谱中各波长的光谱值乘以获取归一化差值动态光谱Xj。Taking a certain differential dynamic spectrum as an example, the normalization steps are as follows: ①Divide the spectral value of each wavelength in the initial differential dynamic spectrum by the average optical path length corresponding to the spectral value of the differential dynamic spectrum to obtain a set of proportional coefficients K λ (λ=1, 2, 3..., N); ② superimpose and average all proportional coefficients K λ to obtain an average optical path normalization coefficient ③ Multiply the spectral value of each wavelength in the initial difference dynamic spectrum by Obtain the normalized difference dynamic spectrum X j .
1026:将归一化差值动态光谱Xj进行叠加平均得到差值动态光谱模板 1026: Superimpose and average the normalized difference dynamic spectrum X j to obtain the difference dynamic spectrum template
1027:用欧式距离描述各归一化差值动态光谱Xj与差值动态光谱模板的相似程度;1027: Use Euclidean distance to describe each normalized difference dynamic spectrum X j and difference dynamic spectrum template degree of similarity;
其中,该步骤具体为:根据欧式距离的定义,各归一化差值动态光谱Xj与差值动态光谱模板之间的距离为以来描述二者的相似性,越小,则表明二者的相似性越高。Wherein, this step is specifically: according to the definition of Euclidean distance, each normalized difference dynamic spectrum X j and the difference dynamic spectrum template The distance between by To describe the similarity between the two, The smaller the value, the higher the similarity between the two.
其中,Xj,λ,分别为Xj,在波长λ对应的光谱值,λ=1,2,3,...,N。in, Xj ,λ , Respectively X j , The spectral value corresponding to the wavelength λ, λ=1, 2, 3, . . . , N.
1028:根据3σ准则和相似程度,判断各归一化差值动态光谱Xj是否存在粗大误差,如果存在,剔除对应的归一化差值动态光谱Xj;如果不存在,则筛选结束,最终得到与数值SA相对应的一个差值动态光谱组;1028: According to the 3σ criterion and the degree of similarity, judge whether there is a gross error in each normalized difference dynamic spectrum X j , if yes, delete the corresponding normalized difference dynamic spectrum X j ; if not, the screening ends, and finally Obtain a differential dynamic spectrum group corresponding to the value SA;
在测量过程中由于存在外界噪声或者基线漂移等干扰,这些因素会产生粗大误差从而影响动态光谱的精度。因而需要对含有粗大误差的归一化差值动态光谱进行剔除来提高动态光谱的信噪比。During the measurement process, due to interference such as external noise or baseline drift, these factors will produce gross errors and affect the accuracy of the dynamic spectrum. Therefore, it is necessary to eliminate the normalized difference dynamic spectrum containing gross errors to improve the signal-to-noise ratio of the dynamic spectrum.
其中,粗大误差剔除步骤具体为:计算各归一化差值动态光谱Xj与差值动态光谱模板之间的平均欧氏距离残差vj、标准差σ;若某一归一化差值动态光谱的残差大于3σ,即|vj|>3σ,则认为该归一化差值动态光谱含有粗大误差并予以剔除,否则予以保留;对所有归一化差值动态光谱完成所述动态光谱模板下的一轮粗大误差剔除后,对筛选剩余归一化差值动态光谱重新执行步骤1026~步骤1028,重新获得差值动态光谱模板来对含粗大误差动态光谱进行剔除;每经过一轮筛选后归一化差值光谱数量L会相应减少,直至所有含有粗大误差的归一化差值动态光谱被剔除;最终得到一组与数值SA相对应的一个差值动态光谱组。Among them, the gross error elimination step is specifically: calculating each normalized difference dynamic spectrum X j and the difference dynamic spectrum template The average Euclidean distance between Residual v j , standard deviation σ; if the residual of a certain normalized difference dynamic spectrum is greater than 3σ, that is, |v j |>3σ, it is considered that the normalized difference dynamic spectrum contains gross errors and is eliminated. Otherwise, keep it; after completing a round of coarse error elimination under the dynamic spectrum template for all normalized difference dynamic spectra, re-execute steps 1026 to 1028 for the screened remaining normalized difference dynamic spectra to regain the difference Dynamic spectrum templates are used to remove the dynamic spectra with gross errors; after each round of screening, the number L of normalized difference spectra will be reduced accordingly until all normalized difference dynamic spectra containing gross errors are eliminated; finally a Group A difference dynamic spectrum group corresponding to the value SA.
1029:循环执行步骤1022~1028,依次提取间隔点数范围S内其他数值对应的差值动态光谱组。1029: cyclically execute steps 1022-1028, and sequentially extract the difference dynamic spectrum groups corresponding to other values within the interval point range S.
103:对各数值对应的差值动态光谱组进行比较,选取离散程度最小的一组进行叠加平均作为最终动态光谱结果。103: Compare the difference dynamic spectrum groups corresponding to each value, and select the group with the smallest degree of dispersion for superposition and averaging as the final dynamic spectrum result.
其中,离散程度最小即为σ的值最小。Among them, the smallest degree of dispersion is the smallest value of σ.
本发明实施例方法中应用到的3σ判定准则为数据处理方法中的公知技术,为本领域工程技术人员所公知。The 3σ judgment criterion applied in the method of the embodiment of the present invention is a well-known technology in data processing methods, and is well known to engineers and technicians in the field.
综上所述,本发明实施例提供了一种基于差值提取的动态光谱数据处理方法,该方法与现有的频域提取法和时域差值提取法相比,通过差值运算可获得大量的差值动态光谱,实现了对实验数据更为充分的利用,提高了计算效率,降低了试验的复杂度;在处理过程中首先利用差值序列模板的平均效应实现对信噪比较低和奇异的差值动态光谱的有效剔除,其次在粗大误差剔除过程中利用差值动态光谱的平均效应对含粗大误差的动态光谱予以剔除,极大地提高了动态光谱的信噪比,改善了动态光谱无创血液成分检测的精度。In summary, the embodiment of the present invention provides a dynamic spectral data processing method based on difference value extraction. Compared with the existing frequency domain extraction method and time domain difference value extraction method, this method can obtain a large number of The dynamic spectrum of difference value realizes the full utilization of experimental data, improves the calculation efficiency and reduces the complexity of experiment; The effective elimination of the singular difference dynamic spectrum, and secondly, the average effect of the difference dynamic spectrum is used to eliminate the dynamic spectrum with gross errors in the process of gross error elimination, which greatly improves the signal-to-noise ratio of the dynamic spectrum and improves the performance of the dynamic spectrum. Accuracy of Noninvasive Blood Component Testing.
本领域技术人员可以理解附图只是一个优选实施例的示意图,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred embodiment, and the serial numbers of the above-mentioned embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210118409 CN102631198B (en) | 2012-04-20 | 2012-04-20 | Dynamic spectrum data processing method based on difference value extraction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201210118409 CN102631198B (en) | 2012-04-20 | 2012-04-20 | Dynamic spectrum data processing method based on difference value extraction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102631198A true CN102631198A (en) | 2012-08-15 |
CN102631198B CN102631198B (en) | 2013-08-14 |
Family
ID=46615905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201210118409 Expired - Fee Related CN102631198B (en) | 2012-04-20 | 2012-04-20 | Dynamic spectrum data processing method based on difference value extraction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102631198B (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103027692A (en) * | 2012-12-27 | 2013-04-10 | 天津大学 | Dynamic spectrum data processing method based on uncertainty |
CN103239239A (en) * | 2013-04-23 | 2013-08-14 | 天津大学 | Fixed-amplitude dynamic spectrum data extraction method |
CN103239240A (en) * | 2013-04-23 | 2013-08-14 | 天津大学 | Oxygen saturation extraction method for eliminating optical path length differences |
CN104799840A (en) * | 2015-04-23 | 2015-07-29 | 天津大学 | Single-path acquisition device and single-path acquisition method for bioelectricity and triangular wave modulated multi-path signals |
CN106073800A (en) * | 2016-08-04 | 2016-11-09 | 天津大学 | Based on absolute difference and the method for processing dynamic spectral data of extraction and device thereof |
CN106137219A (en) * | 2016-08-04 | 2016-11-23 | 天津大学 | The absolute difference of dual wavelength adds and calculates arterial oxygen saturation method and device thereof |
CN106483840A (en) * | 2015-09-02 | 2017-03-08 | 西安益翔航电科技有限公司 | A kind of integral control signal recognition methodss for industrial control system |
CN107919891A (en) * | 2016-10-07 | 2018-04-17 | 罗德施瓦兹两合股份有限公司 | For detecting the method and detecting system of at least one broadband interference |
CN108918446A (en) * | 2018-04-18 | 2018-11-30 | 天津大学 | A kind of super low concentration sulfur dioxide ultraviolet difference feature extraction algorithm |
CN109589106A (en) * | 2018-10-19 | 2019-04-09 | 天津大学 | A kind of dynamic spectrum difference extracting method of the gaps such as |
CN109589102A (en) * | 2018-12-27 | 2019-04-09 | 杭州铭展网络科技有限公司 | A kind of acquisition of blood pressure data and processing method |
CN110958352A (en) * | 2019-11-28 | 2020-04-03 | Tcl移动通信科技(宁波)有限公司 | Network signal display method, device, storage medium and mobile terminal |
CN112183273A (en) * | 2020-09-18 | 2021-01-05 | 广州地理研究所 | Wheat stripe rust monitoring method based on spectral information and meteorological data |
CN114767102A (en) * | 2022-06-20 | 2022-07-22 | 天津大学 | Dynamic spectrum data processing method based on waveform scale coefficient extraction |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101507607A (en) * | 2009-03-27 | 2009-08-19 | 天津大学 | No-wound blood spectrum and component measurement method |
CN101912256A (en) * | 2010-08-13 | 2010-12-15 | 天津大学 | A Dynamic Spectral Data Processing Method Based on Single Edge Extraction |
CN101933809A (en) * | 2010-08-31 | 2011-01-05 | 天津大学 | Device and method for non-invasive measurement of blood components by multi-band reflectance spectroscopy |
WO2011040599A1 (en) * | 2009-10-02 | 2011-04-07 | シャープ株式会社 | Device for monitoring blood vessel conditions and method for monitoring same |
CN102258365A (en) * | 2011-08-17 | 2011-11-30 | 天津大学 | Sine-wave modulation photo plethysmo graphy measuring device and method |
CN102389313A (en) * | 2011-08-17 | 2012-03-28 | 天津大学 | Device and method for measuring square wave modulated photoelectric volume pulse wave |
-
2012
- 2012-04-20 CN CN 201210118409 patent/CN102631198B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101507607A (en) * | 2009-03-27 | 2009-08-19 | 天津大学 | No-wound blood spectrum and component measurement method |
WO2011040599A1 (en) * | 2009-10-02 | 2011-04-07 | シャープ株式会社 | Device for monitoring blood vessel conditions and method for monitoring same |
CN101912256A (en) * | 2010-08-13 | 2010-12-15 | 天津大学 | A Dynamic Spectral Data Processing Method Based on Single Edge Extraction |
CN101933809A (en) * | 2010-08-31 | 2011-01-05 | 天津大学 | Device and method for non-invasive measurement of blood components by multi-band reflectance spectroscopy |
CN102258365A (en) * | 2011-08-17 | 2011-11-30 | 天津大学 | Sine-wave modulation photo plethysmo graphy measuring device and method |
CN102389313A (en) * | 2011-08-17 | 2012-03-28 | 天津大学 | Device and method for measuring square wave modulated photoelectric volume pulse wave |
Non-Patent Citations (1)
Title |
---|
李刚: "无创血液成分检测全波段信号信噪比均衡", 《光谱学与光谱分析》 * |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103027692A (en) * | 2012-12-27 | 2013-04-10 | 天津大学 | Dynamic spectrum data processing method based on uncertainty |
CN103027692B (en) * | 2012-12-27 | 2014-11-26 | 天津大学 | Dynamic spectrum data processing method based on uncertainty |
CN103239239A (en) * | 2013-04-23 | 2013-08-14 | 天津大学 | Fixed-amplitude dynamic spectrum data extraction method |
CN103239240A (en) * | 2013-04-23 | 2013-08-14 | 天津大学 | Oxygen saturation extraction method for eliminating optical path length differences |
CN103239239B (en) * | 2013-04-23 | 2014-11-26 | 天津大学 | Fixed-amplitude dynamic spectrum data extraction method |
CN103239240B (en) * | 2013-04-23 | 2015-03-25 | 天津大学 | Oxygen saturation extraction method for eliminating optical path length differences |
CN104799840A (en) * | 2015-04-23 | 2015-07-29 | 天津大学 | Single-path acquisition device and single-path acquisition method for bioelectricity and triangular wave modulated multi-path signals |
CN104799840B (en) * | 2015-04-23 | 2018-05-08 | 天津大学 | The single channel harvester and method of biological electricity and triangular modulation multiple signals |
CN106483840A (en) * | 2015-09-02 | 2017-03-08 | 西安益翔航电科技有限公司 | A kind of integral control signal recognition methodss for industrial control system |
CN106073800A (en) * | 2016-08-04 | 2016-11-09 | 天津大学 | Based on absolute difference and the method for processing dynamic spectral data of extraction and device thereof |
CN106137219A (en) * | 2016-08-04 | 2016-11-23 | 天津大学 | The absolute difference of dual wavelength adds and calculates arterial oxygen saturation method and device thereof |
CN106137219B (en) * | 2016-08-04 | 2019-02-01 | 天津大学 | The absolute difference adduction of dual wavelength calculates arterial oxygen saturation method and device thereof |
CN106073800B (en) * | 2016-08-04 | 2019-03-22 | 天津大学 | Method for processing dynamic spectral data and its device based on absolute difference and extraction |
CN107919891A (en) * | 2016-10-07 | 2018-04-17 | 罗德施瓦兹两合股份有限公司 | For detecting the method and detecting system of at least one broadband interference |
CN107919891B (en) * | 2016-10-07 | 2021-03-02 | 罗德施瓦兹两合股份有限公司 | Method and detection system for detecting at least one wideband interference |
CN108918446A (en) * | 2018-04-18 | 2018-11-30 | 天津大学 | A kind of super low concentration sulfur dioxide ultraviolet difference feature extraction algorithm |
CN109589106A (en) * | 2018-10-19 | 2019-04-09 | 天津大学 | A kind of dynamic spectrum difference extracting method of the gaps such as |
CN109589102A (en) * | 2018-12-27 | 2019-04-09 | 杭州铭展网络科技有限公司 | A kind of acquisition of blood pressure data and processing method |
CN109589102B (en) * | 2018-12-27 | 2021-05-04 | 杭州铭展网络科技有限公司 | Blood pressure data acquisition and processing method |
CN110958352A (en) * | 2019-11-28 | 2020-04-03 | Tcl移动通信科技(宁波)有限公司 | Network signal display method, device, storage medium and mobile terminal |
CN110958352B (en) * | 2019-11-28 | 2021-04-09 | Tcl移动通信科技(宁波)有限公司 | Network signal display method, device, storage medium and mobile terminal |
CN112183273A (en) * | 2020-09-18 | 2021-01-05 | 广州地理研究所 | Wheat stripe rust monitoring method based on spectral information and meteorological data |
CN114767102A (en) * | 2022-06-20 | 2022-07-22 | 天津大学 | Dynamic spectrum data processing method based on waveform scale coefficient extraction |
CN114767102B (en) * | 2022-06-20 | 2022-11-29 | 天津大学 | Dynamic spectrum data processing method based on waveform scale coefficient extraction |
Also Published As
Publication number | Publication date |
---|---|
CN102631198B (en) | 2013-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102631198B (en) | Dynamic spectrum data processing method based on difference value extraction | |
CN101912256B (en) | Dynamic spectrum data processing method based on single-edge extraction | |
CN104224196B (en) | The method of non-invasive measurement blood component concentration | |
CN104706349B (en) | Electrocardiosignal construction method based on pulse wave signals | |
CN106073800B (en) | Method for processing dynamic spectral data and its device based on absolute difference and extraction | |
CN104224197B (en) | Calculation method for arterial oxygen saturation by using characteristic quantity of dual-wavelength photoelectric volume pulse wave | |
CN106137226B (en) | A kind of stress appraisal procedure based on cardiogenic breath signal | |
CN104739395A (en) | Human blood pressure predicting method based on pulse waves | |
CN108056770A (en) | A kind of heart rate detection method based on artificial intelligence | |
CN107693004A (en) | Fetal ECG extraction and fetal heart frequency recognition methods based on hilbert conversion | |
CN106264505A (en) | A kind of heart rate spectral peak system of selection based on support vector machine | |
CN105266800B (en) | One kind is based on fetus electrocardio blind separation under Low SNR | |
TWI505816B (en) | Detecting method and apparatus for blood oxygen saturation | |
CN109171678A (en) | A kind of analysis method and device of pulse wave | |
CN102631199A (en) | Fast dynamic spectral data extraction method | |
CN105816165A (en) | Real-time dynamic heart rate monitoring device and monitoring method | |
CN103239239B (en) | Fixed-amplitude dynamic spectrum data extraction method | |
CN116763275B (en) | A time-frequency analysis method and device for processing photoplethysm pulse signals | |
CN112998704A (en) | Wearable device blood oxygen saturation calculation method | |
CN103263272B (en) | Single-edge multiple-spectrum dynamic spectrum data extraction method | |
Peng et al. | Dynamic spectrum extraction method based on independent component analysis combined dual-tree complex wavelet transform | |
CN103027692B (en) | Dynamic spectrum data processing method based on uncertainty | |
CN115381424A (en) | Heart rate detection method based on double-Gaussian function model and linear regression iterative algorithm | |
TWI504378B (en) | Denoising method and apparatus of pulse wave signal and pulse oximetry | |
Wadehn et al. | Heart rate estimation in photoplethysmogram signals using nonlinear model-based preprocessing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130814 |