WO2021046700A1 - Heart rate measurement method and apparatus, chip, electronic device and storage medium - Google Patents

Heart rate measurement method and apparatus, chip, electronic device and storage medium Download PDF

Info

Publication number
WO2021046700A1
WO2021046700A1 PCT/CN2019/105030 CN2019105030W WO2021046700A1 WO 2021046700 A1 WO2021046700 A1 WO 2021046700A1 CN 2019105030 W CN2019105030 W CN 2019105030W WO 2021046700 A1 WO2021046700 A1 WO 2021046700A1
Authority
WO
WIPO (PCT)
Prior art keywords
ppg signal
signal
ppg
user
heart rate
Prior art date
Application number
PCT/CN2019/105030
Other languages
French (fr)
Chinese (zh)
Inventor
万鹏
Original Assignee
深圳市汇顶科技股份有限公司
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 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2019/105030 priority Critical patent/WO2021046700A1/en
Priority to CN201980001921.0A priority patent/CN110730630B/en
Publication of WO2021046700A1 publication Critical patent/WO2021046700A1/en

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
    • A61B5/6803Head-worn items, e.g. helmets, masks, headphones or goggles
    • 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
    • A61B5/681Wristwatch-type devices
    • 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
    • A61B5/721Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal of noise induced by motion artifacts using a separate sensor to detect motion or using motion information derived from signals other than the physiological signal to be measured
    • 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/7253Details of waveform analysis characterised by using transforms
    • A61B5/7257Details of waveform analysis characterised by using transforms using Fourier transforms

Definitions

  • This application relates to the technical field of wearable devices, and in particular to a heart rate detection method, device, chip, electronic device, and storage medium.
  • smart devices have more and more functions.
  • sensors in smart devices such as wearable devices
  • wearable devices for example, close to the human body, on top of the human body
  • Sensors located close to the outer body surface of the human body in other ways to detect.
  • Wearable devices can not only monitor the health of the wearer's body for a long time, but also allow the wearer to perform daily activities, travel, commute, or participate in other activities.
  • the health status of the human body monitored by such a wearable device may include heart rate, blood oxygenation, activity level, blood pressure, galvanic skin response, or other information about the wearer's body.
  • the use of a wearable device to detect the human body state of the wearer is usually achieved by photoplethysmography (PPG).
  • PPG photoplethysmography
  • the light emitter in the wearable device emits light of a specific wavelength and is incident on the skin tissue. After the reflection, scattering and absorption of the skin tissue, a part of the light can be emitted from the skin surface and be wearable
  • the light receiver in the device receives.
  • the blood volume of the subcutaneous tissue changes with the heart rhythm, so the light intensity received by the light receiver also changes with the pulse.
  • the photoelectric pulse wave of the blood volume of the subcutaneous tissue changing with the pulse can be obtained, and the heart rate value can be calculated from this.
  • the present application provides a heart rate detection method, device, chip, electronic device, and storage medium, which improve the accuracy of heart rate detection.
  • this application provides a heart rate detection method, including:
  • the PPG signal obtained by the PPG sensor is processed according to the user's current induced capacitance signal, and the heart rate is calculated by the processed PPG signal, which effectively eliminates the noise generated by the user's motion, thereby improving the heart rate detection Accuracy.
  • processing the first PPG signal according to the user's current sensing capacitance signal, and before obtaining the second PPG signal further includes:
  • the first relationship between the user’s multiple sensing capacitance signals and multiple distances where the distance is the distance between the wearable device and the user; the target distance is determined by the first relationship and the user’s current sensing capacitance signal, and the target distance is In the first relationship, the user’s current sensing capacitance signal corresponds to the distance between the wearable device and the user; correspondingly, the first PPG signal is processed according to the user’s current sensing capacitance signal to obtain the second PPG signal, including: if the target distance If it is less than or equal to the preset threshold, the first PPG signal is processed according to the user's current sensing capacitance signal to obtain the second PPG signal.
  • the target distance is determined based on the relationship between the human body induced capacitance signal and the distance, and the user's current induced capacitance signal, and when the target distance is less than or equal to a preset threshold, the user's current induced capacitance signal
  • the first PPG signal is processed to further ensure the accuracy of heart rate detection.
  • processing the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal includes:
  • the first PPG signal is corrected based on the relationship curve between the human body induction signal and the PPG signal and the user's current sensing capacitance signal, which improves the accuracy of the correction.
  • obtaining the relationship curve between the multiple sensing capacitance signals of the user and the multiple PPG signals includes:
  • modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal includes:
  • the embodiment of the present application implements the correction of the first PPG signal and obtains the second PPG signal, thereby improving the accuracy of heart rate calculation.
  • modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal includes:
  • the embodiment of the present application obtains the second PPG signal by performing Fourier transform and fitting on the first PPG signal and the third PPG signal, respectively, which improves the reliability of the second PPG signal.
  • the heart rate detection method provided in the embodiment of the present application further includes:
  • the first PPG signal is rejected.
  • the heart rate detection method provided in the embodiment of the present application further includes:
  • the latest historical heart rate is determined to be the current heart rate; or, the current heart rate is calculated based on the latest historical heart rate and the user's current sensing capacitance signal.
  • the embodiment of the present application predicts the current heart rate based on the latest historical heart rate and the user's current induced capacitance signal when multiple target distances within a preset time all exceed a preset threshold, thereby improving the reliability of heart rate detection.
  • the heart rate detection method provided in the embodiment of the present application further includes:
  • Processing the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal includes: processing the second PPG signal according to the acceleration signal to obtain the fourth PPG signal; and calculating the heart rate according to the fourth PPG signal.
  • the reliability of the PPG signal is further improved, and the accuracy of the heart rate calculation is ensured.
  • processing the second PPG signal according to the acceleration signal to obtain the fourth PPG signal includes:
  • the implementation of this application eliminates the peak of the spectral data of the second PPG signal when the frequency of the peak of the spectral data of the second PPG signal is matched with the frequency of the peak of the spectral data of the acceleration signal, and further eliminates the movement caused by motion. Noise improves the reliability of the PPG signal.
  • the following describes the heart rate detection device, chip, device, storage medium, and computer program product provided by the embodiments of the present application.
  • the content and effect please refer to the first aspect and the heart rate detection method provided in the first aspect in the optional manner, and will not be repeated.
  • an embodiment of the present application provides a heart rate detection device, including:
  • the first acquisition module is used to acquire the user’s first PPG signal through the photoplethysmography PPG sensor; the second acquisition module is used to acquire the user’s current sensing capacitance signal through the capacitance sensor; the processing module is used to acquire the user’s current sensing capacitance signal
  • the signal processes the first PPG signal to obtain the second PPG signal; the calculation module is used to calculate the heart rate through the second PPG signal.
  • the heart rate detection device provided in the embodiment of the present application further includes:
  • the third acquiring module is used to acquire the first relationship between the multiple sensing capacitance signals of the user and the multiple distances, where the distance is the distance between the wearable device and the user; the first determining module is used to communicate with the user through the first relationship
  • the current sensing capacitance signal of the user determines the target distance, and the target distance is the distance between the wearable device and the user corresponding to the current sensing capacitance signal of the user in the first relationship.
  • processing module is specifically used for:
  • the first PPG signal is processed according to the user's current sensing capacitance signal to obtain the second PPG signal.
  • processing module is specifically used for:
  • the acquisition sub-module is used to obtain the relationship curve between the multiple sensing capacitance signals of the user and the multiple PPG signals; the processing sub-module is used to obtain the third PPG signal through the relationship curve and the current sensing capacitance signal of the user; The module is used to modify the first PPG signal according to the third PPG signal to obtain the second PPG signal.
  • correction sub-module is specifically used for:
  • correction sub-module is specifically used for:
  • the fitted first PPG signal is subtracted from the fitted third PPG signal to obtain the second PPG signal.
  • the processing module is further configured to remove the first PPG signal if the target distance exceeds a preset threshold.
  • processing module is also used to:
  • the target distance exceeds the preset threshold for the preset number of times, the latest historical heart rate is determined to be the current heart rate; or if the number of target distances determined within the preset time exceeds the predicted threshold If the preset number is exceeded, the current heart rate is calculated based on the latest historical heart rate and the user's current sensing capacitance signal.
  • the heart rate detection device provided in the embodiment of the present application further includes:
  • the fourth acquisition module acquires the acceleration signal of the wearable device through the accelerometer; correspondingly,
  • the processing module is further used for: processing the second PPG signal according to the acceleration signal to obtain the fourth PPG signal; and calculating the heart rate according to the fourth PPG signal.
  • processing module is specifically used for:
  • an embodiment of the present application provides a chip, including:
  • At least one processor and a memory communicatively connected with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the first aspect And the first aspect of the alternative method.
  • the capacitance sensor includes a capacitance electrode and a capacitance sampling circuit
  • the chip provided in the embodiment of the present application further includes:
  • the capacitance sampling circuit is connected to at least one processor, and the capacitance sampling circuit is used to obtain the user's inductive capacitance signal.
  • the photoplethysmography PPG sensor includes a light-emitting device and a photoelectric conversion device, and the chip further includes a photoelectric conversion device connected to at least one processor.
  • an embodiment of the present application provides an electronic device, including:
  • Photoplethysmography PPG sensor is connected to the processor, and the capacitance sensor is connected to the processor.
  • the PPG sensor is used to obtain the PPG signal and send the PPG signal to the processor.
  • the capacitance sensor is used to obtain the user's current Sensing the capacitance signal, and sending the user's current sensing capacitance signal to the processor, and the processor is used to execute the method provided in the first aspect and the optional manner of the first aspect.
  • the electronic device provided in the embodiment of the present application further includes an accelerometer,
  • the accelerometer is connected to the processor, and the accelerometer is used to obtain an acceleration signal and send the acceleration signal to the processor, and the processor is used to execute the method provided in the first aspect and the optional manner of the first aspect.
  • an embodiment of the present application provides a computer storage medium.
  • the storage medium includes a computer program.
  • the computer program When executed by the computer, the computer can realize the methods provided in the first aspect and the optional methods of the first aspect.
  • this application provides a computer program product, including a computer program, which when the computer program is executed by a computer, enables the computer to implement the first aspect or the method provided in the first aspect in an optional manner.
  • This application provides a heart rate detection method, device, chip, electronic device, and storage medium.
  • the method obtains the user's first PPG signal through a photoplethysmography PPG sensor; obtains the user's current sensing capacitance signal through a capacitance sensor; according to the user's current
  • the sensing capacitance signal processes the first PPG signal to obtain the second PPG signal; the heart rate is calculated from the second PPG signal. Since the PPG signal obtained by the PPG sensor is processed according to the user's current induced capacitance signal, and the heart rate is calculated by the processed PPG signal, the noise generated by the user's motion is effectively eliminated, thereby improving the accuracy of heart rate detection.
  • FIGS. 1A-1B are schematic structural diagrams of an implementable manner of a heart rate detection method provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a heart rate detection method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a heart rate detection method provided by another embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an implementable manner of a heart rate detection method provided by another embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a heart rate detection method provided by another embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a heart rate detection device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a heart rate detection device provided by another embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a chip provided by another embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a chip provided by another embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a chip provided by still another embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by another embodiment of the present application.
  • smart devices have more and more functions. In order to detect the health of the human body, it can be detected by sensors in smart devices (such as wearable devices). Wearable devices can not only monitor the health of the wearer's body for a long time, but also allow the wearer to perform daily activities, travel, commute, or participate in other activities. In the prior art, the use of wearable devices to detect the wearer’s human body status is usually achieved through PPG. However, due to the diversity of the application environment and the wearing changes caused by the movement, the PPG sensor and the human skin will have a relative displacement, and the PPG signal will be mixed. Because of the noise generated by exercise, the accuracy of heart rate detection is further affected. In order to solve the above-mentioned problems, embodiments of the present application provide a heart rate detection method, device, chip, electronic device, and storage medium.
  • the embodiments of the present application may be applied to wearable devices, such as wristbands, etc., and the specific device types of the wearable devices are not limited in the embodiments of the present application.
  • the heart rate detection method provided by the embodiment of the application may be implemented by a heart rate detection device, which may be part or all of a wearable device. Taking the heart rate detection device as a wearable device as an example, the heart rate detection method provided by the embodiment of the application is implemented 1A-1B is a schematic diagram of the structure of the heart rate detection method provided by an embodiment of the present application. As shown in FIG. 1A, the wearable device may include a PPG sampling circuit, a capacitance sensor, and a digital processing module.
  • the PPG sampling circuit is used to collect the PPG signal and send the PPG signal to the digital processing module.
  • the light-emitting diode (Light Emitting Diode) in the PPG sensor can be controlled by the sampling control circuit.
  • LED produces light of a certain wavelength. After being reflected, scattered and absorbed by the skin tissue, a part of the light can be emitted from the surface of the skin tissue and be received by the photo-diode (PD) in the PPG sensor.
  • the optical signal passes through an analog front-end circuit and an analog-to-digital converter (Analog-to-Digital Converter, ADC) to obtain a digital signal.
  • ADC analog-to-digital converter
  • the LED and PD can be integrated in the heart rate detection chip or set separately from the heart rate detection chip.
  • This application is implemented The example does not limit this; the digital signal is finally sent to the digital processing module, which can be part or all of the heart rate detection chip, for example, the digital processing module can be a processor.
  • the sampling control circuit, analog front-end circuit and ADC in the PPG sampling circuit can also be integrated with the digital processing module in the chip.
  • the capacitance sensor is used to obtain the human body induction capacitance signal and send the human body induction capacitance signal to the digital processing module.
  • the digital processing module calculates the heart rate according to the human body induction capacitance signal and the PPG signal, which effectively improves the accuracy of heart rate detection. Based on this, this The application embodiment provides a heart rate detection method, device, chip, electronic device, and storage medium.
  • FIG. 2 is a schematic flow chart of a heart rate detection method provided by an embodiment of the present application.
  • the method can be executed by a heart rate detection device, which can be implemented by software and/or hardware.
  • the device can be a wearable device. Part or all, such as a heart rate bracelet, a heart rate headset, etc.
  • the device can also be a heart rate detection chip in a wearable device, a single-chip microcomputer, a microcontroller unit (Microcontroller Unit, MCU), etc.
  • MCU microcontroller Unit
  • the wearable device is used as the main body to perform the heart rate The detection method is described.
  • the heart rate detection method provided in the embodiment of the present application includes the following steps:
  • Step S101 Obtain the user's first PPG signal through the PPG sensor.
  • the PPG sensor can use the PPG sensor in FIG. 1A.
  • the embodiment of the present application does not limit the specific structure of the PPG sensor, as long as the first PPG signal can be obtained, and the first PPG signal is the current PPG signal obtained by the wearable device. In addition, the embodiment of the present application does not limit the way of acquiring the first PPG signal.
  • Step S102 Obtain the current sensing capacitance signal of the user through the capacitance sensor.
  • the capacitance sensor may be a capacitance sensor chip or the like.
  • the embodiment of the present application does not limit the specific structure of the capacitance sensor, as long as it can obtain the current sensing capacitance signal of the user.
  • the distance between the wearable device and the human body will change with the movement of the human body, and the size of the human body induction capacitance signal is related to the distance between the wearable device and the human body. Through the change of the human body induction capacitance signal, The change in the distance between the wearable device and the human body can be judged.
  • Step S103 Process the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal.
  • the first PPG signal will generate noise caused by the movement, and the change of the user's inductive capacitance signal can determine the change in the distance between the wearable device and the user, and then the user's current inductive capacitance
  • the signal processes the first PPG signal, for example, to eliminate the noise caused by the user’s motion and other behaviors to obtain the second PPG signal after the noise has been removed.
  • the embodiment of the present application performs the processing of the first PPG signal on the basis of the user’s current sensing capacitance signal.
  • the specific implementation manner for obtaining the second PPG signal is not limited by processing.
  • the current sensing capacitance signal processes the first PPG signal, and before the second PPG signal is obtained, it also includes:
  • the first relationship between the user’s multiple sensing capacitance signals and multiple distances where the distance is the distance between the wearable device and the human body; determine the target distance through the first relationship and the user’s current sensing capacitance signal, and the target distance is at In the first relationship, the user’s current sensing capacitance signal corresponds to the distance between the wearable device and the user; correspondingly, the first PPG signal is processed according to the user’s current sensing capacitance signal to obtain the second PPG signal, including: if the target If the distance is less than or equal to the preset threshold, the first PPG signal is processed according to the user's current sensing capacitance signal to obtain the second PPG signal.
  • the relationship between the user's inductive capacitance signal and the distance can be represented by an XY curve, which is not limited in the embodiment of the present application.
  • the target distance can be determined by the first relationship and the user's current sensing capacitance signal.
  • the target distance is the distance corresponding to the user's current sensing capacitance signal in the first relationship.
  • the sensing capacitance signal is substituted into the curve function of the first relationship to obtain the target distance. After the target distance is determined, the target distance can be judged to determine how to process the first PPG signal.
  • processing the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal includes: if the target distance is less than or equal to a preset threshold, then according to the user's current sensing capacitance signal The first PPG signal is processed to obtain the second PPG signal.
  • the preset threshold does not limit the range of the preset threshold, which can be specifically set according to the device type of the wearable device and user needs.
  • the preset threshold may be 10 mm. Not limited to this. Determine the target distance based on the relationship between the user's sensing capacitance signal and the distance, and the user's current sensing capacitance signal, and when the target distance is less than or equal to the preset threshold, perform the first PPG signal on the user's current sensing capacitance signal Processing further ensures the accuracy of heart rate detection.
  • the first PPG signal is eliminated.
  • the heart rate detection method provided in the embodiment of the present application further includes:
  • the latest historical heart rate is determined to be the current heart rate.
  • the embodiment of the present application does not limit the length of the preset time, which can be specifically set according to user requirements.
  • the preset time may be 10 seconds, and the embodiment of the present application is not limited to this. If the multiple sensing capacitance signals of the user collected within the preset time, the target distance calculated by the first relationship exceeds the preset threshold for the preset number of times, it means the distance between the wearable device and the human body within the preset time It is far away and the user's multiple sensing capacitor signals are unstable within a preset time, which in turn causes the noise of the first PPG signal to be relatively large, which affects the result of heart rate calculation.
  • the wearable device may use the historical heart rate calculated before the preset time as the current heart rate.
  • the current heart rate can be predicted based on the latest historical heart rate and the user's current sensing capacitance signal.
  • the user's motion state can be judged based on the fluctuation range of the user's induced capacitance signal, and then the increase range of the current heart rate on the basis of the latest historical heart rate can be determined. If the fluctuation range of the user's inductive capacitance signal is larger, it is judged that the user's exercise is more violent, and a larger range of increase can be increased on the basis of the latest historical heart rate.
  • the embodiments of this application do not impose restrictions on this.
  • the current heart rate is predicted based on the latest historical heart rate and the user's current sensing capacitance signal, which improves the reliability of heart rate detection.
  • Step S104 Calculate the heart rate through the second PPG signal.
  • the wearable device After processing the first PPG signal, the second PPG signal is obtained, and the wearable device calculates the heart rate through the second PPG signal.
  • the embodiment of the present application does not limit the specific implementation manner in which the wearable device calculates the heart rate through the second PPG signal.
  • the PPG signal obtained by the PPG sensor is processed according to the user's current inductive capacitance signal, and the heart rate is calculated by the processed PPG signal, which effectively eliminates the noise generated by the user's motion, and then Improve the accuracy of heart rate detection.
  • accelerometer data is acquired at the same time when PPG signals are acquired, so as to extract more accurate PPG signals.
  • the embodiment of the present application not only reduces the cost, but also acquires the PPG signal through the capacitive sensor.
  • the sensing capacitance signal can better reflect the distance between the wearable device and the user.
  • FIG. 3 is a schematic flowchart of a heart rate detection method provided by another embodiment of the present application.
  • the method can be executed by a heart rate detection device, which can be implemented by software and/or hardware.
  • the device can be part or all of a wearable device, such as a heart rate bracelet, a heart rate headset, etc.
  • the device can also It is the heart rate detection chip, single-chip microcomputer, MCU, etc. in the wearable device.
  • the step S103 in the heart rate detection method provided by the embodiment of the present application can be include:
  • Step S201 Obtain a relationship curve between a plurality of inductive capacitance signals of a user and a plurality of PPG signals.
  • Obtain the relationship curve between the multiple sensing capacitance signals of the user and the multiple PPG signals which can be obtained by directly reading the existing relationship curve from the memory, or can be obtained by further calculation of the wearable device.
  • acquiring the relationship curve between the multiple sensing capacitance signals of the user and the multiple PPG signals includes:
  • the first relationship between the multiple sensing capacitance signals of the user and the multiple distances For determining the first relationship between the multiple sensing capacitance signals of the user and the multiple distances, reference may be made to the introduction of this part in step S103, which will not be repeated here.
  • To determine the second relationship between the multiple PPG signals and the multiple distances refer to the method of determining the first relationship between the multiple inductive capacitance signals of the user and the multiple distances, which will not be repeated here.
  • the relationship curve between the multiple sense capacitance signals of the user and the multiple PPG signals can be determined through the relationship between the multiple sense capacitance signals of the user, multiple PPG signals and multiple distances.
  • Step S202 Obtain a third PPG signal through the relationship curve and the current sensing capacitance signal of the user.
  • the third PPG signal can be obtained.
  • the embodiment of the present application does not limit the specific implementation manner of obtaining the third PPG signal.
  • Step S203 Correct the first PPG signal according to the third PPG signal to obtain the second PPG signal.
  • the first PPG signal can be modified by the third PPG signal to obtain the second PPG signal.
  • the embodiment of the present application modifies the first PPG signal according to the third PPG signal to obtain the second PPG signal. There is no restriction on the way.
  • modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal includes:
  • Determining the reference value of the first PPG signal for example, can be set when the wearable device is normally worn, the distance between the wearable device and the human body is 1 mm, and the PPG signal at this distance is determined as the reference value through the second relationship, The embodiments of this application do not impose restrictions on this. Then the correction coefficient is obtained by calculating the ratio between the third PPG signal and the reference value; finally, the product of the first PPG signal and the correction coefficient is calculated to obtain the second PPG signal, thereby eliminating the excessive distance between the wearable device and the human body
  • the motion noise caused by a large amount of noise improves the reliability of the PPG signal, which in turn improves the accuracy of the heart rate calculation.
  • modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal includes:
  • the first PPG signal and the third PPG signal are respectively Fourier transformed to obtain the transformed first PPG signal and the transformed third PPG signal;
  • the first PPG signal after the transformation is fitted with the third PPG signal after the transformation.
  • the embodiment of the present application does not limit the fitting manner, for example, the least square method or polynomial fitting may be used.
  • the embodiment of the present application does not limit the specific range of the preset frequency spectrum range. In a possible implementation manner, the preset frequency spectrum range may be 0.5 Hz to 200 Hz, and the embodiment of the present application is not limited to this.
  • the second PPG signal is obtained by subtracting the fitted third PPG signal from the fitted first PPG signal, which realizes the correction of the first PPG signal and improves the accuracy of the correction.
  • FIG. 4 is a schematic structural diagram of an achievable manner of the heart rate detection method provided by another embodiment of the present application, and FIG.
  • the accelerometer signal is obtained through the accelerometer, and the accelerometer signal is sent to the digital processing module.
  • the digital processing module calculates the heart rate based on the PPG signal, the human body capacitance sensing signal and the accelerometer signal to improve the accuracy of heart rate detection Sex.
  • the heart rate detection method provided by the embodiment of the present application will be further introduced below.
  • FIG. 5 is a schematic flowchart of a heart rate detection method provided by another embodiment of the present application, where the method can be executed by a heart rate detection device, which can be implemented by software and/or hardware.
  • the device can be part or all of a wearable device, such as a heart rate bracelet, a heart rate headset, etc.
  • the device can also be a heart rate detection chip, a single-chip microcomputer, an MCU, etc. in the wearable device, and the wearable device is the main body of execution below
  • the heart rate detection method is described.
  • the heart rate detection method provided in the embodiment of the present application may further include:
  • Step S301 Obtain the acceleration signal of the wearable device through the accelerometer.
  • the embodiment of the present application does not limit the model and structure of the accelerometer, as long as the acceleration signal can be obtained.
  • the digital processing module calculates the heart rate based on the PPG signal, the human body capacitance sensing signal, and the accelerometer signal.
  • the PPG signal can be corrected by the human body capacitance sensing signal and the accelerometer signal to improve the reliability of the PPG signal.
  • the method further includes:
  • Step S302 Process the second PPG signal according to the acceleration signal to obtain a fourth PPG signal.
  • the embodiment of the present application does not limit the specific implementation manner of processing the second PPG signal according to the acceleration signal to obtain the fourth PPG signal.
  • the second PPG signal is processed according to the acceleration signal to obtain the fourth PPG signal, include:
  • the frequency of the peak of the spectral data of the second PPG signal is matched with the frequency of the peak of the spectral data of the acceleration signal through the spectral analysis method. If the frequency of the peak of the spectral data of the second PPG signal is located, Matching with the frequency of the peak of the spectral data of the acceleration signal indicates that the peak of the spectral data of the second PPG signal is motion noise. Therefore, the peak of the spectral data of the second PPG signal can be eliminated to obtain the fourth PPG signal.
  • the peak value in the fourth PPG signal is the peak value caused by the pulse of the user, which further eliminates the noise caused by the movement and improves the reliability of the PPG signal.
  • Step S104 is updated to step S303.
  • Step S303 Calculate the heart rate according to the fourth PPG signal.
  • the calculation of the heart rate based on the fourth PPG signal is similar to the manner of calculating the heart rate based on the second PPG signal in step S104 in the foregoing embodiment, and will not be described again.
  • the reliability of the PPG signal is further improved, and the accuracy of the heart rate calculation is ensured.
  • heart rate detection device chip, device, storage medium, and computer program product provided by the embodiments of the present application.
  • the content and effect please refer to the heart rate detection method provided in the foregoing embodiment, and will not be repeated.
  • Fig. 6 is a schematic structural diagram of a heart rate detection device provided by an embodiment of the present application.
  • the device can be implemented by software and/or hardware.
  • the device can be part or all of a wearable device, such as a heart rate bracelet or a heart rate monitor. Earphones, etc., the device may also be a heart rate detection chip, a single-chip microcomputer, an MCU, etc. in a wearable device.
  • the heart rate detection device provided in the embodiment of the present application may include:
  • the first acquisition module 61 is configured to acquire the user's first PPG signal through the photoplethysmography PPG sensor.
  • the second acquiring module 62 is configured to acquire the current sensing capacitance signal of the user through the capacitance sensor.
  • the processing module 63 is configured to process the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal.
  • the calculation module 64 is configured to calculate the heart rate through the second PPG signal.
  • the functions of the processing module and the calculation module can also be performed by the processing module.
  • the processing module can be a processor, and the first acquisition module and the second acquisition module can be the transmission of the processor. Interface;
  • the function of the first acquisition module can be implemented by the sampling control circuit, analog front-end circuit and ADC in the PPG sampling circuit;
  • the function of the second acquisition module can be implemented by the capacitance sampling module of the capacitance sensor, for example ,
  • the capacitance sampling module can be a capacitance sampling circuit.
  • FIG. 7 is a schematic structural diagram of a heart rate detection device provided by another embodiment of the present application.
  • the device can be implemented by software and/or hardware.
  • the device can be part or all of a wearable device, such as A heart rate bracelet, a heart rate headset, etc., the device may also be a heart rate detection chip, a single-chip microcomputer, an MCU, etc. in a wearable device.
  • the heart rate detection device provided in the embodiment of the present application may further include:
  • the third acquiring module 65 is configured to acquire the first relationship between the multiple sensing capacitance signals of the user and the multiple distances, where the distance is the distance between the wearable device and the human body.
  • the first determining module 66 is configured to determine a target distance based on the first relationship and the user's current sensing capacitance signal, where the target distance is the distance between the wearable device and the user corresponding to the user's current sensing capacitance signal in the first relationship.
  • processing module 63 is specifically used for:
  • the first PPG signal is processed according to the user's current sensing capacitance signal to obtain the second PPG signal.
  • the processing module 63 includes:
  • the acquiring sub-module 631 is configured to acquire the relationship curves between the multiple sensing capacitance signals of the user and the multiple PPG signals.
  • the processing sub-module 632 is configured to obtain the third PPG signal through the relationship curve and the current sensing capacitance signal of the user.
  • the correction sub-module 633 is used to correct the first PPG signal according to the third PPG signal to obtain the second PPG signal.
  • sub-module 631 is obtained, which is specifically used for:
  • correction submodule 633 is specifically used for:
  • correction submodule 633 is specifically used for:
  • the fitted first PPG signal is subtracted from the fitted third PPG signal to obtain the second PPG signal.
  • the processing module 63 is further configured to remove the first PPG signal if the target distance exceeds a preset threshold.
  • processing module 63 is also used to:
  • the latest historical heart rate is determined to be the current heart rate; or, the current heart rate is calculated based on the latest historical heart rate and the user's current sensing capacitance signal.
  • the heart rate detection device provided in the embodiment of the present application further includes:
  • the fourth acquiring module 67 acquires the acceleration signal of the wearable device through the accelerometer; correspondingly,
  • the processing module 63 is further configured to: process the second PPG signal according to the acceleration signal to obtain a fourth PPG signal; and calculate the heart rate according to the fourth PPG signal.
  • processing module 63 is specifically used for:
  • the functions of the processing module and the first determining module may also be performed by the processing module.
  • the processing module may be a processor, and the third acquiring module and the fourth acquiring module may be processors.
  • the transmission interface of this application is not limited to this.
  • FIG. 8 is a schematic structural diagram of a chip provided by an embodiment of the present application. As shown in FIG. 8, the chip provided by an embodiment of the present application may include:
  • At least one processor 81 and a memory 82 communicatively connected with the at least one processor 81; wherein the memory 82 stores instructions executable by the at least one processor 81, and the instructions are executed by the at least one processor 81 to enable at least one processing
  • the device 81 can execute the heart rate detection method provided in the foregoing embodiment.
  • FIG. 9 is a schematic structural diagram of a chip provided by another embodiment of the present application.
  • the capacitance sensor includes a capacitance electrode 84 and a capacitance sampling circuit 83.
  • the chip provided by the embodiment of the present application also includes:
  • the capacitance sampling circuit 83 is connected to at least one processor 81, and the capacitance sampling circuit 83 is used to obtain the user's inductive capacitance signal.
  • the capacitor electrode is connected to the capacitor sampling circuit.
  • the capacitor electrode can be set on the surface of the electronic device.
  • the electronic device can be a heart rate detection device or an electronic device containing a heart rate detection device, such as a wearable device.
  • FIG. 10 is a schematic structural diagram of a chip provided by another embodiment of the present application.
  • the photoplethysmography PPG sensor includes a light-emitting device 86 and a photoelectric conversion device 85.
  • the chip provided in the example may also include a photoelectric conversion device 85 connected to at least one processor 81.
  • the light-emitting device 86 may include LEDs and PDs, and the photoelectric conversion device 85 may include a sampling control circuit, an analog front-end circuit, and an ADC.
  • the embodiment of the present application does not limit the specific structure of the photoelectric conversion circuit 85.
  • FIG. 11 is a schematic structural diagram of a chip provided by another embodiment of the present application. As shown in FIG. 11, the light emitting device 86 is integrated into the chip.
  • FIG. 12 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. As shown in FIG. 11, the electronic device provided in an embodiment of the present application may include:
  • PPG sensor 91 PPG sensor 91, capacitance sensor 92 and processor 93
  • PPG sensor 91 is connected to processor 93
  • capacitance sensor 92 is connected to processor 93
  • PPG sensor 91 is used to obtain PPG signal and send the PPG signal to processor 93
  • capacitance sensor 92 is used to obtain the user's current sensing capacitance signal, and send the user's current sensing capacitance signal to the processor 93
  • the processor 93 is used to execute the heart rate detection method provided in the foregoing embodiment.
  • the electronic device provided in the embodiment of the present application may be a heart rate detection device or an electronic device including the heart rate detection device, which is not limited in the embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by another embodiment of the present application.
  • the device provided by an embodiment of the present application may further include an accelerometer 94,
  • the accelerometer 94 is connected to the processor 93, and the accelerometer 94 is used to obtain an acceleration signal and send the acceleration signal to the processor 93, and the processor 93 is used to execute the method provided in the foregoing embodiment.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

Abstract

The present application provides a heart rate measurement method and apparatus, a chip, an electronic device, and a storage medium. Said method comprises: a photo plethysmo graphy (PPG) sensor acquiring a first PPG signal of a user; acquiring an induced capacitance signal of the user by means of a capacitance sensor; processing the first PPG signal according to the induced capacitance signal of the user, so as to obtain a second PPG signal; and calculating the heart rate by means of the second PPG signal. The PPG signal acquired by the PPG sensor is processed according to the induced capacitance signal of the user, and the heart rate is calculated according to the processed PPG signal, so as to effectively eliminate noise caused by the movement of the user, thereby improving the accuracy of heart rate measurement.

Description

心率检测方法、装置、芯片、电子装置及存储介质Heart rate detection method, device, chip, electronic device and storage medium 技术领域Technical field
本申请涉及可穿戴设备技术领域,尤其涉及一种心率检测方法、装置、芯片、电子装置及存储介质。This application relates to the technical field of wearable devices, and in particular to a heart rate detection method, device, chip, electronic device, and storage medium.
背景技术Background technique
随着智能设备的发展,智能设备所具备的功能也越来越多,为了检测人体的健康状态,可以通过智能设备(例如可穿戴设备)中的传感器(例如,抵近人体、在人体上方或者以其他方式靠近人体的外部身体表面设置的传感器)来检测。可穿戴设备不仅能够长期监视穿戴者身体的健康状态,而且允许穿戴者可以正常进行日常生活活动、旅行、上下班或参与其他活动。由这种可穿戴设备监视的人体的健康状态可以包括心率、血氧合、活动水平、血压、皮肤电反应或关于穿戴者身体的其他信息。With the development of smart devices, smart devices have more and more functions. In order to detect the health of the human body, sensors in smart devices (such as wearable devices) (for example, close to the human body, on top of the human body) can be used to detect the health of the human body. Sensors located close to the outer body surface of the human body in other ways) to detect. Wearable devices can not only monitor the health of the wearer's body for a long time, but also allow the wearer to perform daily activities, travel, commute, or participate in other activities. The health status of the human body monitored by such a wearable device may include heart rate, blood oxygenation, activity level, blood pressure, galvanic skin response, or other information about the wearer's body.
现有技术中,使用可穿戴设备检测穿戴者的人体状态通常是通过光电容积描记法(photo plethysmo graphy,PPG)实现。以检测人体心率为例,通过可穿戴设备中的光发射器发出特定波长的光并入射到皮肤组织中,经过皮肤组织的反射、散射以及吸收之后,一部分光可以从皮肤表面出射并被可穿戴设备中的光接收器接收,在此过程中,由于皮下组织的血液容积随心脏律动呈搏动性变化,使光接收器接收到的光强也随之呈搏动性变化。将光接收器接收到的光强信号转换为电信号即可获得皮下组织血液容积随脉搏变化的光电脉搏波,并由此计算出心率值。In the prior art, the use of a wearable device to detect the human body state of the wearer is usually achieved by photoplethysmography (PPG). Taking the detection of human heart rate, for example, the light emitter in the wearable device emits light of a specific wavelength and is incident on the skin tissue. After the reflection, scattering and absorption of the skin tissue, a part of the light can be emitted from the skin surface and be wearable The light receiver in the device receives. During this process, the blood volume of the subcutaneous tissue changes with the heart rhythm, so the light intensity received by the light receiver also changes with the pulse. By converting the light intensity signal received by the light receiver into an electrical signal, the photoelectric pulse wave of the blood volume of the subcutaneous tissue changing with the pulse can be obtained, and the heart rate value can be calculated from this.
然而现有技术中,在可穿戴设备检测人体健康状态的过程中,由于应用环境的多样性及运动导致的佩戴变化,会导致PPG传感器与人体皮肤产生相对位移,PPG信号中夹杂着运动产生的噪声,进而影响心率检测的准确性。However, in the prior art, in the process of wearable devices detecting human health, due to the diversity of the application environment and the wearing changes caused by the movement, the PPG sensor and the human skin will have a relative displacement, and the PPG signal will be mixed with the movement. Noise, in turn, affects the accuracy of heart rate detection.
发明内容Summary of the invention
本申请提供一种心率检测方法、装置、芯片、电子装置及存储介质,提高了心率检测的准确性。The present application provides a heart rate detection method, device, chip, electronic device, and storage medium, which improve the accuracy of heart rate detection.
第一方面,本申请提供一种心率检测方法,包括:In the first aspect, this application provides a heart rate detection method, including:
通过光电容积描记PPG传感器获取用户的第一PPG信号;通过电容传感器获取用户当前的感应电容信号;根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号;通过第二PPG信号计算心率。Obtain the user's first PPG signal through the photoplethysmography PPG sensor; Obtain the user's current sensing capacitance signal through the capacitance sensor; Process the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal; Pass the second PPG The signal calculates the heart rate.
本申请实施例中,通过根据用户当前的感应电容信号对PPG传感器获取的PPG信号进行处理,并通过处理后的PPG信号计算心率,有效的消除了由于用户运动产生的噪声,进而提高了心率检测的准确性。In the embodiment of the present application, the PPG signal obtained by the PPG sensor is processed according to the user's current induced capacitance signal, and the heart rate is calculated by the processed PPG signal, which effectively eliminates the noise generated by the user's motion, thereby improving the heart rate detection Accuracy.
可选的,根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号之前,还包括:Optionally, processing the first PPG signal according to the user's current sensing capacitance signal, and before obtaining the second PPG signal, further includes:
获取用户的多个感应电容信号和多个距离之间的第一关系,距离为可穿戴设备与用户之间的距离;通过第一关系与用户当前的感应电容信号确定目标距离,目标距离为在第一关系中用户当前的感应电容信号对应可穿戴设备与用户之间的距离;相应的,根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号,包括:若目标距离小于或等于预设阈值,则根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号。Obtain the first relationship between the user’s multiple sensing capacitance signals and multiple distances, where the distance is the distance between the wearable device and the user; the target distance is determined by the first relationship and the user’s current sensing capacitance signal, and the target distance is In the first relationship, the user’s current sensing capacitance signal corresponds to the distance between the wearable device and the user; correspondingly, the first PPG signal is processed according to the user’s current sensing capacitance signal to obtain the second PPG signal, including: if the target distance If it is less than or equal to the preset threshold, the first PPG signal is processed according to the user's current sensing capacitance signal to obtain the second PPG signal.
本申请实施例中,通过人体感应电容信号与距离之间的关系,以及用户当前的感应电容信号,确定目标距离,并且在目标距离小于或等于预设阈值时,根据用户当前的感应电容信号对第一PPG信号进行处理,进一步保证了心率检测的准确性。In the embodiment of the present application, the target distance is determined based on the relationship between the human body induced capacitance signal and the distance, and the user's current induced capacitance signal, and when the target distance is less than or equal to a preset threshold, the user's current induced capacitance signal The first PPG signal is processed to further ensure the accuracy of heart rate detection.
可选的,根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号,包括:Optionally, processing the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal includes:
获取用户的多个感应电容信号与多个PPG信号之间的关系曲线;通过关系曲线和用户当前的感应电容信号,得到第三PPG信号;根据第三PPG信号修正第一PPG信号,得到第二PPG信号。Obtain the relationship curve between the user's multiple inductive capacitance signals and the multiple PPG signals; obtain the third PPG signal through the relationship curve and the user's current inductive capacitance signal; modify the first PPG signal according to the third PPG signal to obtain the second PPG signal.
本申请实施例中,通过人体感应信号与PPG信号之间的关系曲线,和用户当前的感应电容信号,对第一PPG信号进行修正,提高了修正的准确性。In the embodiment of the present application, the first PPG signal is corrected based on the relationship curve between the human body induction signal and the PPG signal and the user's current sensing capacitance signal, which improves the accuracy of the correction.
可选的,获取用户的多个感应电容信号与多个PPG信号之间的关系曲线,包括:Optionally, obtaining the relationship curve between the multiple sensing capacitance signals of the user and the multiple PPG signals includes:
确定用户的多个感应电容信号与多个距离之间的第一关系,距离为可穿戴设备与用户之间的距离;确定多个PPG信号和多个距离之间的第二关系; 通过第一关系和第二关系,确定关系曲线。Determine the first relationship between the multiple inductive capacitance signals of the user and the multiple distances, where the distance is the distance between the wearable device and the user; determine the second relationship between the multiple PPG signals and the multiple distances; pass the first Relationship and second relationship, determine the relationship curve.
可选的,根据第三PPG信号修正第一PPG信号,得到第二PPG信号,包括:Optionally, modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal includes:
确定第一PPG信号的基准值;确定修正系数,修正系数是第三PPG信号与基准值之间的比值;计算第一PPG信号与修正系数的乘积,以得到第二PPG信号。Determine the reference value of the first PPG signal; determine the correction coefficient, which is the ratio between the third PPG signal and the reference value; calculate the product of the first PPG signal and the correction coefficient to obtain the second PPG signal.
本申请实施例实现了对第一PPG信号的修正,得到了第二PPG信号,进而提高了心率计算的准确性。The embodiment of the present application implements the correction of the first PPG signal and obtains the second PPG signal, thereby improving the accuracy of heart rate calculation.
可选的,根据第三PPG信号修正第一PPG信号,得到第二PPG信号,包括:Optionally, modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal includes:
对第一PPG信号进行傅里叶变换,得到变换后的第一PPG信号,对第三PPG信号进行傅里叶变换,得到变换后的第三PPG信号;在预设频谱范围内,拟合变换后的第一PPG信号得到拟合后的第一PPG信号,拟合变换后的第三PPG信号得到拟合后的第三PPG信号;拟合后的第一PPG信号减去拟合后的第三PPG信号,得到第二PPG信号。Perform Fourier transform on the first PPG signal to obtain the transformed first PPG signal, and perform Fourier transform on the third PPG signal to obtain the transformed third PPG signal; within the preset spectrum range, fitting transform The first PPG signal after the fitting obtains the fitted first PPG signal, and the fitted and transformed third PPG signal obtains the fitted third PPG signal; the fitted first PPG signal subtracts the fitted first PPG signal Three PPG signals to obtain the second PPG signal.
本申请实施例通过对第一PPG信号和第三PPG信号分别进行傅里叶变换和拟合,得到第二PPG信号,提高了第二PPG信号的可靠性。The embodiment of the present application obtains the second PPG signal by performing Fourier transform and fitting on the first PPG signal and the third PPG signal, respectively, which improves the reliability of the second PPG signal.
可选的,本申请实施例提供的心率检测方法,还包括:Optionally, the heart rate detection method provided in the embodiment of the present application further includes:
若目标距离超过预设阈值,则剔除第一PPG信号。If the target distance exceeds the preset threshold, the first PPG signal is rejected.
本申请实施例中,通过在目标距离超过预设阈值时,剔除第一PPG信号,避免了运动噪声较大时对心率计算的影响,进一步保证了心率计算的准确性。In the embodiment of the present application, by removing the first PPG signal when the target distance exceeds the preset threshold, the influence on the calculation of the heart rate when the motion noise is large is avoided, and the accuracy of the calculation of the heart rate is further ensured.
可选的,本申请实施例提供的心率检测方法,还包括:Optionally, the heart rate detection method provided in the embodiment of the present application further includes:
若在预设时间内,目标距离超过预设阈值的次数达到预设次数,则确定最新的历史心率为当前心率;或,则通过最新的历史心率和用户当前的感应电容信号,计算当前心率。If within the preset time, the number of times the target distance exceeds the preset threshold reaches the preset number of times, the latest historical heart rate is determined to be the current heart rate; or, the current heart rate is calculated based on the latest historical heart rate and the user's current sensing capacitance signal.
本申请实施例通过在预设时间内的多个目标距离均超过预设阈值时,根据最新的历史心率和用户当前的感应电容信号预测当前心率,提高了心率检测的可靠性。The embodiment of the present application predicts the current heart rate based on the latest historical heart rate and the user's current induced capacitance signal when multiple target distances within a preset time all exceed a preset threshold, thereby improving the reliability of heart rate detection.
可选的,本申请实施例提供的心率检测方法,还包括:Optionally, the heart rate detection method provided in the embodiment of the present application further includes:
通过加速度计获取可穿戴设备的加速度信号;相应的,Obtain the acceleration signal of the wearable device through the accelerometer; accordingly,
根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号之后,包括:根据加速度信号对第二PPG信号进行处理,得到第四PPG信号;根据第四PPG信号计算心率。Processing the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal includes: processing the second PPG signal according to the acceleration signal to obtain the fourth PPG signal; and calculating the heart rate according to the fourth PPG signal.
本申请实施例中,通过根据加速度信号对第二PPG信号进一步处理,进一步提高了PPG信号的可靠性,保证了心率计算的准确性。In the embodiment of the present application, by further processing the second PPG signal according to the acceleration signal, the reliability of the PPG signal is further improved, and the accuracy of the heart rate calculation is ensured.
可选的,根据加速度信号对第二PPG信号进行处理,得到第四PPG信号,包括:Optionally, processing the second PPG signal according to the acceleration signal to obtain the fourth PPG signal includes:
获取第二PPG信号的频谱数据和加速度信号的频谱数据;确定第二PPG信号的频谱数据的峰值所在的频率与加速度信号的频谱数据的峰值所在的频率;若第二PPG信号的频谱数据的峰值所在的频率,与加速度信号的频谱数据的峰值所在的频率匹配,则剔除第二PPG信号的频谱数据的峰值,以得到第四PPG信号。Acquire the spectrum data of the second PPG signal and the spectrum data of the acceleration signal; determine the frequency of the peak of the spectrum data of the second PPG signal and the frequency of the peak of the acceleration signal of the acceleration signal; if the peak of the spectrum data of the second PPG signal If the frequency is matched with the frequency of the peak of the spectral data of the acceleration signal, the peak of the spectral data of the second PPG signal is removed to obtain the fourth PPG signal.
本申请实施通过在第二PPG信号的频谱数据的峰值所在的频率,与加速度信号的频谱数据的峰值所在的频率匹配时,剔除第二PPG信号的频谱数据的峰值,进一步排除了运动带来的噪声,提高了PPG信号的可靠性。The implementation of this application eliminates the peak of the spectral data of the second PPG signal when the frequency of the peak of the spectral data of the second PPG signal is matched with the frequency of the peak of the spectral data of the acceleration signal, and further eliminates the movement caused by motion. Noise improves the reliability of the PPG signal.
下面介绍本申请实施例提供的心率检测装置、芯片、设备、存储介质以及计算机程序产品,其内容和效果可参考第一方面及第一方面可选方式提供的心率检测方法,不再赘述。The following describes the heart rate detection device, chip, device, storage medium, and computer program product provided by the embodiments of the present application. For the content and effect, please refer to the first aspect and the heart rate detection method provided in the first aspect in the optional manner, and will not be repeated.
第二方面,本申请实施例提供一种心率检测装置,包括:In a second aspect, an embodiment of the present application provides a heart rate detection device, including:
第一获取模块,用于通过光电容积描记PPG传感器获取用户的第一PPG信号;第二获取模块,用于通过电容传感器获取用户当前的感应电容信号;处理模块,用于根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号;计算模块,用于通过第二PPG信号计算心率。The first acquisition module is used to acquire the user’s first PPG signal through the photoplethysmography PPG sensor; the second acquisition module is used to acquire the user’s current sensing capacitance signal through the capacitance sensor; the processing module is used to acquire the user’s current sensing capacitance signal The signal processes the first PPG signal to obtain the second PPG signal; the calculation module is used to calculate the heart rate through the second PPG signal.
可选的,本申请实施例提供的心率检测装置,还包括:Optionally, the heart rate detection device provided in the embodiment of the present application further includes:
第三获取模块,用于获取用户的多个感应电容信号和多个距离之间的第一关系,距离为可穿戴设备与用户之间的距离;第一确定模块,用于通过第一关系与用户当前的感应电容信号确定目标距离,目标距离为在第一关系中用户当前的感应电容信号对应可穿戴设备与用户之间的距离。The third acquiring module is used to acquire the first relationship between the multiple sensing capacitance signals of the user and the multiple distances, where the distance is the distance between the wearable device and the user; the first determining module is used to communicate with the user through the first relationship The current sensing capacitance signal of the user determines the target distance, and the target distance is the distance between the wearable device and the user corresponding to the current sensing capacitance signal of the user in the first relationship.
相应的,处理模块,具体用于:Correspondingly, the processing module is specifically used for:
若目标距离小于或等于预设阈值,则根据用户当前的感应电容信号对第 一PPG信号进行处理,得到第二PPG信号。If the target distance is less than or equal to the preset threshold, the first PPG signal is processed according to the user's current sensing capacitance signal to obtain the second PPG signal.
可选的,处理模块具体用于:Optionally, the processing module is specifically used for:
获取子模块,用于获取用户的多个感应电容信号与多个PPG信号之间的关系曲线;处理子模块,用于通过关系曲线和用户当前的感应电容信号,得到第三PPG信号;修正子模块,用于根据第三PPG信号修正第一PPG信号,得到第二PPG信号。The acquisition sub-module is used to obtain the relationship curve between the multiple sensing capacitance signals of the user and the multiple PPG signals; the processing sub-module is used to obtain the third PPG signal through the relationship curve and the current sensing capacitance signal of the user; The module is used to modify the first PPG signal according to the third PPG signal to obtain the second PPG signal.
可选的,获取子模块,具体用于:Optionally, obtain sub-modules, specifically used for:
确定用户的多个感应电容信号与多个距离之间的第一关系,距离为可穿戴设备与用户之间的距离;确定多个PPG信号和多个距离之间的第二关系;通过第一关系和第二关系,确定关系曲线。Determine the first relationship between the multiple inductive capacitance signals of the user and the multiple distances, where the distance is the distance between the wearable device and the user; determine the second relationship between the multiple PPG signals and the multiple distances; pass the first Relationship and second relationship, determine the relationship curve.
可选的,修正子模块具体用于:Optionally, the correction sub-module is specifically used for:
确定第一PPG信号的基准值;确定修正系数,修正系数是第三PPG信号与基准值之间的比值;计算第一PPG信号与修正系数的乘积,以得到第二PPG信号。Determine the reference value of the first PPG signal; determine the correction coefficient, which is the ratio between the third PPG signal and the reference value; calculate the product of the first PPG signal and the correction coefficient to obtain the second PPG signal.
可选的,修正子模块具体用于:Optionally, the correction sub-module is specifically used for:
对第一PPG信号进行傅里叶变换,得到变换后的第一PPG信号,对第三PPG信号进行傅里叶变换,得到变换后的第三PPG信号;Perform Fourier transform on the first PPG signal to obtain a transformed first PPG signal, and perform Fourier transform on the third PPG signal to obtain a transformed third PPG signal;
在预设频谱范围内,拟合变换后的第一PPG信号得到拟合后的第一PPG信号,拟合变换后的第三PPG信号得到拟合后的第三PPG信号;In the preset spectrum range, fitting the transformed first PPG signal to obtain the fitted first PPG signal, and fitting the transformed third PPG signal to obtain the fitted third PPG signal;
拟合后的第一PPG信号减去拟合后的第三PPG信号,得到第二PPG信号。The fitted first PPG signal is subtracted from the fitted third PPG signal to obtain the second PPG signal.
可选的,处理模块,还用于若目标距离超过预设阈值,则剔除第一PPG信号。Optionally, the processing module is further configured to remove the first PPG signal if the target distance exceeds a preset threshold.
可选的,处理模块还用于:Optionally, the processing module is also used to:
若在预设时间内,目标距离超过预设阈值的次数达到预设次数,则确定最新的历史心率为当前心率;或,若在预设时间内确定的多个目标距离中超过预测阈值的数量超过预设数量,则通过最新的历史心率和用户当前的感应电容信号,计算当前心率。If within the preset time, the target distance exceeds the preset threshold for the preset number of times, the latest historical heart rate is determined to be the current heart rate; or if the number of target distances determined within the preset time exceeds the predicted threshold If the preset number is exceeded, the current heart rate is calculated based on the latest historical heart rate and the user's current sensing capacitance signal.
可选的,本申请实施例提供的心率检测装置,还包括:Optionally, the heart rate detection device provided in the embodiment of the present application further includes:
第四获取模块,通过加速度计获取可穿戴设备的加速度信号;相应的,The fourth acquisition module acquires the acceleration signal of the wearable device through the accelerometer; correspondingly,
处理模块还用于:根据加速度信号对第二PPG信号进行处理,得到第四PPG信号;根据第四PPG信号计算心率。The processing module is further used for: processing the second PPG signal according to the acceleration signal to obtain the fourth PPG signal; and calculating the heart rate according to the fourth PPG signal.
可选的,处理模块具体用于:Optionally, the processing module is specifically used for:
获取第二PPG信号的频谱数据和加速度信号的频谱数据;确定第二PPG信号的频谱数据的峰值所在的频率与加速度信号的频谱数据的峰值所在的频率;若第二PPG信号的频谱数据的峰值所在的频率,与加速度信号的频谱数据的峰值所在的频率匹配,则剔除第二PPG信号的频谱数据的峰值,以得到第四PPG信号。Acquire the spectrum data of the second PPG signal and the spectrum data of the acceleration signal; determine the frequency of the peak of the spectrum data of the second PPG signal and the frequency of the peak of the acceleration signal of the acceleration signal; if the peak of the spectrum data of the second PPG signal If the frequency is matched with the frequency of the peak of the spectral data of the acceleration signal, the peak of the spectral data of the second PPG signal is removed to obtain the fourth PPG signal.
第三方面,本申请实施例提供一种芯片,包括:In a third aspect, an embodiment of the present application provides a chip, including:
至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行第一方面及第一方面可选方式的方法。At least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the first aspect And the first aspect of the alternative method.
可选的,电容传感器包括电容电极和电容采样电路,本申请实施例提供的芯片还包括:Optionally, the capacitance sensor includes a capacitance electrode and a capacitance sampling circuit, and the chip provided in the embodiment of the present application further includes:
电容采样电路,电容采样电路与至少一个处理器连接,电容采样电路用于获取用户的感应电容信号。The capacitance sampling circuit is connected to at least one processor, and the capacitance sampling circuit is used to obtain the user's inductive capacitance signal.
可选的,本申请实施例提供的芯片,光电容积描记PPG传感器包括发光器件及光电转换器件,芯片还包括与至少一个处理器连接的光电转换器件。Optionally, in the chip provided in the embodiment of the present application, the photoplethysmography PPG sensor includes a light-emitting device and a photoelectric conversion device, and the chip further includes a photoelectric conversion device connected to at least one processor.
可选的,本申请实施例提供的芯片,发光器件集成于芯片内。第四方面,本申请实施例提供一种电子装置,包括:Optionally, in the chip provided in the embodiment of the present application, the light-emitting device is integrated in the chip. In a fourth aspect, an embodiment of the present application provides an electronic device, including:
光电容积描记PPG传感器、电容传感器和处理器,PPG传感器与处理器连接,电容传感器与处理器连接,PPG传感器用于获取PPG信号并将PPG信号发送至处理器,电容传感器用于获取用户当前的感应电容信号,并将用户当前的感应电容信号发送至处理器,处理器用于执行如第一方面和第一方面可选方式提供的方法。Photoplethysmography PPG sensor, capacitance sensor and processor. The PPG sensor is connected to the processor, and the capacitance sensor is connected to the processor. The PPG sensor is used to obtain the PPG signal and send the PPG signal to the processor. The capacitance sensor is used to obtain the user's current Sensing the capacitance signal, and sending the user's current sensing capacitance signal to the processor, and the processor is used to execute the method provided in the first aspect and the optional manner of the first aspect.
可选的,本申请实施例提供的电子装置,还包括加速度计,Optionally, the electronic device provided in the embodiment of the present application further includes an accelerometer,
加速度计与处理器连接,加速度计用于获取加速度信号,并将加速度信号发送至处理器,处理器用于执行如第一方面和第一方面可选方式提供的方法。The accelerometer is connected to the processor, and the accelerometer is used to obtain an acceleration signal and send the acceleration signal to the processor, and the processor is used to execute the method provided in the first aspect and the optional manner of the first aspect.
第五方面,本申请实施例提供一种计算机存储介质,存储介质包括计算 机程序,当计算机程序被计算机执行时,使得计算机实现如第一方面及第一方面可选方式提供的方法。In a fifth aspect, an embodiment of the present application provides a computer storage medium. The storage medium includes a computer program. When the computer program is executed by the computer, the computer can realize the methods provided in the first aspect and the optional methods of the first aspect.
第五方面,本申请提供一种计算机程序产品,包括计算机程序,当计算机程序被计算机执行时,使得计算机实现第一方面或第一方面可选方式提供的方法。In a fifth aspect, this application provides a computer program product, including a computer program, which when the computer program is executed by a computer, enables the computer to implement the first aspect or the method provided in the first aspect in an optional manner.
本申请提供一种心率检测方法、装置、芯片、电子装置及存储介质,该方法通过光电容积描记PPG传感器获取用户的第一PPG信号;通过电容传感器获取用户当前的感应电容信号;根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号;通过第二PPG信号计算心率。由于通过根据用户当前的感应电容信号对PPG传感器获取的PPG信号进行处理,并通过处理后的PPG信号计算心率,有效的消除了由于用户运动产生的噪声,进而提高了心率检测的准确性。This application provides a heart rate detection method, device, chip, electronic device, and storage medium. The method obtains the user's first PPG signal through a photoplethysmography PPG sensor; obtains the user's current sensing capacitance signal through a capacitance sensor; according to the user's current The sensing capacitance signal processes the first PPG signal to obtain the second PPG signal; the heart rate is calculated from the second PPG signal. Since the PPG signal obtained by the PPG sensor is processed according to the user's current induced capacitance signal, and the heart rate is calculated by the processed PPG signal, the noise generated by the user's motion is effectively eliminated, thereby improving the accuracy of heart rate detection.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1A-1B是本申请一实施例提供的心率检测方法的可实现方式的结构示意图;1A-1B are schematic structural diagrams of an implementable manner of a heart rate detection method provided by an embodiment of the present application;
图2是本申请一实施例提供的心率检测方法的流程示意图;2 is a schematic flowchart of a heart rate detection method provided by an embodiment of the present application;
图3是本申请另一实施例提供的心率检测方法的流程示意图;FIG. 3 is a schematic flowchart of a heart rate detection method provided by another embodiment of the present application;
图4是本申请另一实施例提供的心率检测方法的可实现方式的结构示意图;4 is a schematic structural diagram of an implementable manner of a heart rate detection method provided by another embodiment of the present application;
图5是本申请又一实施例提供的心率检测方法的流程示意图;FIG. 5 is a schematic flowchart of a heart rate detection method provided by another embodiment of the present application;
图6是本申请一实施例提供的心率检测装置的结构示意图;FIG. 6 is a schematic structural diagram of a heart rate detection device provided by an embodiment of the present application;
图7是本申请另一实施例提供的心率检测装置的结构示意图;FIG. 7 is a schematic structural diagram of a heart rate detection device provided by another embodiment of the present application;
图8是本申请一实施例提供的芯片的结构示意图;FIG. 8 is a schematic structural diagram of a chip provided by an embodiment of the present application;
图9是本申请另一实施例提供的芯片的结构示意图;FIG. 9 is a schematic structural diagram of a chip provided by another embodiment of the present application;
图10是本申请又一实施例提供的芯片的结构示意图;FIG. 10 is a schematic structural diagram of a chip provided by another embodiment of the present application;
图11是本申请再一实施例提供的芯片的结构示意图;FIG. 11 is a schematic structural diagram of a chip provided by still another embodiment of the present application;
图12是本申请一实施例提供的电子装置的结构示意图;FIG. 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图13是本申请另一实施例提供的电子装置的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device provided by another embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例,例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, without having to use To describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein, for example, can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations of them are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those clearly listed. Those steps or units may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment.
随着智能设备的发展,智能设备所具备的功能也越来越多,为了检测人体的健康状态,可以通过智能设备(例如可穿戴设备)中的传感器来检测。可穿戴设备不仅能够长期监视穿戴者身体的健康状态,而且允许穿戴者可以正常进行日常生活活动、旅行、上下班或参与其他活动。现有技术中,使用可穿戴设备检测穿戴者的人体状态通常是通过PPG实现,然而由于应用环境的多样性及运动导致的佩戴变化,会导致PPG传感器与人体皮肤产生相对位移,PPG信号中夹杂着运动产生的噪声,进而影响心率检测的准确性,为了解决上述问题,本申请实施例提供一种心率检测方法、装置、芯片、电子装置及存储介质。With the development of smart devices, smart devices have more and more functions. In order to detect the health of the human body, it can be detected by sensors in smart devices (such as wearable devices). Wearable devices can not only monitor the health of the wearer's body for a long time, but also allow the wearer to perform daily activities, travel, commute, or participate in other activities. In the prior art, the use of wearable devices to detect the wearer’s human body status is usually achieved through PPG. However, due to the diversity of the application environment and the wearing changes caused by the movement, the PPG sensor and the human skin will have a relative displacement, and the PPG signal will be mixed. Because of the noise generated by exercise, the accuracy of heart rate detection is further affected. In order to solve the above-mentioned problems, embodiments of the present application provide a heart rate detection method, device, chip, electronic device, and storage medium.
以下,对本申请实施例的示例性应用场景进行介绍。Hereinafter, an exemplary application scenario of the embodiment of the present application will be introduced.
本申请实施例可以应用于可穿戴设备,例如:手环等,本申请实施例对可穿戴设备的具体设备类型不做限制。本申请实施例提供的心率检测方法可以通过心率检测装置实现,心率检测装置可以是可穿戴设备的部分或者全部,以心率检测装置为可穿戴设备为例对本申请实施例提供的心率检测方法的实现方式进行介绍,图1A-1B是本申请一实施例提供的心率检测方法的可实现方式的结构示意图,如图1A所示,可穿戴设备可以包括PPG采样电路、电容传感器和数字处理模块三部分,其中,PPG采样电路用于采集PPG信号,并将PPG信号发送至数字处理模块,具体的,如图1A和1B所示,可以通过采样控制电路控制PPG传感器中的发光二极管(Light Emitting Diode,LED)产生一定波长的光,经过皮肤组织的反射、散射和吸收之后,一部分光可以从皮肤组织的表面出射,并被PPG传感器中的光电二极管(Photo-Diode,PD)接收,被PD接收的光信号经过模拟前端电路和模数转换器(Analog-to-Digital Converter,ADC)得到数字信号,其中,LED和PD可以集成在心率检测芯片中,也可以与心率检测芯片分开设置,本申请实施例对此不做限制;最终将数字信号发送至数字处理模块,数字处理模块可以是心率检测芯片的部分或全部,例如,数字处理模块可以是处理器。PPG采样电路中的采样控制电路、模拟前端电路和ADC也可以与数字处理模块集成在该芯片中。电容传感器用于获取人体感应电容信号,并将人体感应电容信号发送至数字处理模块,数字处理模块根据人体感应电容信号和PPG信号计算心率,有效的提高了心率检测的准确性,基于此,本申请实施例提供了一种心率检测方法、装置、芯片、电子装置及存储介质。The embodiments of the present application may be applied to wearable devices, such as wristbands, etc., and the specific device types of the wearable devices are not limited in the embodiments of the present application. The heart rate detection method provided by the embodiment of the application may be implemented by a heart rate detection device, which may be part or all of a wearable device. Taking the heart rate detection device as a wearable device as an example, the heart rate detection method provided by the embodiment of the application is implemented 1A-1B is a schematic diagram of the structure of the heart rate detection method provided by an embodiment of the present application. As shown in FIG. 1A, the wearable device may include a PPG sampling circuit, a capacitance sensor, and a digital processing module. Among them, the PPG sampling circuit is used to collect the PPG signal and send the PPG signal to the digital processing module. Specifically, as shown in Figures 1A and 1B, the light-emitting diode (Light Emitting Diode) in the PPG sensor can be controlled by the sampling control circuit. LED) produces light of a certain wavelength. After being reflected, scattered and absorbed by the skin tissue, a part of the light can be emitted from the surface of the skin tissue and be received by the photo-diode (PD) in the PPG sensor. The optical signal passes through an analog front-end circuit and an analog-to-digital converter (Analog-to-Digital Converter, ADC) to obtain a digital signal. Among them, the LED and PD can be integrated in the heart rate detection chip or set separately from the heart rate detection chip. This application is implemented The example does not limit this; the digital signal is finally sent to the digital processing module, which can be part or all of the heart rate detection chip, for example, the digital processing module can be a processor. The sampling control circuit, analog front-end circuit and ADC in the PPG sampling circuit can also be integrated with the digital processing module in the chip. The capacitance sensor is used to obtain the human body induction capacitance signal and send the human body induction capacitance signal to the digital processing module. The digital processing module calculates the heart rate according to the human body induction capacitance signal and the PPG signal, which effectively improves the accuracy of heart rate detection. Based on this, this The application embodiment provides a heart rate detection method, device, chip, electronic device, and storage medium.
图2是本申请一实施例提供的心率检测方法的流程示意图,其中该方法可以由心率检测装置执行,该装置可以通过软件和/或硬件的方式实现,例如:该装置可以是可穿戴设备的部分或全部,例如心率手环、心率耳机等,该装置还可以是可穿戴设备中的心率检测芯片、单片机、微控制单元(Microcontroller Unit,MCU)等,下面以可穿戴设备为执行主体对心率检测方法进行说明,如图2所示,本申请实施例提供的心率检测方法包括如下步骤:Figure 2 is a schematic flow chart of a heart rate detection method provided by an embodiment of the present application. The method can be executed by a heart rate detection device, which can be implemented by software and/or hardware. For example, the device can be a wearable device. Part or all, such as a heart rate bracelet, a heart rate headset, etc. The device can also be a heart rate detection chip in a wearable device, a single-chip microcomputer, a microcontroller unit (Microcontroller Unit, MCU), etc. The wearable device is used as the main body to perform the heart rate The detection method is described. As shown in FIG. 2, the heart rate detection method provided in the embodiment of the present application includes the following steps:
步骤S101:通过PPG传感器获取用户的第一PPG信号。Step S101: Obtain the user's first PPG signal through the PPG sensor.
PPG传感器可以采用图1A中的PPG传感器,本申请实施例对PPG传感 器的具体结构不做限制,只要可以获取到第一PPG信号即可,第一PPG信号是可穿戴设备获取的当前PPG信号。另外,本申请实施例对获取第一PPG信号方式也不做限制。The PPG sensor can use the PPG sensor in FIG. 1A. The embodiment of the present application does not limit the specific structure of the PPG sensor, as long as the first PPG signal can be obtained, and the first PPG signal is the current PPG signal obtained by the wearable device. In addition, the embodiment of the present application does not limit the way of acquiring the first PPG signal.
步骤S102:通过电容传感器获取用户当前的感应电容信号。Step S102: Obtain the current sensing capacitance signal of the user through the capacitance sensor.
电容传感器可以是电容传感芯片等,本申请实施例对电容传感器的具体结构也不做限制,只要能够获取用户当前的感应电容信号即可。人体在运动过程中,可穿戴设备与人体之间的距离会随着人体的运动而发生变化,而人体感应电容信号的大小与可穿戴设备距离人体的距离有关,通过人体感应电容信号的变化,可以判断可穿戴设备距离人体的距离的变化。The capacitance sensor may be a capacitance sensor chip or the like. The embodiment of the present application does not limit the specific structure of the capacitance sensor, as long as it can obtain the current sensing capacitance signal of the user. During the movement of the human body, the distance between the wearable device and the human body will change with the movement of the human body, and the size of the human body induction capacitance signal is related to the distance between the wearable device and the human body. Through the change of the human body induction capacitance signal, The change in the distance between the wearable device and the human body can be judged.
步骤S103:根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号。Step S103: Process the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal.
由于在人体运动的过程中,第一PPG信号会产生由运动引起的噪声,而通过用户的感应电容信号的变化,可以判断可穿戴设备距离用户的距离的变化,进而可以根据用户当前的感应电容信号对第一PPG信号进行处理,例如,消除由用户的运动等行为所引起的噪声,得到去除噪声之后的第二PPG信号,本申请实施例对根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号的具体实现方式不做限制。As the human body moves, the first PPG signal will generate noise caused by the movement, and the change of the user's inductive capacitance signal can determine the change in the distance between the wearable device and the user, and then the user's current inductive capacitance The signal processes the first PPG signal, for example, to eliminate the noise caused by the user’s motion and other behaviors to obtain the second PPG signal after the noise has been removed. The embodiment of the present application performs the processing of the first PPG signal on the basis of the user’s current sensing capacitance signal. The specific implementation manner for obtaining the second PPG signal is not limited by processing.
在一些运动场景中,用户行为过于激烈可能导致可穿戴设备与人体之间的距离偏大,严重影响了可穿戴设备对人体心率的检测,基于此,在一种可能的实施方式中,根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号之前,还包括:In some sports scenes, excessive user behavior may cause the distance between the wearable device and the human body to be too large, which seriously affects the detection of human heart rate by the wearable device. Based on this, in a possible implementation manner, according to the user The current sensing capacitance signal processes the first PPG signal, and before the second PPG signal is obtained, it also includes:
获取用户的多个感应电容信号和多个距离之间的第一关系,距离为可穿戴设备与人体之间的距离;通过第一关系与用户当前的感应电容信号确定目标距离,目标距离为在第一关系中用户当前的感应电容信号对应的可穿戴设备与用户之间的距离;相应的,根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号,包括:若目标距离小于或等于预设阈值,则根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号。Obtain the first relationship between the user’s multiple sensing capacitance signals and multiple distances, where the distance is the distance between the wearable device and the human body; determine the target distance through the first relationship and the user’s current sensing capacitance signal, and the target distance is at In the first relationship, the user’s current sensing capacitance signal corresponds to the distance between the wearable device and the user; correspondingly, the first PPG signal is processed according to the user’s current sensing capacitance signal to obtain the second PPG signal, including: if the target If the distance is less than or equal to the preset threshold, the first PPG signal is processed according to the user's current sensing capacitance signal to obtain the second PPG signal.
获取用户的多个感应电容信号和多个距离之间的第一关系,可以通过在不同的距离下,分别获取一个或用户的多个感应电容信号,进而对在不同距 离下人体感应电容信号的变化情况进行描述,例如可以通过X-Y曲线表示用户的感应电容信号与距离之间的关系,本申请实施例对此不做限制。在获取到第一关系之后,可以通过第一关系和用户当前的感应电容信号确定目标距离,目标距离是在第一关系中用户当前的感应电容信号对应的距离,例如,可以通过将用户当前的感应电容信号代入至第一关系的曲线函数中,得到目标距离。在确定了目标距离之后,可以通过对目标距离进行判断,进而决定对第一PPG信号的处理方式。Obtain the first relationship between the multiple sensing capacitance signals of the user and the multiple distances, by obtaining the multiple sensing capacitance signals of one or the user at different distances, and then the detection of the sensing capacitance signals of the human body at different distances The change situation is described. For example, the relationship between the user's inductive capacitance signal and the distance can be represented by an XY curve, which is not limited in the embodiment of the present application. After the first relationship is obtained, the target distance can be determined by the first relationship and the user's current sensing capacitance signal. The target distance is the distance corresponding to the user's current sensing capacitance signal in the first relationship. The sensing capacitance signal is substituted into the curve function of the first relationship to obtain the target distance. After the target distance is determined, the target distance can be judged to determine how to process the first PPG signal.
在一种可能的实施方式中,根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号,包括:若目标距离小于或等于预设阈值,则根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号。In a possible implementation manner, processing the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal includes: if the target distance is less than or equal to a preset threshold, then according to the user's current sensing capacitance signal The first PPG signal is processed to obtain the second PPG signal.
本申请实施例对预设阈值的范围不做限制,具体可以根据可穿戴设备的设备类型以及用户需求进行设置,在一种可能的实施方式中,预设阈值可以为10毫米,本申请实施例不限于此。通过用户的感应电容信号与距离之间的关系,以及用户当前的感应电容信号,确定目标距离,并且在目标距离小于或等于预设阈值时,根据用户当前的感应电容信号对第一PPG信号进行处理,进一步保证了心率检测的准确性。This embodiment of the application does not limit the range of the preset threshold, which can be specifically set according to the device type of the wearable device and user needs. In a possible implementation manner, the preset threshold may be 10 mm. Not limited to this. Determine the target distance based on the relationship between the user's sensing capacitance signal and the distance, and the user's current sensing capacitance signal, and when the target distance is less than or equal to the preset threshold, perform the first PPG signal on the user's current sensing capacitance signal Processing further ensures the accuracy of heart rate detection.
在另一种可能的实施方式中,若目标距离大于预设阈值,则剔除第一PPG信号。通过在目标距离超过预设阈值时,剔除第一PPG信号,避免了运动噪声较大时对心率计算的影响,进一步保证了心率计算的准确性。In another possible implementation manner, if the target distance is greater than the preset threshold, the first PPG signal is eliminated. By removing the first PPG signal when the target distance exceeds the preset threshold, the influence on the heart rate calculation when the motion noise is large is avoided, and the accuracy of the heart rate calculation is further ensured.
对第一PPG信号的获取通常是通过周期采样的方式获取,若在预设时间内用户的运动幅度比较大,导致可穿戴设备距离人体的距离一直比较大,会严重影响对心率计算的准确性。为了解决上述问题,在一种可能的实施方式中,本申请实施例提供的心率检测方法,还包括:The acquisition of the first PPG signal is usually obtained through periodic sampling. If the user's motion amplitude is relatively large within the preset time, the distance between the wearable device and the human body is always relatively large, which will seriously affect the accuracy of the heart rate calculation . In order to solve the foregoing problem, in a possible implementation manner, the heart rate detection method provided in the embodiment of the present application further includes:
若在预设时间内,目标距离超过预设阈值的次数达到预设次数,则确定最新的历史心率为当前心率。If within the preset time, the number of times the target distance exceeds the preset threshold reaches the preset number of times, the latest historical heart rate is determined to be the current heart rate.
本申请实施例对预设时间的长度不做限制,具体可以根据用户需求进行设置,在一种可能的实施方式中,预设时间可以为10秒钟,本申请实施例不限于此。若在预设时间内采集的用户的多个感应电容信号,通过第一关系计算得到的目标距离超过预设阈值的次数达到预设次数,则表示在预设时间内 可穿戴设备距离人体的距离较远,且预设时间内用户的多个感应电容信号不稳定,进而导致第一PPG信号的噪声比较大,影响心率计算的结果。在这种情况下,可穿戴设备可以将在预设时间之前计算得到的历史心率作为当前心率。The embodiment of the present application does not limit the length of the preset time, which can be specifically set according to user requirements. In a possible implementation manner, the preset time may be 10 seconds, and the embodiment of the present application is not limited to this. If the multiple sensing capacitance signals of the user collected within the preset time, the target distance calculated by the first relationship exceeds the preset threshold for the preset number of times, it means the distance between the wearable device and the human body within the preset time It is far away and the user's multiple sensing capacitor signals are unstable within a preset time, which in turn causes the noise of the first PPG signal to be relatively large, which affects the result of heart rate calculation. In this case, the wearable device may use the historical heart rate calculated before the preset time as the current heart rate.
在另一种可能的实施方式中,若在预设时间内,目标距离超过预设阈值的次数达到预设次数,可以通过最新的历史心率和用户当前的感应电容信号,预测当前心率。In another possible implementation manner, if the target distance exceeds the preset threshold for the preset number of times within the preset time, the current heart rate can be predicted based on the latest historical heart rate and the user's current sensing capacitance signal.
例如,通过用户的感应电容信号的波动幅度,判断用户的运动状态,进而确定当前心率在最新的历史心率基础上的增加范围。若用户的感应电容信号的波动幅度越大,则判断用户的运动越为剧烈,可以在最新的历史心率的基础上,增加较大范围的涨幅。本申请实施例对此不做限制。通过在预设时间内确定的目标距离超过预设阈值的次数达到预设次数,根据最新的历史心率和用户当前的感应电容信号预测当前心率,提高了心率检测的可靠性。For example, the user's motion state can be judged based on the fluctuation range of the user's induced capacitance signal, and then the increase range of the current heart rate on the basis of the latest historical heart rate can be determined. If the fluctuation range of the user's inductive capacitance signal is larger, it is judged that the user's exercise is more violent, and a larger range of increase can be increased on the basis of the latest historical heart rate. The embodiments of this application do not impose restrictions on this. Through the target distance determined within the preset time exceeding the preset threshold for the preset number of times, the current heart rate is predicted based on the latest historical heart rate and the user's current sensing capacitance signal, which improves the reliability of heart rate detection.
步骤S104:通过第二PPG信号计算心率。Step S104: Calculate the heart rate through the second PPG signal.
在对第一PPG信号处理之后,得到第二PPG信号,可穿戴设备通过第二PPG信号计算心率,本申请实施例对可穿戴设备通过第二PPG信号计算心率的具体实施方式不做限制。After processing the first PPG signal, the second PPG signal is obtained, and the wearable device calculates the heart rate through the second PPG signal. The embodiment of the present application does not limit the specific implementation manner in which the wearable device calculates the heart rate through the second PPG signal.
由此可知,本申请实施例中,通过根据用户当前的感应电容信号对PPG传感器获取的PPG信号进行处理,并通过处理后的PPG信号计算心率,有效的消除了由于用户运动产生的噪声,进而提高了心率检测的准确性。并且,相比于现有技术中采用增加加速度计的方式,在获取PPG信号时同时获取加速度计数据,从而提取更加精确的PPG信号,本申请实施例不仅降低了成本,而且通过电容传感器获取的感应电容信号能够更好的反应可穿戴设备与用户之间的距离。It can be seen from this that, in the embodiment of the present application, the PPG signal obtained by the PPG sensor is processed according to the user's current inductive capacitance signal, and the heart rate is calculated by the processed PPG signal, which effectively eliminates the noise generated by the user's motion, and then Improve the accuracy of heart rate detection. Moreover, compared to the method of adding accelerometers in the prior art, accelerometer data is acquired at the same time when PPG signals are acquired, so as to extract more accurate PPG signals. The embodiment of the present application not only reduces the cost, but also acquires the PPG signal through the capacitive sensor. The sensing capacitance signal can better reflect the distance between the wearable device and the user.
为了实现根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号,在一种可能的实施方式中,图3是本申请另一实施例提供的心率检测方法的流程示意图,其中该方法可以由心率检测装置执行,该装置可以通过软件和/或硬件的方式实现,例如:该装置可以是可穿戴设备的部分或全部,例如心率手环、心率耳机等,该装置还可以是可穿戴设备中的心率检测芯片、单片机、MCU等,下面以可穿戴设备为执行主体对心率检测方法 进行说明,如图3所示,本申请实施例提供的心率检测方法中的步骤S103可以包括:In order to process the first PPG signal according to the user's current inductive capacitance signal to obtain the second PPG signal, in a possible implementation manner, FIG. 3 is a schematic flowchart of a heart rate detection method provided by another embodiment of the present application. The method can be executed by a heart rate detection device, which can be implemented by software and/or hardware. For example, the device can be part or all of a wearable device, such as a heart rate bracelet, a heart rate headset, etc. The device can also It is the heart rate detection chip, single-chip microcomputer, MCU, etc. in the wearable device. The following describes the heart rate detection method with the wearable device as the execution subject. As shown in FIG. 3, the step S103 in the heart rate detection method provided by the embodiment of the present application can be include:
步骤S201:获取用户的多个感应电容信号与多个PPG信号之间的关系曲线。Step S201: Obtain a relationship curve between a plurality of inductive capacitance signals of a user and a plurality of PPG signals.
获取用户的多个感应电容信号与多个PPG信号之间的关系曲线,可以通过直接从内存中读取现有的关系曲线,或者可以通过可穿戴设备的进一步计算获取,本申请实施例对此不做限制,在一种可能的实施方式中,获取用户的多个感应电容信号与多个PPG信号之间的关系曲线,包括:Obtain the relationship curve between the multiple sensing capacitance signals of the user and the multiple PPG signals, which can be obtained by directly reading the existing relationship curve from the memory, or can be obtained by further calculation of the wearable device. Without limitation, in a possible implementation manner, acquiring the relationship curve between the multiple sensing capacitance signals of the user and the multiple PPG signals includes:
确定用户的多个感应电容信号与多个距离之间的第一关系,距离为可穿戴设备与用户之间的距离;确定多个PPG信号和多个距离之间的第二关系;通过第一关系和第二关系,确定关系曲线。Determine the first relationship between the multiple inductive capacitance signals of the user and the multiple distances, where the distance is the distance between the wearable device and the user; determine the second relationship between the multiple PPG signals and the multiple distances; pass the first Relationship and second relationship, determine the relationship curve.
确定用户的多个感应电容信号与多个距离之间的第一关系可参考步骤S103中对该部分的介绍,此处不再赘述。确定多个PPG信号和多个距离之间的第二关系可参考确定用户的多个感应电容信号与多个距离之间的第一关系的方式,不再赘述,通过第一关系和第二关系确定关系曲线,可以通过用户的多个感应电容信号、多个PPG信号与多个距离之间的关系,确定用户的多个感应电容信号与多个PPG信号之间的关系曲线。For determining the first relationship between the multiple sensing capacitance signals of the user and the multiple distances, reference may be made to the introduction of this part in step S103, which will not be repeated here. To determine the second relationship between the multiple PPG signals and the multiple distances, refer to the method of determining the first relationship between the multiple inductive capacitance signals of the user and the multiple distances, which will not be repeated here. Through the first relationship and the second relationship To determine the relationship curve, the relationship curve between the multiple sense capacitance signals of the user and the multiple PPG signals can be determined through the relationship between the multiple sense capacitance signals of the user, multiple PPG signals and multiple distances.
步骤S202:通过关系曲线和用户当前的感应电容信号,得到第三PPG信号。Step S202: Obtain a third PPG signal through the relationship curve and the current sensing capacitance signal of the user.
将用户当前的感应电容信号代入到关系曲线中,可以得到第三PPG信号。本申请实施例对得到第三PPG信号的具体实现方式不做限制。Substituting the user's current sensing capacitance signal into the relationship curve, the third PPG signal can be obtained. The embodiment of the present application does not limit the specific implementation manner of obtaining the third PPG signal.
步骤S203:根据第三PPG信号修正第一PPG信号,得到第二PPG信号。Step S203: Correct the first PPG signal according to the third PPG signal to obtain the second PPG signal.
在得到第三PPG信号之后,可以通过第三PPG信号修正第一PPG信号,得到第二PPG信号,本申请实施例对根据第三PPG信号修正第一PPG信号,得到第二PPG信号的具体实现方式不做限制。After the third PPG signal is obtained, the first PPG signal can be modified by the third PPG signal to obtain the second PPG signal. The embodiment of the present application modifies the first PPG signal according to the third PPG signal to obtain the second PPG signal. There is no restriction on the way.
在一种可能的实施方式中,根据第三PPG信号修正第一PPG信号,得到第二PPG信号,包括:In a possible implementation manner, modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal includes:
确定第一PPG信号的基准值;确定修正系数,修正系数是第三PPG信号与基准值之间的比值;计算第一PPG信号与修正系数的乘积,以得到第二PPG信号。Determine the reference value of the first PPG signal; determine the correction coefficient, which is the ratio between the third PPG signal and the reference value; calculate the product of the first PPG signal and the correction coefficient to obtain the second PPG signal.
确定第一PPG信号的基准值,例如可以通过设置在正常佩戴可穿戴设备时,可穿戴设备距人体之间的距离为1毫米,通过第二关系确定在该距离下的PPG信号为基准值,本申请实施例对此不做限制。然后通过计算第三PPG信号与基准值之间的比值得到修正系数;最后计算第一PPG信号与修正系数的乘积,得到第二PPG信号,进而消除了由于可穿戴设备与人体之间的距离过大导致的运动噪声,提高了PPG信号的可靠性,进而提高了心率计算的准确性。Determining the reference value of the first PPG signal, for example, can be set when the wearable device is normally worn, the distance between the wearable device and the human body is 1 mm, and the PPG signal at this distance is determined as the reference value through the second relationship, The embodiments of this application do not impose restrictions on this. Then the correction coefficient is obtained by calculating the ratio between the third PPG signal and the reference value; finally, the product of the first PPG signal and the correction coefficient is calculated to obtain the second PPG signal, thereby eliminating the excessive distance between the wearable device and the human body The motion noise caused by a large amount of noise improves the reliability of the PPG signal, which in turn improves the accuracy of the heart rate calculation.
在另一种可能的实施方式中,根据第三PPG信号修正第一PPG信号,得到第二PPG信号,包括:In another possible implementation manner, modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal includes:
对第一PPG信号进行傅里叶变换,得到变换后的第一PPG信号,对第三PPG信号进行傅里叶变换,得到变换后的第三PPG信号;在预设频谱范围内,拟合变换后的第一PPG信号得到拟合后的第一PPG信号,拟合变换后的第三PPG信号得到拟合后的第三PPG信号;拟合后的第一PPG信号减去拟合后的第三PPG信号,得到第二PPG信号。Perform Fourier transform on the first PPG signal to obtain the transformed first PPG signal, and perform Fourier transform on the third PPG signal to obtain the transformed third PPG signal; within the preset spectrum range, fitting transform The first PPG signal after the fitting obtains the fitted first PPG signal, and the fitted and transformed third PPG signal obtains the fitted third PPG signal; the fitted first PPG signal subtracts the fitted first PPG signal Three PPG signals to obtain the second PPG signal.
本申请实施例通过对第一PPG信号和第三PPG信号分别进行傅里叶变换得到变换后的第一PPG信号和变换后的第三PPG信号;然后在预设频谱范围之内,分别对变换后的第一PPG信号和变换后的第三PPG信号进行拟合,本申请实施例对拟合方式不做限制,例如可以通过最小二乘法或者通过多项式拟合等方式。本申请实施例对预设频谱范围的具体范围也不做限制,在一种可能的实施方式中,预设频谱范围可以是0.5赫兹-200赫兹,本申请实施例不限于此。最后通过拟合后的第一PPG信号减去拟合后的第三PPG信号,得到第二PPG信号,实现了第一PPG信号进行修正,提高了修正的准确性。In the embodiment of this application, the first PPG signal and the third PPG signal are respectively Fourier transformed to obtain the transformed first PPG signal and the transformed third PPG signal; The first PPG signal after the transformation is fitted with the third PPG signal after the transformation. The embodiment of the present application does not limit the fitting manner, for example, the least square method or polynomial fitting may be used. The embodiment of the present application does not limit the specific range of the preset frequency spectrum range. In a possible implementation manner, the preset frequency spectrum range may be 0.5 Hz to 200 Hz, and the embodiment of the present application is not limited to this. Finally, the second PPG signal is obtained by subtracting the fitted third PPG signal from the fitted first PPG signal, which realizes the correction of the first PPG signal and improves the accuracy of the correction.
为了进一步提高心率检测的准确性,消除运动干扰在一种可能的实施方式中,图4是本申请另一实施例提供的心率检测方法的可实现方式的结构示意图,图4是在图1的基础上增加了加速度计,通过加速度计得到加速度计信号,并将加速度计信号发送给数字处理模块,数字处理模块根据PPG信号、人体电容感应信号以及加速度计信号计算心率,以提高心率检测的准确性。基于图4中的结构,下面对本申请实施例提供的心率检测方法进一步介绍。In order to further improve the accuracy of heart rate detection and eliminate motion interference, in a possible implementation manner, FIG. 4 is a schematic structural diagram of an achievable manner of the heart rate detection method provided by another embodiment of the present application, and FIG. Based on the accelerometer, the accelerometer signal is obtained through the accelerometer, and the accelerometer signal is sent to the digital processing module. The digital processing module calculates the heart rate based on the PPG signal, the human body capacitance sensing signal and the accelerometer signal to improve the accuracy of heart rate detection Sex. Based on the structure in FIG. 4, the heart rate detection method provided by the embodiment of the present application will be further introduced below.
在一种可能的实施方式中,图5是本申请又一实施例提供的心率检测方法的流程示意图,其中该方法可以由心率检测装置执行,该装置可以通过软 件和/或硬件的方式实现,例如:该装置可以是可穿戴设备的部分或全部,例如心率手环、心率耳机等,该装置还可以是可穿戴设备中的心率检测芯片、单片机、MCU等,下面以可穿戴设备为执行主体对心率检测方法进行说明,如图5所示,本申请实施例提供的心率检测方法中还可以包括:In a possible implementation manner, FIG. 5 is a schematic flowchart of a heart rate detection method provided by another embodiment of the present application, where the method can be executed by a heart rate detection device, which can be implemented by software and/or hardware. For example: the device can be part or all of a wearable device, such as a heart rate bracelet, a heart rate headset, etc. The device can also be a heart rate detection chip, a single-chip microcomputer, an MCU, etc. in the wearable device, and the wearable device is the main body of execution below The heart rate detection method is described. As shown in FIG. 5, the heart rate detection method provided in the embodiment of the present application may further include:
步骤S301:通过加速度计获取可穿戴设备的加速度信号。Step S301: Obtain the acceleration signal of the wearable device through the accelerometer.
本申请实施例对加速度计的型号、结构等不做限制,只要可以获取到加速度信号即可。The embodiment of the present application does not limit the model and structure of the accelerometer, as long as the acceleration signal can be obtained.
数字处理模块根据PPG信号、人体电容感应信号以及加速度计信号计算心率,可以是通过人体电容感应信号和加速度计信号分别对PPG信号进行修正,以提高PPG信号的可靠性。The digital processing module calculates the heart rate based on the PPG signal, the human body capacitance sensing signal, and the accelerometer signal. The PPG signal can be corrected by the human body capacitance sensing signal and the accelerometer signal to improve the reliability of the PPG signal.
在一种可能的实施方式中,可以通过在步骤S103根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号之后,还包括:In a possible implementation manner, after processing the first PPG signal according to the user's current sensing capacitance signal in step S103 to obtain the second PPG signal, the method further includes:
步骤S302:根据加速度信号对第二PPG信号进行处理,得到第四PPG信号。Step S302: Process the second PPG signal according to the acceleration signal to obtain a fourth PPG signal.
本申请实施例对根据加速度信号对第二PPG信号进行处理,得到第四PPG信号的具体实现方式不做限制,可选的,根据加速度信号对第二PPG信号进行处理,得到第四PPG信号,包括:The embodiment of the present application does not limit the specific implementation manner of processing the second PPG signal according to the acceleration signal to obtain the fourth PPG signal. Optionally, the second PPG signal is processed according to the acceleration signal to obtain the fourth PPG signal, include:
获取第二PPG信号的频谱数据和加速度信号的频谱数据;确定第二PPG信号的频谱数据的峰值所在的频率与加速度信号的频谱数据的峰值所在的频率;若第二PPG信号的频谱数据的峰值所在的频率,与加速度信号的频谱数据的峰值所在的频率匹配,则剔除第二PPG信号的频谱数据的峰值,以得到第四PPG信号。Acquire the spectrum data of the second PPG signal and the spectrum data of the acceleration signal; determine the frequency of the peak of the spectrum data of the second PPG signal and the frequency of the peak of the acceleration signal of the acceleration signal; if the peak of the spectrum data of the second PPG signal If the frequency is matched with the frequency of the peak of the spectral data of the acceleration signal, the peak of the spectral data of the second PPG signal is removed to obtain the fourth PPG signal.
本申请实施例中,通过频谱分析法,匹配第二PPG信号的频谱数据的峰值所在的频率与加速度信号的频谱数据的峰值所在的频率,若第二PPG信号的频谱数据的峰值所在的频率,与加速度信号的频谱数据的峰值所在的频率匹配,则表示第二PPG信号的频谱数据的峰值为运动噪声,因此,可以剔除第二PPG信号的频谱数据的峰值,以得到第四PPG信号。第四PPG信号中的峰值为由于用户脉搏跳动引起的峰值,进一步排除了运动带来的噪声,提高了PPG信号的可靠性。In the embodiment of the present application, the frequency of the peak of the spectral data of the second PPG signal is matched with the frequency of the peak of the spectral data of the acceleration signal through the spectral analysis method. If the frequency of the peak of the spectral data of the second PPG signal is located, Matching with the frequency of the peak of the spectral data of the acceleration signal indicates that the peak of the spectral data of the second PPG signal is motion noise. Therefore, the peak of the spectral data of the second PPG signal can be eliminated to obtain the fourth PPG signal. The peak value in the fourth PPG signal is the peak value caused by the pulse of the user, which further eliminates the noise caused by the movement and improves the reliability of the PPG signal.
步骤S104更新为步骤S303。Step S104 is updated to step S303.
步骤S303:根据第四PPG信号计算心率。Step S303: Calculate the heart rate according to the fourth PPG signal.
根据第四PPG信号计算心率与上述实施例中的步骤S104中根据第二PPG信号计算心率的方式类似,不再赘述。The calculation of the heart rate based on the fourth PPG signal is similar to the manner of calculating the heart rate based on the second PPG signal in step S104 in the foregoing embodiment, and will not be described again.
本申请实施例中,通过根据加速度信号对第二PPG信号进一步处理,进一步提高了PPG信号的可靠性,保证了心率计算的准确性。In the embodiment of the present application, by further processing the second PPG signal according to the acceleration signal, the reliability of the PPG signal is further improved, and the accuracy of the heart rate calculation is ensured.
下面介绍本申请实施例提供的心率检测装置、芯片、设备、存储介质以及计算机程序产品,其内容和效果可参考上述实施例提供的心率检测方法,不再赘述。The following describes the heart rate detection device, chip, device, storage medium, and computer program product provided by the embodiments of the present application. For the content and effect, please refer to the heart rate detection method provided in the foregoing embodiment, and will not be repeated.
图6是本申请一实施例提供的心率检测装置的结构示意图,该装置可以通过软件和/或硬件的方式实现,例如:该装置可以是可穿戴设备的部分或全部,例如心率手环、心率耳机等,该装置还可以是可穿戴设备中的心率检测芯片、单片机、MCU等,如图6所示,本申请实施例提供的心率检测装置可以包括:Fig. 6 is a schematic structural diagram of a heart rate detection device provided by an embodiment of the present application. The device can be implemented by software and/or hardware. For example, the device can be part or all of a wearable device, such as a heart rate bracelet or a heart rate monitor. Earphones, etc., the device may also be a heart rate detection chip, a single-chip microcomputer, an MCU, etc. in a wearable device. As shown in FIG. 6, the heart rate detection device provided in the embodiment of the present application may include:
第一获取模块61,用于通过光电容积描记PPG传感器获取用户的第一PPG信号。The first acquisition module 61 is configured to acquire the user's first PPG signal through the photoplethysmography PPG sensor.
第二获取模块62,用于通过电容传感器获取用户当前的感应电容信号。The second acquiring module 62 is configured to acquire the current sensing capacitance signal of the user through the capacitance sensor.
处理模块63,用于根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号。The processing module 63 is configured to process the first PPG signal according to the user's current sensing capacitance signal to obtain the second PPG signal.
计算模块64,用于通过第二PPG信号计算心率。The calculation module 64 is configured to calculate the heart rate through the second PPG signal.
在一种可实现的方式中,处理模块和计算模块的功能也可以都是由处理模块完成的,例如,处理模块可以是处理器,第一获取模块和第二获取模块可以是处理器的传输接口;示例性的,第一获取模块的功能可以是由PPG采样电路中的采样控制电路、模拟前端电路和ADC实现;第二获取模块的功能可以是由电容传感器的电容采样模块完成的,例如,电容采样模块可以是电容采样电路。本申请实施例对此不做限制。可选的,图7是本申请另一实施例提供的心率检测装置的结构示意图,该装置可以通过软件和/或硬件的方式实现,例如:该装置可以是可穿戴设备的部分或全部,例如心率手环、心率耳机等,该装置还可以是可穿戴设备中的心率检测芯片、单片机、MCU等,如图7所示,本申请实施例提供的心率检测装置还可以包括:In an achievable manner, the functions of the processing module and the calculation module can also be performed by the processing module. For example, the processing module can be a processor, and the first acquisition module and the second acquisition module can be the transmission of the processor. Interface; Exemplarily, the function of the first acquisition module can be implemented by the sampling control circuit, analog front-end circuit and ADC in the PPG sampling circuit; the function of the second acquisition module can be implemented by the capacitance sampling module of the capacitance sensor, for example , The capacitance sampling module can be a capacitance sampling circuit. The embodiments of this application do not impose restrictions on this. Optionally, FIG. 7 is a schematic structural diagram of a heart rate detection device provided by another embodiment of the present application. The device can be implemented by software and/or hardware. For example, the device can be part or all of a wearable device, such as A heart rate bracelet, a heart rate headset, etc., the device may also be a heart rate detection chip, a single-chip microcomputer, an MCU, etc. in a wearable device. As shown in FIG. 7, the heart rate detection device provided in the embodiment of the present application may further include:
第三获取模块65,用于获取用户的多个感应电容信号和多个距离之间的 第一关系,距离为可穿戴设备与人体之间的距离。The third acquiring module 65 is configured to acquire the first relationship between the multiple sensing capacitance signals of the user and the multiple distances, where the distance is the distance between the wearable device and the human body.
第一确定模块66,用于通过第一关系与用户当前的感应电容信号确定目标距离,目标距离为在第一关系中用户当前的感应电容信号对应的可穿戴设备与用户之间的距离。The first determining module 66 is configured to determine a target distance based on the first relationship and the user's current sensing capacitance signal, where the target distance is the distance between the wearable device and the user corresponding to the user's current sensing capacitance signal in the first relationship.
相应的,处理模块63,具体用于:Correspondingly, the processing module 63 is specifically used for:
若目标距离小于或等于预设阈值,则根据用户当前的感应电容信号对第一PPG信号进行处理,得到第二PPG信号。If the target distance is less than or equal to the preset threshold, the first PPG signal is processed according to the user's current sensing capacitance signal to obtain the second PPG signal.
可选的,处理模块63包括:Optionally, the processing module 63 includes:
获取子模块631,用于获取用户的多个感应电容信号与多个PPG信号之间的关系曲线。The acquiring sub-module 631 is configured to acquire the relationship curves between the multiple sensing capacitance signals of the user and the multiple PPG signals.
处理子模块632,用于通过关系曲线和用户当前的感应电容信号,得到第三PPG信号。The processing sub-module 632 is configured to obtain the third PPG signal through the relationship curve and the current sensing capacitance signal of the user.
修正子模块633,用于根据第三PPG信号修正第一PPG信号,得到第二PPG信号。The correction sub-module 633 is used to correct the first PPG signal according to the third PPG signal to obtain the second PPG signal.
可选的,获取子模块631,具体用于:Optionally, the sub-module 631 is obtained, which is specifically used for:
确定用户的多个感应电容信号与多个距离之间的第一关系,距离为可穿戴设备与用户之间的距离;确定多个PPG信号和多个距离之间的第二关系;通过第一关系和第二关系,确定关系曲线。Determine the first relationship between the multiple inductive capacitance signals of the user and the multiple distances, where the distance is the distance between the wearable device and the user; determine the second relationship between the multiple PPG signals and the multiple distances; pass the first Relationship and second relationship, determine the relationship curve.
可选的,修正子模块633具体用于:Optionally, the correction submodule 633 is specifically used for:
确定第一PPG信号的基准值;确定修正系数,修正系数是第三PPG信号与基准值之间的比值;计算第一PPG信号与修正系数的乘积,以得到第二PPG信号。Determine the reference value of the first PPG signal; determine the correction coefficient, which is the ratio between the third PPG signal and the reference value; calculate the product of the first PPG signal and the correction coefficient to obtain the second PPG signal.
可选的,修正子模块633具体用于:Optionally, the correction submodule 633 is specifically used for:
对第一PPG信号进行傅里叶变换,得到变换后的第一PPG信号,对第三PPG信号进行傅里叶变换,得到变换后的第三PPG信号;Perform Fourier transform on the first PPG signal to obtain a transformed first PPG signal, and perform Fourier transform on the third PPG signal to obtain a transformed third PPG signal;
在预设频谱范围内,拟合变换后的第一PPG信号得到拟合后的第一PPG信号,拟合变换后的第三PPG信号得到拟合后的第三PPG信号;In the preset spectrum range, fitting the transformed first PPG signal to obtain the fitted first PPG signal, and fitting the transformed third PPG signal to obtain the fitted third PPG signal;
拟合后的第一PPG信号减去拟合后的第三PPG信号,得到第二PPG信号。The fitted first PPG signal is subtracted from the fitted third PPG signal to obtain the second PPG signal.
可选的,处理模块63,还用于若目标距离超过预设阈值,则剔除第一PPG 信号。Optionally, the processing module 63 is further configured to remove the first PPG signal if the target distance exceeds a preset threshold.
可选的,处理模块63还用于:Optionally, the processing module 63 is also used to:
若在预设时间内,目标距离超过预设阈值的次数达到预设次数,则确定最新的历史心率为当前心率;或,则通过最新的历史心率和用户当前的感应电容信号,计算当前心率。If within the preset time, the number of times the target distance exceeds the preset threshold reaches the preset number of times, the latest historical heart rate is determined to be the current heart rate; or, the current heart rate is calculated based on the latest historical heart rate and the user's current sensing capacitance signal.
可选的,本申请实施例提供的心率检测装置,还包括:Optionally, the heart rate detection device provided in the embodiment of the present application further includes:
第四获取模块67,通过加速度计获取可穿戴设备的加速度信号;相应的,The fourth acquiring module 67 acquires the acceleration signal of the wearable device through the accelerometer; correspondingly,
处理模块63还用于:根据加速度信号对第二PPG信号进行处理,得到第四PPG信号;根据第四PPG信号计算心率。The processing module 63 is further configured to: process the second PPG signal according to the acceleration signal to obtain a fourth PPG signal; and calculate the heart rate according to the fourth PPG signal.
可选的,处理模块63具体用于:Optionally, the processing module 63 is specifically used for:
获取第二PPG信号的频谱数据和加速度信号的频谱数据;确定第二PPG信号的频谱数据的峰值所在的频率与加速度信号的频谱数据的峰值所在的频率;若第二PPG信号的频谱数据的峰值所在的频率,与加速度信号的频谱数据的峰值所在的频率匹配,则剔除第二PPG信号的频谱数据的峰值,以得到第四PPG信号。Acquire the spectrum data of the second PPG signal and the spectrum data of the acceleration signal; determine the frequency of the peak of the spectrum data of the second PPG signal and the frequency of the peak of the acceleration signal of the acceleration signal; if the peak of the spectrum data of the second PPG signal If the frequency is matched with the frequency of the peak of the spectral data of the acceleration signal, the peak of the spectral data of the second PPG signal is removed to obtain the fourth PPG signal.
在一种可实现的方式中,处理模块和第一确定模块的功能也可以都是由处理模块完成的,例如,处理模块可以是处理器,第三获取模块和第四获取模块可以是处理器的传输接口,本申请实施例不限于此。In an achievable manner, the functions of the processing module and the first determining module may also be performed by the processing module. For example, the processing module may be a processor, and the third acquiring module and the fourth acquiring module may be processors. The transmission interface of this application is not limited to this.
本申请实施例提供一种芯片,图8是本申请一实施例提供的芯片的结构示意图,如图8所示,本申请实施例提供的芯片可以包括:An embodiment of the present application provides a chip. FIG. 8 is a schematic structural diagram of a chip provided by an embodiment of the present application. As shown in FIG. 8, the chip provided by an embodiment of the present application may include:
至少一个处理器81;以及与至少一个处理器81通信连接的存储器82;其中,存储器82存储有可被至少一个处理器81执行的指令,指令被至少一个处理器81执行,以使至少一个处理器81能够执行上述实施例提供的心率检测方法。At least one processor 81; and a memory 82 communicatively connected with the at least one processor 81; wherein the memory 82 stores instructions executable by the at least one processor 81, and the instructions are executed by the at least one processor 81 to enable at least one processing The device 81 can execute the heart rate detection method provided in the foregoing embodiment.
在一种可能的实现方式中,图9是本申请另一实施例提供的芯片的结构示意图,如图9所示,电容传感器包括电容电极84和电容采样电路83,本申请实施例提供的芯片还包括:In a possible implementation manner, FIG. 9 is a schematic structural diagram of a chip provided by another embodiment of the present application. As shown in FIG. 9, the capacitance sensor includes a capacitance electrode 84 and a capacitance sampling circuit 83. The chip provided by the embodiment of the present application Also includes:
电容采样电路83,电容采样电路83与至少一个处理器81连接,电容采样电路83用于获取用户的感应电容信号。The capacitance sampling circuit 83 is connected to at least one processor 81, and the capacitance sampling circuit 83 is used to obtain the user's inductive capacitance signal.
电容电极与电容采样电路连接,电容电极可以设置在电子装置的表面, 电子装置可以是心率检测装置,也可以是包含心率检测装置的电子装置,例如可穿戴设备,随着用户与电容电极的距离变化,电容电极的电容信号发生相应的变化,电容采样电路通过电容电极的电容变化,获取用户的感应电容信号。The capacitor electrode is connected to the capacitor sampling circuit. The capacitor electrode can be set on the surface of the electronic device. The electronic device can be a heart rate detection device or an electronic device containing a heart rate detection device, such as a wearable device. The distance between the user and the capacitor electrode Change, the capacitance signal of the capacitance electrode changes accordingly, and the capacitance sampling circuit obtains the user's inductive capacitance signal through the capacitance change of the capacitance electrode.
在另一种可能的实现方式中,图10是本申请又一实施例提供的芯片的结构示意图,如图10所示,光电容积描记PPG传感器包括发光器件86及光电转换器件85,本申请实施例提供的芯片,还可以包括与至少一个处理器81连接的光电转换器件85。其中,发光器件86可以包括LED和PD,光电转换器件85可以包括采样控制电路、模拟前端电路以及ADC,本申请实施例对光电转换电路85的具体结构不做限制。In another possible implementation manner, FIG. 10 is a schematic structural diagram of a chip provided by another embodiment of the present application. As shown in FIG. 10, the photoplethysmography PPG sensor includes a light-emitting device 86 and a photoelectric conversion device 85. The chip provided in the example may also include a photoelectric conversion device 85 connected to at least one processor 81. The light-emitting device 86 may include LEDs and PDs, and the photoelectric conversion device 85 may include a sampling control circuit, an analog front-end circuit, and an ADC. The embodiment of the present application does not limit the specific structure of the photoelectric conversion circuit 85.
在又一种可能的实现方式中,图11是本申请再一实施例提供的芯片的结构示意图,如图11所示,发光器件86集成与芯片内。In another possible implementation manner, FIG. 11 is a schematic structural diagram of a chip provided by another embodiment of the present application. As shown in FIG. 11, the light emitting device 86 is integrated into the chip.
本申请实施例提供一种设备,图12是本申请一实施例提供的电子装置的结构示意图,如图11所示,本申请实施例提供的电子装置可以包括:An embodiment of the present application provides a device. FIG. 12 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. As shown in FIG. 11, the electronic device provided in an embodiment of the present application may include:
PPG传感器91、电容传感器92和处理器93,PPG传感器91与处理器93连接,电容传感器92与处理器93连接,PPG传感器91用于获取PPG信号并将PPG信号发送至处理器93,电容传感器92用于获取用户当前的感应电容信号,并将用户当前的感应电容信号发送至处理器93,处理器93用于执行上述实施例提供的心率检测方法。 PPG sensor 91, capacitance sensor 92 and processor 93, PPG sensor 91 is connected to processor 93, capacitance sensor 92 is connected to processor 93, PPG sensor 91 is used to obtain PPG signal and send the PPG signal to processor 93, capacitance sensor 92 is used to obtain the user's current sensing capacitance signal, and send the user's current sensing capacitance signal to the processor 93, and the processor 93 is used to execute the heart rate detection method provided in the foregoing embodiment.
本申请实施例提供的电子装置,可以是心率检测装置,也可以是包含心率检测装置的电子装置,本申请实施例对此不做限制。The electronic device provided in the embodiment of the present application may be a heart rate detection device or an electronic device including the heart rate detection device, which is not limited in the embodiment of the present application.
可选的,图13是本申请另一实施例提供的电子装置的结构示意图,如图13所示,本申请实施例提供的设备还可以包括:加速度计94,Optionally, FIG. 13 is a schematic structural diagram of an electronic device provided by another embodiment of the present application. As shown in FIG. 13, the device provided by an embodiment of the present application may further include an accelerometer 94,
加速度计94与处理器93连接,加速度计94用于获取加速度信号,并将加速度信号发送至处理器93,处理器93用于执行上述实施例提供的方法。The accelerometer 94 is connected to the processor 93, and the accelerometer 94 is used to obtain an acceleration signal and send the acceleration signal to the processor 93, and the processor 93 is used to execute the method provided in the foregoing embodiment.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware. The aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. range.

Claims (27)

  1. 一种心率检测方法,其特征在于,包括:A method for detecting heart rate, which is characterized in that it comprises:
    通过光电容积描记PPG传感器获取用户的第一PPG信号;Obtain the user's first PPG signal through the photoplethysmography PPG sensor;
    通过电容传感器获取所述用户当前的感应电容信号;Acquiring the current sensing capacitance signal of the user through a capacitance sensor;
    根据所述用户当前的感应电容信号对所述第一PPG信号进行处理,得到第二PPG信号;Processing the first PPG signal according to the current sensing capacitance signal of the user to obtain a second PPG signal;
    通过所述第二PPG信号计算心率。The heart rate is calculated by the second PPG signal.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述用户当前的感应电容信号对所述第一PPG信号进行处理,得到第二PPG信号之前,还包括:The method according to claim 1, characterized in that, before the processing the first PPG signal according to the current sensing capacitance signal of the user to obtain the second PPG signal, the method further comprises:
    获取所述用户的多个感应电容信号和多个距离之间的第一关系,所述距离为可穿戴设备与所述用户之间的距离;Acquiring a first relationship between a plurality of inductive capacitance signals of the user and a plurality of distances, where the distance is the distance between the wearable device and the user;
    通过所述第一关系与所述用户当前的的感应电容信号确定目标距离,所述目标距离为在所述第一关系中所述用户当前的感应电容信号对应的可穿戴设备与所述用户之间的距离;The target distance is determined by the first relationship and the user's current sensing capacitance signal, where the target distance is the difference between the wearable device corresponding to the user's current sensing capacitance signal and the user in the first relationship The distance between
    相应的,所述根据所述用户当前的感应电容信号对所述第一PPG信号进行处理,得到第二PPG信号,包括:Correspondingly, the processing the first PPG signal according to the current sensing capacitance signal of the user to obtain the second PPG signal includes:
    若所述目标距离小于或等于预设阈值,则根据所述用户当前的感应电容信号对所述第一PPG信号进行处理,得到第二PPG信号。If the target distance is less than or equal to the preset threshold, the first PPG signal is processed according to the current sensing capacitance signal of the user to obtain a second PPG signal.
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述用户当前的感应电容信号对所述第一PPG信号进行处理,得到第二PPG信号,包括:The method according to claim 1 or 2, wherein the processing the first PPG signal according to the current sensing capacitance signal of the user to obtain the second PPG signal comprises:
    获取所述用户的多个感应电容信号与多个PPG信号之间的关系曲线;Acquiring a relationship curve between a plurality of sensing capacitance signals of the user and a plurality of PPG signals;
    通过所述关系曲线和所述用户当前的感应电容信号,得到第三PPG信号;Obtain a third PPG signal through the relationship curve and the current sensing capacitance signal of the user;
    根据所述第三PPG信号修正所述第一PPG信号,得到所述第二PPG信号。Modify the first PPG signal according to the third PPG signal to obtain the second PPG signal.
  4. 根据权利要求3所述的方法,其特征在于,所述获取所述用户的多个感应电容信号与多个PPG信号之间的关系曲线,包括:The method according to claim 3, wherein said obtaining the relationship curve between the plurality of inductive capacitance signals of the user and the plurality of PPG signals comprises:
    确定所述用户的多个感应电容信号与多个距离之间的第一关系,所述距离为可穿戴设备与所述用户之间的距离;Determining a first relationship between a plurality of inductive capacitance signals of the user and a plurality of distances, where the distance is the distance between the wearable device and the user;
    确定所述多个PPG信号和所述多个距离之间的第二关系;Determining a second relationship between the multiple PPG signals and the multiple distances;
    通过所述第一关系和所述第二关系,确定所述关系曲线。The relationship curve is determined through the first relationship and the second relationship.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述第三PPG信号修正所述第一PPG信号,得到所述第二PPG信号,包括:The method according to claim 4, wherein the modifying the first PPG signal according to the third PPG signal to obtain the second PPG signal comprises:
    确定所述第一PPG信号的基准值;Determining the reference value of the first PPG signal;
    确定修正系数,所述修正系数是所述第三PPG信号与所述基准值之间的比值;Determining a correction coefficient, where the correction coefficient is a ratio between the third PPG signal and the reference value;
    计算所述第一PPG信号与所述修正系数的乘积,以得到所述第二PPG信号。Calculate the product of the first PPG signal and the correction coefficient to obtain the second PPG signal.
  6. 根据权利要求3或4所述的方法,其特征在于,所述根据所述第三PPG信号修正所述第一PPG信号,得到所述第二PPG信号,包括:The method according to claim 3 or 4, wherein the correcting the first PPG signal according to the third PPG signal to obtain the second PPG signal comprises:
    对所述第一PPG信号进行傅里叶变换,得到变换后的第一PPG信号,对所述第三PPG信号进行傅里叶变换,得到变换后的第三PPG信号;Performing Fourier transform on the first PPG signal to obtain a transformed first PPG signal, and performing Fourier transform on the third PPG signal to obtain a transformed third PPG signal;
    在预设频谱范围内,拟合所述变换后的第一PPG信号得到拟合后的第一PPG信号,拟合所述变换后的第三PPG信号得到拟合后的第三PPG信号;Within a preset spectrum range, fitting the transformed first PPG signal to obtain a fitted first PPG signal, and fitting the transformed third PPG signal to obtain a fitted third PPG signal;
    所述拟合后的第一PPG信号减去所述拟合后的第三PPG信号,得到所述第二PPG信号。The fitted first PPG signal is subtracted from the fitted third PPG signal to obtain the second PPG signal.
  7. 根据权利要求2所述的方法,其特征在于,还包括:The method according to claim 2, further comprising:
    若所述目标距离超过预设阈值,则剔除所述第一PPG信号。If the target distance exceeds a preset threshold, the first PPG signal is rejected.
  8. 根据权利要求7所述的方法,其特征在于,还包括:The method according to claim 7, further comprising:
    若在预设时间内,所述目标距离超过预设阈值的次数达到预设次数,则确定最新的历史心率为当前心率;If within the preset time, the number of times the target distance exceeds the preset threshold reaches the preset number of times, it is determined that the latest historical heart rate is the current heart rate;
    或,or,
    则通过所述最新的历史心率和所述用户当前的感应电容信号,预测当前心率。Then, the current heart rate is predicted based on the latest historical heart rate and the user's current sensing capacitance signal.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-8, further comprising:
    通过加速度计获取可穿戴设备的加速度信号;Obtain the acceleration signal of the wearable device through the accelerometer;
    相应的,corresponding,
    所述根据所述用户当前的感应电容信号对所述第一PPG信号进行处理,得到第二PPG信号之后,包括:The processing the first PPG signal according to the current sensing capacitance signal of the user to obtain the second PPG signal includes:
    根据所述加速度信号对所述第二PPG信号进行处理,得到第四PPG信号;Processing the second PPG signal according to the acceleration signal to obtain a fourth PPG signal;
    根据所述第四PPG信号计算心率。The heart rate is calculated according to the fourth PPG signal.
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述加速度信号对所述第二PPG信号进行处理,得到第四PPG信号,包括:The method according to claim 9, wherein the processing the second PPG signal according to the acceleration signal to obtain a fourth PPG signal comprises:
    获取所述第二PPG信号的频谱数据和所述加速度信号的频谱数据;Acquiring the frequency spectrum data of the second PPG signal and the frequency spectrum data of the acceleration signal;
    确定所述第二PPG信号的频谱数据的峰值所在的频率与所述加速度信号的频谱数据的峰值所在的频率;Determining the frequency at which the peak of the spectral data of the second PPG signal is located and the frequency at which the peak of the spectral data of the acceleration signal is located;
    若所述第二PPG信号的频谱数据的峰值所在的频率,与所述加速度信号的频谱数据的峰值所在的频率匹配,则剔除所述第二PPG信号的频谱数据的峰值,以得到所述第四PPG信号。If the frequency of the peak of the spectral data of the second PPG signal matches the frequency of the peak of the spectral data of the acceleration signal, the peak of the spectral data of the second PPG signal is removed to obtain the first Four PPG signals.
  11. 一种心率检测装置,其特征在于,包括:A heart rate detection device, which is characterized in that it comprises:
    第一获取模块,用于通过光电容积描记PPG传感器获取用户的第一PPG信号;The first acquisition module is configured to acquire the user's first PPG signal through the photoplethysmography PPG sensor;
    第二获取模块,用于通过电容传感器获取所述用户当前的感应电容信号;The second acquisition module is configured to acquire the current sensing capacitance signal of the user through the capacitance sensor;
    处理模块,用于根据所述用户当前的感应电容信号对所述第一PPG信号进行处理,得到第二PPG信号;A processing module, configured to process the first PPG signal according to the current sensing capacitance signal of the user to obtain a second PPG signal;
    计算模块,用于通过所述第二PPG信号计算心率。The calculation module is used to calculate the heart rate based on the second PPG signal.
  12. 根据权利要求11所述的装置,其特征在于,还包括:The device according to claim 11, further comprising:
    第三获取模块,用于获取所述用户的多个感应电容信号和多个距离之间的第一关系,所述距离为可穿戴设备与所述用户之间的距离;A third acquisition module, configured to acquire a first relationship between a plurality of inductive capacitance signals of the user and a plurality of distances, where the distance is the distance between the wearable device and the user;
    第一确定模块,用于通过所述第一关系与所述用户当前的感应电容信号确定目标距离,所述目标距离为在所述第一关系中所述用户当前的感应电容信号对应的可穿戴设备与所述用户之间的距离;The first determining module is configured to determine a target distance based on the first relationship and the user's current sensing capacitance signal, where the target distance is the wearable corresponding to the user's current sensing capacitance signal in the first relationship The distance between the device and the user;
    相应的,所述处理模块,具体用于:Correspondingly, the processing module is specifically used for:
    若所述目标距离小于或等于预设阈值,则根据所述用户当前的感应电容信号对所述第一PPG信号进行处理,得到第二PPG信号。If the target distance is less than or equal to the preset threshold, the first PPG signal is processed according to the current sensing capacitance signal of the user to obtain a second PPG signal.
  13. 根据权利要求11或12所述的装置,其特征在于,所述处理模块包括:The device according to claim 11 or 12, wherein the processing module comprises:
    获取子模块,用于获取所述用户的多个感应电容信号与多个PPG信号之间的关系曲线;An obtaining sub-module, which is used to obtain the relationship curve between the plurality of sensing capacitance signals and the plurality of PPG signals of the user;
    处理子模块,用于通过所述关系曲线和所述用户当前的感应电容信号, 得到第三PPG信号;A processing sub-module, configured to obtain a third PPG signal through the relationship curve and the current sensing capacitance signal of the user;
    修正子模块,用于根据所述第三PPG信号修正所述第一PPG信号,得到所述第二PPG信号。The correction sub-module is configured to correct the first PPG signal according to the third PPG signal to obtain the second PPG signal.
  14. 根据权利要求13所述的装置,其特征在于,所述获取子模块,具体用于:The device according to claim 13, wherein the obtaining submodule is specifically configured to:
    确定所述用户的多个感应电容信号与多个距离之间的第一关系,所述距离为可穿戴设备与所述用户之间的距离;Determining a first relationship between a plurality of inductive capacitance signals of the user and a plurality of distances, where the distance is the distance between the wearable device and the user;
    确定所述多个PPG信号和所述多个距离之间的第二关系;Determining a second relationship between the multiple PPG signals and the multiple distances;
    通过所述第一关系和所述第二关系,确定所述关系曲线。The relationship curve is determined through the first relationship and the second relationship.
  15. 根据权利要求14所述的装置,其特征在于,所述修正子模块具体用于:The device according to claim 14, wherein the correction sub-module is specifically configured to:
    确定所述第一PPG信号的基准值;Determining the reference value of the first PPG signal;
    确定修正系数,所述修正系数是所述第三PPG信号与所述基准值之间的比值;Determining a correction coefficient, where the correction coefficient is a ratio between the third PPG signal and the reference value;
    计算所述第一PPG信号与所述修正系数的乘积,以得到所述第二PPG信号。Calculate the product of the first PPG signal and the correction coefficient to obtain the second PPG signal.
  16. 根据权利要求13或14所述的装置,其特征在于,所述修正子模块具体用于:The device according to claim 13 or 14, wherein the correction submodule is specifically configured to:
    对所述第一PPG信号进行傅里叶变换,得到变换后的第一PPG信号,对所述第三PPG信号进行傅里叶变换,得到变换后的第三PPG信号;Performing Fourier transform on the first PPG signal to obtain a transformed first PPG signal, and performing Fourier transform on the third PPG signal to obtain a transformed third PPG signal;
    在预设频谱范围内,拟合所述变换后的第一PPG信号得到拟合后的第一PPG信号,拟合所述变换后的第三PPG信号得到拟合后的第三PPG信号;Within a preset spectrum range, fitting the transformed first PPG signal to obtain a fitted first PPG signal, and fitting the transformed third PPG signal to obtain a fitted third PPG signal;
    所述拟合后的第一PPG信号减去所述拟合后的第三PPG信号,得到所述第二PPG信号。The fitted first PPG signal is subtracted from the fitted third PPG signal to obtain the second PPG signal.
  17. 根据权利要求12所述的装置,其特征在于,The device of claim 12, wherein:
    所述处理模块,还用于若所述目标距离超过预设阈值,则剔除所述第一PPG信号。The processing module is further configured to remove the first PPG signal if the target distance exceeds a preset threshold.
  18. 根据权利要求17所述的装置,其特征在于,所述处理模块还用于:The device according to claim 17, wherein the processing module is further configured to:
    若在预设时间内,所述目标距离超过预设阈值的次数达到预设次数,则确定最新的历史心率为当前心率;If within the preset time, the number of times the target distance exceeds the preset threshold reaches the preset number of times, it is determined that the latest historical heart rate is the current heart rate;
    或,or,
    则通过所述最新的历史心率和所述用户当前的感应电容信号,预测当前心率。Then, the current heart rate is predicted based on the latest historical heart rate and the user's current sensing capacitance signal.
  19. 根据权利要求11-18任一项所述的装置,其特征在于,还包括:The device according to any one of claims 11-18, further comprising:
    第四获取模块,通过加速度计获取可穿戴设备的加速度信号;The fourth acquisition module acquires the acceleration signal of the wearable device through the accelerometer;
    相应的,corresponding,
    所述处理模块还用于:The processing module is also used for:
    根据所述加速度信号对所述第二PPG信号进行处理,得到第四PPG信号;Processing the second PPG signal according to the acceleration signal to obtain a fourth PPG signal;
    根据所述第四PPG信号计算心率。The heart rate is calculated according to the fourth PPG signal.
  20. 根据权利要求19所述的装置,其特征在于,处理模块具体用于:The device according to claim 19, wherein the processing module is specifically configured to:
    获取所述第二PPG信号的频谱数据和所述加速度信号的频谱数据;Acquiring the frequency spectrum data of the second PPG signal and the frequency spectrum data of the acceleration signal;
    确定所述第二PPG信号的频谱数据的峰值所在的频率与所述加速度信号的频谱数据的峰值所在的频率;Determining the frequency at which the peak of the spectral data of the second PPG signal is located and the frequency at which the peak of the spectral data of the acceleration signal is located;
    若所述第二PPG信号的频谱数据的峰值所在的频率,与所述加速度信号的频谱数据的峰值所在的频率匹配,则剔除所述第二PPG信号的频谱数据的峰值,以得到所述第四PPG信号。If the frequency of the peak of the spectral data of the second PPG signal matches the frequency of the peak of the spectral data of the acceleration signal, the peak of the spectral data of the second PPG signal is removed to obtain the first Four PPG signals.
  21. 一种芯片,其特征在于,包括:A chip, characterized in that it comprises:
    至少一个处理器;以及At least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-10中任一项所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute any one of claims 1-10 Methods.
  22. 根据权利要求21所述的芯片,其特征在于,电容传感器包括电容电极和电容采样电路,所述芯片还包括:The chip according to claim 21, wherein the capacitance sensor comprises a capacitance electrode and a capacitance sampling circuit, and the chip further comprises:
    所述电容采样电路,所述电容采样电路与所述至少一个处理器连接,所述电容采样电路用于获取用户的感应电容信号。The capacitance sampling circuit, the capacitance sampling circuit is connected to the at least one processor, and the capacitance sampling circuit is used to obtain a user's inductive capacitance signal.
  23. 根据权利要求21或22所述的芯片,其特征在于,光电容积描记PPG传感器包括发光器件及光电转换器件,所述芯片还包括与所述至少一个处理器连接的所述光电转换器件。The chip according to claim 21 or 22, wherein the photoplethysmographic PPG sensor comprises a light emitting device and a photoelectric conversion device, and the chip further comprises the photoelectric conversion device connected to the at least one processor.
  24. 根据权利要求23所述的芯片,其特征在于,所述发光器件集成于所 述芯片内。The chip according to claim 23, wherein the light emitting device is integrated in the chip.
  25. 一种电子装置,其特征在于,包括:光电容积描记PPG传感器、电容传感器和处理器,所述PPG传感器与所述处理器连接,所述电容传感器与所述处理器连接,所述PPG传感器用于获取PPG信号并将所述PPG信号发送至所述处理器,所述电容传感器用于获取用户当前的感应电容信号,并将所述用户当前的感应电容信号发送至所述处理器,所述处理器用于执行如权利要求1-8任一项所述的方法。An electronic device, comprising: a photoplethysmography PPG sensor, a capacitance sensor, and a processor, the PPG sensor is connected to the processor, the capacitance sensor is connected to the processor, and the PPG sensor is used for To obtain the PPG signal and send the PPG signal to the processor, the capacitance sensor is used to obtain the user's current inductive capacitance signal, and send the user's current inductive capacitance signal to the processor, the The processor is used to execute the method according to any one of claims 1-8.
  26. 根据权利要求25所述的电子装置,其特征在于,还包括加速度计,The electronic device according to claim 25, further comprising an accelerometer,
    所述加速度计与所述处理器连接,所述加速度计用于获取加速度信号,并将所述加速度信号发送至所述处理器,所述处理器用于执行如权利要求9-10任一项所述的方法。The accelerometer is connected to the processor, and the accelerometer is used to obtain an acceleration signal and send the acceleration signal to the processor, and the processor is used to execute any one of claims 9-10. The method described.
  27. 一种计算机存储介质,其特征在于,所述存储介质包括计算机程序,当所述计算机程序被计算机执行时,使得所述计算机实现如权利要求1至10中任一项权利要求所述的方法。A computer storage medium, characterized in that the storage medium includes a computer program, and when the computer program is executed by a computer, the computer realizes the method according to any one of claims 1 to 10.
PCT/CN2019/105030 2019-09-10 2019-09-10 Heart rate measurement method and apparatus, chip, electronic device and storage medium WO2021046700A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/105030 WO2021046700A1 (en) 2019-09-10 2019-09-10 Heart rate measurement method and apparatus, chip, electronic device and storage medium
CN201980001921.0A CN110730630B (en) 2019-09-10 2019-09-10 Heart rate detection method and device, chip, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/105030 WO2021046700A1 (en) 2019-09-10 2019-09-10 Heart rate measurement method and apparatus, chip, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2021046700A1 true WO2021046700A1 (en) 2021-03-18

Family

ID=69226469

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/105030 WO2021046700A1 (en) 2019-09-10 2019-09-10 Heart rate measurement method and apparatus, chip, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN110730630B (en)
WO (1) WO2021046700A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112137601B (en) * 2020-09-23 2024-03-15 中国第一汽车股份有限公司 Signal processing method, device, vehicle and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105105737A (en) * 2015-08-03 2015-12-02 南京盟联信息科技有限公司 Motion state heart rate monitoring method based on photoplethysmography and spectrum analysis
CN105595979A (en) * 2016-01-21 2016-05-25 中山大学 Noninvasive and continuous blood pressure monitoring method and device based on pulse wave propagation time
CN107981852A (en) * 2017-11-23 2018-05-04 歌尔股份有限公司 Heart rate detection method and wearable device
CN109222949A (en) * 2018-10-12 2019-01-18 杭州士兰微电子股份有限公司 Heart rate detection method and heartbeat detection device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI538660B (en) * 2014-09-26 2016-06-21 原相科技股份有限公司 Heart rate detection module, and detection and denoising method thereof
US20160206247A1 (en) * 2015-01-21 2016-07-21 Covidien Lp Adaptive motion correction in photoplethysmography using reference signals
US10456053B2 (en) * 2015-07-22 2019-10-29 Quicklogic Corporation Heart rate monitor
CN105286846B (en) * 2015-11-29 2018-03-02 浙江师范大学 A kind of motion artifacts detection method suitable for heart rate signal
CN106264505A (en) * 2016-07-21 2017-01-04 浙江师范大学 A kind of heart rate spectral peak system of selection based on support vector machine
EP3406189A1 (en) * 2017-05-25 2018-11-28 Tata Consultancy Services Limited System and method for heart rate estimation
CN209003983U (en) * 2017-11-23 2019-06-21 歌尔股份有限公司 Wearable device
CN108814578A (en) * 2018-05-18 2018-11-16 上海康斐信息技术有限公司 A kind of intelligent wearable device and the method for measuring heart rate for promoting accuracy
CN109602411A (en) * 2018-12-04 2019-04-12 青岛真时科技有限公司 A kind of heart rate detection method and intelligent wearable device
CN109924960A (en) * 2019-01-31 2019-06-25 深圳市爱都科技有限公司 A kind of blood oxygen saturation, the calculation method and wearable device of heart rate value and pressure rating

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105105737A (en) * 2015-08-03 2015-12-02 南京盟联信息科技有限公司 Motion state heart rate monitoring method based on photoplethysmography and spectrum analysis
CN105595979A (en) * 2016-01-21 2016-05-25 中山大学 Noninvasive and continuous blood pressure monitoring method and device based on pulse wave propagation time
CN107981852A (en) * 2017-11-23 2018-05-04 歌尔股份有限公司 Heart rate detection method and wearable device
CN109222949A (en) * 2018-10-12 2019-01-18 杭州士兰微电子股份有限公司 Heart rate detection method and heartbeat detection device

Also Published As

Publication number Publication date
CN110730630A (en) 2020-01-24
CN110730630B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
US10413249B2 (en) Digital signal processing device and denoising method of heart rate detection module
WO2021077808A1 (en) Wearing detection method and apparatus, chip, device, and storage medium
CN107949321B (en) Temporal interference removal and improved heart rate measurement tracking mechanism
CN104706336B (en) A kind of photo-electric pulse signal measuring method, device and measuring apparatus
CN104586370B (en) A kind of photo-electric pulse signal measuring method, device and measuring apparatus
JP6813024B2 (en) Biometric information processing equipment, biometric information processing methods, and information processing equipment
US9808162B2 (en) Pulse wave sensor and semiconductor module
JP6279098B2 (en) Photoelectric pulse signal measuring method and measuring instrument
RU2015124139A (en) DEVICE AND METHOD FOR EXTRACTING PHYSIOLOGICAL INFORMATION
US9687159B2 (en) Systems and methods for determining physiological information by identifying fiducial points in a physiological signal
CN104203088A (en) Reduction of physiological metric error due to inertial cadence
CN1929779A (en) Selection of ensemble averaging weights for a pulse oximeter based on signal quality metrics
CN101039617A (en) Motion cancellation of optical input signals for physiological pulse measurement
TWI651891B (en) Power adjustment module and wearable device having same
US20140257124A1 (en) Atrial fibrillation analyzer and program
CN107595297B (en) Physiological information detection device and method
KR101310464B1 (en) Biometric surveillance system and biometric surveillance method using the same system
US20210100463A1 (en) Motion detection and cancellation using ambient light
JP6933220B2 (en) Biometric information processing device, biometric information processing method and information processing device
WO2021046700A1 (en) Heart rate measurement method and apparatus, chip, electronic device and storage medium
US20170172436A1 (en) Electronic device and computer-readable recording medium
US20160198964A1 (en) Vital signs measurement system, detecting method of the vital signs measurement system, and vital signs measurement earphone
US11304616B2 (en) Heart rate detection system and wearable device using the same
JP2015139516A (en) Biological information measurement device
TWI642405B (en) Detecting system and mobile electronic apparatus, and method for detecting physiological characteristic thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19945128

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19945128

Country of ref document: EP

Kind code of ref document: A1