I am trying to simulate the circuit from this app note:
My goal is to run a transient analysis, which does not work. So I have gone back one step and am just trying to calculate the DC operation point.
Unfortunately, it cannot find a solution. I already tried to add the .rshunt
option. It also shows up in the spice netlist.
The output from ngspice is:
Note: Compatibility modes selected: ps lt a
Circuit: KiCad schematic
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Note: Starting dynamic gmin stepping
Trying gmin = 1.0000E-03 Warning: Further gmin increment
Trying gmin = 5.6234E-03 Warning: Further gmin increment
Trying gmin = 8.6596E-03 Warning: Further gmin increment
Trying gmin = 9.6466E-03 Warning: Further gmin increment
Trying gmin = 9.9105E-03 Warning: Further gmin increment
Trying gmin = 9.9775E-03 Warning: Further gmin increment
Trying gmin = 9.9944E-03 Warning: Further gmin increment
Trying gmin = 9.9986E-03 Warning: Further gmin increment
Trying gmin = 9.9996E-03 Warning: Last gmin step failed
Warning: Dynamic gmin stepping failed
Note: Starting true gmin stepping
Trying gmin = 1.0000E-03 Warning: Further gmin increment
Trying gmin = 5.6234E-03 Warning: Further gmin increment
Trying gmin = 8.6596E-03 Warning: Further gmin increment
Trying gmin = 9.6466E-03 Warning: Further gmin increment
Trying gmin = 9.9105E-03 Warning: Further gmin increment
Trying gmin = 9.9775E-03 Warning: Further gmin increment
Trying gmin = 9.9944E-03 Warning: Further gmin increment
Trying gmin = 9.9986E-03 Warning: Further gmin increment
Trying gmin = 9.9996E-03 Warning: Last gmin step failed
Warning: True gmin stepping failed
Note: Starting source stepping
Note: One successful source step
Warning: source stepping failed
Note: Transient op started
Error: Transient op failed, timestep too small
DC solution failed -
Last Node Voltages
------------------
Node Last Voltage Previous Iter
---- ------------ -------------
probe_int_+5v_c2 5 5
+5v 5 5
net-_u1a-ain-_ -nan -nan
probe_int_/aout_c1 -nan -nan
/aout -nan -nan
probe_int_/aout_r5 -nan -nan
probe_int_net-_j2-in__r6 -nan -nan
net-_j2-in_ -nan -nan
A lot more internal nodes of the max9000 model that are all nan (a few are 0) follow.
Any ideas on how to debug this?
Project files: 20231107_pulse-generator-sim.zip (106.4 KB)