Three Phase Inverter Using Arduino and Simulink

Hi guys,

For my capstone project in electrical engineering we were wanting to build a VFD for a three phase induction motor using Sine PWM. I was wanting to design the gate drive for the circuit in simulink and then download it to my Arduino with the support package. It seems I can generate the carrier and control signals in simulink and alter them very easily so I cannot see any issues but I am just wondering if anyone has any experience with this? I attached the circuit I have in simulink.

You can test your circuit with a low supply voltage (5-12V) and arbitrary frequency and load (LED).

The sine waves must have proper (120°) phase shifts for proper operation, dunno how and what Simulink code produces.

The comparators are configured all the same, I hope?