Nano81
July 28, 2026, 10:11am
1
Greetings
I went to the Linear Systems website to find their spice model for the LS350 Dual PNP transistor. When you click on the link for the model it sends you to this pdf here → PDF Spice Model
Here is the code for the model
.model LS350 (PNP IS=3.82645e-15 XTI=3 EG=1.17 VAF=37.2934 BF=500 NE=1.45387 +ISE=1.4506e-15 NR=1 IKF=0.03 XTB=1.5 BR=0.637555 IKR=0.000489083 VAR=20 IsC=1e-
+18 NC=1.9 RB=200 RE=0.909091 RC=231.405 CJC=2.5286e-12 CJE=1.9932e-12 +MJC=0.1795208 MJE=0.2174719 VJC=0.4 VJE=0.6034061 TF=7.255581E-10
+TR=1e-08 VTF=5 XTF=2.04 RBM=10 IRB=1e-05 PTF=20 FC=0.5 ITF=0.018 +mfg=Linear_Systems)
When I paste this into Qspice and try to use it, I get an error message saying that the polarity of the PNP is wrong. Can someone please help me correct this code and figure out what the error is?
Remove the brackets.
.model LS350 PNP IS=3.82645e-15 XTI=3 EG=1.17 VAF=37.2934 BF=500 NE=1.45387 ISE=1.4506e-15 NR=1 IKF=0.03 XTB=1.5 BR=0.637555 IKR=0.000489083 VAR=20 IsC=1e-18 NC=1.9 RB=200 RE=0.909091 RC=231.405 CJC=2.5286e-12 CJE=1.9932e-12 MJC=0.1795208 MJE=0.2174719 VJC=0.4 VJE=0.6034061 TF=7.255581E-10 TR=1e-08 VTF=5 XTF=2.04 RBM=10 IRB=1e-05 PTF=20 FC=0.5 ITF=0.018 mfg=Linear_Systems
Or, move ( after keyword PNP
.model LS350 PNP (IS=3.82645e-15 XTI=3 EG=1.17 VAF=37.2934 BF=500 NE=1.45387 ISE=1.4506e-15 NR=1 IKF=0.03 XTB=1.5 BR=0.637555 IKR=0.000489083 VAR=20 IsC=1e-18 NC=1.9 RB=200 RE=0.909091 RC=231.405 CJC=2.5286e-12 CJE=1.9932e-12 MJC=0.1795208 MJE=0.2174719 VJC=0.4 VJE=0.6034061 TF=7.255581E-10 TR=1e-08 VTF=5 XTF=2.04 RBM=10 IRB=1e-05 PTF=20 FC=0.5 ITF=0.018 mfg=Linear_Systems)
In short, this syntax is not expected to have a ( before the keyword PNP.
Nano81
July 28, 2026, 11:24am
3
I did not know that. Thanks Kelvin you’re the coolest!
I also don’t know that… but I tested it in both LTspice and Qspice, and neither accepts a ( before PNP.
Nano81
July 28, 2026, 11:40am
5
Maybe we should tell Linear Systems about this
1 Like