Hi, I'm new on dsp C2000 f28335 and I'm working on a project to implement a simple algorithm three phase sine wave pulse width modulation (SPWM) in order to control a three phase inverter plugged into an asynchronous machine. the purpose of this experiment is to vary the speed of the machine using the input frequency.
so I developed the whole system in Matlab/Simulink and then I generate the c code from the model to the DSP target.
but the machine won't work, the output voltage seems to be fine, but the current is too high, I thought first that it's a normal spike due to the high input speed reference, so I increase the speed gradually but the same thing happened again the current goes too high and the machine gives an alert beep.