TW202341932A - Method for separating high-frequency noise from an electrocardiogram - Google Patents

Method for separating high-frequency noise from an electrocardiogram Download PDF

Info

Publication number
TW202341932A
TW202341932A TW111115036A TW111115036A TW202341932A TW 202341932 A TW202341932 A TW 202341932A TW 111115036 A TW111115036 A TW 111115036A TW 111115036 A TW111115036 A TW 111115036A TW 202341932 A TW202341932 A TW 202341932A
Authority
TW
Taiwan
Prior art keywords
frequency
signal
qrs wave
electrocardiogram
frequency noise
Prior art date
Application number
TW111115036A
Other languages
Chinese (zh)
Other versions
TWI798064B (en
Inventor
林俊成
林建宏
鄧凱文
Original Assignee
國立勤益科技大學
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 國立勤益科技大學 filed Critical 國立勤益科技大學
Priority to TW111115036A priority Critical patent/TWI798064B/en
Application granted granted Critical
Publication of TWI798064B publication Critical patent/TWI798064B/en
Publication of TW202341932A publication Critical patent/TW202341932A/en

Links

Images

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

A method for separating high-frequency noise from an electrocardiogram is adapted to prevent the electrocardiogram from being affected by the high-frequency noise. The method is to receive the heartbeat signal of the electrocardiogram and capture a QRS wave of the heartbeat signal. A high-frequency auxiliary signal is added in the captured QRS wave additionally to thereby increase the high-frequency signal of the QRS wave. The empirical mode decomposition is repeated to proceed a mode of a filtering procedure to thereby decompose the signal by the empirical mode decomposition and obtain a plurality of intrinsic mode functions. The first intrinsic mode function which represents the high-frequency component is adapted to minus the high-frequency auxiliary signal after being decomposed to thereby separate the high-frequency noise from the QRS wave. Finally, the high-frequency noise is removed from the QRS wave to thereby improve the accuracy of analysis and discrimination effectively.

Description

一種分離心電圖高頻雜訊的方法A method for separating high-frequency noise from electrocardiogram

本發明係有關於一種心跳訊號檢測之設計,特別是指一種分離心電圖高頻雜訊的方法。The present invention relates to a design for detecting heartbeat signals, and in particular, to a method for separating high-frequency noise from electrocardiograms.

查,鑒於科技進步與生活水平的提升,現代人對於重大疾病的預防與檢測也逐漸產生重視,但也因會社會型態生活步調的不同,疾病型態也會由急性轉換為慢性,如心臟疾病、腦性血管疾病等,因此受惠於科技的進步下,其可通過定期的量測與相關生理訊號的分析,可使許多重大疾病的早期徵兆得以被察覺,而對於重大疾病之一的心臟疾病而言,其以心因猝死為常見原因,而心因猝死好發於急性的心肌梗塞併發惡性心律不整,尤其具有心室型心律不整者則屬於心肌梗塞的高危險群,是以,若能對心室型心律不整之徵兆於事發前正確予以診斷出,以提供患者能提前進行適當的治療,有助於及早接受治療以提升治癒率。According to the investigation, in view of the advancement of science and technology and the improvement of living standards, modern people have gradually paid attention to the prevention and detection of major diseases. However, due to different social patterns and life paces, disease types may also change from acute to chronic, such as heart disease. diseases, cerebrovascular diseases, etc., therefore, thanks to the advancement of technology, through regular measurement and analysis of related physiological signals, the early signs of many major diseases can be detected, and for one of the major diseases As for heart disease, sudden cardiac death is a common cause, and sudden cardiac death often occurs when acute myocardial infarction is complicated by malignant arrhythmia. People with ventricular arrhythmia, especially those with ventricular arrhythmia, are in a high-risk group for myocardial infarction. Therefore, if Signs of ventricular arrhythmia can be correctly diagnosed before the event occurs, so that patients can receive appropriate treatment in advance, which helps to receive early treatment to improve the cure rate.

是以,現今普遍利用心電圖來對於心臟疾病進行相關病情的追蹤,而心電圖是一個可以早期發現心臟異常的一項重要非侵入性工具,當心電圖中出現異常時表示心臟機能可能存在某種障礙,所以心電圖經常被應用於診斷心跳速度或神經傳導的問題,包括心律不整、傳導阻滯、加速傳導等,以及心肌電流改變,包括心肌梗塞、心房或心室肥大症、心包膜炎等,同時心電圖也可以用在一般心跳的監測、或是配合運動心電圖來分析心臟冠狀動脈缺氧時是否有異常變化、亦或是利用24小時心電圖來檢查是否有偶發性的心律不整,然而,心電圖的測量容易受到各式各樣的雜訊所干擾,如包括電源干擾、基線漂移、電極接觸不良、人為干擾等,有鑒於前述之干擾雜訊夾雜於心電圖中,導致心電圖在分析的時後受到影響,而無法正確檢測與判別出被測者的心跳訊號是否為異常心跳訊號,以及被檢測者是否具有心律不整的徵兆;因此,要如何減少雜訊對心電圖分析時影響,藉以能有效快速判別出被檢測者之病症所在,乃為本技術領域人員一致努力之目標。Therefore, electrocardiogram is now widely used to track heart disease-related conditions, and electrocardiogram is an important non-invasive tool that can detect cardiac abnormalities early. When abnormalities appear in the electrocardiogram, it indicates that there may be some kind of disorder in the heart function. Therefore, electrocardiogram is often used to diagnose heart rate or nerve conduction problems, including arrhythmia, conduction block, accelerated conduction, etc., as well as myocardial current changes, including myocardial infarction, atrial or ventricular hypertrophy, pericarditis, etc., while electrocardiogram It can also be used for general heartbeat monitoring, or with exercise electrocardiography to analyze whether there are abnormal changes in coronary artery hypoxia, or using 24-hour electrocardiography to check for occasional arrhythmias. However, electrocardiography is easy to measure. It is interfered by various noises, such as power interference, baseline drift, poor electrode contact, human interference, etc. In view of the aforementioned interference noise mixed in the ECG, the ECG will be affected during analysis. It is impossible to correctly detect and judge whether the heartbeat signal of the person being tested is an abnormal heartbeat signal, and whether the person being tested has signs of arrhythmia; therefore, how to reduce the impact of noise on the electrocardiogram analysis, so as to effectively and quickly determine whether the person being tested is The location of the patient's disease is the goal of concerted efforts by those in the technical field.

因此,本發明之目的,是在提供一種分離心電圖高頻雜訊的方法,其可將心電圖中之高頻雜訊有效分離出,以減少高頻雜訊對於心電圖分析時的影響,有效提升分析判別的準確度。Therefore, the purpose of the present invention is to provide a method for separating high-frequency noise in electrocardiograms, which can effectively separate high-frequency noise in electrocardiograms, so as to reduce the impact of high-frequency noises on electrocardiogram analysis and effectively improve analysis. Accuracy of discrimination.

於是,本發明一種分離心電圖高頻雜訊的方法,包含接收、擷取、增加、分離以及移除等步驟,因此從接收一心電圖機之心跳訊號,擷取該心跳訊號中之QRS波,調整該QRS波的取樣頻率,對該QRS波中額外加入一高頻輔助訊號,使該QRS波中的高頻訊號成分因此而增加,同時並對加入高頻輔助訊號之該QRS波用經驗模態分解法進行訊號分解,且採以重覆進行之篩選程序的模式,可使該訊號分解為一經驗模態分解,並取得多個本質模態函數,再將分解後代表高頻成份的第1個本質模態函數減去高頻輔助訊號,即可分離出QRS波的高頻雜訊,最後將高頻雜訊從QRS波中移除,可以有效大幅提升對心電圖分析判別的準確度。Therefore, the present invention is a method for separating electrocardiogram high-frequency noise, including the steps of receiving, retrieving, adding, separating and removing. Therefore, the heartbeat signal from an electrocardiograph is received, the QRS wave in the heartbeat signal is captured, and the QRS wave in the heartbeat signal is adjusted. The sampling frequency of the QRS wave is to add an additional high-frequency auxiliary signal to the QRS wave, thereby increasing the high-frequency signal component in the QRS wave. At the same time, the empirical mode is used for the QRS wave with the high-frequency auxiliary signal added. The decomposition method is used to decompose the signal and adopt the pattern of repeated screening procedures to decompose the signal into an empirical mode decomposition and obtain multiple essential mode functions, and then decompose the first one representing the high-frequency component. By subtracting the high-frequency auxiliary signal from an intrinsic modal function, the high-frequency noise of the QRS wave can be separated. Finally, the high-frequency noise is removed from the QRS wave, which can effectively greatly improve the accuracy of electrocardiogram analysis and discrimination.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之較佳實施例的詳細說明中,將可清楚的明白。The aforementioned and other technical contents, features and effects of the present invention will be clearly understood in the following detailed description of the preferred embodiments with reference to the drawings.

參閱圖1,本發明一種分離心電圖高頻雜訊的方法之一較佳實施例,包含有一接收步驟,一擷取步驟,一調整步驟,一增加步驟,一分離步驟以及一移除步驟等;其中,在該接收步驟中會先從一心電圖機接收心跳訊號(接收步驟);而該擷取步驟中即會對該心跳訊號中找出QRS波形並進行擷取,有鑒於完整的心跳訊號通常會由將波形分為P、Q、R、S及T這些部分組成,有助於判斷心律狀況,同時其位置所在的代表意義也不同,最主要常見電位變化為QRS波組,該QRS波形並非呈固定的排序,且該QRS波形之不正常電位頻率中常會夾雜各式干擾之雜訊成分,尤其是夾雜於其中的高頻雜訊會導致影響分析判別,因此特將該QRS波形予以擷取出。Referring to Figure 1, a preferred embodiment of a method for separating electrocardiogram high-frequency noise according to the present invention includes a receiving step, an acquisition step, an adjusting step, an adding step, a separating step and a removing step, etc.; Among them, in the receiving step, the heartbeat signal will first be received from an electrocardiograph (receiving step); and in the acquisition step, the QRS waveform will be found in the heartbeat signal and acquired. In view of the fact that a complete heartbeat signal usually It consists of dividing the waveform into P, Q, R, S and T parts, which is helpful to judge the heart rhythm condition. At the same time, its position has different representative meanings. The most common potential change is the QRS wave group, and the QRS waveform is not It is in a fixed order, and the abnormal potential frequency of the QRS waveform is often mixed with various interfering noise components. Especially the high-frequency noise mixed in it will affect the analysis and judgment, so the QRS waveform is specially captured. .

接續前述,在該增加步驟中會對該擷取步驟所擷取之該QRS波進行一額外高頻輔助訊號的增加,使該QRS波中的高頻訊號成分因此而增加,特別是在本實施例中,所增加的高頻輔助訊號可以是單一頻率,也可以是多個頻率組合,在此恕不贅述,同時在對該QRS波進行高頻輔助訊號增加的作業前,另增加有一調整步驟,以便先對該QRS波進行取樣頻率調整,使調整後之該QRS波的取樣頻率是該高頻輔助訊號頻率的偶數倍,以在分別通過取樣頻率的調整與高頻輔助訊號增加下,可使該QRS波中不易被發覺之小振幅的高頻帶成分受到有效的增加;請參閱圖2,至於,在該分離步驟將以經驗模態分解對前述加入高頻輔助訊號之該QRS波進行訊號分解,而該經驗模態分解(empirical mode decomposition;EMD)以採重覆進行之一篩選程序的模式來找出訊號中的本質模態函數(intrinsic mode function;以下簡稱IMF),而在該篩選程序之流程中包括有一找出流程、一連接流程、一計算流程、一減去流程、一檢查流程、一篩選流程以及拆解流程,即以原始訊號 x( n)為例,在該找出流程中即對前述已經過調整增加之該QRS波之原始訊號中,找出所有的局部極大值與局部極小值,並在該連接流程中將所有局部極大值與局部極小值分別以三次樣條(cubic spline)曲線連接成上包絡線及下包絡線,接著該計算流程將計算前述該上包絡線與下包絡線的平均值,以得到平均包絡線 m 1( n),而後在該減去流程中將原始訊號減去平均包絡線,以得到第1個分量 h 1( n)參數,即關係式為: Continuing from the above, in the adding step, an additional high-frequency auxiliary signal is added to the QRS wave captured in the capturing step, so that the high-frequency signal component in the QRS wave is increased, especially in this implementation. In this example, the added high-frequency auxiliary signal can be a single frequency or a combination of multiple frequencies, which will not be described in detail here. At the same time, before adding the high-frequency auxiliary signal to the QRS wave, an additional adjustment step is added. , in order to adjust the sampling frequency of the QRS wave first, so that the adjusted sampling frequency of the QRS wave is an even multiple of the frequency of the high-frequency auxiliary signal, so that through the adjustment of the sampling frequency and the increase of the high-frequency auxiliary signal, it can The high-frequency component of the QRS wave with small amplitude that is not easily detected is effectively increased; please refer to Figure 2. As for the separation step, empirical mode decomposition will be used to signal the QRS wave with the aforementioned high-frequency auxiliary signal. Decomposition, and the empirical mode decomposition (EMD) uses a repeated screening process to find the intrinsic mode function (hereinafter referred to as IMF) in the signal, and in this screening The process of the program includes a finding process, a connecting process, a calculating process, a subtracting process, a checking process, a screening process and a disassembling process, that is, taking the original signal x ( n ) as an example, in the finding In the process, all the local maxima and local minima are found in the original signal of the QRS wave that has been adjusted and added, and in the connection process, all the local maxima and local minima are divided into cubic splines. (cubic spline) curve is connected into an upper envelope and a lower envelope, and then the calculation process will calculate the average of the aforementioned upper envelope and lower envelope to obtain the average envelope m 1 ( n ), and then subtract the In the process, the average envelope is subtracted from the original signal to obtain the first component h 1 ( n ) parameter, that is, the relationship is:

h 1( n)= x( n)- m 1( n) h 1 ( n ) = x ( n ) - m 1 ( n )

仍續前述,且同時通過該檢查流程對該第1個分量 h 1( n)參數檢查是否符合IMF的條件,如果不符合即將該第1個分量當作原始訊號,且重覆多次篩選便可取得具有IMF條件的多個分量參數,因此在該減去流程之後的檢查過程中如果為不符合者,則再重覆前述該找出、連接、計算及減去等4個篩選流程,並且將該第1個分量參數當作原始訊號,進行第二次篩選,以進一步得到第2個分量 h 2( n)參數,其關係式為: Continuing with the above, and at the same time, through the inspection process, the first component h 1 ( n ) parameter is checked to see if it meets the conditions of the IMF. If it does not meet the conditions, the first component will be regarded as the original signal, and the screening will be repeated multiple times. Multiple component parameters with IMF conditions can be obtained. Therefore, if they are non-compliant during the inspection process after the subtraction process, the aforementioned four screening processes of finding, connecting, calculating, and subtracting are repeated, and The first component parameter is regarded as the original signal and is filtered for the second time to further obtain the second component h 2 ( n ) parameter. The relationship formula is:

h 1( n)= x( n)- m 1( n) h 1 ( n ) = x ( n ) - m 1 ( n )

接續前述,當重覆篩選k次之後,即會得到滿足IMF的第k個分量參數,即關係式為:Continuing from the above, after repeated screening k times, the k-th component parameter that satisfies the IMF will be obtained, that is, the relationship is:

h k( n)= h k -1( n)- m k ( n) h k ( n ) = h k -1 ( n ) - m k ( n )

則定義為第1個IMF, c 1( n),即關係式為: Then it is defined as the first IMF, c 1 ( n ), that is, the relationship is:

c 1( n)= h 1( n) c 1 ( n ) = h 1 ( n )

是以,在本發明中所使用的IMF條件是第k個分量與前後兩個分量之標準偏差需小於門檻值0.001,其標準偏差(standard deviation;SD)的定義如下: Therefore, the IMF condition used in the present invention is that the standard deviation of the k-th component and the two components before and after must be less than the threshold value 0.001. The standard deviation (SD) is defined as follows:

SD=             ;其中N為原始訊號的長度。SD= ;where N is the length of the original signal.

而在該篩選流程中即會將原始訊號減去第1個IMF,以得到第1個剩餘訊號 r 1( n),即關係式為: In this screening process, the first IMF is subtracted from the original signal to obtain the first remaining signal r 1 ( n ), that is, the relationship is:

r 1( n)= x( n)- c 1( n) r 1 ( n ) = x ( n ) - c 1 ( n )

並將 r 1( n)當原始訊號,重覆前述該找出、連接、計算、減去、檢查至該篩選等1到6的篩選程序流程,得到第2個剩餘訊號 r 2( n),即關係式為: And treat r 1 ( n ) as the original signal, repeat the aforementioned screening process of finding, connecting, calculating, subtracting, checking to the screening, etc. 1 to 6, to obtain the second remaining signal r 2 ( n ), That is, the relationship is:

r 2( n)= r 1( n)- c 2( n) r 2 ( n ) = r 1 ( n ) - c 2 ( n )

而重覆篩選n次之後,第 I個剩於訊號 r I ( n),即關係式為: After repeated screening n times, the I -th signal r I ( n ) remains, that is, the relationship is:

r I ( n)= r I 1( n)- c I ( n) r I ( n ) = r I - 1 ( n ) - c I ( n )

由前述關係式可得知,篩選後已經成為單調函數(monotonic function),即極值數量小於3,則無法再分解篩選出其他的IMF,即整個經驗模態分解結束;而最後在該拆解流程中原始訊號可被拆解為 I個IMF及1個趨勢函數,其關係式可表示為: It can be known from the aforementioned relationship that after screening, it has become a monotonic function (monotonic function), that is, the number of extreme values is less than 3, and other IMFs cannot be decomposed and screened out, that is, the entire empirical mode decomposition is completed; and finally in this disassembly The original signal in the process can be disassembled into I IMF and 1 trend function, and its relationship can be expressed as:

x( n)= x ( n )=

而後將代表高頻成份的第1個本質模態函數減去高頻輔助訊號,即可分離出QRS波的高頻雜訊,最後將高頻雜訊從QRS波中移除,以有效提升分析判別的準確度;是以,本發明藉由先在擷取的心跳訊號中加入一個額外的高頻訊號作為輔助訊號,且更在加入該高頻輔助訊號前,必需先調整所擷取之該心跳訊號的取樣頻率,如此可使該心跳訊號之取樣頻率是該高頻輔助訊號的偶數倍,即如圖3所示,輸入之QRS波 x( n)需先經過上取樣↑L及下取樣↓M的處理,其中L及M的選擇滿足兩個條件,即條件1為是調整後的取樣頻率 是高頻輔助訊號頻率 的偶數倍,以及條件2是調整後的取樣頻率 要接近並大於原始取樣頻率ƒ s ,即例如下列表1所示,因此,假設輸入之QRS波的取樣頻率ƒ s 為2000 Hz時,使用不同的高頻輔助訊號頻率,所對應的L及M值,以及調整後的取樣頻率便會如同表1所示;同時當高頻輔助訊號有多個頻率時,調整後的取樣頻率必需是每一個頻率的偶數倍,且如同下列表1所示,高頻訊號如果包同時包含150Hz、300 Hz、400 Hz時,則調整後的取樣頻率2400 Hz可以滿足150 Hz、300 Hz、400 Hz的偶倍數的條件。 Then the high-frequency auxiliary signal is subtracted from the first intrinsic mode function representing the high-frequency component to separate the high-frequency noise of the QRS wave. Finally, the high-frequency noise is removed from the QRS wave to effectively improve the analysis. The accuracy of the judgment; therefore, the present invention first adds an additional high-frequency signal as an auxiliary signal to the captured heartbeat signal, and before adding the high-frequency auxiliary signal, the captured heartbeat signal must first be adjusted. The sampling frequency of the heartbeat signal, so that the sampling frequency of the heartbeat signal is an even multiple of the high-frequency auxiliary signal, that is, as shown in Figure 3, the input QRS wave x ( n ) must first go through upsampling ↑L and downsampling ↓M processing, where the selection of L and M satisfies two conditions, that is, condition 1 is the adjusted sampling frequency is the high frequency auxiliary signal frequency is an even multiple of , and condition 2 is the adjusted sampling frequency It should be close to and larger than the original sampling frequency ƒ s , as shown in Table 1 below. Therefore, assuming that the sampling frequency ƒ s of the input QRS wave is 2000 Hz, different high-frequency auxiliary signal frequencies are used, and the corresponding L and M value, and the adjusted sampling frequency will be as shown in Table 1; at the same time, when the high-frequency auxiliary signal has multiple frequencies, the adjusted sampling frequency must be an even multiple of each frequency, and as shown in Table 1 below, If the high-frequency signal package contains 150 Hz, 300 Hz, and 400 Hz at the same time, the adjusted sampling frequency of 2400 Hz can meet the conditions of even multiples of 150 Hz, 300 Hz, and 400 Hz.

表1 Table 1

接續前述,配合參閱圖4(a)-(d),其所示是以沒有QRS波時,高頻輔助訊號通過經驗模態分解結果形態,並對比本發明以經驗模態分解經調整取樣頻率與增加高頻輔助訊號之QRS波的結果之圖5(a)-(b)所示,因此以圖4(a)-(d)所採用的取樣頻率為2000 Hz為例,在圖4(a)及圖4(b)中分別是以350Hz及250Hz高頻輔助訊號的波形,由此可以明顯得知,其所呈現出的取樣頻率2000Hz不是高頻輔助訊號350Hz的偶數倍,且在圖4(a)中所示之350Hz的波形並沒有上下對稱,同時取樣頻率2000Hz是高頻輔助訊號250Hz的偶數倍,而圖4(b)中所示之250Hz的波形是有上下對稱,同時配合圖4(c)及圖4(d)中所示之上為經驗模態分解後的第1個IMF,圖4(c)的中圖為第1個IMF減去高頻輔助訊號,下圖是第1個IMF減去高頻輔助訊號的頻譜圖,因此由圖4(c)之下圖所示可清楚得知,諧波訊號是出50Hz、150Hz、250Hz及350Hz等處,而對於圖4(d)中顯示出經驗模態分解對於250Hz弦波完全沒有產生額外的訊號,因此從圖4(a)-(d)中所顯示的結果可以發現在取樣頻率不是高頻輔助訊號頻率的偶數倍時,其所產生的訊號並不完全是上下對稱,且會使得高頻輔助訊號經過經驗模態分解的篩選過程後會產生額外的諧波成分。Continuing with the above, please refer to Figure 4(a)-(d), which shows the shape of the high-frequency auxiliary signal through empirical mode decomposition when there is no QRS wave, and compares the adjusted sampling frequency with empirical mode decomposition according to the present invention. The results of adding the QRS wave of the high-frequency auxiliary signal are shown in Figure 5(a)-(b). Therefore, taking the sampling frequency of 2000 Hz used in Figure 4(a)-(d) as an example, in Figure 4( a) and Figure 4(b) are the waveforms of high-frequency auxiliary signals of 350Hz and 250Hz respectively. It can be clearly seen that the sampling frequency 2000Hz presented is not an even multiple of the high-frequency auxiliary signal 350Hz, and in Figure The 350Hz waveform shown in Figure 4(a) is not symmetrical up and down, and the sampling frequency 2000Hz is an even multiple of the high-frequency auxiliary signal 250Hz, while the 250Hz waveform shown in Figure 4(b) is symmetrical up and down, and at the same time, with The upper image in Figure 4(c) and Figure 4(d) is the first IMF after empirical mode decomposition. The middle image in Figure 4(c) is the first IMF minus the high-frequency auxiliary signal. The lower image is is the spectrum diagram of the first IMF minus the high-frequency auxiliary signal. Therefore, as shown in the lower figure of Figure 4(c), it can be clearly seen that the harmonic signal occurs at 50Hz, 150Hz, 250Hz, and 350Hz. For the figure 4(d) shows that the empirical mode decomposition does not produce any additional signals for the 250Hz sine wave. Therefore, from the results shown in Figure 4(a)-(d), it can be found that the sampling frequency is not the frequency of the high-frequency auxiliary signal. At an even multiple, the signal generated is not completely symmetrical up and down, and will cause the high-frequency auxiliary signal to produce additional harmonic components after going through the filtering process of empirical mode decomposition.

反觀,在圖5(a)中的s(n)+a(n)QRS波s(n)加上150Hz的高頻輔助訊號a(n),同時圖5(a)的c1(n)是經驗模態分解後的第1個IMF,由此可以明顯得知,額外加入的150Hz的高頻輔助訊號是出現在第1個IMF,再由圖5(b)中c1(n)的頻譜中也顯示第1個IMF的主要能量集中於150Hz,而在圖5(a)中的c1(n)-a(n)是將第1個IMF移除150Hz高頻輔助訊的結果,且可明顯得知,只剩下QRS波中小振幅的高頻成分,同時在圖5(b)中之c1(n)-a(n)的頻譜中,則顯示出QRS波s(n)在第1個IMF中的頻譜主要分佈於150Hz至350Hz左右,再對應圖5(a)與圖5(b)中的c2(n)、c3(n)、c4(n)、以及r4(n)則是比較低頻的QRS波成分;是以,也就因為在對該QRS波分解前先對其進行取樣頻率調整與高頻輔助訊號的增加,如此可使該心跳訊號中不易被察覺之小振幅的高頻帶成分有效增加,使得在進行經驗模態分解,可以提升原始訊號中之高頻雜訊被分離的機率,藉此得以有效大幅提升對心電圖分析判別的準確度。On the other hand, in Figure 5(a), the s(n) + a(n) QRS wave s(n) plus the 150Hz high-frequency auxiliary signal a(n), and c1(n) in Figure 5(a) is the empirical From the first IMF after modal decomposition, it can be clearly seen that the additional 150Hz high-frequency auxiliary signal appears in the first IMF. From the spectrum of c1(n) in Figure 5(b), it is also It shows that the main energy of the first IMF is concentrated at 150Hz, and c1(n)-a(n) in Figure 5(a) is the result of removing the 150Hz high-frequency auxiliary information from the first IMF, and it can be clearly seen that It is known that only the small amplitude high-frequency component of the QRS wave is left. At the same time, in the spectrum of c1(n)-a(n) in Figure 5(b), it shows that the QRS wave s(n) is in the first IMF The spectrum in is mainly distributed around 150Hz to 350Hz, and corresponding to c2(n), c3(n), c4(n), and r4(n) in Figure 5(a) and Figure 5(b), it is relatively low frequency. The QRS wave component; therefore, because the sampling frequency is adjusted and the high-frequency auxiliary signal is added before decomposing the QRS wave, this can make the small-amplitude high-frequency band component in the heartbeat signal difficult to detect. The effective increase allows the empirical mode decomposition to increase the probability of separation of high-frequency noise in the original signal, thereby effectively and significantly improving the accuracy of electrocardiogram analysis and discrimination.

歸納前述,本發明一種分離心電圖高頻雜訊的方法,其通過接收、擷取、調整、增加、分離以及移除等步驟的進行,得以對接收之心跳訊號進行QRS波的擷取,並再對該QRS波進行額外增加高頻輔助訊號前,得以先另外對該QRS波進行取樣頻率調整,使調整後之該QRS波的取樣頻率是該高頻輔助訊號的偶數倍,以在分別通過取樣頻率的調整與高頻輔助訊號增加下以提升高頻成分,如此便可在該分解步驟下,用經驗模態分解採以重覆進行之篩選程序的模式,以分解為一經驗模態分解,並取得多個本質模態函數,再將代表高頻成份的第1個本質模態函數減去高頻輔助訊號,即可分離出QRS波的高頻雜訊。最後將高頻雜訊從QRS波中移除,藉以有效提升分析判別的準確度。To summarize the above, the present invention is a method for separating electrocardiogram high-frequency noise. Through the steps of receiving, capturing, adjusting, adding, separating and removing, the QRS wave of the received heartbeat signal can be captured, and then the QRS wave can be captured. Before adding an additional high-frequency auxiliary signal to the QRS wave, the sampling frequency of the QRS wave can be adjusted first, so that the adjusted sampling frequency of the QRS wave is an even multiple of the high-frequency auxiliary signal, so that the samples can be passed through respectively. The frequency is adjusted and the high-frequency auxiliary signal is increased to enhance the high-frequency component, so that in this decomposition step, the empirical mode decomposition can be used to decompose it into an empirical mode decomposition using the repeated screening process mode. And obtain multiple intrinsic mode functions, and then subtract the high-frequency auxiliary signal from the first intrinsic mode function representing the high-frequency component to separate the high-frequency noise of the QRS wave. Finally, the high-frequency noise is removed from the QRS wave, thereby effectively improving the accuracy of analysis and discrimination.

惟以上所述者,僅為說明本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明書內容所作之簡單的等效變化與修飾,皆應仍屬本發明專利涵蓋之範圍內。However, the above descriptions are only for illustrating the preferred embodiments of the present invention, and should not be used to limit the scope of the present invention, that is, simple equivalent changes and modifications may be made based on the patent scope of the present invention and the contents of the description of the invention. , should still fall within the scope covered by the patent of this invention.

(本發明)無(this invention) None

圖1是本發明之一較佳實施例之流程圖。 圖2是該較佳實施例之分解步驟之篩選程序的流程圖。 圖3是以經驗模態分解分離心跳訊號之高頻雜訊的方塊圖。 圖4(a)至(d)是沒有QRS波時,使用高頻輔助訊號之經驗模態分解結果示意圖。 圖5(a)至(b)是使用經驗模態分解經調整取樣頻率與增加高頻輔助訊號之QRS波的結果示意圖。 Figure 1 is a flow chart of a preferred embodiment of the present invention. Figure 2 is a flow chart of the screening process of the decomposition step of the preferred embodiment. Figure 3 is a block diagram of using empirical mode decomposition to separate the high-frequency noise of the heartbeat signal. Figure 4(a) to (d) are schematic diagrams of the empirical mode decomposition results using high-frequency auxiliary signals when there is no QRS wave. Figures 5(a) to (b) are schematic diagrams of the results of QRS waves using empirical mode decomposition with adjusted sampling frequency and addition of high-frequency auxiliary signals.

Claims (4)

一種分離心電圖高頻雜訊的方法,其包含有: 一接收步驟,其接收一心電圖機之心跳訊號; 一擷取步驟,對該心跳訊號中之QRS波進行擷取; 一增加步驟,即對擷取之該QRS波中加入一額外高頻輔助訊號,使該QRS波中的高頻訊號成分因而增加; 一分解步驟,其以經驗模態分解對前述加入高頻輔助訊號之該QRS波進行訊號分解,而該經驗模態分解以採重覆進行之一篩選程序的模式使該訊號分解為一經驗模態分解,並取得多個本質模態函數; 一分離步驟,分解後之第1個本質模態函數減去高頻輔助訊號,即可分離出QRS波的高頻雜訊;及 一移除步驟,將QRS波減去分離之高頻雜訊即可移除QRS波之高頻雜訊。 A method for separating electrocardiogram high-frequency noise, which includes: a receiving step, which receives a heartbeat signal from an electrocardiograph; An acquisition step is to acquire the QRS wave in the heartbeat signal; An additional step is to add an additional high-frequency auxiliary signal to the captured QRS wave, thereby increasing the high-frequency signal component in the QRS wave; A decomposition step, which uses empirical mode decomposition to decompose the QRS wave with the aforementioned high-frequency auxiliary signal, and the empirical mode decomposition adopts a repeated screening process to decompose the signal into an empirical mode. Decompose the state and obtain multiple essential mode functions; In a separation step, the high-frequency auxiliary signal is subtracted from the decomposed first essential mode function to separate the high-frequency noise of the QRS wave; and In a removal step, the high-frequency noise of the QRS wave can be removed by subtracting the separated high-frequency noise from the QRS wave. 根據請求項1所述之一種分離心電圖高頻雜訊的方法,該增加步驟前加設有一調整步驟,以在加入額外該高頻輔助訊號前先對該QRS波進行頻率調整,使調整後之該QRS波的取樣頻率是該高頻輔助訊號頻率的偶數倍。According to a method for separating electrocardiogram high-frequency noise described in claim 1, an adjustment step is added before the adding step to adjust the frequency of the QRS wave before adding the additional high-frequency auxiliary signal, so that the adjusted The sampling frequency of the QRS wave is an even multiple of the frequency of the high-frequency auxiliary signal. 根據請求項1所述之一種分離心電圖高頻雜訊的方法,其中,該高頻輔助訊號可以是單一頻率訊號,也可以是多個頻率訊號組合。A method for separating electrocardiogram high-frequency noise according to claim 1, wherein the high-frequency auxiliary signal can be a single frequency signal or a combination of multiple frequency signals. 根據請求項1或2所述之一種分離心電圖高頻雜訊的方法,其中,該篩選程序之流程包括有: 找出原始訊號中所有的局部極大值與局部極小值; 將所有該局部極大值與局部極小值分別以三次樣條(cubic spline)曲線連接成上包絡線及下包絡線; 計算該上包絡線與下包絡線的平均值,以取得一平均包絡線; 用原始訊號減去該平均包絡線,以得第1個分量參數; 檢查該第一分量參數是否符合本質模態函數的條件,不符合即將該分量當作原始訊號,且重覆多次篩選便可取得具有本質模態函數條件的多個分量參數; 用原始訊號減去該第1個本質模態函數,以得到第1個剩餘訊號,且重覆多次篩選後使該第1個剩餘訊號無法分解出其他的本質模態函數,而成為一極值數量小的單調參數;及 將原始訊號拆解成 I個本質模態函數和一個趨勢函數。 A method for separating electrocardiogram high-frequency noise according to claim 1 or 2, wherein the filtering process includes: finding all local maxima and local minima in the original signal; The upper envelope and the lower envelope are connected to the local minimum by cubic spline curves respectively; calculate the average of the upper envelope and the lower envelope to obtain an average envelope; subtract the original signal from the Average the envelope to obtain the first component parameter; check whether the first component parameter meets the conditions of the intrinsic mode function. If it does not meet the conditions, the component will be regarded as the original signal, and the essential mode can be obtained by repeating the screening multiple times. Multiple component parameters of the function condition; subtract the first essential mode function from the original signal to obtain the first residual signal, and repeat the screening multiple times so that the first residual signal cannot be decomposed into other essences The modal function becomes a monotonic parameter with a small number of extreme values; and the original signal is decomposed into an essential modal function and a trend function.
TW111115036A 2022-04-20 2022-04-20 Method for separating high-frequency noise from an electrocardiogram TWI798064B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111115036A TWI798064B (en) 2022-04-20 2022-04-20 Method for separating high-frequency noise from an electrocardiogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111115036A TWI798064B (en) 2022-04-20 2022-04-20 Method for separating high-frequency noise from an electrocardiogram

Publications (2)

Publication Number Publication Date
TWI798064B TWI798064B (en) 2023-04-01
TW202341932A true TW202341932A (en) 2023-11-01

Family

ID=86945164

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111115036A TWI798064B (en) 2022-04-20 2022-04-20 Method for separating high-frequency noise from an electrocardiogram

Country Status (1)

Country Link
TW (1) TWI798064B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010103542A2 (en) * 2009-03-09 2010-09-16 Council Of Scientific & Industrial Research Ecg device with impulse and channel switching adc noise filter and error corrector for derived leads
US10531801B2 (en) * 2013-09-09 2020-01-14 Koninklijke Philips N.V. Fetal heart rate extraction from maternal abdominal ECG recordings
CN113080990B (en) * 2021-03-25 2023-01-10 南京蝶谷健康科技有限公司 Heart beat anomaly detection method based on CycleGAN and BilSTM neural network method

Also Published As

Publication number Publication date
TWI798064B (en) 2023-04-01

Similar Documents

Publication Publication Date Title
Mak et al. An automated ECG-artifact removal method for trunk muscle surface EMG recordings
US7809433B2 (en) Method and system for limiting interference in electroencephalographic signals
US20090069703A1 (en) System for artifact detection and elimination in an electrocardiogram signal recorded from a patient monitor
US11083404B2 (en) Processing apparatus for processing a physiological signal
Turnip et al. An application of modified filter algorithm fetal electrocardiogram signals with various subjects
Saminu et al. Wavelet feature extraction for ECG beat classification
Viunytskyi et al. Signal processing techniques for fetal electrocardiogram extraction and analysis
TWI527560B (en) Method and apparatus for monitoring heartbeat signal based on empirical mode decomposition
Manikandan et al. Automatic SWT based QRS detection using weighted subbands and Shannon energy peak amplification for ECG signal analysis devices
Hugeng et al. Development of the ‘Healthcor’system as a cardiac disorders symptoms detector using an expert system based on arduino uno
Magrupov et al. ECG signal processing algorithms to determine heart rate
Cornelia et al. ECG signals processing using Wavelets
Hegde et al. A review on ECG signal processing and HRV analysis
TW202341932A (en) Method for separating high-frequency noise from an electrocardiogram
Jindal et al. MATLAB based GUI for ECG arrhythmia detection using Pan-Tompkin algorithm
Dliou et al. Noised abnormal ECG signal analysis by combining EMD and Choi-Williams techniques
Nguyen et al. An Efficient Electrocardiogram R-peak Detection Exploiting Ensemble Empirical Mode Decomposition and Hilbert Transform
Akula et al. Automation algorithm to detect and quantify electrocardiogram waves and intervals
Oktivasari et al. A simple real-time system for detection of normal and myocardial ischemia in the ST segment and t wave ECG signal
Aravind et al. ECG Classification and Arrhythmia Detection Using Wavelet Transform and Convolutional Neural Network
Sanamdikar et al. Analysis of several characteristics of ECG signal for cardiac arrhythmia detection
Rambhia et al. Analysis of Different Heart Rate Monitoring and Pre-Processing Techniques for ECG
CN114504326B (en) Binary amplitude coding method for electrocardiosignal
Pulavskyi et al. Evaluation of the effectiveness of post-filtration smoothing using lossless compression for heart rate variability obtained from a very noisy ECG
Yousaf et al. Wearable Peripheral Neuropathy Detection System based on Surface Electromyography