Professional Documents
Culture Documents
ECG Based in Fast Fourier Transform PDF
ECG Based in Fast Fourier Transform PDF
Fourier Series
Abstract- The main objective of this work is creation of a not observable, to a value of 0.3 mY. The duration is about
synthetic ECG signal in software MA TLAB based on the analysis 100 ms.
of Fourier series. The individual elements of ECG signal are
approximated by mathematical model, which is thoroughly de R
scribed, explained and then applied. The output is a synthetic
model of an ECG. Our approach to modeling biological signals
allows change input parameters (amplitude and period of
significant elements ECG). Synthetic models of biological signals
P-R SOT
can be used for demonstration purposes, but mainly serves as a segment segment
indispensable role. ECG is one of the indicators of the total, as Fig. I. ECG signal
The Fourier series is used for the decomposition of Fig. 3. Fourier expansion of P wave
_1
f(t)= 2 Ir=l ( �k+1 sin(kt) (8)
§ 0
/#/-0
·'o!;------!c---;',;---;';c,,--,�--�--�
Fig. 4. Fourier series of ascending part QRS complex
Fig. 2. Decomposition of the ECG signal
Descending part of these waves, by contrast, decreasing
character. For the creation of the model is therefore selecting
IV. THE DESIGN OF A MATHEMATICAL MODEL ECG
the most appropriate elementary functions f(t)= -t
Decomposition using Fourier series may be follows:
Models of P and T waves
1 fc+Zrr-t dt= -1 [-_t2]c+zrr
-tz.
P and T waves can be approximated by a parabolic
function. We used a mathematical formulation f(t)= rrc
ao = - rr Z c = 0 (9)
The final form will be affected by the adjustable parameters
such as shift or width. Mathematical formulation has the 1 fc+zrr-t cos(kt) dt= 0
ak= -rrc (10)
following form:
+zrr k+ l
(1) rrc - tsin(kt)dx= - (( _ 1) �k)
bk= � { (11)
1 fc+zrrtsm(tx)dx
.
bk=-
rrc =0 (3)
(_l)k COs(kt)
f(t)= 4 Ir=l--;;z (4)
Fig. 5. The descending part of the QRS complex Function in synthetic Physiological
Variable
ECG signal interal
V. CREATION OF SYNTHETIC ECG SIGNAL
a Amplitude ofP wave 0-0.3 mV
Syntbetic ECG signal was developed using MATLAB
b Length ofP wave 0-160 ms
software. Advantage of tbe proposed metbod is relatively bigb
accuracy of approximations, but higher computational time. Amplitude of theQRS
c O-O.S mV
With the help of the mathematical model proposed in the complex
previous cbapter bas now made it possible to create a basic Lengtb ofQRS
synthetic ECG waveform in MATLAB. The form of the d SO-120 ms
complex
equations wbicb are given in Table 1, were selected according e Amplitude of T wave O-O.S mV
to tbe tbeoretical derivation and tben slope coefficients
f Length of T wave 0-300 ms
according to the desired appearance of the resulting ECG. The
lengths of the sections correspond to physiological parameters
and ECG algoritbm are tben determined intervals between
major sections named timeline TI - TIO, which determine the Approximation of significant parts ECG
beginnings and ends of eacb part of tbe syntbetic ECG. [17], fO=O;
[IS] fl=a-«allOO)/1S)*«SO/b)*(t-(200+(b/2))))1\2;%P wave
£2=0; %PQ interval
f3=«(140-d)/100)*g+ I)*c*« -1.1*0.3*(t-440))/20) %Q wave
f4=«(140-d)/100)*g+1)*c*«I.1*0.6*(t-(440+(I.S*d/7))))/20);
%R wave
fS=«(140-d)/100)*g+I)*c*«-I.I*0.S*(t-(440+(S*d/7))))/20);
I ... .. . ." : . ..
__ . � , · , • • . !. . _ . . - �- . . . . .
%passage of R, S
f6=«(140-d)/100)*g+I)*c*«(1.1*0.S*(t-(d+440)))/20); %wave
S
f7=0; %ST interval
01----
f8=e-((e/1OO)/1S)*((SO/f)*(t-(6S0+(f/2)))Y'2;%wave T
f11=0;
TO=O;
TOI=200; %beginning ofP wave
-0 50 lOO _ 3id -I0Il !ilX) 600 1I;Il EO! !Oil 1«0
""'"I
Tl=200+b; %end ofP wave
Fig. 6. Synthetic ECG signal T2=440; %beginning ofQRS complex
T3=440+(d/7);
T4=440+3*(d/7);
Part of proposed algoritbm TS=440+6*(d/7);
period=1OOO;%period of function T6=440+d; %end ofQRS complex
omi=2.*pi/period;%angular frequency T7=6S0; %beginning of T wave
aO=2/period*int(fO,t,TO,TO1)+2/period*int(fl,t,TOI,TI)+ ...+21 TS=6S0+f; %end of T wave
period.*int(f11,t,TS,T9);%coefficient aO T9=1000;
an=2/period*int(fO*cos(oml.*n.*t),t,TO,TOl)+...+2/period. *in
t(f11 *cos(omi.*n.*t),t,TS,T9);%coefficient an
bn=2/period*int(fO*sin(om1*n*t),t,TO,TO1)+...+2/period.*int(
VI. SIMULATION OF PATHOLOGICAL ECG
f11 *sin(oml.*n.*t),t,TS,T9);%coefficient bn
four=aO/2+symsum(an.*cos(omi. *n. *t)+bn.*sin(omi. *n. *t),n,
1,20); Supraventricular Tachycardia
t=0:10:IOOO;%interval of ECG This type of accelerated heartbeat (tachycardia) is
four=subs(four);%transformation to a numeric variable cbaracterized by a patbological rbytbm indicating tbe center is
located above the ventricles. ECG of this pathology is
characterized by increased frequency above 90 beats per
minute. Tbe sbapes of tbe individual waves andQRS complex
.s
••
ACKNOWLEDGMENT
1884 2014 International Conference on Advances in Computing, Communications and Informatics (ICACCI)
[4] A. Merunkova, M.Ore!." Anatomie a/yziolof!,ie CloVlika: pro humanitni
obory" Vyd. l. Praha: Grada, 2008, 302 s. Psyche (Grada). ISBN 978-
802-4715-216.
[5] M. Stejfa, M.. Orel ,,Kardiolof!,ie: pro humanitni obory". l. vyd. Praha:
Grada publishing, 1998, 492 s. Biomedicinska infonnatika, 4. ISBN 80-
716-9448-7.
[6] E. Bruce M. Ore!."Biomedical sif!,nal processinf!, and siRnal modelinf!,"
\. vyd. New York: John Wiley, 2001, 520 s. Biomedicinska infonnatika,
ISBN 04-713-4540-7.
[7] E. Bruce M. Ore!. ,,Nonlinear biomedical sif!,nal processinf!," \. vyd.
New York: IEEE Press, 200I, 341 s. Biomedicinska infonnatika, 4.
ISBN 07-803-6012-5.
[8] Fourierovy fady. USTAV MATEMATIKY FSI VUT V
BRNE. MATEMATIKA online [online]. 2007 [cit. 2013-10-10].
Dostupne z: http://mathonline.fine.vutbr.cz/
2014 International Conference on Advances in Computing, Communications and Informatics (ICACCI) 1885