Brian 2017
Brian 2017
ICICCS 2017
Bandpass filtering of the noisy ECG signal is the first step Fig3: Flow chart of modified PAT algorithm.
of ECG preprocessing. Firstly, a low pass filter is designed to
supress high frequency noise spikes such as because R peak has the highest amplitude among other
electromyographic(EMG) noise and power line interfrence. A waves. The 80 percent of the amplitude of the R peak value is
low pass FIR filter of order 6 is designed having a cut off taken as threshold. Next every incoming sample is compared
with this threshold. All the samples values greater than
frequency of 11 Hz. High pass filter is designed to suppres
threshold are given to output and the maximum among them is
low frequency noises i.e noises associated with the T and P chosen as R peak and so the threshold also updates. If none of
waves and baseline drift. A high pass FIR filter was designed the samples are greater than threshold then the level of the
with a cut off frequency of 5 Hz and the order of the filter is threshold is redefined. This process repeats itself for every
16. The role of differentiator is to further suppress the noise previously calculated RR interval [1].
and also gives information about slope of QRS complex,
thereby highlighting the R peak. Squaring is a non linear B. Feature Extraction
filtering stage to emphasize the R peak from T and P waves. While designing a detection system two main factors that
Moving window integral as the name suggests a window of must be considered are the complexity and accuracy of the
size 32 samples is moved one sample at a time and average is feature extraction stage to provide best outcome. The
taken. It gives information about the width of QRS complex. complexity of the system should be as simple as possible. More
The window size 32 is taken experimentally by trial and error complex system will increase the overall cost of the system.
method[1]. The extracted features must be apt and must help in producing
best results. Previous works were based on only a single
feature, which gave less accuracy for detection. While in this
The second task of the preprocessing stage is QRS
paper 6 unique feature extraction was done to increase the
detection. This detection is performed based on modified PAT robustness of the system. The extracted features are such that it
algorithm. The original PAT algorithm[9] was taken as maintains low complexity and high accuracy [1].
reference for modified PAT algorithm. The QRS detection is
important as it serves as the reference to T and P wave The result of such analysis lead to the extraction of a unique
detection[1]. So it must to done with great precision. The flow set of features. A set of six features were extracted, which
indicated great significance in the detection of arrhythmia. The
chart of the algorithm is shown in figure 3.
features are RR, TP, PR, T width, P width and QRS width.
These features were processed using two consecutive heart
The third task of the preprocessing stage is T and P wave beats, whereas previous algorithms used only single heartbeat
delineation. From the QRS offset to 2/3 of the RR interval a [1]. Figure 4 shows these intervals on ECG record.
window is considered and the value maximum within that
window is considered as T peak. From the QRS onset to 1/3 of C. Classification
the RR interval a window is considered and the value The feature set is given as input to the classifier stage.
maximum within the window is taken as P peak[1,10]. A single bit classifier was designed to detect arrhythmia.
When the extracted features and the heart rate crosses, the
The algorithm first reads 3000 values from the SRAM. standard values the signal becomes high. Heart rate is
SRAM stores the time averaged ECG samples. The maximum calculated based on equation 1.
value among these samples is found out and it is set as R peak,