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.

CCS/TMDSCNCD28379D: HV-1PH-DCAC

Part Number: TMDSCNCD28379D

Tool/software: Code Composer Studio

Hello everyone,

I am currently working on HV1PHDCAC module. In the software, there is piece of code that I am not sure that I understood well. In updateInverterPWM function, piece of code is given below. Function goes into if loop only if duty cycle is expected to be zero. Is this for a smooth transition for zero crossing of the sine wave? If anyone helps I will be thankful. 

if(invDuty==(*ePWM[inv_pwm_no]).TBPRD)
{
invDuty=invDuty-1;
}


Regards

Alican