[NgSPICE] Linkwitz-Riley 24 dB Simulation Error

A sneaking suspicion:

Let’s have a look at your netlist.

The TI model TL072.301 has 5 pins (in+, in-, v+, v- and out). However according to the data sheet you will need 8 pins (1in+,1in-, v+, v-,1out, 2in+, 2in-, and 2out) and need calling the opamp model twice. So you cannot use the TI model directly, but need to convert it into a 2-opamp model version, as the TL072 contains two opamps.

A try, using the SOIC8 version:

* A dual opamp ngspice model
.subckt TL072c 1out 1in- 1in+ vcc- 2in+ 2in- 2out vcc+
.include TL072.301
XU1A 1in+ 1in- vcc+ vcc- 1out TL072
XU1B 2in+ 2in- vcc+ vcc- 2out TL072
.ends

Put this into an extra file, e.g. TL072complete.lib and call this file during setting up the SPICE model in eeschema. A small test with standard ngspice is o.k.

TL072 test
.include TL072complete.lib
VP 8 0 10
VM 4 0 -10

Rin1 inp 2 1k
Rfb1 2 1 10k
Vin1+ 3 0 0

Rin2 inp 6 1k
Rfb2 6 7 5k
Vin2+ 5 0 0

XU1 1 2 3 4 5 6 7 8 TL072c

Vinb inp 0 dc 0 sin(0 10m 1k)

.control
tran 10u 10m
plot v(inp) V(1) v(7)
.endc

.end