Enhanced real-time realizable AF algorithm for accurate detection of, and discrimination between, NSR, AF, PVC, and PAC. The method of these teachings includes an AF detection method having a modified Poincare approach in order to differentiate various patterns of PAC and PVC from NSR and AF. The method of these teachings can also apply to the Kullback-Leibler divergence or the Turning Point Ratio (TPR) to differentiate between various patterns of PAC and PVC from NSR and AF.