Newbie Question - LLC with Ideal Transformer

I am trying to replicate an LTspice file from Basso into Qspice in the hopes that I can later on include a control to the LLC that is C based.
I apologize as I am not in the know about simulators and just started to be interested.
I am having some problems with the time step being too small.

But I guess it maybe because of the model of the transformer that I did.
4A_LLC_OpenLoop_Initial.qsch (18.5 KB)
XTrf_CTap_B.qsch (2.7 MB)
XTrf_CTap_B.qsym (1.1 KB)

I wish to recreate this LTspice from Christophe Basso.
LLC - open-loop - simplest.log (705 Bytes)

unfortunately, for the transformer model, the subcircuit in LTspice is not allowed here:

That is used to model an ideal transformer (that from Basso?), but QSpice with built-in ideal transformer (×-device), which not available in LTspice (legacy simulation technique normally use two coupled inductors setting their inductance very large).

I personally don’t like relying too much on tweaking .option parameters such as abstol, vntol, reltol, gmin, and method. In general, a simulation will converge and be effective if you set things up correctly for ideal-device simulations (unless your system is very complex). I am not opposed to using those; it is just that it is not necessary in this case.

If you just replace the transformer in your original schematic, a .tran 10m requires 52s to complete, and now is less than 1s in my computer.
I explain what I changed in your schematic with a red note.

4A_LLC_OpenLoop_Initial_KSK.qsch (19.8 KB)

Is it a link or something, forbidden to open.

the subcircuits sir. I have the files but I could not upload it.


XFMR_CTap.log (621 Bytes)

the subcircuits sir.

thank you very much, Sir!

1 Like