JP2023032476A - Cardiac beat data analysis device and program - Google Patents

Cardiac beat data analysis device and program Download PDF

Info

Publication number
JP2023032476A
JP2023032476A JP2021138627A JP2021138627A JP2023032476A JP 2023032476 A JP2023032476 A JP 2023032476A JP 2021138627 A JP2021138627 A JP 2021138627A JP 2021138627 A JP2021138627 A JP 2021138627A JP 2023032476 A JP2023032476 A JP 2023032476A
Authority
JP
Japan
Prior art keywords
intermediate function
interval
data
function
pulsation
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.)
Granted
Application number
JP2021138627A
Other languages
Japanese (ja)
Other versions
JP7460584B2 (en
Inventor
耕司 吉田
Koji Yoshida
一義 和田
Kazuyoshi Wada
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.)
KDDI Corp
Tokyo Metropolitan Public University Corp
Original Assignee
KDDI Corp
Tokyo Metropolitan Public University 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 KDDI Corp, Tokyo Metropolitan Public University Corp filed Critical KDDI Corp
Priority to JP2021138627A priority Critical patent/JP7460584B2/en
Publication of JP2023032476A publication Critical patent/JP2023032476A/en
Application granted granted Critical
Publication of JP7460584B2 publication Critical patent/JP7460584B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

To provide a cardiac beat data analysis device capable of coping with the case that there is data omission when a relatively short time function is an analysis object, so as to reduce impact of the data omission, by performing appropriate correction.SOLUTION: There is provided a cardiac beat data analysis device 10 comprising: an intermediate function generation part 3 for reading an R-R interval row which is a row of pulse intervals extracted from a cardiac beat data section which is cut out by a window from time series cardiac beat data, converting the R-R interval row to generate an intermediate function; and a frequency analysis part 4 for acquiring a result of frequency analysis of the intermediate function. The cardiac beat data analysis device further comprises an omission determination part 2 for determining whether or not there is any pulse omission position in the cardiac beat data section. Upon determination by the omission determination part 2 that there is pulse omission, the intermediate function generation part 3 converts the R-R interval row to generate the intermediate function, then, corrects and bring the position corresponding to the pulse omission in the intermediate function into a state with no pulse omission, so as to generate the intermediate function to be subjected to the frequency analysis in the frequency analysis part.SELECTED DRAWING: Figure 4

Description

本発明は、心拍データ解析装置及びプログラムに関する。 The present invention relates to a heartbeat data analysis device and program.

心拍データを解析する手法として次のような枠組みに即した既存手法が存在し、特許文献1等でこの既存手法に即した解析が行われている。図1はこの既存手法の枠組みを説明するための模式図である。 As a method for analyzing heartbeat data, there is an existing method that conforms to the following framework, and analysis that conforms to this existing method is performed in Patent Document 1 and the like. FIG. 1 is a schematic diagram for explaining the framework of this existing method.

この既存手法は、次のような知見に基づくものである。心拍の心室収縮の開始を表すR波の発生間隔(R-R間隔)は、周期性をもって変動し、その変動の周波数成分は、自律神経の働き具合を表すことが知られている。この関係を利用して自律神経の働き具合を評価でき、その一つの手法(図1)では、心拍データにおけるR-R間隔を順次計測し、そのR-R間隔を周波数解析(スペクトル分析)してその変動の周波数成分を求め、その周波数成分から自律神経の働き具合を評価する。 This existing method is based on the following findings. It is known that the R-wave generation interval (R-R interval) that indicates the start of ventricular contraction of heartbeat varies with periodicity, and the frequency component of this variation represents the working condition of the autonomic nerves. This relationship can be used to evaluate the functioning of the autonomic nerves. One method (Fig. 1) is to sequentially measure the R-R intervals in the heartbeat data, frequency-analyze the R-R intervals (spectrum analysis), and evaluate the fluctuations. A frequency component is obtained, and the working condition of the autonomic nerves is evaluated from the frequency component.

図1のデータD1は、心電センサなどの心拍センサにより取得された心拍データのグラフ例を示し、横軸方向を時間進行方向として、時系列上のR波の並びとして心拍データが構成される。ここで、R波は心室収縮の開始を表すことにより個々の脈動を表し、時間軸方向(x軸方向)にR-R間隔RR1,RR2,RR3,…をもって出現し、その間隔は、周期性をもって変動する。 Data D1 in FIG. 1 shows an example of a graph of heartbeat data acquired by a heartbeat sensor such as an electrocardiogram sensor, and the heartbeat data is configured as a row of R waves in time series with the horizontal axis as the direction of time progression. . Here, the R wave represents each pulsation by representing the start of ventricular contraction, and appears with R-R intervals RR1, RR2, RR3, ... in the time axis direction (x axis direction), and the intervals fluctuate periodically. do.

一般的に、時間軸方向のデータをそのまま周波数解析することは難しい。すなわち、図1のデータ例D1から直接、矢印Aで示すようにその周波数解析結果としてのデータ例D3を得ることは困難である。そこで、データ例D1に示されるようなR-R間隔変動を周波数解析する場合、データ例D2に示されるようにデータD1に対して中間関数を適用した中間データとしての時系列データを生成し、この中間データとしての時系列データD2を周波数解析することにより、データ例D3に示されるような周波数解析結果を得る。 In general, it is difficult to perform frequency analysis directly on data along the time axis. That is, it is difficult to directly obtain the data example D3 as the frequency analysis result from the data example D1 in FIG. 1 as indicated by the arrow A. Therefore, when frequency analysis is performed on the R-R interval variation as shown in data example D1, time-series data is generated as intermediate data by applying an intermediate function to data D1 as shown in data example D2, and this intermediate By frequency-analyzing the time series data D2 as data, a frequency analysis result as shown in the data example D3 is obtained.

このように周波数解析を可能とするための中間データD2を得るための中間関数としては、心拍データの解析目的等に応じて多種類の中間関数が提案されている。図1では、中間関数の例として、R-R間隔RR1,RR2,RR3,…のそれぞれ(時間軸方向に順次現れる幅)に対して定数の振幅値としてその逆数P1=1/RR1,P2=1/RR2,P3=1/RR3,…を対応付ける中間関数の例(非特許文献1)が示されている。なお、非特許文献1では上記の通り、隣り合うR波発生時刻の間で、そのR-R間隔の逆数(この逆数は瞬時心拍数を意味する)として中間関数を定義し、それをスペクトル解析して心拍揺らぎを実時間的にとらえることが記載されている。 As an intermediate function for obtaining the intermediate data D2 for enabling frequency analysis in this way, many types of intermediate functions have been proposed according to the purpose of heartbeat data analysis and the like. In FIG. 1, as an example of the intermediate function, for each of the R-R intervals RR1, RR2, RR3, . An example of an intermediate function that associates RR2, P3=1/RR3, . In Non-Patent Document 1, as described above, between adjacent R-wave occurrence times, an intermediate function is defined as the reciprocal of the R-R interval (this reciprocal means the instantaneous heart rate), and spectral analysis is performed on it. It is described that heart rate fluctuations are captured in real time.

図1にて、上記の中間データD2を周波数解析して得た結果データD3はパワースペクトル密度を表し、横軸は周波数(Hz)であり、縦軸はパワースペクトル密度(msec2/Hz)を表す。信号処理分野において既知の通り、パワースペクトル密度とは、時系列データのパワーを各周波数成分に分解して表したものである。ここで、データD3内にも同符号を用いて模式的に示されるように、所定の低周波側帯域として例えば0.04~0.15Hz成分の総和をLFとし、所定の高周波側帯域として例えば0.15~0.40Hz成分の総和をHFとすると、これらの商LF/HFは交感神経の働き具合を示し、HFは副交感神経の働き具合を示すことが知られているので、これらの値を自律神経指標とすることで、心拍データの解析結果を得ることができる。 In FIG. 1, the result data D3 obtained by frequency analysis of the above intermediate data D2 represents the power spectral density, the horizontal axis is the frequency (Hz), and the vertical axis is the power spectral density (msec 2 /Hz). show. As is known in the field of signal processing, the power spectral density represents the power of time-series data by decomposing it into each frequency component. Here, as schematically indicated by using the same reference numerals in data D3, the sum of 0.04 to 0.15 Hz components is LF as the predetermined low-frequency band, and the predetermined high-frequency band is 0.15 to 0.40. Assuming that the sum of Hz components is HF, the quotient LF/HF indicates the degree of sympathetic nerve activity, and HF indicates the degree of parasympathetic nerve activity, so these values are used as autonomic nerve indices. Thus, analysis results of the heartbeat data can be obtained.

特開2015-080624号公報JP 2015-080624 A

BME Vol.8,No.10,1994 p.13-16 「心拍ゆらぎの1/fスペクトル推定」BME Vol. 8, No. 10, 1994 p. 13-16 "1/f Spectrum Estimation of Heart Rate Fluctuation"

以上のような従来手法の心拍データ解析に関して、一般的に医学分野では、その自律神経指標の「(定常的)状態」を「正確」に評価することや、高い精度、再現性を得ることを目的としている。したがって、自律神経指標を得るために、比較的長い時間間隔(例えば90~180秒程度)の時間関数(心拍データ)を周波数解析の対象としている。 Regarding heartbeat data analysis of the above-mentioned conventional methods, in general, in the medical field, it is necessary to "accurately" evaluate the "(stationary) state" of the autonomic nerve index and to obtain high accuracy and reproducibility. purpose. Therefore, in order to obtain an autonomic nerve index, frequency analysis is performed on time functions (heartbeat data) at relatively long time intervals (for example, about 90 to 180 seconds).

一方で、解析の用途によっては、比較的短い時間間隔(例えば10~80秒程度)の時間関数(心拍データ)を周波数解析の対象とすることで、自律神経指標の瞬間的状態あるいは状態変化を評価することが望まれる場合もある。この場合、可能な限り短時間間隔として例えば20秒の時間関数を周波数解析の対象とすることで、時間進行に沿って連続的に周波数解析を行うこととなる。 On the other hand, depending on the application of the analysis, by subjecting the time function (heartbeat data) of relatively short time intervals (for example, about 10 to 80 seconds) to the frequency analysis, the instantaneous state or state change of the autonomic nerve index can be obtained. In some cases, it may be desirable to evaluate. In this case, the frequency analysis is performed continuously along the progress of time by subjecting the time function of, for example, 20 seconds as the shortest possible interval to the frequency analysis.

このような短時間間隔の時間関数を周波数解析の対象とする際に、顕著な問題となりうる事項として、脈動の検出漏れの発生がある。1つの脈動の検出漏れが発生した場合に、これに対処せずにそのまま周波数解析を行ったとすると、周波数解析結果が大きく乱れてしまう。 When the time function of such a short time interval is subjected to frequency analysis, there is an occurrence of failure to detect pulsation as a matter that can become a significant problem. If one pulsation is not detected and the frequency analysis is performed without taking measures against it, the result of the frequency analysis will be greatly disturbed.

図2は、このように短時間間隔の時間関数を周波数解析対象とする場合の検出漏れ(データ欠落)の影響の例を、周波数解析結果として図1のデータD3の高周波側帯域HF及び低周波側帯域LFのうちの後者(低周波側帯域LF)のみに周波数成分が存在するデータの解析結果を示す図である。(すなわち、図2の当該データは、検出漏れの影響を容易に見て取ることを可能にするために、低周波側帯域LFのみに周波数成分が存在するデータとして、実験的なデモ用に恣意的に時間領域上で生成したものである。) Fig. 2 shows an example of the effect of detection omission (data loss) when the time function of short intervals is subject to frequency analysis. FIG. 10 is a diagram showing analysis results of data in which frequency components exist only in the latter (low-frequency side band LF) of the side band LF; (That is, the data in FIG. 2 is arbitrarily used for experimental demonstration as data in which frequency components exist only in the low frequency side band LF in order to make it possible to easily see the effect of detection omission. generated in the time domain.)

図2にて、グラフGAはデータ欠落がない時間間隔の周波数解析結果であり、5つのパワースペクトル密度のグラフ例が、上側のグラフから順に、12,18,24,48,96パルス(脈動数)に相当する、それぞれ約10,14,19,38,77秒の間隔のウィンドウサイズの時間関数を用いた場合の例として示されている。(すなわち、解析対象となるある共通の時間関数(心拍データ)を、5種類のそれぞれ異なるウィンドウサイズで切り出して周波数解析した結果を列挙したのがグラフGAである。)グラフGBは、グラフGAと同様の解析(同様の5種類の間隔のウィンドウサイズによる)を、データ欠落がある時間関数(心拍データ)に対して適用した結果の例である。グラフGAとグラフGBとではほぼ同様の心拍データを解析対象としているのにもかかわらず、グラフGBの心拍データにおいて1つの偶発的なデータ欠落が存在しているという違いだけで、グラフGA,GBの周波数解析結果が大きく変化してしまっている様子を見て取ることができる。 In Fig. 2, the graph GA is the frequency analysis result of the time interval with no data loss, and the graph examples of five power spectral densities are 12, 18, 24, 48, 96 pulses (pulsation number ), with window size time functions at intervals of about 10, 14, 19, 38 and 77 seconds, respectively. (That is, Graph GA lists the results of frequency analysis of a common time function (heartbeat data) to be analyzed with five different window sizes.) Graph GB is similar to Graph GA. An example of the results of applying a similar analysis (with similar 5-interval window sizes) to a time function with missing data (heart rate data). Although almost the same heart rate data is analyzed in Graph GA and Graph GB, the only difference is that there is one accidental missing data in the heart rate data of Graph GB. It can be seen that the frequency analysis results of .

このようなデータ欠落が存在する時間関数(心拍データ)を扱う場合であっても、グラフGCとして示すように、データ欠落が存在しないグラフGAと概ね同様の周波数解析結果となるように補正する手法が望まれるが、従来技術ではこのように適切に補正することができなかった。なお、図2では、グラフGA,GB,GCに関して、ウィンドウサイズが共通となるグラフ同士の対応関係を、グラフGA,GB間とグラフGA,GC間とにおいて点線で結ぶことにより示している。 Even when dealing with a time function (heartbeat data) with such data omissions, as shown by graph GC, a method of correcting the frequency analysis results so that they are almost the same as graph GA without data omissions is desired, but the prior art has not been able to adequately correct for this. Note that in FIG. 2, regarding the graphs GA, GB, and GC, the correspondence relationship between graphs having a common window size is shown by connecting the graphs GA and GB and the graphs GA and GC with dotted lines.

なお、データ欠落(脈動の検出漏れ)の原因としては、心拍データの計測装置における計測の際のノイズ等による検出漏れ(心拍データには脈動が存在しているが計測できていない場合)のほか、心拍データにおける不整脈の存在が挙げられる。不整脈については、健康な場合であってもストレス等の一時的な要因等により偶発的に発生することがあることが知られている。このようなデータ欠落の原因の如何を問わず、データ欠落の影響を適切に補正することが望まれる。 In addition, as a cause of missing data (loose detection of pulsation), there are omissions of detection due to noise during measurement by the heart rate data measuring device (when pulsation is present in the heart rate data but cannot be measured). , the presence of arrhythmias in heart rate data. Arrhythmia is known to occur accidentally due to temporary factors such as stress even in healthy individuals. Regardless of the cause of such data loss, it is desirable to appropriately correct the effects of data loss.

なお、図2の例のように周波数解析結果が大きく変化してしまう原因として、データ欠落が存在する場合に中間関数に変換すると、特異なデータが発生してしまうことが挙げられる。図3は、データ欠落がある場合の中間関数の例を、データ欠落がない場合と対比で示す図である。データD4は正常な心拍データ(欠落のない時間関数)の例であり、これより得られる中間関数がデータD5として示される。このデータD4,D5は、図1のデータD1,D2と同様の例であり、中間関数としてR-R間隔の逆数を用いる例となっている。 Note that one of the reasons why the frequency analysis result varies greatly as in the example of FIG. 2 is that when data is missing and converted to an intermediate function, peculiar data is generated. FIG. 3 is a diagram showing an example of an intermediate function when there is data loss, in comparison with a case where there is no data loss. Data D4 is an example of normal heartbeat data (time function without omission), and an intermediate function obtained therefrom is shown as data D5. These data D4 and D5 are examples similar to the data D1 and D2 in FIG. 1, and are examples in which the reciprocal of the RR interval is used as an intermediate function.

一方で、図3ではデータD4,D5の対比例としてさらに、データD6は不整脈のある心拍データ(欠落がある時間関数)の例であり、これより得られる中間関数がデータD7として示される。データD6の時間関数では箇所R6においてデータ欠落が発生していることから、R-R間隔が突発的に2倍程度に広がってしまうこととなり、この結果としてデータD7の時間関数では同様に、対応する箇所R7においてR-R間隔が突発的に2倍程度に広がり、且つ同時に、その際の振幅値が1/2倍程度に小さくなってしまう。 On the other hand, in FIG. 3, as a comparison of data D4 and D5, data D6 is an example of heartbeat data with arrhythmia (time function with missing points), and an intermediate function obtained therefrom is shown as data D7. In the time function of data D6, since data missing occurs at location R6, the R-R interval suddenly widens to approximately double. At R7, the R-R interval abruptly widens about twice, and at the same time, the amplitude value at that time decreases about half.

このように、正常な場合の中間関数のデータD5とデータ欠落がある場合の中間関数のデータD7とを対比すると、データD7はデータ欠落の影響を受けた箇所R7が特異な値となってしまうことにより、図2に示したように、このような特異な値を有する中間関数を周波数解析すると、その結果が大きく乱れてしまうこととなる。 In this way, when comparing the data D5 of the intermediate function in the normal case with the data D7 of the intermediate function in the case of missing data, the data D7 has a peculiar value at the point R7 affected by the missing data. As a result, as shown in FIG. 2, frequency analysis of the intermediate function having such a peculiar value will greatly disturb the result.

このようなデータ欠落への対処を検討した場合、例えば特許文献1では、時間関数上のノイズ箇所について、前後のデータ列の位相を乱さないデータ列の補間パターンを挿入する(ノイズ箇所を補間パターンで置換する)ことで、短期間の補間で生体変動の復元性を高め、スペクトル構造の復元性を高めるとされるが、このような補間が適切に行われるためには長めの時間関数を用いる必要があり、短時間間隔では適切に補正することができなかった。(すなわち、短時間間隔の場合において前後のデータ列で十分に補完するためには、当該短時間間隔の範囲を逸脱して補間する必要があるため、自律神経指標の瞬間的状態あるいは状態変化を必要とする場合,その周波数成分の変化量に大きく影響してしまう。また、短時間間隔の範囲内のみで補完を試みようとしても、そもそも補間に十分なデータが存在せず、適切に補間できないことから、周波数解析結果を適切に補正できない。)また、補間処理は、図1のデータD1に例示されるような時間関数(一般に複雑な変化挙動を示す関数)を対象とするものであり、必ずしも簡素に補間処理を行うことができないという問題もあった。 When considering how to deal with such data missing, for example, in Patent Document 1, an interpolation pattern of a data string that does not disturb the phase of the data string before and after is inserted for a noise location on a time function (noise location is an interpolation pattern ), it is said that short-term interpolation will improve the restoration of biological fluctuations and improve the restoration of spectral structure, but in order for such interpolation to be performed appropriately, a long time function is used. needed and could not be adequately compensated for at short intervals. (That is, in the case of a short interval, in order to sufficiently interpolate with data strings before and after, it is necessary to interpolate outside the range of the short interval, so the instantaneous state or state change of the autonomic nerve index is If you need it, it will greatly affect the amount of change in that frequency component.Also, even if you try to interpolate only within a short interval, there is not enough data for interpolation in the first place, and you can not interpolate properly. Therefore, the frequency analysis result cannot be corrected appropriately.) Also, the interpolation processing is intended for a time function (generally a function showing complex changing behavior) as exemplified by the data D1 in FIG. There is also a problem that interpolation processing cannot always be performed simply.

上記従来技術の課題に鑑み、本発明は、比較的短い時間関数を解析対象とする場合において、データ欠落が存在する場合であっても適切な補正を施してデータ欠落の影響を低減することのできる心拍データ解析装置及びプログラムを提供することを目的とする。 In view of the above-described problems of the prior art, the present invention is capable of reducing the effects of data loss by performing appropriate corrections even when data loss exists when a relatively short time function is to be analyzed. It is an object of the present invention to provide a heartbeat data analysis device and a program that can

上記目的を達成するため、本発明は、時系列の心拍データからウィンドウで切り出した心拍データ区間より抽出される脈動間隔の列であるR-R間隔列を読み込み、当該R-R間隔列を変換して中間関数を生成する中間関数生成部と、前記中間関数を周波数解析した結果を得る周波数解析部と、を備える心拍データ解析装置であって、前記心拍データ区間における脈動の欠落箇所の有無を判定する欠落判定部を備え、前記欠落判定部において脈動の欠落があると判定された場合、前記中間関数生成部は、前記R-R間隔列を変換して中間関数を生成したうえでさらに、当該中間関数における脈動欠落に相当する箇所を、脈動欠落がない状態へと補正することにより、前記周波数解析部で周波数解析の対象となる中間関数を生成することを特徴とする。また、コンピュータを前記心拍データ解析装置として機能させるプログラムであることを特徴とする。 In order to achieve the above object, the present invention reads an RR interval string, which is a string of pulsation intervals extracted from a windowed heartbeat data interval from time-series heartbeat data, and converts the RR interval string. A heartbeat data analysis device comprising: an intermediate function generation unit for generating an intermediate function by performing a frequency analysis on the intermediate function; and a frequency analysis unit for obtaining a frequency analysis result of the intermediate function. a lack determination unit for determining, and when the lack determination unit determines that there is a lack of pulsation, the intermediate function generation unit converts the RR interval sequence to generate an intermediate function, and further, The intermediate function to be subjected to frequency analysis by the frequency analysis unit is generated by correcting a portion of the intermediate function corresponding to the lack of pulsation so that there is no lack of pulsation. Further, the program is characterized by causing a computer to function as the heartbeat data analysis device.

本発明によれば、欠落影響のある箇所を中間関数上において脈動欠落がない状態へと補正することにより、データ欠落が存在する場合であっても適切な補正を施してデータ欠落の影響を低減することができる。 According to the present invention, by correcting the location affected by the dropout on the intermediate function so that there is no pulsation dropout, even if the data dropout exists, appropriate correction is performed to reduce the effect of the data dropout. can do.

心拍データを周波数解析する既存手法の枠組みを説明するための模式図である。FIG. 2 is a schematic diagram for explaining the framework of an existing technique for frequency analysis of heartbeat data; 短時間間隔の時間関数を周波数解析対象とする場合の検出漏れ(データ欠落)の影響(と補正の効果)の例を示す図である。FIG. 10 is a diagram showing an example of the influence (and the effect of correction) of omission of detection (missing data) when a time function of short intervals is subjected to frequency analysis; データ欠落がある場合の中間関数の例を、データ欠落がない場合の中間関数との対比で示す図である。FIG. 10 is a diagram showing an example of an intermediate function when there is data loss in comparison with an intermediate function when there is no data loss; 一実施形態に係る心拍データ解析装置の機能ブロック図である。1 is a functional block diagram of a heartbeat data analysis device according to one embodiment; FIG. 一実施形態に係る心拍データ解析装置の動作のフローチャートである。4 is a flowchart of the operation of the heartbeat data analysis device according to one embodiment; リアルタイムで処理する際のタイミング及びウィンドウ幅の設定例を示す図である。FIG. 10 is a diagram showing an example of setting timing and window width when processing in real time; R-R間隔の逆数として中間関数を生成する例を示す図である。FIG. 10 is a diagram showing an example of generating an intermediate function as the reciprocal of the R-R interval; 補正部による中間関数の補正処理を説明するための例を示す図である。FIG. 10 is a diagram illustrating an example for explaining intermediate function correction processing by a correction unit; 解析部によって得られるリアルタイムの各時刻でのパワースペクトル密度のグラフ例を示す図である。It is a figure which shows the example of a graph of the power spectral density in real time obtained by the analysis part at each time. 中間関数としてビート関数を用いる場合の補正を説明するための例を示す図である。FIG. 10 is a diagram showing an example for explaining correction when a beat function is used as an intermediate function; 一般的なコンピュータ装置におけるハードウェア構成を示す図である。It is a figure which shows the hardware constitutions in a common computer apparatus.

図4は、一実施形態に係る心拍データ解析装置10の機能ブロック図である。心拍データ解析装置10は、R-R間隔抽出部1、欠落判定部2、生成部31及び補正部32を含む中間関数生成部3並びに解析部4を備える。心拍データ解析装置10は、その全体的な動作として、心拍データを計測する計測装置20より心拍データを入力として読み込み、この心拍データ(時間関数)を中間関数に変換したうえでその周波数解析結果を出力する。なお、図4では計測装置20を心拍データ解析装置10の外部構成としているが、計測装置20は心拍データ解析装置10に含まれるものであってもよい。 FIG. 4 is a functional block diagram of the heartbeat data analysis device 10 according to one embodiment. The heartbeat data analysis device 10 includes an intermediate function generation section 3 including an R-R interval extraction section 1, a missing determination section 2, a generation section 31 and a correction section 32, and an analysis section 4. FIG. As an overall operation, the heartbeat data analysis device 10 reads the heartbeat data as an input from the measuring device 20 for measuring the heartbeat data, converts the heartbeat data (time function) into an intermediate function, and then converts the frequency analysis result. Output. 4, the measurement device 20 is an external component of the heartbeat data analysis device 10, but the measurement device 20 may be included in the heartbeat data analysis device 10. FIG.

図5は、一実施形態に係る心拍データ解析装置10の動作のフローチャートである。以下、図5の各ステップを説明しながら、図4の心拍データ解析装置10の各機能部の処理について説明する。 FIG. 5 is a flow chart of the operation of the heartbeat data analysis device 10 according to one embodiment. Hereinafter, while explaining each step of FIG. 5, the processing of each functional unit of the heartbeat data analysis apparatus 10 of FIG. 4 will be explained.

図5のフローが開始されると、ステップS1では、計測装置20より現時刻までの最新の心拍データ(時間関数)をR-R間隔抽出部1において読み込んでから、ステップS2へと進む。当該読み込む最新の心拍データは、ステップS6の更新間隔に渡るものである。すなわち、この更新回数をi(i=1,2,3,…)としてステップS1の時刻をT(i)とすると、ステップS1では1つ前の時刻T(i-1)から現在時刻T(i)までの最新の心拍データを(まだ読み込んでいなかったものとして追加で)読み込めばよい。(i=1の初回では過去時刻T(0)から現時刻T(1)まで待機して読み込めばよい。)この読み込む最新の現時刻T(i)がウィンドウ端に一致するように設定しておいてもよい。 When the flow of FIG. 5 is started, in step S1, the latest heartbeat data (time function) from the measuring device 20 up to the current time is read in the R-R interval extractor 1, and then the process proceeds to step S2. The most recent heartbeat data to be read covers the update interval of step S6. That is, assuming that the number of updates is i (i=1, 2, 3, . The latest heartbeat data up to i) should be read (additionally, assuming that it has not been read yet). (For the first time when i=1, wait from the past time T(0) to the current time T(1) before reading.) Set this latest current time T(i) to be read to coincide with the edge of the window. You can leave it.

すなわち、図5のフローは、計測装置20において心拍データの取得及び解析の対象となるユーザに対してリアルタイムで心拍データの計測を行い、この心拍データ(時間関数)から現在時刻の側の直近のウィンドウサイズ分を切り出して、このウィンドウサイズ内の時間関数をリアルタイムで周波数解析することを、リアルタイムの各時刻(各処理タイミング)において繰り返す実施形態に関するものである。(なお、後述する図5のステップS6が、このリアルタイムでの繰り返し処理の各時刻の更新管理を行うステップである。)一方で、リアルタイムの計測及び解析ではなく、計測装置20において一定期間に渡って既に計測済みの心拍データを順次、心拍データ解析装置10においてスライディングウィンドウを用いて解析することも、図5のフローと同様にして可能である。 That is, in the flow of FIG. 5, heartbeat data is measured in real time for a user whose heartbeat data is to be acquired and analyzed by the measuring device 20, and the most recent time on the side of the current time is measured from this heartbeat data (time function). This embodiment relates to an embodiment that cuts out a window size and repeats frequency analysis of the time function within this window size in real time at each time (each processing timing) in real time. (Note that step S6 in FIG. 5, which will be described later, is a step of performing update management at each time in this real-time repetitive processing.) It is also possible to sequentially analyze already measured heartbeat data using a sliding window in the heartbeat data analysis apparatus 10 in the same manner as in the flow of FIG.

ここで、図5のフローに関してリアルタイムで処理する際のタイミング及びウィンドウ幅は、図6の模式例に示されるように、種々の所定の設定を用いてよい。すなわち、図6の例EX1に示すように、リアルタイムの順次の処理タイミングである時刻t1,t2,t3,…において当該各時刻までのウィンドウW1,W2,W3,…を読み込み、各ウィンドウが接している(あるウィンドウの最後の時刻が次のウィンドウの最初の時刻と一致している)ようにしてもよい。また、例EX2に示すように、リアルタイムの順次の処理タイミングである時刻t4,t5,t6,…において当該各時刻までのウィンドウW4,W5,W6,…を読み込み、各ウィンドウが離れている(あるウィンドウの最後の時刻と次のウィンドウの最初の時刻との間に間隔が存在する)ようにしてもよい。また、例EX3に示すように、リアルタイムの順次の処理タイミングである時刻t7,t8,t9,…において当該各時刻までのウィンドウW7,W8,W9,…を読み込み、各ウィンドウが部分的に重複している(あるウィンドウの最後側の部分と次のウィンドウの最初側の部分とが重複する)ようにしてもよい。また、例EX3では隣接ウィンドウ間の重複割合がウィンドウ幅の2割程度であるが、この重複割合も任意のものを設定できる。(例えばウィンドウ幅の9割が重複して、各ウィンドウが、両隣の2つの隣接ウィンドウよりもさらに遠方のウィンドウとも重複していてもよい。) Here, as shown in the schematic example of FIG. 6, various predetermined settings may be used for the timing and window width when processing the flow in FIG. 5 in real time. That is, as shown in example EX1 of FIG. 6, windows W1, W2, W3, . . . (the last time of one window coincides with the first time of the next window). Also, as shown in example EX2, windows W4, W5, W6, . . . There may be an interval between the last time of a window and the first time of the next window). Also, as shown in example EX3, windows W7, W8, W9, . . . (the last part of one window overlaps the first part of the next window). In example EX3, the overlapping ratio between adjacent windows is about 20% of the window width, but this overlapping ratio can also be set arbitrarily. (For example, 90% of the window width overlaps, and each window may also overlap a window further than the two neighboring windows on both sides.)

計測装置20は、心拍データを取得する対象とされるユーザにウェアラブル装置等の形式で装着され、任意の既存手法により任意の既存形式の心拍データを取得することができる。例えば、ECG(心電図)センサとして皮膚上に装着した電極を介して心電図の形式で心拍データを得てもよいし、PPG(光学式心拍)センサとして血管中の血流体積を光学的に検出して脈波の形式で心拍データを得てもよい。その他の種類の心拍センサを利用してもよい。 The measuring device 20 is worn in the form of a wearable device or the like by a user whose heartbeat data is to be acquired, and can acquire heartbeat data in any existing format by any existing method. For example, as an ECG (electrocardiogram) sensor, heartbeat data may be obtained in the form of an electrocardiogram through electrodes attached on the skin, or as a PPG (optical heartbeat) sensor, the blood flow volume in blood vessels is optically detected. heart rate data may be obtained in the form of pulse waves. Other types of heart rate sensors may be used.

ステップS2では、ステップS1で読み込んだ最新の時間関数(心拍データ)を含む現時刻までの時間関数を対象として以下の(1)~(3)の各処理を行ってからステップS3へと進む。 In step S2, the following processes (1) to (3) are performed on the time function up to the current time including the latest time function (heartbeat data) read in step S1, and then the process proceeds to step S3.

(1) R-R間隔抽出部1が、現時刻までの時間関数よりR-R間隔を抽出し、このR-R間隔を生成部31(及び図4中に線L1で示されるように実施形態によっては欠落判定部2)へと出力する。前掲の図1のデータ例D1に関して説明した通り、R-R間隔は、時間関数の振幅値がピークとなり、且つ、当該ピークの値が閾値を超える箇所をR波の発生時刻と判定することで、当該R波の発生時刻の間隔がなす時系列として抽出することができる。 (1) The R-R interval extraction unit 1 extracts the R-R interval from the time function up to the current time, and the R-R interval is generated by the generation unit 31 (and depending on the embodiment, the lack determination unit as indicated by the line L1 in FIG. 4) 2). As described with respect to data example D1 in FIG. It can be extracted as a time series formed by intervals of occurrence times of R waves.

(2) 生成部31が、R-R間隔抽出部1で算出したR-R間隔を変換して中間データとしての中間関数を生成し、この中間関数を解析部4又は補正部32へと出力する。ここで、生成部31で生成した中間関数は、後述するステップS3で肯定判定となりステップS4に進む場合に補正部32へと出力され、後述するステップS3で否定判定となりステップS4がスキップされる場合に、解析部4へと出力される。また、生成部31で生成した中間関数は、実施形態によっては図4中に線L2で示されるように欠落判定部2へも出力される。 (2) The generator 31 converts the R-R interval calculated by the R-R interval extractor 1 to generate an intermediate function as intermediate data, and outputs this intermediate function to the analyzer 4 or the corrector 32 . Here, the intermediate function generated by the generation unit 31 is output to the correction unit 32 when a positive determination is made in step S3 described later and the process proceeds to step S4, and when a negative determination is made in step S3 described later and step S4 is skipped. , is output to the analysis unit 4. The intermediate function generated by the generation unit 31 is also output to the missing determination unit 2 as indicated by line L2 in FIG. 4, depending on the embodiment.

前述の通り中間データへ変換するための中間関数には様々な種類が存在するが、以下では説明例として生成部31が図7に例示されるように、R-R間隔の逆数として中間関数を生成する場合について説明することとする。図7(前掲の図1,3の例でも同様)に示されるように、読み込んだウィンドウ内の時間関数(心拍データ)に対してR-R間隔抽出部1の抽出結果として、閾値超えのピーク時刻tk(k=0,1,2,3,4,…)が順次に判定され、これらピーク時刻の隣接間隔としてR-R間隔Ik+1=tk+1-tk(k=0,1,2,3,4…)が抽出されているとする。このR-R間隔を、その逆数を振幅に持つ中間関数に変換すると、関数f(t)=1/Ik+1(tk≦t<tk+1)の形の中間関数が得られる。 As described above, there are various types of intermediate functions for converting to intermediate data. In the following, as an example of explanation, the generating unit 31 generates an intermediate function as the reciprocal of the RR interval, as illustrated in FIG. The case will be explained. As shown in FIG. 7 (similar to the examples of FIGS. 1 and 3 above), the extraction result of the RR interval extraction unit 1 for the time function (heartbeat data) within the read window is the peak time t k (k=0, 1 , 2, 3, 4 , . 2,3,4...) are extracted. Converting this RR interval into an intermediate function whose amplitude is its reciprocal yields an intermediate function of the form f(t)=1/I k+1 (t k ≦t<t k+1 ).

(3) 欠落判定部2が、ステップS1で読み込んだ時間関数(心拍データ)における欠落の有無を判定し、判定結果(欠落ありの判定結果の場合は、欠落発生箇所の情報も含む)を補正部32へと出力する。この欠落有無の判定は、図4中に線L1で示すように、R-R間隔抽出部1で得たR-R間隔(複数のR-R間隔が並んだ時系列データとしてのR-R間隔列)のうち、所定の閾値を超えて長いと判定されるR-R間隔が存在する場合に、当該長いと判定されたR-R間隔の箇所に欠落が発生しているものとして判定すればよい。(なお、単一の「R-R間隔」と、これらの複数が時間順で並んだ「R-R間隔列」とに関して、区別が文脈上明らかである場合にいずれも「R-R間隔」と呼ぶこととする。) (3) The omission judging section 2 judges whether there is omission in the time function (heartbeat data) read in step S1, and corrects the judgment result (in the case of the omission judgment result, the information of the omission occurrence point is also included). output to unit 32; As shown by line L1 in FIG. If there is an R-R interval that is determined to be longer than a threshold, it may be determined that the portion of the R-R interval that is determined to be long is missing. (In addition, regarding a single "R-R interval" and a "R-R interval sequence" in which a plurality of these are arranged in chronological order, both are called "R-R intervals" when the distinction is clear from the context. )

ここで、一般的にヒトの心拍間隔は、3割程度の変化に留まると言われている。したがって、閾値の設定例として、平均R-R間隔の3割を超過した場合(R-R間隔が平均R-R間隔の1.3倍を超過した場合)、または、前後のR-R間隔(前後2つのR-R間隔のうち少なくとも片方、あるいは両方、あるいは両方の平均)の1.3倍を超過したした場合にデータ欠落があるものと判定してもよい。この平均R-R間隔は、予め固定値として求めておいてもよいし、R-R間隔抽出部1において直近の一定期間(例えば現在から3分前の過去までの期間)におけるR-R間隔の履歴を記録しておき、この記録から各時刻において動的に平均R-R間隔を算出し、これに応じた閾値判定を欠落有無判定部2において行うようにしてもよい。 Here, it is generally said that the human heartbeat interval changes only about 30%. Therefore, as an example of threshold setting, when the average R-R interval exceeds 30% (when the R-R interval exceeds 1.3 times the average R-R interval), or when the R-R interval before and after (at least one of the two R-R intervals before and after , or both, or the average of both), it may be determined that there is data missing. This average R-R interval may be determined in advance as a fixed value, or the R-R interval extraction unit 1 records the history of the R-R interval in the most recent fixed period (for example, the period from the present to the past three minutes ago). Then, the average R-R interval may be dynamically calculated at each time based on this recording, and the lack presence/absence determination unit 2 may perform threshold determination according to this.

あるいは、欠落判定部2では同様の判定を、線L0に示されるようにステップS1で読み込んで更新して得られた現時刻までの時間関数(心拍データ)を直接解析して行うようにしてもよいし、線L2で示されるように生成部31で得た中間関数を解析して行うようにしてもよい。 Alternatively, the missing determination unit 2 may perform the same determination by directly analyzing the time function (heartbeat data) up to the current time obtained by reading and updating in step S1 as indicated by the line L0. Alternatively, it may be performed by analyzing the intermediate function obtained by the generator 31 as indicated by the line L2.

ステップS3では、上記ステップS2の(3)の処理における欠落判定部2の判定結果が「欠落あり」であったか否かによる場合分けが行われ、肯定の場合(欠落が存在すると判定された場合)はステップS4へと進み、否定の場合(欠落が存在しないと判定された場合)は図5中に示されるようにステップS4はスキップして、ステップS5へと進む。 In step S3, cases are classified according to whether or not the determination result of the missing determination unit 2 in the processing of (3) in step S2 above is "missing". proceeds to step S4, and if negative (if it is determined that there is no omission), skips step S4 and proceeds to step S5 as shown in FIG.

ステップS4では、補正部32が生成部31から得られた中間関数を補正して、補正された中間関数を解析部4へと出力してから、ステップS5へと進む。上記ステップS3の判定結果により、この中間関数は当初の時間関数(心拍データ)に欠落が発生しているものであり、前掲の図2,3で説明したようにそのまま周波数解析するには不適切であるため、補正部32においてこれを補正し、周波数解析するのに適した補正された中間関数とする。 In step S4, the correction unit 32 corrects the intermediate function obtained from the generation unit 31, outputs the corrected intermediate function to the analysis unit 4, and then proceeds to step S5. According to the determination result of step S3 above, this intermediate function has a missing part in the initial time function (heartbeat data), and is inappropriate for frequency analysis as it is, as explained in Figures 2 and 3 above. Therefore, the correcting section 32 corrects this to obtain a corrected intermediate function suitable for frequency analysis.

図8は、補正部32による中間関数の補正処理を説明するための例を示す図である。補正対象となる中間関数の例としてデータD7が示され、このデータ例D7は図3で示したものと同一であって、R-R間隔の逆数を振幅とすることによって中間関数を得ており、箇所R7がデータ欠落の存在によって特異な値となっている。説明のため、図8のデータD7にも描かれているように、この欠落発生箇所R7のR-R間隔(時間幅)をInとすると、その逆数を振幅に持つ中間関数であることからこの欠落発生箇所R7の振幅はf(t)=1/In(この時刻tは時間幅Inの箇所R7に属する範囲内にある)となる。なお、図8のデータ例D7に示されるような欠落発生箇所R7(ウィンドウ内の時間範囲)の情報は、欠落判定部2において欠落が存在する旨が判定された際に取得されており、補正部32へとこの情報が出力されている。 FIG. 8 is a diagram showing an example for explaining the intermediate function correction processing by the correction unit 32. As shown in FIG. Data D7 is shown as an example of an intermediate function to be corrected. This data example D7 is the same as that shown in FIG. R7 is a peculiar value due to the presence of missing data. For the sake of explanation, as shown in data D7 in FIG . The amplitude at the point of occurrence R7 is f(t)=1/I n (this time t is within the range belonging to the point R7 with the time width I n ). It should be noted that the information of the dropout occurrence location R7 (time range within the window) as shown in the data example D7 in FIG. This information is output to the unit 32 .

図8にさらに示されるように、補正部32は、データD7における欠落発生箇所R7を、データD7Cのような形の中間関数に加工することによって補正結果を得る。データD7Cに関して、図8では上段側に全体的な様子が、下段側にこの一部分としての補正対象となる欠落発生箇所R7及びその近傍の拡大図が示されている。この補正処理においては、データD7Cに示されるように、欠落発生箇所R7のみが補正の対象となり、当該ウィンドウサイズ内において、欠落発生箇所R7以外の箇所は補正されない。また、補正の際に参照する中間関数の情報は、欠落発生箇所R7の最近傍にあるR-R間隔及びその逆数としての振幅値となる。 As further shown in FIG. 8, the correction unit 32 obtains a correction result by processing the dropout occurrence location R7 in the data D7 into an intermediate function in the form of the data D7C. Regarding the data D7C, FIG. 8 shows the overall appearance on the upper side, and an enlarged view of the dropout occurrence location R7 to be corrected as a part of this and its vicinity on the lower side. In this correction process, as indicated by the data D7C, only the dropout occurrence location R7 is subject to correction, and within the window size, locations other than the dropout occurrence location R7 are not corrected. Further, the information of the intermediate function referred to in the correction is the R-R interval in the closest vicinity of the dropout location R7 and the amplitude value as its reciprocal.

すなわち、欠落発生箇所R7(時間幅In及び一定振幅1/Inで構成される)は、前掲の図3のデータ例D6,D7を参照して説明した通り、本来であれば発生しているべき1回の脈動が欠落している状態にあるため、欠落状態として不自然に長い1回分のR-R間隔(及び不自然に小さい振幅)が反映された時間幅In及び一定振幅1/Inで構成される状態から、本来発生しているべきであった自然な短い2回分のR-R間隔(及び自然な大きさの振幅)に相当する、「時間幅Im1及び一定振幅1/Im1」及び「時間幅Im2及び一定振幅1/Im2」で構成される状態へと置き換えることにより補正する。 That is, the dropout occurrence point R7 (consisting of the time width I n and the constant amplitude 1/I n ) should not have occurred originally, as described with reference to the data examples D6 and D7 in FIG. Since one pulsation that should be present is missing, the time width I n and constant amplitude 1/I reflecting an unnaturally long RR interval (and unnaturally small amplitude) as a missing state n , corresponding to the two natural short RR intervals (and amplitudes of natural magnitude) that should have occurred, "time width I m1 and constant amplitude 1/I m1 ” and “time width I m2 and constant amplitude 1/I m2 ”.

具体的に、欠損発生箇所R7の最近傍にある中間関数の情報のみを補正のための元データとして参照することによって自然な補正結果を得るべく、以下の式(1),(2)を満たすように、2回分のR-R間隔に相当する2つの時間幅Im1及びIm2(及びこれらの逆数としての振幅)を求めることで、補正された中間関数を得るようにすればよい。 Specifically, the following equations (1) and (2) are satisfied in order to obtain a natural correction result by referring only to the information of the intermediate function closest to the defect occurrence location R7 as the original data for correction. , two time widths I m1 and I m2 corresponding to two RR intervals (and their amplitudes as reciprocals) are obtained to obtain a corrected intermediate function.

Figure 2023032476000002
Figure 2023032476000002

式(1)は、時間幅Inを有する欠落発生箇所R7を、合計2回のR-R間隔の和として等しい時間幅となるような2つのR-R間隔Im1及びIm2(Im1が前半側で、Im2が後半側)に置き換えることを意味している。この置き換えを行う場合は、逆数を振幅に持つ中間関数として、前半側のR-R間隔Im1の振幅が逆数1/Im1となり、後半側のR-R間隔Im2の振幅が逆数1/Im2となるが、これら振幅が補正結果として自然な値となるようにするための制約が式(2)である。2つの変数としての2つのR-R間隔Im1及びIm2に対して、式(1)及び(2)の2つの制約を課すことで、この2つの変数の値を決定し、補正された中間関数(データ例D7C)を得ることができる。 Equation ( 1 ) is based on two RR intervals I m1 and I m2 (I m1 is the first half of , I m2 is meant to replace the latter half). When performing this replacement, the amplitude of the RR interval I m1 in the first half is the reciprocal 1/I m1 , and the amplitude of the RR interval I m2 in the second half is the reciprocal 1/I m2 as an intermediate function having the reciprocal amplitude. However, the constraint for making these amplitudes natural values as a result of correction is Equation (2). By imposing the two constraints of equations (1) and (2) on the two RR intervals I m1 and I m2 as two variables, the values of these two variables are determined and the corrected intermediate function (data example D7C) can be obtained.

式(2)の制約は幾何的には、図8のデータ例D7C(下段側の拡大図)に描いて示される通りである。すなわち、補正対象である欠落発生箇所R7の直前に位置するR-R間隔R7B(時間幅In-1及び一定振幅1/In-1で構成される)の中点mn-1と、補正対象である欠落発生箇所R7の直後に位置するR-R間隔R7A(時間幅In+1及び一定振幅1/In+1で構成される)の中点mn+1と、を結ぶ直線Lを中間関数のグラフ上に引いた際に、この直線L上に、補正された前半側のR-R間隔Im1の中点mm1と補正された後半側のR-R間隔Im2の中点mm2とが乗るようにする、という制約である。 Geometrically, the constraint of expression (2) is as illustrated in data example D7C (enlarged view on the lower side) of FIG. That is, the middle point m n- 1 of the RR interval R7B (consisting of the time width I n-1 and the constant amplitude 1/I n-1 ) located immediately before the missing point R7 to be corrected, and the correction target A straight line L connecting the middle point m n+1 of the RR interval R7A (consisting of time width I n+1 and constant amplitude 1/I n+1 ) located immediately after the missing point R7 is When drawn on the graph of the function, the midpoint m m1 of the corrected first half RR interval I m1 and the midpoint m m2 of the corrected second half RR interval I m2 are placed on this straight line L. It is a constraint that

なお、上記の中点mn-1, mm1, mm2, mn+1とは、図8からも明らかなように、逆数の振幅を有する中間関数の定義から、そのグラフ形状が「短冊関数」(R-R間隔に応じて変動する横幅及びこの横幅の逆数を高さとする矩形(短冊)が時間軸上で並ぶ形状の関数)となる中間関数における、各「短冊」(矩形)の上辺(振幅値がなす辺)の中点を意味するものである。(すなわち、短冊関数は、ステップ関数f(x)=0(x<0),f(x)=1(x≧1)のステップ位置x=0とステップ高さ1とを様々に変えた(ステップ高さは負の値でもよい)、複数のステップ関数の和として表現できるものである。) As is clear from FIG. 8, the above midpoints m n−1 , m m1 , m m2 , and m n+1 are defined as intermediate functions having reciprocal amplitudes, and their graph shapes are “rectangular The upper side of each "strip" (rectangle) in the intermediate function "function" (a function of the shape of rectangles (strips) whose height is the reciprocal of the width that varies according to the RR interval and the reciprocal of this width is lined up on the time axis) It means the midpoint of the side formed by the amplitude values). (That is, the strip function varied the step position x=0 and the step height 1 of the step function f(x)=0(x<0), f(x)=1(x≧1)( The step height can be negative) and can be expressed as the sum of multiple step functions.)

以上、図8で説明した補正部32の補正手法を第1実施形態として、さらにこの変形例である第2,第3実施形態を説明する。 As described above, the correction method of the correction unit 32 explained with reference to FIG. 8 is used as the first embodiment, and second and third embodiments, which are modifications thereof, will be explained.

第2実施形態は、第1実施形態の式(1)及び式(2)の制約を用いることに変えて、式(1)及び以下の式(3)を用いることで補正された前半側のR-R間隔Im1及び補正された後半側のR-R間隔Im2を定めることができる。
Im1=Im2 …(3)
In the second embodiment, instead of using the constraints of the equations (1) and (2) of the first embodiment, the first half side corrected by using the equation (1) and the following equation (3) An RR interval I m1 and a corrected RR interval I m2 on the rear half side can be determined.
I m1 =I m2 …(3)

すなわち、第2実施形態は、図8等で示される欠落発生箇所R7の時間幅In(R-R間隔In)の時間軸上の中点に、本来発生しているべき脈動があったと推定して補正結果を得るものである。式(3),(1)より、補正された2つの等しいR-R間隔及び対応する振幅は以下の通りとなり、データ例D7の欠落発生箇所R7を中間関数として自然な値に補正することが可能となる。
Im1=Im2=In/2
→R-R間隔Im1,Im2は当初の半分の2回分となる。
1/Im1=1/Im2=2*(1/In)
→振幅値1/Im1,1/Im2は当初の不自然な値1/Inの2倍となり自然な値となる。
That is, in the second embodiment, it is estimated that the pulsation that should have occurred was present at the midpoint on the time axis of the time width I n (RR interval I n ) of the dropout occurrence location R7 shown in FIG. 8 and the like. to obtain the correction result. From equations (3) and (1), the corrected two equal RR intervals and the corresponding amplitudes are as follows, and it is possible to correct the dropout occurrence point R7 of data example D7 to a natural value using an intermediate function. Become.
I m1 =I m2 =I n /2
→ RR intervals I m1 and I m2 are half of the initial interval, which is twice.
1/I m1 =1/I m2 =2*(1/I n )
→The amplitude values 1/I m1 and 1/I m2 are double the initial unnatural value 1/I n and become natural values.

なお、第2実施形態は、第1実施形態(及び第3実施形態)とは異なり、中間関数を補正するに際して、欠落発生箇所R7以外の中間関数のデータを補正元となるデータとして参照することが不要となる。 In the second embodiment, unlike the first embodiment (and the third embodiment), when correcting the intermediate function, the data of the intermediate function other than the dropout occurrence point R7 is referred to as the correction source data. becomes unnecessary.

第3実施形態は、上記の第2実施形態が時間軸上の中点(すなわち、中間関数の横軸方向の中点)として本来の脈動を推定して補正結果を得たのに対して、中間関数の縦軸方向の中点として、本来の脈動に対応する中間関数の補正結果を得るものである。 In the third embodiment, the correction result is obtained by estimating the original pulsation as the midpoint on the time axis (that is, the midpoint in the horizontal axis direction of the intermediate function) in the above-described second embodiment. A correction result of the intermediate function corresponding to the original pulsation is obtained as the midpoint of the intermediate function in the vertical axis direction.

すなわち、図8で示したのと同様に、欠落発生箇所R7の直前に位置するR-R間隔R7B(時間幅In-1及び一定振幅1/In-1(=yn-1とする)で構成される)と、欠落発生箇所R7の直後に位置するR-R間隔R7A(時間幅In+1及び一定振幅1/In+1(=yn+1とする)で構成される)と、を補正のための参照データとして利用し、欠落発生箇所R7の補正された振幅ynを以下のようにこれら前後の振幅yn-1及びyn+1の平均値として算出することで、補正結果を得る。
yn=(yn-1+yn+1)/2
That is, as shown in FIG. 8, at the RR interval R7B (time width I n-1 and constant amplitude 1/I n-1 (= y n-1 ) located immediately before the missing point R7, ), an RR interval R7A (consisting of a time width I n+1 and a constant amplitude 1/I n+1 (= y n+1 ) located immediately after the dropout occurrence point R7), is used as reference data for correction, and the corrected amplitude y n of the missing point R7 is calculated as the average value of the amplitudes y n-1 and y n+1 before and after these as follows. Get results.
y n =(y n-1 +y n+1 )/2

この第3実施形態では、補正された振幅を上記平均値ynとし、時間軸方向の長さについては補正前のInと同様の長さであるものとすればよい。(すなわち、中間関数の欠落発生箇所R7(時間軸での長さIn)について、補正前の振幅1/Inを振幅ynへと変更したものを補正結果とすればよい。この補正後の箇所については、「振幅×時間軸長さ=yn×In≠1」となるため、仮に1回のR-R間隔がこの補正後の箇所に対応しているものとすると、時間間隔の逆数を振幅として有する中間関数の定義に反した振幅値となっているが、振幅値自体は自然な値に補正されているため、自然な周波数解析結果を得ることが可能となる。(あるいは、補正後の箇所では、時間軸長さInの範囲内に、それぞれが「振幅yn×時間軸長さ=1」となるような時間軸長さのR-R間隔が複数(整数でなくてもよい)だけ存在するものと解釈してもよい。)すなわち、第3実施形態では、時間軸方向の長さがInとなる欠落発生箇所R7のどの位置に本来の脈動が存在したのかという点で第1実施形態や第2実施形態のように明確な推定結果を得ることはできないが、周波数解析する対象である中間関数の形において、自然な補正結果を得ることが可能となる。) In the third embodiment, the corrected amplitude may be the average value y n and the length in the time axis direction may be the same length as In before correction. (That is, for the intermediate function dropout occurrence location R7 (length I n on the time axis), the amplitude 1/I n before correction is changed to amplitude y n . At this point, since "amplitude x time axis length = y n x I n ≠ 1", assuming that one RR interval corresponds to this point after correction, the reciprocal of the time interval is Although the amplitude value is contrary to the definition of an intermediate function having as the amplitude, the amplitude value itself is corrected to a natural value, so it is possible to obtain a natural frequency analysis result (or corrected In the later part, within the range of the time axis length In , there are multiple RR intervals of the time axis length such that each is "amplitude y n × time axis length = 1" (it does not have to be an integer ) is present.) That is, in the third embodiment, the point at which the original pulsation exists in the dropout occurrence point R7 whose length in the direction of the time axis is I n is determined. Although it is not possible to obtain a clear estimation result as in the first and second embodiments, it is possible to obtain a natural correction result in the form of an intermediate function, which is the target of frequency analysis.)

ステップS5では、解析部4が、中間関数生成部3で生成された中間関数に対して周波数解析を行い、その結果を出力してからステップS6へと進む。解析部4での解析の対象となる中間関数は、ステップS4からステップS5へ進んだ場合(データ欠落が存在する場合)は生成部31で生成され、さらに、補正部32でデータ欠落の影響を低減するように補正された中間関数であり、ステップS4をスキップしてステップS3からステップS5へ進んだ場合(データ欠落が存在しない場合)は、生成部31で生成された中間関数である。また、ステップS5で周波数解析となる中間関数の時間軸上での範囲は、図6で説明したような所定ウィンドウ範囲であり、現在時刻まで得られている中間関数を包含する最新時刻側のウィンドウ範囲(過去のステップS5では未処理であったウィンドウ範囲)を、新たな解析対象とすればよい。 In step S5, the analysis unit 4 performs frequency analysis on the intermediate function generated by the intermediate function generation unit 3, outputs the result, and proceeds to step S6. The intermediate function to be analyzed by the analysis unit 4 is generated by the generation unit 31 when the process proceeds from step S4 to step S5 (when there is data loss), and further corrected by the correction unit 32. It is an intermediate function corrected to be reduced, and if step S4 is skipped and step S3 is advanced to step S5 (when there is no data missing), it is the intermediate function generated by the generation unit 31. In addition, the range on the time axis of the intermediate function that becomes the frequency analysis in step S5 is the predetermined window range as described with reference to FIG. The range (the window range that was not processed in the past step S5) should be made a new analysis target.

データ欠落が存在する場合、補正部32では以上の説明のようにしてデータ欠落が存在しない状態に相当するものとなるように中間関数を補正するので、解析部4における周波数解析結果をデータ欠落の影響を低減させた適切な結果として得ることが可能となる。すなわち、前掲の図2で説明したような、データ欠落が存在する場合であってもグラフGBのような不自然な周波数解析結果ではなく、補正が反映されたグラフGCのように自然な周波数解析結果(本来のグラフGAに近い周波数結果)を得ることが可能となる。 When there is data loss, the correction unit 32 corrects the intermediate function so that it corresponds to a state in which data loss does not exist, as described above. It is possible to obtain an appropriate result with reduced influence. In other words, even if there is data missing as explained in Fig. 2 above, it is not an unnatural frequency analysis result like the graph GB, but a natural frequency analysis like the graph GC reflecting the correction. It is possible to obtain a result (a frequency result close to the original graph GA).

解析部4では前掲の図1の例におけるデータD2からデータD3を得るのと同様の処理で周波数解析結果を得ることができる。すなわち、中間関数を周波数解析してパワースペクトル密度F(f)を得て、以下の式のように所定の低周波側帯域として例えば0.04~0.15Hz成分の総和をLFとし、所定の高周波側帯域として例えば0.15~0.40Hz成分の総和をHFとする(以下の式)として算出する。 The analysis unit 4 can obtain the frequency analysis result by the same processing as that for obtaining the data D3 from the data D2 in the example of FIG. That is, the intermediate function is frequency-analyzed to obtain the power spectral density F(f), and the sum of 0.04 to 0.15 Hz components is defined as LF as a predetermined low-frequency band as shown in the following equation, and a predetermined high-frequency band For example, HF is the sum of 0.15 to 0.40 Hz components (the following formula).

Figure 2023032476000003
Figure 2023032476000003

商LF/HFは交感神経の働き具合を示し、HFは、副交感神経の働き具合を示すことが知られているので、これらの値(LF/HF及びHF)を自律神経指標とすることで、周波数解析に基づく心拍データの解析結果を得ることができる。 It is known that the quotient LF/HF indicates the working condition of the sympathetic nerves, and HF indicates the working condition of the parasympathetic nerves. It is possible to obtain analysis results of heartbeat data based on frequency analysis.

図9に、解析部4によって得られるリアルタイムの各時刻でのパワースペクトル密度のグラフ例を示す。パワースペクトル密度がリアルタイムで得られることから、自律神経指標である値(LF/HF及びHF)も同様に、リアルタイムで得ることが可能となる。 FIG. 9 shows an example of a graph of the power spectrum density at each time in real time obtained by the analysis unit 4. In FIG. Since the power spectral density is available in real time, the autonomic index values (LF/HF and HF) can likewise be obtained in real time.

ステップS6では、時刻を次の時刻(リアルタイムの次の処理タイミング)に更新してからステップS1へと戻ることで、以上説明した処理が心拍データ解析装置10においてリアルタイムの各時刻について繰り返し実行される。 In step S6, the time is updated to the next time (next real-time processing timing), and then the process returns to step S1, so that the heartbeat data analysis device 10 repeatedly executes the above-described processing for each real-time time. .

以上、本発明の実施形態によれば、自律神経指標を求める際に、不整脈あるいは計測誤差等に起因したデータ欠落(脈動の検出漏れ)の影響を少なくすることができる。この際、周波数成分に影響を及ぼさないように、心拍間隔(R-R間隔)ではなく、中間関数データ上で補正することで、適切かつ簡素な補正が可能である。この補正にあたり、他の区間(ウィンドウ)のデータを参照しないことで、比較的短いウィンドウを対象としてリアルタイム解析に即した補正及び自律神経指標の瞬間的状態あるいは状態変化を導く要求に対する補正が可能である。 As described above, according to the embodiments of the present invention, it is possible to reduce the influence of data loss (missed detection of pulsation) due to arrhythmia, measurement error, or the like when obtaining an autonomic nerve index. At this time, appropriate and simple correction is possible by correcting not the heartbeat interval (R-R interval) but the intermediate function data so as not to affect the frequency component. For this correction, by not referring to the data of other intervals (windows), it is possible to make corrections in line with real-time analysis targeting relatively short windows and corrections for requests that lead to instantaneous states or state changes of autonomic nerve indices. be.

なお、以下(4)において後述するように、データ欠落がウィンドウ端で発生している場合は、例外的にウィンドウ外の中間関数も参照して補正することとなるが、参照箇所はウィンドウ外部に範囲を広げる際の最小範囲としてR-R間隔1個分だけでよく、ウィンドウ外部の広範囲な中間関数を参照することは不要であるため、実質的に単一ウィンドウ内のみで補正しているのと同様である。 As will be described later in (4) below, when data loss occurs at the edge of the window, the intermediate functions outside the window are exceptionally referred to for correction. Only one R-R interval is required as the minimum range when expanding the range, and it is unnecessary to refer to a wide range of intermediate functions outside the window, so it is virtually the same as correcting within a single window. is.

以下、種々の追加例、補足例、代替例などに関して説明する。 Various additions, supplements, alternatives, etc. are described below.

(1) 本発明の実施形態によれば、自律神経指標のリアルタイムでの高精度な把握が可能となることから、例えば精神的なストレスを原因とする疾病等の予防等へと利用することで、国連が主導する持続可能な開発目標(SDGs)の目標3「あらゆる年齢のすべての人々の健康的な生活を確保し、福祉を推進する」に貢献することが可能となる。(なお、データ欠落の一因となる不整脈が偶発的なものではない場合には、別途の医療的な対処が望まれる。) (1) According to the embodiment of the present invention, since it is possible to grasp the autonomic nerve index with high accuracy in real time, it can be used, for example, to prevent diseases caused by mental stress. , it will be possible to contribute to Goal 3 of the Sustainable Development Goals (SDGs) led by the United Nations, "Ensure healthy lives and promote well-being for all at all ages." (In addition, if the arrhythmia that contributes to the lack of data is not accidental, separate medical treatment is desired.)

(2) 以上の説明では、生成部31においてR-R間隔の逆数を振幅値とする中間関数を用いる場合の補正に関して説明したが、その他の中間関数でも同様の補正処理が可能である。例えば逆数(R-R間隔の-1乗)以外で振幅値を定める中間関数であっても、逆数の場合と同様にグラフ形状が短冊関数となるような中間関数であれば、当該中間関数の個別制約のもとで、図8で説明した第1実施形態や、その変形例としての第2,第3実施形態による補正が可能である。 (2) In the above description, the generation unit 31 describes the correction in the case of using the intermediate function whose amplitude value is the reciprocal of the R-R interval, but similar correction processing is possible with other intermediate functions. For example, even if the intermediate function determines the amplitude value by something other than the reciprocal (the -1 power of the R-R interval), if the graph shape is a rectangular function as in the case of the reciprocal, individual constraints for the intermediate function Based on this, it is possible to make corrections according to the first embodiment described with reference to FIG. 8 and modifications thereof according to the second and third embodiments.

例えば第1実施形態であれば、図8で説明したのと同様に、短冊関数となる中間関数におけるデータ欠落発生箇所R7を補正するのに、その直前の1回のR-R間隔に相当する中間関数部分R7Bと、その直後の1回のR-R間隔に相当する中間関数部分R7Aと、のみを補正元データとして参照すればよい。変形例として、直前及び直後のそれぞれにおいて、2回分以上のR-R間隔に相当する中間関数部分を補正元データとして参照するようにしてもよい。(ただし、データ欠落発生箇所R7からできる限り近い範囲内のみを補正元データとすることが望ましい。) For example, in the case of the first embodiment, in the same manner as described with reference to FIG. Only the portion R7B and the immediately following intermediate function portion R7A corresponding to one R-R interval should be referred to as correction source data. As a modification, an intermediate function portion corresponding to two or more R-R intervals may be referred to as correction source data in each of immediately before and immediately after. (However, it is desirable to use only the range as close as possible to the data missing point R7 as the source data for correction.)

(3) 生成部31における中間関数としてビート関数を用いる場合の補正部32における補正を、図10を用いて説明する。ビート関数とは、R-R間隔がIk(時間軸上で順番にk=1,2,3,…)である場合に、この時間軸上での順番kを離散時間kに置き換えることによって、中間関数をそのまま離散時間kでの等間隔のパルス列Ik(k=1,2,3,…)として得るものである。(すなわち、逆数の中間関数では時間軸は当初の心拍データと共通していたのと異なり、ビート関数の中間関数では時間軸はパルス番号に変換され、パルス高さに時間幅の情報が反映されることとなる。) (3) Correction in the corrector 32 when the beat function is used as the intermediate function in the generator 31 will be described with reference to FIG. The beat function is the intermediate The function is obtained as it is as a pulse train I k (k=1, 2, 3, . (In other words, unlike the intermediate function of the reciprocal, where the time axis was the same as the initial heart rate data, the intermediate function of the beat function converts the time axis into pulse numbers, and the pulse height reflects the time width information. The Rukoto.)

図10ではデータ例D10としてこの離散時間パルス列が示され、3番目のパルスI3がその他のパルスと比べて顕著に高いことから、欠落判定部2において欠落発生箇所として判定されているものとする。この場合、データ例D10Cとして示すように、欠落起因のパルスI3を2つの補正後のパルスI3-1,I3-2に置換することで、以下に示すように補正した中間関数を得ることができる。
補正前の中間関数(データD10) I1,I2,I3,I4の順に並ぶ4個のパルス列
補正後の中間関数(データD10C) I1,I2,I3-1,I3-2,I4の順に並ぶ5個のパルス列
In FIG. 10, this discrete time pulse train is shown as a data example D10, and since the third pulse I3 is significantly higher than the other pulses, it is assumed that the dropout determination unit 2 determines that the dropout occurs. . In this case, as shown in data example D10C, by replacing the missing pulse I3 with two corrected pulses I3-1 and I3-2 , we obtain the following corrected intermediate function: be able to.
Intermediate function before correction (data D10) Four pulse trains arranged in order of I1 , I2 , I3 , I4 Intermediate function after correction (data D10C) I1 , I2 , I3-1 , I3- 5 pulse trains in order of 2 ,I 4

2つの補正後のパルスI3-1,I3-2の高さについては、欠落発生箇所であった3番目のパルスI3の直前のパルスI2と直後のパルスI4とから高さを内挿することにより、以下のように算出すればよい。当該内挿による算出は、図10の補正後データ例D10Cにおいて線L10として模式的に示されている。
I3-1=(2*I2+I4)/3
I3-2=(I2+2*I4)/3
For the heights of the two corrected pulses I3-1 and I3-2 , the heights of the pulse I2 immediately before the third pulse I3 and the pulse I4 immediately after the third pulse I3, which was the missing point, were calculated. By interpolation, it is possible to calculate as follows. Calculation by the interpolation is schematically shown as a line L10 in the post-correction data example D10C in FIG.
I3-1 =(2* I2 + I4 )/3
I3-2 = ( I2 +2* I4 )/3

なお、上記ビート関数を中間関数とする際の補正例は、以下の読み替えを適用することで、図8で説明した逆数を中間関数とする際の補正と同様の方針で補正している。
3番目のパルスI3=データ欠落発生箇所R7
2番目のパルスI2=データ欠落発生箇所R7の直前のR-R間隔箇所R7B
4番目のパルスI4=データ欠落発生箇所R7の直後のR-R間隔箇所R7A
It should be noted that the example of correction when the above beat function is used as an intermediate function applies the following replacement, and corrects in the same policy as the correction when using the reciprocal as an intermediate function described with reference to FIG. 8 .
3rd pulse I 3 = data missing point R7
Second pulse I 2 = RR interval point R7B immediately before data dropout occurrence point R7
4th pulse I 4 = RR interval point R7A immediately after data missing point R7

上記では中間関数としてビート関数を用いる場合を説明したが、スプライン補間と直線補間を用いる場合も概ね同様とすればよい。スプライン補間ではR-R間隔がIk(k=1,2,…)であり、この間隔Ikの時刻tの範囲がtk≦t≦tk+1であるとすると、(手順1)時刻tk(k=1,2,…)の値が間隔Ikである(これ以外の時刻tの値は0である)パルス列関数を求め、(手順2)このパルス列関数を3次スプライン補間し、(手順3)この3次スプライン補間から平均R-R間隔で(再)サンプリングしたパルス列関数を中間関数とする。 Although the case where the beat function is used as the intermediate function has been described above, the case where spline interpolation and linear interpolation are used may be roughly the same. In spline interpolation, the RR interval is I k (k=1, 2, ...), and the range of time t in this interval I k is t k ≤ t ≤ t k + 1 , (procedure 1) time t Find a pulse train function whose value of k (k=1, 2, …) is the interval I k (the value of time t other than this is 0), (Step 2) perform cubic spline interpolation on this pulse train function, (Procedure 3) A pulse train function (re)sampled at an average RR interval from this cubic spline interpolation is used as an intermediate function.

上記スプライン補間の中間関数については、(手順1)のパルス列関数を補正の対象とすればよく、欠落発生箇所について1個のR-R間隔で構成される状態から2個のR-R間隔で構成される状態とすればよい。すなわち、欠落発生箇所として1個の間違ったパルスを2個の自然なパルスに補正すればよく、その2個のパルスの時間軸上での位置を、前後のパルス位置を3等分した位置とし、当該2個のパルスの高さを前後のパルスの高さで内挿した高さとすることで、図10のビート関数の場合と概ね同様に補正できる。 Regarding the intermediate function of the above spline interpolation, the pulse train function in (Procedure 1) can be corrected. And it is sufficient. In other words, one erroneous pulse can be corrected to two natural pulses as a missing point, and the position of the two pulses on the time axis is the position obtained by dividing the preceding and following pulse positions into three equal parts. , the heights of the two pulses are interpolated with the heights of the preceding and succeeding pulses.

中間関数として直線補間を用いる場合も同様に補正できる。すなわち、直線補間の中間関数はスプライン補間における手順1~3のうち手順2,3で用いるものをスプライン補間から直線補間に置き換えて得られるため、スプライン補間の中間関数の場合に手順1で3等分して内挿した手法と全く同様の手法により、直線補間の中間関数の場合についても同様に補正することが可能となる。 Correction can be performed in the same way when linear interpolation is used as an intermediate function. That is, the intermediate function of the linear interpolation is obtained by replacing the spline interpolation with the linear interpolation in the steps 2 and 3 among the steps 1 to 3 in the spline interpolation. It is possible to correct the case of the intermediate function of linear interpolation in the same manner as the method of dividing and interpolating.

(4) 図8の例で、データ欠落発生箇所R7を補正するに際して、補正元データとして直前のR-R間隔箇所R7B及び直後のR-R間隔箇所R7Aの中間関数を参照するものとした。頻繁に発生する可能性は低いが、例外的な場合としてデータ欠落発生箇所R7がステップS5で解析に用いるウィンドウの端部に位置する場合、直前のR-R間隔箇所R7Bが当該ウィンドウの1つ前のウィンドウ内にある、または、直後のR-R間隔箇所R7Aが当該ウィンドウの1つ後のウィンドウ内にある、という状況が発生しうるが、全く同様にして補正するようにすればよい。補正においてはデータ欠落発生箇所R7の最近傍のみを参照するため、ウィンドウ外であっても周波数解析結果に大きく影響することはない。 (4) In the example of FIG. 8, when correcting the data missing point R7, the intermediate functions of the immediately preceding R-R interval point R7B and the immediately following R-R interval point R7A are referred to as correction source data. It is unlikely that this will occur frequently, but as an exceptional case, if the data loss occurrence location R7 is located at the edge of the window used for analysis in step S5, the immediately preceding R-R interval location R7B is the one before the window. A situation may occur where the R-R interval point R7A immediately after is within the window or within the window one window after the window in question. In the correction, only the nearest neighbor of the data missing point R7 is referred to, so even if it is outside the window, the frequency analysis result is not significantly affected.

(5) ステップS1で新たに読み込むデータに関しては、一定時間間隔すなわち時間関数(心拍データ)上の所定時間範囲としてもよいし、R-R間隔上での所定個数(所定数のR-R間隔)としてもよい。データ欠落があるものと判定された場合は、データ欠落を補正して1個から2個へと増やしたR-R間隔においてR-R間隔の個数を定めるようにしてもよい。 (5) The data newly read in step S1 may be a constant time interval, that is, a predetermined time range on the time function (heartbeat data), or a predetermined number of R-R intervals (a predetermined number of R-R intervals). . If it is determined that there is data loss, the number of R-R intervals may be determined in the R-R intervals increased from 1 to 2 by correcting the data loss.

(6) 図11は、一般的なコンピュータ装置70におけるハードウェア構成の例を示す図である。心拍データ解析装置10及び計測装置20の各々(前述の通りこれらは一体で構成されていてもよい)は、このような構成を有する1台以上のコンピュータ装置70として実現可能である。なお、2台以上のコンピュータ装置70で心拍データ解析装置10及び計測装置20の各々を実現する場合、ネットワーク経由で処理に必要な情報の送受を行うようにしてよい。コンピュータ装置70は、所定命令を実行するCPU(中央演算装置)71、CPU71の実行命令の一部又は全部をCPU71に代わって又はCPU71と連携して実行する専用プロセッサとしてのGPU(グラフィックス演算装置)72、CPU71(及びGPU72)にワークエリアを提供する主記憶装置としてのRAM73、補助記憶装置としてのROM74、通信インタフェース75、ディスプレイ76、マウス、キーボード、タッチパネル等によりユーザ入力を受け付ける入力インタフェース77、心拍センサ78と、これらの間でデータを授受するためのバスBSと、を備える。 (6) FIG. 11 is a diagram showing an example of hardware configuration in a general computer device 70. As shown in FIG. Each of the heartbeat data analysis device 10 and the measurement device 20 (they may be integrally configured as described above) can be implemented as one or more computer devices 70 having such a configuration. When each of the heartbeat data analysis device 10 and the measurement device 20 is implemented by two or more computer devices 70, information necessary for processing may be transmitted and received via a network. The computer device 70 includes a CPU (central processing unit) 71 that executes predetermined instructions, and a GPU (graphics processing unit) as a dedicated processor that executes part or all of the execution instructions of the CPU 71 instead of the CPU 71 or in cooperation with the CPU 71. ) 72, RAM 73 as a main storage device that provides a work area to CPU 71 (and GPU 72), ROM 74 as an auxiliary storage device, communication interface 75, display 76, input interface 77 that accepts user input by mouse, keyboard, touch panel, etc. A heartbeat sensor 78 and a bus BS for exchanging data therebetween.

心拍データ解析装置10及び計測装置20の各機能部は、各部の機能に対応する所定のプログラムをROM74から読み込んで実行するCPU71及び/又はGPU72によって実現することができる。なお、CPU71及びGPU72は共に、演算装置(プロセッサ)の一種である。ここで、表示関連の処理が行われる場合にはさらに、ディスプレイ76が連動して動作し、データ送受信に関する通信関連の処理が行われる場合にはさらに通信インタフェース75が連動して動作する。計測装置20における心拍計測機能を提供するセンサとして、ECGセンサやPPGセンサ等として構成される心拍センサ78を用いることができる。心拍センサ78を有する計測装置20に関して、CPU71及び/又はGPU72に代えて、心拍データを計測して通信インタフェース75において送信可能なデータ形式として得るための専用集積回路(ASIC(特定用途向けIC)やFPGA(Field Programmable Gate Array)等)を有していてもよい。 Each functional unit of the heartbeat data analysis device 10 and the measurement device 20 can be realized by the CPU 71 and/or the GPU 72 that reads and executes a predetermined program corresponding to the function of each unit from the ROM 74 . Both the CPU 71 and the GPU 72 are a kind of arithmetic unit (processor). Here, when display-related processing is performed, the display 76 further operates in conjunction, and when communication-related processing relating to data transmission/reception is performed, the communication interface 75 further operates in conjunction. A heartbeat sensor 78 configured as an ECG sensor, a PPG sensor, or the like can be used as a sensor that provides a heartbeat measurement function in the measuring device 20 . Regarding the measuring device 20 having the heart rate sensor 78, instead of the CPU 71 and / or GPU 72, a dedicated integrated circuit (ASIC (application specific IC) or FPGA (Field Programmable Gate Array), etc.).

10…心拍データ解析装置、20…計測装置、1…R-R間隔抽出部、2…欠落判定部、3…中間関数生成部、4…解析部、31…生成部、32…補正部 10...heartbeat data analysis device, 20...measurement device, 1...R-R interval extraction unit, 2...missing determination unit, 3...intermediate function generation unit, 4...analysis unit, 31...generation unit, 32...correction unit

Claims (7)

時系列の心拍データからウィンドウで切り出した心拍データ区間より抽出される脈動間隔の列であるR-R間隔列を読み込み、当該R-R間隔列を変換して中間関数を生成する中間関数生成部と、
前記中間関数を周波数解析した結果を得る周波数解析部と、を備える心拍データ解析装置であって、
前記心拍データ区間における脈動の欠落箇所の有無を判定する欠落判定部を備え、
前記欠落判定部において脈動の欠落があると判定された場合、前記中間関数生成部は、前記R-R間隔列を変換して中間関数を生成したうえでさらに、当該中間関数における脈動欠落に相当する箇所を、脈動欠落がない状態へと補正することにより、前記周波数解析部で周波数解析の対象となる中間関数を生成することを特徴とする心拍データ解析装置。
An intermediate function generation unit that reads an RR interval string, which is a string of pulsation intervals extracted from a windowed heartbeat data interval from time-series heartbeat data, converts the RR interval string, and generates an intermediate function. and,
A heartbeat data analysis device comprising a frequency analysis unit that obtains a result of frequency analysis of the intermediate function,
a missing determination unit that determines whether or not there is a missing portion of pulsation in the heartbeat data interval;
When the lack determination unit determines that there is a lack of pulsation, the intermediate function generation unit converts the RR interval sequence to generate an intermediate function, and further corresponds to the lack of pulsation in the intermediate function. A heartbeat data analysis apparatus, wherein the frequency analysis unit generates an intermediate function to be subjected to frequency analysis by correcting a portion where the pulsation is absent so that there is no missing pulsation.
前記欠落判定部は、前記R-R間隔列に含まれる複数のR-R間隔に、閾値判定で長いと判定されるR-R間隔が存在する場合に、前記心拍データ区間において当該長いと判定されたR-R間隔の箇所に脈動の欠落があるものとして判定することを特徴とする請求項1に記載の心拍データ解析装置。 The lack determination unit determines that the heartbeat data section is long when an RR interval determined to be long by threshold determination exists in a plurality of RR intervals included in the RR interval sequence. 2. The heartbeat data analysis apparatus according to claim 1, wherein the determination is that there is a lack of pulsation at the RR interval. 前記中間関数生成部は、前記中間関数における脈動欠落に相当する箇所(R7)を、脈動欠落がない状態へと補正するために用いる補正元データとして、当該脈動欠落に相当する箇所の直前及び直後に位置するR-R間隔に対応する中間関数の部分(R7B,R7A)のみを参照することを特徴とする請求項1または2に記載の心拍データ解析装置。 The intermediate function generation unit uses the portion (R7) corresponding to the missing pulsation in the intermediate function as correction source data used for correcting the portion corresponding to the missing pulsation (R7) to a state in which there is no missing pulsation. Heart rate data analysis device according to claim 1 or 2, characterized in that it refers only to the part (R7B, R7A) of the intermediate function corresponding to the RR interval located at . 前記中間関数生成部は、前記中間関数における脈動欠落に相当する箇所(R7)を、脈動欠落がない状態へと補正するために用いる補正元データとして、当該脈動欠落に相当する箇所の直前に位置する1個のR-R間隔に対応する中間関数の部分(R7B)と、当該脈動欠落に相当する箇所の直後に位置する1個のR-R間隔に対応する中間関数の部分(R7A)と、のみを参照することを特徴とする請求項1または2に記載の心拍データ解析装置。 The intermediate function generation unit sets the location (R7) corresponding to the missing pulsation in the intermediate function to a position immediately before the location corresponding to the missing pulsation as correction source data used for correcting the missing pulsation so that there is no missing pulsation. and an intermediate function portion (R7B) corresponding to one RR interval, and an intermediate function portion (R7A) corresponding to one RR interval located immediately after the location corresponding to the missing pulsation. 3. The heartbeat data analysis device according to claim 1, wherein only . 前記中間関数生成部は、短冊関数として前記中間関数を生成することを特徴とする請求項1ないし4のいずれかに記載の心拍データ解析装置。 5. The heartbeat data analysis apparatus according to claim 1, wherein said intermediate function generator generates said intermediate function as a rectangular function. 前記中間関数生成部は、パルス列関数として前記中間関数を生成することを特徴とする請求項1ないし4のいずれかに記載の心拍データ解析装置。 5. The heartbeat data analysis apparatus according to claim 1, wherein said intermediate function generator generates said intermediate function as a pulse train function. コンピュータを請求項1ないし6のいずれかに記載の心拍データ解析装置として機能させることを特徴とするプログラム。 A program that causes a computer to function as the heartbeat data analysis device according to any one of claims 1 to 6.
JP2021138627A 2021-08-27 2021-08-27 Heart rate data analysis device and program Active JP7460584B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021138627A JP7460584B2 (en) 2021-08-27 2021-08-27 Heart rate data analysis device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021138627A JP7460584B2 (en) 2021-08-27 2021-08-27 Heart rate data analysis device and program

Publications (2)

Publication Number Publication Date
JP2023032476A true JP2023032476A (en) 2023-03-09
JP7460584B2 JP7460584B2 (en) 2024-04-02

Family

ID=85415573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021138627A Active JP7460584B2 (en) 2021-08-27 2021-08-27 Heart rate data analysis device and program

Country Status (1)

Country Link
JP (1) JP7460584B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11128185A (en) * 1997-10-31 1999-05-18 Matsushita Electric Ind Co Ltd Method of and device for analyzing heartbeat fluctuation
US20070219455A1 (en) * 2003-03-26 2007-09-20 Wong Lid B Instantaneous Autonomic Nervous Function and Cardiac Predictability Based on Heart and Pulse Rate Variability Analysis
JP2016123594A (en) * 2014-12-26 2016-07-11 富士通株式会社 Device and method of estimating autonomic nerve activity
JP2019092697A (en) * 2017-11-21 2019-06-20 公立大学法人首都大学東京 Heartbeat fluctuation frequency analysis method and program
JP2020130335A (en) * 2019-02-14 2020-08-31 日本電信電話株式会社 Time feature value calculation device, calculation method and its program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11128185A (en) * 1997-10-31 1999-05-18 Matsushita Electric Ind Co Ltd Method of and device for analyzing heartbeat fluctuation
US20070219455A1 (en) * 2003-03-26 2007-09-20 Wong Lid B Instantaneous Autonomic Nervous Function and Cardiac Predictability Based on Heart and Pulse Rate Variability Analysis
JP2016123594A (en) * 2014-12-26 2016-07-11 富士通株式会社 Device and method of estimating autonomic nerve activity
JP2019092697A (en) * 2017-11-21 2019-06-20 公立大学法人首都大学東京 Heartbeat fluctuation frequency analysis method and program
JP2020130335A (en) * 2019-02-14 2020-08-31 日本電信電話株式会社 Time feature value calculation device, calculation method and its program

Also Published As

Publication number Publication date
JP7460584B2 (en) 2024-04-02

Similar Documents

Publication Publication Date Title
Martínez et al. Methodological principles of T wave alternans analysis: a unified framework
Clifford et al. Quantifying errors in spectral estimates of HRV due to beat replacement and resampling
Sameni et al. A nonlinear Bayesian filtering framework for ECG denoising
JP6645926B2 (en) Biological signal processing method and apparatus
CN109843165B (en) Heartbeat detection method and heartbeat detection device
JP2010051387A (en) Device for detecting cvhr accompanying apnea attack or infrequent respiration attack of sleep-disordered respiration
JP2016137038A (en) R-R interval interpolation method and heart rate variability measuring device
JP4262955B2 (en) Method and system for measuring T-wave alternation by aligning alternating median beats to a cubic spline
JPH07284482A (en) Method and apparatus for analyzing heartbeat fluctuation waveform
Antink et al. Detection of heart beats in multimodal data: a robust beat-to-beat interval estimation approach
Lu et al. Recycling cardiogenic artifacts in impedance pneumography
Majeed et al. Motion artifact removal of photoplethysmogram (PPG) signal
CN117271977A (en) HRV data preprocessing method and device and electronic equipment
JP2023032476A (en) Cardiac beat data analysis device and program
US10750969B2 (en) Heartbeat detection method and heartbeat detection device
JP6857582B2 (en) Instantaneous heart rate time series data complement device, complement method and its program
CN113616217B (en) Method and device for generating baseline drift curve
Al Osman et al. A pattern-based windowed impulse rejection filter for nonpathological HRV artifacts correction
JP2019069044A (en) Complementation device for time series data on instantaneous heart rate, complementation method, and program thereof
EP2938247B1 (en) Method and apparatus for reducing motion artifacts in ecg signals
Miyatani et al. Deniosing autoencoder-based modification of RRI data with premature ventricular contraction for precise heart rate variability analysis
JP3314521B2 (en) Heart rate variability waveform analysis method and apparatus
Kaiser et al. Improving T-Wave Alternans Measurement Quality by Reduction of Noise and Artifacts
JP6568022B2 (en) Biological signal analysis method and apparatus
Sörnmo et al. Spectral analysis of heart rate variability in time-varying conditions and in the presence of confounding factors

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240313

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240321

R150 Certificate of patent or registration of utility model

Ref document number: 7460584

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150