PDA

View Full Version : spice model for submini triode 6021


robert casey
January 25th 05, 01:01 AM
here's a 3f4 spice model for the submini tube
dual triode 6021. model is for one section.
6021 mu=35, Rp=6500, gm=5400, plate current=6.5ma
max plate voltage=165v

************************************************** *******

*Vacuum Tube submini 6021
..SUBCKT X6021 A G K

* ANODE MODEL

BLIM LI 0 V=(URAMP((V(A)-V(K))))* 0.0037
BGG GG 0 V=((V(G)-V(K))*0.61)--0.14
BRP1 RP1 0 V=URAMP(-V(GG)* 0.09869 )
BRP2 RP2 0 V=V(RP1)-URAMP(V(RP1)-0.999)
BRPF RP 0 V=(1-V(RP2)^ 1 )+URAMP(V(GG))* 0.1
BGR GR 0 V=URAMP(V(GG))-URAMP(-(V(GG)*(1+V(GG)* 0.012937 )))
BEM EM 0 V=URAMP(V(A)-V(K)+V(GR)* 50.093 )
BEP EP 0 V=(V(EM)^ 1.53 )*V(RP)* 0.00001063
BEL1 EL1 0 V=URAMP(V(EP))
BEL EL 0 V=V(EL1)-URAMP(V(EL1)-V(LI))
BLD LD 0 V=URAMP(V(EP)-V(LI))
BAK A K I=V(EL)

* GRID MODEL

BGF GF 0 V=(URAMP(V(G)-V(K)--0.5 )^1.4)* 0.00012
BG G K I=V(GF)+V(LD)

* CAPS

CAK A K 0.00000000000028
CGK G K 0.0000000000007
CGA G A 0.0000000000015

..ENDS X6021

robert casey
January 25th 05, 01:04 AM
robert casey wrote:

> here's a 3f4 spice model for the submini tube
> dual triode 6021. model is for one section.
> 6021 mu=35, Rp=6500, gm=5400, plate current=6.5ma
> max plate voltage=165v
>
> ************************************************** *******
>
some newsreaDERS do goofy things involving the ^ symbol

************************************************** *******

*Vacuum Tube submini 6021
..SUBCKT X6021 A G K

* ANODE MODEL

BLIM LI 0 V=(URAMP((V(A)-V(K))))* 0.0037
BGG GG 0 V=((V(G)-V(K))*0.61)--0.14
BRP1 RP1 0 V=URAMP(-V(GG)* 0.09869 )
BRP2 RP2 0 V=V(RP1)-URAMP(V(RP1)-0.999)
BRPF RP 0 V=(1-V(RP2)^ 1 )+URAMP(V(GG))* 0.1
BGR GR 0 V=URAMP(V(GG))-URAMP(-(V(GG)*(1+V(GG)* 0.012937 )))
BEM EM 0 V=URAMP(V(A)-V(K)+V(GR)* 50.093 )
BEP EP 0 V=(V(EM)^ 1.53 )*V(RP)* 0.00001063
BEL1 EL1 0 V=URAMP(V(EP))
BEL EL 0 V=V(EL1)-URAMP(V(EL1)-V(LI))
BLD LD 0 V=URAMP(V(EP)-V(LI))
BAK A K I=V(EL)

* GRID MODEL

BGF GF 0 V=(URAMP(V(G)-V(K)--0.5 )^ 1.4)* 0.00012
BG G K I=V(GF)+V(LD)

* CAPS

CAK A K 0.00000000000028
CGK G K 0.0000000000007
CGA G A 0.0000000000015

..ENDS X6021

Robert McLean
January 25th 05, 01:30 PM
Another point about the ^ symbol is that some spice programs do not
recognize it. For example LTSpice insists on **, although I believe ^ and
** are supposed to be equivalent in both PSpice and 3f4.


"robert casey" > wrote in message
ink.net...
> robert casey wrote:
>
>> here's a 3f4 spice model for the submini tube
>> dual triode 6021. model is for one section.
>> 6021 mu=35, Rp=6500, gm=5400, plate current=6.5ma
>> max plate voltage=165v
>>
>> ************************************************** *******
>>
> some newsreaDERS do goofy things involving the ^ symbol
>
> ************************************************** *******
>
> *Vacuum Tube submini 6021
> .SUBCKT X6021 A G K
>
> * ANODE MODEL
>
> BLIM LI 0 V=(URAMP((V(A)-V(K))))* 0.0037
> BGG GG 0 V=((V(G)-V(K))*0.61)--0.14
> BRP1 RP1 0 V=URAMP(-V(GG)* 0.09869 )
> BRP2 RP2 0 V=V(RP1)-URAMP(V(RP1)-0.999)
> BRPF RP 0 V=(1-V(RP2)^ 1 )+URAMP(V(GG))* 0.1
> BGR GR 0 V=URAMP(V(GG))-URAMP(-(V(GG)*(1+V(GG)* 0.012937 )))
> BEM EM 0 V=URAMP(V(A)-V(K)+V(GR)* 50.093 )
> BEP EP 0 V=(V(EM)^ 1.53 )*V(RP)* 0.00001063
> BEL1 EL1 0 V=URAMP(V(EP))
> BEL EL 0 V=V(EL1)-URAMP(V(EL1)-V(LI))
> BLD LD 0 V=URAMP(V(EP)-V(LI))
> BAK A K I=V(EL)
>
> * GRID MODEL
>
> BGF GF 0 V=(URAMP(V(G)-V(K)--0.5 )^ 1.4)* 0.00012
> BG G K I=V(GF)+V(LD)
>
> * CAPS
>
> CAK A K 0.00000000000028
> CGK G K 0.0000000000007
> CGA G A 0.0000000000015
>
> .ENDS X6021