PID enabled AC phase controller