Driving a PMSM with space vector modulation

Thank you, i made the corrections you suggested.

But the output speed oscillates (both positive and negative). I suspect this is because the inverter is not being used correctly.

sinePWM.plecs (20.3 KB)