Hi,
I am not an expert on C (uNsUrE of my expertise of PBP aswell

) so may be cannot help much with the code (which has not been posted

) but here are some tips.
According to your schematic:
1. Feedback is from one cycle only (not recommended)
2. Driving through inverters means both MOSFETs doing PWM (wasting energy)
3. Use Flux reset when changing phase
4. Be sure that the computed PWM is not eating up cycles and resulting in uneven spread of the modulating PWM
Please report what happens when no feedback is used. Use a lower duty cycle lookup table to ensure that your MOSFETs are not fried due to full drive. Or use a lower input supply to the Bridge.
Bookmarks