Logging on error and simulation error

I am trying to simulate the attached circuit that i did in Ltspice and imported to Kicad.

After complete all models, because importation leave all empty simulation models, after the last no model found error throw an error that don’t have a description to solve it.

Error during net list simulation

error loading simulation model. No Sim name Field.

When i close it and open it again appeared this

error to lock /a path/

attempting to parse an empty input check that that the empty string contains the expected Json.

theses are the errors screen shoots

https://drive.google.com/file/d/1uSlBzCrcoq0GrWYjGJ9Cm8EE4Ve3NM3z/view?usp=drive_link

https://drive.google.com/file/d/1yDyU21SreX8ImmH26ub9g7n3zBHfaktB/view?usp=drive_link

This is the netlist

I dont know how to solve it so I am requesting help or information about it.

many thanks in advance,

Checking all the parts I found one that despite being updated the library didn’t write the sim.name. I clicked again in the list of transistors and simulation was done without errors BUT WITH NO RESULTS AT ALL. SPLITTING BY PARTS THE COILS COULD BE SIMULATED BUT THE NE555 MODEL DON’T WORK AT ALL. I CHECKED THE SIMPLE OSCILATOR 10KHZ AND COULD NOT BE SIMULATED. VOLTAGES AND CURRENTS COMPARED WITH LTSPICE ARE 30% HIGHER.

This one reports on simulating a 555: AUDIODiWHY : Kicad, NGSPICE and the MiniMoog EG Simulation Rabbit Hole .

You might also have a look at Simulation examples for KiCad8/KiCad9/Eeschema/ngspice where there are several 555 examples shown.

1 Like

First of all thanks for your answer and share a free program and give support.

I tried to simulate an

voltage source 5_5V from spice.kicad_sch (120.9 KB)

I am trying to simulate this, not sound, this is 10 khz oscilator and a PWM at 10Khz. Don’t even simulate the oscilator. Both configurations are present in Texas Instrument datasheet. I only added a couple of op and I did the calculations because PWM show circuit but not method of usage and calculations. Texas Instrument don’t offer library of it. And I download one of a link from a kicad forum answer. Is attached too.

the library is this:

NE555.lib (1.2 KB)

Yo can see the datasheet here:

https://www.alldatasheet.com/datasheet-pdf/view/2001479/TI/NE555.html

Section 8.3.2 is the astable, and you can verify that 10 khz is ok. (I also checked this circuit in LTspice too.)

Section 9.2.2 is the PWM in which no explanations of detail of calculations are. If you see my sketch you can verify if the calculatons that I did are correct.

In Ltspice all parts can be simulated. When I join them together don’t simulate and LTspice personnel told me that gonna try to improve the library.

Have a good afternoon.

It is not possible to draw any conclusions from the material you have provided so far.

So let’s start with the oscillator:

Please put the oscillator project (only the oscillator!) and all models used with this project into a zip file and upload it here. I will then have a look.

1 Like

Here you have the oscillator. The only library is the one for the NE555 the rest are raw ngs standard resistors and capacitor.

onlyoscillator.zip (6.6 KB)

This is the screenshoot of the simulation

And this is the complete simulation in LTspice. It have a ground in the op to check minimum voltage. The PWM only works in two pulse width maximun current at this voltaga and minimum current as far as can work the op. since op is quite faster than 10khz in just one cycle can pass from low to high pulse width regulating the voltage in any condition between these two limits or living in top or minimun. Since NE556 is cheap is a convenient voltage current regulator,

Many thanks in advance.

Did you do the correct pin assignment?

This is what I get with DarioLoblos.zip (7.3 KB):

I downloaded the zip file that you attached, which is the same as I sent you, but for any case i checked that and i plotted with no results. What cab be? Mi computer is linux mint 22.2 not windows. and Kicad is 9.0

What is your time base?

Sometimes oscillators need some “kick” or initial condition to start oscillating. I have made this available in the project attached. DarioLoblos.zip (9.4 KB)

My upload is not the same as your example posted above. Especially it takes into account that a pin assignment is necessary when you want to do a simulation. When in your original project you are using a 556 symbol with 2 oscillators in a single package, this become even more important. Symbol pin numbers and model node names/numbers often are different, as KiCad draws its pin numbers from the device’s footprint. Other simulator don’t care, as they don’t use footprints.

You may find some information here: KiCad Eeschema as GUI for ngspice, tutorial for setting up the simulation .

Thanks I will check during this day, I will download this and check it right now. I changed some symbols to can do the PCB. I think that new symbols are correct pin assigments. I will revise all with the datasheets. Attached are the new symbols complete circuit and the starting of the PCB. PCB module is very good I am very glad with I and giving thanks. Is a circuit hand welded with resistors THT 1/4w. I use them in some cases as bridges or vias.

I will tell what about simulation soon. Many thanks in advance.

Many thanks THE SIMULATION THAT YOU SENT ME WORKS SO I WILL CHANGE MY PROJECT USING IT AS SAMPLE.

i will download an ngs manual to see the options Also use the library that you sent me.

.options method=gear
.ic v(/tr)=0

i modified a 555 library to do a ne556.lib with all the pin asigments

NE556.lib (2.2 KB)

This is the symbol

ul_NE556DRG4.zip (10.6 KB)

I downloaded from

https://app.ultralibrarian.com/details/161daf23-103f-11e9-ab3a-0a3560a4cccc/Texas-Instruments/NE556DR?uid=883140

Thanks.