FPGA Implementation of a Recursive Algorithm for Time Optimal Control of AC Drives