Need to develop PLEXIM totem pole model for TI28379D

Hi,

We are developing a 1 kW totem-pole PFC converter and would like to run the model on a TI TMS320F28379D microcontroller.

PLECS provides an example onboard-charger model for the TMS320F28379D. I have tried using the code but encountered several difficulties.

First, I need to perform DC offset calibration at the start of the code.

Second, I need to implement a soft start. At startup, I cannot apply a high-duty-cycle pulse. However, when I try to add multitasking and the required code, the program overflows.

Third, Not able to run the coder target to run the scope more that 100V in operation. and also the code is working on 50 kHz, can I make it 100kHz.
I need the code to run reliably.

I am using PWM1A and PWM1B for the totem-pole PFC. I am concerned about the risk of one switch turning on unexpectedly. Could this cause a problem when I enable the PFC PWM?

The model below operates in closed-loop current control in boost mode, but it requires further modifications. Is anyone available to help?

I am also willing to pay for assistance if we can successfully get the system transferring power.

Email: nayeemarafatphd@gmail.com

TI28379D_ADC_PMW_PI_PFC.plecs (122.2 KB)