The control algorithm was implemented in a Xilinx Spartan 3E FPGA XC3S250E chip. The average connection delay for
the design is 12.006 ns, of which, 66.4% was logic delay and 33.6% was due to route and placing.The maximum
frequency of this design is 83.291 MHz. The controller,comparator,PWM generator and the encoder interfacing modules
have been implemented in the FPGA. The entire system has been implemented using the Xilinx ISE 8.1 i as a tool and
simulated using ModelSim Simulator 5.4a.