3 phase inverter implimentation

how can i generate 3 phase inverter pulse by sin triangular technique using arduino controlller for motor speed control?

With a lookup table?

yes... luck up table and i want to do v/f control of pms motor as well as vector control