I would like to simulate a simple oscillating circuit involving an unijunction transistor. I do not find such component in LTspice so I figure I need to import one.
Could please show me step by step on how to do it ?
I googled LTspice UJT , and there is this text file:
*Programable Unijunction Transistor pkg: TO-226AA .SUBCKT X2N6027 1 2 3 ************** K1 G K2 Q1 2 4 3 NMOD Q2 4 2 1 PMOD .MODEL NMOD NPN(IS=5E-15 VAF=100 IKF=0.005 ISE=1.85E-12 NE=1.45 + RB=10 RE=0.5 RC=0.5 CJE=3.5E-11 VJE=0.75 CJC=1.1E-11 VJC=0.75 TR=4.76E-8 + TF=16N VJS=0.75 ) .MODEL PMOD PNP(IS=2E-15 VAF=100 IKF=0.005 ISE=1.9E-12 RB=10 RE=0.5 + RC=0.5 CJE=3.5E-11 VJE=0.75 TF=1.6E-8 CJC=1.1E-11 VJC=0.75 TR=5.1E-8 + TF=16N VJS=0.75 ) .ENDS X2N6027
I saved this text file and named it 2N6027.sub . But it didn't show up in component selector. What can I do with this text information ?