What you are asking for is a inverter. Generating asinousodial (AC) signla with variable frequency out of a DC voltage. Thats the typical application to drive an AC motro (just in multipla pases. So you need an H-Bridge and a controller harrdware, able to control the H-Bridge in the right frequency and varaible DC levls to build a sinousodial output.
/PeLuLe