« Back to home

Couldn't run EasyEDA simulation

Posted on

Summary

Probing a ground level point with an EasyEDA simulation causes an error. This can be fixed by not probing the ground level.

Detail

I tried to run a circuit simulation against very simple test circuit and I got the following error:

Circuit: gooduntitled

Doing analysis at TEMP = 27.000000 and TNOM = 27.000000

Warning: v1: no DC value, transient time 0 value used
Warning: singular matrix:  check nodes volprobe2 and volprobe2

Note: Starting dynamic gmin stepping
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Warning: singular matrix:  check nodes volprobe2 and volprobe2

Warning: Dynamic gmin stepping failed
Note: Starting source stepping
Warning: singular matrix:  check nodes volprobe2 and volprobe2

Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful gmin step
Note: One successful source step
Warning: singular matrix:  check nodes volprobe2 and volprobe2

Warning: singular matrix:  check nodes volprobe2 and volprobe2

Warning: source stepping failed

Transient solution failed -

Last Node Voltages
------------------

Node                                   Last Voltage        Previous Iter
----                                   ------------        -------------
volprobe1                                         0                    0
volprobe2                                         0                    0
v1#branch                                         0                    0


doAnalyses: iteration limit reached

tran simulation(s) aborted
Error(parse.c--checkvalid): volprobe1: no such vector.
ngspice-26 done

The error message is cryptic and hard to understand.

a

It looks like I get the error when I am probing at GND level, i.e. volProbe2 causes the problem. The EasyEDA Simulation eBook has the following description:

The ground node MUST NOT have a Volprobe attached to it.

A common mistake, however, is to attach a voltage probe to ground. In spice simulations, all voltages are referred to ground so not only is there no need to attach a VolProbe to the ground net, in fact doing so will throw an error in the simulation.

I still don’t fully understand, but trying to measure voltage difference between GND levels causes the simulator to fail caliculation due to the ideal characteristics of the voltage meter.