CN118161171B - Hidden atrial fibrillation detection analysis system and method based on RR interval frequency domain parameters - Google Patents
Hidden atrial fibrillation detection analysis system and method based on RR interval frequency domain parameters Download PDFInfo
- Publication number
- CN118161171B CN118161171B CN202410407547.7A CN202410407547A CN118161171B CN 118161171 B CN118161171 B CN 118161171B CN 202410407547 A CN202410407547 A CN 202410407547A CN 118161171 B CN118161171 B CN 118161171B
- Authority
- CN
- China
- Prior art keywords
- psd
- frequency domain
- model
- interval
- heart rate
- 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.)
- Active
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/318—Heart-related electrical modalities, e.g. electrocardiography [ECG]
- A61B5/346—Analysis of electrocardiograms
- A61B5/349—Detecting specific parameters of the electrocardiograph cycle
- A61B5/352—Detecting R peaks, e.g. for synchronising diagnostic apparatus; Estimating R-R interval
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
- A61B5/024—Measuring pulse rate or heart rate
- A61B5/02405—Determining heart rate variability
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
- A61B5/024—Measuring pulse rate or heart rate
- A61B5/0245—Measuring pulse rate or heart rate by using sensing means generating electric signals, i.e. ECG signals
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/318—Heart-related electrical modalities, e.g. electrocardiography [ECG]
- A61B5/346—Analysis of electrocardiograms
- A61B5/349—Detecting specific parameters of the electrocardiograph cycle
- A61B5/361—Detecting fibrillation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
- A61B5/7253—Details of waveform analysis characterised by using transforms
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
- A61B5/7264—Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/213—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
- G06F18/2131—Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods based on a transform domain processing, e.g. wavelet transform
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/27—Regression, e.g. linear or logistic regression
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/08—Feature extraction
- G06F2218/10—Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
Landscapes
- Health & Medical Sciences (AREA)
- Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Physics & Mathematics (AREA)
- Cardiology (AREA)
- Veterinary Medicine (AREA)
- Artificial Intelligence (AREA)
- Public Health (AREA)
- General Health & Medical Sciences (AREA)
- Pathology (AREA)
- Animal Behavior & Ethology (AREA)
- Surgery (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- Medical Informatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Physiology (AREA)
- Signal Processing (AREA)
- Evolutionary Computation (AREA)
- Psychiatry (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Mathematical Physics (AREA)
- Fuzzy Systems (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
本发明公开了一种基于RR间期频域参数的隐匿性房颤检测分析系统及方法,包括如下步骤采集待分析的心率变异信号并保存;对心率变异数字信号RR间期进行频域分析计算,得到频域参数LFnorm、HFnorm、LF/HF的功率数值和频谱包络图;基于功率数值和频谱包络图判断隐匿性房颤的风险等级并进行分类。本发明采集待分析的心电信号,对心电信号心率变异性RR间期进行频域分析,分别得到频域参数的功率数值和频谱包络图,然后基于频域参数的功率数值和频谱包络图分别分析并判断隐匿性房颤的风险的等级,保障风险预判的准确性,提高监测的灵敏性。
The present invention discloses a system and method for detecting and analyzing latent atrial fibrillation based on RR interval frequency domain parameters, including the following steps: collecting and saving the heart rate variability signal to be analyzed; performing frequency domain analysis and calculation on the RR interval of the heart rate variability digital signal to obtain the power values and spectrum envelope diagram of the frequency domain parameters LFnorm, HFnorm, and LF/HF; judging the risk level of latent atrial fibrillation and classifying it based on the power values and spectrum envelope diagram. The present invention collects the electrocardiogram signal to be analyzed, performs frequency domain analysis on the RR interval of the heart rate variability of the electrocardiogram signal, obtains the power values and spectrum envelope diagram of the frequency domain parameters respectively, and then analyzes and judges the risk level of latent atrial fibrillation based on the power values and spectrum envelope diagram of the frequency domain parameters respectively, thereby ensuring the accuracy of risk prediction and improving the sensitivity of monitoring.
Description
技术领域Technical Field
本发明涉及一种心电信号检测分析技术领域,尤其涉及基于RR间期频域参数的隐匿性房颤检测分析系统及方法。The present invention relates to the technical field of electrocardiogram signal detection and analysis, and in particular to a system and method for detecting and analyzing latent atrial fibrillation based on RR interval frequency domain parameters.
背景技术Background Art
心房颤动是一种快速、不规则的房性心律,症状包括心悸,有时疲乏,体力下降和晕厥先兆,可能形成心房栓子,有引起栓塞性脑卒中的明显危险性。诊断靠心电图,如图1所示,用肉眼就可区分正常心电图和房颤心电图,这时房颤已到了一定严重的程度。房颤初期(轻度)其颤动的小波仅有10微伏左右,甚至更小,靠心电图很难辨出是否有房颤,这种轻度症可称其为隐匿性房颤。一旦认定已患轻度房颤即可及时治疗,包括用药物控制心率,用抗凝药物预防血栓栓塞,有时用药物或心脏转复的方法使心房颤动转复成窦性心律。Atrial fibrillation is a rapid, irregular atrial rhythm with symptoms including palpitations, sometimes fatigue, decreased strength and presyncope. It may form atrial emboli and has a significant risk of causing embolic stroke. Diagnosis is based on electrocardiogram, as shown in Figure 1. Normal electrocardiograms and atrial fibrillation electrocardiograms can be distinguished by naked eyes. At this time, atrial fibrillation has reached a certain degree of severity. In the early stage of atrial fibrillation (mild), the wavelet of its tremor is only about 10 microvolts or even smaller. It is difficult to tell whether there is atrial fibrillation by electrocardiogram. This mild condition can be called latent atrial fibrillation. Once it is determined that mild atrial fibrillation has occurred, timely treatment can be given, including the use of drugs to control heart rate, the use of anticoagulants to prevent thromboembolism, and sometimes the use of drugs or cardioversion to convert atrial fibrillation to sinus rhythm.
房颤的不良后果有五个方面:There are five aspects of adverse consequences of atrial fibrillation:
(1)难受:心慌、气短、胸闷、胸疼、头晕、乏力、失眠、导致心理压力,紧张、害怕恐惧等等;(1) Discomfort: palpitations, shortness of breath, chest tightness, chest pain, dizziness, fatigue, insomnia, psychological pressure, tension, fear, etc.;
(2)心衰:心脏功能下降,舒张功能降低,心缓心衰;(2) Heart failure: decreased cardiac function, reduced diastolic function, bradycardia and heart failure;
(3)卒中:房颤容易形成血栓导致栓塞,容易堵到脑血管形成脑血栓,半身不遂;(3) Stroke: Atrial fibrillation can easily cause blood clots to form, leading to embolism, which can easily block cerebral blood vessels and cause cerebral thrombosis and hemiplegia;
(4)缺血:如果同时有冠心病,心肌缺血的,房颤会加重心肌缺血;(4) Ischemia: If there is coronary heart disease and myocardial ischemia, atrial fibrillation will aggravate myocardial ischemia;
(5)猝死:房颤属于严重的心律失常,心律失常的猝死率一般都会比普通人群高5-6倍;(5) Sudden death: Atrial fibrillation is a serious arrhythmia, and the sudden death rate of arrhythmia is generally 5-6 times higher than that of the general population;
根据中国国家卒中登记中心的数据,房颤患者卒中的复发率、致残率和死亡率分别约为32.35%、51.58%及34.23%。患有房颤的卒中患者的复发风险比无房颤患者高3.7倍。房颤中心联盟于2020年7月—2021年9月开展了房颤流行病学调查,调查结果显示,中国房颤患病率为1.6%,在接近60万人群的机会性筛查中,目前中国房颤人群患者人数高达2000万,据调查在诊断为房颤的患者中,36%的人不知道自己患有房颤。According to data from the China National Stroke Registry, the recurrence rate, disability rate, and mortality rate of stroke in patients with atrial fibrillation are approximately 32.35%, 51.58%, and 34.23%, respectively. The risk of recurrence in stroke patients with atrial fibrillation is 3.7 times higher than that in patients without atrial fibrillation. The Alliance of Atrial Fibrillation Centers conducted an epidemiological survey on atrial fibrillation from July 2020 to September 2021. The results showed that the prevalence of atrial fibrillation in China was 1.6%. In opportunistic screening of nearly 600,000 people, the number of patients with atrial fibrillation in China is currently as high as 20 million. According to the survey, among patients diagnosed with atrial fibrillation, 36% did not know that they had atrial fibrillation.
因此,亟待解决上述问题。Therefore, it is urgent to solve the above problems.
发明内容Summary of the invention
发明目的:本发明的第一目的是提供一种可精准监测隐匿性房颤风险等级的基于RR间期频域参数的隐匿性房颤检测分析方法。Purpose of the invention: The first purpose of the present invention is to provide a latent atrial fibrillation detection and analysis method based on RR interval frequency domain parameters that can accurately monitor the risk level of latent atrial fibrillation.
本发明的第二目的是提供一种基于RR间期频域参数的隐匿性房颤检测分析系统。The second object of the present invention is to provide a latent atrial fibrillation detection and analysis system based on RR interval frequency domain parameters.
技术方案:为实现以上目的,本发明公开了一种基于RR间期频域参数的隐匿性房颤检测分析方法,包括如下步骤:Technical solution: To achieve the above objectives, the present invention discloses a method for detecting and analyzing latent atrial fibrillation based on RR interval frequency domain parameters, comprising the following steps:
(1)采集待分析的心率变异信号并保存;(1) collecting and saving the heart rate variability signal to be analyzed;
(2)对心率变异数字信号RR间期进行频域分析计算,通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值,通过AR模型法获得待分析心电数据的自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图;(2) Perform frequency domain analysis and calculation on the RR interval of the heart rate variability digital signal, calculate the power values of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the average cycle method, and obtain the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF of the ECG data to be analyzed by the AR model method;
(3)若频域参数LF/HF的功率数值在第一阈值范围内,则表明隐匿性房颤的风险等级为低风险,若频域参数LF/HF的功率数值在第二阈值范围内,则表明隐匿性房颤的风险等级为中风险,若频域参数LF/HF的功率数值在第三阈值范围内,则表明隐匿性房颤的风险等级为高风险;或若待分析心率变异信号的频谱包络图在第一标准群体图内,则表明隐匿性房颤的风险等级为低风险,若待分析心率变异信号的频谱包络图在第二标准群体图内,则表明隐匿性房颤的风险等级为中风险,若待分析心率变异信号的频谱包络图在第三标准群体图内,则表明隐匿性房颤的风险等级为高风险。(3) If the power value of the frequency domain parameter LF/HF is within the first threshold range, it indicates that the risk level of latent atrial fibrillation is low risk; if the power value of the frequency domain parameter LF/HF is within the second threshold range, it indicates that the risk level of latent atrial fibrillation is medium risk; if the power value of the frequency domain parameter LF/HF is within the third threshold range, it indicates that the risk level of latent atrial fibrillation is high risk; or if the spectrum envelope diagram of the heart rate variability signal to be analyzed is within the first standard group diagram, it indicates that the risk level of latent atrial fibrillation is low risk; if the spectrum envelope diagram of the heart rate variability signal to be analyzed is within the second standard group diagram, it indicates that the risk level of latent atrial fibrillation is medium risk; if the spectrum envelope diagram of the heart rate variability signal to be analyzed is within the third standard group diagram, it indicates that the risk level of latent atrial fibrillation is high risk.
优选的,步骤(2)中通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值的具体步骤为:Preferably, the specific steps of calculating the power values of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the average cycle method in step (2) are:
通过对RR间期的数据进行快速傅里叶变换,计算出功率谱密度PSD,其中功率谱密度PSD可表示为频率的一个函数,记为P(f),表示如下:The power spectral density PSD is calculated by performing fast Fourier transform on the RR interval data, where the power spectral density PSD can be expressed as a function of frequency, denoted as P(f), as follows:
式中,x(n)(n=0,1,……,N-1)表示心脏跳动的RR间期序列,N为待分析的RR间期序列长度,通常取N=256或N=512;Δt为RR间期序列的平均采样间隔,即本段RR间期序列的平均值X(f)为x(n)的离散傅里叶变换;In the formula, x(n) (n = 0, 1, ..., N-1) represents the RR interval sequence of the heart beat, N is the length of the RR interval sequence to be analyzed, usually N = 256 or N = 512; Δt is the average sampling interval of the RR interval sequence, that is, the average value of the RR interval sequence in this section X(f) is the discrete Fourier transform of x(n);
将功率谱密度PSD分为以下四个频带:超低频带ULF:<0.003HZ,即为PSDULF,极低频带VLF:0.003~0.04HZ,即为PSDVLF,低频带LF:0.04~0.15HZ,即为PSDLF,高频带HF0.15~0.40HZ,即为PSDHF,总频带:≤0.4HZ,即为PSD总;The power spectrum density PSD is divided into the following four frequency bands: ultra-low frequency band ULF: <0.003HZ, that is, PSD ULF , very low frequency band VLF: 0.003~0.04HZ, that is, PSD VLF , low frequency band LF: 0.04~0.15HZ, that is, PSD LF , high frequency band HF0.15~0.40HZ, that is, PSD HF , total frequency band: ≤0.4HZ, that is, PSD total ;
总频带的功率谱密度PSD总=PSDULF+PSDLF+PSDHF+PSDVLF,The power spectral density of the total frequency band PSD total = PSD ULF + PSD LF + PSD HF + PSD VLF ,
LFnorm=100×PSDLF/(PSD总-PSDVLF),LFnorm=100×PSD LF /(PSD total -PSD VLF ),
HFnorm=100×PSDHF/(PSD总-PSDVLF),HFnorm=100×PSD HF /(PSD total -PSD VLF ),
LF/HF=PSDLF/PSDHF。LF/HF=PSD LF /PSD HF .
再者,步骤(2)中通过AR模型法获得自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图的具体步骤为:Furthermore, the specific steps of obtaining the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the AR model method in step (2) are as follows:
AR模型即自回归模型的差分方程可表示为:The difference equation of the AR model, i.e. the autoregressive model, can be expressed as:
式中,x(n)为心脏跳动的RR间期序列,u(n)是一个均值为零,方差为σ2的白噪声序列;p为模型阶数,取p=15,ak为AR模型的系数,k=1,2,3,…,p;Where x(n) is the RR interval sequence of the heart beat, u(n) is a white noise sequence with a mean of zero and a variance of σ 2 ; p is the model order, p = 15, a k is the coefficient of the AR model, k = 1, 2, 3, ..., p;
根据x(n)的自相关函数构建AR模型的正则方程,即Yule-Walker方程,求解后获得各系数ak及σ2的估计值;则最终x(n)的功率谱PAR(f)可表示为:According to the autocorrelation function of x(n), the canonical equation of the AR model, namely the Yule-Walker equation, is constructed. After solving it, the estimated values of each coefficient a k and σ 2 are obtained; then the final power spectrum P AR (f) of x(n) can be expressed as:
得到RR间期的每5分钟一条的功率密度谱曲线的待分析心电数据的包络图,即为自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图。The envelope diagram of the ECG data to be analyzed, which is a power density spectrum curve of the RR interval every 5 minutes, is obtained, that is, the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF.
进一步,步骤(2)中模型阶数p确定值的选取方法为:心率变异数字信号RR间期进行频域分析计算,通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值,并绘制对应的功率密度谱曲线图;设定模型阶数p的初始值,通过AR模型法获得RR间期的功率密度谱曲线的包络图,即自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱图;若功率密度谱曲线图与频谱包络图相匹配,则该模型阶数p即为确定值,若功率密度谱曲线图与频谱包络图不相匹配,则调整模型阶数p的数值,重新通过AR模型法获得RR间期的功率密度谱曲线的包络图,直至功率密度谱曲线图与频谱包络图相匹配,得到模型阶数p的确定值。Furthermore, the method for selecting the determined value of the model order p in step (2) is as follows: performing frequency domain analysis and calculation on the RR interval of the heart rate variability digital signal, calculating the power values of the frequency domain parameters LFnorm, HFnorm, and LF/HF of the autonomic nervous function by the average period method, and drawing the corresponding power density spectrum curve; setting the initial value of the model order p, and obtaining the envelope diagram of the power density spectrum curve of the RR interval by the AR model method, that is, the spectrum diagram of the frequency domain parameters LFnorm, HFnorm, and LF/HF of the autonomic nervous function; if the power density spectrum curve matches the spectrum envelope diagram, then the model order p is the determined value; if the power density spectrum curve does not match the spectrum envelope diagram, then adjusting the value of the model order p, and re-obtaining the envelope diagram of the power density spectrum curve of the RR interval by the AR model method, until the power density spectrum curve matches the spectrum envelope diagram, and obtaining the determined value of the model order p.
其中,第一阈值为0.4~3,第二阈值为0.2~0.4,第三阈值为<0.2。Among them, the first threshold is 0.4-3, the second threshold is 0.2-0.4, and the third threshold is <0.2.
再者,步骤(3)中第一标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第一阈值范围内的心率变异信号作为第一标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第一标准群体图。Furthermore, the method for selecting the first standard group graph in step (3) is as follows: a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the first threshold range is selected as the first standard heart rate variability digital signal, the standard heart rate variability digital signal is input into the AR model to obtain a cluster of standard AR model graphs, and then several graphs with a similarity greater than 0.7 to the standard AR model graph are selected to form the first standard group graph.
优选的,步骤(3)中第二标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第二阈值范围内的心率变异信号作为第二标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第二标准群体图。Preferably, the method for selecting the second standard group graph in step (3) is: selecting a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the second threshold range as the second standard heart rate variability digital signal, inputting the standard heart rate variability digital signal into the AR model to obtain a cluster of standard AR model graphs, and then selecting several graphs with a similarity degree greater than 0.7 to the standard AR model graph to form a second standard group graph.
进一步,步骤(3)中第三标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第三阈值范围内的心率变异信号作为第三标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第三标准群体图。Furthermore, the method for selecting the third standard group graph in step (3) is as follows: a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the third threshold range is selected as the third standard heart rate variability digital signal, the standard heart rate variability digital signal is input into the AR model to obtain a cluster of standard AR model graphs, and then several graphs with a similarity greater than 0.7 to the standard AR model graph are selected to form a third standard group graph.
本发明一种基于RR间期频域参数的隐匿性房颤检测分析系统,包括信号采集存储模块,用于采集待分析的心率变异信号并保存;The present invention provides a latent atrial fibrillation detection and analysis system based on RR interval frequency domain parameters, comprising a signal acquisition and storage module, which is used to acquire and store the heart rate variability signal to be analyzed;
频域计算模块,对心率变异数字信号RR间期进行频域分析计算,通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值,通过AR模型法获得待分析心电数据的自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图;The frequency domain calculation module performs frequency domain analysis and calculation on the RR interval of the heart rate variability digital signal, calculates the power values of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the average cycle method, and obtains the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF of the ECG data to be analyzed by the AR model method;
风险判断模块,若频域参数LF/HF的功率数值在第一阈值范围内,则表明隐匿性房颤的风险等级为低风险,若频域参数LF/HF的功率数值在第二阈值范围内,则表明隐匿性房颤的风险等级为中风险,若频域参数LF/HF的功率数值在第三阈值范围内,则表明隐匿性房颤的风险等级为高风险;或若待分析心率变异信号的频谱包络图在第一标准群体图内,则表明隐匿性房颤的风险等级为低风险,若待分析心率变异信号的频谱包络图在第二标准群体图内,则表明隐匿性房颤的风险等级为中风险,若待分析心率变异信号的频谱包络图在第三标准群体图内,则表明隐匿性房颤的风险等级为高风险。Risk judgment module, if the power value of the frequency domain parameter LF/HF is within the first threshold range, it indicates that the risk level of latent atrial fibrillation is low risk, if the power value of the frequency domain parameter LF/HF is within the second threshold range, it indicates that the risk level of latent atrial fibrillation is medium risk, if the power value of the frequency domain parameter LF/HF is within the third threshold range, it indicates that the risk level of latent atrial fibrillation is high risk; or if the frequency spectrum envelope diagram of the heart rate variability signal to be analyzed is within the first standard group diagram, it indicates that the risk level of latent atrial fibrillation is low risk, if the frequency spectrum envelope diagram of the heart rate variability signal to be analyzed is within the second standard group diagram, it indicates that the risk level of latent atrial fibrillation is medium risk, if the frequency spectrum envelope diagram of the heart rate variability signal to be analyzed is within the third standard group diagram, it indicates that the risk level of latent atrial fibrillation is high risk.
有益效果:与现有技术相比,本发明具有以下显著优点:本发明采集待分析的心电信号,对心电信号频域分析,分别得到频域参数的功率数值和频谱包络图,然后基于频域参数的功率数值和频谱包络图分别分析并判断隐匿性房颤的风险的等级,保障风险预判的准确性,提高监测的灵敏性。Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: the present invention collects the ECG signal to be analyzed, performs frequency domain analysis on the ECG signal, obtains the power value and spectrum envelope diagram of the frequency domain parameters respectively, and then analyzes and judges the risk level of latent atrial fibrillation based on the power value and spectrum envelope diagram of the frequency domain parameters respectively, thereby ensuring the accuracy of risk prediction and improving the sensitivity of monitoring.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明中正常心电图和房颤心电图的对比示意图;FIG1 is a schematic diagram showing a comparison between a normal electrocardiogram and an atrial fibrillation electrocardiogram in the present invention;
图2为本发明中ECG波形示意图;FIG2 is a schematic diagram of an ECG waveform in the present invention;
图3为本发明中5分钟时段HRV信号FFT功率谱线示意图;FIG3 is a schematic diagram of the FFT power spectrum of the HRV signal in a 5-minute period in the present invention;
图4为本发明中5分钟时段HRV信号AR模型曲线和FFT功率谱线的示意图;FIG4 is a schematic diagram of an AR model curve and FFT power spectrum of a 5-minute HRV signal in the present invention;
图5为本发明中5分钟时段HRV信号AR模型曲线示意图;FIG5 is a schematic diagram of an AR model curve of a 5-minute HRV signal in the present invention;
图6为本发明中模拟实验中测试时段5min心电图信号获得AR模型功率谱曲线图;FIG6 is a power spectrum curve diagram of an AR model obtained from an electrocardiogram signal of a 5-minute test period in a simulation experiment of the present invention;
图7为本发明中时频分析的流程示意图。FIG. 7 is a schematic diagram of the flow of time-frequency analysis in the present invention.
具体实施方式DETAILED DESCRIPTION
下面结合附图对本发明的技术方案作进一步说明。The technical solution of the present invention is further described below in conjunction with the accompanying drawings.
实施例1:人体心率(以每分钟心跳次数,或bpm)是1分钟内的心跳次数。心电(ECG)是一种记录心脏电活动的生理学方法。ECG信号中的单个心跳波显示电势的变化,其分量称为P波、QRS波群和T波,如图2所示。人体的心率并不是绝对规则的,两次心跳间期之间有几十毫秒甚至超过一百毫秒的时间差别。健康人心跳间期的变化是由于交感神经和副交感神经随呼吸等因素而发生改变所致,是一个正常现象。心率变异性(Heart RateVariability,HRV)就是指逐次心跳间期之间的时间差异,通常定义为逐次心跳R—R间期的微小涨落,R-R间期是从ECG数据中分析计算得出的,因此心率变异性信号R-R间期可以反映自主神经活动情况。病人组对照正常组静息状态的心理生理学指标,心率(HR)、心率变异功率谱中的低频(LF)、低频高频比值(LF/HF)均是病人组高于对照组。正常人的健康状态下的心电图都表现出明显的周期性。但对心电图的仔细观察和测量的结果可知:正常人的心电图也是在一定的范围内缓慢细微地波动,两个相邻的RR间期(心动周期)通常相差几十毫秒甚至一百余毫秒。心率变异性(Heart Rate Variability,HRV)就是指瞬时心率随时间的微小变化,通常定义为连续正常心跳RR间期或瞬时心率的微小涨落。心电图一系列连续的RR间期或瞬时心率组成的序列可以用来纪录心率随时间的变化,因此也叫做心率变异信号。本发明的心率变异信号采用RR间期序列。心脏的自律性是心脏起搏组织的固有特性,但心率和节律在很大程度上受着ANS(Autonomic Nerve System,自主神经系统)的调控。PPS(Parasympathetic System,副交感神经系统)通过释放乙酰胆碱实现其对心率的影响;SPS(Sympathetic System,交感神经系统)通过释放肾上腺素和去甲肾上腺素影响心率。Example 1: The human heart rate (in beats per minute, or bpm) is the number of heartbeats in 1 minute. Electrocardiogram (ECG) is a physiological method for recording the electrical activity of the heart. The individual heartbeat waves in the ECG signal show the change of electrical potential, and its components are called P wave, QRS complex and T wave, as shown in Figure 2. The human heart rate is not absolutely regular, and there are tens of milliseconds or even more than one hundred milliseconds of time difference between two heartbeats. The change of the heartbeat interval of a healthy person is due to the change of the sympathetic and parasympathetic nerves with factors such as breathing, which is a normal phenomenon. Heart rate variability (HRV) refers to the time difference between successive heartbeats, which is usually defined as the slight fluctuation of the R-R interval of successive heartbeats. The R-R interval is analyzed and calculated from the ECG data, so the heart rate variability signal R-R interval can reflect the activity of the autonomic nerves. The patient group compared the resting state of the normal group with the psychophysiological indexes, heart rate (HR), low frequency (LF) in the heart rate variability power spectrum, and low frequency high frequency ratio (LF/HF) in the patient group were all higher than those in the control group. The electrocardiogram of normal people in a healthy state shows obvious periodicity. However, the results of careful observation and measurement of the electrocardiogram show that the electrocardiogram of a normal person also fluctuates slowly and slightly within a certain range, and two adjacent RR intervals (cardiac cycles) usually differ by tens of milliseconds or even more than one hundred milliseconds. Heart rate variability (HRV) refers to the slight change of instantaneous heart rate over time, which is usually defined as the slight fluctuation of the RR interval of a continuous normal heartbeat or the instantaneous heart rate. A sequence composed of a series of continuous RR intervals or instantaneous heart rates of the electrocardiogram can be used to record the changes of heart rate over time, so it is also called a heart rate variability signal. The heart rate variability signal of the present invention adopts a RR interval sequence. The autonomy of the heart is an inherent characteristic of the cardiac pacemaker tissue, but the heart rate and rhythm are largely regulated by the ANS (Autonomic Nerve System). The PPS (Parasympathetic System) affects the heart rate by releasing acetylcholine; the SPS (Sympathetic System) affects the heart rate by releasing adrenaline and noradrenaline.
实施例1公开了一种基于RR间期频域参数的隐匿性房颤检测分析方法,包括如下步骤:Embodiment 1 discloses a method for detecting and analyzing latent atrial fibrillation based on RR interval frequency domain parameters, comprising the following steps:
(1)采集待分析的心率变异信号并保存;具体可对被测者进行15至45分钟的单导联心电信号检测获取HRV RR间期信号;(1) collecting and saving the heart rate variability signal to be analyzed; specifically, performing single-lead ECG signal detection on the subject for 15 to 45 minutes to obtain the HRV RR interval signal;
(2)对心率变异数字信号RR间期进行频域分析计算,通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值,通过AR模型法获得待分析心电数据的自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图;(2) Perform frequency domain analysis and calculation on the RR interval of the heart rate variability digital signal, calculate the power values of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the average cycle method, and obtain the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF of the ECG data to be analyzed by the AR model method;
(3)若频域参数LF/HF的功率数值在第一阈值范围内,第一阈值为0.4~3,则表明隐匿性房颤的风险等级为低风险,若频域参数LF/HF的功率数值在第二阈值范围内,第二阈值为0.2~0.4,则表明隐匿性房颤的风险等级为中风险,若频域参数LF/HF的功率数值在第三阈值范围内,第三阈值为<0.2,则表明隐匿性房颤的风险等级为高风险;或若待分析心率变异信号的频谱包络图在第一标准群体图内,则表明隐匿性房颤的风险等级为低风险,若待分析心率变异信号的频谱包络图在第二标准群体图内,则表明隐匿性房颤的风险等级为中风险,若待分析心率变异信号的频谱包络图在第三标准群体图内,则表明隐匿性房颤的风险等级为高风险;随着实际中测量的数据量增大,经统计分析可变更其阈值;(3) If the power value of the frequency domain parameter LF/HF is within the first threshold range, which is 0.4 to 3, it indicates that the risk level of latent atrial fibrillation is low risk; if the power value of the frequency domain parameter LF/HF is within the second threshold range, which is 0.2 to 0.4, it indicates that the risk level of latent atrial fibrillation is medium risk; if the power value of the frequency domain parameter LF/HF is within the third threshold range, which is <0.2, it indicates that the risk level of latent atrial fibrillation is high risk; or if the spectrum envelope of the heart rate variability signal to be analyzed is within the first standard group diagram, it indicates that the risk level of latent atrial fibrillation is low risk; if the spectrum envelope of the heart rate variability signal to be analyzed is within the second standard group diagram, it indicates that the risk level of latent atrial fibrillation is medium risk; if the spectrum envelope of the heart rate variability signal to be analyzed is within the third standard group diagram, it indicates that the risk level of latent atrial fibrillation is high risk; as the amount of data measured in practice increases, the threshold value can be changed through statistical analysis;
频域分析是把时域中的心率变异信号转换到频域中,求出功率谱,本发明求功率谱采用两种方法:平均周期法和AR模型法,平均周期法是采用快速傅里叶变换FFT求出功率值,AR模型法是得到接近FFT的光滑功率谱线。平均周期法建立在FFT基础上,平均周期法对信号要做周期延拓的假设,要获得较高的谱分辨率需要较长数据。因心率变异性信号记录的是逐次心跳的R-R间期,是非均匀的采样。在FFT实际处理中,往往把一段较为长时的逐次R-R间期当作均匀时间序列,而采样率就定义为 为这段数据的平均RR间期。采集得的心率数据RR间期,如以5分钟时间段为步长,对各数据分别进行FFT变换,则可得到这5分钟时段HRV信号频域中的FFT功率谱线,如图3所示凹凸不平的曲线。Frequency domain analysis is to convert the heart rate variability signal in the time domain into the frequency domain to obtain the power spectrum. The present invention uses two methods to obtain the power spectrum: the average period method and the AR model method. The average period method uses the fast Fourier transform FFT to obtain the power value, and the AR model method obtains a smooth power spectrum line close to the FFT. The average period method is based on FFT. The average period method makes an assumption of period extension for the signal, and longer data is required to obtain a higher spectral resolution. Because the heart rate variability signal records the RR intervals of successive heartbeats, it is a non-uniform sampling. In the actual FFT processing, a relatively long period of successive RR intervals is often regarded as a uniform time series, and the sampling rate is defined as is the average RR interval of this data. If the collected RR interval of heart rate data is transformed by FFT with a step length of 5 minutes, the FFT power spectrum of the HRV signal frequency domain in this 5-minute period can be obtained, as shown in Figure 3.
步骤(3)中通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值的具体步骤为:The specific steps of calculating the power values of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the average cycle method in step (3) are as follows:
通过对RR间期的数据进行快速傅里叶变换,计算出功率谱密度PSD,其中功率谱密度PSD可表示为频率的一个函数,记为P(f),表示如下:The power spectral density PSD is calculated by performing fast Fourier transform on the RR interval data, where the power spectral density PSD can be expressed as a function of frequency, denoted as P(f), as follows:
式中,x(n)(n=0,1,……,N-1)表示心脏跳动的RR间期序列,N为待分析的RR间期序列长度,通常取N=256或N=512;Δt为RR间期序列的平均采样间隔,即本段RR间期序列的平均值X(f)为x(n)的离散傅里叶变换;In the formula, x(n) (n = 0, 1, ..., N-1) represents the RR interval sequence of the heart beat, N is the length of the RR interval sequence to be analyzed, usually N = 256 or N = 512; Δt is the average sampling interval of the RR interval sequence, that is, the average value of the RR interval sequence in this section X(f) is the discrete Fourier transform of x(n);
将功率谱密度PSD分为以下四个频带:超低频带ULF:<0.003HZ,即为PSDULF,极低频带VLF:0.003~0.04HZ,即为PSDVLF,低频带LF:0.04~0.15HZ,即为PSDLF,高频带HF0.15~0.40HZ,即为PSDHF,总频带:≤0.4HZ,即为PSD总;The power spectrum density PSD is divided into the following four frequency bands: ultra-low frequency band ULF: <0.003HZ, that is, PSD ULF , very low frequency band VLF: 0.003~0.04HZ, that is, PSD VLF , low frequency band LF: 0.04~0.15HZ, that is, PSD LF , high frequency band HF0.15~0.40HZ, that is, PSD HF , total frequency band: ≤0.4HZ, that is, PSD total ;
总频带的功率谱密度PSD总=PSDULF+PSDLF+PSDHF+PSDVLF,The power spectral density of the total frequency band PSD total = PSD ULF + PSD LF + PSD HF + PSD VLF ,
LFnorm=100×PSDLF/(PSD总-PSDVLF),LFnorm=100×PSD LF /(PSD total -PSD VLF ),
HFnorm=100×PSDHF/(PSD总-PSDVLF),HFnorm=100×PSD HF /(PSD total -PSD VLF ),
LF/HF=PSDLF/PSDHF;LF/HF=PSD LF /PSD HF ;
心率变异信号中的高频HF成分主要反映了心脏迷走神经的活动,低频LF成分反映了心脏交感神经活动或交感迷走共同活动,因此信号的低、高频成分比值LF/HF反映了交感和迷走活动的均衡性。The high-frequency HF component in the heart rate variability signal mainly reflects the activity of the cardiac vagus nerve, and the low-frequency LF component reflects the activity of the cardiac sympathetic nerve or the joint activity of the sympathetic vagus nerve. Therefore, the ratio of the low- and high-frequency components of the signal LF/HF reflects the balance of sympathetic and vagal activities.
AR模型法为心率信号建立参数模型,通过传递函数参数的不同来反映信号的特征。AR模型法属于现代谱估计方法,需求数据短,分辨率高,同FFT分析的频谱相比较,AR模型曲线如同一条光滑的包络线一般,如图4中的光滑曲线和图5中曲线所示,而且随着AR模型阶次的升高,AR模型的曲线起伏越大,越接近FFT的谱线,见图4中凹凸不平的曲线。这说明两种分析方法的结果是很吻合的,所以对非平稳性的心率变异信号的频域分析,常用AR模型来画分析的频谱线,而用FFT法计算功率谱密度值。The AR model method establishes a parameter model for the heart rate signal and reflects the characteristics of the signal by transferring the parameters of the function. The AR model method belongs to the modern spectrum estimation method, which requires short data and high resolution. Compared with the spectrum of FFT analysis, the AR model curve is like a smooth envelope, as shown in the smooth curve in Figure 4 and the curve in Figure 5. Moreover, as the order of the AR model increases, the curve of the AR model fluctuates more and is closer to the spectrum line of FFT, as shown in the uneven curve in Figure 4. This shows that the results of the two analysis methods are very consistent, so for the frequency domain analysis of non-stationary heart rate variability signals, the AR model is often used to draw the spectrum line of the analysis, and the FFT method is used to calculate the power spectrum density value.
步骤(3)中通过AR模型法获得自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图的具体步骤为:The specific steps of obtaining the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the AR model method in step (3) are as follows:
AR模型即自回归模型的差分方程可表示为:The difference equation of the AR model, i.e. the autoregressive model, can be expressed as:
式中,x(n)为心脏跳动的RR间期序列,u(n)是一个均值为零,方差为σ2的白噪声序列;p为模型阶数,取p=15,ak为AR模型的系数,k=1,2,3,…,p;Where x(n) is the RR interval sequence of the heart beat, u(n) is a white noise sequence with a mean of zero and a variance of σ 2 ; p is the model order, p = 15, a k is the coefficient of the AR model, k = 1, 2, 3, ..., p;
根据x(n)的自相关函数构建AR模型的正则方程,即Yule-Walker方程,求解后获得各系数ak及σ2的估计值;则最终x(n)的功率谱PAR(f)可表示为:According to the autocorrelation function of x(n), the canonical equation of the AR model, namely the Yule-Walker equation, is constructed. After solving it, the estimated values of each coefficient a k and σ 2 are obtained; then the final power spectrum P AR (f) of x(n) can be expressed as:
得到RR间期的每5分钟一条的功率密度谱曲线的待分析心电数据的包络图,即为自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图;Obtaining the envelope diagram of the ECG data to be analyzed, which is a power density spectrum curve of the RR interval every 5 minutes, is the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF;
步骤(3)中模型阶数p确定值的选取方法为:心率变异数字信号RR间期进行频域分析计算,通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值,并绘制对应的功率密度谱曲线图;设定模型阶数p的初始值,通过AR模型法获得RR间期的功率密度谱曲线的包络图,即自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱图;若功率密度谱曲线图与频谱包络图相匹配,则该模型阶数p即为确定值,若功率密度谱曲线图与频谱包络图不相匹配,则调整模型阶数p的数值,重新通过AR模型法获得RR间期的功率密度谱曲线的包络图,直至功率密度谱曲线图与频谱包络图相匹配,得到模型阶数p的确定值。The method for selecting the determined value of the model order p in step (3) is as follows: performing frequency domain analysis and calculation on the RR interval of the heart rate variability digital signal, calculating the power values of the frequency domain parameters LFnorm, HFnorm, and LF/HF of the autonomic nervous function by the average period method, and drawing the corresponding power density spectrum curve; setting the initial value of the model order p, and obtaining the envelope diagram of the power density spectrum curve of the RR interval by the AR model method, that is, the spectrum diagram of the frequency domain parameters LFnorm, HFnorm, and LF/HF of the autonomic nervous function; if the power density spectrum curve matches the spectrum envelope diagram, then the model order p is the determined value; if the power density spectrum curve does not match the spectrum envelope diagram, then adjusting the value of the model order p, and re-obtaining the envelope diagram of the power density spectrum curve of the RR interval by the AR model method, until the power density spectrum curve matches the spectrum envelope diagram, and obtaining the determined value of the model order p.
第一标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第一阈值范围内的心率变异信号作为第一标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第一标准群体图。The method for selecting the first standard group graph is as follows: a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the first threshold range is selected as the first standard heart rate variability digital signal, the standard heart rate variability digital signal is input into the AR model to obtain a cluster of standard AR model graphs, and then several graphs with a similarity greater than 0.7 to the standard AR model graphs are selected to form the first standard group graph.
第二标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第二阈值范围内的心率变异信号作为第二标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第二标准群体图。The method for selecting the second standard group graph is as follows: a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the second threshold range is selected as the second standard heart rate variability digital signal, the standard heart rate variability digital signal is input into the AR model to obtain a cluster of standard AR model graphs, and then several graphs with a similarity greater than 0.7 to the standard AR model graph are selected to form the second standard group graph.
第三标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第三阈值范围内的心率变异信号作为第三标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第三标准群体图。The method for selecting the third standard group graph is as follows: a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the third threshold range is selected as the third standard heart rate variability digital signal, the standard heart rate variability digital signal is input into the AR model to obtain a cluster of standard AR model graphs, and then several graphs with a similarity degree greater than 0.7 to the standard AR model graph are selected to form the third standard group graph.
本发明中建议采用的指标阈值,如下表1和表2所示。The index thresholds recommended in the present invention are shown in Tables 1 and 2 below.
表1自主神经功能短时程(5min)频域分析参数阈值Table 1 Threshold values of frequency domain analysis parameters of autonomic nervous function in short time (5 min)
表2隐匿性房颤风险等级的阈值Table 2 Thresholds for risk level of latent atrial fibrillation
短时程(5分钟)频域参数的阈值,只要满足上述频阈值LF/HF范围,可判定被检测者隐匿性房颤的风险等级。The threshold of the short-term (5 minutes) frequency domain parameter can determine the risk level of latent atrial fibrillation in the subject as long as it meets the above-mentioned frequency threshold LF/HF range.
自回归分析属于现代谱估计方法,利用参数模型把随机过程的随机性和一定程度的可预测性分离开而又有机的结合起来。激励白噪声反应过程的随机性,确定性模型则反映过程的可预测性。因此能较好的概括随机信号的性质,得到的功率谱是频率的连续函数,避免了周期图谱估计的随机起伏,而且只要用比较短的数据就可以得到较好的谱估计,这对于象心率变异这样的非平稳性较强的信号十分有利。Autoregressive analysis belongs to the modern spectrum estimation method, which uses parameter models to separate and organically combine the randomness of random processes and a certain degree of predictability. The excitation white noise reflects the randomness of the process, and the deterministic model reflects the predictability of the process. Therefore, it can better summarize the properties of random signals. The power spectrum obtained is a continuous function of frequency, avoiding the random fluctuations of periodic spectrum estimation, and better spectrum estimation can be obtained with relatively short data, which is very beneficial for signals with strong non-stationarity such as heart rate variability.
同FFT分析的频谱相比较,AR模型曲线如同一条光滑的包络线一般,而且随着AR模型阶次的升高,AR模型的曲线起伏越大,越接近FFT的谱线。这说明两种分析方法的结果是很吻合的。因为心率变异信号是非平稳比较突出的数据,所以采用AR模型来分析频谱更为适当。Compared with the spectrum analyzed by FFT, the AR model curve is like a smooth envelope, and as the order of the AR model increases, the AR model curve fluctuates more and is closer to the FFT spectrum. This shows that the results of the two analysis methods are very consistent. Because the heart rate variability signal is a relatively non-stationary data, it is more appropriate to use the AR model to analyze the spectrum.
采用AR模型计算频谱存在定阶的问题。对于心率变异性分析,用15阶最为合适。过高则峰线分裂,出现虚假的谱峰;阶次过低,则谱线不能正确反映谱峰变化。对于不同数据,阶次可有所调整。AR模型有三种算法:L—D算法,Burg算法和Marple算法,其中Marple算法速度最快,误差也最小,但三种算法对心率变异分析的结果是基本一致的。There is a problem of determining the order when using the AR model to calculate the spectrum. For heart rate variability analysis, the 15th order is most appropriate. If the order is too high, the peak line will split and false spectrum peaks will appear; if the order is too low, the spectrum line cannot correctly reflect the changes in the spectrum peak. The order can be adjusted for different data. There are three algorithms for the AR model: L-D algorithm, Burg algorithm and Marple algorithm. Among them, the Marple algorithm is the fastest and has the smallest error, but the results of the three algorithms for heart rate variability analysis are basically the same.
人的心率变异功率谱范围一般在0~0.5Hz,它可出现三个谱峰,如图5所示,由于所处环境条件和体位不同等的影响,波峰也可以改变或暂时消失:The power spectrum of human heart rate variability generally ranges from 0 to 0.5 Hz, and it can have three peaks, as shown in Figure 5. Due to the influence of environmental conditions and different body positions, the peaks can also change or temporarily disappear:
(1)第1峰在0.03Hz左右(0.02~0.09),为低频段峰,与外周血管舒缩、体温调节及肾素-血管紧张素系统活动等多种因素有关;(1) The first peak is around 0.03 Hz (0.02-0.09), which is a low-frequency peak and is related to multiple factors such as peripheral vasoconstriction, temperature regulation, and renin-angiotensin system activity;
(2)第2峰在0.10Hz左右(0.09~0.15),为中频段峰,与血压调节有关;(2) The second peak is around 0.10 Hz (0.09-0.15), which is a mid-frequency peak and is related to blood pressure regulation;
(3)第3峰在0.25Hz左右(0.15~0.40),属高频段峰,与呼吸周期引起的心率变化有关;(3) The third peak is around 0.25 Hz (0.15-0.40), which is a high-frequency peak and is related to the heart rate changes caused by the respiratory cycle;
在自主神经调节机制上,低、中频峰的能量变化受交感神经和迷走神经双重影响,而高频峰只受迷走神经影响。临床实际应用中,则常以0.15Hz为界分之为低频成分LF及高频成分HF。LF成分受交感神经和迷走神经双重影响,其中以交感神经占优势。HF成份则反映迷走神经活性。如图6所示为一位中年人测试了时段5min钟心电图信号获得一幅AR模型功率谱曲线图,其LF/HF值为0.39,以此评估其有隐匿性房颤的风险等级属于中等风险。In the autonomic nervous system regulation mechanism, the energy changes of low and medium frequency peaks are affected by both the sympathetic nerves and the vagus nerves, while the high frequency peaks are only affected by the vagus nerves. In clinical practice, 0.15Hz is often used as the boundary to divide it into low-frequency component LF and high-frequency component HF. The LF component is affected by both the sympathetic nerves and the vagus nerves, with the sympathetic nerves being dominant. The HF component reflects the activity of the vagus nerve. As shown in Figure 6, a middle-aged person tested the electrocardiogram signal for a period of 5 minutes to obtain an AR model power spectrum curve, and its LF/HF value is 0.39, which is used to assess the risk level of latent atrial fibrillation, which is medium risk.
实施例2:实施例2公开了一种基于RR间期频域参数的隐匿性房颤检测分析系统,包括信号采集存储模块,用于采集待分析的心率变异信号并保存;具体可对被测者进行15至45分钟的单导联心电信号检测获取HRV RR间期信号;Embodiment 2: Embodiment 2 discloses a latent atrial fibrillation detection and analysis system based on RR interval frequency domain parameters, including a signal acquisition and storage module for acquiring and storing the heart rate variability signal to be analyzed; specifically, a single-lead electrocardiogram signal detection can be performed on the subject for 15 to 45 minutes to obtain the HRV RR interval signal;
频域计算模块,对心率变异数字信号RR间期进行频域分析计算,通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值,通过AR模型法获得待分析心电数据的自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图;The frequency domain calculation module performs frequency domain analysis and calculation on the RR interval of the heart rate variability digital signal, calculates the power values of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the average cycle method, and obtains the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF of the ECG data to be analyzed by the AR model method;
风险判断模块,若频域参数LF/HF的功率数值在第一阈值范围内,则表明隐匿性房颤的风险等级为低风险,若频域参数LF/HF的功率数值在第二阈值范围内,则表明隐匿性房颤的风险等级为中风险,若频域参数LF/HF的功率数值在第三阈值范围内,则表明隐匿性房颤的风险等级为高风险;或若待分析心率变异信号的频谱包络图在第一标准群体图内,则表明隐匿性房颤的风险等级为低风险,若待分析心率变异信号的频谱包络图在第二标准群体图内,则表明隐匿性房颤的风险等级为中风险,若待分析心率变异信号的频谱包络图在第三标准群体图内,则表明隐匿性房颤的风险等级为高风险。Risk judgment module, if the power value of the frequency domain parameter LF/HF is within the first threshold range, it indicates that the risk level of latent atrial fibrillation is low risk, if the power value of the frequency domain parameter LF/HF is within the second threshold range, it indicates that the risk level of latent atrial fibrillation is medium risk, if the power value of the frequency domain parameter LF/HF is within the third threshold range, it indicates that the risk level of latent atrial fibrillation is high risk; or if the frequency spectrum envelope diagram of the heart rate variability signal to be analyzed is within the first standard group diagram, it indicates that the risk level of latent atrial fibrillation is low risk, if the frequency spectrum envelope diagram of the heart rate variability signal to be analyzed is within the second standard group diagram, it indicates that the risk level of latent atrial fibrillation is medium risk, if the frequency spectrum envelope diagram of the heart rate variability signal to be analyzed is within the third standard group diagram, it indicates that the risk level of latent atrial fibrillation is high risk.
风险判断模块中通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值的具体步骤为:The specific steps for calculating the power values of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the average cycle method in the risk judgment module are as follows:
通过对RR间期的数据进行快速傅里叶变换,计算出功率谱密度PSD,其中功率谱密度PSD可表示为频率的一个函数,记为P(f),表示如下:The power spectral density PSD is calculated by performing fast Fourier transform on the RR interval data, where the power spectral density PSD can be expressed as a function of frequency, denoted as P(f), as follows:
式中,x(n)(n=0,1,……,N-1)表示心脏跳动的RR间期序列,N为待分析的RR间期序列长度,通常取N=256或N=512;Δt为RR间期序列的平均采样间隔,即本段RR间期序列的平均值X(f)为x(n)的离散傅里叶变换;In the formula, x(n) (n = 0, 1, ..., N-1) represents the RR interval sequence of the heart beat, N is the length of the RR interval sequence to be analyzed, usually N = 256 or N = 512; Δt is the average sampling interval of the RR interval sequence, that is, the average value of the RR interval sequence in this section X(f) is the discrete Fourier transform of x(n);
将功率谱密度PSD分为以下四个频带:超低频带ULF:<0.003HZ,即为PSDULF,极低频带VLF:0.003~0.04HZ,即为PSDVLF,低频带LF:0.04~0.15HZ,即为PSDLF,高频带HF0.15~0.40HZ,即为PSDHF,总频带:≤0.4HZ,即为PSD总;The power spectrum density PSD is divided into the following four frequency bands: ultra-low frequency band ULF: <0.003HZ, that is, PSD ULF , very low frequency band VLF: 0.003~0.04HZ, that is, PSD VLF , low frequency band LF: 0.04~0.15HZ, that is, PSD LF , high frequency band HF0.15~0.40HZ, that is, PSD HF , total frequency band: ≤0.4HZ, that is, PSD total ;
总频带的功率谱密度PSD总=PSDULF+PSDLF+PSDHF+PSDVLF,The power spectral density of the total frequency band PSD total = PSD ULF + PSD LF + PSD HF + PSD VLF ,
LFnorm=100×PSDLF/(PSD总-PSDVLF),LFnorm=100×PSD LF /(PSD total -PSD VLF ),
HFnorm=100×PSDHF/(PSD总-PSDVLF),HFnorm=100×PSD HF /(PSD total -PSD VLF ),
LF/HF=PSDLF/PSDHF;LF/HF=PSD LF /PSD HF ;
风险判断模块中通过AR模型法获得自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图的具体步骤为:The specific steps of obtaining the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF by the AR model method in the risk judgment module are as follows:
AR模型即自回归模型的差分方程可表示为:The difference equation of the AR model, i.e. the autoregressive model, can be expressed as:
式中,x(n)为心脏跳动的RR间期序列,u(n)是一个均值为零,方差为σ2的白噪声序列;p为模型阶数,取p=15,ak为AR模型的系数,k=1,2,3,…,p;Where x(n) is the RR interval sequence of the heart beat, u(n) is a white noise sequence with a mean of zero and a variance of σ 2 ; p is the model order, p = 15, a k is the coefficient of the AR model, k = 1, 2, 3, ..., p;
根据x(n)的自相关函数构建AR模型的正则方程,即Yule-Walker方程,求解后获得各系数ak及σ2的估计值;则最终x(n)的功率谱PAR(f)可表示为:According to the autocorrelation function of x(n), the canonical equation of the AR model, namely the Yule-Walker equation, is constructed. After solving it, the estimated values of each coefficient a k and σ 2 are obtained; then the final power spectrum P AR (f) of x(n) can be expressed as:
得到RR间期的每5分钟一条的功率密度谱曲线的待分析心电数据的包络图,即为自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱包络图;Obtaining the envelope diagram of the ECG data to be analyzed, which is a power density spectrum curve of the RR interval every 5 minutes, is the spectrum envelope diagram of the autonomic nervous function frequency domain parameters LFnorm, HFnorm, and LF/HF;
风险判断模块中模型阶数p确定值的选取方法为:心率变异数字信号RR间期进行频域分析计算,通过平均周期法计算自主神经功能频域参数LFnorm、HFnorm、LF/HF的功率数值,并绘制对应的功率密度谱曲线图;设定模型阶数p的初始值,通过AR模型法获得RR间期的功率密度谱曲线的包络图,即自主神经功能频域参数LFnorm、HFnorm、LF/HF的频谱图;若功率密度谱曲线图与频谱包络图相匹配,则该模型阶数p即为确定值,若功率密度谱曲线图与频谱包络图不相匹配,则调整模型阶数p的数值,重新通过AR模型法获得RR间期的功率密度谱曲线的包络图,直至功率密度谱曲线图与频谱包络图相匹配,得到模型阶数p的确定值。The method for selecting the determined value of the model order p in the risk judgment module is as follows: the RR interval of the heart rate variability digital signal is analyzed and calculated in the frequency domain, the power values of the frequency domain parameters LFnorm, HFnorm, and LF/HF of the autonomic nervous function are calculated by the average period method, and the corresponding power density spectrum curve is drawn; the initial value of the model order p is set, and the envelope diagram of the power density spectrum curve of the RR interval is obtained by the AR model method, that is, the spectrum diagram of the frequency domain parameters LFnorm, HFnorm, and LF/HF of the autonomic nervous function; if the power density spectrum curve matches the spectrum envelope diagram, the model order p is the determined value; if the power density spectrum curve does not match the spectrum envelope diagram, the value of the model order p is adjusted, and the envelope diagram of the power density spectrum curve of the RR interval is obtained again by the AR model method until the power density spectrum curve matches the spectrum envelope diagram, and the determined value of the model order p is obtained.
第一标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第一阈值范围内的心率变异信号作为第一标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第一标准群体图。The method for selecting the first standard group graph is as follows: a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the first threshold range is selected as the first standard heart rate variability digital signal, the standard heart rate variability digital signal is input into the AR model to obtain a cluster of standard AR model graphs, and then several graphs with a similarity greater than 0.7 to the standard AR model graphs are selected to form the first standard group graph.
第二标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第二阈值范围内的心率变异信号作为第二标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第二标准群体图。The method for selecting the second standard group graph is as follows: a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the second threshold range is selected as the second standard heart rate variability digital signal, the standard heart rate variability digital signal is input into the AR model to obtain a cluster of standard AR model graphs, and then several graphs with a similarity greater than 0.7 to the standard AR model graph are selected to form the second standard group graph.
第三标准群体图的的选取方法为:选取频域参数LF/HF的功率数值在第三阈值范围内的心率变异信号作为第三标准心率变异数字信号,将标准心率变异数字信号输入到AR模型中得到一簇标准的AR模型图,再选取与标准的AR模型图若干相似程度大于0.7图形,形成第三标准群体图。The method for selecting the third standard group graph is as follows: a heart rate variability signal whose power value of the frequency domain parameter LF/HF is within the third threshold range is selected as the third standard heart rate variability digital signal, the standard heart rate variability digital signal is input into the AR model to obtain a cluster of standard AR model graphs, and then several graphs with a similarity degree greater than 0.7 to the standard AR model graph are selected to form the third standard group graph.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410407547.7A CN118161171B (en) | 2024-04-07 | 2024-04-07 | Hidden atrial fibrillation detection analysis system and method based on RR interval frequency domain parameters |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410407547.7A CN118161171B (en) | 2024-04-07 | 2024-04-07 | Hidden atrial fibrillation detection analysis system and method based on RR interval frequency domain parameters |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118161171A CN118161171A (en) | 2024-06-11 |
CN118161171B true CN118161171B (en) | 2024-09-03 |
Family
ID=91352672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410407547.7A Active CN118161171B (en) | 2024-04-07 | 2024-04-07 | Hidden atrial fibrillation detection analysis system and method based on RR interval frequency domain parameters |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118161171B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826631A (en) * | 2019-11-08 | 2020-02-21 | 广州视源电子科技股份有限公司 | Arrhythmia disease classification method and device, storage medium and processor |
CN111449647A (en) * | 2020-03-18 | 2020-07-28 | 广州视源电子科技股份有限公司 | Electrocardiogram recognition method and device, storage medium and electronic equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8155735B2 (en) * | 2006-09-19 | 2012-04-10 | The Cleveland Clinic Foundation | Prediction and prevention of postoperative atrial fibrillation in cardiac surgery patients |
US8116859B2 (en) * | 2007-10-24 | 2012-02-14 | Ela Medical S.A.S. | Electrocardiologic device for the assisted diagnosis of brugada syndrome or early repolarization syndrome |
-
2024
- 2024-04-07 CN CN202410407547.7A patent/CN118161171B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110826631A (en) * | 2019-11-08 | 2020-02-21 | 广州视源电子科技股份有限公司 | Arrhythmia disease classification method and device, storage medium and processor |
CN111449647A (en) * | 2020-03-18 | 2020-07-28 | 广州视源电子科技股份有限公司 | Electrocardiogram recognition method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN118161171A (en) | 2024-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7623912B2 (en) | Method, apparatus and system for characterizing sleep | |
Acharya et al. | Comprehensive analysis of cardiac health using heart rate signals | |
US7909771B2 (en) | Diagnosis of sleep apnea | |
US20030093002A1 (en) | Function indicator for autonomic nervous system based on phonocardiogram | |
Merati et al. | Assessment of the autonomic control of heart rate variability in healthy and spinal-cord injured subjects: contribution of different complexity-based estimators | |
KR102561888B1 (en) | Anxiety disorder monitoring system, and method for determining anxiety disorder in the same | |
EP3387994B1 (en) | Biological state estimation device, biological state estimation method, computer program, and recording medium | |
Gospodinov et al. | Mathematical methods of ECG data analysis | |
WO2018130897A1 (en) | Method and system for determining heart rate variability | |
Rapalis et al. | Estimation of blood pressure variability during orthostatic test using instantaneous photoplethysmogram frequency and pulse arrival time | |
CN118161171B (en) | Hidden atrial fibrillation detection analysis system and method based on RR interval frequency domain parameters | |
Chou et al. | Comparison between heart rate variability and pulse rate variability for bradycardia and tachycardia subjects | |
US20220304611A1 (en) | Atrial fibrillation detection device, method, system and storage medium | |
Farhan et al. | Linear analysis of ECG data variability to assess the autonomic nervous system in two different body positions | |
Georgieva-Tsaneva | Frequency analysis of cardiac data obtained through holter monitoring in real living conditions | |
Salcedo-Martínez et al. | The detrended fluctuation analysis of heartbeat intervals in time series during stress tests | |
Zhao et al. | Sleep stage assessment based on autocorrelation and spectral analysis of heart rate variability | |
Georgieva-Tsaneva | Time and frequency analysis of heart rate variability data in heart failure patients | |
CN109044335B (en) | Heart function evaluation method based on instantaneous sound stimulation | |
Divyabharathi et al. | Analysis of Human Physiological Parameters Using Real-Time HRV Estimation from Acquired ECG Signals | |
Mayapur | Literature survey on heart rate variability and its various processing and analyzing techniques | |
Kashani et al. | A new atrial fibrillation detection system with noise cancellation and signal annotation | |
Ghista et al. | ECG waveform and heart rate variability signal analysis to detect cardiac arrhythmias | |
Lyu et al. | A Novel Estimation of Baroreflex Sensitivity by Using Variational Mode Decomposition and Cross-Wavelet Analysis | |
JP2003190110A (en) | Autonomic nervous system function indicator based on phonocardiogram |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240812 Address after: 211189 No. 2 Southeast University Road, Jiangning District, Nanjing, Jiangsu Applicant after: SOUTHEAST University Country or region after: China Applicant after: JIANGSU HUAKANG INFORMATION TECHNOLOGY Co.,Ltd. Address before: Building 1, Floor 15, No. 68 Aoti Street, Jianye District, Nanjing City, Jiangsu Province, 210019 Applicant before: JIANGSU HUAKANG INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |
|
GR01 | Patent grant | ||
GR01 | Patent grant |