I am totally new to KiCad and Eeschema. I am running KiCad 5.1.2-1 on MAC osx 10.14
I seem to be unable to run any simulation that includes downloaded spice models. I am trying to understand how to make this work by simulating a simple non-inverting opamp based amplifier using the Texas Instruments spice model for a TL071 (TL071.301).
Once i upload the model into the symbol and run the simulation i get an error saying:
“Circuit: KiCad schematic
Too many parameters for subcircuit type “tl071” (instance: xxu1)
Error: there aren’t any circuits loaded.”
I know that the pin number on the spice model are different from those in the KiCad symbol; although when i input an alternate node sequence both KiCad and Eeschema crash as soon as i try to run a simulation.
The model requires 5 pins.
The TL071 symbol from the Amplifier_Operational library has 7 pins, but the offset correction pins 1 and 5 are not served by the model.
So use a 5 pin alternate node sequence
3 2 7 4 6
Hello holger, thanks for the reply!
That is exactly what i did, however if i input a 5 pin alternate sequence KiCad and Eeschema crash as soon as i hit the play button for the simulation.
Sorry for the late reply, please find attached toe schematic file, i have also attached the simulation model that i am using. Unfortunately it won’t let me upload the files directly as a new user…i have thus attached a link, sorry for the inconvenience.
Download the *sch file.
Edit Spice model: Set correct path and filename of model file TL071.301.
Start simulation: everything is o.k., output is there.
So…funny thing is, i have created the same project again from scratches just to see if i had done something wrong along the way and used the same TL071 model. Now it doesn’t crash anymore…but i get an error message:
Circuit: KiCad schematic
Original line no.: 7, new internal line no.: 51:
Mismatch: 0 formal but 1 actual params.
Copies=55 Evals=54 Placeholders=0 Symbols=3 Errors=1
Numparam expansion errors: Problem with input file.
Error: ngspice.dll cannot recover and awaits to be detached
Note: can’t find init file.
I am even more confused now haha also, shouldn’t Kicad 5.1.2 have ngspice30 integrated (i have ngspice installed on my MAC anyway)? why the error message mentions ngspice-26?