• 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

Sorry,

it does not work. The Symbol Need the tube.lib file. This is not in my System. Is there another model out?

Thanks for Help
Dieter
Sorry about that. I replaced the symbol file with a generic one, "Diode_Valve.asy". I've also added a directly heated half-wave rectifier symbol. You can copy those to your .../lib/sym directory.

I have attached the corrected zip file below:
 

Attachments

  • 6d22s_curves.zip
    1.9 KB · Views: 132
I am looking for LTSpice model (triode connected) E55L/8233.

Hi euro21,

This model works in LT spice.
Best diying.


.subckt e55l p g k ;Rydel's Models Triode Mode
+params: gp=0.004735979219 b=3734.604234
+ c=0.3266713215 d=79.54627249
+ cgk=11p cgp=5p
+ cpk=1.8p mu=30
e1 1 0 value= {1+(v(g,k)/b)}
re1 1 0 100meg
e2 2 0 value= {v(p,k)/(v(p,k)+c)}
re2 2 0 100meg
e3 3 0 value= {v(g,k)+((v(p,k)+d)/mu)}
re3 3 0 100meg
g1 p k value= {gp*v(1)*v(2)*(pwr(v(3),1.5)+pwrs(v(3),1.5))}
rpk p k 100meg
c1 g k {cgk}
c2 g p {cgp}
c3 p k {cpk}
.ends
 
6KY8A triode section model for LTspice.
Code:
* 6KY8AT LTSpice model
* Rydel model (5 parameters): mean fit error 0.150746mA
* Traced by Wayne Clay on 6/22/2015 using Engauge Digitizer and
* Curve Captor v0.9.1 from RCA datasheet.
.subckt 6KY8AT  P G K
    Bp  P K  I=
+ ((0.00144469087m)+(-0.0001050179892m)*V(G,K))*uramp((71.84993107)*
+ V(G,K)+V(P,K)+(62.44961062))**1.5 * V(P,K)/(V(P,K)+(3.613380107))
  Cgk G K 15.2p ; 0.2p added (15p, K+H)
  Cpk P K 7.2p ; 0.2p added (7.0p, K+H)
  Cgp G P 1.14p ; 0.7p added (0.44p)
  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 6KY8AT

Hi cogsncogs, thank you very much for you time to create a LTSpice model of 6KY8A triode section! :)
 
Here's a 5879, in LTSpice format:

Code:
*
* Generic pentode model: 5879
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Jul 14 16:35:33 2015
*            Plate
*            | Screen Grid
*            | | Control Grid
*            | | | Cathode
*            | | | |
.SUBCKT 5879 A G2 G1 K
BGG   GG   0 V=V(G1,K)+0.73732476
BM1   M1   0 V=(0.034464412*(URAMP(V(G2,K))+1e-10))**-1.4485185
BM2   M2   0 V=(0.50873007*(URAMP(V(GG)+URAMP(V(G2,K))/14.254412)))**2.9485185
BP    P    0 V=0.0009600466*(URAMP(V(GG)+URAMP(V(G2,K))/28.019598))**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00091268793*V(M1)*V(M2)
BIG   IG   0 V=0.0004800233*URAMP(V(G1,K))**1.5*(URAMP(V(G1,K))/(URAMP(V(A,K))+URAMP(V(G1,K)))*1.2+0.4)
BIK2  IK2  0 V=V(IK,IG)*(1-0.4*(EXP(-URAMP(V(A,K))/URAMP(V(G2,K))*15)-EXP(-15)))
BIG2T IG2T 0 V=V(IK2)*(0.82440021*(1-URAMP(V(A,K))/(URAMP(V(A,K))+10))**1.5+0.17559979)
BIK3  IK3  0 V=V(IK2)*(URAMP(V(A,K))+5300)/(URAMP(V(G2,K))+5300)
BIK4  IK4  0 V=V(IK3)-URAMP(V(IK3)-(0.00053187427*(URAMP(V(A,K))+URAMP(URAMP(V(G2,K))-URAMP(V(A,K))))**1.5))
BIP   IP   0 V=URAMP(V(IK4,IG2T)-URAMP(V(IK4,IG2T)-(0.00053187427*URAMP(V(A,K))**1.5)))
BIAK  A    K I=V(IP)+1e-10*V(A,K)
BIG2  G2   K I=URAMP(V(IK4,IP))
BIGK  G1   K I=V(IG)
* CAPS
CGA   G1  A  0.11p
CGK   G1  K  1.6p
C12   G1  G2 1.1p
CAK   A   K  2.4p
.ENDS
 
And here's the triode version:

Code:
*
* Generic triode model: 5879T
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Jul 14 16:48:12 2015
*             Plate
*             | Grid
*             | | Cathode
*             | | |
.SUBCKT 5879T A G K
BGG   GG   0 V=V(G,K)+0.73732476
BM1   M1   0 V=(0.034464412*(URAMP(V(A,K))+1e-10))**-1.4485185
BM2   M2   0 V=(0.50873007*(URAMP(V(GG)+URAMP(V(A,K))/14.254412)+1e-10))**2.9485185
BP    P    0 V=0.0009600466*(URAMP(V(GG)+URAMP(V(A,K))/28.019598)+1e-10)**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00091268793*V(M1)*V(M2)
BIG   IG   0 V=0.0004800233*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.00053187427*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 1.4p
CGK   G    K 1.4p
CAK   A    K 0.8p
.ENDS
 
Great thread, guys. I just read the whole thing and look forward to trying out the models that I have found.

In the spirit of giving back, here is a zip file with all the models in the thread. They are all in LTspice format (although I may have overlooked something along the way). Each model is in its own file. Just extract it to the directory c:\Program Files\LTC\LTspiceIV\lib\sub (or ~/.wine/drive_c/Program Files/LTC/LTspiceIV/lib/sub for the Linuxheads like me, hehehe) and have fun.
 

Attachments

  • tube_models.zip
    66.2 KB · Views: 234
Ex-Moderator
Joined 2011
6AV5 SPICE Models

6AV5 Triode-Connected:
Code:
*
* Generic triode model: 6AV5_T_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Sat Aug 08 06:58:28 2015
*                 Plate
*                 | Grid
*                 | | Cathode
*                 | | |
.SUBCKT 6AV5_T_AN A G K
BGG   GG   0 V=V(G,K)+-0.29077469
BM1   M1   0 V=(0.18958966*(URAMP(V(A,K))+1e-10))**-1.6704161
BM2   M2   0 V=(0.47312401*(URAMP(V(GG)+URAMP(V(A,K))/2.7790334)+1e-10))**3.1704161
BP    P    0 V=0.0023638086*(URAMP(V(GG)+URAMP(V(A,K))/5.8737948)+1e-10)**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.002829284*V(M1)*V(M2)
BIG   IG   0 V=0.0011819043*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.0018105601*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 0.5p
CGK   G    K 14p
CAK   A    K 7p
.ENDS

6AV5 Pentode
Code:
*
* Generic pentode model: 6AV5_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Sat Apr 11 09:38:05 2015
*               Plate
*               | Screen Grid
*               | |  Control Grid
*               | |  |  Cathode
*               | |  |  |
.SUBCKT 6AV5_AN A G2 G1 K
BGG   GG   0 V=V(G1,K)+-0.29077469
BM1   M1   0 V=(0.18958966*(URAMP(V(G2,K))+1e-10))**-1.6704161
BM2   M2   0 V=(0.47312401*(URAMP(V(GG)+URAMP(V(G2,K))/2.7790334)))**3.1704161
BP    P    0 V=0.0023638086*(URAMP(V(GG)+URAMP(V(G2,K))/5.8737948))**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.002829284*V(M1)*V(M2)
BIG   IG   0 V=0.0011819043*URAMP(V(G1,K))**1.5*(URAMP(V(G1,K))/(URAMP(V(A,K))+URAMP(V(G1,K)))*1.2+0.4)
BIK2  IK2  0 V=V(IK,IG)*(1-0.4*(EXP(-URAMP(V(A,K))/URAMP(V(G2,K))*15)-EXP(-15)))
BIG2T IG2T 0 V=V(IK2)*(0.96749811*(1-URAMP(V(A,K))/(URAMP(V(A,K))+10))**1.5+0.03250189)
BIK3  IK3  0 V=V(IK2)*(URAMP(V(A,K))+2055)/(URAMP(V(G2,K))+2055)
BIK4  IK4  0 V=V(IK3)-URAMP(V(IK3)-(0.0018105601*(URAMP(V(A,K))+URAMP(URAMP(V(G2,K))-URAMP(V(A,K))))**1.5))
BIP   IP   0 V=URAMP(V(IK4,IG2T)-URAMP(V(IK4,IG2T)-(0.0018105601*URAMP(V(A,K))**1.5)))
BIAK  A    K I=V(IP)+1e-10*V(A,K)
BIG2  G2   K I=URAMP(V(IK4,IP))
BIGK  G1   K I=V(IG)
* CAPS
CGA   G1  A  0.5p
CGK   G1  K  8.4p
C12   G1  G2 5.6p
CAK   A   K  7p
.ENDS
 
Excellent, thanks very much!

One question -- Which version of 6AV5 is the model based on? 6AV5GA? Also, which brand's data was used? Sylvania? GE? RCA? Other? There's been much discussion on the relative robustness and performance of different versions of this particular tube. Tubelab has posted about varying dissipation limits between versions. I'm not sure if that impacts characteristics that would affect the spice model...

thanks again for this.