• 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

Looking for directly heated triode 5A6 Ltspice model

Dear All,

I have searched the forum in vain for 5A6 ltspice model. Is it possible to generate one based on the following data?

Datasheet with pentode loadlines, interelectrodes capacitance:
http://rtellason.com/tubedata/5A6.pdf
http://tubedata.jp/sheets/020/5/5A6.pdf

A Gentleman from Japan has made a triode strapped 5a6 loadlines:
5A6三結実測値からLTSPICEモデルの作成 ( オーディオ )

Any pentode or triode model are welcome.

Many thanks in advance.:D
Attached pictures are from the Japanese gentleman's website.
 

Attachments

  • img_2.jpg
    img_2.jpg
    98.5 KB · Views: 301
  • img_3.jpg
    img_3.jpg
    341.4 KB · Views: 203
  • img_4.jpg
    img_4.jpg
    333.8 KB · Views: 224
  • img_5.jpg
    img_5.jpg
    279.4 KB · Views: 212
Last edited:
Ex-Moderator
Joined 2011
5A6 SPICE Models

Since the models are derived from a single traced sample, please do not expect high accuracy.

Triode-Connected Model
Code:
*
* Generic triode model: 5A6_T_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Oct 02 10:49:05 2018
*                Anode
*                | Grid
*                | | Cathode
*                | | |
.SUBCKT 5A6_T_AN A G K
BGG   GG   0 V=V(G,K)+0.99998753
BM1   M1   0 V=(0.015698277*(URAMP(V(A,K))+1e-10))**-0.15008063
BM2   M2   0 V=(0.90904648*(URAMP(V(GG)+URAMP(V(A,K))/5.7938533)+1e-10))**1.6500806
BP    P    0 V=0.00061411819*(URAMP(V(GG)+URAMP(V(A,K))/6.3735501)+1e-10)**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00043471673*V(M1)*V(M2)
BIG   IG   0 V=0.00030705909*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.00045711939*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 0.15p
CGK   G    K 8.5p
CAK   A    K 5.8p
.ENDS

Pentode Model
Code:
*
* Generic pentode model: 5A6_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Oct 02 10:49:25 2018
*              Anode
*              | Screen Grid
*              | |  Control Grid
*              | |  |  Cathode
*              | |  |  |
.SUBCKT 5A6_AN A G2 G1 K
BGG   GG   0 V=V(G1,K)+0.99998753
BM1   M1   0 V=(0.015698277*(URAMP(V(G2,K))+1e-10))**-0.15008063
BM2   M2   0 V=(0.90904648*(URAMP(V(GG)+URAMP(V(G2,K))/5.7938533)))**1.6500806
BP    P    0 V=0.00061411819*(URAMP(V(GG)+URAMP(V(G2,K))/6.3735501))**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00043471673*V(M1)*V(M2)
BIG   IG   0 V=0.00030705909*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.86457278*(1-URAMP(V(A,K))/(URAMP(V(A,K))+10))**1.5+0.13542722)
BIK3  IK3  0 V=V(IK2)*(URAMP(V(A,K))+5850)/(URAMP(V(G2,K))+5850)
BIK4  IK4  0 V=V(IK3)-URAMP(V(IK3)-(0.00045711939*(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.00045711939*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.15p
CGK   G1  K  5.1p
C12   G1  G2 3.4p
CAK   A   K  5.8p
.ENDS
 
Ex-Moderator
Joined 2011
2E22 SPICE Model

With a bit of tweaking, I managed to create the pentode model for the 2E22:

Code:
*
* Generic pentode model: 2E22_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Oct 09 11:41:44 2018
*               Anode
*               | Screen Grid
*               | |  Control Grid
*               | |  |  Cathode
*               | |  |  |
.SUBCKT 2E22_AN A G2 G1 K
BGG   GG   0 V=V(G1,K)+0.95592604
BM1   M1   0 V=(0.027028997*(URAMP(V(G2,K))+1e-10))**-0.35800022
BM2   M2   0 V=(0.80731961*(URAMP(V(GG)+URAMP(V(G2,K))/7.1286551)))**1.8580002
BP    P    0 V=0.00093171905*(URAMP(V(GG)+URAMP(V(G2,K))/8.8300285))**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00055787177*V(M1)*V(M2)
BIG   IG   0 V=0.00046585952*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.924621412*(1-URAMP(V(A,K))/(URAMP(V(A,K))+10))**1.5+0.075378588)
BIK3  IK3  0 V=V(IK2)*(URAMP(V(A,K))+9110)/(URAMP(V(G2,K))+9110)
BIK4  IK4  0 V=V(IK3)-URAMP(V(IK3)-(0.00062853518*(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.00062853518*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.2p
CGK   G1  K  9p
C12   G1  G2 6p
CAK   A   K  8p
.ENDS
 
So, is there a tutorial somewhere that tells me how to generate Spice models? I hate to keep troubling the rest of you! At the moment I am awaiting delivery of a nearly 100 year old radio that I would like to restore to operation. It uses ancient tubes (triodes only) that are likely to be of little interest to anyone here. I take it that some of you use a digital curve tracer of one kind or another. In fact I see the uTracer mentioned not far above and from looking at their website I get some information. At the moment it is too expensive for my purposes. That perception could change if I do too much more tube work but for now I would need a cheaper hardware option, if there are any, or is it possible to generate the models from datasheet curves?