This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: Three level active neutral point converter (ANPC) control implementation (3-phase)

Part Number: TMS320F28379D

Dear Experts,

Good day!

I am working with a three level active neutral point converter (ANPC) at the University of Central Florida. In each phase I have set 50kHz switching frequency in PWM for the inner 4 switches. Whereas I have set 1kHz switching frequency in PWM for the outer 2 switches. I need to generate 50kHz carrier signal using time period based PWM (calling a PWM interrupt) to implement space-vector control for the inner switches before sending the signal to the reference based PWM. I have to generate 60Hz signal using another PWM interrupt for the angle generation too. I am using  CAN interrupt for communication and ADC interrupt for the measurement. But the CAN communication stops working after downloading the code into the DSP. Is there any problem with the interrupt routine task management? Is there any issue with the reference based PWM setup for the inner and outer switches? I highly appreciate your comments. I have attached the code here for your kind perusal. Thank you!

Best regards,

Mohammad Safayet Hossain

Software MATLAB version 2020b, CCS 9.1.0

2311.Code_Inverter_1.zip