• WARNING: Tube/Valve amplifiers use potentially LETHAL HIGH VOLTAGES.
    Building, troubleshooting and testing of these amplifiers should only be
    performed by someone who is thoroughly familiar with
    the safety precautions around high voltages.

Vacuum Tube SPICE Models

For colleague <JPS64> maybe it's helpful:

************************************
.SUBCKT 71-A 1 2 3 ; P G C (Triode)
*RCA 71-A data
X1 1 2 3 TRIODE MU=3.066 EX=1.4 KG1=5220.0 KP=60.0 KVB=20.25 VCT=0.005 RGI=1000 CCG=19.0p CGP=7.2p CCP=7.0p ;
.ENDS 71-A
************************************
.SUBCKT 45 1 2 3 ; P G C (Triode)
*VynilSavor data 45
X1 1 2 3 TRIODE MU=3.738 EX=1.4 KG1=3585.0 KP=39.0 KVB=151.5 VCT=0.16 RGI=1000 CCG=17.0p CGP=8.2p CCP=6.0p ;
.ENDS 45
************************************
 

Attachments

  • JPS64.png
    JPS64.png
    5.1 KB · Views: 463
Last edited:
Ex-Moderator
Joined 2011
The above models would not work without the following code or something similar:

Code:
.subckt TRIODE A G K
RE1   E1 0  1MEG ; dummy so node E1 has two connections
Ee1   E1 0  Value {(V(A,K)/{kP}) * log(1 + exp({kP} * (1/{mu} + (V(G,K)+VCT)/sqrt({kVB} + pwr(V(A,K),2)))))}
GIP   A  K  Value {(pwr(V(E1),EX) + pwrs(V(E1),EX))/KG1} ; Norman Koren's

R1    G  5  {rgi} ; for grid forward current
D1    5  K  DX ; for grid diode action
CM1   G  K  {ccg}
CM2   A  G  {cpg}
CM3   A  K  {ccp}
RF1   A  0  1G
RF2   G  0  1G ; prevent floating nodes
RF3   K  0  1G
.MODEL DX D(Ron=1 Roff=1G Vfwd=0.75)
.ends
 
The above models would not work without the following code or something similar:*********************

Correct! but I assume that there is a multi-model database where mathematical models (mathematical equations) are included.


***********************
**MATHEMATICAL MODELS**
***********************

******************
.SUBCKT TRIODE 1 2 3 ; A G C
E1 7 0 VALUE={V(1,3)/KP*LOG(1+EXP(KP*(1/MU+(V(2,3)+VCT)/SQRT(KVB+V(1,3)*V(1,3)))))}
RE1 7 0 1G
G1 1 3 VALUE={(PWR(V(7,0),EX)+PWRS(V(7,0),EX))/KG1}
RCP 1 3 1G ; TO AVOID FLOATING NODES IN MU-FOLLOWER
C1 2 3 {CCG} ; CATHODE-GRID
C2 2 1 {CGP} ; GRID=PLATE
C3 1 3 {CCP} ; CATHODE-PLATE
D3 5 3 DX ; FOR GRID CURRENT
R1 2 5 {RGI} ; FOR GRID CURRENT
.ENDS TRIODE

******************
 
Last edited:
Disabled Account
Joined 2013
Looking for this tube model for preamp build
Or even a 112 tube data

CX-301-A's are the same as RCA UX-201-A's or any other tube with an 01A suffix.

* cx-301a LTSpice model
.subckt cx-301a P G K
+ params: ccg=3.1p cgp=8.1p ccp=2.2p rgi=1000
Bp P K I=(0.001258676752m)*uramp(V(P,K)*ln(1.0+(14.21540262)+exp((34.75371389)+(34.75371389)*((8.485971858)+(-8.616268503m)*V(G,K))*V(G,K)/sqrt((11.07009574)**2+(V(P,K)-(2.05875447))**2)))/(34.75371389))**(1.88212582)

rcp 1 3 1g
c1 2 3 {ccg}
c2 1 2 {cgp}
c3 1 3 {ccp}
r1 2 5 {rgi}

d3 6 3 dx
.model dx d(is=1n rs=1 cjo=1pf tt=1n)
.ends cx-301a
 

Attachments

  • cx-301a plot-2.jpg
    cx-301a plot-2.jpg
    243.9 KB · Views: 425
  • cx-301a CurveTracer.png
    cx-301a CurveTracer.png
    33.2 KB · Views: 424
  • cx-301a.jpg
    cx-301a.jpg
    338 KB · Views: 389
  • cx-301a.dat.txt
    4 KB · Views: 77
  • cx-301a.crv.txt
    3.3 KB · Views: 65
Last edited:
12AV7 model courtesy of cogsncogs, right here on diyAudio:

Code:
* 12AV7_GE LTSpice model
* Modified Koren model (8 parameters) mean fit error 0.196893mA
* Traced by Wayne Clay on 9/6/2007 using Curve Captor v0.9.1
* from General Electric data sheet
.subckt 12AV7_GE  P G K
    Bp  P K  I=(0.04444253322m)*uramp(V(P,K)*ln(1.0+(-0.01749849009)+exp((2.036595788)+(2.036595788)*((55.22041769)+(-202.4359155m)*V(G,K))*V(G,K)/sqrt((54.03527608)**2+(V(P,K)-(3.013036228))**2)))/(2.036595788))**(1.271149936)
  Cgk G K 3.8p ; (3.1p + .7p)
  Cpk P K 1.0p ; (0.5p + .5p)
  Cgp G P 2.6p ; (1.9p + .7p)
  Rpk P K 1G ; to avoid floating nodes
  d3  G K dx1
.model dx1 d(is=1n rs=2k cjo=1pf N=1.5 tt=1n)
.ends 12AV7_GE

5965 is similar, but is supposed to 'sound better', which implies that it is different.
 
Disabled Account
Joined 2013
Attached 12av7-ge vs 5965 Brimar, only one is close i.e. Vg=0, so here is the model.

* 5965-brm LTSpice model

.subckt 5965-brm P G K
+ params: ccg=3.8p cgp=3p ccp=0.5p rgi=1000
Bp P K I=(0.03112183049m)*uramp(V(P,K)*ln(1.0+(-0.01696282954)+exp((0.4797489307)+(0.4797489307)*((191.7722271)+(-4570.034317m)*V(G,K))*V(G,K)/sqrt((38.68534305)**2+(V(P,K)-(20.90183057))**2)))/(0.4797489307))**(1.20117455)

rcp 1 3 1g
c1 2 3 {ccg}
c2 1 2 {cgp}
c3 1 3 {ccp}
r1 2 5 {rgi}

d3 6 3 dx
.model dx d(is=1n rs=1 cjo=1pf tt=1n)
.ends 5965-brm
 

Attachments

  • 5965-brimar vs 12av7-ge.png
    5965-brimar vs 12av7-ge.png
    876.8 KB · Views: 240
  • 5965-brm.png
    5965-brm.png
    220.7 KB · Views: 248
  • 5965-brm koren8.png
    5965-brm koren8.png
    31.7 KB · Views: 249
  • 5965-brm cmp.png
    5965-brm cmp.png
    542 KB · Views: 356
  • 5965-brm.inc.txt
    940 bytes · Views: 65
Last edited:
Tube Cad download

Sorry, I know that this is probably the wrong place for this, but I didn't want to start a new thread and couldn't find the answer.

Does someone know how Glassware's Tube Cad software is delivered? It says it's a download, but when I try to buy it it asks for a shipping address, but no email. Thanks
 
Disabled Account
Joined 2013
Posted new P-P power amp design

Based on the above 6gu5 triode trace I'am able to trace triode model:

* 6gu5_t LTSpice model
.subckt 6gu5_t P G K
+ params: ccg=7p cgp=0.018p ccp=3.2p rgi=1000
Bp P K I=(0.007083507898m)*uramp(V(P,K)*ln(1.0+(0.09010214854)+exp((0.1103525278)+(0.1103525278)*((1977.236801)+(-462157.0453m)*V(G,K))*V(G,K)/sqrt((74.8365736)**2+(V(P,K)-(51.3568144))**2)))/(0.1103525278))**(1.1312325)

rcp 1 3 1g
c1 2 3 {ccg}
c2 1 2 {cgp}
c3 1 3 {ccp}
r1 2 5 {rgi}

d3 6 3 dx
.model dx d(is=1n rs=1 cjo=1pf tt=1n)
.ends 6gu5_t
 

Attachments

  • 6gu5_t plot cmp.png
    6gu5_t plot cmp.png
    894.5 KB · Views: 300
  • 6gu5_t koren8.png
    6gu5_t koren8.png
    37 KB · Views: 190
  • 6gu5_t.inc.txt
    460 bytes · Views: 66
  • 6gu5_t.jpg
    6gu5_t.jpg
    109.9 KB · Views: 179
Sorry, I know that this is probably the wrong place for this, but I didn't want to start a new thread and couldn't find the answer.

Does someone know how Glassware's Tube Cad software is delivered? It says it's a download, but when I try to buy it it asks for a shipping address, but no email. Thanks

I think your best bet would be to contact John Broskie directly. His email address is posted on his Tube CAD website (www.tubecad.com).

But note that none of these programs appear to have been updated to run on Windows 8 or later, so if you have any Windows version later than XP you might want to ask John about that too. See the following link:

Additional Software from GlassWare
 
Ex-Moderator
Joined 2011
E88C SPICE Model

fresh out of the oven:

Code:
*
* Generic triode model: E88C_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Thu Sep 21 12:21:57 2017
*               Anode
*               | Grid
*               | | Cathode
*               | | |
.SUBCKT E88C_AN A G K
BGG   GG   0 V=V(G,K)+0.53015909
BM1   M1   0 V=(0.0036381638*(URAMP(V(A,K))+1e-10))**-0.40119013
BM2   M2   0 V=(0.78897948*(URAMP(V(GG)+URAMP(V(A,K))/58.00193)+1e-10))**1.9011901
BP    P    0 V=0.0070566159*(URAMP(V(GG)+URAMP(V(A,K))/73.515131)+1e-10)**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.0041573677*V(M1)*V(M2)
BIG   IG   0 V=0.003528308*URAMP(V(G,K))**1.5*(URAMP(V(G,K))/(URAMP(V(A,K))+URAMP(V(G,K)))*1.2+0.4)
BIAK  A    K I=URAMP(V(IK,IG)-URAMP(V(IK,IG)-(0.0036727794*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 1p
CGK   G    K 3.5p
CAK   A    K 0p
.ENDS