[go: up one dir, main page]

WO2023032120A1 - Heartbeat detection method and heartbeat detection device - Google Patents

Heartbeat detection method and heartbeat detection device Download PDF

Info

Publication number
WO2023032120A1
WO2023032120A1 PCT/JP2021/032267 JP2021032267W WO2023032120A1 WO 2023032120 A1 WO2023032120 A1 WO 2023032120A1 JP 2021032267 W JP2021032267 W JP 2021032267W WO 2023032120 A1 WO2023032120 A1 WO 2023032120A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
wave
value
interval
hrmax
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP2021/032267
Other languages
French (fr)
Japanese (ja)
Inventor
伸昭 松浦
利彦 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to PCT/JP2021/032267 priority Critical patent/WO2023032120A1/en
Priority to JP2023544909A priority patent/JP7632659B2/en
Publication of WO2023032120A1 publication Critical patent/WO2023032120A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • A61B5/346Analysis of electrocardiograms
    • A61B5/349Detecting specific parameters of the electrocardiograph cycle
    • A61B5/352Detecting R peaks, e.g. for synchronising diagnostic apparatus; Estimating R-R interval

Definitions

  • the present invention relates to a heartbeat detection method and a heartbeat detection device for detecting a heartbeat from an electrocardiogram waveform.
  • the ECG (Electrocardiogram) waveform is an observation of the electrical activity of the heart and consists of a continuous heartbeat waveform.
  • One heartbeat waveform consists of components such as P wave, Q wave, R wave, S wave, T wave, etc., which reflect the activity of the atria and ventricles.
  • the R wave accompanies the contraction of the ventricle and has a large amplitude. Therefore, detection of the heartbeat is often performed based on the peak derived from the R wave.
  • Patent Document 1 As a conventional heartbeat detection method, there is a method disclosed in Patent Document 1.
  • the method disclosed in Patent Document 1 uses an index value that focuses on the relationship between the peak of the time difference value of the ECG waveform and the value in a certain time region before and after the peak, and uses a determination logic based on a threshold. to detect the R wave.
  • This method has the advantage that it is sensitive not only to the amplitude of the ECG waveform but also to the shape (time width of the peak), and can emphasize peaks that are likely to be R waves.
  • the R wave when the R wave is detected using the determination logic based on the threshold, it is normal for the index value to continue to exceed the threshold for a while after exceeding the threshold once.
  • the human heart rate since the human heart rate has an upper limit, it is reasonable to assume that the next R wave will not arrive immediately after the R wave. Therefore, after the detection of the R wave, a process of stopping the operation of detecting the R wave for a certain period of time is routinely performed.
  • RRI which is the time interval between the detected R wave and the previous R wave
  • the process of rejecting R-wave detection also has rationality.
  • the peak of the index value as described above may be gentle, or the index value may have multiple peaks. Sometimes it happens. For this reason, the timing at which it is determined that the index value exceeds the threshold may fluctuate back and forth by about 20 ms at maximum. This timing fluctuation, setting of the lower limit value of RRI, and skipping of R-wave detection may cause errors in R-wave detection and heart rate measurement.
  • time T1 is detected as the time of the R wave because the index value exceeds the threshold TH at time T1.
  • the index value next exceeds the threshold TH at time T2, and the interval between times T1 and T2 is 186 ms.
  • the skip width tskip after the R wave detection is set to 200 ms, and the R wave detection is suspended during the period up to 200 ms elapsed from the time T1, so the time T2 is detected as the time of the R wave. I can't.
  • the skip width tskip is changed to 180ms.
  • the lower limit RRI LOW of RRI is set to 200 ms and the interval between times T1 and T2 is 186 ms, 186 ms is not adopted as RRI and is excluded from the calculation of the instantaneous heart rate.
  • the index value next exceeds the threshold TH at time T3, but since the R-wave detection is suspended during the period up to 180 ms elapsed from time T2, time T3 is detected as the time of the R-wave. pass without doing so.
  • the present invention has been made to solve the above problems, and an object of the present invention is to provide a heartbeat detection method and a heartbeat detection device capable of accurately measuring the heart rate.
  • the heartbeat detection method of the present invention comprises a first step of detecting an R wave from an electrocardiogram waveform of a living body; and a third step of calculating a heart rate based on the RR interval, wherein the second step is the most recent R-wave detected in the first step. including the step of stopping R-wave detection during a period in which the elapsed time from the time is equal to or less than the skip width, wherein the skip width is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heart rate to be measured. It is characterized by being set.
  • the time obtained by subtracting the time of the previous R wave from the time of the latest R wave detected in the first step is the lower limit.
  • the lower limit is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heart rate to be measured. It is characterized by being
  • the skip width is set to a value shorter than (60000/HRmax)-20.
  • the lower limit is set to a value shorter than (60000/HRmax)-20.
  • the skip width is equal to or less than the lower limit.
  • the heartbeat detection apparatus of the present invention includes an R wave detection section configured to detect an R wave from an electrocardiogram waveform of a living body, and an R wave detected by the R wave detection section and an R wave immediately before the R wave.
  • An RR interval calculation unit configured to calculate an RR interval, which is a time interval, and a heart rate calculation unit configured to calculate a heart rate based on the RR interval,
  • the RR interval calculation unit stops R wave detection during a period in which the elapsed time from the time of the latest R wave detected by the R wave detection unit is equal to or less than the skip width, and the skip width is measured. It is characterized in that it is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heart rate to be applied.
  • the RR interval calculation unit subtracts the time of the previous R wave from the time of the latest R wave detected by the R wave detection unit. If the time is shorter than the lower limit, the calculated time is not adopted as the RR interval, and the lower limit is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heart rate to be measured. It is characterized by being set.
  • the skip width by setting the skip width to a value shorter than 60000/HRmax with respect to the upper limit value HRmax of the heart rate to be measured, it is possible to detect the R wave without failing to detect the heart rate. It can be measured accurately.
  • FIG. 1 is a block diagram showing the configuration of a heartbeat detection device according to an embodiment of the present invention.
  • FIG. 2 is a flow chart illustrating the operation of the heartbeat detection device according to the embodiment of the present invention.
  • FIG. 3 is a block diagram showing the configuration of the R-wave detector of the heartbeat detector according to the embodiment of the present invention.
  • FIG. 4 is a flow chart for explaining the operation of the R-wave detector of the heartbeat detector according to the embodiment of the present invention.
  • FIG. 5 is a diagram for explaining an operation example of the heartbeat detection device according to the embodiment of the present invention.
  • FIG. 6 is a diagram illustrating an example of operation of the heartbeat detection device according to the embodiment of the present invention.
  • FIG. 7 is a block diagram showing a configuration example of a computer that implements the heartbeat detection device according to the embodiment of the present invention.
  • FIG. 8 is a diagram for explaining a conventional heartbeat detection method.
  • FIG. 9 is a diagram for explaining a conventional heartbeat detection method.
  • FIG. 1 is a block diagram showing the configuration of a heartbeat detection device according to an embodiment of the present invention.
  • the heart rate detection device includes an electrocardiograph 1 that outputs an ECG waveform sampling data string, a storage unit 2 that stores an ECG waveform sampling data string and sampling time information, and R An R-wave detector 3 that detects waves, an RR interval calculator 4 that calculates RR intervals from time-series data of R-wave times, and a heart rate that calculates heart rates based on RR intervals. and a calculator 5 .
  • D(i) is a data string obtained by sampling an ECG waveform.
  • the electrocardiograph 1 measures an ECG waveform of a living body (human body) (not shown) and outputs a sampling data string D(i) of the ECG waveform (step S1 in FIG. 2). At this time, the electrocardiograph 1 adds sampling time information to each sampling data and outputs the data. Since the specific method of measuring the ECG waveform is a well-known technique, detailed description thereof will be omitted.
  • the storage unit 2 stores the sampling data sequence D(i) of the ECG waveform output from the electrocardiograph 1 and the information on the sampling time.
  • the R-wave detection unit 3 detects R-waves from the ECG waveform sampling data sequence D(i) stored in the storage unit 2 (step S2 in FIG. 2).
  • the R-wave detection unit 3 includes a positive/negative inversion value calculation unit 30 that calculates the positive/negative inversion value of the time difference of the sampling data from the sampled data string of the ECG waveform at each sampling time, and a time range A before the sampling time to be processed. and the time difference positive/negative reversed value in the time range B after the sampling time to be processed.
  • An index value calculation unit 32 that calculates an index value obtained by subtracting the maximum value from the time difference positive/negative inversion value at each sampling time, and sets the sampling time to be processed to the time of the R wave when the index value exceeds a predetermined threshold. and a time determination unit 33 .
  • the maximum value detection unit 31 includes a FIFO buffer (First In, First Out) 310 to which the time difference positive/negative inversion value calculated by the positive/negative inversion value calculation unit 30 is input, and a FIFO buffer to which the output value of the FIFO buffer 310 is input. 311, a FIFO buffer 312 that receives the output value of the FIFO buffer 311, and the maximum value M of the positive/negative inverted value of the time difference stored in the FIFO buffer 310 and the inverted positive/negative value of the time difference stored in the FIFO buffer 312. and a detection processing unit 313 that performs detection at each sampling time.
  • a FIFO buffer First In, First Out
  • the index value calculation unit 32 calculates the maximum value detected by the maximum value detection unit 31 from the FIFO buffer 320 to which the time difference positive/negative inversion value calculated by the positive/negative value calculation unit 30 is input, and the output value of the FIFO buffer 320. and a subtraction processing unit 321 that calculates an index value x obtained by subtracting M at each sampling time.
  • the positive/negative inversion value calculation unit 30 inputs the calculated time difference positive/negative inversion value Y(i) to the FIFO buffer 320 at each sampling time (step S102 in FIG. 4).
  • the positive/negative inversion value calculation unit 30 inputs the calculated time difference positive/negative inversion value Y(i) to the FIFO buffer 310 at each sampling time (step S103 in FIG. 4).
  • the output of FIFO buffer 310 is input to FIFO buffer 311 (step S104 in FIG. 4), and the output of FIFO buffer 311 is input to FIFO buffer 312 (step S105 in FIG. 4).
  • the FIFO buffers 310 to 312 are for obtaining the maximum value M of the time difference positive/negative inversion values in the time ranges A and B.
  • the time interval L3 corresponding to the length of the FIFO buffer 311 is the width of the peak derived from the R wave (approximately 10 ms). ), preferably about 50 ms.
  • This interval L3 is the interval between the time ranges A and B.
  • L1 is 125 ms.
  • the maximum value M can be obtained for the range from (L3/2) to (L2+L3/2), and the maximum value M can be subtracted from the output value a.
  • the detection processing unit 313 detects the maximum value M of the time difference positive/negative inversion value stored in the FIFO buffer 310 and the time difference positive/negative inversion value stored in the FIFO buffer 312 at each sampling time (step S106 in FIG. 4). .
  • the time determining unit 33 determines that the sampling time of the index value x(i) is appropriate as the time of the R wave. Determine if there is, and fix the time of the R wave. Specifically, the time determination unit 33 determines whether the time difference ⁇ T between the sampling time of the index value x(i) exceeding the threshold TH and the time of the immediately preceding R wave is longer than a preset skip width tskip. (step S109 in FIG.
  • step S109 skip processing of R-wave detection can be realized. If the sampling time of the index value x(i) is not adopted as the time of the R wave, the processing target is shifted to the sampling data D(i) at the next sampling time, and the processing after step S100 is performed again. .
  • the time determining unit 33 sets the sampling time of the index value x(i) exceeding the threshold TH as the time of the R wave (Fig. 4 step S110).
  • the time difference positive/negative inversion value Y(i) is calculated from the sampling data D(i), and the index value x(i) is calculated from the time difference positive/negative inversion value Y(i). Therefore, the sampling time of the index value x(i) is the sampling time of the time difference positive/negative inversion value Y(i) (the sampling time of the data D(i)), which can be obtained from the storage unit 2. is.
  • time-series data of the time of the R wave can be obtained.
  • the time-series data of the time of the detected R wave is stored in the storage unit 2 .
  • the above R-wave detection method is an example, and the R-wave may be detected by other methods.
  • the skip width tskip is set to be equal to or less than the lower limit value of the RR interval (RRI).
  • the upper limit of the instantaneous heart rate to be measured is HRmax [bpm]
  • the lower limit of RRI RRI LOW is greater than 0 and less than (60000/HRmax) [ms]. More specifically, the lower limit value RRI LOW of RRI is set to a value greater than 0 and less than ((60000/HRmax)-20) [ms].
  • the assumed instantaneous heart rate upper limit HRmax is, for example, 300 bpm.
  • the skip width tskip is greater than 0 and less than (60000/HRmax) [ms]. More specifically, the skip width tskip is set to a value greater than 0 and less than ((60000/HRmax)-20) [ms].
  • the RR interval calculator 4 calculates the time d by subtracting the time of the previous R wave from the time of the latest R wave detected by the R wave detector 3 (step S3 in FIG. 2). . If the calculated time d is shorter than the preset lower limit value RRI LOW of RRI (NO in step S4 in FIG. 2), the RR interval calculator 4 discards the time d as the RRI without adopting it. If the time d is equal to or greater than the lower limit value RRI LOW (YES in step S4), the RR interval calculator 4 determines the time d as RRI [ms] (step S5 in FIG. 2).
  • the heart rate calculator 5 also calculates the average heart rate HRave(i) [bpm] for each RRI (step S7 in FIG. 2).
  • HR(i) be the instantaneous heart rate obtained from the i-th RRI(i) before averaging, as described above, and HRave(i-1) is the value obtained by averaging the instantaneous heart rates up to the i-1th, and a predetermined If the averaging coefficient of is r, the value HRave(i) obtained by averaging up to the i-th instantaneous heart rate can be obtained by equation (3).
  • HRave(i) r ⁇ HR(i)+(1 ⁇ r) ⁇ HRave(i ⁇ 1) ...
  • time-series data of the instantaneous heart rate HR(i) and the average heart rate HRave(i) are obtained.
  • the calculated time-series data are stored in the storage unit 2 .
  • FIG. 5 shows an example in which the heartbeat detection method according to this embodiment is applied to the example of FIG.
  • the skip width tskip is set to 180 ms.
  • the index value x exceeds the threshold TH at time T1, so the R-wave detector 3 detects time T1 as the time of the R-wave.
  • the time T2 at which the index value x exceeds the threshold TH can be detected appropriately.
  • FIG. 6 shows an example in which the heartbeat detection method according to this embodiment is applied to the example of FIG.
  • the RR interval calculator 4 adopts the time d as the RRI.
  • RRI can be detected appropriately.
  • the peak of the index value x can be detected without missing, the average heart rate can also be calculated appropriately.
  • the storage unit 2, the R wave detection unit 3, the RR interval calculation unit 4, and the heart rate calculation unit 5 of the heartbeat detection device described in the present embodiment include a CPU (Central Processing Unit), a storage device, and an interface. It can be realized by a computer and a program that controls these hardware resources. A configuration example of this computer is shown in FIG.
  • the computer includes a CPU 100, a storage device 101, and an interface device (I/F) 102.
  • the I/F 102 is connected with the electrocardiograph 1 and the like.
  • a program for implementing the heartbeat detection method of the present invention is stored in the storage device 101 .
  • the CPU 100 executes the processing described in this embodiment according to the programs stored in the storage device 101 .
  • the present invention can be applied to technology for detecting the heartbeat of a living body.
  • SYMBOLS 1 Electrocardiograph, 2... Storage part, 3... R wave detection part, 4... RR interval calculation part, 5... Heart rate calculation part, 30... Positive/negative inversion value calculation part, 31... Maximum value detection part, 32 ... index value calculation section, 33 ... time determination section, 310 to 312, 320 ... FIFO buffer, 313 ... detection processing section, 321 ... subtraction processing section.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Cardiology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Biophysics (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

This heartbeat detection device comprises: an R wave detection unit (3) that detects R waves from an electrocardiogram; an R-R interval calculation unit (4) that calculates an R-R interval, which is the time interval between an R wave and the preceding R wave that were detected by the R wave detection unit (3); and a heart rate calculation unit (5) that calculates a heart rate on the basis of the R-R interval. The R-R interval calculation unit (4) pauses R wave detection during a period in which the elapsed time since the time of the most recent R wave is less than or equal to a skip width. The skip width is set as a value that is shorter than 60000/HRmax, where HRmax is the maximum value of the heart rate to be measured.

Description

心拍検出方法および心拍検出装置Heartbeat detection method and heartbeat detection device

 本発明は、心電図波形から心拍数を検出するための心拍検出方法および心拍検出装置に関するものである。 The present invention relates to a heartbeat detection method and a heartbeat detection device for detecting a heartbeat from an electrocardiogram waveform.

 ECG(Electrocardiogram、心電図)波形は、心臓の電気的な活動を観測したもので、連続した心拍の波形からなる。1つの心拍波形は、それぞれ心房や心室の活動を反映したP波、Q波、R波、S波、T波等の成分からなっている。そのうち、心室の収縮に伴うものがR波であり、振幅も大きいため、心拍の検出はR波由来のピークに基づいて行われることが多い。 The ECG (Electrocardiogram) waveform is an observation of the electrical activity of the heart and consists of a continuous heartbeat waveform. One heartbeat waveform consists of components such as P wave, Q wave, R wave, S wave, T wave, etc., which reflect the activity of the atria and ventricles. Of these waves, the R wave accompanies the contraction of the ventricle and has a large amplitude. Therefore, detection of the heartbeat is often performed based on the peak derived from the R wave.

 従来の心拍検出方法として、特許文献1に開示された方法がある。特許文献1に開示された方法は、ECG波形の時間差分値のピークと、その前後の一定の時間領域での値との関係に着目した指標値を利用し、閾値に基づいた判定ロジックを用いてR波を検出するものである。この方法には、ECG波形の振幅だけでなく形状(ピークの時間幅)にも感度を有し、R波として尤もらしいピークを強調できるといった利点がある。 As a conventional heartbeat detection method, there is a method disclosed in Patent Document 1. The method disclosed in Patent Document 1 uses an index value that focuses on the relationship between the peak of the time difference value of the ECG waveform and the value in a certain time region before and after the peak, and uses a determination logic based on a threshold. to detect the R wave. This method has the advantage that it is sensitive not only to the amplitude of the ECG waveform but also to the shape (time width of the peak), and can emphasize peaks that are likely to be R waves.

 一方、閾値に基づいた判定ロジックを用いてR波を検出する場合、指標値が一度閾値を超えた後も、閾値を超えた状態が暫く続くことが普通である。また、人の心拍数には上限があるため、R波の直後に次のR波が到来することはないと考えることは妥当である。したがって、R波の検出後に、一定の期間、R波検出の動作を停止するといった処理が、常套的に行われる。 On the other hand, when the R wave is detected using the determination logic based on the threshold, it is normal for the index value to continue to exceed the threshold for a while after exceeding the threshold once. In addition, since the human heart rate has an upper limit, it is reasonable to assume that the next R wave will not arrive immediately after the R wave. Therefore, after the detection of the R wave, a process of stopping the operation of detecting the R wave for a certain period of time is routinely performed.

 また、検出したR波とその前のR波との時間間隔であるR-R間隔(R-R interval:RRI)が、標準より短過ぎる場合、R波ではないノイズ等を誤って検出したと判断して、R波検出を却下するという処理にも合理性がある。また、R波検出においては、ECG波形へのノイズ混入等によるエラーに起因して、瞬時心拍数(=60000/RRI)の値が正常値からずれる場合がある。そこで、瞬時心拍数に対し時間的に平均化処理を施して安定化させた平均心拍数を出力することが一般的である。 In addition, if the RR interval (RRI), which is the time interval between the detected R wave and the previous R wave, is too short than the standard, it is determined that noise, etc. other than the R wave was erroneously detected. Therefore, the process of rejecting R-wave detection also has rationality. Also, in R-wave detection, the value of the instantaneous heart rate (=60000/RRI) may deviate from the normal value due to an error due to noise mixed into the ECG waveform. Therefore, it is common to output a stabilized average heart rate by temporally averaging the instantaneous heart rate.

 しかしながら、ECG波形には個人差があり、Q波、R波、S波の形によっては、前述のような指標値のピークがなだらかであったり、指標値が複数のピークを持つような形になったりすることがある。このため、指標値が閾値を超えたと判断されるタイミングが、最大で20ms程度、前後に揺らいでしまうことがある。このタイミングの揺らぎとRRIの下限値の設定とR波検出のスキップ処理は、R波の検出や心拍数の計測を誤る原因となり得る。 However, there are individual differences in the ECG waveform, and depending on the shape of the Q wave, R wave, and S wave, the peak of the index value as described above may be gentle, or the index value may have multiple peaks. Sometimes it happens. For this reason, the timing at which it is determined that the index value exceeds the threshold may fluctuate back and forth by about 20 ms at maximum. This timing fluctuation, setting of the lower limit value of RRI, and skipping of R-wave detection may cause errors in R-wave detection and heart rate measurement.

 以下、R波の検出や心拍数の計測を誤る理由について説明する。図8、図9は、従来の心拍検出方法により算出した指標値の例を示す図である。ただし、指標値を閾値THの近辺のみ示している。ここでは、計測すべき心拍数の上限が300bpmであり、観測したECG波形から得られる心拍数も300bpmである場合を考える。指標値には、連続する2つのピークP1,P2が出現している。ピークP1,P2の中心点同士は、心拍数300bpmに相当するRRI=200ms分だけ離れている。ピークP1,P2のそれぞれの先端部は、尖った形状ではなく、なだらかに波打った形状になっている。 Below, we will explain the reasons why R-wave detection and heart rate measurement are incorrect. 8 and 9 are diagrams showing examples of index values calculated by a conventional heartbeat detection method. However, the index values are shown only in the vicinity of the threshold TH. Here, it is assumed that the upper limit of the heart rate to be measured is 300 bpm and the heart rate obtained from the observed ECG waveform is also 300 bpm. Two consecutive peaks P1 and P2 appear in the index value. The center points of the peaks P1 and P2 are separated by RRI=200 ms, which corresponds to a heart rate of 300 bpm. Each of the peaks P1 and P2 has a gently wavy shape instead of a sharp shape.

 図8の例では、時刻T1で指標値が閾値THを超えたことにより、時刻T1がR波の時刻として検出される。指標値が次に閾値THを超えるのは時刻T2であり、時刻T1とT2の間隔は186msである。しかしながら、R波検出後のスキップ幅tskipが200msに設定されており、時刻T1からの経過時間が200msまでの期間中はR波検出を一時停止するので、時刻T2をR波の時刻として検出することができない。 In the example of FIG. 8, time T1 is detected as the time of the R wave because the index value exceeds the threshold TH at time T1. The index value next exceeds the threshold TH at time T2, and the interval between times T1 and T2 is 186 ms. However, the skip width tskip after the R wave detection is set to 200 ms, and the R wave detection is suspended during the period up to 200 ms elapsed from the time T1, so the time T2 is detected as the time of the R wave. I can't.

 図9の例では、スキップ幅tskipを180msに改めている。図8の例と同様に時刻T1で指標値が閾値THを超えたことにより、時刻T1がR波の時刻として検出される。さらに時刻T1からの経過時間がtskip=180msを超えた後に、時刻T2で指標値が閾値THを超えることにより、時刻T2がR波の時刻として検出される。ただし、RRIの下限値RRILOWが200msに設定されており、時刻T1とT2の間隔が186msであることから、186msがRRIとして採用されることはなく、瞬時心拍数の算出から除外される。また、指標値が次に閾値THを超えるのは時刻T3であるが、時刻T2からの経過時間が180msまでの期間中はR波検出を一時停止するので、時刻T3をR波の時刻として検出せずに通過してしまう。 In the example of FIG. 9, the skip width tskip is changed to 180ms. As in the example of FIG. 8, the index value exceeds the threshold TH at time T1, so time T1 is detected as the time of the R wave. Furthermore, after the elapsed time from time T1 exceeds tskip=180 ms, the index value exceeds the threshold TH at time T2, and time T2 is detected as the time of the R wave. However, since the lower limit RRI LOW of RRI is set to 200 ms and the interval between times T1 and T2 is 186 ms, 186 ms is not adopted as RRI and is excluded from the calculation of the instantaneous heart rate. Also, the index value next exceeds the threshold TH at time T3, but since the R-wave detection is suspended during the period up to 180 ms elapsed from time T2, time T3 is detected as the time of the R-wave. pass without doing so.

 図8、図9の例のように指標値が閾値THを超えるタイミングに揺らぎがあるような場合でも、それぞれのピークを逃さずに検出していれば、RRIの瞬時値が変動したとしても、RRIを平均すれば一定の値となり、適切な平均心拍数を求めることができる。しかしながら、RRIの下限値を、計測すべき心拍数の上限に合わせて余裕なく設定していると、図9の例のようにRRIが短い側に振れたケースを除外してしまうため、平均心拍数は実際より小さい側に偏って算出されてしまう。 Even if there is fluctuation in the timing at which the index value exceeds the threshold TH as in the examples of FIGS. If the RRI is averaged, it becomes a constant value, and an appropriate average heart rate can be obtained. However, if the lower limit of the RRI is set in accordance with the upper limit of the heart rate to be measured without a margin, cases in which the RRI swings to the short side as shown in the example of FIG. 9 are excluded. The numbers are calculated biased towards the smaller side.

特許第6527286号公報Japanese Patent No. 6527286

 本発明は、上記課題を解決するためになされたもので、心拍数を的確に計測できる心拍検出方法および心拍検出装置を提供することを目的とする。 The present invention has been made to solve the above problems, and an object of the present invention is to provide a heartbeat detection method and a heartbeat detection device capable of accurately measuring the heart rate.

 本発明の心拍検出方法は、生体の心電図波形からR波を検出する第1のステップと、前記第1のステップで検出したR波と1つ前のR波の時間間隔であるR-R間隔を算出する第2のステップと、前記R-R間隔に基づいて心拍数を算出する第3のステップとを含み、前記第2のステップは、前記第1のステップで検出した最新のR波の時刻からの経過時間がスキップ幅以下の期間中はR波検出を停止するステップを含み、前記スキップ幅は、計測すべき心拍数の上限値をHRmaxとしたとき、60000/HRmaxよりも短い値に設定されることを特徴とするものである。
 また、本発明の心拍検出方法の1構成例において、前記第2のステップは、前記第1のステップで検出した最新のR波の時刻から1つ前のR波の時刻を引いた時間が下限値よりも短い場合に、算出した時間をR-R間隔として採用しないステップを含み、前記下限値は、計測すべき心拍数の上限値をHRmaxとしたとき、60000/HRmaxよりも短い値に設定されることを特徴とするものである。
The heartbeat detection method of the present invention comprises a first step of detecting an R wave from an electrocardiogram waveform of a living body; and a third step of calculating a heart rate based on the RR interval, wherein the second step is the most recent R-wave detected in the first step. including the step of stopping R-wave detection during a period in which the elapsed time from the time is equal to or less than the skip width, wherein the skip width is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heart rate to be measured. It is characterized by being set.
In one configuration example of the heartbeat detection method of the present invention, in the second step, the time obtained by subtracting the time of the previous R wave from the time of the latest R wave detected in the first step is the lower limit. The lower limit is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heart rate to be measured. It is characterized by being

 また、本発明の心拍検出方法の1構成例において、前記スキップ幅は、(60000/HRmax)-20よりも短い値に設定される。
 また、本発明の心拍検出方法の1構成例において、前記下限値は、(60000/HRmax)-20よりも短い値に設定される。
 また、本発明の心拍検出方法の1構成例において、前記スキップ幅は、前記下限値以下である。
In one configuration example of the heartbeat detection method of the present invention, the skip width is set to a value shorter than (60000/HRmax)-20.
In one configuration example of the heartbeat detection method of the present invention, the lower limit is set to a value shorter than (60000/HRmax)-20.
In one configuration example of the heartbeat detection method of the present invention, the skip width is equal to or less than the lower limit.

 また、本発明の心拍検出装置は、生体の心電図波形からR波を検出するように構成されたR波検出部と、前記R波検出部によって検出されたR波と1つ前のR波の時間間隔であるR-R間隔を算出するように構成されたR-R間隔算出部と、前記R-R間隔に基づいて心拍数を算出するように構成された心拍数算出部とを備え、前記R-R間隔算出部は、前記R波検出部によって検出された最新のR波の時刻からの経過時間がスキップ幅以下の期間中はR波検出を停止し、前記スキップ幅は、計測すべき心拍数の上限値をHRmaxとしたとき、60000/HRmaxよりも短い値に設定されることを特徴とするものである。
 また、本発明の心拍検出装置の1構成例において、前記R-R間隔算出部は、前記R波検出部によって検出された最新のR波の時刻から1つ前のR波の時刻を引いた時間が下限値よりも短い場合に、算出した時間をR-R間隔として採用せず、前記下限値は、計測すべき心拍数の上限値をHRmaxとしたとき、60000/HRmaxよりも短い値に設定されることを特徴とするものである。
Further, the heartbeat detection apparatus of the present invention includes an R wave detection section configured to detect an R wave from an electrocardiogram waveform of a living body, and an R wave detected by the R wave detection section and an R wave immediately before the R wave. An RR interval calculation unit configured to calculate an RR interval, which is a time interval, and a heart rate calculation unit configured to calculate a heart rate based on the RR interval, The RR interval calculation unit stops R wave detection during a period in which the elapsed time from the time of the latest R wave detected by the R wave detection unit is equal to or less than the skip width, and the skip width is measured. It is characterized in that it is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heart rate to be applied.
Further, in one configuration example of the heartbeat detection device of the present invention, the RR interval calculation unit subtracts the time of the previous R wave from the time of the latest R wave detected by the R wave detection unit. If the time is shorter than the lower limit, the calculated time is not adopted as the RR interval, and the lower limit is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heart rate to be measured. It is characterized by being set.

 本発明によれば、計測すべき心拍数の上限値HRmaxに対してスキップ幅を60000/HRmaxよりも短い値に設定することにより、R波を取りこぼすことなく検出することができ、心拍数を的確に計測することができる。 According to the present invention, by setting the skip width to a value shorter than 60000/HRmax with respect to the upper limit value HRmax of the heart rate to be measured, it is possible to detect the R wave without failing to detect the heart rate. It can be measured accurately.

図1は、本発明の実施例に係る心拍検出装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a heartbeat detection device according to an embodiment of the present invention. 図2は、本発明の実施例に係る心拍検出装置の動作を説明するフローチャートである。FIG. 2 is a flow chart illustrating the operation of the heartbeat detection device according to the embodiment of the present invention. 図3は、本発明の実施例に係る心拍検出装置のR波検出部の構成を示すブロック図である。FIG. 3 is a block diagram showing the configuration of the R-wave detector of the heartbeat detector according to the embodiment of the present invention. 図4は、本発明の実施例に係る心拍検出装置のR波検出部の動作を説明するフローチャートである。FIG. 4 is a flow chart for explaining the operation of the R-wave detector of the heartbeat detector according to the embodiment of the present invention. 図5は、本発明の実施例に係る心拍検出装置の動作例を説明する図である。FIG. 5 is a diagram for explaining an operation example of the heartbeat detection device according to the embodiment of the present invention. 図6は、本発明の実施例に係る心拍検出装置の動作例を説明する図である。FIG. 6 is a diagram illustrating an example of operation of the heartbeat detection device according to the embodiment of the present invention. 図7は、本発明の実施例に係る心拍検出装置を実現するコンピュータの構成例を示すブロック図である。FIG. 7 is a block diagram showing a configuration example of a computer that implements the heartbeat detection device according to the embodiment of the present invention. 図8は、従来の心拍検出方法を説明する図である。FIG. 8 is a diagram for explaining a conventional heartbeat detection method. 図9は、従来の心拍検出方法を説明する図である。FIG. 9 is a diagram for explaining a conventional heartbeat detection method.

 以下、本発明の実施例について図面を参照して説明する。図1は本発明の実施例に係る心拍検出装置の構成を示すブロック図である。心拍検出装置は、ECG波形のサンプリングデータ列を出力する心電計1と、ECG波形のサンプリングデータ列とサンプリング時刻の情報とを記憶する記憶部2と、ECG波形のサンプリングデータ列の中からR波を検出するR波検出部3と、R波の時刻の時系列データからR-R間隔を算出するR-R間隔算出部4と、R-R間隔に基づいて心拍数を算出する心拍数算出部5とを備えている。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a heartbeat detection device according to an embodiment of the present invention. The heart rate detection device includes an electrocardiograph 1 that outputs an ECG waveform sampling data string, a storage unit 2 that stores an ECG waveform sampling data string and sampling time information, and R An R-wave detector 3 that detects waves, an RR interval calculator 4 that calculates RR intervals from time-series data of R-wave times, and a heart rate that calculates heart rates based on RR intervals. and a calculator 5 .

 次に、本実施例の心拍検出装置の動作を図2を用いて説明する。本実施例では、ECG波形をサンプリングしたデータ列をD(i)とする。i(i=1,2,…)は1サンプリングのデータに付与される番号である。番号iが大きくなる程、サンプリング時刻が後になることは言うまでもない。 Next, the operation of the heartbeat detection device of this embodiment will be explained using FIG. In this embodiment, D(i) is a data string obtained by sampling an ECG waveform. i (i=1, 2, . . . ) is a number given to data of one sampling. Needless to say, the larger the number i, the later the sampling time.

 心電計1は、図示しない生体(人体)のECG波形を測定し、ECG波形のサンプリングデータ列D(i)を出力する(図2ステップS1)。このとき、心電計1は、各サンプリングデータにサンプリング時刻の情報を付加して出力する。ECG波形の具体的な測定方法は周知の技術であるので、詳細な説明は省略する。記憶部2は、心電計1から出力されたECG波形のサンプリングデータ列D(i)とサンプリング時刻の情報とを記憶する。 The electrocardiograph 1 measures an ECG waveform of a living body (human body) (not shown) and outputs a sampling data string D(i) of the ECG waveform (step S1 in FIG. 2). At this time, the electrocardiograph 1 adds sampling time information to each sampling data and outputs the data. Since the specific method of measuring the ECG waveform is a well-known technique, detailed description thereof will be omitted. The storage unit 2 stores the sampling data sequence D(i) of the ECG waveform output from the electrocardiograph 1 and the information on the sampling time.

 R波検出部3は、記憶部2に格納されたECG波形のサンプリングデータ列D(i)の中から、R波を検出する(図2ステップS2)。 The R-wave detection unit 3 detects R-waves from the ECG waveform sampling data sequence D(i) stored in the storage unit 2 (step S2 in FIG. 2).

  図3はR波検出部3の構成を示すブロック図である。R波検出部3は、ECG波形のサンプリングデータ列からサンプリングデータの時間差分の正負反転値をサンプリング時刻ごとに算出する正負反転値算出部30と、処理対象のサンプリング時刻よりも前の時間範囲Aの時間差分正負反転値と処理対象のサンプリング時刻よりも後の時間範囲Bの時間差分正負反転値のうちの最大値をサンプリング時刻毎に検出する最大値検出部31と、処理対象のサンプリング時刻の時間差分正負反転値から最大値を引いた指標値をサンプリング時刻毎に算出する指標値算出部32と、指標値が所定の閾値を超えたときに処理対象のサンプリング時刻をR波の時刻とする時刻決定部33とを備えている。 3 is a block diagram showing the configuration of the R-wave detector 3. As shown in FIG. The R-wave detection unit 3 includes a positive/negative inversion value calculation unit 30 that calculates the positive/negative inversion value of the time difference of the sampling data from the sampled data string of the ECG waveform at each sampling time, and a time range A before the sampling time to be processed. and the time difference positive/negative reversed value in the time range B after the sampling time to be processed. An index value calculation unit 32 that calculates an index value obtained by subtracting the maximum value from the time difference positive/negative inversion value at each sampling time, and sets the sampling time to be processed to the time of the R wave when the index value exceeds a predetermined threshold. and a time determination unit 33 .

 最大値検出部31は、正負反転値算出部30によって算出された時間差分正負反転値を入力とするFIFOバッファ(First In,First Out)310と、FIFOバッファ310の出力値を入力とするFIFOバッファ311と、FIFOバッファ311の出力値を入力とするFIFOバッファ312と、FIFOバッファ310に格納された時間差分正負反転値およびFIFOバッファ312に格納された時間差分正負反転値のうちの最大値Mをサンプリング時刻ごとに検出する検出処理部313とから構成される。 The maximum value detection unit 31 includes a FIFO buffer (First In, First Out) 310 to which the time difference positive/negative inversion value calculated by the positive/negative inversion value calculation unit 30 is input, and a FIFO buffer to which the output value of the FIFO buffer 310 is input. 311, a FIFO buffer 312 that receives the output value of the FIFO buffer 311, and the maximum value M of the positive/negative inverted value of the time difference stored in the FIFO buffer 310 and the inverted positive/negative value of the time difference stored in the FIFO buffer 312. and a detection processing unit 313 that performs detection at each sampling time.

 指標値算出部32は、正負反転値算出部30によって算出された時間差分正負反転値を入力とするFIFOバッファ320と、FIFOバッファ320の出力値から、最大値検出部31によって検出された最大値Mを引いた指標値xをサンプリング時刻ごとに算出する減算処理部321とから構成される。 The index value calculation unit 32 calculates the maximum value detected by the maximum value detection unit 31 from the FIFO buffer 320 to which the time difference positive/negative inversion value calculated by the positive/negative value calculation unit 30 is input, and the output value of the FIFO buffer 320. and a subtraction processing unit 321 that calculates an index value x obtained by subtracting M at each sampling time.

 以下、本実施例のR波検出部3の動作を図4を用いて説明する。正負反転値算出部30は、サンプリングデータD(i)の時間差分正負反転値Y(i)を算出するため、サンプリングデータD(i)の1サンプリング後のデータD(i+1)と1サンプリング前のデータD(i-1)とを記憶部2から取得する(図4ステップS100)。そして、正負反転値算出部30は、サンプリングデータD(i)の時間差分正負反転値Y(i)を次式のようにサンプリング時刻ごとに算出する(図4ステップS101)。
 Y(i)=-{D(i+1)-D(i-1)}      ・・・(1)
The operation of the R-wave detector 3 of this embodiment will be described below with reference to FIG. In order to calculate the time difference positive/negative inversion value Y(i) of the sampling data D(i), the positive/negative inversion value calculation unit 30 calculates the data D(i+1) after one sampling of the sampling data D(i) and the data D(i+1) one sampling before. Data D(i-1) are obtained from the storage unit 2 (step S100 in FIG. 4). Then, the positive/negative inversion value calculator 30 calculates the time difference positive/negative inversion value Y(i) of the sampling data D(i) for each sampling time as shown in the following equation (step S101 in FIG. 4).
Y(i)=-{D(i+1)-D(i-1)} (1)

 正負反転値算出部30は、算出した時間差分正負反転値Y(i)をサンプリング時刻ごとにFIFOバッファ320に入力する(図4ステップS102)。 The positive/negative inversion value calculation unit 30 inputs the calculated time difference positive/negative inversion value Y(i) to the FIFO buffer 320 at each sampling time (step S102 in FIG. 4).

 また、正負反転値算出部30は、算出した時間差分正負反転値Y(i)をサンプリング時刻ごとにFIFOバッファ310に入力する(図4ステップS103)。FIFOバッファ310の出力はFIFOバッファ311に入力され(図4ステップS104)、FIFOバッファ311の出力はFIFOバッファ312に入力される(図4ステップS105)。FIFOバッファ310~312は、時間範囲A,Bでの時間差分正負反転値の最大値Mを求めるためのものである。 In addition, the positive/negative inversion value calculation unit 30 inputs the calculated time difference positive/negative inversion value Y(i) to the FIFO buffer 310 at each sampling time (step S103 in FIG. 4). The output of FIFO buffer 310 is input to FIFO buffer 311 (step S104 in FIG. 4), and the output of FIFO buffer 311 is input to FIFO buffer 312 (step S105 in FIG. 4). The FIFO buffers 310 to 312 are for obtaining the maximum value M of the time difference positive/negative inversion values in the time ranges A and B. FIG.

 FIFOバッファ311の長さに相当する時間間隔L3(時間差分正負反転値がFIFOバッファ311に入力されてから出力されるまでの遅延時間)は、R波由来のピークの幅(概ね10ms程度である)に対して十分広くしておく必要があり、50ms程度が好ましい。この間隔L3が時間範囲AとBの間隔になる。また、FIFOバッファ310の長さに相当する時間間隔L2(時間差分正負反転値がFIFOバッファ310に入力されてから出力されるまでの遅延時間)、およびFIFOバッファ312の長さに相当する時間間隔L4(時間差分正負反転値がFIFOバッファ312に入力されてから出力されるまでの遅延時間で、L2=L4)は、100ms程度が適当である。 The time interval L3 corresponding to the length of the FIFO buffer 311 (the delay time from when the time difference positive/negative inversion value is input to the FIFO buffer 311 until it is output) is the width of the peak derived from the R wave (approximately 10 ms). ), preferably about 50 ms. This interval L3 is the interval between the time ranges A and B. Also, a time interval L2 corresponding to the length of the FIFO buffer 310 (a delay time from when the time difference positive/negative inversion value is input to the FIFO buffer 310 until it is output), and a time interval corresponding to the length of the FIFO buffer 312 L4 (the delay time from when the time difference positive/negative inversion value is input to the FIFO buffer 312 until it is output, L2=L4) is appropriately about 100 ms.

 また、FIFOバッファ320の長さに相当する時間間隔L1は、L1=L2+L3/2とすればよい。したがって、上記の数値例で言えば、L1は125msとなる。L1=L2+L3/2かつL2=L4とすることにより、FIFOバッファ320の出力値aの時刻(処理対象のサンプリング時刻)に対して、-(L2+L3/2)~-(L3/2)の範囲と(L3/2)~(L2+L3/2)の範囲について最大値Mを求めることができ、出力値aから最大値Mを減算することが可能となる。 Also, the time interval L1 corresponding to the length of the FIFO buffer 320 should be L1=L2+L3/2. Therefore, in the above numerical example, L1 is 125 ms. By setting L1=L2+L3/2 and L2=L4, the range of -(L2+L3/2) to -(L3/2) is obtained for the time (sampling time to be processed) of the output value a of the FIFO buffer 320. The maximum value M can be obtained for the range from (L3/2) to (L2+L3/2), and the maximum value M can be subtracted from the output value a.

 検出処理部313は、FIFOバッファ310に格納された時間差分正負反転値およびFIFOバッファ312に格納された時間差分正負反転値のうちの最大値Mをサンプリング時刻ごとに検出する(図4ステップS106)。
 減算処理部321は、FIFOバッファ320の出力値aから最大値Mを引いた指標値x(i)=a-Mをサンプリング時刻ごとに算出する(図4ステップS107)。
The detection processing unit 313 detects the maximum value M of the time difference positive/negative inversion value stored in the FIFO buffer 310 and the time difference positive/negative inversion value stored in the FIFO buffer 312 at each sampling time (step S106 in FIG. 4). .
The subtraction processing unit 321 calculates an index value x(i)=a−M by subtracting the maximum value M from the output value a of the FIFO buffer 320 at each sampling time (step S107 in FIG. 4).

 時刻決定部33は、指標値x(i)が所定の閾値THを超えたときに(図4ステップS108においてYES)、指標値x(i)のサンプリング時刻がR波の時刻として適切なものであるかを判断し、R波の時刻を確定する。具体的には、時刻決定部33は、閾値THを超えた指標値x(i)のサンプリング時刻と直前に確定したR波の時刻との時間差ΔTが予め設定されたスキップ幅tskipよりも長いかどうかを判定し(図4ステップS109)、時間差ΔTがスキップ幅tskip以下の場合には(ステップS109においてNO)、閾値THを超えた指標値x(i)のサンプリング時刻をR波の時刻として採用しない。このようなステップS109の処理により、R波検出のスキップ処理を実現することができる。指標値x(i)のサンプリング時刻をR波の時刻として採用しなかった場合には、次のサンプリング時刻のサンプリングデータD(i)に処理対象を移して、ステップS100以降の処理が再び行われる。 When the index value x(i) exceeds the predetermined threshold value TH (YES in step S108 in FIG. 4), the time determining unit 33 determines that the sampling time of the index value x(i) is appropriate as the time of the R wave. Determine if there is, and fix the time of the R wave. Specifically, the time determination unit 33 determines whether the time difference ΔT between the sampling time of the index value x(i) exceeding the threshold TH and the time of the immediately preceding R wave is longer than a preset skip width tskip. (step S109 in FIG. 4), and if the time difference ΔT is equal to or less than the skip width tskip (NO in step S109), the sampling time of the index value x(i) exceeding the threshold TH is adopted as the time of the R wave. do not. Through such processing of step S109, skip processing of R-wave detection can be realized. If the sampling time of the index value x(i) is not adopted as the time of the R wave, the processing target is shifted to the sampling data D(i) at the next sampling time, and the processing after step S100 is performed again. .

 また、時刻決定部33は、時間差ΔTがスキップ幅tskipよりも長い場合には(ステップS109においてYES)、閾値THを超えた指標値x(i)のサンプリング時刻をR波の時刻とする(図4ステップS110)。 Further, when the time difference ΔT is longer than the skip width tskip (YES in step S109), the time determining unit 33 sets the sampling time of the index value x(i) exceeding the threshold TH as the time of the R wave (Fig. 4 step S110).

 上記のとおり、サンプリングデータD(i)から時間差分正負反転値Y(i)が算出され、時間差分正負反転値Y(i)から指標値x(i)が算出される。したがって、指標値x(i)のサンプリング時刻とは、時間差分正負反転値Y(i)のサンプリング時刻(データD(i)のサンプリング時刻)のことであり、記憶部2から取得することが可能である。 As described above, the time difference positive/negative inversion value Y(i) is calculated from the sampling data D(i), and the index value x(i) is calculated from the time difference positive/negative inversion value Y(i). Therefore, the sampling time of the index value x(i) is the sampling time of the time difference positive/negative inversion value Y(i) (the sampling time of the data D(i)), which can be obtained from the storage unit 2. is.

 こうして、ステップS100~S110の処理をサンプリング周期毎に繰り返し実行することで、R波の時刻の時系列データが得られる。検出されたR波の時刻の時系列データは、記憶部2に格納される。
 なお、以上のR波検出方法は1例であって、他の方法でR波を検出してもよい。
In this way, by repeatedly executing the processing of steps S100 to S110 for each sampling period, time-series data of the time of the R wave can be obtained. The time-series data of the time of the detected R wave is stored in the storage unit 2 .
Note that the above R-wave detection method is an example, and the R-wave may be detected by other methods.

 ここで、本実施例では、上記のスキップ幅tskipをR-R間隔(RRI)の下限値以下とする。計測すべき瞬時心拍数の上限値をHRmax[bpm]としたとき、RRIの下限値RRILOWは、0より大きく(60000/HRmax)[ms]未満となる。より具体的には、RRIの下限値RRILOWは、0より大きく((60000/HRmax)-20)[ms]未満の値に設定される。想定される瞬時心拍数の上限値HRmaxは例えば300bpmである。 Here, in this embodiment, the skip width tskip is set to be equal to or less than the lower limit value of the RR interval (RRI). When the upper limit of the instantaneous heart rate to be measured is HRmax [bpm], the lower limit of RRI RRI LOW is greater than 0 and less than (60000/HRmax) [ms]. More specifically, the lower limit value RRI LOW of RRI is set to a value greater than 0 and less than ((60000/HRmax)-20) [ms]. The assumed instantaneous heart rate upper limit HRmax is, for example, 300 bpm.

 したがって、スキップ幅tskipは、0より大きく(60000/HRmax)[ms]未満となる。より具体的には、スキップ幅tskipは、0より大きく((60000/HRmax)-20)[ms]未満の値に設定される。 Therefore, the skip width tskip is greater than 0 and less than (60000/HRmax) [ms]. More specifically, the skip width tskip is set to a value greater than 0 and less than ((60000/HRmax)-20) [ms].

 次に、R-R間隔算出部4は、R波検出部3によって検出された最新のR波の時刻から1つ前のR波の時刻を引いた時間dを算出する(図2ステップS3)。R-R間隔算出部4は、算出した時間dが予め設定されたRRIの下限値RRILOWよりも短い場合(図2ステップS4においてNO)、時間dをRRIとして採用せずに破棄する。また、R-R間隔算出部4は、時間dが下限値RRILOW以上の場合(ステップS4においてYES)、時間dをRRI[ms]として決定する(図2ステップS5)。 Next, the RR interval calculator 4 calculates the time d by subtracting the time of the previous R wave from the time of the latest R wave detected by the R wave detector 3 (step S3 in FIG. 2). . If the calculated time d is shorter than the preset lower limit value RRI LOW of RRI (NO in step S4 in FIG. 2), the RR interval calculator 4 discards the time d as the RRI without adopting it. If the time d is equal to or greater than the lower limit value RRI LOW (YES in step S4), the RR interval calculator 4 determines the time d as RRI [ms] (step S5 in FIG. 2).

 心拍数算出部5は、R-R間隔算出部4によって算出されたRRI[ms]に基づいて瞬時心拍数HR(i)[bpm]をRRI毎に算出する(図2ステップS6)。
 HR(i)=60000/RRI            ・・・(2)
The heart rate calculator 5 calculates the instantaneous heart rate HR(i) [bpm] for each RRI based on the RRI [ms] calculated by the RR interval calculator 4 (step S6 in FIG. 2).
HR(i)=60000/RRI (2)

 また、心拍数算出部5は、平均心拍数HRave(i)[bpm]をRRI毎に算出する(図2ステップS7)。平均化処理前のi番目のRRI(i)から求まる瞬時心拍数を上記のとおりHR(i)とし、i-1番目までの瞬時心拍数を平均化した値をHRave(i-1)、所定の平均化係数をrとすれば、i番目までの瞬時心拍数を平均化した値HRave(i)は、式(3)によって求めることができる。
 HRave(i)=r×HR(i)+(1-r)×HRave(i-1)
                            ・・・(3)
The heart rate calculator 5 also calculates the average heart rate HRave(i) [bpm] for each RRI (step S7 in FIG. 2). Let HR(i) be the instantaneous heart rate obtained from the i-th RRI(i) before averaging, as described above, and HRave(i-1) is the value obtained by averaging the instantaneous heart rates up to the i-1th, and a predetermined If the averaging coefficient of is r, the value HRave(i) obtained by averaging up to the i-th instantaneous heart rate can be obtained by equation (3).
HRave(i)=r×HR(i)+(1−r)×HRave(i−1)
... (3)

 こうして、ステップS1~S7の処理を繰り返すことで、瞬時心拍数HR(i)、平均心拍数HRave(i)の時系列データが得られる。算出された時系列データは、記憶部2に格納される。 In this way, by repeating the processing of steps S1 to S7, time-series data of the instantaneous heart rate HR(i) and the average heart rate HRave(i) are obtained. The calculated time-series data are stored in the storage unit 2 .

 図5は、図8の例に対して本実施例による心拍検出方法を適用した例を示している。ここでは、スキップ幅tskipを180msとしている。図5の例では、時刻T1で指標値xが閾値THを超えたことにより、R波検出部3は、時刻T1をR波の時刻として検出する。R波検出部3は、時刻T1からの経過時間がtskip=180msまでの期間中はR波検出を一時停止するが、時刻T1から186ms後に指標値xが閾値THを超えるため、時刻T2をR波の時刻として検出する。こうして、本実施例では、指標値xが閾値THを超える時刻T2を適切に検出することができる。 FIG. 5 shows an example in which the heartbeat detection method according to this embodiment is applied to the example of FIG. Here, the skip width tskip is set to 180 ms. In the example of FIG. 5, the index value x exceeds the threshold TH at time T1, so the R-wave detector 3 detects time T1 as the time of the R-wave. The R-wave detection unit 3 suspends R-wave detection during the period from time T1 to tskip=180 ms. Detect as wave time. Thus, in this embodiment, the time T2 at which the index value x exceeds the threshold TH can be detected appropriately.

 図6は、図9の例に対して本実施例による心拍検出方法を適用した例を示している。ここでは、スキップ幅tskipとRRIの下限値RRILOWを共に180msとしている。図5の例と同様に時刻T1で指標値が閾値THを超えたことにより、R波検出部3は、時刻T1をR波の時刻として検出する。さらに時刻T1からの経過時間がtskip=180msを超えた後に、時刻T2で指標値が閾値THを超えることにより、R波検出部3は、時刻T2をR波の時刻として検出する。 FIG. 6 shows an example in which the heartbeat detection method according to this embodiment is applied to the example of FIG. Here, both the skip width tskip and the lower limit value RRI LOW of RRI are set to 180 ms. Since the index value exceeds the threshold value TH at time T1 as in the example of FIG. 5, the R wave detector 3 detects time T1 as the time of the R wave. Further, after the elapsed time from time T1 exceeds tskip=180 ms, the index value exceeds the threshold TH at time T2, so that the R wave detector 3 detects time T2 as the time of the R wave.

 時刻T2から時刻T1を引いた時間d=186msがRRIの下限値RRILOW=180ms以上なので、R-R間隔算出部4は、時間dをRRIとして採用する。こうして、本実施例では、RRIを適切に検出することができる。また、指標値xのピークを逃さずに検出できることから、平均心拍数も適切に算出することができる。 Since the time d=186 ms obtained by subtracting the time T1 from the time T2 is equal to or greater than the RRI lower limit value RRI LOW =180 ms, the RR interval calculator 4 adopts the time d as the RRI. Thus, in this embodiment, RRI can be detected appropriately. Moreover, since the peak of the index value x can be detected without missing, the average heart rate can also be calculated appropriately.

 本実施例で説明した心拍検出装置の記憶部2とR波検出部3とR-R間隔算出部4と心拍数算出部5とは、CPU(Central Processing Unit)、記憶装置及びインタフェースを備えたコンピュータと、これらのハードウェア資源を制御するプログラムによって実現することができる。このコンピュータの構成例を図7に示す。 The storage unit 2, the R wave detection unit 3, the RR interval calculation unit 4, and the heart rate calculation unit 5 of the heartbeat detection device described in the present embodiment include a CPU (Central Processing Unit), a storage device, and an interface. It can be realized by a computer and a program that controls these hardware resources. A configuration example of this computer is shown in FIG.

 コンピュータは、CPU100と、記憶装置101と、インタフェース装置(I/F)102とを備えている。I/F102には、心電計1などが接続される。本発明の心拍検出方法を実現させるためのプログラムは記憶装置101に格納される。CPU100は、記憶装置101に格納されたプログラムに従って本実施例で説明した処理を実行する。 The computer includes a CPU 100, a storage device 101, and an interface device (I/F) 102. The I/F 102 is connected with the electrocardiograph 1 and the like. A program for implementing the heartbeat detection method of the present invention is stored in the storage device 101 . The CPU 100 executes the processing described in this embodiment according to the programs stored in the storage device 101 .

 本発明は、生体の心拍を検出する技術に適用することができる。 The present invention can be applied to technology for detecting the heartbeat of a living body.

 1…心電計、2…記憶部、3…R波検出部、4…R-R間隔算出部、5…心拍数算出部、30…正負反転値算出部、31…最大値検出部、32…指標値算出部、33…時刻決定部、310~312,320…FIFOバッファ、313…検出処理部、321…減算処理部。 DESCRIPTION OF SYMBOLS 1... Electrocardiograph, 2... Storage part, 3... R wave detection part, 4... RR interval calculation part, 5... Heart rate calculation part, 30... Positive/negative inversion value calculation part, 31... Maximum value detection part, 32 ... index value calculation section, 33 ... time determination section, 310 to 312, 320 ... FIFO buffer, 313 ... detection processing section, 321 ... subtraction processing section.

Claims (8)

 生体の心電図波形からR波を検出する第1のステップと、
 前記第1のステップで検出したR波と1つ前のR波の時間間隔であるR-R間隔を算出する第2のステップと、
 前記R-R間隔に基づいて心拍数を算出する第3のステップとを含み、
 前記第2のステップは、前記第1のステップで検出した最新のR波の時刻からの経過時間がスキップ幅以下の期間中はR波検出を停止するステップを含み、
 前記スキップ幅は、計測すべき心拍数の上限値をHRmaxとしたとき、60000/HRmaxよりも短い値に設定されることを特徴とする心拍検出方法。
a first step of detecting R waves from a biological electrocardiogram waveform;
A second step of calculating an RR interval, which is the time interval between the R wave detected in the first step and the previous R wave;
and a third step of calculating a heart rate based on the RR interval;
The second step includes stopping R-wave detection during a period in which the elapsed time from the time of the latest R wave detected in the first step is equal to or less than the skip width;
A heartbeat detection method, wherein the skip width is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heartbeat rate to be measured.
 請求項1記載の心拍検出方法において、
 前記第2のステップは、前記第1のステップで検出した最新のR波の時刻から1つ前のR波の時刻を引いた時間が下限値よりも短い場合に、算出した時間をR-R間隔として採用しないステップを含み、
 前記下限値は、計測すべき心拍数の上限値をHRmaxとしたとき、60000/HRmaxよりも短い値に設定されることを特徴とする心拍検出方法。
The heart rate detection method of claim 1, wherein
In the second step, if the time obtained by subtracting the time of the previous R wave from the time of the latest R wave detected in the first step is shorter than the lower limit, the calculated time RR including steps not taken as intervals,
A heartbeat detection method, wherein the lower limit value is set to a value shorter than 60000/HRmax, where HRmax is the upper limit value of the heartbeat rate to be measured.
 請求項1または2記載の心拍検出方法において、
 前記スキップ幅は、(60000/HRmax)-20よりも短い値に設定されることを特徴とする心拍検出方法。
The heartbeat detection method according to claim 1 or 2,
The heartbeat detection method, wherein the skip width is set to a value shorter than (60000/HRmax)-20.
 請求項2記載の心拍検出方法において、
 前記下限値は、(60000/HRmax)-20よりも短い値に設定されることを特徴とする心拍検出方法。
The heartbeat detection method of claim 2,
The heartbeat detection method, wherein the lower limit value is set to a value shorter than (60000/HRmax)-20.
 請求項2または4記載の心拍検出方法において、
 前記スキップ幅は、前記下限値以下であることを特徴とする心拍検出方法。
The heartbeat detection method according to claim 2 or 4,
The heartbeat detection method, wherein the skip width is equal to or less than the lower limit.
 生体の心電図波形からR波を検出するように構成されたR波検出部と、
 前記R波検出部によって検出されたR波と1つ前のR波の時間間隔であるR-R間隔を算出するように構成されたR-R間隔算出部と、
 前記R-R間隔に基づいて心拍数を算出するように構成された心拍数算出部とを備え、
 前記R-R間隔算出部は、前記R波検出部によって検出された最新のR波の時刻からの経過時間がスキップ幅以下の期間中はR波検出を停止し、
 前記スキップ幅は、計測すべき心拍数の上限値をHRmaxとしたとき、60000/HRmaxよりも短い値に設定されることを特徴とする心拍検出装置。
an R-wave detector configured to detect R-waves from an electrocardiogram waveform of a living body;
an RR interval calculator configured to calculate an RR interval, which is the time interval between the R wave detected by the R wave detector and the immediately preceding R wave;
a heart rate calculator configured to calculate a heart rate based on the RR interval;
The RR interval calculation unit stops R wave detection during a period in which the elapsed time from the time of the latest R wave detected by the R wave detection unit is equal to or less than the skip width,
The heartbeat detecting device, wherein the skip width is set to a value shorter than 60000/HRmax, where HRmax is the upper limit of the heartbeat rate to be measured.
 請求項6記載の心拍検出装置において、
 前記R-R間隔算出部は、前記R波検出部によって検出された最新のR波の時刻から1つ前のR波の時刻を引いた時間が下限値よりも短い場合に、算出した時間をR-R間隔として採用せず、
 前記下限値は、計測すべき心拍数の上限値をHRmaxとしたとき、60000/HRmaxよりも短い値に設定されることを特徴とする心拍検出装置。
The heartbeat detection device of claim 6,
The RR interval calculation unit calculates the calculated time when the time obtained by subtracting the time of the previous R wave from the time of the latest R wave detected by the R wave detection unit is shorter than the lower limit value. Not adopted as RR interval,
The heart rate detecting device, wherein the lower limit value is set to a value shorter than 60000/HRmax, where HRmax is the upper limit value of the heart rate to be measured.
 請求項7記載の心拍検出装置において、
 前記スキップ幅は、前記下限値以下であることを特徴とする心拍検出装置。
A heartbeat detection device according to claim 7, wherein
The heartbeat detection device, wherein the skip width is equal to or less than the lower limit.
PCT/JP2021/032267 2021-09-02 2021-09-02 Heartbeat detection method and heartbeat detection device Ceased WO2023032120A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2021/032267 WO2023032120A1 (en) 2021-09-02 2021-09-02 Heartbeat detection method and heartbeat detection device
JP2023544909A JP7632659B2 (en) 2021-09-02 2021-09-02 Heart rate detection method and heart rate detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/032267 WO2023032120A1 (en) 2021-09-02 2021-09-02 Heartbeat detection method and heartbeat detection device

Publications (1)

Publication Number Publication Date
WO2023032120A1 true WO2023032120A1 (en) 2023-03-09

Family

ID=85410826

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/032267 Ceased WO2023032120A1 (en) 2021-09-02 2021-09-02 Heartbeat detection method and heartbeat detection device

Country Status (2)

Country Link
JP (1) JP7632659B2 (en)
WO (1) WO2023032120A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000023932A (en) * 1998-07-10 2000-01-25 Isuzu Motors Ltd Pattern signal interval detector
JP2006068091A (en) * 2004-08-31 2006-03-16 Yamatake Corp Biological load inspection device
JP2013220322A (en) * 2012-04-19 2013-10-28 Ts Tech Co Ltd Vehicle seat
JP2020048713A (en) * 2018-09-25 2020-04-02 日本光電工業株式会社 Pulse discriminator and electrocardiogram analyzer
JP2020130344A (en) * 2019-02-14 2020-08-31 エヌ・ティ・ティ・コミュニケーションズ株式会社 Estimator, learning device, estimation method and computer program
US20200305734A1 (en) * 2017-11-15 2020-10-01 Technion Research & Development Foundation Limited Non-invasive analysis of sinoatrial node and autonomic nervous input to heart function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000023932A (en) * 1998-07-10 2000-01-25 Isuzu Motors Ltd Pattern signal interval detector
JP2006068091A (en) * 2004-08-31 2006-03-16 Yamatake Corp Biological load inspection device
JP2013220322A (en) * 2012-04-19 2013-10-28 Ts Tech Co Ltd Vehicle seat
US20200305734A1 (en) * 2017-11-15 2020-10-01 Technion Research & Development Foundation Limited Non-invasive analysis of sinoatrial node and autonomic nervous input to heart function
JP2020048713A (en) * 2018-09-25 2020-04-02 日本光電工業株式会社 Pulse discriminator and electrocardiogram analyzer
JP2020130344A (en) * 2019-02-14 2020-08-31 エヌ・ティ・ティ・コミュニケーションズ株式会社 Estimator, learning device, estimation method and computer program

Also Published As

Publication number Publication date
JPWO2023032120A1 (en) 2023-03-09
JP7632659B2 (en) 2025-02-19

Similar Documents

Publication Publication Date Title
US7029448B2 (en) Electronic hemomanometer and blood pressure measuring method of electronic hemomanometer
JP2635079B2 (en) Method of removing pace pulse signal from ECG wave signal and apparatus for removing pace pulse signal from ECG wave signal
JP6645926B2 (en) Biological signal processing method and apparatus
US10172531B2 (en) Heartbeat detection method and heartbeat detection device
US20190069791A1 (en) Heartbeat detection method and heartbeat detection device
US6258037B1 (en) Measuring blood pressure in noisy environments
JPH07284482A (en) Heart rate variability waveform analysis method and device
JP2018175152A (en) Heart beat detection method and heart beat detection device
US7460902B2 (en) Monitoring of atrial activation
CN100457025C (en) Method and system for improved measurement of t-wave alternans
AU2019231059B2 (en) Heartbeat rate calculation device and method
US10750969B2 (en) Heartbeat detection method and heartbeat detection device
WO2023032120A1 (en) Heartbeat detection method and heartbeat detection device
JP2001346771A (en) R wave recognition method, RR interval measurement method, heart rate measurement method, RR interval measurement device, and heart rate measurement device
JP7491466B2 (en) Heart rate detection method and heart rate detection device
CN116849669A (en) Electrocardiosignal signal processing system and defibrillator
JP7589826B2 (en) Heart rate detection method and heart rate detection device
JP4121611B2 (en) Cardiac response detection system
EP3875025B1 (en) Heart rate detection method, heart rate detection device and program
JPS63290544A (en) Stertor detector
JP6922790B2 (en) Fatigue estimation device and program
JPS6156633A (en) Apparatus for detecting abnormality of electrocardiograph
KR20090040721A (en) How to measure your heart rate
WO2022215190A1 (en) Heartbeat detection method and heartbeat detection device
CN111989037B (en) Exercise intensity estimation method, exercise intensity estimation device and program

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: 21956009

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023544909

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21956009

Country of ref document: EP

Kind code of ref document: A1