I simulate a system of two mutually delay-coupled electronic clocks (DPLLs - digital phase-locked loops). This worked well and also in reasonable time so far. However, moving into a particular regime of the parameter space of the individual DPLLs, i.e., very low cut-off frequencies of the loop filters (fc=14Hz) compared to the free-running frequency of about 1kHz for the LTC6900 VCOs at a high coupling strengths causes problems. The transient simulation runs fast for about 100ms and then suddenly stalls with convergence problems of the solver (excerpt, full log-file below):
Heightened Def Con from 2.31358e-012 ++++++++++++to 2.3174e-012
Heightened Def Con from 0.0100466 to 0.0100466
I tried different solvers and limits, however I could not solve the problem.
This is the state at which the simulation stalls:
This is the schematic I am simulating
This is a link to the netlist: link to netlist (dropbox) This is a link to the spice-log file: link to spice-log (dropbox)
Specifically my questions are: What besides changing the solver parameters can I do to solve the problem? How can I find out more easily on which calculation the solver gets stuck? Did I miss something in the schematic that could cause the stalling?
Td=2n
forA1
andTd=2.01n
forA2
. Maybe alsoTd=1.99n
for one of the XOR games. BTW, you can eliminateRmeas
andC1
and setRout
andCout
inside the gate. There is no need to ground the gates since their 8th pin (the ground pin) is internally connected to0
node (ground) unless otherwise specified. It's not a big deal, but it eliminates a bit the clutter. Also, try addingRser
and/orCpar
to the supplies, something like1m
, both. \$\endgroup\$