Hi all
I’m trying to simulate a ferrite bead in Kicad+ngspice30 as part of a power supply filter stage. I’m using a Murata spice library that I downloaded from their website, which I’ve copied and pasted below. I’ve set the node sequence in kicad to “1, 2” because the Murata code gives the pins the names “port1” and “port2”.
However, when I try probe pin 2 on the ferrite bead, the spice console gives me the error “Error: vector V(Net-_FB1-Pad2_) not found!” I can probe pin 1, but whatever the circuit is doing, it gives me unity gain and 0 phase shift.
I’ve looked for resources, but documentation on Kicad + spice is scant, and I can’t find any other references to my error on the internet. Can anyone help shed any light on why my simulation isn’t working?
Thanks!
Murata code:
*----------------------------------------------------------------------
* SPICE Model generated by Murata Manufacturing Co., Ltd.
* Copyright(C) Murata Manufacturing Co., Ltd.
* MURATA P/N : BLM21BD272SH1
* Property : Z@100MHz = 2700[ohm]
*----------------------------------------------------------------------
* Applicable Conditions:
* Frequency Range = 1MHz - 3GHz
* Temperature = 25 degC
* DC Bias Current = 0 A
* Small Signal Operation
*----------------------------------------------------------------------
.SUBCKT BLM21BD272SH1 port1 port2
R1 port1 1 2394
C2 1 2 2.112e-12
L1 port1 2 3.010e-6
R2 2 3 1.308
L2 2 3 1.945e-7
C1 port1 3 1.025e-12
R3 3 4 21.59
L3 3 4 6.984e-8
R4 4 port2 4.500e-1
.ENDS BLM21BD272SH1
*----------------------------------------------------------------------