PROBLEM TO BE SOLVED: To detect a respiration state of a subject based on electrocardiogram data.SOLUTION: In a respiration detection method, a basic signal including a PQRST wave for a single heartbeat is first extracted from electrocardiogram data on a subject (S.03). Also, a PQRST wave of a basic signal extracted in the past is recorded in recording means as a template signal. Next, a residual signal is generated by subtracting the template signal from a next basic signal (S.05). Then, a difference in an amplitude value for each fixed time of the residual signal is obtained as a difference, and by obtaining a change in the difference cumulatively, a respiration wave indicating a respiration state of the subject is calculated (S.07). Later, the respiration frequency per unit time is detected based on a change in the waveform of the respiration wave (S.08).SELECTED DRAWING: Figure 2【課題】心電図データに基づいて被検者の呼吸状態を検出すること。【解決手段】 呼吸検出方法では、まず、被検者の心電図データから1心拍分のPQRST波を含む基本信号を抽出する(S.03)。また、過去に抽出された基本信号のPQRST波をテンプレート信号として記録手段に記録する。次に、次の基本信号からテンプレート信号を減算することにより、残存信号を生成する(S.05)。そして、残存信号の一定時間毎の振幅値の差を差分として求め、差分の変化を累積的に求めることにより、被検者の呼吸状態を示した呼吸波を算出する(S.07)。その後、呼吸波の波形変化に基づいて単位時間当たりの呼吸数を検出する(S.08)。【選択図】 図2