I want to simulate a PNP darlington transistor in Kicad. Here is an example of the subcircuit.
*Si 625mW 30V 1.2A pkg:TO-92B 1,2,3
.SUBCKT XMPSA65 1 2 3
* TERMINALS: C B E
Q1 1 2 4 QPWR .1
Q2 1 4 3 QPWR
.MODEL QPWR PNP (IS=1.44P NF=1 BF=107 VAF=98.6 IKF=0.96 ISE=110P NE=2
+ BR=4 NR=1 VAR=40 IKR=1.44 RE=0.333 RB=1.33 RC=0.133 CJE=258P XTB=1.5
+ VJE=0.74 MJE=0.45 CJC=37.3P VJC=1.1 MJC=0.24 TF=60.3N TR=2.61U)
.ENDS XMPSA65
I have not used subcircuits in ngspice or indeed KiCad before. Are there any simple circuits that I can try that are similar to the one referred to here in the QSPICE forum (which I started)?
I have asked about using a BC516 in the QSPICE forum, but apart from the model parameters Iām hoping it should be similar.
Also, what does the .1 refer to in the line above?
Q1 1 2 4 QPWR .1
Thanks.