813 SPICE Models
The following models are generated from a curve traced sample of 813, so they do not match up well with the GK-71 nor the 813 datasheets, use them at your risk...
Pentode Model:
Triode-Connected Model:
The following models are generated from a curve traced sample of 813, so they do not match up well with the GK-71 nor the 813 datasheets, use them at your risk...
Pentode Model:
Code:
*
* Generic pentode model: 813_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Thu Dec 03 12:11:17 2015
* Plate
* | Screen Grid
* | | Control Grid
* | | | Cathode
* | | | |
.SUBCKT 813_AN A G2 G1 K
BGG GG 0 V=V(G1,K)+1
BM1 M1 0 V=(0.021743366*(URAMP(V(G2,K))+1e-10))**-0.26335009
BM2 M2 0 V=(0.85065354*(URAMP(V(GG)+URAMP(V(G2,K))/6.868599)))**1.7633501
BP P 0 V=0.00076129879*(URAMP(V(GG)+URAMP(V(G2,K))/8.0744965))**1.5
BIK IK 0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00048148075*V(M1)*V(M2)
BIG IG 0 V=0.0003806494*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.76586181*(1-URAMP(V(A,K))/(URAMP(V(A,K))+10))**1.5+0.23413819)
BIK3 IK3 0 V=V(IK2)*(URAMP(V(A,K))+3150)/(URAMP(V(G2,K))+3150)
BIK4 IK4 0 V=V(IK3)-URAMP(V(IK3)-(0.00052636832*(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.00052636832*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.25p
CGK G1 K 9.6p
C12 G1 G2 6.4p
CAK A K 14p
.ENDS
Triode-Connected Model:
Code:
*
* Generic triode model: 813_T_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Thu Dec 03 12:10:53 2015
* Plate
* | Grid
* | | Cathode
* | | |
.SUBCKT 813_T_AN A G K
BGG GG 0 V=V(G,K)+1
BM1 M1 0 V=(0.021743173*(URAMP(V(A,K))+1e-10))**-0.26334736
BM2 M2 0 V=(0.85065486*(URAMP(V(GG)+URAMP(V(A,K))/6.8685993)+1e-10))**1.7633474
BP P 0 V=0.00065254045*(URAMP(V(GG)+URAMP(V(A,K))/8.0744843)+1e-10)**1.5
BIK IK 0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00041269775*V(M1)*V(M2)
BIG IG 0 V=0.00032627022*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.00045117209*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK G K I=V(IG)
* CAPS
CGA G A 0.25p
CGK G K 16p
CAK A K 14p
.ENDS
6Y6G SPICE Models
Based on the Tung-Sol datasheet.
6Y6G Triode-Connected Model:
6Y6G Pentode Model:
Based on the Tung-Sol datasheet.
6Y6G Triode-Connected Model:
Code:
*
* Generic triode model: 6Y6_T_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Thu Dec 17 11:50:33 2015
* Plate
* | Grid
* | | Cathode
* | | |
.SUBCKT 6Y6_T_AN A G K
BGG GG 0 V=V(G,K)+0.979629
BM1 M1 0 V=(0.11763809*(URAMP(V(A,K))+1e-10))**-1.1516733
BM2 M2 0 V=(0.56568056*(URAMP(V(GG)+URAMP(V(A,K))/3.6919967)+1e-10))**2.6516733
BP P 0 V=0.0021415893*(URAMP(V(GG)+URAMP(V(A,K))/6.5266459)+1e-10)**1.5
BIK IK 0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.0015796755*V(M1)*V(M2)
BIG IG 0 V=0.0010707946*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.0015813874*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK G K I=V(IG)
* CAPS
CGA G A 0.7p
CGK G K 12p
CAK A K 7.5p
.ENDS
6Y6G Pentode Model:
Code:
*
* Generic pentode model: 6Y6_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Thu Dec 17 11:50:12 2015
* Plate
* | Screen Grid
* | | Control Grid
* | | | Cathode
* | | | |
.SUBCKT 6Y6_AN A G2 G1 K
BGG GG 0 V=V(G1,K)+0.979629
BM1 M1 0 V=(0.11763809*(URAMP(V(G2,K))+1e-10))**-1.1516733
BM2 M2 0 V=(0.56568056*(URAMP(V(GG)+URAMP(V(G2,K))/3.6919967)))**2.6516733
BP P 0 V=0.0021415893*(URAMP(V(GG)+URAMP(V(G2,K))/6.5266459))**1.5
BIK IK 0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.0015796755*V(M1)*V(M2)
BIG IG 0 V=0.0010707946*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.960484998*(1-URAMP(V(A,K))/(URAMP(V(A,K))+10))**1.5+0.039515002)
BIK3 IK3 0 V=V(IK2)*(URAMP(V(A,K))+674.1)/(URAMP(V(G2,K))+674.1)
BIK4 IK4 0 V=V(IK3)-URAMP(V(IK3)-(0.0015813874*(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.0015813874*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.7p
CGK G1 K 7.2p
C12 G1 G2 4.8p
CAK A K 7.5p
.ENDS
Not super accurate, but fairly close.Hi. I've looked everywhere for a model for the 6GU7.
Would somebody be able to generate one for me please?
Thanks!
Code:
* ==============================================================
* 6GU7_GE LTSpice model
* Modified Koren model (8 parameters): mean fit error 0.238599mA
* Traced by Wayne Clay on 10/25/2013 using Curve Captor v0.9.1
* from General Electric data sheet
* ==============================================================
.subckt 6GU7_GE P G K
Bp P K I=
+ (0.06701802393m)*uramp(V(P,K)*ln(1.0+(-0.0730722987)+exp((2.148817512)+
+ (2.148817512)*((22.75224837)+(-199.9767109m)*V(G,K))*V(G,K)/sqrt((48.25806774)**2+
+ (V(P,K)-(23.52521336))**2)))/(2.148817512))**(1.259517458)
Cgp G P 3.7 ; 0.7p added
Cgk G K 4.1p ; 0.7p added
Cpk P K 0.64p ; 0.2p 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 6GU7_GE
Not super accurate, but fairly close.
Why not use the Ayumi N model for 12BH7? That's the same tube, but with a 6.3V heater instead of a center tapped 12.6V heater.
--
My model is somewhat more accurate and Micro Cap pukes (matrix is singular error) on Ayumi's models.Not super accurate, but fairly close.
Why not use the Ayumi N model for 12BH7? That's the same tube, but with a 6.3V heater instead of a center tapped 12.6V heater.
--
#1
6GU7 Curve Captor
#2
Green = 6GU7_GE
Blue = 12BH7_AN
Attachments
I get an error. It says, "Singular matrix: check node m1#source iteration No. 6"
I made a file 6GU7_GE.asy to pick this model from a list of triodes within LTspice. Here's my .asy file -- that is NOT WORKING (so don't try to use it yet):
Do you see anything in there that would generate this error?
--
PS: I use your 6SN7_GE model all the time, and that works great. I tried taking my 6SN7_GE.asy file and modifying it to point to 6GU7_GE.inc. Same error. So I think the incompatibility must be somewhere in the 6GU7_GE.inc file (which is just your model copied-pasted straight from your post).
I made a file 6GU7_GE.asy to pick this model from a list of triodes within LTspice. Here's my .asy file -- that is NOT WORKING (so don't try to use it yet):
Code:
Version 4
SymbolType CELL
LINE Normal -48 0 -28 0
LINE Normal -20 0 -12 0
LINE Normal -4 0 4 0
LINE Normal 12 0 20 0
LINE Normal 28 0 36 0
LINE Normal 0 -48 0 -16
LINE Normal -20 -16 20 -16
LINE Normal -20 -12 20 -12
LINE Normal -20 -16 -20 -12
LINE Normal 20 -16 20 -12
LINE Normal -24 12 24 12
LINE Normal -32 48 -32 20
LINE Normal -24 12 -32 20
LINE Normal 24 12 32 20
LINE Normal -28 16 28 16
CIRCLE Normal -48 -48 48 48
WINDOW 0 8 -64 Left 0
WINDOW 3 -24 64 Left 0
SYMATTR Value 6GU7_GE
SYMATTR Prefix X
SYMATTR SpiceModel 6GU7_GE.inc
SYMATTR Value2 6GU7_GE
PIN 0 -48 NONE 0
PINATTR PinName P
PINATTR SpiceOrder 1
PIN -48 0 NONE 0
PINATTR PinName G
PINATTR SpiceOrder 2
PIN -32 48 NONE 0
PINATTR PinName K
PINATTR SpiceOrder 3
Do you see anything in there that would generate this error?
--
PS: I use your 6SN7_GE model all the time, and that works great. I tried taking my 6SN7_GE.asy file and modifying it to point to 6GU7_GE.inc. Same error. So I think the incompatibility must be somewhere in the 6GU7_GE.inc file (which is just your model copied-pasted straight from your post).
Last edited:
I get an error. It says, "Singular matrix: check node m1#source iteration No. 6"
I made a file 6GU7_GE.asy to pick this model from a list of triodes within LTspice. Here's my .asy file -- that is NOT WORKING (so don't try to use it yet):
I've found the typo; missing "p" in this line:
Cgp G P 3.7 ; 0.7p added
Should be:
Cgp G P 3.7p ; 0.7p added
Corrected here:
My apologies...Code:* ============================================================== * 6GU7_GE LTSpice model * Modified Koren model (8 parameters): mean fit error 0.238599mA * Traced by Wayne Clay on 10/25/2013 using Curve Captor v0.9.1 * from General Electric data sheet * ============================================================== .subckt 6GU7_GE P G K Bp P K I= + (0.06701802393m)*uramp(V(P,K)*ln(1.0+(-0.0730722987)+exp((2.148817512)+ + (2.148817512)*((22.75224837)+(-199.9767109m)*V(G,K))*V(G,K)/sqrt((48.25806774)**2+ + (V(P,K)-(23.52521336))**2)))/(2.148817512))**(1.259517458) Cgp G P 3.7p ; 0.7p added Cgk G K 4.1p ; 0.7p added Cpk P K 0.64p ; 0.2p 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 6GU7_GE
- Home
- Amplifiers
- Tubes / Valves
- Vacuum Tube SPICE Models