Hi
I am trying to model a oscillator circuit that uses the programmable unijunction transistor 2N6027 (http://www.rapidonline.com/netalogue/specs/47-3348.pdf) . I got the spice model from www.onsemi.com/pub/Collateral/2N6027.LIB . The circuit is quite simple and consists of two series resistors (R2 and R3) used to bias the gate, which
are placed in parallel with a resistor and capacitor in series (R1 and C1)
+ R1 C1 -
|---/\/\/\/\------x-------||----------|
| |
|__/\/\/\/\___w__/\/\/\/\____|
R2 R3
R1 = 470K
R2 = 15K
R3 = 27K
C1 = 2.2uF
The anode of the PUT is connected between R1 and C1 (at x) and the gate between R2 and R3 (at w). The oscillation is obtained between its cathode and the negative terminal of a DC power source.
I can not get my spice model (given below in ngspice format) to oscillate.
* PUT Oscillator
* Red Led
.MODEL LEDR D (IS=93.2P RS=42M N=3.73 BV=4 IBV=10U
+ CJO=2.97P VJ=.75 M=.333 TT=4.32U)
* 2N6027 NPN PUT (Programable Unijunction Transistor)
.MODEL 2N6027 NPN(IS=5E-15 VAF=100 IKF=0.3 ISE=1.85E-12
+ NE=1.45 RE=0.15 RC=0.15 CJE=7E-10 TF=0.6E-8
+ CJC=2.2E-10 TR=4.76E-8 XTB=3)
* Oscillator Circuit
v1 1 0 9
r1 1 2 470k
c1 2 0 2.2uF
r2 1 3 15k
r3 3 0 27k
q1 2 3 4 2N6027
d1 4 0 LEDR ic=0
.control
tran 0.1 4 uic
plot v(2), v(4)
.endc
.end
I am trying to model a oscillator circuit that uses the programmable unijunction transistor 2N6027 (http://www.rapidonline.com/netalogue/specs/47-3348.pdf) . I got the spice model from www.onsemi.com/pub/Collateral/2N6027.LIB . The circuit is quite simple and consists of two series resistors (R2 and R3) used to bias the gate, which
are placed in parallel with a resistor and capacitor in series (R1 and C1)
+ R1 C1 -
|---/\/\/\/\------x-------||----------|
| |
|__/\/\/\/\___w__/\/\/\/\____|
R2 R3
R1 = 470K
R2 = 15K
R3 = 27K
C1 = 2.2uF
The anode of the PUT is connected between R1 and C1 (at x) and the gate between R2 and R3 (at w). The oscillation is obtained between its cathode and the negative terminal of a DC power source.
I can not get my spice model (given below in ngspice format) to oscillate.
* PUT Oscillator
* Red Led
.MODEL LEDR D (IS=93.2P RS=42M N=3.73 BV=4 IBV=10U
+ CJO=2.97P VJ=.75 M=.333 TT=4.32U)
* 2N6027 NPN PUT (Programable Unijunction Transistor)
.MODEL 2N6027 NPN(IS=5E-15 VAF=100 IKF=0.3 ISE=1.85E-12
+ NE=1.45 RE=0.15 RC=0.15 CJE=7E-10 TF=0.6E-8
+ CJC=2.2E-10 TR=4.76E-8 XTB=3)
* Oscillator Circuit
v1 1 0 9
r1 1 2 470k
c1 2 0 2.2uF
r2 1 3 15k
r3 3 0 27k
q1 2 3 4 2N6027
d1 4 0 LEDR ic=0
.control
tran 0.1 4 uic
plot v(2), v(4)
.endc
.end
I suspect that the PUT model does not correspond to the actual PUT I am using (given in the datasheet) but do not know how to fix the problem. Will be grateful for any help.
Are there any good tutorials on how to convert an active components datasheet into a Spice model ?
regards
Thomas
Are there any good tutorials on how to convert an active components datasheet into a Spice model ?
regards
Thomas