• 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

Ex-Moderator
Joined 2011
6945 SPICE Model

Code:
*
* Generic pentode model: 6945_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Fri Sep 26 07:24:35 2014
*               Plate
*               | Screen Grid
*               | |  Control Grid
*               | |  |  Cathode
*               | |  |  |
.SUBCKT 6945_AN A G2 G1 K
BGG   GG   0 V=V(G1,K)+0.82595663
BM1   M1   0 V=(0.11497191*(URAMP(V(G2,K))+1e-10))**-1.116351
BM2   M2   0 V=(0.57331756*(URAMP(V(GG)+URAMP(V(G2,K))/3.7111884)))**2.616351
BP    P    0 V=0.00098563922*(URAMP(V(GG)+URAMP(V(G2,K))/6.4731811))**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00070876255*V(M1)*V(M2)
BIG   IG   0 V=0.00049281961*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.969983595*(1-URAMP(V(A,K))/(URAMP(V(A,K))+10))**1.5+0.030016405)
BIK3  IK3  0 V=V(IK2)*(URAMP(V(A,K))+1775)/(URAMP(V(G2,K))+1775)
BIK4  IK4  0 V=V(IK3)-URAMP(V(IK3)-(0.0007298232*(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.0007298232*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.13p
CGK   G1  K  3p
C12   G1  G2 2p
CAK   A   K  5.5p
.ENDS
 
Does anybody have model for 6BL7 ?
Code:
* Copyright (C) 2001-2005 Andrei Frolov <frolov@cita.utoronto.ca>
* Distributed under the terms of GNU Public License.
* 6BL7  -  IDH medium-mu high-transconductance twin triode
* Gp  P K  VALUE={(m)*limit(()*V(G,K)+V(P,K),0.0,1.0e16)**1.5}
* From GE 6BL7GTA datasheet - traced on 20-01-04 by AF
.subckt 6BL7  P G K
    Cgp G P  6.0p
    Ci  G K  4.2p
    Co  P K  0.9p
* Modified Koren model (8 parameters): mean fit error 1.05828 mA
    Gp  P K  VALUE=
+ {(0.03929147784m)*limit(V(P,K)*ln(1.0+(-0.1891613093)+exp((3.601060498)+
+ (3.601060498)*((17.90493807)+(-31.36422356m)*V(G,K))*V(G,K)/sqrt((55.20536279)**2+
+ (V(P,K)-(5.760795362))**2)))/(3.601060498),0.0,1.0e16)**(1.471182374)}
.ends 6BL7
I made this one in Curve Captor using Ayumi Nakabayashi's 6BL7.csv file.
Code:
* --------------------------------------------------------------
* 6BL7_ANK PSpice model for Micro-Cap
* Modified Koren model (8 parameters): mean fit error 1.36513mA
* Traced by Wayne Clay using Curve Captor v0.9.1
* with data from Ayumi Nakabayashi 6BL7.csv file
* --------------------------------------------------------------
.subckt 6BL7_ANK  P G K
    Gp  P K  VALUE=
+ {(0.04242666662m)*limit(V(P,K)*ln(1.0+(-0.1223149098)+exp((4.230103947)+
+ (4.230103947)*((17.49129867)+(-28.22560122m)*V(G,K))*V(G,K)/sqrt((61.35171517)**2+
+ (V(P,K)-(8.607832432))**2)))/(4.230103947),0.0,1.0e16)**(1.457384339)}
  Cgp G P 6.7p ; 0.7p added
  Cgk G K 4.7p ; 0.5p added
  Cpk P K 1.6p ; 0.7p added
  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 6BL7_ANK
 
Last edited:
Try this model. I have not tried ECC99 in practice, but I have planned.


* Generic triode model: ECC99_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Sun Jan 12 18:46:10 2014
* Plate
* | Grid
* | | Cathode
* | | |
.SUBCKT ECC99 A G K
BGG GG 0 V=V(G,K)+0.042958289
BM1 M1 0 V=(0.02038404*(URAMP(V(A,K))+1e-10))**-0.86570009
BM2 M2 0 V=(0.63406177*(URAMP(V(GG)+URAMP(V(A,K))/17.952193)+1e-10))**2.3657001
BP P 0 V=0.005978906*(URAMP(V(GG)+URAMP(V(A,K))/28.313003)+1e-10)**1.5
BIK IK 0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.0037149974*V(M1)*V(M2)
BIG IG 0 V=0.002989453*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.0033089913*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK G K I=V(IG)
* CAPS
CGA G A 5.8p
CGK G K 5.1p
CAK A K 0.8p
.ENDS
 
Administrator
Joined 2004
Paid Member
Unless you add that subckt to your existing library and add a triode ASY file named ECC99 you will need to use the .inc command and rename the subckt file as an .inc file.. You cannot edit or modify the symbol or file associated with it from the simulator directly.

Is this what you are looking for?
 

Attachments

  • Spice navigation.PNG
    Spice navigation.PNG
    30 KB · Views: 614