I am trying to simulate a 3phase inverter circuit, but it is failing with a timestep too small error.
Not sure where I am going wrong, but I am able to simulate in LTSpice.
I am trying to simulate a 3phase inverter circuit, but it is failing with a timestep too small error.
Not sure where I am going wrong, but I am able to simulate in LTSpice.
Whats the point of that “gate driver” behavioral source?
Please upload your electronic circuit in Qspice format
I don’t remember why I originally did it that way. When I looked at the LTSpice version I had removed that behavioral source and drove the switch directly from the one in the control signals section.
I am not able to upload the qspice file as a new user.
I do have the file on github here
I am not able to upload Qspice files as a new user. I tried to attach a link to the files on github but it has been flagged as spam.
Try to obscure the link a bit and post it here
Like www.git***hub.com/lalalala
try the .options directive
You may try this:
.options method=gear cshunt=1f gmin=1e-7
tried with the options directive
method=gear didn’t help, but with cshunt and gmin the simulation runs until 2ms before failing with timestep too small. That is a big improvement.
“ps://gthb.cm/laporteb/electronics-sims/tree/main/Qspice/three%20phase%20inverter”
I will help to review it later.
Anyway,
Your can post a complete link, just not sure if new forum user allow to do it. Repost github link of your schematic file.
https://github.com/laporteb/electronics-sims/blob/main/Qspice/three%20phase%20inverter/three%20phase%20inverter.qsch
I run this circuit with Qspice80.exe instead of Qspice64.exe and can pass, let us know if Qspice can simulate your circuit correctly if this resolve your problem.
By the way, beware this GND is not connected. Zoom-in and you can see it disconnect.
I saw that Qspice80, but not sure what is it supposed to do. Can you please explain to me?
Thanks
Go through two reply from Mike in this post. Qspice80 uses 80bit math.
Running qspice from command line? - QSPICE - Qorvo Tech Forum
@physicboy
I switched the diode with behavioral ideal model ron=.01, simulation completes now very fast. I haven’t removed the antiparallel diode or changed the low side gate driver. I would like to fix the control signals so there is a deadtime and no shoot through.
@KSKelvin
I fixed the ground that was disconnected. Without changing the diodes to ideal, the simulation fails when “Fast (less accurate) Math” is selected, it completes when deselected.