CN112315440A - Heart rate detection method, wearable device and readable storage medium - Google Patents

Heart rate detection method, wearable device and readable storage medium Download PDF

Info

Publication number
CN112315440A
CN112315440A CN202011159868.8A CN202011159868A CN112315440A CN 112315440 A CN112315440 A CN 112315440A CN 202011159868 A CN202011159868 A CN 202011159868A CN 112315440 A CN112315440 A CN 112315440A
Authority
CN
China
Prior art keywords
ppg signal
heart rate
target
value
ppg
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011159868.8A
Other languages
Chinese (zh)
Inventor
王晓强
王德信
付晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Goertek Intelligent Sensor Co Ltd
Original Assignee
Qingdao Goertek Intelligent Sensor Co Ltd
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 Qingdao Goertek Intelligent Sensor Co Ltd filed Critical Qingdao Goertek Intelligent Sensor Co Ltd
Priority to CN202011159868.8A priority Critical patent/CN112315440A/en
Publication of CN112315440A publication Critical patent/CN112315440A/en
Pending legal-status Critical Current

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 pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02416Detecting, measuring or recording 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/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02438Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • 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
    • A61B5/7207Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal of noise induced by motion artifacts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • G06F2218/04Denoising

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Cardiology (AREA)
  • Veterinary Medicine (AREA)
  • Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physiology (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Psychiatry (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

The invention discloses a heart rate detection method, wearable equipment and a readable storage medium, wherein the heart rate detection method comprises the following steps: receiving an initial PPG signal acquired by a heart rate sensor of wearable equipment, and preprocessing the initial PPG signal to obtain a PPG signal to be processed; performing morphological filtering on the PPG signal to be processed according to a preset filtering parameter to obtain a target PPG signal; and acquiring an actual heart rate value according to the target PPG signal, so that the accuracy of the heart rate value is improved.

Description

Heart rate detection method, wearable device and readable storage medium
Technical Field
The invention relates to the technical field of heart rate detection, in particular to a heart rate detection method, wearable equipment and a readable storage medium.
Background
PPG (photo plethysmography) is based on LED light sources and detectors, measures the attenuated light reflected and absorbed by blood vessels and tissues of a human body, records the pulsating state of the blood vessels and measures the pulse wave, and then the existing wearable device can detect the heart rate of the human body through PPG technology.
Because the equipment applying the PPG technology is generally wearable equipment, when a human body is in a motion state, limbs can present a certain motion amplitude, so that the acquisition process of PPG signals is interfered, the accuracy of the PPG signals is reduced, and the accuracy of a heart rate value is reduced.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a heart rate detection method, a wearable device and a readable storage medium, aiming at improving the accuracy of a heart rate value.
In order to achieve the above object, the present invention provides a heart rate detection method, including the following steps:
receiving an initial PPG signal acquired by a heart rate sensor of wearable equipment, and preprocessing the initial PPG signal to obtain a PPG signal to be processed;
performing morphological filtering on the PPG signal to be processed according to a preset filtering parameter to obtain a target PPG signal;
and acquiring an actual heart rate value according to the target PPG signal.
Optionally, the step of performing morphological filtering on the PPG signal to be processed according to a preset filtering parameter to obtain a target PPG signal includes:
performing morphological filtering on the PPG signal to be processed according to the preset filtering parameter to obtain a first intermediate PPG signal;
performing morphological filtering on the first intermediate PPG signal according to the preset filtering parameter to obtain a second intermediate PPG signal;
summing the first intermediate PPG signal and the second intermediate PPG signal to obtain a target PPG signal.
Optionally, the step of performing morphological filtering on the PPG signal to be processed according to the preset filtering parameter to obtain a first intermediate PPG signal includes:
sequentially carrying out opening operation and closing operation on the PPG signal to be processed to obtain a first PPG signal;
sequentially carrying out closed operation and open operation on the PPG signal to be processed to obtain a second PPG signal;
performing a mean operation on the first PPG signal and the second PPG signal to obtain a first intermediate PPG signal;
the step of performing morphological filtering on the first intermediate PPG signal according to the preset filtering parameter to obtain a second intermediate PPG signal comprises:
sequentially carrying out opening operation and closing operation on the first intermediate PPG signal to obtain a third PPG signal;
sequentially performing closing operation and opening operation on the first intermediate PPG signal to obtain a fourth PPG signal;
and carrying out mean operation on the third PPG signal and the fourth PPG signal to obtain a second middle PPG signal.
Optionally, the step of obtaining an actual heart rate value from the target PPG signal comprises:
acquiring a power spectral density map of the target PPG signal;
determining a maximum frequency value in a preset frequency interval in the power spectral density map, and acquiring a position index value of the maximum frequency value;
and acquiring an actual heart rate value according to the position index value.
Optionally, the step of obtaining an actual heart rate value from the target PPG signal comprises:
obtaining a target heart rate value according to the target PPG signal;
obtaining a difference value between the target heart rate value and the last obtained target heart rate value;
when the difference value is in the preset difference value interval, taking the target heart rate value as the actual heart rate value;
and when the difference exceeds the preset difference interval, taking the target heart rate value obtained last time as an actual heart rate value.
Optionally, the receiving an initial PPG signal acquired by a heart rate sensor of the wearable device, and preprocessing the initial PPG signal to obtain a to-be-processed PPG signal includes:
receiving an initial PPG signal acquired by a heart rate sensor of a wearable device;
dividing the initial PPG signal into a plurality of sub-PPG signals according to a preset threshold;
sequentially sending each sub PPG signal to a high-pass filter of the wearable device, so that the high-pass filter filters low-frequency signals in the sub PPG signals to obtain PPG signals to be processed;
and receiving the PPG signal to be processed sent by the high-pass filter.
In addition, to achieve the above object, the present invention also provides a wearable device, including: the heart rate detection system comprises a heart rate detector, a high pass filter, a memory, a processor and a heart rate detection program stored on the memory and operable on the processor, wherein the heart rate detection program realizes the steps of the heart rate detection method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a readable storage medium, on which a heart rate detection program is stored, and the heart rate detection program, when executed by a processor, implements the steps of the heart rate detection method as described above.
According to the heart rate detection method, the wearable device and the readable storage medium provided by the embodiment of the invention, the initial PPG signal acquired by the heart rate sensor of the wearable device is received, then the initial PPG signal is preprocessed to obtain the PPG signal to be processed, then the PPG signal to be processed is subjected to morphological filtering according to the preset filtering parameters to obtain the target PPG signal, and finally the actual heart rate value is obtained according to the target PPG signal; through processing the collected PPG signal, the motion noise in the PPG signal is filtered, and the accuracy of the PPG signal is improved, so that the accuracy of the obtained heart rate value is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware architecture of a wearable device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a heart rate detection method according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Because the equipment applying the PPG technology is generally wearable equipment, when a human body is in a motion state, limbs can present a certain motion amplitude, so that the acquisition process of PPG signals is interfered, the accuracy of the PPG signals is reduced, and the accuracy of a heart rate value is reduced.
In order to solve the above-mentioned drawbacks, an embodiment of the present invention provides a heart rate detection method, a wearable device, and a readable storage medium, where the heart rate detection method mainly includes the following steps:
receiving an initial PPG signal acquired by a heart rate sensor of wearable equipment, and preprocessing the initial PPG signal to obtain a PPG signal to be processed;
performing morphological filtering on the PPG signal to be processed according to a preset filtering parameter to obtain a target PPG signal;
and acquiring an actual heart rate value according to the target PPG signal.
After receiving an initial PPG signal acquired by a heart rate sensor of the wearable device, preprocessing the initial PPG signal to obtain a PPG signal to be processed, performing morphological filtering on the PPG signal to be processed according to preset filtering parameters to obtain a target PPG signal, and finally acquiring an actual heart rate value according to the target PPG signal; through processing the collected PPG signal, the motion noise in the PPG signal is filtered, and the accuracy of the PPG signal is improved, so that the accuracy of the obtained heart rate value is improved.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware architecture of a wearable device according to an embodiment of the present invention.
As shown in fig. 1, the wearable device may include: a processor 1001, e.g. a CPU, a user interface 1003, a heart rate sensor 1004, a high pass filter 1005, a memory 1006, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a Display screen (Display), an input unit such as a keyboard, etc., and the optional user interface 1003 may also comprise a standard wired interface, a wireless interface. The memory 1006 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1006 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the hardware architecture of the wearable device shown in fig. 1 does not constitute a limitation of the wearable device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, the memory 1006, which is a type of computer storage medium, may include an operating system, a user interface module, and a heart rate detection program.
In the wearable device shown in fig. 1, the heart rate sensor 1004 is mainly used for connecting with a background server and performing data communication with the background server; the processor 1001 may be configured to invoke a heart rate detection program stored in the memory 1006 and perform the following operations:
receiving an initial PPG signal acquired by a heart rate sensor of wearable equipment, and preprocessing the initial PPG signal to obtain a PPG signal to be processed;
performing morphological filtering on the PPG signal to be processed according to a preset filtering parameter to obtain a target PPG signal;
and acquiring an actual heart rate value according to the target PPG signal.
Further, the processor 1001 may be configured to invoke a heart rate detection program stored in the memory 1006, and further perform the following operations:
performing morphological filtering on the PPG signal to be processed according to the preset filtering parameter to obtain a first intermediate PPG signal;
performing morphological filtering on the first intermediate PPG signal according to the preset filtering parameter to obtain a second intermediate PPG signal;
summing the first intermediate PPG signal and the second intermediate PPG signal to obtain a target PPG signal.
Further, the processor 1001 may be configured to invoke a heart rate detection program stored in the memory 1006, and further perform the following operations:
sequentially carrying out opening operation and closing operation on the PPG signal to be processed to obtain a first PPG signal;
sequentially carrying out closed operation and open operation on the PPG signal to be processed to obtain a second PPG signal;
performing a mean operation on the first PPG signal and the second PPG signal to obtain a first intermediate PPG signal;
sequentially carrying out opening operation and closing operation on the first intermediate PPG signal to obtain a third PPG signal;
sequentially performing closing operation and opening operation on the first intermediate PPG signal to obtain a fourth PPG signal;
and carrying out mean operation on the third PPG signal and the fourth PPG signal to obtain a second middle PPG signal.
Further, the processor 1001 may be configured to invoke a heart rate detection program stored in the memory 1006, and further perform the following operations:
acquiring a power spectral density map of the target PPG signal;
determining a maximum frequency value in a preset frequency interval in the power spectral density map, and acquiring a position index value of the maximum frequency value;
and acquiring an actual heart rate value according to the position index value.
Further, the processor 1001 may be configured to invoke a heart rate detection program stored in the memory 1006, and further perform the following operations:
obtaining a target heart rate value according to the target PPG signal;
obtaining a difference value between the target heart rate value and the last obtained target heart rate value;
when the difference value is in the preset difference value interval, taking the target heart rate value as the actual heart rate value;
and when the difference exceeds the preset difference interval, taking the target heart rate value obtained last time as an actual heart rate value.
Further, the processor 1001 may be configured to invoke a heart rate detection program stored in the memory 1006, and further perform the following operations:
receiving an initial PPG signal acquired by a heart rate sensor of a wearable device;
dividing the initial PPG signal into a plurality of sub-PPG signals according to a preset threshold;
sequentially sending each sub PPG signal to a high-pass filter of the wearable device, so that the high-pass filter filters low-frequency signals in the sub PPG signals to obtain PPG signals to be processed;
and receiving the PPG signal to be processed sent by the high-pass filter.
As shown in fig. 2, fig. 2 is a first embodiment of the heart rate detection method of the present invention, which includes the following steps:
step S10, receiving an initial PPG signal acquired by a heart rate sensor of the wearable device, and preprocessing the initial PPG signal to obtain a PPG signal to be processed;
step S20, performing morphological filtering on the PPG signal to be processed according to preset filtering parameters to obtain a target PPG signal;
and step S30, acquiring an actual heart rate value according to the target PPG signal.
In this embodiment, a heart rate sensor of the wearable device collects a PPG signal of a human body within a preset time interval according to a preset sampling frequency, and sends the PPG signal to a processor of the wearable device.
The processor receives an initial PPG signal acquired by a heart rate sensor of the wearable device, and then pre-processes the received initial PPG signal to preliminarily remove low-frequency interference in the initial PPG signal, so that a to-be-processed PPG signal is obtained, and then morphological filtering is performed on the to-be-processed PPG signal according to a preset filtering parameter, so that low-frequency interference in the to-be-processed PPG signal is removed again, meanwhile, motion noise in the to-be-processed PPG signal is removed, so that a target PPG signal is obtained, and finally, an actual heart rate value is obtained according to the target PPG signal.
In the technical scheme disclosed in this embodiment, the processor removes motion noise in the PPG signal by performing morphological filtering on the received initial PPG signal, improves the accuracy of the PPG signal, and reduces the error of heart rate detection under motion conditions, thereby improving the accuracy of the heart rate value detected by the heart rate.
Further, based on the first embodiment, in the second embodiment of the heart rate detecting method of the present invention, the step S20 further includes:
step S21, performing morphological filtering on the PPG signal to be processed according to the preset filtering parameter to obtain a first intermediate PPG signal;
step S22, performing morphological filtering on the first intermediate PPG signal according to the preset filtering parameter to obtain a second intermediate PPG signal;
and step S23, summing the first intermediate PPG signal and the second intermediate PPG signal to obtain a target PPG signal.
In this embodiment, the processor performs morphological filtering on the PPG signal to be processed according to a preset filtering parameter to obtain a first intermediate PPG signal; then, performing morphological filtering on the first intermediate PPG signal according to preset filtering parameters to obtain a second intermediate PPG signal; and finally, summing the first intermediate PPG signal and the second intermediate PPG signal to obtain a target PPG signal. Specifically, when performing the summation operation, the signal values of the first intermediate PPG signal and the second intermediate PPG signal at the same positions are added to obtain the target PPG signal.
Exemplarily, the step S21 further includes:
step S211, sequentially performing opening operation and closing operation on the PPG signal to be processed to obtain a first PPG signal;
step S212, performing closing operation and opening operation on the PPG signal to be processed in sequence to obtain a second PPG signal;
step S213, performing a mean operation on the first PPG signal and the second PPG signal to obtain the first intermediate PPG signal;
the step S22 further includes:
step S221, sequentially performing opening operation and closing operation on the first intermediate PPG signal to obtain a third PPG signal;
step S222, performing closing operation and opening operation on the first intermediate PPG signal in sequence to obtain a fourth PPG signal;
and step S223, carrying out mean operation on the third PPG signal and the fourth PPG signal to obtain a second middle PPG signal.
In this embodiment, the preset filtering parameter is a sequence of a plurality of filtering elements; the open operation refers to a process of sequentially performing corrosion operation and expansion operation on the PPG signal according to preset filtering parameters in the filtering process; the closed operation refers to a process of sequentially performing expansion operation and corrosion operation on the PPG signal according to preset filter parameters in the filtering process.
Exemplarily, when performing a dilation operation on a PPG signal, a preset number of signal value sequences (consistent with the number of preset filter parameters) are sequentially obtained in the PPG signal, then the preset filter parameters are added to the current signal value sequence to obtain a maximum value of an addition result, then the current signal value sequence is updated according to the maximum value, then a next signal value sequence is obtained, and then the above operation process is performed; assuming that the preset filtering parameter is [1,1,1,1,1], the currently acquired preset number signal value is [4,5,1,6,7], the addition result is [5,6,2,7,8], the maximum value is 8, and the updated signal value sequence is [8,5,1,6,7 ].
Exemplarily, when performing corrosion operation on the PPG signal, a preset number of signal value sequences (consistent with the number of preset filter parameters) are sequentially obtained in the PPG signal, then the current signal value sequence is subtracted from the preset filter parameters to obtain a minimum value of an addition result, then the current signal value sequence is updated according to the minimum value, then a next signal value sequence is obtained, and then the above operation process is performed; assuming that the preset filtering parameter is [1,1,1,1,1], the currently acquired preset number signal value is [4,5,1,6,7], the subtraction result is [3,4,0,5,6], the minimum value is 0, and the updated signal value sequence is [0,5,1,6,7 ].
The processor sequentially performs open operation and close operation on the PPG signal to be processed to obtain a first PPG signal, simultaneously sequentially performs close operation and open operation on the PPG signal to be processed to obtain a second PPG signal, and then performs mean operation on the first PPG signal and the second PPG signal to obtain a first intermediate PPG signal; then, sequentially carrying out open operation and close operation on the first intermediate PPG signal to obtain a third PPG signal, and simultaneously sequentially carrying out close operation and open operation on the first intermediate PPG signal to obtain a fourth PPG signal; and then carrying out mean operation on the third PPG signal and the fourth PPG signal to obtain a second middle PPG signal.
In the technical scheme disclosed by the embodiment, the PPG signal to be processed is subjected to two times of morphological filtering, and the results of the two times of morphological filtering are summed, so that the removal effect of the motion noise in the PPG signal to be processed is improved, and the accuracy of the PPG signal is improved; and this filtering process has higher tolerance to motion noise, then this scheme can also improve wearable equipment's suitability.
Further, based on the first embodiment, in a third embodiment of the heart rate detecting method of the present invention, the step S30 further includes:
step S31, acquiring a power spectral density map of the target PPG signal;
step S32, determining a maximum frequency value in a preset frequency interval in the power spectral density map, and obtaining a position index value of the maximum frequency value;
and step S33, acquiring an actual heart rate value according to the position index value.
In this embodiment, the processor performs fourier transform on the target PPG signal, then obtains a square value of the fourier transform result, and then divides the square value by a preset value to obtain a power spectral density map, wherein the preset value is obtained according to the initial PPG signal. Then, determining a maximum frequency value in a preset frequency interval in the power spectral density graph by a spectral peak search method, then obtaining a position index value of the maximum frequency value, and finally taking the product of the position index value and 60 as a current actual heart rate value.
In the technical scheme disclosed in this embodiment, a current actual heart rate value is also determined by acquiring a power spectral density map of a target PPG signal, and a frequency corresponding to a heart rate is accurately identified, so that a more accurate heart rate value is calculated, and the accuracy of heart rate detection is improved.
Further, based on the first embodiment, in a fourth embodiment of the heart rate detecting method of the present invention, the step S30 further includes:
step S33, acquiring a target heart rate value according to the target PPG signal;
step S34, obtaining the difference value between the target heart rate value and the last obtained target heart rate value;
step S35, when the difference value is in the preset difference value interval, taking the target heart rate value as the actual heart rate value;
and step S36, when the difference value exceeds the preset difference value interval, taking the target heart rate value obtained last time as an actual heart rate value.
In this embodiment, the processor first obtains a target heart rate value according to the target PPG signal, then obtains a difference value between the target heart rate value and the last obtained target heart rate value, and then judges whether the difference value is within a preset difference value interval; when the difference value is in the preset difference value interval, taking the target heart rate value as an actual heart rate value; and when the difference value exceeds a preset difference value interval, taking the target heart rate value obtained last time as an actual heart rate value.
In the technical scheme disclosed in this embodiment, the actual heart rate value is determined by the difference between the target heart rate value and the last acquired target heart rate value, so that the condition that the heart rate detection error is too large due to too large motion noise is avoided, and the accuracy of heart rate detection is improved.
Further, based on the first embodiment, in a fourth embodiment of the heart rate detecting method of the present invention, the step S10 further includes:
step S11, receiving an initial PPG signal acquired by a heart rate sensor of the wearable device;
step S12, dividing the initial PPG signal into a plurality of sub PPG signals according to a preset threshold value;
step S13, sequentially sending each sub PPG signal to a high-pass filter of the wearable device, so that the high-pass filter filters low-frequency signals in the sub PPG signals to obtain PPG signals to be processed;
and step S14, receiving the PPG signal to be processed sent by the high-pass filter.
In this embodiment, after receiving an initial PPG signal acquired by a heart rate sensor of a wearable device, a processor divides the initial PPG signal into a plurality of sub-PPG signals according to a preset threshold, and stores the total number of the sub-PPG signals as a preset value; then setting the cut-off frequency of a high-pass filter of the wearable device as a preset frequency, and sequentially sending each sub PPG signal to the high-pass filter; the high-pass filter filters low-frequency signals in the currently received sub-PPG signals to obtain PPG signals to be processed, and then the PPG signals to be processed are sent to the processor; and after receiving the PPG signal to be processed, the processor executes the morphological filtering and heart rate value acquisition process.
In the technical scheme disclosed in this embodiment, the filtering effect and the filtering speed are improved by segmenting the PPG signal.
In addition, an embodiment of the present invention further provides a wearable device, where the wearable device includes a heart rate sensor, a high pass filter, a memory, a processor, and a heart rate detection program stored in the memory and executable on the processor, and when the heart rate detection program is executed by the processor, the steps of the heart rate detection method described in each of the above embodiments are implemented.
In addition, an embodiment of the present invention further provides a readable storage medium, where a heart rate detection program is stored, and the heart rate detection program, when executed by a processor, implements the steps of the heart rate detection method according to the above embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for causing a wearable device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A heart rate detection method, characterized by comprising the steps of:
receiving an initial PPG signal acquired by a heart rate sensor of wearable equipment, and preprocessing the initial PPG signal to obtain a PPG signal to be processed;
performing morphological filtering on the PPG signal to be processed according to a preset filtering parameter to obtain a target PPG signal;
and acquiring an actual heart rate value according to the target PPG signal.
2. The heart rate detection method according to claim 1, wherein the step of morphologically filtering the PPG signal to be processed according to a preset filtering parameter to obtain a target PPG signal comprises:
performing morphological filtering on the PPG signal to be processed according to the preset filtering parameter to obtain a first intermediate PPG signal;
performing morphological filtering on the first intermediate PPG signal according to the preset filtering parameter to obtain a second intermediate PPG signal;
summing the first intermediate PPG signal and the second intermediate PPG signal to obtain a target PPG signal.
3. The heart rate detection method according to claim 1, wherein the step of morphologically filtering the PPG signals to be processed according to the preset filtering parameters to obtain a first intermediate PPG signal comprises:
sequentially carrying out opening operation and closing operation on the PPG signal to be processed to obtain a first PPG signal;
sequentially carrying out closed operation and open operation on the PPG signal to be processed to obtain a second PPG signal;
performing a mean operation on the first PPG signal and the second PPG signal to obtain a first intermediate PPG signal;
the step of performing morphological filtering on the first intermediate PPG signal according to the preset filtering parameter to obtain a second intermediate PPG signal comprises:
sequentially carrying out opening operation and closing operation on the first intermediate PPG signal to obtain a third PPG signal;
sequentially performing closing operation and opening operation on the first intermediate PPG signal to obtain a fourth PPG signal;
and carrying out mean operation on the third PPG signal and the fourth PPG signal to obtain a second middle PPG signal.
4. Heart rate detection method according to claim 1, wherein the step of obtaining an actual heart rate value from the target PPG signal comprises:
acquiring a power spectral density map of the target PPG signal;
determining a maximum frequency value in a preset frequency interval in the power spectral density map, and acquiring a position index value of the maximum frequency value;
and acquiring an actual heart rate value according to the position index value.
5. Heart rate detection method according to claim 1, wherein the step of obtaining an actual heart rate value from the target PPG signal comprises:
obtaining a target heart rate value according to the target PPG signal;
obtaining a difference value between the target heart rate value and the last obtained target heart rate value;
when the difference value is in the preset difference value interval, taking the target heart rate value as the actual heart rate value;
and when the difference exceeds the preset difference interval, taking the target heart rate value obtained last time as an actual heart rate value.
6. The heart rate detection method according to claim 1, wherein the step of receiving an initial PPG signal acquired by a heart rate sensor of a wearable device, and pre-processing the initial PPG signal to obtain a to-be-processed PPG signal comprises:
receiving an initial PPG signal acquired by a heart rate sensor of a wearable device;
dividing the initial PPG signal into a plurality of sub-PPG signals according to a preset threshold;
sequentially sending each sub PPG signal to a high-pass filter of the wearable device, so that the high-pass filter filters low-frequency signals in the sub PPG signals to obtain PPG signals to be processed;
and receiving the PPG signal to be processed sent by the high-pass filter.
7. A wearable device, characterized in that the wearable device comprises: a heart rate sensor, a high pass filter, a memory, a processor and a heart rate detection program stored on the memory and executable on the processor, the heart rate detection program when executed by the processor implementing the steps of the heart rate detection method according to any one of claims 1 to 6.
8. A readable storage medium, characterized in that the readable storage medium has stored thereon a heart rate detection program, which when executed by a processor implements the steps of the heart rate detection method according to any one of claims 1 to 6.
CN202011159868.8A 2020-10-26 2020-10-26 Heart rate detection method, wearable device and readable storage medium Pending CN112315440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011159868.8A CN112315440A (en) 2020-10-26 2020-10-26 Heart rate detection method, wearable device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011159868.8A CN112315440A (en) 2020-10-26 2020-10-26 Heart rate detection method, wearable device and readable storage medium

Publications (1)

Publication Number Publication Date
CN112315440A true CN112315440A (en) 2021-02-05

Family

ID=74312369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011159868.8A Pending CN112315440A (en) 2020-10-26 2020-10-26 Heart rate detection method, wearable device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112315440A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113749655A (en) * 2021-11-08 2021-12-07 芯原微电子(南京)有限公司 Method and device for detecting blood oxygen saturation, electronic equipment and storage medium
CN114521880A (en) * 2022-01-21 2022-05-24 中国人民解放军陆军军医大学 Method and system for calculating heart rate in motion state and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040223634A1 (en) * 2003-05-07 2004-11-11 Hiroyuki Shinbata Diagnosis support apparatus and image processing method
CN102397064A (en) * 2011-12-14 2012-04-04 中国航天员科研训练中心 Continuous blood pressure measuring device
CN106994010A (en) * 2016-01-26 2017-08-01 深圳市新元素健康管理有限公司 A kind of heart rate detection method and system based on PPG signals
CN108634969A (en) * 2018-05-16 2018-10-12 京东方科技集团股份有限公司 Mood detection device, mood detecting system, mood detection method, storage medium
CN110623646A (en) * 2019-09-09 2019-12-31 山东中医药大学 Method for monitoring pregnancy hypertension syndrome
CN111310584A (en) * 2020-01-19 2020-06-19 上海眼控科技股份有限公司 Heart rate information acquisition method and device, computer equipment and storage medium
CN111387966A (en) * 2020-03-20 2020-07-10 中国科学院深圳先进技术研究院 Signal wave reconstruction method and heart rate variability information detection device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040223634A1 (en) * 2003-05-07 2004-11-11 Hiroyuki Shinbata Diagnosis support apparatus and image processing method
CN102397064A (en) * 2011-12-14 2012-04-04 中国航天员科研训练中心 Continuous blood pressure measuring device
CN106994010A (en) * 2016-01-26 2017-08-01 深圳市新元素健康管理有限公司 A kind of heart rate detection method and system based on PPG signals
CN108634969A (en) * 2018-05-16 2018-10-12 京东方科技集团股份有限公司 Mood detection device, mood detecting system, mood detection method, storage medium
CN110623646A (en) * 2019-09-09 2019-12-31 山东中医药大学 Method for monitoring pregnancy hypertension syndrome
CN111310584A (en) * 2020-01-19 2020-06-19 上海眼控科技股份有限公司 Heart rate information acquisition method and device, computer equipment and storage medium
CN111387966A (en) * 2020-03-20 2020-07-10 中国科学院深圳先进技术研究院 Signal wave reconstruction method and heart rate variability information detection device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113749655A (en) * 2021-11-08 2021-12-07 芯原微电子(南京)有限公司 Method and device for detecting blood oxygen saturation, electronic equipment and storage medium
CN113749655B (en) * 2021-11-08 2022-03-08 芯原微电子(南京)有限公司 Method and device for detecting blood oxygen saturation, electronic equipment and storage medium
CN114521880A (en) * 2022-01-21 2022-05-24 中国人民解放军陆军军医大学 Method and system for calculating heart rate in motion state and computer storage medium
CN114521880B (en) * 2022-01-21 2023-09-01 中国人民解放军陆军军医大学 Method, system and computer storage medium for calculating heart rate under exercise state

Similar Documents

Publication Publication Date Title
CN109907752B (en) Electrocardiogram diagnosis and monitoring system for removing motion artifact interference and electrocardio characteristic detection
Yan et al. The moment segmentation analysis of heart sound pattern
Chen et al. A real-time QRS detection method based on moving-averaging incorporating with wavelet denoising
US6094592A (en) Methods and apparatus for estimating a physiological parameter using transforms
US20160120431A1 (en) Medical device having automated ecg feature extraction
CN108113665B (en) Automatic noise reduction method for electrocardiosignal
CN108888259A (en) A kind of real-time QRS wave detection method of electrocardiosignal
CN111481192B (en) Electrocardiosignal R wave detection method based on improved U-Net
CN112315440A (en) Heart rate detection method, wearable device and readable storage medium
Bayasi et al. Adaptive technique for P and T wave delineation in electrocardiogram signals
CN107361764B (en) Method for rapidly extracting electrocardiosignal characteristic waveform R wave
CN109843158A (en) Judge the whether effective method and device of pulse wave
CN113066502A (en) Heart sound segmentation positioning method based on VMD and multi-wavelet
CN113647925A (en) Heart rate determination method and device based on heart attack signal
CN110420022B (en) P wave detection method based on dual-density wavelet transform
EP3398508A1 (en) A system and method for extracting a physiological information from video sequences
CN112292069B (en) Method and device for screening atrial fibrillation
CN111860102A (en) Apparatus and method for analyzing state of system in noisy environment
CN112043263B (en) System and method for recognizing artifact generated by other instruments in neonatal electroencephalogram signals
CN113925482B (en) Heart rate calculating method, wearable electronic device and storage medium
Tun et al. Analysis of computer aided identification system for ECG characteristic points
Agrawal et al. FPGA-based peak detection of ECG signal using histogram approach
CN112353377B (en) Method for identifying characteristic points of photoelectric volume pulse wave
CN111345815B (en) Method, device, equipment and storage medium for detecting QRS wave in electrocardiosignal
Askari et al. Application of neural networks for heart rate monitoring

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205