Аннотация:In this paper, a time domain algorithm architecture is presented and implemented on a smart-phone for ECG signal analysis. Using the QRS detection algorithm suggested by Pan-Tompkins and the beat classification method, the heart beats are detected and classified as normal beats and premature ventricular contractions (PVCs). Subsequently, a computationally efficient method is presented to separate ventricular tachycardia (VT) and ventricular fibrillation (VF). This method utilizes Lempel and Ziv complexity analysis combined with K-means algorithm for the coarse-graining process. In addition, a new classification rule is presented to recognize VT and VF in our study. The proposed system provides fairly good performance when applied to the MIT-BIH Database. This algorithm architecture can be efficiently used on the mobile platform.