I try to simulate a circuit, but I always get an error message:
Analysys: time step too small; initial timepoint: trouble with u3:mm-instance m:u3:1
u3 is a Mosfet IRF4905.
Has anyone an idea how I can solve the problem?
Best regards. Sven
-- Message posted using
formatting link
More information at
formatting link
Didn't find your answer? Ask the community — no account required.
J
Jeroen Belleman
Show us your circuit! Post the .asc file, if it's not too big. This kind of error usually indicates there's something dodgy in your circuit; something that's likely not to work in a real circuit either.
I am using some components which I had to add to the library. I hope that is no problem. Otherwise I have to include the models to the *.asc file.
Best regards Sven
-- Message posted using
formatting link
More information at
formatting link
M
Martin Brown
Look for a reason why the circuit might want to oscillate at some insanely high frequency. This sort of thing tends to happen when you have inadvertantly created an unstable numerical problem for the solver. It tries its best and repeatedly decreases the time step to try and get an accurate solution until it gives up.
Regards, Martin Brown
** Posted from
formatting link
**
E
Elk
Hello,
thank you very much. I will try to change the circuit a little bit.
Sven
-- Message posted using
formatting link
More information at
formatting link
J
Jeroen Belleman
Oh dear! A switching power supply. Debugging those is *work*, of which I have quite enough, thank you.
I've spent a few minutes trying to simulate the thing, after having whimsically substituted LT1018s for the comparators, NPN, PNP and PMOS generics for the transistors I don't have the models for (i.e., all of them), and fixing the values of some caps and the coils, which seemed garbled.
I don't see what the circuitry involving Q4 and Q5 with the amplifiers driving them is for either.
The simulation runs without the error you described, but the circuit doesn't work. I'd say, try to increase the PMOS gate series resistor to 50 Ohms and/or insert resistors in the collector leads of the driver transistors. A few tens of ohms might do it.
I'm sorry but I can't afford to put in the time required to go any further.
Jeroen Belleman
L
legg
Start off with working subsections, made up of known-good model parts.
Incrementally introduce the unproven part models. The circuit can function with part models presently in the release, though you should not expect stability, as drawn.
The circuit controlling current in R17 cannot work, as drawn.
The release of LTSpice that I ran your circuit in did not display your cap and inductor 'u' symbols correctly. It also had trouble with some unidentified symbols. retro'd asc file follows.