I’m trying to simulate the simplified circuit of Capacitive half-bridge with synchronous rectifier, but I always get the error Cyclic behavior during switching. I have tried all the possibilities that Plecs offers online in case of this error, but nothing.
I would be very happy if someone can look at my diagram and tell me what’s wrong
I joined two schema, the first (Capacitive half-bridge with synchronous rectifier), which I built in Plecs and the second (Behavior Switch) is the one that indicates how to control the switches and the curve of the current that we should get.
This is a fundamental problem related to the ideal switches and the ideal transformer used in PLECS: Initially T1 and T3 are conducting. When T1 is turned off, PLECS cannot decide whether to turn on the body diode of T2 on the primary side or the body diode of T4 on the secondary side in order to maintain a continuous current through the inductor. Hence the switch bouncing.
To resolve the problem, you need to add transformer leakage so as to decouple the diodes on the primary and secondary side. If you place small inductors (say 1.853e-8 Henries) in series with the two secondary windings (and switch to the stiff RADAU solver), PLECS will properly turn on the body diode of T4 following the turn-off of T1, and the simulation continues…
… but only up to the point where the power flow reverses due to the overshoot of the output capacitor voltage. At this point, when you turn off the gate of T3 while the current flows from drain to source, you are forcibly interrupting the current through the leakage inductor. Hence, PLECS will flag a “State discontinuity” error.
There are several ways to cope with this problem:
Pre-charge the capacitor so as to avoid the voltage overshoot (and hence the power reversal).Implement a control scheme that will avoid the voltage overshoot or prevent T3 and T4 from being turned on when VDS is positive.The brute-force method: Place suitably large resistors in parallel with T3 and T4 to provide an alternative path for the current through the leakage inductors.Attached is a model, in which I have implemented the third method. You can play around with it and verify that the resistors are not necessary if you pre-charge the output capacitor to e.g. 10 Volts.
If an answer solves your problem, please consider marking it as the “best answer” by clicking the large check mark on the left margin. This will make it easier for other users that run into similar problems to identify a possible solution.
You can also vote on any answer (not just answers to your own questions) by clicking on the up/down arrows in the vote boxes in order to indicate how helpful/appropriate you find it.