Professional Documents
Culture Documents
410
402
3.2. Double mean average of ECG signal
All experimental ECG data recorded from wireless
Baseline wander noise is a low-frequency wearable body sensor node (also called Ubiquitous
disturbance, which is not synchronized with QRS wireless sensor node), which contain conductive
complexes, then it is obvious that, the best estimation electrodes in the belt [10]. This is worn on chest of
of baseline wander is a sample mean of ECG signal [6]. patient and properly attached to the body for correct
The mean composite Cmean is determined by signal extraction. ECG test is taken as normal ECG
computing the arithmetic mean of a set of noisy beat. signal and stress ECG signal. Stress ECG signal is
The mean composite is given by: measured on tread mill as per increasing and
1 N decreasing speed of tread mill. After the recording of
Cmean (n) =
N
∑ y ( n)n
(2)
stress ECG signal the signal is transmitted to the base
n =1 station by radio frequency signal. On the base station
0 ≤ n ≤ L −1 signal is collected and processed by MATLAB. Figure
(4), shows the normal and stress ECG recorded signal.
Z n = ( yn − Cmean ), (3)
4.1. Stress ECG signal
Where yn, are the 6-point ECG signal of length L and
Zn output signal after filtering and resultant signal of Stress ECG is recorded from stress test that is a test
signal averaging and filtering. used to record arrhythmias that are brought on or are
In figure (3), it is shown in algorithmic steps that worsened by stress or with exercise. This test also may
first detect the QRS complex correctly then take 6- be helpful in determining if there is underlying heart
point averaging of ECG signal before and after the disease or coronary artery disease associated with an
fiducial (QRS) points for removing EMG noise, on arrhythmia. This test monitors heart rate, breathing,
other hand take the double mean averaging of the blood pressure, electrical activity (on an
signal for removing baseline noise from the signal and electrocardiogram) and the person’s level of tiredness.
then at the final step reconstruct the QRS complex of It shows if the heart’s blood supply is sufficient and if
ECG signal. the heart rhythm is normal. (Also known as Treadmill
Test, Exercise Test, Exercise Cardiac Stress Test or
ECST). Stress test is also having importance for
extracting ST-segment from the ECG signal.
Figure 3. Flow charts for signal averaging and Figure 4 (a). Resting ECG signal (Normal ECG)
filtering algorithm.
4. Experimental Results
411
403
4.2 Filtered ECG signal 5. Performance evolution and comparison
with adaptive filtering
After taking the experimental data, all data were
processed off-line using Matlab2007a software with The performance of proposed algorithm for signal
averaging and filtering gives good results. We have
412
404
also presented comparison with adaptive filtered 5.2. Signal-to-noise ratio (SNR) calculation
ECG signal and signal averaging and filtering ECG
signal. Signal averaging has been used to enhance the signal
to noise ratio (SNR) of digitally recorded periodic
5.1. Adaptive filtering ECG signals [7]. We have used the SNR parameter to
quantify and compare the performance of algorithms,
An adaptive filter is usually a FIR filter whose and also determine the noise level in an ECG beats.
coefficients or weights change in the response to the The SNR defined as:
changing input signal’s characteristics. The filter has
an adaptation algorithm that monitors the environment S Po
with additional sensors and hardware and varies the = 10 × log10 , (4)
N ( Po − Pf )
filter transfer function accordingly [9]. An adaptive
filtering is effective in cases where the signal and
corrupting noise are stationary or their characteristics Where Po is an original recorded ECG signal and Pf is
alter so slowly, that the system is able to adapt to these the filtered ECG signal of length L. The SNR of
variations. This is not the case, however, with noisy filtered signal is -32.9071db from signal averaging and
ECG signals where the noise characteristics, mainly filtering method for the stress data and for normal ECG
motion artifacts, can vary considerably and adaptive signal SNR is -21.5342db, greater than stress ECG
filter probably fails to be optimal filtering method signal. Figure (7) shows the noise separated from the
without having strong correlation between noise ECG signal after filtering.
present in ECG signal and reference signal used for In figure (8), the FFT (Fast Fourier transform) of
adaptation [5] & [1], therefore the main problem in recorded stress ECG and filtered ECG has been shown,
using adaptive algorithm is finding a suitable reference wherein8(a), all low frequency noise 0-10Hz present
signal. In figure (6), the adaptive ECG signal looks and the high frequency noise also at 60Hz to 100Hz
clearer then the signal average and filtering signal in present.
figure 5(c), but in ECG signal the ST-segment is
distorted.
413
405
averaging theory is that noise should be random
The Signal-to-noise ratio can be improved at some Gaussian noise, also if uncorrelated to signal otherwise
level by using the smoothing function present in misleading result can occur.
MATLAB. The SNR from smoothing ECG signal is
increased from -32.9071 to -32.3061db.
(a)
Figure 9 (a). Filtered ECG by signal averaging
and filtering method, (b). Smooth ECG with
improved signal-to-noise ratio.
(b) 8. References
Figure 8. (a) FFT of raw ECG signal, (b) FFT of
[1] Mary Anne D.Raya, student member of IEEE and Luis G.
filtered ECG.
Sison phd, member of IEEE “Adaptive noise cancellation of
motion artifact in stress ECG signals using accelerometer”
7. Conclusions preceding of second joint EMBS/BMES conference, 2002.
By experiment, we have described in this paper the R- [2] Shahriar Lravanian and Leslie Tung, member of IEEE ”A
wave detection, signal averaging and filtering for novel algorithm for cardiac biosignal filtering based on
removing baseline noise and EMG random noise from filtered residue method” IEEE trans. On biomedical
engineering, Vol. 49,NO.11, November 2002.
ECG signal and also analyzed the stress and normal
ECG signal. An important assumption made in signal
414
406
[3] Valtino X. Afonso, Willis J. Tompkins, Truong
Q.Nquyen from deppt. Of electrical and computer
engineering Univ. of Wisconsin and Kurt Michler, Shen Luo
from Burdick inc. “Comparing Stress ECG Enhancement
Algorithms with an introduction of filter bank based
approach” IEEE engineering in medician and biology in june
1996.
415
407