A PI Control Algorithm-Based Design and Its PLD-Based Implementation for All Digital Phase-locked Loop System