Error in resonant converter simulation
I have two comments regarding your approach:

this is a voltage-mode converter and its phase response lags to 180°. A type 2 compensator won't suffice as it can only provide a 90° phase boost. You need to go for a type 3 version which can boost up to a theoretical 180°.

when you simulate a switching cell, whether this is a boost, buck or buck-boost, you need to include a cycle-by-cycle current limit otherwise, the inductor current will overshoot big time at start-up and it is likely to lengthen simulation time until the inductor current lands. You need to slightly complicates the application circuit and include a current limit.


I use SIMPLIS rather than PSIM on switching converters. The first one is purposely designed for simulating switching power supplies and extract the small-signal ac response without resorting to an averaged model. PSIM also provides this option but in a less flexible way in my opinion as the modulating source amplitude matters where it doesn't with SIMPLIS. For your information, I have released a set of 60+ ready-to-simulate SIMPLIS switching templates for the support of my next book on small-signal modeling of switching converters (tentative TOC is here). I have used the auto-compensated buck VM circuit to which I added your resonant components. I biffed up a little the output capacitor to 470 µF as you can see below:

If you run the ac analysis, you obtain the steady-state operating waveforms confirming a 5-V output. Once compensated, crossover is 10 kHz with a phase margin of 86°.

A transient step can now be run to check the response from 5 A to 10 A in 1 µs:

For your information, the macro computed the following compensation values:

Rupper = 3000
Rlower = 1000
R2 = 1229.55743937226
R3 = 157.894736842105
C3 = 1.00798130624867e-08
C2 = 6.19714952219388e-09
C1 = 2.58881672373355e-08
Boost = 100
Fz1 = 5000
Fz2 = 5000
Fp1 = 25887.1571878507
Fp2 = 100000