abel51
Junior Member level 2
Hi
I am trying to program closed loop SPWM controller for an inverter using dsPIC33.
I get the feedback ac current and want to compare it with a sinusoidal reference current. So can anyone tell me how to generate 60Hz sinusoidal reference current in my dsPIC33. I only have the peak value of the sinusiod. Any suggestions or sample code will be greatly appreciated.
Regards,
I am trying to program closed loop SPWM controller for an inverter using dsPIC33.
I get the feedback ac current and want to compare it with a sinusoidal reference current. So can anyone tell me how to generate 60Hz sinusoidal reference current in my dsPIC33. I only have the peak value of the sinusiod. Any suggestions or sample code will be greatly appreciated.
Regards,