eHeart: ECG Signal Processing System for Automatic Detection of Cardiac Abnormalities
Computational and processing power of electronic systems is increasing exponentially, validating the prophetic Moore’s Law day by day, and thus becoming ubiquitous in daily life. This is enabling the migration of advanced signal processing capabilities—previously restricted to very high-end systems and selective communities—into affordable, accessible, and portable devices, starting from personal computers all the way to smart phones. Processing of biological signals, which used to depend upon dedicated and advanced equipment, now becomes possible to be harnessed by these smart devices.
Since the advancement of the string galvanometer in 1903 by Willem Einthoven, the Electrocardiogram (ECG or EKG) has become one of the most predominant medical tools to diagnose cardiac problems through the interpretation of electrical activity in the heart. The ECG waveform is characterized by specific deflections, conventionally identified as P, Q, R, S, T, and their attributes viz. duration, frequency, amplitude, etc., which correlate to specific electro-muscular activities of the heart. Deviations of these attributes from the ‘norm’ indicate potential cardiac abnormalities.
eHeart is a signal processing system developed to automatically analyze ECG waveforms for specific attributes, compare different parameters with the ‘normal’ values, and map deviations to potential abnormalities. ECG data files digitally store the signal values as a function of time vs. electrical value, sampled at a high frequency (256 to 512 samples/second). In general, these signals also contain ‘noise’ due to body activities as well as electronic equipment, which is initially removed/reduced by appropriate filtering methods. Then, the filtered waveform is analyzed to identify the extrema using peak detection algorithms and threshold comparison to identify the inflection points. Statistical methods are applied to compute specified ECG parameters. Finally, these parameters are compared with normal values and deviations are mapped to known cardiac abnormalities.
eHeart is developed using MATLAB, a mathematical software. Normal & known abnormal ECG data, from simulation and real-life medical databases, is used to test and validate this project.
Looking forward, such advanced capabilities will soon become ubiquitous on everyone’s portable accessories, revolutionizing medical care to the next level, including personal medical alerts, remote monitoring, and instant feedback.