Adaptive Zero Phase Error Tracking Algorithm for Digital Control