Re: single phase motor
Hi
In the first place you need an inverter - an H bridge with MOSFETs or IGBTs that convert the signals from command to the PWM signals to control the motor.
If you want to know which way the drive is rotating, you need an encoder attatched to the shaft of the drive, and check a,b, and z index signals.
As for the speed control, it is easier to create PWM either from a microcontroller as a Microchip dsPIC (with a dsPIC 30F4011 or 3a 0F6011) or programmable logic.
The "command" shoud be able to decode the signals a,b,z index from the decoder and use them as a close loop to monitor the speed of the motor, using a PI or a PID.
Hope this helps.
Sérgio