How to generate unipolar PWM for boost converter using C-script?

Hello,

Can someone share the sample code of generating a simple unipolar PWM for conventional boost converter?

Also, what could be done to make it a PWM for multiphase boost converter where each PWM is phase shifted.

Thank you.

Hello,

Have you looked at the demo model included in PLECS called “Inverter with C-Script-Based PWM Modulator”? You can view and modify the C-Script based modulator for your purpose.

Regards,

Kris