HEARTBEAT DETECTION DEVICE, HEARTBEAT DETECTION METHOD, AND HEARTBEAT DETECTION PROGRAM

The heartbeat detection device improves heart rate measurement accuracy by correcting heartbeat times using time difference values and a sampling interval of 12.5ms or less, addressing inaccuracies in conventional devices.

JP7574801B2Active Publication Date: 2024-10-29NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2021558140
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2019-11-22
Publication Date
2024-10-29
Estimated Expiration
2039-11-22

AI Technical Summary

Technical Problem

Conventional wearable devices for heart rate measurement suffer from inaccuracies due to varying data acquisition intervals, leading to errors in heart rate calculation.

Method used

A heartbeat detection device that utilizes a sensor to acquire electrocardiographic waveforms, calculates time difference values, and corrects heartbeat times using a straight line through two points in the waveform, with a sampling interval of 12.5ms or less, to enhance accuracy.

Benefits of technology

The device accurately measures heart rates by correcting heartbeat times, reducing errors and maintaining accuracy even with larger data acquisition intervals, thus enhancing power efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007574801000004
    Figure 0007574801000004
  • Figure 0007574801000005
    Figure 0007574801000005
  • Figure 0007574801000006
    Figure 0007574801000006
Patent Text Reader

Abstract

A heartbeat detection device (1) is provided with: a sensor data acquisition unit (10) for acquiring sensor data indicative of an electrocardiographic waveform of a living body and outputting a sampling data string D(i) based on the sensor data; a first calculation unit (110) for calculating, for respective sampling times, a time difference value DY(i) of the sampling data D(i) from the outputted sampling data string D(i); a determination unit (114) for determining a heartbeat time on the basis of a time at which the change in the time difference value DY(i) calculated by the first calculation unit (110) has exceeded a set threshold value TH; a correction unit (12) for correcting the heartbeat time by taking as a reference time a time at which electrocardiographic potential reaches zero on a straight line that passes through two points of sampling data D(n) and sampling data D(n-1) immediately prior thereto at the heartbeat time determined by the determination unit (114); and a heart rate calculation unit (13) for calculating the heart rate of the living body from the corrected heartbeat time.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a heartbeat detection device, a heartbeat detection method, and a heartbeat detection program. [Background technology]

[0002] In recent years, there has been growing interest in managing one's own health by wearing a wearable device while engaged in various activities in daily life, such as running or walking, and using measurement data such as the number of steps taken, the amount of activity, and heart rate.

[0003] For example, Patent Document 1 discloses an application that uses a wearable sensor attached to clothing to acquire electrocardiogram waveforms while the clothing is being worn, calculates the heart rate based on the acquired waveforms, and transmits the obtained data to an external device such as a smartphone.

[0004] Such conventional wearable devices do not use an external power source, so power saving is important for applications that require long periods of continuous use, such as measuring a user's heart rate.

[0005] Therefore, in order to reduce the power consumption of wearable devices, the amount of calculation processing per unit time has been reduced by setting a large interval for acquiring data such as the user's heart rate.

[0006] For example, Patent Document 2 discloses a technique for calculating the heart rate from the cardiac potential by setting a threshold value according to the amplitude of an R wave for time-series data of the cardiac potential, detecting an R wave when the data exceeds the threshold, and calculating the heart rate from its period (RR interval).

[0007] In addition, as a method for detecting a stable heart rate of a living body without being affected by body movement noise, a method has been proposed in which, instead of using time series data of the cardiac potential, a time difference value of the cardiac potential or a time difference value taking into account the clearance before and after the peak of the QRS wave is used as an index value (see Patent Document 3). [Prior art documents] [Patent documents]

[0008] [Patent Document 1] International Publication No. 2016 / 024495 [Patent Document 2] JP 2015-156936 A [Patent Document 3] Patent No. 6404784 Summary of the Invention [Problem to be solved by the invention]

[0009] However, in conventional techniques, the feature amount of the cardiac potential is detected using a threshold value, which can cause a deviation in detection time depending on the data acquisition interval, resulting in an error in calculating the heart rate.

[0010] The present invention has been made to solve the above-mentioned problems, and has an object to measure the heart rate of a living body more accurately. [Means for solving the problem]

[0011] In order to solve the above-described problems, a heartbeat detection device according to the present invention includes a sensor data acquisition unit that acquires sensor data indicating an electrocardiogram waveform of a living body and outputs a sampling data sequence based on the sensor data, a first calculation unit that calculates a time difference value of sampling data from the output sampling data sequence for each sampling time, and a time difference calculation unit that calculates the time difference value calculated by the first calculation unit. Value is , set Negative Threshold Falling short time of Heart rate time anda correction unit that determines the time when the cardiac potential becomes zero on a line passing through two points, the sampling data at the heartbeat time determined by the determination unit and the sampling data one sample before the heartbeat time, as the corrected heartbeat time; and a second calculation unit that calculates the heart rate of the living body from the corrected heartbeat time, wherein the sampling interval for sampling the electrocardiogram waveform is 12.5 ms or less, with a lower limit of 4 ms.

[0012] In order to solve the above-mentioned problems, a heartbeat detection method according to the present invention includes a first step of acquiring sensor data indicating an electrocardiogram waveform of a living body and outputting a sampling data string based on the sensor data, a second step of calculating a time difference value of sampling data from the sampling data string output in the first step for each sampling time, and Value is , set Negative Threshold Falling short time of Heart rate time and a third step of determining a time when the cardiac potential becomes zero on a line passing through two points, the sampling data at the heartbeat time determined in the third step and the sampling data one sample before the heartbeat time, as a corrected heartbeat time; and a fifth step of calculating the heart rate of the living body from the corrected heartbeat time, wherein the sampling interval for sampling the electrocardiogram waveform is 12.5 ms or less, with a lower limit of 4 ms.

[0013] In order to solve the above-mentioned problems, a heartbeat detection program according to the present invention includes a first step of acquiring sensor data indicating an electrocardiogram waveform of a living body and outputting a sampling data string based on the sensor data, a second step of calculating a time difference value of sampling data from the sampling data string output in the first step for each sampling time, and a second step of calculating the time difference value calculated in the second step. Value is , set Negative Threshold Falling short time of Heart rate time and a third step of calculating a time when the cardiac potential becomes zero on a line passing through two points, the sampling data at the heartbeat time determined in the third step and the sampling data one sample before the heartbeat time, as a corrected heartbeat time; and a fifth step of calculating the heart rate of the living body from the corrected heartbeat time, wherein the sampling interval for sampling the electrocardiogram waveform is 12.5 ms or less, with a lower limit of 4 ms. Effect of the Invention

[0014] According to the present invention, the time when the cardiac potential becomes zero on a line passing through two points of the sampling data at the heartbeat time determined based on the time when the change in the time difference value of the sampling data for each sampling time calculated from the sampling data string based on the electrocardiogram waveform exceeds a set threshold and the sampling data immediately before that heartbeat time is used as the reference time to correct the heartbeat time, so that the user's heart rate can be measured more accurately. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 is a block diagram showing a functional configuration of a heartbeat detection device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram for explaining an electrocardiogram waveform according to the present embodiment. [Diagram 3] FIG. 3 is a diagram for explaining an electrocardiogram waveform according to the present embodiment. [Figure 4] FIG. 4 is a block diagram showing a functional configuration of the heartbeat time calculation unit according to the present embodiment. [Diagram 5] FIG. 5 is a block diagram showing another example of the functional configuration of the heartbeat time calculation unit according to the present embodiment. [Figure 6] FIG. 6 is a block diagram showing an example of a hardware configuration of the heartbeat detecting device according to the present embodiment. [Figure 7] FIG. 7 is a flowchart illustrating the heartbeat detection method according to the present embodiment. [Figure 8] FIG. 8 is a flowchart for explaining the heartbeat time calculation process according to the present embodiment. [Figure 9] FIG. 9 is a diagram for explaining the effect of the heartbeat detecting device according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail with reference to FIGS.

[0017] [Summary of the Invention] First, an overview of a heartbeat detection device 1 according to an embodiment of the present invention will be described with reference to FIGS. 2 and 3. FIG.

[0018] 2 and 3 are diagrams showing typical electrocardiogram (ECG) waveforms. An ECG waveform is made up of successive heartbeat waveforms, and one heartbeat waveform, as shown in FIG. 2, is made up of components such as P waves, Q waves, R waves, S waves, and T waves that reflect the activity of the atria and ventricles. Among these, the R wave is associated with ventricular contraction (depolarization of the ventricular muscle) and has a large amplitude, so that heartbeats are often detected using the R wave as a guide. In particular, by taking the time difference of the sampled data sequence of the ECG waveform, the steep change from the R wave to the S wave is made to stand out as a peak, making it easier to detect the heartbeat. The interval between each heartbeat is called the RR interval, and is treated as a primary index of heartbeat fluctuation.

[0019] In order to detect a sharp change from an R wave to an S wave, the heart rate detection device 1 according to this embodiment uses the RS interval from the start of the QRS wave to the peak of the S wave included in the ECG waveform as a detection point. One of the features of this embodiment is that the time when the potential becomes 0 in the RS interval is estimated using the detection point on the RS interval and the cardiac potential corresponding to the point immediately before that, and the RR interval is corrected using the time interval of the estimated time.

[0020] Next, the configuration of the heartbeat detection device 1 according to the present embodiment will be described with reference to Fig. 1. In the following, a procedure in which the heartbeat detection device 1 detects one heartbeat and obtains the heartbeat time will be described. By repeating such calculation of the heartbeat time over the measurement period of the ECG waveform, time series data of the heartbeat time can be obtained, and the RR interval can be calculated from this time series data.

[0021] In this embodiment, the sampled data obtained by sampling the ECG waveform is denoted as D(i), where i (i=1, 2,...) indicates a number sequentially assigned to each sample of data. The larger the data string number i, the later the sampling time.

[0022] In this embodiment, the minimum value of the time difference value in the range of a first time interval Tinr1 described later is defined as Min1, the minimum value of the time difference value in the range of a second time interval Tinr2 is defined as Min2, and the minimum value of the time difference value in the range of a third time interval Tinr3 is defined as Min3. The initial values ​​of these minimum values ​​Min1, Min2, and Min3 may be set to 0, for example.

[0023] [Heart rate detection device functional block] As shown in FIG. 1, the heartbeat detection device 1 includes a sensor data acquisition unit 10, a heartbeat time calculation unit 11, a correction unit 12, a heartbeat calculation unit (second calculation unit) 13, a first storage unit 14, and a transmission / reception unit 15.

[0024] The sensor data acquisition unit 10 acquires sensor data including the user's electrocardiogram signal and the measurement time. The sensor data acquisition unit 10 can acquire the user's electrocardiogram signal measured by a sensor 105 configured with an electrocardiograph, for example. The sensor data acquisition unit 10 performs signal processing such as amplification, AD conversion, and noise removal of the acquired electrocardiogram signal. The sensor data acquisition unit 10 stores sampling data D(i) which is time series data of ECG and the sampling time in the first storage unit 14. Note that, in this embodiment, a case will be described in which the sensor data acquisition unit 10 acquires the user's electrocardiogram signal from the sensor 105, but the sensor data acquisition unit 10 can also acquire the user's electrocardiogram signal measured in advance offline.

[0025] The heartbeat time calculation unit 11 calculates the heartbeat time by reading out the sampling data D(i) of the ECG waveform stored in the first storage unit 14. As shown in Fig. 4, the heartbeat time calculation unit 11 includes a first calculation unit 110, a first determination unit 111, a second determination unit 112, a second storage unit 113, and a determination unit 114 (see Patent Document 3).

[0026] The first calculation unit 110 calculates a time difference value DY(i) of the sampling data D(i) of the ECG waveform for each sampling time (time indicated by i). More specifically, the first calculation unit 110 reads out the data D(i+1) of the ECG waveform sampling data D(i) one sampling later and the sampling data D(i-1) of the previous sampling from the first storage unit 14, and calculates the time difference value DY(i) of the sampling data D(i) by the following formula (1).

[0027] DY(i) = D(i+1) - D(i-1) (1)

[0028] The first determination unit 111 determines whether the time difference value DY(i) calculated by the first calculation unit 110 is below a threshold value TH. In this embodiment, as shown in the ECG waveforms of Fig. 2 and Fig. 3, a peak of the time difference value DY(i) due to a sharp change from an R wave to an S wave is detected. The peak of the time difference value DY(i) appears as a negative value. Therefore, the first determination unit 111 performs threshold processing of the time difference value DY(i) using the threshold value TH, which is a set negative value.

[0029] The first determination unit 111 can use, for example, a value obtained by multiplying the most recent peak (Min2) of the time difference value DY(i) detected as a heartbeat, for example, the average value of the most recent five peaks (Min2) by 0.5 as the threshold value TH. The reason for multiplying the average value of the peaks (Min2) by 0.5 is to set the absolute value of the threshold value TH smaller than that for the purpose of simply detecting peaks (see Non-Patent Document 3). By making the absolute value of the threshold value TH smaller, it is possible to capture peaks with small absolute values.

[0030] The second determination unit 112 determines whether a first elapsed time T1 from the immediately preceding heartbeat time to the latest sampling time (time indicated by i) at which the time difference value DY(i) is calculated is within the range of a first time interval Tinr1. The second determination unit 112 also determines whether a second elapsed time T2 from the time at which the time difference value DY(i) falls below the threshold value TH to the latest sampling time at which the time difference value DY(i) is calculated is within the range of a second time interval Tinr2. The second determination unit 112 also determines whether a third elapsed time T3 from the time at which the second elapsed time T2 leaves the range of the second time interval Tinr2 to the latest sampling time at which the time difference value DY(i) is calculated is within the range of a third time interval Tinr3.

[0031] The first time interval Tinr1 is a parameter for determining a time region just before the expected next heartbeat time. The second time interval Tinr2 is a parameter for determining a time region that is expected to include the peak of the time difference value DY(i). The third time interval Tinr3 is a parameter for determining a certain time region after the time region that is expected to include the peak of the time difference value DY(i).

[0032] The second determination unit 112 uses, for example, the range of the first time interval Tinr1 from a time 150 [ms] shorter than the RR interval obtained from the immediately preceding heartbeat time to a time obtained by adding 100 [ms] to this time. The RR interval here is the time obtained by subtracting the heartbeat time immediately before from the immediately preceding heartbeat time.

[0033] Alternatively, the second determination unit 112 can use the time region from the immediately preceding heartbeat time to the time immediately prior to the time at which the time difference value DY(i) next exceeds the threshold value TH as the range of the first time interval Tinr1.

[0034] The second time interval Tinr2 is preferably a time width sufficient to cover the peak of the time difference value DY(i), and can be preset to, for example, 50 [ms].

[0035] The third time interval Tinr3 can be preset to, for example, 100 [ms].

[0036] The second storage unit 113 holds a minimum value Min1 of the time difference value DY(i) when the first elapsed time T1 is within the range of the first time interval Tinr1. The second storage unit 113 also holds a minimum value Min2 of the time difference value DY(i) when the second elapsed time T2 is within the range of the second time interval Tinr2. The second storage unit 113 also holds a minimum value Min3 of the time difference value DY(i) when the third elapsed time T3 is within the range of the third time interval Tinr3.

[0037] When the relationship between the minimum values ​​Min1, Min2, and Min3 of the time difference value DY(i) stored in the second storage unit 113 satisfies a preset condition for determining the heartbeat time, the determination unit 114 determines the time when the time difference value DY(i) falls below the threshold value TH or the time when the minimum value Min2 is obtained as the heartbeat time. Which time the determination unit 114 adopts as the heartbeat time can be set in advance by a program.

[0038] For example, the ratio Min2 / Min1 of the minimum value Min2 to the minimum value Min1 and the ratio Min2 / Min3 of the minimum value Min2 to the minimum value Min3 both exceeding a certain value can be used as a condition for determining a preset heartbeat time. By setting such a condition in advance, it is possible to determine whether the peak of the time difference value is unimodal or not.

[0039] The correction unit 12 specifies the time when the cardiac potential becomes 0 from the ECG waveform data based on the heartbeat time calculated by the heartbeat time calculation unit 11. The correction unit 12 also uses the specified time when the cardiac potential becomes 0 as a reference time for calculating the R-R interval. More specifically, the correction unit 12 specifies the time when the cardiac potential becomes 0 on a line passing through two points, the ECG waveform data D(n) at the heartbeat time calculated by the heartbeat time calculation unit 11 and the immediately preceding ECG waveform data D(n-1), and sets this as the reference time for calculating the R-R interval.

[0040] For example, the deviation Δn (in units of sampling data number) when the cardiac potential becomes 0 is used as a reference is calculated by the following formula (2).

[0041]

number

[0042] The correction unit 12 can calculate the reference time by using the deviation Δn calculated by the above formula (2).

[0043] Here, the ECG waveform data D(n) at the heartbeat time calculated by the heartbeat time calculation unit 11 and the immediately preceding ECG waveform data D(n-1) must be points on the RS interval. In other words, there is an upper limit to the sampling interval. For example, the QRS interval is generally said to be about 100 [ms]. Considering this, the RS interval is about 25 [ms], so the sampling interval must be 12.5 [ms] or less.

[0044] On the other hand, if the sampling interval is too short, the ECG waveform data D(n) at the heartbeat time calculated by the heartbeat time calculation unit 11 and the immediately preceding ECG waveform data D(n-1) will be in a region where the slope of the tangent changes sharply near the S wave. Therefore, when the heartbeat time is corrected using two points that pass through the ECG waveform data D(n) and the immediately preceding ECG waveform data D(n-1), the error will be large. In other words, there is a lower limit to the sampling interval, specifically about 4 [ms].

[0045] The heart rate calculation unit 13 calculates the heart rate X [bpm] from the latest heart beat time corrected by the correction unit 12. Specifically, when the RR interval, which is the time obtained by subtracting the previous heart beat time from the latest heart beat time calculated and confirmed by the correction unit 12, is set as RRI [ms], the heart rate calculation unit 13 calculates the instantaneous heart rate X by the following formula (3).

[0046]

number

[0047] The heart rate calculation unit 13 can also be configured to calculate an average heart rate X using the following formula (4) described in Reference 3 (JP 2018-011819 A), instead of the instantaneous heart rate.

[0048]

number

[0049] In the above equation (4), HR(i) represents the i-th instantaneous heart rate before averaging, X(i-1) represents the average value of the instantaneous heart rates up to the i-1th, 1 represents a predetermined averaging coefficient, and X(i) represents the average heart rate obtained by averaging the instantaneous heart rates up to the i-th.

[0050] The transmitter / receiver 15 transmits the heart rate calculated by the heart rate calculator 13 to an external terminal device such as a smartphone (not shown) via wired or wireless communication.

[0051] [Another example of the heartbeat time calculation part] The heartbeat detection device 1 of this embodiment is not limited to the functional configuration of the heartbeat time calculation unit 11 described above, and can also calculate the heartbeat time using, for example, a heartbeat time calculation unit 11A having the configuration shown in FIG. 5 (see Reference 1: Japanese Patent No. 6360017, Reference 2: Japanese Patent No. 6527286).

[0052] The heartbeat time calculation section 11A includes a first calculation section 110, an index value calculation section 115, an acquisition section 116, a second storage section 113, and a determination section 114.

[0053] The first calculation unit 110 calculates a time difference value DY(i) of sampled data D(i) of an electrocardiogram waveform for each sampling time.

[0054] The acquiring unit 116 acquires, for each sampling point i, the minimum value of the time difference value in a predetermined time domain before and after the sampling point i.

[0055] The index value calculation unit 115 calculates an index value for each sampling point i by subtracting the minimum value of the time difference values ​​in a predetermined time domain before and after the sampling point i from the time difference value DY(i) of the sampling point i.

[0056] The determination unit 114 identifies, from among the index values ​​for each sampling point i, an index value that falls below a predetermined threshold and at which the trend of change in the index value changes from decreasing to increasing as a downward peak, and determines the time of this identified downward peak as the heartbeat time.

[0057] The predetermined time regions before and after the sampling point i are, for example, a region from −112.5 ms to −12.5 ms and a region from +12.5 ms to +112.5 ms with respect to the time of the sampling point i.

[0058] The second storage unit 113 temporarily stores the minimum value of the time difference values ​​acquired by the acquisition unit 116, the index value calculated by the index value calculation unit 115, and the heartbeat time determined by the determination unit 114.

[0059] [Hardware configuration of heart rate detection device] Next, an example of a hardware configuration for realizing the heartbeat detection device 1 having the above-mentioned functions will be described with reference to FIG.

[0060] 6, the heartbeat detection device 1 can be realized by, for example, a computer including a CPU 101, a memory 102, an AFE 103, an ADC 104, and a communication I / F 106 connected via a bus, and a program that controls these hardware resources. For example, an external sensor 105 is connected to the heartbeat detection device 1 via the bus. The heartbeat detection device 1 also includes a power supply 107, which supplies power to the entire device except for the sensor 105 shown in FIG. 5.

[0061] Programs for the CPU 101 to perform various controls and calculations are stored in advance in the memory 102. The CPU 101 and the memory 102 realize the functions of the heartbeat detection device 1 including the sensor data acquisition unit 10, the heartbeat time calculation unit 11, the correction unit 12, and the heartbeat calculation unit 13 shown in FIG.

[0062] The sensor 105 is realized by an electrocardiograph or the like, and measures a weak electrocardiogram signal via the user's skin.

[0063] The AFE (Analog Front End) 103 is a circuit that amplifies an analog electrocardiogram signal measured by the sensor 105 .

[0064] An analog-to-digital converter (ADC) 104 is a circuit that converts the analog signal amplified by the AFE 103 into a digital signal at a predetermined sampling frequency. The AFE 103 and the ADC 104 implement the sensor data acquisition unit 10 described in FIG.

[0065] The memory 102 is realized by a non-volatile memory such as a flash memory, a volatile memory such as a DRAM, etc. The memory 102 temporarily stores the time series data of the signal output from the ADC 104. The memory 102 realizes the first storage unit 14 described in FIG. 1 and the second storage unit described in FIG.

[0066] The memory 102 also has a program storage area for storing a program for performing the heartbeat detection process by the heartbeat detection device 1. Furthermore, the memory 102 may also have, for example, a backup area for backing up the above-mentioned data, programs, etc.

[0067] The communication I / F 106 is an interface circuit for communicating with various external electronic devices via the communication network NW.

[0068] As the communication I / F 106, for example, a communication interface and an antenna compatible with wired or wireless data communication standards such as LTE, 3G, Bluetooth (registered trademark), Bluetooth Low Energy, Ethernet (registered trademark), etc. The communication I / F 106 realizes the transmitting / receiving unit 15 described in FIG.

[0069] The heartbeat detection device 1 acquires time information from a clock built into the CPU 101 or a time server (not shown) and uses the time as a sampling time.

[0070] [Heart rate detection method] Next, the operation of the heartbeat detection device 1 having the above-mentioned configuration will be described with reference to the flowchart in Fig. 7. First, when the user wears the sensor 105 consisting of an electrocardiograph and starts measuring an electrocardiogram signal, the following process is executed.

[0071] First, the sensor data acquiring unit 10 acquires an electrocardiogram signal of a user, for example, from the sensor 105 (step S1). The sensor data acquiring unit 10 amplifies the electrocardiogram signal, samples it at a predetermined sampling frequency, and outputs a digital ECG waveform. The sampling data of the ECG waveform is stored in the first storage unit 14.

[0072] Next, the heartbeat time calculation unit 11 reads out the sampling data D(i) of the ECG waveform from the first storage unit 14 and calculates the heartbeat time (step S2).

[0073] Here, the heartbeat time calculation process executed by the heartbeat time calculation section 11 in step S2 will be described with reference to FIG.

[0074] First, the first calculation unit 110 reads out data D(i+1) one sampling later and data D(i-1) one sampling earlier of the sampling data D(i) in order to calculate the time difference value DY(i) of the sampling data D(i) from the first storage unit 14 (step S200).

[0075] Next, the first calculation unit 110 calculates a time difference value DY(i) of the sampling data D(i) using equation (1) (step S201). Next, the first determination unit 111 determines whether the time difference value DY(i) is less than a threshold value TH (step S202).

[0076] Next, if it is determined that the time difference value DY(i) is not below the threshold value TH (step S202: NO), the second judgment unit 112 judges whether a first elapsed time T1, which is the elapsed time from the immediately preceding heartbeat time to the sampling time (the time indicated by i) of the sampling data D(i) to be processed, is within the range of a first time interval Tinr1 (step S203).

[0077] If the first elapsed time T1 is determined to be within the range of the first time interval Tinr1, that is, if the sampling time of the sampling data D(i) to be processed is in the time region before the expected next heartbeat time (step S203: YES), the second storage unit 113 updates the minimum value Min1 of the time difference value within the range of the first time interval Tinr1 (step S204). That is, the second storage unit 113 compares the time difference value DY(i) of the sampling data D(i) to be processed with the current minimum value Min1, and if the time difference value DY(i) to be processed is smaller than the current minimum value Min1, sets the time difference value DY(i) as the new minimum value Min1. Then, the process returns to step S200. Note that, if the first elapsed time T1 is determined to be outside the range of the first time interval Tinr1 in step S203, the process returns to step S200 without updating the minimum value Min1.

[0078] On the other hand, when it is determined that the time difference value DY(i) exceeds the threshold value TH (step S202: YES), the first calculation unit 110 reads out data D(j+1) one sampling after the sampling data D(j) and data D(j-1) one sampling before the sampling data D(j) from the first storage unit 14 in order to calculate a time difference value DY(j) of the next sampling data D(j) (j is an integer greater than or equal to (i+1) and the initial value is j=i+1) (step S205). Then, the first calculation unit 110 calculates the time difference value DY(j) of the sampling data D(j) in the same manner as in the above equation (1) (step S206).

[0079] The time determination unit 5 determines whether the elapsed time (second elapsed time T2) from the time when the time difference value Y(i) exceeds the threshold value TH to the sampling time (the time indicated by j) of the sampling data X(j) to be processed is within the range of the second time interval Tinr2 (step S207).

[0080] If the second elapsed time T2 is determined to be within the range of the second time interval Tinr2, that is, if the sampling time of the sampling data D(j) to be processed is in a time region assumed to include a peak of the time difference value (step S207: YES), the second storage unit 113 updates the minimum value Min2 of the time difference value within the range of the second time interval Tinr2 (step S208). That is, the second storage unit 113 compares the time difference value DY(j) of the sampling data D(j) to be processed with the current minimum value Min2, and if the time difference value DY(j) to be processed is smaller than the current minimum value Min2, sets the time difference value DY(j) to the new minimum value Min2. Then, the process returns to step S205.

[0081] In this manner, steps S205 to S208 are repeatedly executed while shifting the processing target one by one to the sampling data D(j) with the newer sampling time (j=i+1, i+2, i+3, i+4, ...) until the second elapsed time T2 falls outside the range of the second time interval Tinr2.

[0082] Next, when it is determined in step S207 that the second elapsed time T2 has passed the range of the second time interval Tinr2, that is, when the sampling time has passed the time region expected to include the peak of the time difference value, the first calculation unit 110 reads out the data D(k+1) after one sampling of the sampling data D(k) and the data D(k-1) before one sampling from the first storage unit 14 in order to calculate the time difference value DY(k) of the next sampling data D(k) (k is an integer of k≧(j+1), and the initial value is k=j+1) (step S209). Then, the first calculation unit 110 calculates the time difference value DY(k) of the sampling data D(k) in the same manner as in the above formula (1) (step S210).

[0083] The second judgment unit 112 judges whether the elapsed time (third elapsed time T3) from the time at which it is determined in step S207 that the second elapsed time T2 has exceeded the range of the second time interval Tinr2 to the sampling time (the time indicated by k) of the sampling data D(k) to be processed is within the range of the third time interval Tinr3 (step S211).

[0084] If the third elapsed time T3 is determined to be within the range of the third time interval Tinr3, that is, if the sampling time of the sampling data D(k) to be processed is in a certain time region after the peak of the time difference value (step S211: YES), the second storage unit 113 updates the minimum value Min3 of the time difference value within the range of the third time interval Tinr3 (step S212). That is, the second storage unit 113 compares the time difference value DY(k) of the sampling data D(k) to be processed with the current minimum value Min3, and if the time difference value DY(k) to be processed is smaller than the current minimum value Min3, sets the time difference value DY(k) to the new minimum value Min3. Then, the process returns to step S209.

[0085] In this manner, steps S209 to S212 are repeatedly executed while shifting the processing target one by one to the sampling data D(k) with the newer sampling time (k=j+1, j+2, j+3, j+4, ...) until the third elapsed time T3 falls outside the range of the third time interval Tinr3.

[0086] Next, if it is determined in step S211 that the third elapsed time T3 is outside the range of the third time interval Tinr3, that is, if the sampling time of the sampling data D(k) to be processed exceeds a certain time region after the peak of the time difference value, the determination unit 114 determines whether the relationship between the three minimum values ​​Min1, Min2, and Min3 satisfies a condition for determining a predetermined heartbeat time (step S213).

[0087] Here, the minimum value Min2 corresponds to the magnitude of the peak detected in the time difference values ​​of the sampling data, the minimum value Min1 corresponds to the floor level of the certain area before the peak, and the minimum value Min3 corresponds to the floor level of the certain area after the peak. If the peak of the time difference values ​​is a unimodal negative peak, the absolute value of the minimum value Min2 must be larger than the minimum values ​​Min1 and Min3.

[0088] The determination unit 114 can determine that the specified condition is met if both ratios Min2 / Min1 and Min2 / Min3 exceed a certain value, and can determine that the specified condition is not met if at least one of the ratios Min2 / Min1 and Min2 / Min3 is equal to or lower than a certain value.

[0089] If the determination unit 114 determines that the relationship between the three minimum values ​​Min1, Min2, and Min3 satisfies the condition for determining the heartbeat time (step S213: YES), it adopts the time when the time difference value DY(i) exceeds the threshold value TH or the most recent time when the minimum value Min2 was updated (the time of the peak of the time difference value) as the heartbeat time (step S214).

[0090] After step S214 is completed, the process returns to step S200 with i=k+1. This starts the detection of the next heartbeat. Also, if it is determined in step S213 that the relationship between the three minimum values ​​Min1, Min2, and Min3 does not satisfy the condition for determining the heartbeat time, the process returns to step S200 with i=k+1. In this case, the time difference value exceeding the threshold value TH detected in step S202 is due to noise and is not derived from a heartbeat, and the heartbeat has not yet been detected.

[0091] In this manner, by repeating the processes in steps S200 to S214, time series data of heartbeat times is obtained.

[0092] 7, the correction unit 12 corrects the heartbeat time calculated by the heartbeat time calculation unit 11 (step S3). More specifically, the correction unit 12 identifies the time at which the cardiac potential becomes 0 from the ECG waveform data based on the heartbeat time calculated by the heartbeat time calculation unit 11. The correction unit 12 also uses the identified time at which the cardiac potential becomes 0 as a reference time for calculating the RR interval. More specifically, the correction unit 12 identifies the time at which the cardiac potential becomes 0 on a line passing through two points, the ECG waveform data D(n) at the heartbeat time calculated by the heartbeat time calculation unit 11 and the immediately preceding ECG waveform data D(n-1), and sets this as the reference time for calculating the RR interval.

[0093] Next, the heart rate calculation unit 13 calculates the heart rate X [bpm] from the latest heart beat time corrected using the reference time at which the cardiac potential specified by the correction unit 12 is 0 (step S4). More specifically, the heart rate calculation unit 13 calculates the instantaneous heart rate X by the above-mentioned formula (3) when the RR interval, which is the time obtained by subtracting the previous heart beat time from the latest heart beat time calculated and determined by the correction unit 12, is RRI [ms]. Alternatively, the heart rate calculation unit 13 can be configured to calculate the average heart rate X by the above-mentioned formula (4) instead of the instantaneous heart rate.

[0094] Thereafter, the transmitter / receiver 15 transmits the instantaneous heart rate X or the average heart rate X calculated by the heart rate calculator 13 to an external terminal (not shown), such as a smartphone, via a communication network, either wired or wirelessly (step S5).

[0095] [Effects of heart rate detection devices] Next, the effect of the heartbeat detection device 1 according to this embodiment will be described with reference to Fig. 9. The example of Fig. 9 shows the detection results of RR intervals (RRI) with and without the correction unit 12 when a constant electrocardiogram waveform is input at a heart rate of 60 bpm. The horizontal axis of Fig. 9 shows time, and the vertical axis shows the RR interval. The "square" markers show the measurement results of a heartbeat detection device not equipped with the correction unit 12 according to the conventional example. On the other hand, the "circle" markers show the measurement results of a heartbeat detection device 1 equipped with the correction unit 12 according to this embodiment.

[0096] In the example of FIG. 9, the heartbeat time calculated by the heartbeat time calculation unit 11A described in References 1 and 2 is used as the heartbeat time calculation unit 11. The sampling interval is set to 10 [ms]. From the calculation result of FIG. 9, it can be seen that the detection error is reduced by introducing the correction unit 12. It has also been demonstrated that the heartbeat detection device 1 according to this embodiment can detect the heartbeat and RRI from the ECG waveform with an accuracy exceeding the sampling interval.

[0097] As described above, according to the heart rate detection device 1 of this embodiment, the time when the potential becomes 0 in the RS interval is estimated using the cardiac potential corresponding to the detection point on the RS and the point immediately preceding it, and the RR interval is corrected using the time interval of the estimated time, so that the heart rate of a living body can be measured more accurately.

[0098] Furthermore, according to this embodiment, even if the data acquisition interval when acquiring the user's heart rate with an electrocardiograph is made longer in order to save power, the user's heart rate can be accurately detected.

[0099] In the embodiment described above, the case of detecting the heart rate has been exemplified, but the present invention can also be applied to a case where the heart rate is calculated based on periodic biological information such as a pulse wave, in addition to the heart rate, and to correction of sample data of other feature quantities of the R-R interval included in the ECG waveform, such as P waves, Q waves, S waves, and T waves.

[0100] In the embodiment described above, the heartbeat time calculation unit 11 is specifically configured using the techniques described in Patent Document 3 and References 1 and 2. However, the heartbeat time calculation unit 11 is not limited to the heartbeat time calculation methods described in these documents, and the heartbeat detection device 1 according to the embodiment can be applied to any method.

[0101] Furthermore, compared to conventional heartbeat detection techniques, the heartbeat time calculation methods described in Patent Document 3 and References 1 and 2 can reduce false detection of heartbeats due to baseline fluctuations and steep noises caused by body movement, sweating, etc. Therefore, by combining the heartbeat time calculation methods described in Patent Document 3 and References 1 and 2 with the correction unit 12 according to the present invention, it is possible to calculate the heartbeat with higher accuracy.

[0102] The above describes embodiments of the heart rate detection device, heart rate detection method, and heart rate detection program of the present invention. However, the present invention is not limited to the described embodiments, and various modifications that a person skilled in the art can imagine are possible within the scope of the invention described in the claims. [Explanation of symbols]

[0103] 1...heart rate detection device, 10...sensor data acquisition unit, 11, 11A...heart rate time calculation unit, 12, ...correction unit, 13...heart rate calculation unit, 14...first memory unit, 15...transmission / reception unit, 110...first calculation unit, 111...first judgment unit, 112...second judgment unit, 113...second memory unit, 114...determination unit, 115...index value calculation unit, 116...acquisition unit, 101...CPU, 102...memory, 103...AFE, 104...ADC, 105...sensor, 106...communication I / F, 107...power supply.

Claims

1. a sensor data acquisition unit that acquires sensor data indicating an electrocardiogram waveform of a living body and outputs a sampling data string based on the sensor data; a first calculation unit that calculates a time difference value of the sampling data from the output sampling data sequence for each sampling time; a determination unit that determines a time when the time difference value calculated by the first calculation unit falls below a set negative threshold as a heartbeat time; a correction unit that sets a time when a cardiac potential becomes zero on a line passing through two points, the sampling data at the heartbeat time determined by the determination unit and the sampling data one sampling before the heartbeat time, as a corrected heartbeat time; a second calculation unit that calculates a heart rate of the living body from the corrected heart rate time; Equipped with A heartbeat detection device, characterized in that the sampling interval for sampling the electrocardiogram waveform is 12.5 ms or less, with a lower limit of 4 ms.

2. 2. The heart rate detection device according to claim 1, the two points of the sampling data at the heartbeat time determined by the determination unit and the sampling data one sample before the heartbeat time are points on an RS interval from the start of a QRS wave composed of a Q wave, an R wave, and an S wave included in the electrocardiogram waveform to a peak of an S wave, The correction unit determines a time when the cardiac potential becomes zero on the RS interval as the corrected cardiac time. A heart rate detection device comprising:

3. The heart rate detection device according to claim 1 or 2, The second calculation unit calculates an R-R interval, which is a time interval between an R wave and an immediately preceding R wave included in an electrocardiogram waveform of the living body, using the corrected heartbeat time, and calculates a heart rate of the living body from the R-R interval. A heart rate detection device comprising:

4. A first step of acquiring sensor data indicating an electrocardiogram waveform of a living body and outputting a sampling data string based on the sensor data; a second step of calculating a time difference value of the sampling data for each sampling time from the sampling data string output in the first step; a third step of determining a time when the time difference value calculated in the second step falls below a set negative threshold as a heartbeat time; a fourth step of determining a time when the cardiac potential becomes zero on a line passing through two points, the sampling data at the cardiac time determined in the third step and the sampling data one sampling before the cardiac time, as a corrected cardiac time; a fifth step of calculating a heart rate of the living body from the corrected heart rate time; Equipped with A heartbeat detection method, characterized in that the sampling interval for sampling the electrocardiogram waveform is 12.5 ms or less, with a lower limit of 4 ms.

5. 5. The method for detecting a heartbeat according to claim 4, the two points of the sampling data at the heartbeat time determined in the third step and the sampling data one sample before the heartbeat time are points on an RS interval from the start of a QRS wave, which is composed of a Q wave, an R wave, and an S wave, to the peak of an S wave, included in the electrocardiogram waveform; The fourth step determines the time when the cardiac potential becomes zero on the RS interval as the corrected cardiac time. A method for detecting a heartbeat comprising:

6. The heartbeat detection method according to claim 4 or 5, The fifth step is to calculate an R-R interval, which is a time interval between an R wave and the immediately preceding R wave included in the electrocardiogram of the living body, using the corrected heartbeat time, and to calculate a heart rate of the living body from the R-R interval. A method for detecting a heartbeat comprising:

7. On the computer, A first step of acquiring sensor data indicating an electrocardiogram waveform of a living body and outputting a sampling data string based on the sensor data; a second step of calculating a time difference value of the sampling data for each sampling time from the sampling data string output in the first step; a third step of determining a time when the time difference value calculated in the second step falls below a set negative threshold as a heartbeat time; a fourth step of determining a time when the cardiac potential becomes zero on a line passing through two points, the sampling data at the cardiac time determined in the third step and the sampling data one sampling before the cardiac time, as a corrected cardiac time; a fifth step of calculating a heart rate of the living body from the corrected heart rate time; Run the command, A heartbeat detection program, comprising: a sampling interval for sampling the electrocardiogram waveform that is equal to or less than 12.5 ms, with a lower limit of 4 ms.

Citation Information

Patent Citations

  • Fixing device

    JP1989004784A

  • Heart rate detection method and heart rate detection device

    JP2015156936A

  • Bio-information expectation device and bio-information expectation method

    JP2016077539A

  • Heart beat detection method and heart beat detection device

    JP2017029628A

  • User identification via motion and heartbeat waveform data

    US20170035327A1