Controlling an AC motor speed with a arduino board

i want to maintain the constant speed and torque of the 3 phase induction motor.For that the voltage and the frequency of the supply must be varied linearly(v/f ratio=constant) through the inverter.pls send me arduino code to generate the pwm pulses for the inverter with proteus simulation