Part Number: TIDA-00961
Having some questions about the way toff_calc and ton_adj_dbg are formulated in.
In controlISR, why did you design the part in toff_calc to be toff_calc*acSine_diff*toff_adj_percentage, which I guess is the additional toff to achieve ZVS, rather than just calculating the time you need theoretically from values of Vin, Vout, inductance and capacitance, and letting the zvs code in pwmISR to compensate the deviation of the calculated value? What is the purpose or advantage of the method in sample code?
As for ton_adj_dbg, I couldn't figure out a convincing reason of adding this time to ton_calc. Would you explain why?
Thank you for help.
Best,
Amy