Thaks for replying my post. I am using WSH130NL a unipolar based Hall effect sensor to read the instantaneous speed of the AC motor. I know some ideas to implement the PID concept in LPC2129 Microcontroller. But the TRIAC Firing concept is littlebit difficult to me in LPC2129 Microcontroller.