[go: up one dir, main page]

CN111759292B - Device and method for comprehensive measurement of human heart rate, respiration and blood oxygen - Google Patents

Device and method for comprehensive measurement of human heart rate, respiration and blood oxygen Download PDF

Info

Publication number
CN111759292B
CN111759292B CN202010590553.2A CN202010590553A CN111759292B CN 111759292 B CN111759292 B CN 111759292B CN 202010590553 A CN202010590553 A CN 202010590553A CN 111759292 B CN111759292 B CN 111759292B
Authority
CN
China
Prior art keywords
signal
light source
blood oxygen
camera
heart rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010590553.2A
Other languages
Chinese (zh)
Other versions
CN111759292A (en
Inventor
乔文龙
余江军
周亮
邓小国
孙笑敩
刘朝晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XiAn Institute of Optics and Precision Mechanics of CAS
Original Assignee
XiAn Institute of Optics and Precision Mechanics of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XiAn Institute of Optics and Precision Mechanics of CAS filed Critical XiAn Institute of Optics and Precision Mechanics of CAS
Priority to CN202010590553.2A priority Critical patent/CN111759292B/en
Publication of CN111759292A publication Critical patent/CN111759292A/en
Application granted granted Critical
Publication of CN111759292B publication Critical patent/CN111759292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0059Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
    • A61B5/0062Arrangements for scanning
    • A61B5/0064Body surface scanning
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0059Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
    • A61B5/0077Devices for viewing the surface of the body, e.g. camera, magnifying lens
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
    • A61B5/024Measuring pulse rate or heart rate
    • A61B5/02416Measuring pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/08Measuring devices for evaluating the respiratory organs
    • A61B5/0816Measuring devices for examining respiratory frequency
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration or pH-value ; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid or cerebral tissue
    • A61B5/14542Measuring characteristics of blood in vivo, e.g. gas concentration or pH-value ; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid or cerebral tissue for measuring blood gases
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration or pH-value ; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid or cerebral tissue
    • A61B5/1455Measuring characteristics of blood in vivo, e.g. gas concentration or pH-value ; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid or cerebral tissue using optical sensors, e.g. spectral photometrical oximeters
    • A61B5/14551Measuring characteristics of blood in vivo, e.g. gas concentration or pH-value ; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid or cerebral tissue using optical sensors, e.g. spectral photometrical oximeters for measuring blood gases
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4854Diagnosis based on concepts of alternative medicine, e.g. homeopathy or non-orthodox
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7225Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/725Details of waveform analysis using specific filters therefor, e.g. Kalman or adaptive filters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7253Details of waveform analysis characterised by using transforms
    • A61B5/7257Details 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)
  • Medical Informatics (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Animal Behavior & Ethology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Veterinary Medicine (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Physiology (AREA)
  • Signal Processing (AREA)
  • Psychiatry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Cardiology (AREA)
  • Pulmonology (AREA)
  • Optics & Photonics (AREA)
  • Mathematical Physics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Alternative & Traditional Medicine (AREA)
  • Power Engineering (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

本发明涉及人体生理健康参数测定装置与方法,具体涉及一种人体心率、呼吸及血氧综合测量装置与方法。本发明的目的是解决现有技术存在体型庞大、操作复杂、测试信号真实性受影响、误差偏大、功能单一、不显示血容积脉搏波波形的问题,提供一种人体心率、呼吸及血氧综合测量装置与方法。该装置设置于底座上的壳体顶部开设显示屏安装槽、侧面开设固定件安装槽;电容显示屏安装于显示屏安装槽内,光源摄像头固定件安装于固定件安装槽内;光源摄像头固定件的底部开设光源安装孔、顶部开设摄像头安装孔;LED复色光源安装于光源安装孔处,彩色摄像头安装于摄像头安装孔处;开发板位于壳体内部;开发板通过电源适配器连接外部电源。该方法利用该装置进行。

Figure 202010590553

The invention relates to a device and method for measuring human physiological health parameters, in particular to a device and method for comprehensively measuring human heart rate, respiration and blood oxygen. The purpose of the present invention is to solve the problems existing in the prior art, such as large size, complicated operation, affected test signal authenticity, large error, single function, and no display of blood volume pulse waveform, and provides a human body heart rate, respiration and blood oxygen Comprehensive measuring device and method. The device is provided with a display screen installation slot on the top of the housing on the base, and a fixing piece installation slot on the side; the capacitive display screen is installed in the display screen installation slot, the light source camera fixing piece is installed in the fixing piece installation slot; the light source camera fixing piece is installed in the fixing piece installation slot; There are light source installation holes at the bottom and camera installation holes at the top; the LED polychromatic light source is installed at the light source installation hole, and the color camera is installed at the camera installation hole; the development board is located inside the housing; the development board is connected to an external power supply through a power adapter. The method is carried out using this device.

Figure 202010590553

Description

一种人体心率、呼吸及血氧综合测量装置与方法Device and method for comprehensive measurement of human heart rate, respiration and blood oxygen

技术领域technical field

本发明涉及一种人体生理健康参数测定装置与方法,具体涉及一种人体心率、呼吸及血氧综合测量装置与方法。The invention relates to a human body physiological health parameter measuring device and method, in particular to a human body heart rate, respiration and blood oxygen comprehensive measuring device and method.

背景技术Background technique

心率、呼吸和血氧等是重要的人体生理健康参数,在临床诊断上具有重要的参考价值,均需要专业的检测设备进行检测。并且,现今市面上的健康检测设备大多体型庞大、操作复杂且功能单一,需要配备专业的医护人员才能完成相应的参数测量,不利于家庭及个人的健康监测和医疗诊断。Heart rate, respiration and blood oxygen are important human physiological health parameters, which have important reference value in clinical diagnosis, and all require professional testing equipment for testing. In addition, most of the health testing equipment on the market today is large in size, complicated in operation and single in function, and requires professional medical staff to complete the corresponding parameter measurement, which is not conducive to health monitoring and medical diagnosis of families and individuals.

按照获取信号方式的不同,可将生理健康参数检测设备分为接触式和非接触式两种。According to the different signal acquisition methods, the physiological health parameter detection equipment can be divided into two types: contact type and non-contact type.

接触式测量设备大多依赖加速度传感器,这类设备普遍需要贴合待测者的相应待测部位。因此,接触式测量设备在使用上具有很大的局限性,比如患者待测部位有外伤不能贴合传感器,这种情况下就不能实现测量。Most contact measurement devices rely on accelerometers, and such devices generally need to fit the corresponding parts of the subject to be measured. Therefore, contact measurement equipment has great limitations in use. For example, the patient to be measured has trauma and cannot fit the sensor. In this case, measurement cannot be achieved.

非接触式测量设备主要应用光学或超声等手段来获取信号,可以克服接触式测量设备使用受限的问题。目前,主流的非接触式生理健康参数检测方法是利用光线与生物组织的相互作用来提取生理信息,而光电容积脉搏波描记技术(PPG技术)是应用最广泛的获得被测者光电容积脉搏波信号(PPG信号)的技术,其基本原理是将光源照射在人体血管分布较稠密的地方,如指尖或耳垂处,由于人体心脏周期性循环射血,导致血管也周期性扩张和收缩,从而使得透射或反射的光线强度也产生周期性变化,光电探测器通过记录一段时间序列内透射光线的强度信息来反映被测者相应部位的血容积变化情况。Non-contact measurement equipment mainly uses optical or ultrasonic methods to obtain signals, which can overcome the problem of limited use of contact measurement equipment. At present, the mainstream non-contact physiological health parameter detection method is to use the interaction between light and biological tissue to extract physiological information, and photoplethysmography (PPG technology) is the most widely used method to obtain the photoplethysmography of the subject. The basic principle of the signal (PPG signal) technology is to irradiate the light source on the densely distributed human blood vessels, such as fingertips or earlobes. Due to the periodic circulation of the human heart to eject blood, the blood vessels are also periodically expanded and contracted. The transmitted or reflected light intensity also changes periodically, and the photodetector reflects the blood volume change of the corresponding part of the subject by recording the intensity information of the transmitted light in a period of time.

现有的生理健康参数检测设备普遍采用单点式光电探测器,容易受到噪声干扰,测得的信号信噪比较低,从而导致测量结果误差偏大。The existing physiological health parameter detection equipment generally uses a single-point photoelectric detector, which is easily interfered by noise, and the measured signal signal-to-noise ratio is low, resulting in a large error in the measurement result.

以市售的基于PPG原理的指夹式脉搏血氧仪为例,这种脉搏血氧仪主要存在以下四个缺点:Taking the commercially available finger-clip pulse oximeter based on the PPG principle as an example, this pulse oximeter mainly has the following four shortcomings:

第一,会对待试者的指尖施加压力,影响测试信号的真实性;First, it will put pressure on the test subject's fingertips, which will affect the authenticity of the test signal;

第二,普遍采用单点式光电探测器,测得的信号信噪比较低,从而导致测量结果误差偏大;Second, single-point photoelectric detectors are generally used, and the signal-to-noise ratio of the measured signal is low, resulting in a large error in the measurement result;

第三,一般只能实现心率和血氧的检测,功能单一;Third, generally only the detection of heart rate and blood oxygen can be realized, and the function is single;

第四,普遍不显示测试者的血容积脉搏波波形。Fourth, the blood volume pulse waveform of the tester is generally not displayed.

发明内容SUMMARY OF THE INVENTION

本发明的目的是解决现有技术存在体型庞大、操作复杂、测试信号真实性受影响、误差偏大、功能单一、不显示血容积脉搏波波形的技术问题,提供一种人体心率、呼吸及血氧综合测量装置与方法。The purpose of the present invention is to solve the technical problems of the prior art, such as large body size, complicated operation, affected test signal authenticity, large error, single function, and no display of blood volume pulse waveform, and provides a human body heart rate, respiration and blood pressure Oxygen comprehensive measuring device and method.

为解决上述技术问题,本发明提供的技术解决方案如下:For solving the above-mentioned technical problems, the technical solutions provided by the present invention are as follows:

本发明提供一种人体心率、呼吸及血氧综合测量装置,其特殊之处在于:包括壳体、底座、电容显示屏、LED复色光源、彩色摄像头、光源摄像头固定件、开发板和电源适配器;The invention provides a comprehensive measurement device for human heart rate, respiration and blood oxygen, which is special in that it includes a casing, a base, a capacitive display screen, an LED polychromatic light source, a color camera, a light source camera fixture, a development board and a power adapter ;

所述壳体设置于底座上,壳体顶部开设有显示屏安装槽,壳体侧面开设固定件安装槽;The housing is arranged on the base, the top of the housing is provided with a display screen installation slot, and the side of the housing is provided with a fixing piece installation slot;

所述电容显示屏安装于显示屏安装槽内,所述光源摄像头固定件安装于固定件安装槽内;The capacitive display screen is installed in the display screen installation groove, and the light source camera fixing member is installed in the fixing member installation groove;

所述光源摄像头固定件的底部开设光源安装孔,光源摄像头固定件的顶部开设摄像头安装孔;The bottom of the light source camera fixing member is provided with a light source installation hole, and the top of the light source camera fixing member is provided with a camera installation hole;

所述LED复色光源安装于光源安装孔处,所述彩色摄像头安装于摄像头安装孔处,彩色摄像头接收LED复色光源的出射光;The LED polychromatic light source is installed at the light source installation hole, the color camera is installed at the camera installation hole, and the color camera receives the outgoing light of the LED polychromatic light source;

所述开发板位于壳体内部,开发板通过导线连接LED复色光源、通过数据排线分别连接彩色摄像头和电容显示屏,开发板发出控制信号分别控制LED复色光源、彩色摄像头和电容显示屏;The development board is located inside the casing, the development board is connected to the LED polychromatic light source through wires, and the color camera and the capacitive display screen are respectively connected through the data cable, and the development board sends out control signals to control the LED polychromatic light source, the color camera and the capacitive display screen respectively. ;

所述开发板通过电源适配器连接外部电源。The development board is connected to an external power supply through a power adapter.

进一步地,所述LED复色光源采用白色光源。Further, the LED polychromatic light source adopts a white light source.

进一步地,所述彩色摄像头采用面阵CMOS传感器。Further, the color camera adopts an area array CMOS sensor.

进一步地,所述面阵CMOS传感器为面阵OV5647-CMOS传感器。Further, the area array CMOS sensor is an area array OV5647-CMOS sensor.

进一步地,所述开发板采用树莓派4B开发板,所述电源适配器为树莓派4B电源适配器。Further, the development board is a Raspberry Pi 4B development board, and the power adapter is a Raspberry Pi 4B power adapter.

进一步地,所述开发板上设有带通滤波器,所述带通滤波器为3阶巴特沃斯带通滤波器。Further, the development board is provided with a band-pass filter, and the band-pass filter is a third-order Butterworth band-pass filter.

进一步地,所述电容显示屏采用TFT电容显示屏。Further, the capacitive display screen adopts a TFT capacitive display screen.

进一步地,所述壳体安装于底座上形成的整体尺寸为135mm×82mm×60mm。Further, the overall size formed by the casing mounted on the base is 135mm×82mm×60mm.

本发明还提供一种利用上述人体心率、呼吸及血氧综合测量装置进行人体心率、呼吸及血氧综合测量的方法,其特殊之处在于,包括以下步骤:The present invention also provides a method for comprehensively measuring human heart rate, respiration and blood oxygen using the above-mentioned comprehensive measuring device for human heart rate, respiration and blood oxygen, which is special in that it includes the following steps:

1)开发板从彩色摄像头处采集视频数据,对视频数据中的每一帧图像进行目标区域识别,计算目标区域的平均灰度值,得到灰度-帧数矩阵,即一维PPG信号;所述目标区域为每帧图像中手指覆盖到的区域;1) The development board collects video data from the color camera, identifies the target area for each frame of image in the video data, calculates the average gray value of the target area, and obtains a gray-frame number matrix, that is, a one-dimensional PPG signal; The target area is the area covered by the finger in each frame of image;

2)通过基于单层形态学开闭操作的基线漂移校正算法,对信号进行基线漂移校正,得到一维相对灰度—帧数矩阵,纵坐标相对灰度,横坐标帧数,即基线校正后的信号;2) Through the baseline drift correction algorithm based on the single-layer morphological opening and closing operation, the baseline drift correction of the signal is performed to obtain a one-dimensional relative grayscale-frame number matrix, the relative grayscale of the ordinate, and the number of frames of the abscissa, that is, after the baseline correction. signal of;

3)确定基线校正后的信号每个信号周期中最高信号峰和最低信号谷3) Determine the highest signal peak and lowest signal valley in each signal cycle of the baseline-corrected signal

3.1)获取彩色摄像头的采样帧率fs,利用采样帧率fs,通过以下公式,计算移动步长step3.1) Obtain the sampling frame rate f s of the color camera, and use the sampling frame rate f s to calculate the moving step step by the following formula

Figure BDA0002555330930000031
Figure BDA0002555330930000031

其中,in,

step为移动步长,单位为帧/秒;step is the moving step, the unit is frame/second;

fs为采样帧率,单位为Hz;f s is the sampling frame rate, in Hz;

3.2)设定一维信号序列f(n0,n1,n2...nk),其中nk为帧数,f(nk)为灰度值,遍历信号序列的所有元素,通过以下关系式,获取基线校正后的信号每个信号周期中所有信号峰和信号谷的坐标值,然后计算每个信号周期中相邻信号峰或相邻信号谷的帧数差值;3.2) Set a one-dimensional signal sequence f(n 0 , n 1 , n 2 ... n k ), where n k is the number of frames, f(n k ) is the grayscale value, traverse all elements of the signal sequence, and pass The following relationship is used to obtain the coordinate values of all signal peaks and signal valleys in each signal period of the baseline-corrected signal, and then calculate the frame number difference between adjacent signal peaks or adjacent signal valleys in each signal period;

信号峰关系式:Signal peak relationship:

f(nk-step)<f(nk)>f(nk+step);f(n k-step )<f(n k )>f(n k+step );

信号谷关系式:Signal valley relation:

f(nk-step)>f(nk)<f(nk+step);f(n k-step )>f(n k )<f(n k+step );

3.3)利用以下公式计算最小间隔delta3.3) Calculate the minimum interval delta using the following formula

Figure BDA0002555330930000041
Figure BDA0002555330930000041

其中,delta为最小间隔,单位为帧/秒;Among them, delta is the minimum interval, in frames per second;

3.4)将步骤3.2)所得每个信号周期中相邻信号峰或相邻信号谷的帧数差值与步骤3.3)所得最小间隔delta进行比较,若相邻信号峰或相邻信号谷的帧数差值小于最小间隔delta,表明该相邻信号峰或相邻信号谷位于同一信号周期内,则取相邻信号峰中灰度值最大的信号峰作为该周期的最高信号峰、取相邻信号谷中灰度值最小的信号谷作为该周期的最低信号谷;若相邻信号峰或相邻信号谷的帧数差值大于等于最小间隔delta,表明该相邻信号峰或相邻信号谷位于不同信号周期内,则将两个相邻信号峰分别作为各自所在信号周期的最高信号峰、将两个相邻信号谷分别作为各自所在信号周期的最低信号谷;3.4) Compare the frame number difference between adjacent signal peaks or adjacent signal valleys in each signal cycle obtained in step 3.2) with the minimum interval delta obtained in step 3.3), if the frame number of adjacent signal peaks or adjacent signal valleys is The difference is less than the minimum interval delta, indicating that the adjacent signal peaks or adjacent signal valleys are in the same signal cycle, then the signal peak with the largest gray value in the adjacent signal peaks is taken as the highest signal peak in the cycle, and the adjacent signal peaks are taken as the highest signal peak in the cycle. The signal valley with the smallest gray value in the valley is regarded as the lowest signal valley of the cycle; if the frame number difference between adjacent signal peaks or adjacent signal valleys is greater than or equal to the minimum interval delta, it indicates that the adjacent signal peaks or adjacent signal valleys are located in different positions. In the signal period, the two adjacent signal peaks are respectively regarded as the highest signal peaks of their respective signal periods, and the two adjacent signal valleys are respectively regarded as the lowest signal valleys of their respective signal periods;

4)计算心率4) Calculate heart rate

利用步骤3.4)所得所有信号周期的最高信号峰对应的横坐标,根据以下公式计算心率Using the abscissa corresponding to the highest signal peak of all signal cycles obtained in step 3.4), calculate the heart rate according to the following formula

Figure BDA0002555330930000042
Figure BDA0002555330930000042

其中,in,

HR为心率,单位为次/分钟;HR is heart rate, the unit is times/min;

n为信号周期,取值1,2,3……,n;n is the signal period, the value is 1,2,3...,n;

locn为第n个信号周期的最高信号峰对应的横坐标(即帧数);loc n is the abscissa (that is, the number of frames) corresponding to the highest signal peak of the nth signal period;

fs为采样帧率,单位为Hz;f s is the sampling frame rate, in Hz;

5)计算呼吸速率5) Calculate the breathing rate

使用通带频率为0.1Hz-0.4Hz的带通滤波器对步骤2)所得基线校正后的信号进行带通滤波,然后对滤波后的信号进行傅里叶变换得到带通滤波后信号的幅值-频率信息并搜索最大幅值对应的频率,该频率即为呼吸频率,利用以下公式计算得到呼吸速率Use a bandpass filter with a passband frequency of 0.1Hz-0.4Hz to perform bandpass filtering on the baseline-corrected signal obtained in step 2), and then perform Fourier transform on the filtered signal to obtain the amplitude of the bandpass filtered signal. - Frequency information and search for the frequency corresponding to the maximum amplitude, this frequency is the breathing frequency, and the breathing rate is calculated by the following formula

Res=60*ploc Res=60* ploc

其中,in,

Res为呼吸速率,单位为次/分钟;Res is the respiratory rate, in times/min;

ploc为呼吸频率,单位为Hz;p loc is the respiratory frequency, in Hz;

6)基于彩色视频图像计算血氧饱和度6) Calculate blood oxygen saturation based on color video images

6.1)利用所述人体心率、呼吸及血氧综合测量装置,采用步骤1)中平均灰度值的计算方法,分别对视频中每一帧图像R通道和G通道的平均灰度值进行计算,得到R通道和G通道的信号,分别计算R通道和G通道信号取对数后的交流量,然后计算R通道和G通道交流量的比值R',其中交流量定义为每个信号周期中最高信号峰与最低信号谷相对灰度值之差;6.1) Utilize the described human heart rate, respiration and blood oxygen comprehensive measurement device, adopt the calculation method of the average gray value in step 1), calculate the average gray value of each frame image R channel and G channel in the video respectively, Obtain the signals of the R channel and the G channel, calculate the AC volume after the logarithm of the R channel and the G channel signal, and then calculate the ratio R' of the AC volume of the R channel and the G channel, where the AC volume is defined as the highest in each signal cycle. The difference between the relative gray value of the signal peak and the lowest signal valley;

6.2)利用步骤6.1)所得比值R'和以下符合人体血氧饱和度变化趋势的非线性血氧饱和度计算公式,计算血氧饱和度6.2) Using the ratio R' obtained in step 6.1) and the following non-linear blood oxygen saturation calculation formula that conforms to the change trend of human blood oxygen saturation, calculate the blood oxygen saturation

Figure BDA0002555330930000051
Figure BDA0002555330930000051

其中,in,

SPO2为血氧饱和度;SPO 2 is blood oxygen saturation;

R'为视频图像R、G双通道获得信号取对数后的交流量比值;R' is the AC volume ratio after the logarithm of the signals obtained from the dual channels of R and G of the video image;

A、B、C和D为常数。A, B, C and D are constants.

进一步地,步骤6.2)中,所述非线性血氧饱和度计算公式的标定方法如下:Further, in step 6.2), the calibration method of the nonlinear blood oxygen saturation calculation formula is as follows:

利用现有血氧仪检测待测者的多组血氧饱和度SPO2,然后利用多组血氧饱和度SPO2和步骤6.1)所得比值R',对非线性血氧饱和度计算公式进行最小二乘拟合,确定参数A、B、C和D的值。Use the existing oximeter to detect the multiple sets of blood oxygen saturation SPO 2 of the test subject, and then use the multiple sets of blood oxygen saturation SPO 2 and the ratio R' obtained in step 6.1) to minimize the nonlinear blood oxygen saturation calculation formula. A quadratic fit determines the values of parameters A, B, C, and D.

本发明相比现有技术具有的有益效果如下:Compared with the prior art, the present invention has the following beneficial effects:

1、相比于现有的指夹式脉搏血氧仪会对测试者指尖施加压力,影响信号的真实性,其采用的单点式光电探测器,信噪比较低,且只能实现心率和血氧的检测,功能单一,也不显示测试者的血容积脉搏波波形,本发明提供的人体心率、呼吸及血氧综合测量装置与方法,以LED复色光源作为光源(如红、绿、蓝三种单色光复合形成的白色光源),将被测者指尖置于光源和彩色摄像头之间,采用彩色摄像头进行视频信号采集,利用图像处理算法得到视频信号每一帧的感兴趣区域(Region Of Interest ROI,即识别目标区域),再求出该区域的灰度平均值,以此来反映该时间段内被测者血容积的变化情况,提高了获得信号的信噪,无需向测试者指尖施加压力,能够保证信号的真实性,还增加了呼吸检测和被测者的真实血容积脉搏波波形显示功能,即能够同时实现心率、呼吸、血氧和血容积脉搏波波形等健康参数的综合测量。1. Compared with the existing finger-clip pulse oximeter, it will put pressure on the tester's fingertips and affect the authenticity of the signal. The single-point photodetector used has a low signal-to-noise ratio and can only achieve The detection of heart rate and blood oxygen has a single function, and does not display the blood volume pulse waveform of the tester. The device and method for comprehensive measurement of human heart rate, respiration and blood oxygen provided by the present invention use an LED polychromatic light source as the light source (such as red, The white light source formed by the combination of green and blue monochromatic light), the subject's fingertip is placed between the light source and the color camera, the color camera is used to collect the video signal, and the image processing algorithm is used to obtain the sense of each frame of the video signal. The region of interest (Region Of Interest ROI, that is, the target region is identified), and then the grayscale average value of the region is obtained to reflect the change of the subject's blood volume during this time period, and to improve the signal-to-noise of the obtained signal. There is no need to put pressure on the tester's fingertips, which can ensure the authenticity of the signal, and the function of respiration detection and the real blood volume pulse wave waveform display function of the test subject is also added, that is, the heart rate, respiration, blood oxygen and blood volume pulse wave can be realized at the same time. Comprehensive measurement of health parameters such as waveforms.

2、本发明提出了一种基于彩色视频图像计算血氧饱和度的非线性测量模型,降低了对于光源单色性的要求,相比于现有线性模型,更符合人体血氧饱和度变化趋势,有效提高了血氧饱和度测量精度。2. The present invention proposes a nonlinear measurement model for calculating blood oxygen saturation based on color video images, which reduces the requirement for the monochromaticity of the light source, and is more in line with the changing trend of human blood oxygen saturation compared with the existing linear models. , effectively improve the blood oxygen saturation measurement accuracy.

3、本发明提供的人体心率、呼吸及血氧综合测量装置尺寸(即壳体安装于底座上形成的整体尺寸)为135mm×82mm×60mm,配合有简洁的操作界面,使用简单且体积小,可广泛应用于家庭个人健康监测和医疗诊断。3. The size of the comprehensive measuring device for human heart rate, respiration and blood oxygen provided by the present invention (that is, the overall size formed by the casing being installed on the base) is 135mm×82mm×60mm, with a concise operation interface, easy to use and small in size, It can be widely used in home personal health monitoring and medical diagnosis.

4、本发明提供的人体心率、呼吸及血氧综合测量装置显示的被测者真实血容积脉搏波波形,可作为中医观察患者脉象的工具,由于中医将脉象分为种类繁多,达28种,使用本发明的装置可以将传统的“摸脉”(大夫将食指、中指和无名指置于测试者的桡动脉处感受脉搏)转变成可测的“看脉”,例如:血容积脉搏波降中峡的高低与测试者的血压有着密切的关系,这种转变将助力于中医发展并走向世界。4. The real blood volume pulse waveform of the subject displayed by the comprehensive measuring device for human heart rate, respiration and blood oxygen provided by the present invention can be used as a tool for Chinese medicine to observe the patient's pulse. Using the device of the present invention, the traditional "feeling the pulse" (the doctor places the index finger, middle finger and ring finger on the tester's radial artery to feel the pulse) can be transformed into a measurable "seeing the pulse", such as: the blood volume and the pulse wave drop in the middle The height of the gorge is closely related to the blood pressure of the test subject, and this change will help the development of traditional Chinese medicine and go to the world.

附图说明Description of drawings

图1为本发明人体心率、呼吸及血氧综合测量装置的剖视图;1 is a cross-sectional view of a comprehensive measuring device for human heart rate, respiration and blood oxygen according to the present invention;

图2为图1中光源摄像机固定件的结构示意图;FIG. 2 is a schematic structural diagram of a light source camera fixture in FIG. 1;

图3为本发明人体心率、呼吸及血氧综合测量方法的步骤3)中单层形态学基线漂移校正流程图;Fig. 3 is the flow chart of single-layer morphological baseline drift correction in step 3) of the comprehensive measurement method of human heart rate, respiration and blood oxygen of the present invention;

图4为本发明人体心率、呼吸及血氧综合测量方法的步骤3)中单层形态学基线漂移校正中结构元素示意图;4 is a schematic diagram of structural elements in step 3) of the comprehensive measurement method for human heart rate, respiration and blood oxygen of the present invention in the correction of the baseline drift of the monolayer morphology;

图5为本发明人体心率、呼吸及血氧综合测量方法的步骤3)中单层形态学基线漂移校正前、后信号曲线的对比图,a为校正前(带有基线漂移),b为校正后;Fig. 5 is the comparison diagram of the signal curve before and after the correction of the baseline drift of the monolayer morphology in step 3) of the comprehensive measurement method of human heart rate, respiration and blood oxygen of the present invention, a is before correction (with baseline drift), b is correction back;

图6为本发明人体心率、呼吸及血氧综合测量装置电容显示屏的初始启动系统操作界面;Fig. 6 is the initial startup system operation interface of the capacitive display screen of the comprehensive measuring device for human heart rate, respiration and blood oxygen according to the present invention;

图7为本发明人体心率、呼吸及血氧综合测量装置一次测量结束后电容显示屏显示的测量结果。FIG. 7 is the measurement result displayed on the capacitive display screen after one measurement by the comprehensive measuring device for human heart rate, respiration and blood oxygen according to the present invention.

附图标记说明:Description of reference numbers:

1-壳体、11-显示屏安装槽、12-固定件安装槽、13-摄像头安装螺纹孔、14-光源出线孔、15-固定件安装螺孔、2-底座、3-电容显示屏、4-LED复色光源、5-彩色摄像头、6-光源摄像头固定件、61-光源安装孔、62-摄像头安装孔、7-开发板、8-手指。1-shell, 11-display installation slot, 12-fixture installation slot, 13-camera installation screw hole, 14-light source outlet hole, 15-fixture installation screw hole, 2-base, 3-capacitive display screen, 4-LED polychromatic light source, 5-color camera, 6-light source camera fixture, 61-light source mounting hole, 62-camera mounting hole, 7-development board, 8-finger.

具体实施方式Detailed ways

下面结合附图对本发明作进一步地说明。The present invention will be further described below with reference to the accompanying drawings.

本发明提供一种人体心率、呼吸及血氧综合测量装置,如图1和图2所示,包括壳体1(即一种用于支撑和保护内部电子器件的结构体)、底座2、电容显示屏3、LED复色光源(LED复合色光源,即多种单色光复合光源)、彩色摄像头5(用于录制彩色视频)、光源摄像头固定件6、开发板7和电源适配器。所述LED复色光源4可采用白色的LED光源(即红、绿、蓝三种单色光复合形成的白色光);所述电容显示屏3采用5寸TFT电容显示屏;所述彩色摄像头5采用面阵CMOS传感器(也称面阵CMOS、面阵CMOS图像传感器、CMOS相机),所述面阵CMOS传感器优选面阵OV5647-CMOS传感器;所述开发板7采用树莓派4B开发板,开发板7上设有带通滤波器,带通滤波器可采用3阶巴特沃斯带通滤波器;电源适配器可采用树莓派4B电源适配器。The present invention provides a comprehensive measurement device for human heart rate, respiration and blood oxygen, as shown in Figures 1 and 2, comprising a casing 1 (that is, a structure for supporting and protecting internal electronic devices), a base 2, a capacitor Display screen 3, LED polychromatic light source (LED composite color light source, that is, a variety of monochromatic light composite light sources), color camera 5 (for recording color video), light source camera fixture 6, development board 7 and power adapter. The LED polychromatic light source 4 can use a white LED light source (that is, white light formed by the composite of three monochromatic lights of red, green and blue); the capacitive display screen 3 uses a 5-inch TFT capacitive display screen; the color camera 5. An area array CMOS sensor (also called area array CMOS, area array CMOS image sensor, and CMOS camera) is used. The area array CMOS sensor is preferably an area array OV5647-CMOS sensor; the development board 7 is a Raspberry Pi 4B development board. There is a band-pass filter on the development board 7, and the band-pass filter can be a 3rd-order Butterworth band-pass filter; the power adapter can be a Raspberry Pi 4B power adapter.

所述壳体1设置于底座2上,壳体1顶部开设有显示屏安装槽11,壳体1侧面开设固定件安装槽12;所述电容显示屏3安装于显示屏安装槽11内,所述光源摄像头固定件6安装于固定件安装槽12内,也可以在光源摄像头固定件6上开设固定件安装螺孔15,利用螺钉将光源摄像头固定件6固定在壳体1内;所述光源摄像头固定件6的底部开设光源安装孔61,光源摄像头固定件6的顶部开设摄像头安装孔62;所述LED复色光源4安装于光源安装孔61处,LED复色光源4顶部与光源安装孔61孔口齐平;所述彩色摄像头5(通过摄像头安装螺纹孔13,孔径为Φ2.5mm)安装于摄像头安装孔62处;彩色摄像头5接收LED复色光源4的出射光;所述开发板7位于壳体1内部;光源摄像头固定件6上开设有光源出线孔14,开发板7通过导线连接LED复色光源4(导线穿过光源出线孔14,LED复色光源4的正极与树莓派I/O管脚的(BCM)GPIO17管脚相连,负极与0V相连)、通过OV5647数据排线分别连接彩色摄像头5和电容显示屏3(即电容显示屏3通过视频数据排线与树莓派的显示(Display)模块相连接),开发板7发出控制信号分别控制LED复色光源4、彩色摄像头5和电容显示屏3;开发板7通过电源适配器连接外部电源。该装置中部件的连接均可采用螺钉(螺纹孔孔径为Φ3mm)连接。所述壳体1安装于底座2上形成的整体尺寸为135mm×82mm×60mm。The housing 1 is arranged on the base 2, the top of the housing 1 is provided with a display screen installation slot 11, and the side of the housing 1 is provided with a fixing member installation slot 12; the capacitive display screen 3 is installed in the display screen installation slot 11, so The light source camera fixing member 6 is installed in the fixing member installation groove 12, or a fixing member mounting screw hole 15 can be opened on the light source camera fixing member 6, and the light source camera fixing member 6 is fixed in the housing 1 by screws; The bottom of the camera fixing member 6 is provided with a light source mounting hole 61, and the top of the light source camera fixing member 6 is provided with a camera mounting hole 62; the LED polychromatic light source 4 is installed at the light source mounting hole 61, and the top of the LED polychromatic light source 4 is connected to the light source mounting hole. 61 holes are flush; the color camera 5 (through the camera mounting screw hole 13, the aperture is Φ2.5mm) is installed at the camera mounting hole 62; the color camera 5 receives the outgoing light of the LED polychromatic light source 4; the development board 7 is located inside the housing 1; the light source camera fixing member 6 is provided with a light source outlet hole 14, and the development board 7 is connected to the LED polychromatic light source 4 through a wire (the wire passes through the light source outlet hole 14, and the positive pole of the LED polychromatic light source 4 is connected to the raspberry. The (BCM) GPIO17 pin of the I/O pin is connected to the GPIO17 pin, and the negative pole is connected to 0V), and the color camera 5 and the capacitive display screen 3 are respectively connected through the OV5647 data cable (that is, the capacitive display screen 3 is connected to the raspberry through the video data cable. The development board 7 sends out control signals to control the LED polychromatic light source 4, the color camera 5 and the capacitive display screen 3 respectively; the development board 7 is connected to an external power supply through a power adapter. The connection of the components in the device can be connected by screws (the diameter of the threaded hole is Φ3mm). The overall size formed by the housing 1 installed on the base 2 is 135mm×82mm×60mm.

该装置运行时的动态过程:The dynamic process when the device is running:

将上述装置通电,系统自动加载并启动软件程序,并在电容显示屏3上显示软件的操作界面,启动之后操作界面如图6所示。被测者将手指8指尖置于装置一侧的光源孔上端,并用指尖完全盖住光源孔,再点击电容显示屏操作界面上的“开始”按钮,此时LED复色光源4被点亮,彩色摄像头5(CMOS相机)开始进行视频信号采集,系统开始测量用户的健康参数,在测量过程中用户需要尽量保持手指8不动,开发板7上的算法程序开始实时处理视频信号,提前设定的程序默认采集时间(比如10秒),采集时间结束后,LED复色光源4自动关闭,彩色摄像头5信号采集停止(即停止录制视频),电容显示屏操作界面显示相应的测量结果(包括心率、呼吸、血氧以及血容积脉搏波波形图),如图7为一次测量结束后的操作界面,待测者可再次点击“继续”按钮,进行第二次检测(操作界面简洁,使用者只需要在肢体处于稳定的状态时点击“开始”按钮即可完成测量操作)。When the above device is powered on, the system automatically loads and starts the software program, and displays the operation interface of the software on the capacitive display screen 3. After the start, the operation interface is shown in Figure 6. The subject placed his finger 8 on the upper end of the light source hole on one side of the device, and completely covered the light source hole with his fingertip, and then clicked the "Start" button on the operation interface of the capacitive display screen. At this time, the LED polychromatic light source 4 was clicked. light, the color camera 5 (CMOS camera) starts to collect video signals, and the system starts to measure the user's health parameters. During the measurement process, the user needs to keep his finger 8 still as much as possible, and the algorithm program on the development board 7 starts to process the video signal in real time. The default acquisition time of the set program (for example, 10 seconds), after the acquisition time ends, the LED polychromatic light source 4 is automatically turned off, the color camera 5 signal acquisition stops (that is, the video recording is stopped), and the capacitive display screen operation interface displays the corresponding measurement results ( Including heart rate, respiration, blood oxygen and blood volume pulse wave waveform), as shown in Figure 7 is the operation interface after one measurement, the person to be tested can click the "Continue" button again to carry out the second test (the operation interface is simple, use The user only needs to click the "Start" button when the limb is in a stable state to complete the measurement operation).

健康的成年人在不运动、情绪稳定的安静状态下,心率数据一般为60-90次/min,呼吸为16-20次/min,婴儿的心跳会比常人高一些,在120-160次/min,呼吸为40-60次/min。使用CMOS相机采集信号,其采样频率固定在30Hz左右,满足Nyquist采样定律。When healthy adults are not exercising and are emotionally stable, their heart rate data is generally 60-90 beats/min, and their breathing is 16-20 beats/min. The baby's heart rate will be higher than ordinary people, at 120-160 beats/min. min, breathing 40-60 breaths/min. The signal is collected by a CMOS camera, and the sampling frequency is fixed at about 30Hz, which satisfies the Nyquist sampling law.

利用上述人体心率、呼吸及血氧综合测量装置进行人体心率、呼吸及血氧综合测量的方法,包括以下步骤:The method for comprehensively measuring human heart rate, respiration and blood oxygen using the above-mentioned comprehensive measuring device for human heart rate, respiration and blood oxygen includes the following steps:

1)装置开始工作,CMOS相机得到开始录制视频的指令,并实时预览画面(即在电容显示屏3的操作界面右上角上显示所录制的手指8视频画面);开发板7从彩色摄像头5处采集(读入)视频数据,对视频数据中的每一帧图像进行目标区域识别(标定),计算目标区域的平均灰度值,得到灰度-帧数矩阵,即一维PPG信号(其中一帧图像识别出一个目标区域,计算出一个平均灰度值。CMOS相机采集到的所有视频帧共同组成了这段时间内的信号序列。例:CMOS相机采样帧率为30Hz,采10秒,则一共得到300帧图像,每一帧图像得到一个平均灰度值,则在这10s时间段内得到一个一维灰度—帧数矩阵,即一维信号序列。所述目标区域为每帧图像中手指8覆盖到的区域);所述目标区域为手指8覆盖到的区域;平均灰度值定义为目标区域的所有像素灰度值之和除以该目标区域的像素总数;1) The device starts to work, and the CMOS camera obtains an instruction to start recording video, and previews the picture in real time (that is, the recorded video picture of finger 8 is displayed on the upper right corner of the operation interface of the capacitive display screen 3); Collect (read) video data, identify (calibrate) the target area for each frame of image in the video data, calculate the average gray value of the target area, and obtain a gray-frame number matrix, that is, a one-dimensional PPG signal (one of which is one-dimensional PPG signal). The frame image identifies a target area and calculates an average gray value. All the video frames collected by the CMOS camera together form the signal sequence during this period. For example: the sampling frame rate of the CMOS camera is 30Hz, and the sampling rate is 10 seconds, then A total of 300 frames of images are obtained, and each frame of image obtains an average gray value, then a one-dimensional grayscale-frame number matrix is obtained in this 10s time period, that is, a one-dimensional signal sequence. The target area is the image in each frame. The area covered by finger 8); the target area is the area covered by finger 8; the average gray value is defined as the sum of all pixel gray values in the target area divided by the total number of pixels in the target area;

2)由于采集到的PPG原始信号中普遍存在明显的基线漂移,如图3所示,此处通过现有的基于单层形态学开闭操作的基线漂移校正算法,对原始信号分别做一次开闭操作得到信号的基线,再用原始信号减去基线对信号进行基线漂移校正,得到一维相对灰度—帧数矩阵,纵坐标相对灰度,横坐标帧数,即基线校正后的信号;2) Since there is an obvious baseline drift in the collected PPG original signal, as shown in Figure 3, here, through the existing baseline drift correction algorithm based on the single-layer morphological opening and closing operation, the original signal is opened and closed once. The baseline of the signal is obtained by the closing operation, and the baseline drift correction is performed on the signal by subtracting the baseline from the original signal to obtain a one-dimensional relative grayscale-frame number matrix, the relative grayscale of the ordinate, and the number of frames of the abscissa, that is, the signal after baseline correction;

形态学开操作是指对信号先进行腐蚀然后进行膨胀,闭操作是指对信号先进行膨胀再进行腐蚀。The morphological open operation means that the signal is first eroded and then expanded, and the closed operation means that the signal is first expanded and then eroded.

设一维信号序列为f(n)={0,1,2,3...N-1},其中f(n)指长度为N的一维信号序列,n取值从0到N-1,例:f(n)={0,1,2,3,4}代表一段长度为5的离散数字信号,则f(0)=0,f(1)=1,f(2)=2,f(2)=3,f(4)=4;结构元素为k(m)={0,1,2,3...M-1},k(m)指宽度为M的结构元素,m取值从0到M-1,M一般取略小于要保留的信号的长度,本发明中要保留的信号长度为30,因此取M=28,其中{0,1,2,3…M-1}代表结构元素的高度和形状,例如本发明的结构元素为宽度为28,高度为1的直线型结构元素,可表示为k(m)={1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},其中k(0)=1,k(1)=1,k(2)=1,k(3)=1…k(27)=1,如图4所示。Let the one-dimensional signal sequence be f(n)={0,1,2,3...N-1}, where f(n) refers to the one-dimensional signal sequence of length N, and the value of n ranges from 0 to N- 1. Example: f(n)={0,1,2,3,4} represents a discrete digital signal of length 5, then f(0)=0, f(1)=1, f(2)= 2, f(2)=3, f(4)=4; the structural element is k(m)={0,1,2,3...M-1}, k(m) refers to the structure of width M Element, the value of m ranges from 0 to M-1, and M is generally slightly less than the length of the signal to be reserved. In the present invention, the length of the signal to be reserved is 30, so M=28, where {0, 1, 2, 3 ...M-1} represents the height and shape of the structural element. For example, the structural element of the present invention is a linear structural element with a width of 28 and a height of 1, which can be expressed as k(m)={1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, where k(0)=1, k(1)=1, k(2)=1, k(3)=1...k(27)=1, as shown in FIG. 4 .

则信号f(n)关于结构元素k(m)的膨胀运算定义为:Then the expansion operation of the signal f(n) with respect to the structuring element k(m) is defined as:

Figure BDA0002555330930000101
Figure BDA0002555330930000101

则信号f(n)关于结构元素k(m)的腐蚀定义为:Then the corrosion of the signal f(n) with respect to the structuring element k(m) is defined as:

Figure BDA0002555330930000102
Figure BDA0002555330930000102

开操作定义为将一维信号先腐蚀再膨胀:

Figure BDA0002555330930000103
闭操作定义为
Figure BDA0002555330930000104
基线校正前、后的效果对比如图5所示;The opening operation is defined as eroding and then dilating a one-dimensional signal:
Figure BDA0002555330930000103
The closing operation is defined as
Figure BDA0002555330930000104
The comparison of the effect before and after baseline correction is shown in Figure 5;

3)确定基线校正后的信号每个信号周期中最高信号峰和最低信号谷3) Determine the highest signal peak and lowest signal valley in each signal cycle of the baseline-corrected signal

3.1)获取彩色摄像头5的采样帧率fs,利用采样帧率fs,通过以下公式,计算移动步长step3.1) Obtain the sampling frame rate f s of the color camera 5, and use the sampling frame rate f s to calculate the moving step step by the following formula

Figure BDA0002555330930000105
Figure BDA0002555330930000105

其中,in,

step为移动步长,单位为帧/秒;step is the moving step, the unit is frame/second;

fs为采样帧率,单位为Hz;f s is the sampling frame rate, in Hz;

3.2)设定一维信号序列f(n0,n1,n2...nk),其中nk为帧数,f(nk)为灰度值,遍历信号序列的所有元素,通过以下关系式,获取基线校正后的信号每个信号周期中所有信号峰和信号谷的坐标值,然后计算每个信号周期中相邻信号峰或相邻信号谷的帧数差值;3.2) Set a one-dimensional signal sequence f(n 0 , n 1 , n 2 ... n k ), where n k is the number of frames, f(n k ) is the grayscale value, traverse all elements of the signal sequence, and pass The following relationship is used to obtain the coordinate values of all signal peaks and signal valleys in each signal period of the baseline-corrected signal, and then calculate the frame number difference between adjacent signal peaks or adjacent signal valleys in each signal period;

信号峰关系式:Signal peak relationship:

f(nk-step)<f(nk)>f(nk+step);f(n k-step )<f(n k )>f(n k+step );

信号谷关系式:Signal valley relation:

f(nk-step)>f(nk)<f(nk+step);f(n k-step )>f(n k )<f(n k+step );

3.3)利用以下公式计算最小间隔delta3.3) Calculate the minimum interval delta using the following formula

Figure BDA0002555330930000111
Figure BDA0002555330930000111

其中,delta为最小间隔,单位为帧/秒;Among them, delta is the minimum interval, in frames per second;

3.4)将步骤3.2)所得每个信号周期中相邻信号峰或相邻信号谷的帧数差值与步骤3.3)所得最小间隔delta进行比较,若相邻信号峰或相邻信号谷的帧数差值小于最小间隔delta,表明该相邻信号峰或相邻信号谷位于同一信号周期内,则取相邻信号峰中灰度值最大的信号峰作为该周期的最高信号峰、取相邻信号谷中灰度值最小的信号谷作为该周期的最低信号谷;若相邻信号峰或相邻信号谷的帧数差值大于等于最小间隔delta,表明该相邻信号峰或相邻信号谷位于不同信号周期内,则将两个相邻信号峰分别作为各自所在信号周期的最高信号峰、将两个相邻信号谷分别作为各自所在信号周期的最低信号谷;3.4) Compare the frame number difference between adjacent signal peaks or adjacent signal valleys in each signal cycle obtained in step 3.2) with the minimum interval delta obtained in step 3.3), if the frame number of adjacent signal peaks or adjacent signal valleys is The difference is less than the minimum interval delta, indicating that the adjacent signal peaks or adjacent signal valleys are in the same signal cycle, then the signal peak with the largest gray value in the adjacent signal peaks is taken as the highest signal peak in the cycle, and the adjacent signal peaks are taken as the highest signal peak in the cycle. The signal valley with the smallest gray value in the valley is regarded as the lowest signal valley of the cycle; if the frame number difference between adjacent signal peaks or adjacent signal valleys is greater than or equal to the minimum interval delta, it indicates that the adjacent signal peaks or adjacent signal valleys are located in different positions. In the signal period, the two adjacent signal peaks are respectively regarded as the highest signal peaks of their respective signal periods, and the two adjacent signal valleys are respectively regarded as the lowest signal valleys of their respective signal periods;

4)计算心率4) Calculate heart rate

利用步骤3.4)所得所有信号周期的最高信号峰对应的横坐标,由于两个峰值之间的时间间隔可等效为单个PPG信号的周期,根据以下公式计算心率Using the abscissa corresponding to the highest signal peak of all signal cycles obtained in step 3.4), since the time interval between two peaks can be equivalent to the cycle of a single PPG signal, the heart rate is calculated according to the following formula

Figure BDA0002555330930000112
Figure BDA0002555330930000112

其中,in,

HR为心率,单位为次/分钟;HR is heart rate, the unit is times/min;

n为信号周期,取值1,2,3……,n;n is the signal period, the value is 1,2,3...,n;

locn为第n个信号周期的最高信号峰对应的横坐标(即帧数);loc n is the abscissa (that is, the number of frames) corresponding to the highest signal peak of the nth signal period;

fs为采样帧率,单位为Hz;f s is the sampling frame rate, in Hz;

5)计算呼吸速率5) Calculate the breathing rate

使用通带频率为0.1Hz-0.4Hz的带通滤波器(优选3阶巴特沃斯带通滤波器)对步骤2)所得基线校正后的信号进行带通滤波,然后对滤波后的矩阵进行傅里叶变换得到带通滤波后信号的幅值—频率信息并搜索最大幅值对应的频率,该频率即为呼吸频率,利用以下公式计算得到呼吸速率Use a bandpass filter with a passband frequency of 0.1Hz-0.4Hz (preferably a 3rd-order Butterworth bandpass filter) to perform bandpass filtering on the baseline-corrected signal obtained in step 2), and then perform Fourier transform on the filtered matrix. Lie transform obtains the amplitude-frequency information of the band-pass filtered signal and searches for the frequency corresponding to the maximum amplitude, which is the breathing frequency, and the breathing rate is calculated by the following formula

Res=60*ploc Res=60* ploc

其中,in,

Res为呼吸速率,单位为次/分钟;Res is the respiratory rate, in times/min;

ploc为呼吸频率,单位为Hz;p loc is the respiratory frequency, in Hz;

6)基于彩色视频图像计算血氧饱和度6) Calculate blood oxygen saturation based on color video images

目前的(即现有技术的)脉搏血氧仪普遍采用双波长线性模型计算血氧饱和度,这种双波长线性模型是一种简化模型,被证明在低血氧时误差较大,同时其对双波长入射光单色性要求较高。常用双波长组合为660nm和940nm两个波长,利用这两个波长光进行分时驱动获得双路脉搏信号后,分别提取其交流值AC和直流值DC,获得比值R,Current (i.e. prior art) pulse oximeters generally use a dual-wavelength linear model to calculate blood oxygen saturation. This dual-wavelength linear model is a simplified model, and it has been proved that the error is large when the blood oxygen is low, and its The monochromaticity of the incident light with two wavelengths is required to be high. The commonly used dual-wavelength combination is 660nm and 940nm two wavelengths. After using these two wavelengths of light for time-division driving to obtain dual-channel pulse signals, extract the AC value AC and DC value DC respectively, and obtain the ratio R,

R=(ACλ660/DCλ660)/(ACλ940/DCλ940)R=(AC λ660 /DC λ660 )/(AC λ940 /DC λ940 )

血氧饱和度计算公式为The formula for calculating blood oxygen saturation is

SPO2=k1R+k2 SPO 2 =k 1 R+k 2

k1、k2为通过实际血氧值及其对应的R值进行最小二乘拟合获得的常数。k 1 and k 2 are constants obtained by performing least squares fitting on the actual blood oxygen value and its corresponding R value.

本发明提出了一种非线性血氧饱和度标定方法,具体如下The present invention proposes a nonlinear blood oxygen saturation calibration method, the details are as follows

6.1)由于图像在R通道和G通道的信号区分度较好,利用所述人体心率、呼吸及血氧综合测量装置,采用步骤1)中平均灰度值的计算方法,分别对视频中每一帧图像R通道和G通道的平均灰度值进行计算,得到R通道和G通道的信号,分别计算R通道和G通道信号取对数后的交流量,然后计算R通道和G通道交流量的比值R',其中交流量定义为每个信号周期中最高信号峰与最低信号谷相对灰度值之差;6.1) Since the signal discrimination of the image in the R channel and the G channel is better, using the comprehensive measurement device for human heart rate, respiration and blood oxygen, using the calculation method of the average gray value in step 1), respectively Calculate the average gray value of the R channel and G channel of the frame image, obtain the signals of the R channel and the G channel, calculate the logarithm of the signal of the R channel and the G channel, and then calculate the R channel and the G channel. Ratio R', where the amount of AC is defined as the difference between the relative gray values of the highest signal peak and the lowest signal valley in each signal cycle;

6.2)利用步骤6.1)所得比值R'和以下符合人体血氧饱和度变化趋势的非线性血氧饱和度计算公式,计算血氧饱和度6.2) Using the ratio R' obtained in step 6.1) and the following non-linear blood oxygen saturation calculation formula that conforms to the change trend of human blood oxygen saturation, calculate the blood oxygen saturation

Figure BDA0002555330930000121
Figure BDA0002555330930000121

其中,in,

SPO2为血氧饱和度;SPO 2 is blood oxygen saturation;

R'为视频图像R、G双通道获得信号取对数后的交流量比值;R' is the AC volume ratio after the logarithm of the signals obtained from the dual channels of R and G of the video image;

A、B、C和D为常数。A, B, C and D are constants.

步骤6.2)中,所述非线性血氧饱和度计算公式的标定方法如下:In step 6.2), the calibration method of the nonlinear blood oxygen saturation calculation formula is as follows:

利用现有血氧仪检测待测者的多组血氧饱和度SPO2,然后利用多组血氧饱和度SPO2和步骤6.1)所得比值R',对非线性血氧饱和度计算公式进行最小二乘拟合,确定参数A、B、C和D的值。Use the existing oximeter to detect the multiple sets of blood oxygen saturation SPO 2 of the test subject, and then use the multiple sets of blood oxygen saturation SPO 2 and the ratio R' obtained in step 6.1) to minimize the nonlinear blood oxygen saturation calculation formula. A quadratic fit determines the values of parameters A, B, C, and D.

上述公式的推导过程如下:The derivation process of the above formula is as follows:

根据Lamber-Beer(朗伯-比尔定律)得到According to Lamber-Beer (Lamber-Beer law), we get

Figure BDA0002555330930000131
Figure BDA0002555330930000131

其中,in,

I0为入射光照强度,单位为勒克斯(lux或lx);I 0 is the incident light intensity, the unit is lux (lux or lx);

ε0为组织中非脉动成分和静脉血液成分总的摩尔消光系数,单位为L·mol-1·cm-1,代表浓度为1mol/L时的吸光系数;ε 0 is the total molar extinction coefficient of the non-pulsatile components and venous blood components in the tissue, the unit is L·mol -1 ·cm -1 , representing the absorption coefficient when the concentration is 1 mol/L;

C0为组织中非脉动成分和静脉血液成分总的浓度,单位为mol/L;C 0 is the total concentration of non-pulsatile components and venous blood components in the tissue, in mol/L;

l为光线在非脉动组织中的光程,单位为米(m);l is the optical path of light in non-pulsating tissue, in meters (m);

I为透过组织出射的光线强度,单位为勒克斯(lux或lx);I is the intensity of light emitted through the tissue, in lux (lux or lx);

Figure BDA0002555330930000132
为氧合血红蛋白的摩尔消光系数,单位为L·mol-1·cm-1
Figure BDA0002555330930000132
is the molar extinction coefficient of oxyhemoglobin, in L·mol -1 ·cm -1 ;

εHb为脱氧血红蛋白的摩尔消光系数,单位为L·mol-1·cm-1ε Hb is the molar extinction coefficient of deoxyhemoglobin, in L·mol -1 ·cm -1 ;

Figure BDA0002555330930000133
为脉动血液中氧合血红蛋白的浓度,单位为mol/L;
Figure BDA0002555330930000133
is the concentration of oxyhemoglobin in pulsatile blood, in mol/L;

CHb为脉动血液中脱氧血红蛋白的浓度,单位为mol/L;C Hb is the concentration of deoxyhemoglobin in pulsatile blood, in mol/L;

LAC为光线在组织脉动成分中的光程,单位为米(m);L AC is the optical path of light in the tissue pulsation component, in meters (m);

对(1)式两边同时取对数:Take the logarithm of both sides of equation (1):

Figure BDA0002555330930000134
Figure BDA0002555330930000134

上式中In(I0)和-ε0C0l为直流成分,

Figure BDA0002555330930000135
为交流成分,则单色光入射时出射光的交流成分可以表示为:In the above formula, In(I 0 ) and -ε 0 C 0 l are DC components,
Figure BDA0002555330930000135
is the AC component, then the AC component of the outgoing light when the monochromatic light is incident can be expressed as:

Figure BDA0002555330930000141
Figure BDA0002555330930000141

采用双波长照射时得到的交流成分表示为:The AC component obtained when irradiated with dual wavelengths is expressed as:

Figure BDA0002555330930000142
Figure BDA0002555330930000142

Figure BDA0002555330930000143
Figure BDA0002555330930000143

其中,λ1和λ2代表不同波长;Among them, λ 1 and λ 2 represent different wavelengths;

将各自波长的交流信号作比:Compare the AC signals at their respective wavelengths:

Figure BDA0002555330930000144
Figure BDA0002555330930000144

进一步推导可得:Further derivation can be obtained:

Figure BDA0002555330930000145
Figure BDA0002555330930000145

再根据血氧饱和度的定义公式:Then according to the definition formula of blood oxygen saturation:

Figure BDA0002555330930000146
Figure BDA0002555330930000146

进一步推导可得:Further derivation can be obtained:

Figure BDA0002555330930000147
Figure BDA0002555330930000147

将式(7)代入式(9),即可得双波长下血氧饱和度的计算公式:Substituting Equation (7) into Equation (9), the formula for calculating blood oxygen saturation under dual wavelengths can be obtained:

Figure BDA0002555330930000148
Figure BDA0002555330930000148

对上式右边同时除以

Figure BDA0002555330930000149
Figure BDA00025553309300001410
得:Divide the right side of the above equation by
Figure BDA0002555330930000149
make
Figure BDA00025553309300001410
have to:

Figure BDA0002555330930000151
Figure BDA0002555330930000151

由于彩色相机(彩色摄像机)一般包含三个通道信息RGB,每个通道具有一定的光谱响应宽度,因此,在每个通道获得的信号实质上是多个波长叠加的结果。采用彩色相机无法得到某一确定波长的信号,但是由于每个人指部的组织结构基本相似,其光学特性也基本一致,因此,可以采用最小二乘拟合出复色光下等效消光系数;Since a color camera (color camera) generally contains three channels of information RGB, and each channel has a certain spectral response width, the signal obtained in each channel is essentially the result of the superposition of multiple wavelengths. It is impossible to obtain a signal of a certain wavelength by using a color camera, but since the tissue structure of each person's finger is basically similar, and its optical properties are basically the same, the equivalent extinction coefficient under complex light can be obtained by least squares fitting;

Figure BDA0002555330930000152
则得到复色光下血氧饱和度计算的经验公式:make
Figure BDA0002555330930000152
Then the empirical formula for calculating blood oxygen saturation under complex light is obtained:

Figure BDA0002555330930000153
Figure BDA0002555330930000153

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制,对于本领域的普通专业技术人员来说,可以对前述各实施例所记载的具体技术方案进行修改,或者对其中部分技术特征进行等同替换,而这些修改或者替换,并不使相应技术方案的本质脱离本发明所保护技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them. For those of ordinary skill in the art, the specific technical solutions recorded in the foregoing embodiments can be modified. , or equivalently replace some of the technical features, and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions protected by the present invention.

Claims (2)

1.一种利用人体心率、呼吸及血氧综合测量装置进行人体心率、呼吸及血氧综合测量的方法,所述人体心率、呼吸及血氧综合测量装置包括壳体(1)、底座(2)、电容显示屏(3)、LED复色光源(4)、彩色摄像头(5)、光源摄像头固定件(6)、开发板(7)和电源适配器;1. A method for comprehensively measuring human heart rate, respiration and blood oxygen using a human heart rate, respiration and blood oxygen comprehensive measuring device, the human heart rate, respiration and blood oxygen comprehensive measuring device comprising a casing (1), a base (2) ), capacitive display screen (3), LED polychromatic light source (4), color camera (5), light source camera fixture (6), development board (7) and power adapter; 所述壳体(1)设置于底座(2)上,壳体(1)顶部开设有显示屏安装槽(11),壳体(1)侧面开设固定件安装槽(12);The casing (1) is arranged on the base (2), a display screen installation slot (11) is formed on the top of the casing (1), and a fixing member installation groove (12) is formed on the side of the casing (1); 所述电容显示屏(3)安装于显示屏安装槽(11)内,所述光源摄像头固定件(6)安装于固定件安装槽(12)内;The capacitive display screen (3) is installed in the display screen installation groove (11), and the light source camera fixing member (6) is installed in the fixing member installation groove (12); 所述光源摄像头固定件(6)的底部开设光源安装孔(61),光源摄像头固定件(6)的顶部开设摄像头安装孔(62);A light source mounting hole (61) is provided at the bottom of the light source camera fixture (6), and a camera mounting hole (62) is provided on the top of the light source camera fixture (6); 所述LED复色光源(4)安装于光源安装孔(61)处,所述彩色摄像头(5)安装于摄像头安装孔(62)处,彩色摄像头(5)接收LED复色光源(4)的出射光;The LED polychromatic light source (4) is installed at the light source installation hole (61), the color camera (5) is installed at the camera installation hole (62), and the color camera (5) receives the LED polychromatic light source (4). outgoing light; 所述开发板(7)位于壳体(1)内部,开发板(7)通过导线连接LED复色光源(4)、通过数据排线分别连接彩色摄像头(5)和电容显示屏(3),开发板(7)发出控制信号分别控制LED复色光源(4)、彩色摄像头(5)和电容显示屏(3);The development board (7) is located inside the housing (1), and the development board (7) is connected to the LED polychromatic light source (4) through wires, and is respectively connected to the color camera (5) and the capacitive display screen (3) through data cables, The development board (7) sends out control signals to respectively control the LED polychromatic light source (4), the color camera (5) and the capacitive display screen (3); 所述开发板(7)通过电源适配器连接外部电源;The development board (7) is connected to an external power supply through a power adapter; 其特征在于,包括以下步骤:It is characterized in that, comprises the following steps: 1)开发板(7)从彩色摄像头(5)处采集视频数据,对视频数据中的每一帧图像进行目标区域识别,计算目标区域的平均灰度值,得到灰度-帧数矩阵,即一维PPG信号;所述目标区域为每帧图像中手指( 8) 覆盖到的区域;1) The development board (7) collects video data from the color camera (5), identifies the target area for each frame of the video data, calculates the average gray value of the target area, and obtains a gray-frame number matrix, namely One-dimensional PPG signal; the target area is the area covered by the finger (8) in each frame of image; 2)通过基于单层形态学开闭操作的基线漂移校正算法,对信号进行基线漂移校正,得到一维相对灰度—帧数矩阵,纵坐标相对灰度,横坐标帧数,即基线校正后的信号;2) Through the baseline drift correction algorithm based on the single-layer morphological opening and closing operation, the baseline drift correction of the signal is performed to obtain a one-dimensional relative grayscale-frame number matrix, the relative grayscale of the ordinate, and the number of frames of the abscissa, that is, after the baseline correction. signal of; 3)确定基线校正后的信号每个信号周期中最高信号峰和最低信号谷3) Determine the highest signal peak and lowest signal valley in each signal cycle of the baseline-corrected signal 3.1)获取彩色摄像头(5)的采样帧率fs,利用采样帧率fs,通过以下公式,计算移动步长step3.1) Obtain the sampling frame rate f s of the color camera (5), and use the sampling frame rate f s to calculate the moving step step by the following formula
Figure FDA0002968245570000021
Figure FDA0002968245570000021
其中,in, step为移动步长,单位为帧/秒;step is the moving step, the unit is frame/second; fs为采样帧率,单位为Hz;f s is the sampling frame rate, in Hz; 3.2)设定一维信号序列f(n0,n1,n2...nk),其中nk为帧数,f(nk)为灰度值,遍历信号序列的所有元素,通过以下关系式,获取基线校正后的信号每个信号周期中所有信号峰和信号谷的坐标值,然后计算每个信号周期中相邻信号峰或相邻信号谷的帧数差值;3.2) Set a one-dimensional signal sequence f(n 0 , n 1 , n 2 ... n k ), where n k is the number of frames, f(n k ) is the grayscale value, traverse all elements of the signal sequence, and pass The following relationship is used to obtain the coordinate values of all signal peaks and signal valleys in each signal period of the baseline-corrected signal, and then calculate the frame number difference between adjacent signal peaks or adjacent signal valleys in each signal period; 信号峰关系式:Signal peak relationship: f(nk-step)<f(nk)>f(nk+step);f(n k-step )<f(n k )>f(n k+step ); 信号谷关系式:Signal valley relation: f(nk-step)>f(nk)<f(nk+step);f(n k-step )>f(n k )<f(n k+step ); 3.3)利用以下公式计算最小间隔delta3.3) Calculate the minimum interval delta using the following formula
Figure FDA0002968245570000022
Figure FDA0002968245570000022
其中,delta为最小间隔,单位为帧/秒;Among them, delta is the minimum interval, in frames per second; 3.4)将步骤3.2)所得每个信号周期中相邻信号峰或相邻信号谷的帧数差值与步骤3.3)所得最小间隔delta进行比较,若相邻信号峰或相邻信号谷的帧数差值小于最小间隔delta,表明该相邻信号峰或相邻信号谷位于同一信号周期内,则取相邻信号峰中灰度值最大的信号峰作为该周期的最高信号峰、取相邻信号谷中灰度值最小的信号谷作为该周期的最低信号谷;若相邻信号峰或相邻信号谷的帧数差值大于等于最小间隔delta,表明该相邻信号峰或相邻信号谷位于不同信号周期内,则将两个相邻信号峰分别作为各自所在信号周期的最高信号峰、将两个相邻信号谷分别作为各自所在信号周期的最低信号谷;3.4) Compare the frame number difference between adjacent signal peaks or adjacent signal valleys in each signal cycle obtained in step 3.2) with the minimum interval delta obtained in step 3.3), if the frame number of adjacent signal peaks or adjacent signal valleys is The difference is less than the minimum interval delta, indicating that the adjacent signal peaks or adjacent signal valleys are in the same signal cycle, then the signal peak with the largest gray value in the adjacent signal peaks is taken as the highest signal peak in the cycle, and the adjacent signal peaks are taken as the highest signal peak in the cycle. The signal valley with the smallest gray value in the valley is regarded as the lowest signal valley of the cycle; if the frame number difference between adjacent signal peaks or adjacent signal valleys is greater than or equal to the minimum interval delta, it indicates that the adjacent signal peaks or adjacent signal valleys are located in different positions. In the signal period, the two adjacent signal peaks are respectively regarded as the highest signal peaks of their respective signal periods, and the two adjacent signal valleys are respectively regarded as the lowest signal valleys of their respective signal periods; 4)计算心率4) Calculate heart rate 利用步骤3.4)所得所有信号周期的最高信号峰对应的横坐标,根据以下公式计算心率Using the abscissa corresponding to the highest signal peak of all signal cycles obtained in step 3.4), calculate the heart rate according to the following formula
Figure FDA0002968245570000031
Figure FDA0002968245570000031
其中,in, HR为心率,单位为次/分钟;HR is heart rate, the unit is times/min; n为信号周期,取值1,2,3……,n;n is the signal period, the value is 1,2,3...,n; locn为第n个信号周期的最高信号峰对应的横坐标(即帧数);loc n is the abscissa (that is, the number of frames) corresponding to the highest signal peak of the nth signal period; fs为采样帧率,单位为Hz;f s is the sampling frame rate, in Hz; 5)计算呼吸速率5) Calculate the breathing rate 使用通带频率为0.1Hz-0.4Hz的带通滤波器对步骤2)所得基线校正后的信号进行带通滤波,然后对滤波后的信号进行傅里叶变换得到带通滤波后信号的幅值-频率信息并搜索最大幅值对应的频率,该频率即为呼吸频率,利用以下公式计算得到呼吸速率Use a bandpass filter with a passband frequency of 0.1Hz-0.4Hz to perform bandpass filtering on the baseline-corrected signal obtained in step 2), and then perform Fourier transform on the filtered signal to obtain the amplitude of the bandpass filtered signal. - Frequency information and search for the frequency corresponding to the maximum amplitude, this frequency is the breathing frequency, and the breathing rate is calculated by the following formula Res=60*ploc Res=60* ploc 其中,in, Res为呼吸速率,单位为次/分钟;Res is the respiratory rate, in times/min; ploc为呼吸频率,单位为Hz;p loc is the respiratory frequency, in Hz; 6)基于彩色视频图像计算血氧饱和度6) Calculate blood oxygen saturation based on color video images 6.1)利用所述人体心率、呼吸及血氧综合测量装置,采用步骤1)中平均灰度值的计算方法,分别对视频中每一帧图像R通道和G通道的平均灰度值进行计算,得到R通道和G通道的信号,分别计算R通道和G通道信号取对数后的交流量,然后计算R通道和G通道交流量的比值R',其中交流量定义为每个信号周期中最高信号峰与最低信号谷相对灰度值之差;6.1) Utilize the described human heart rate, respiration and blood oxygen comprehensive measurement device, adopt the calculation method of the average gray value in step 1), calculate the average gray value of each frame image R channel and G channel in the video respectively, Obtain the signals of the R channel and the G channel, calculate the AC volume after the logarithm of the R channel and the G channel signal, and then calculate the ratio R' of the AC volume of the R channel and the G channel, where the AC volume is defined as the highest in each signal cycle. The difference between the relative gray value of the signal peak and the lowest signal valley; 6.2)利用步骤6.1)所得比值R'和以下符合人体血氧饱和度变化趋势的非线性血氧饱和度计算公式,计算血氧饱和度6.2) Using the ratio R' obtained in step 6.1) and the following non-linear blood oxygen saturation calculation formula that conforms to the change trend of human blood oxygen saturation, calculate the blood oxygen saturation
Figure FDA0002968245570000041
Figure FDA0002968245570000041
其中,in, SPO2为血氧饱和度;SPO 2 is blood oxygen saturation; R'为视频图像R、G双通道获得信号取对数后的交流量比值;R' is the AC volume ratio after the logarithm of the signals obtained from the dual channels of R and G of the video image; A、B、C和D为常数。A, B, C and D are constants.
2.根据权利要求1所述的人体心率、呼吸及血氧综合测量的方法,其特征在于,步骤6.2)中,所述非线性血氧饱和度计算公式的标定方法如下:2. the method for comprehensive measurement of human heart rate, respiration and blood oxygen according to claim 1, is characterized in that, in step 6.2), the calibration method of described non-linear blood oxygen saturation calculation formula is as follows: 利用现有血氧仪检测待测者的多组血氧饱和度SPO2,然后利用多组血氧饱和度SPO2和步骤6.1)所得比值R',对非线性血氧饱和度计算公式进行最小二乘拟合,确定参数A、B、C和D的值。Use the existing oximeter to detect the multiple sets of blood oxygen saturation SPO 2 of the test subject, and then use the multiple sets of blood oxygen saturation SPO 2 and the ratio R' obtained in step 6.1) to minimize the nonlinear blood oxygen saturation calculation formula. A quadratic fit determines the values of parameters A, B, C, and D.
CN202010590553.2A 2020-06-24 2020-06-24 Device and method for comprehensive measurement of human heart rate, respiration and blood oxygen Active CN111759292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010590553.2A CN111759292B (en) 2020-06-24 2020-06-24 Device and method for comprehensive measurement of human heart rate, respiration and blood oxygen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010590553.2A CN111759292B (en) 2020-06-24 2020-06-24 Device and method for comprehensive measurement of human heart rate, respiration and blood oxygen

Publications (2)

Publication Number Publication Date
CN111759292A CN111759292A (en) 2020-10-13
CN111759292B true CN111759292B (en) 2021-06-22

Family

ID=72721939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010590553.2A Active CN111759292B (en) 2020-06-24 2020-06-24 Device and method for comprehensive measurement of human heart rate, respiration and blood oxygen

Country Status (1)

Country Link
CN (1) CN111759292B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112716469B (en) * 2020-12-29 2022-07-19 厦门大学 Real-time heart rate extraction method and device based on fingertip video

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014043258A1 (en) * 2012-09-11 2014-03-20 Covidien Lp Methods and systems for processing physiological signals
CN105455796A (en) * 2016-01-02 2016-04-06 无锡桑尼安科技有限公司 Intelligent physiological parameter determination method
CN105740845A (en) * 2016-03-02 2016-07-06 深圳竹信科技有限公司 Method and system for filtering baseline drift based on single layer morphology
CN105816163A (en) * 2016-05-09 2016-08-03 安徽华米信息科技有限公司 Method, device and wearable equipment for detecting heart rate
WO2017025775A1 (en) * 2015-08-11 2017-02-16 Latvijas Universitate Device for adaptive photoplethysmography imaging
CN106580301A (en) * 2016-12-21 2017-04-26 广州心与潮信息科技有限公司 Physiological parameter monitoring method, device and hand-held device
CN106793962A (en) * 2014-09-05 2017-05-31 雷克兰德创投发展有限公司 Method and apparatus for continuously estimating human blood-pressure using video image
CN106994010A (en) * 2016-01-26 2017-08-01 深圳市新元素健康管理有限公司 A kind of heart rate detection method and system based on PPG signals
CN107095659A (en) * 2017-06-02 2017-08-29 苏州安莱光电科技有限公司 A kind of portable non-intrusion type vital sign monitoring method based on smart machine
CN109008964A (en) * 2018-06-27 2018-12-18 浏阳市安生智能科技有限公司 A kind of method and device that physiological signal extracts
CN109124613A (en) * 2018-08-17 2019-01-04 西安电子科技大学 Contactless heart rate monitoring unit and method based on interactive voice
CN109497977A (en) * 2019-01-07 2019-03-22 华东交通大学 Human heart rate and method for detecting blood oxygen saturation and device
CN109589101A (en) * 2019-01-16 2019-04-09 四川大学 A kind of contactless physiological parameter acquisition methods and device based on video
CN110251115A (en) * 2019-06-20 2019-09-20 张远 PPG method for extracting signal, system, equipment and medium based on body surface video
CN110378240A (en) * 2019-06-25 2019-10-25 深圳先进技术研究院 Heart rate variability measurement method, device and mobile terminal based on mobile terminal
CN111297347A (en) * 2020-02-21 2020-06-19 乐普(北京)医疗器械股份有限公司 A method and apparatus for generating photoplethysmography signals

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2111152A2 (en) * 2007-01-10 2009-10-28 Starr Life Sciences Corporation Techniques for accurately deriving physiologic parameters of a subject from photoplethysmographic measurements
WO2008131335A1 (en) * 2007-04-19 2008-10-30 Starr Life Sciences Corporation Signal processing method and apparatus for processing a physiologic signal such as a photoplethysmography signal
US20100246651A1 (en) * 2009-03-31 2010-09-30 Qualcomm Incorporated Packet loss mitigation in transmission of biomedical signals for healthcare and fitness applications
CN101732050B (en) * 2009-12-04 2012-02-01 西安交通大学 A Respiration Rate Monitoring Method Based on Photoplethysmography
US9936880B2 (en) * 2014-11-25 2018-04-10 William Marsh Rice University Camera based photoplethysmogram estimation
WO2016159670A1 (en) * 2015-03-31 2016-10-06 길재수 Furniture assembly bracket, self-assembly furniture using same, and assembly method therefor
KR102463076B1 (en) * 2015-12-24 2022-11-03 삼성전자주식회사 Oxygen saturation measuring apparatus and oxygen saturation measuring method thereof
US11045095B2 (en) * 2016-03-11 2021-06-29 Arizona Board Of Regents On Behalf Of Arizona State University Systems and methods for non-contact monitoring of ballistocardiogram, photoplethysmogram, blood pressure and abnormal heart rhythm
CN109259749A (en) * 2018-08-29 2019-01-25 南京邮电大学 A kind of contactless method for measuring heart rate of view-based access control model camera
CN110236503B (en) * 2019-06-19 2022-05-27 杭州电子科技大学 Flexible wearable sleep physiological parameter detection method and device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014043258A1 (en) * 2012-09-11 2014-03-20 Covidien Lp Methods and systems for processing physiological signals
CN106793962A (en) * 2014-09-05 2017-05-31 雷克兰德创投发展有限公司 Method and apparatus for continuously estimating human blood-pressure using video image
WO2017025775A1 (en) * 2015-08-11 2017-02-16 Latvijas Universitate Device for adaptive photoplethysmography imaging
CN105455796A (en) * 2016-01-02 2016-04-06 无锡桑尼安科技有限公司 Intelligent physiological parameter determination method
CN106994010A (en) * 2016-01-26 2017-08-01 深圳市新元素健康管理有限公司 A kind of heart rate detection method and system based on PPG signals
CN105740845A (en) * 2016-03-02 2016-07-06 深圳竹信科技有限公司 Method and system for filtering baseline drift based on single layer morphology
CN105816163A (en) * 2016-05-09 2016-08-03 安徽华米信息科技有限公司 Method, device and wearable equipment for detecting heart rate
CN106580301A (en) * 2016-12-21 2017-04-26 广州心与潮信息科技有限公司 Physiological parameter monitoring method, device and hand-held device
CN107095659A (en) * 2017-06-02 2017-08-29 苏州安莱光电科技有限公司 A kind of portable non-intrusion type vital sign monitoring method based on smart machine
CN109008964A (en) * 2018-06-27 2018-12-18 浏阳市安生智能科技有限公司 A kind of method and device that physiological signal extracts
CN109124613A (en) * 2018-08-17 2019-01-04 西安电子科技大学 Contactless heart rate monitoring unit and method based on interactive voice
CN109497977A (en) * 2019-01-07 2019-03-22 华东交通大学 Human heart rate and method for detecting blood oxygen saturation and device
CN109589101A (en) * 2019-01-16 2019-04-09 四川大学 A kind of contactless physiological parameter acquisition methods and device based on video
CN110251115A (en) * 2019-06-20 2019-09-20 张远 PPG method for extracting signal, system, equipment and medium based on body surface video
CN110378240A (en) * 2019-06-25 2019-10-25 深圳先进技术研究院 Heart rate variability measurement method, device and mobile terminal based on mobile terminal
CN111297347A (en) * 2020-02-21 2020-06-19 乐普(北京)医疗器械股份有限公司 A method and apparatus for generating photoplethysmography signals

Non-Patent Citations (9)

* Cited by examiner, † Cited by third party
Title
Effects of frame rate and image resolution on pulse rate measured using multiple camera imaging photoplethysmography;Ethan B. Blackford, Justin R. Estepp;《proceedings of SPIE》;20150317;第1-14页 *
Heart rate measurement based on a time-lapse image;Chihiro Takano, Yuji Ohta;《Medical Engineering Physcis》;20060919;第29卷;第853-857页 *
Non-contact, automated cardiac pulse measurements using video imaging and blind source separation;Ming-Zher Poh, Daniel J. McDuff;《OPTICS EXPRESS》;20100507;第10762-10774页 *
人体健康监测与评估平台的研发;杨林强;《中国优秀硕士学位论文全文数据库》;20190415(第04期);第7-25页 *
基于 IPPG 非接触式生理参数测量算法的研究;荣猛,范强,李凯扬;《生物医学工程研究》;20180106;第37卷;第27-31页 *
基于光电容积脉搏波成像心率检测技术的研究;徐光;《中国优秀硕士学位论文全文数据库》;20150415(第04期);第1-3、6-10、42-44页 *
基于微型摄像头的容积血流脉搏波成像关键技术;刘赫,王磊;《科研信息化技术与应用》;20140930;第5卷(第6期);第27-35页 *
基于指尖视频图像的自适应脉搏信号提取算法研究;余江军,周亮,等;《生物医学工程学杂志》;20200229;第7卷(第1期);第150-157页 *
非接触式生理信号检测关键技术研究;孔令琴;《中国博士学位论文全文数据库》;20150415(第04期);第57-78页 *

Also Published As

Publication number Publication date
CN111759292A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
Sanyal et al. Algorithms for monitoring heart rate and respiratory rate from the video of a user’s face
RU2684044C1 (en) Device and method for determining vital signs of subject
Kurylyak et al. Smartphone-based photoplethysmogram measurement
CN103826532B (en) The long-range monitoring of vital sign
KR100493714B1 (en) Autonomic function analyzer
US6529752B2 (en) Sleep disorder breathing event counter
CN107358220A (en) A kind of human heart rate and the contactless measurement of breathing
JP2018534968A (en) Device, system and method for extracting physiological information
CN106456071A (en) Device, system and method for determining the concentration of a substance in the blood of a subject
JP2018528807A (en) Apparatus and system for monitoring heart rate related information of a subject
KR20040092170A (en) Apparatus and method for diagnosing sleep apnea
US10206612B2 (en) Methods and systems for extracting venous pulsation and respiratory information from photoplethysmographs
EP3500154B1 (en) A sensor system and method for determining a breathing type
US20240016401A1 (en) Systems and methods for analysis of pulse and physiological, pathological, and emotional state and applications thereof
JP7520023B2 (en) Apparatus, system and method for determining physiological information - Patents.com
Ungureanu et al. Real-time extraction of the respiratory rate from photoplethysmographic signal using wearable devices
Carni et al. Setting-up of PPG scaling factors for SpO2% evaluation by smartphone
TWI432175B (en) Multi - channel physiological signal measuring device for ear and its method
Yousefi et al. Separating arterial and venous-related components of photoplethysmographic signals for accurate extraction of oxygen saturation and respiratory rate
JP2021519134A (en) Devices, systems and methods for extracting physiological information indicating at least one vital sign of a subject
CN111759292B (en) Device and method for comprehensive measurement of human heart rate, respiration and blood oxygen
Sharma et al. Non-contact measurement of human heart rate using low cost video camera
Farjana et al. Cuffless blood pressure determination using photoplethysmogram (PPG) signal based on multiple linear regression analysis
Charlton et al. Determinants of photoplethysmography signal quality at the wrist
CN209962229U (en) Mouse of intelligent monitoring human health state

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