JPS5967932A - Detection of original point in wave form recognition of ele-ctrocardiograph - Google Patents

Detection of original point in wave form recognition of ele-ctrocardiograph

Info

Publication number
JPS5967932A
JPS5967932A JP57178100A JP17810082A JPS5967932A JP S5967932 A JPS5967932 A JP S5967932A JP 57178100 A JP57178100 A JP 57178100A JP 17810082 A JP17810082 A JP 17810082A JP S5967932 A JPS5967932 A JP S5967932A
Authority
JP
Japan
Prior art keywords
data
point
search
origin
electrocardiograph
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
JP57178100A
Other languages
Japanese (ja)
Other versions
JPH0230251B2 (en
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.)
Hagiwara Electric Co Ltd
Suzuken KK
Original Assignee
Hagiwara Electric Co Ltd
Suzuken KK
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 Hagiwara Electric Co Ltd, Suzuken KK filed Critical Hagiwara Electric Co Ltd
Priority to JP57178100A priority Critical patent/JPS5967932A/en
Publication of JPS5967932A publication Critical patent/JPS5967932A/en
Publication of JPH0230251B2 publication Critical patent/JPH0230251B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 本発明は、心臓病の検査に使用される心電図自動解析装
置のための、心電計のオン・ライン波形認識における原
点の検出方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for detecting an origin in on-line waveform recognition of an electrocardiograph for an electrocardiogram automatic analyzer used in heart disease testing.

心電図自動解析装置においては、脚ブロック・房室ブロ
ック1度・WPWおよび心筋梗塞等の病名診断を行なう
ため、あらゆる波形認識の基本となる原点(QR3I!
J開始点)からの時間(間隔)・・・QR3!i時間・
PQ間隔および原点からのQR3軸の最初の波までの間
隔等・・・を使用している。従って、原点を正確に求め
ることにより、前記脚ブロック・WPW・房室ブロック
1度等の診断を正確に行なうことができる。
In order to diagnose diseases such as bundle branch block, first degree atrioventricular block, WPW, and myocardial infarction, the electrocardiogram automatic analyzer uses the origin (QR3I!), which is the basis of all waveform recognition.
Time (interval) from J starting point)...QR3! i time・
The PQ interval, the interval from the origin to the first wave of the QR3 axis, etc. are used. Therefore, by accurately determining the origin, it is possible to accurately diagnose the above-mentioned bundle branch block, WPW, first degree atrioventricular block, etc.

従来の心電図自動解析装置について、第1図および第3
図を参照し、以下説明する。
Regarding the conventional electrocardiogram automatic analysis device, Figures 1 and 3
This will be explained below with reference to the drawings.

心電1図自動解析装置は、制御するためのプログラムを
記憶するROM2と、用途に応じて変更し得るデータを
記憶するためのRAM3と、プログラムメモリとしての
前記ROM2の内容に従って順次制御および演算を行な
うCPU1と、プログラムに応じて一定時間毎に割込み
信号を前記cpU1に対して発する割込みタイマ4と、
前記CPU1と外部回路とのインターフェイスを図る入
出力回路5とを有し、前記CPUI・ROM2・RAM
3・割込みタイマ4および入出力回路5とがそれぞれア
ドレスバス・データバスおよびコントロールバス等から
成るバス6により接続されている。また、入出力回路5
には、心電計10からのアナログ信号をデジタル信号に
変換するためのA−D変換器7と、メソセージやデータ
を表示するためのCRT8と、コマンドやデータを入力
するためのキーボード9とが接続されている。
The electrocardiogram automatic analysis device includes a ROM 2 for storing a control program, a RAM 3 for storing data that can be changed depending on the application, and sequential control and calculation according to the contents of the ROM 2 as a program memory. an interrupt timer 4 that issues an interrupt signal to the cpU 1 at regular intervals according to a program;
It has an input/output circuit 5 that interfaces the CPU 1 with an external circuit, and includes the CPU, ROM 2, and RAM.
3. The interrupt timer 4 and the input/output circuit 5 are connected by a bus 6 consisting of an address bus, a data bus, a control bus, etc., respectively. In addition, the input/output circuit 5
includes an A-D converter 7 for converting analog signals from the electrocardiograph 10 into digital signals, a CRT 8 for displaying messages and data, and a keyboard 9 for inputting commands and data. It is connected.

第1図の心電図自動解析装置の動作について、第2図の
システムプログラムを参照して以下説明する。
The operation of the electrocardiogram automatic analysis device shown in FIG. 1 will be explained below with reference to the system program shown in FIG.

電源を投入することによりROMZ内のプログラムは自
動的にスタート101を行ないステップ102に進む。
When the power is turned on, the program in the ROMZ automatically starts (101) and proceeds to step (102).

ステップ102では、CRT8に質問事項(例えば、検
診者番号:■Dおよび年齢・日付・性別等)を表示し、
オペレータが前記質問事項に対しキーボード9からデー
タを入力すると、ステップ103に進む。ステップ10
3では、心電計の計測時間をセントし、キーボード9の
スタートスイッチを操作することにより、心電計10と
割込みタイマ4が作動し、ステップ104に進む。ステ
ップ104では、心電計10の複数の出力が前記割込み
タイマ4に同期してサンプルホールドされ、その後順次
A/D変換した値がRAM3にデータDAとして読込ま
れ、ステップ105に進む。ステップ105では、全誘
導のデータ取込みが終了すれば次のステップ106に進
む。
In step 102, questions (for example, examiner number: ■D, age, date, gender, etc.) are displayed on the CRT 8,
When the operator inputs data for the above-mentioned questions from the keyboard 9, the process proceeds to step 103. Step 10
In step 3, the electrocardiograph 10 and interrupt timer 4 are activated by setting the electrocardiograph measurement time and operating the start switch on the keyboard 9, and the process proceeds to step 104. In step 104, a plurality of outputs from the electrocardiograph 10 are sampled and held in synchronization with the interrupt timer 4, and then the sequential A/D converted values are read into the RAM 3 as data DA, and the process proceeds to step 105. In step 105, when the data acquisition for all the leads is completed, the process proceeds to the next step 106.

また、全誘導のデータ取込みが終了してなければステッ
プ103に進み、全誘導のデータを取込むまでステップ
103,104および105をループする。
Furthermore, if the data acquisition for all the leads has not been completed, the process advances to step 103, and steps 103, 104 and 105 are looped until the data for all the leads are acquired.

ステップ106では、−誘導のデータ:DA毎に移動平
均法および分割平均法、荷重平均法等を用い、雑音の除
去を行なったデータ:DBを得、そのデータを前記RA
M3に記憶し、ステップエ07に進む。ステップ107
では、前記データ:DBを一定しヘルにてスライスして
第3図に示したQR3波のおおよその位置を確認した後
、このQR3波の位置を基準にして予め定められた補正
可能な範囲を定めておき直線近似で基線の補整を行なっ
たデータ:f(x)を記憶した後、ステップlO8へ進
む。基線の補正を行なったデータ:f(xlは、アドレ
スをXとして第3図に示すようなグラフとして表わすこ
とができる。すなわち、アドレスXのメモリにデータf
 (xiを集録した集まりとなる。ステップ10Bでは
、前記QR3波の位置から各パターンの大体の区分を検
出した後、詳細なパターンの検出を行ない、ステップエ
09へ進む。
In step 106, the moving average method, divided average method, weighted average method, etc. are used for each lead data: DA to obtain data: DB from which noise has been removed, and the data is transferred to the above-mentioned RA.
Store it in M3 and proceed to step E07. Step 107
Now, after confirming the approximate position of the QR3 wave shown in Figure 3 by keeping the data: DB constant and slicing it with Hell, we will calculate a predetermined correctable range based on the position of this QR3 wave. After storing data f(x) whose baseline has been corrected by linear approximation, the process advances to step 108. Data with baseline correction: f(xl) can be expressed as a graph as shown in Figure 3 with the address being X. In other words, the data f(xl)
(This is a collection of collected xi. In step 10B, after detecting the general division of each pattern from the position of the three QR waves, detailed patterns are detected, and the process proceeds to step E09.

ステップ109では、ステップ108にて検出した波形
パターンの区分を利用し、これらの波形について、波高
値および波形幅、波形の形、時間間隔などを計測し、ス
テップ110に進む。ステップ110では、全誘導の計
測が終了していればステップ111に進み、また、全誘
導の計測が終了するまでステップエo6〜110をルー
プし全誘導の計測を終了するステップ111に進む。ス
テップ111では、前記計測結果を診断論理に用いて診
断結果を得、ステップエ12に進む。ステップ112で
は、前記診断結果をCRT8およびプリンタエ1に出力
し、ステップ113に進みプロダラムは終了する。
In step 109, the waveform pattern divisions detected in step 108 are used to measure the peak value, waveform width, waveform shape, time interval, etc. of these waveforms, and the process proceeds to step 110. In step 110, if the measurement of all the leads has been completed, the process proceeds to step 111, and steps o6 to 110 are looped until the measurement of all the leads is completed, and the process proceeds to step 111, in which the measurement of all the leads is completed. In step 111, the measurement result is used in diagnostic logic to obtain a diagnostic result, and the process proceeds to step E12. At step 112, the diagnostic results are output to the CRT 8 and printer 1, and the program proceeds to step 113, ending the program.

ところで、従来原点の検出方法として、コロナ社より昭
和51年5月15日7版(新版)発行の「新版 電子計
算機ハンドブック」のページ484〜486に記載の「
心電図自動診断システム」の項で詳細に説明されている
By the way, as a conventional method for detecting the origin, there is a method described on pages 484 to 486 of the "New Edition Computer Handbook" published by Corona Publishing Co., Ltd. on May 15, 1976, 7th edition (new edition).
It is explained in detail in the section ``Electrocardiogram automatic diagnosis system''.

その方式には、心電計のアナログ出力を比較器によりス
ライスして得られたQR3波の位置から大体の区分を検
出し、さらに各波形の極性等を考慮して、各波形パター
ンの区分を正′シク識別する事が示されている。
This method involves slicing the analog output of the electrocardiograph using a comparator, detecting the approximate divisions from the positions of the QR3 waves, and then determining the divisions of each waveform pattern by taking into consideration the polarity of each waveform. It has been shown that positive discrimination is possible.

第5図は、本発明の発明者が先に行っていた原点検出の
方法を示すフローチャートである。この原点検出方法は
検索点Xから比較点Cの差がある設定された誤差範囲内
に連続して5点の比較点がある場合、その検索点Xを原
点として検出する方法であり、以下、その詳細をプログ
ラムについて説明する。
FIG. 5 is a flowchart showing a method of origin detection previously carried out by the inventor of the present invention. This origin detection method is a method of detecting the search point X as the origin when there are five consecutive comparison points within a set error range with a difference of comparison point C from the search point X. The program will be explained in detail.

商用周波数の2n倍(但し、n=1.2.3・・・)の
号ンプリング周波数:Sとして20011z(5m5e
c)を用い、心電計10の出力をA−D変換して入力さ
れたデータは、雑音の除去および基線の補正をして変換
されたデータf fXlとなる。そのデータf (xl
の一例が第4図に示されている。
Sampling frequency: 20011z (5m5e) is 2n times the commercial frequency (n = 1.2.3...)
c), the output of the electrocardiograph 10 is subjected to A-D conversion, and the input data becomes converted data f fXl after removing noise and correcting the baseline. The data f (xl
An example is shown in FIG.

第4図Aは、正常なQ RS fiの心電波形例である
。また、第4図Bは、WPWの徴候を示したデルタ波を
有するQ RS 軸の心電波形例である。
FIG. 4A is an example of an electrocardiographic waveform of normal QRS fi. Further, FIG. 4B is an example of an electrocardiographic waveform of the Q RS axis having a delta wave showing signs of WPW.

パターン認識のプログラムにより、R波の最大値に応じ
て定まるスライス点にて比較して仮の原点を予め検出し
た後、第5図の原点検出プログラムを実行する。
After a temporary origin is detected in advance by a pattern recognition program by comparison at a slice point determined according to the maximum value of the R wave, the origin detection program shown in FIG. 5 is executed.

ステップ201で原点検出プログラムは開始し、ステッ
プ202に進む。ステップ202では、■予め求められ
た仮の原点のアドレス番号(データ番号)をセントし、 ■仮の原点mよりl Q m5ecもどった検索始点i
(但し、i=m−2)をセットし、 ■検索範囲を定めるため、検索始点iより130 m5
ecもどった検索終点n(但し、n=1−26)をセッ
トし、 ■検索点に対応したハードカウンタまたはソフトカウン
タよりなるアドレスカウンタXを初期化するため検索始
点iをセントし、 ■検索点Xと比較点との点数Cに対応したハードカウン
タまたはソフトカウンタよりなるカウンタCを初期化す
るために1をセットし、ステップ203に進む。ステッ
プ203では、検索点を示すアドレスカウンタXの値(
この場合、x=i)と最終検索点nの値との大小を判断
し、Xがnよりも大きいか等しければステップ204に
進み、Xがnよりも小さければステップ300に進む。
The origin detection program starts at step 201 and proceeds to step 202. In step 202, ■ The address number (data number) of the temporary origin obtained in advance is sent, and ■ The search starting point i returned from the temporary origin m is
(However, i = m-2), ■ To determine the search range, 130 m5 from the search starting point i
ec Set the search end point n (however, n = 1-26) returned, ■ Cent the search start point i to initialize the address counter X consisting of a hard counter or soft counter corresponding to the search point, ■ Search point A counter C, which is a hard counter or a soft counter corresponding to the number C between X and the comparison point, is set to 1 to initialize it, and the process proceeds to step 203. In step 203, the value of address counter X (
In this case, the magnitude of x=i) and the value of the final search point n is determined, and if X is greater than or equal to n, the process proceeds to step 204, and if X is smaller than n, the process proceeds to step 300.

ステップ204では、検索点Xと比較点との点数に対応
したカウンタCの値と5とを比較し、カウンタCの値が
5より小さいか等しければステップ205に進み、また
カウンタCの値が5より大きければステップ209に進
む。
In step 204, the value of the counter C corresponding to the score of the search point If it is larger, proceed to step 209.

ステップ205では、Cを1から5の数としてFfX)
=f(X)−f (x−C)  ・・11)式の演算を
行ない、(1)式の演算結果F (X)の絶対値と、ゆ
るやかなノイズおよびリップル等のノイズ除去により決
まる電圧範囲に対応したA−D変換器のデジット数:A
(但し、この場合8ビツトのA−D変換器を使用してA
=1)とを比較し、前記絶対値I F (Xi Iが電
圧範囲に対応したAデジット以内であればステップ20
6に進み、また前記絶対値I F (Xl 1が前記電
圧範囲に対応したAデジットより大きければステップ2
07に進む。
In step 205, C is a number from 1 to 5 (FfX)
= f (X) - f (x - C) ... Perform the calculation of formula 11), and calculate the voltage determined by the absolute value of the calculation result F (X) of formula (1) and the removal of noise such as gentle noise and ripple. Number of digits of A-D converter corresponding to range: A
(However, in this case, an 8-bit A-D converter is used to
= 1), and if the absolute value I F (Xi I is within A digits corresponding to the voltage range, step 20
6, and if the absolute value I F (Xl 1 is greater than the A digit corresponding to the voltage range, step 2
Proceed to 07.

ステップ206では、比較点を更新するため前記検索点
Xと比較点との点数に対応したカウンタCに1を加算し
くこの時、Cは2に成り)、ステップ204にもどる。
In step 206, in order to update the comparison point, 1 is added to the counter C corresponding to the score between the search point X and the comparison point (at this time, C becomes 2), and the process returns to step 204.

この時、前記カウンタCは2であるのでステップ204
からステップ205に進む。しかして、前記演算結果の
絶対値IF、(X11が連続して5回前記電圧範囲に対
応したデジット数=A以内であれば、ステップ204・
205および206を5回ループし、前記カウンタCの
値は6となる。従って、前記カウンタCの値が5より大
きくなり、ステップ204からステップ209に進み、
アドレスBのメモリまたはレジスタBに前記検索点に対
応したアドレスカウンタXの値が記憶され、ステップ2
10に進み本プログラムは終了する。
At this time, since the counter C is 2, step 204
The process then proceeds to step 205. Therefore, if the absolute value IF of the calculation result (X11 is within the number of digits corresponding to the voltage range 5 times in a row = A), step 204
205 and 206 are looped five times, and the value of the counter C becomes six. Therefore, the value of the counter C becomes greater than 5, and the process proceeds from step 204 to step 209.
The value of the address counter X corresponding to the search point is stored in the memory at address B or register B, and step 2
The program proceeds to step 10 and ends.

また、ステップ207では前記カウンタを初期化するた
めに再度1にセントし、ステップ208に進む。ステッ
プ208では、アドレスカウンタXを更新し次の検索点
に進めるため、前記カウンタXから1減算しステップ2
03に進む。この様にして、前記演算結果の絶対値IF
 (Xi lが前記電圧範囲に対応したデジット数:A
以内に5回連続して入らない場合には、ステップ203
・204・205・207・208・203のループま
たはステンブ203・204・ (205・206・2
04)・205・207・208・203のループを通
り、前記検索点に対したカウンタXの値より検索終点の
値nが太き(なり、ステップ203からステップ300
に進む。ステップ300では、原点が見付からなかった
事を表示するためのエラー表示をし、ステップ210に
進み本プログラムは終了する。
Further, in step 207, the counter is set to 1 again to initialize it, and the process proceeds to step 208. In step 208, in order to update the address counter X and proceed to the next search point, 1 is subtracted from the counter X, and step 2
Proceed to 03. In this way, the absolute value IF of the calculation result
(Number of digits where Xi l corresponds to the voltage range: A
If it does not fall within the range 5 times in a row, step 203
・204・205・207・208・203 loop or stem 203・204・(205・206・2
04) Through the loop of 205, 207, 208, and 203, the value n of the search end point is thicker than the value of the counter
Proceed to. In step 300, an error message is displayed to indicate that the origin was not found, and the program proceeds to step 210 and ends.

しかし、この方法では連続して前記(1)式の演算結果
の絶対値I F (Xl lが誤差設定の前記電圧範囲
に対応したデジット数:A以内の範囲を見付け、その時
の検索点を原点としている。そのため異常波形(第4図
B)の場合には、原点をまちがえてP波の頂点の所の最
、初を原点として誤検出してしまったり、原点を検出し
得ない欠点があった。また、前記比較器を使用してハー
ド的に見付ける場合にも、ノイズの多い場合や異常の波
形の場合には、スライス点の設定が難しく正確な原点の
検出を行なうことができなかった。
However, in this method, the absolute value I F (Xl l of the calculation result of the above equation (1) is successively found within the number of digits corresponding to the voltage range of the error setting: A, and the search point at that time is set as the origin. Therefore, in the case of an abnormal waveform (Figure 4B), the origin may be mistaken and the origin may be mistakenly detected as the origin at the top of the P wave, or the origin may not be detected. Furthermore, even when using the comparator to find the origin using hardware, it is difficult to set the slice point when there is a lot of noise or an abnormal waveform, making it impossible to accurately detect the origin. .

本発明の目的は、上記欠点を無くし正確な原点を検出す
るために、前記方法で検索不能な場合に検索終点の次の
点のスロープの方向から最初の変曲点を求め、その変曲
点を原点とする方法を追加して、wpw・心筋梗塞等の
異常波形を示す時にも、正確な原点を検出可能な方法を
提供しようとするものである。
An object of the present invention is to find the first inflection point from the direction of the slope of the next point of the search end point when the above method cannot be used to find the origin, and to find the first inflection point. By adding a method using the origin as the origin, the present invention attempts to provide a method that can accurately detect the origin even when an abnormal waveform such as wpw or myocardial infarction is shown.

本発明の方法は、第5図のエラー表示300の代りに、
検索終点の次の点のスロープの方向から最初の変曲点を
求めるルーチンを追加し、前記変曲点を原点として検出
することに特徴があり、以下実施例により説明する。
In the method of the present invention, instead of the error display 300 in FIG.
The feature is that a routine is added to find the first point of inflection from the direction of the slope of the point next to the search end point, and the point of inflection is detected as the origin, which will be explained below using examples.

第6図は、第5図のエラー表示ステップ300の代りに
変曲点検出ルーチンを付加してなる本発明の実施例を示
すフローチャートである。
FIG. 6 is a flowchart showing an embodiment of the present invention in which an inflection point detection routine is added in place of the error display step 300 of FIG.

すなわち、このフローチャートにおいて第5図のステッ
プ300の代りにステップ301〜305が適用され、
かつステップ201における検索終点nの初期設定が検
索始点iより4Qmsec(この場合nが1−8)もど
った点にされている。
That is, in this flowchart, steps 301 to 305 are applied instead of step 300 in FIG.
In addition, the initial setting of the search end point n in step 201 is set to a point 4Q msec (in this case, n is 1-8) back from the search start point i.

かくして、かかるフローチャートに示したプログラムを
実行し、ステップ203〜208にて原点を検出されな
かった場合には、前記検索点に対しだカウンタXの値よ
り検索終点の値nが大きくなり、ステップ203からス
テップ301に進む。
Thus, when the program shown in the flowchart is executed and the origin is not detected in steps 203 to 208, the value n of the search end point becomes larger than the value of the counter X for the search point, and step 203 The process then proceeds to step 301.

ステップ301では、検索終点のスロープの方向が右上
りか左上りかを判別するため、検索終点nから一つ通り
過ぎたアドレスn−1のデータf(Xlと前記アドレス
n−1から二つ元にもどったアドレスn−3のデータf
(x−2)とを比較し、データf (Xlがデータf(
x−2)よりも大きければ右上りでステップ302に進
み、またデータf(X)がデータf(x−2)よりも等
しいか小さければステップ304に進む。ここで精度良
くスロープの方向を見付けるには、ステップ301にお
ける比較点を多くしその差の和とすることによりノイズ
等の影響を少なくすることができる。
In step 301, in order to determine whether the direction of the slope of the search end point is upward to the right or upward to the left, data f (Xl) of address n-1, which has passed by one from the search end point n, and two data returned from the address n-1. Data f at address n-3
(x-2), data f (Xl is data f (
If the data f(X) is larger than the data f(x-2), the process proceeds to step 302, and if the data f(X) is equal to or smaller than the data f(x-2), the process proceeds to step 304. In order to find the direction of the slope with high accuracy, the influence of noise etc. can be reduced by increasing the number of comparison points in step 301 and using the sum of the differences.

ステップ302では、アドレスカウンタXを更新し次の
検索点に進めるために1減算し、ステップ303に進む
。ステップ303では左下りの変曲点を検出するため、
アドレスXのデータf (Xlとアドレスx−1のデー
タf(x−1)とを比較し、前記データf (X)より
も前記データf(x−1)が大きければ変曲点有りとし
てステップ209に進みその時のアドレスカウンタの値
XをレジスタBまたはアドレスBに記憶し本プログラム
は終了する。また、前記データf (Xlがデータf(
x−1)に等しいか小さければ変曲点無しとして、ステ
ップ302にもどり、アドレスを更新し変曲点を見付け
るまでステップ302・303をループする。
In step 302, the address counter X is updated and decremented by 1 in order to proceed to the next search point, and the process proceeds to step 303. In step 303, in order to detect the downward left inflection point,
Compare data f (Xl) at address X with data f (x-1) at address Proceeding to step 209, the value X of the address counter at that time is stored in register B or address B, and this program ends.
x-1), it is determined that there is no inflection point, and the process returns to step 302, updates the address, and loops steps 302 and 303 until an inflection point is found.

ステップ304では、アドレスカウンタを更新するため
に1加算し、ステップ305に進む。ステップ305で
は、右下りの変曲点を検出するため、アドレスXのデー
タf(×)とアドレスX+1のデータf  (x+1)
とを比較し、前記データf(×)よりも前記データf 
 (x+l)が大きければ変曲点ありとして、ステップ
209に進みその時のアドレスカウンタの値Xをレジス
タBに記憶し本プログラムは終了する。また、前記デー
タf (Xlが前記データf  (x+1)に等しいか
小さければ変曲点無しとしてステップ304にもどり、
アドレスを更新、し変曲点を見付けるまでステップ30
4・305をループする。
In step 304, 1 is added to update the address counter, and the process proceeds to step 305. In step 305, data f(x) at address X and data f(x+1) at address
The data f(x) is compared with the data f(x).
If (x+l) is large, it is assumed that there is an inflection point, and the process proceeds to step 209, where the value X of the address counter at that time is stored in register B, and the program ends. Further, if the data f (Xl) is equal to or smaller than the data f (x+1), it is determined that there is no inflection point and the process returns to step 304;
Update address and step 30 until you find the inflection point
4. Loop 305.

以上説明したように本発明は、第4図Aのような正常な
波形については、検索点と5点の比較点との差が連続し
て設定された電圧範囲の中にある検索点を原点として検
出する方法を使用し、またWPW・心筋梗塞等により生
じる異常波形については、検索終点の次の点のスロープ
の方向から変曲点を原点として検出する方法を適用した
ことにより、従来の原点検出方法にて誤検出または検出
不能であった原点を正確に検出することができる。
As explained above, in the present invention, for a normal waveform like the one shown in FIG. In addition, for abnormal waveforms caused by WPW, myocardial infarction, etc., by applying a method of detecting the inflection point as the origin from the direction of the slope of the point next to the search end point, it is possible to detect the inflection point as the origin. It is possible to accurately detect the origin that was incorrectly detected or undetectable using the detection method.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は心電図自動解析装置のブロック図である。第2
図は心電図自動解析装置のシステムプログラムである。 第3図は基線補正を行なったデータf (x)をアドレ
スXにより表した図である。第4図Aは正常な心電波形
である。第4図Bは、WPW・心筋梗塞等により生じる
界雷な波形である。 第5図は本発明の発明者が先に行なっていた原点検出プ
ログラムを示すフローチャートである。第6図は本発明
の実施例で原点検出プログラムを示すフローチャートで
ある。 符号の説明 1・・・CPU、2・・・ROM、 3・・・RAM、
4・・・割込みタイマ、5・・・入出力回路、7・・・
A−D変換器、8・・・CRT、9・・・キーボード、
10・・・心電計、11・・・プリンタ、m・・・仮の
原点、i・・・検索始点、n・・・検索終点、X・・・
アドレスカウンタ、C・・・カウンタ。
FIG. 1 is a block diagram of an electrocardiogram automatic analysis device. Second
The figure shows the system program for an automatic electrocardiogram analyzer. FIG. 3 is a diagram in which data f (x) subjected to baseline correction is expressed by an address X. FIG. 4A shows a normal electrocardiogram waveform. FIG. 4B shows a dramatic waveform caused by WPW, myocardial infarction, etc. FIG. 5 is a flowchart showing the origin detection program previously carried out by the inventor of the present invention. FIG. 6 is a flowchart showing an origin detection program in an embodiment of the present invention. Explanation of symbols 1...CPU, 2...ROM, 3...RAM,
4... Interrupt timer, 5... Input/output circuit, 7...
A-D converter, 8...CRT, 9...keyboard,
DESCRIPTION OF SYMBOLS 10... Electrocardiograph, 11... Printer, m... Temporary origin, i... Search start point, n... Search end point, X...
Address counter, C... counter.

Claims (2)

【特許請求の範囲】[Claims] (1)心電計より取り込んだデータを雑音の除去及び基
線の補正をしてデータf (X)を得、該データf (
X)中に含まれるR波の最大値を検出し、該R波の最大
値に応じて定まるスライス点と前記データf(×)とを
比較して仮の原点を求め、該仮の原点から検索始点及び
検索終点を定め、これら検索始点と検索終点との間を順
次所定間隔にて基準となる検索点の位置を変えこれら各
基準検索点とそれに追随する所定数の前記データf (
Xlとの差が所定の電圧範囲内に連続して入ったときそ
の基準検索点を原点として検出する方法において、前記
原点を検出できないとき、前記検索終点における前記デ
ータf (Xlの傾きにより検索方向を定めて、該検索
方向の変曲点を求め、その変曲点を原点として検出する
ようにしたことを特徴とする心電計の波形認識における
原点の検出方法。
(1) Remove noise and correct the baseline from the data imported from the electrocardiograph to obtain data f (X), and obtain the data f (
X) Detect the maximum value of the R wave included in the data, compare the slice point determined according to the maximum value of the R wave with the data f( A search start point and a search end point are determined, and the positions of the reference search points are sequentially changed at predetermined intervals between the search start point and the search end point, and each of these reference search points and a predetermined number of the data f (
In the method of detecting the reference search point as the origin when the difference from Xl continuously falls within a predetermined voltage range, if the origin cannot be detected, the data f at the search end point A method for detecting an origin in waveform recognition of an electrocardiograph, characterized in that the inflection point of the search direction is determined, and the inflection point is detected as the origin.
(2)前記各基準検索点とそれに追随する所定数の前記
データf (Xlとの差が前記電圧範囲内に入っている
か否かを下記(1)式により判別し、前記検索終点にお
ける前記データf (Xlの傾きを下記(2)式により
判別し、さらに前記データf (Xlの傾きが右上りの
場合には前記変曲点を下記(3)式により求め、前記デ
ータf(×)の傾きが左上りの場合には前記変曲点を下
記(4)式により求めるようにした特許請求の範囲第1
項に記載の心電計の波形認識における原点の検出方法。 If(xl  −f  (x−C)l≦A・・・ (1
)f(x)  >  f  (x−2)     ・・
・(2)f(x)   <    f   (x−1)
         −(3)f(×)〈 f(xl1)
   ・・・ (4)但し、Aは所定の電圧範囲、Cは
1・2・3・・・の整数、Xは検索点である。
(2) Determine whether the difference between each of the reference search points and the predetermined number of data f (Xl) that follows it is within the voltage range, and Determine the slope of f ( Claim 1: When the slope is upward to the left, the inflection point is determined by the following equation (4).
The method for detecting the origin in waveform recognition of an electrocardiograph as described in . If(xl −f (x−C)l≦A... (1
)f(x) > f(x-2)...
・(2) f(x) < f (x-1)
−(3) f(×)〈 f(xl1)
... (4) However, A is a predetermined voltage range, C is an integer of 1, 2, 3, etc., and X is a search point.
JP57178100A 1982-10-08 1982-10-08 Detection of original point in wave form recognition of ele-ctrocardiograph Granted JPS5967932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57178100A JPS5967932A (en) 1982-10-08 1982-10-08 Detection of original point in wave form recognition of ele-ctrocardiograph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57178100A JPS5967932A (en) 1982-10-08 1982-10-08 Detection of original point in wave form recognition of ele-ctrocardiograph

Publications (2)

Publication Number Publication Date
JPS5967932A true JPS5967932A (en) 1984-04-17
JPH0230251B2 JPH0230251B2 (en) 1990-07-05

Family

ID=16042639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57178100A Granted JPS5967932A (en) 1982-10-08 1982-10-08 Detection of original point in wave form recognition of ele-ctrocardiograph

Country Status (1)

Country Link
JP (1) JPS5967932A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60222032A (en) * 1984-04-19 1985-11-06 日本電気株式会社 Electrocardiograph signal processor
JPH021217A (en) * 1988-04-20 1990-01-05 Koorin Denshi Kk Apparatus and method for detecting heart disease

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60222032A (en) * 1984-04-19 1985-11-06 日本電気株式会社 Electrocardiograph signal processor
JPH0322770B2 (en) * 1984-04-19 1991-03-27 Nippon Electric Co
JPH021217A (en) * 1988-04-20 1990-01-05 Koorin Denshi Kk Apparatus and method for detecting heart disease

Also Published As

Publication number Publication date
JPH0230251B2 (en) 1990-07-05

Similar Documents

Publication Publication Date Title
US5521851A (en) Noise reduction method and apparatus
US4090505A (en) Electrocardiographic recording method and means
JPS5937107B2 (en) electrocardiograph computer
JPH0211120A (en) Method and apparatus for comparing waveform part of time change signal
US4704681A (en) Electrocardiogram signal processing apparatus for determining the existence of the Wolff-Parkinson-White syndrome
JPS5967932A (en) Detection of original point in wave form recognition of ele-ctrocardiograph
JPH01163873A (en) Diagnosis supporting system
CN116636856A (en) Electrocardiogram classification method, system, electronic equipment and storage medium
JP3023731B2 (en) Heart sound analyzer
JPS5975038A (en) Detection of p-wave in wave form recognition of electrocard-iograph
JPH10216096A (en) Biological signal analyzing device
JP2730910B2 (en) Waveform analysis method using ambiguous automata
JPH0915273A (en) Measuring method for fundamental frequency and measuring device
JPS63277034A (en) Apparatus for counting heart rate of embryo
JPH05309075A (en) Cardiac sound analyzing device
RU2371087C1 (en) Method for real-time detecting electrocardiosignal t-wave alternations and related device
JPH06237289A (en) Method for sensing fine frequency deviation
CN114098754B (en) Atrial fibrillation signal preprocessing method, detection system, equipment and storage medium
Kupka et al. Reconstruction of True Fetal Heart Rate Signals Obtained via Ultrasound Bedside Monitor in Relation to Fetal Electrocardiography
JPS58137042A (en) Data logger
JP2877597B2 (en) Spectrum analyzer
SU948368A1 (en) Apparatus for converting rr-intervals of electrocardiogram to code
JPH11276450A (en) Electroencephalograph having removing function of electrocardiogram derived miscellaneous wave and recording medium recoring program for this removing function
JPH1164399A (en) Voltage drop detector and detecting method
RU2128004C1 (en) Method of analysis of electrophysiological signals and device for its realization