• 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

6BQ5 Ayumi model is in the 'pc tube' library, posted way back at the beginning of this thread.

http://www.diyaudio.com/forums/tubes-valves/243950-vacuum-tube-spice-models.html#post3662623

Please remember that if you re-post any of the Ayumi models, you should include the copyright information. These models are copyrighted by their author.

--

Thanks for your reply. Believe me I indeed plowed through all the pages here but must have overlooked it somewhere.
Leaves me with the question: Where can I download that library?
 
It is similar to 6AS7G model, but here it comes:

*$
*Eugene V. Karpov library
*For tube of manufacture in USSR
.SUBCKT 6N13S 1 2 3 ; P G C (Triode) 31-Agu-2002
+ PARAMS: MU= 2.35 EX= 1.247 KG1= 637.1 KP= 12.40
+ KVB=300.0 VCT=0.0 RGI=1k
+ CCG=8P CGP=10P CCP=3P
E1 7 0 VALUE=
+{V(1,3)/KP*LN(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),EX)+PWRS(V(7),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
.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)
.ENDS
 
Ex-Moderator
Joined 2011
EF50 PSpice Model

Code:
*
* Generic pentode model: EF50_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Jul 15 13:48:26 2014
*               Plate
*               | Screen Grid
*               | |  Control Grid
*               | |  |  Cathode
*               | |  |  |
.SUBCKT EF50_AN A G2 G1 K
.param GG  {(V(G1,K)+0.075140135)}
.param EP  {URAMP(V(A,K))}
.param EG  {URAMP(V(G1,K))}
.param EG2 {URAMP(V(G2,K))}
.param M1  {((0.016755255*EG2)^-1.7905817)}
.param M2  {((0.45584646*URAMP(GG+EG2/32.476589))^3.2905817)}
.param P   {(0.0062465593*URAMP(GG+EG2/71.244579)^1.5)}
.param IK  {(U(GG)*P+(1-U(GG))*0.008577125*M1*M2)}
.param IG  {(0.0031232796*EG^1.5*(EG/(EP+EG)*1.2+0.4))}
.param IK2 {((IK-IG)*(1-0.4*(EXP(-EP/(EG2+1e-10)*15)-EXP(-15))))}
.param IG2T {(IK2*(0.62975016*(1-EP/(EP+10))^1.5+0.37024984))}
.param IK3 {(IK2*(EP+11000)/(EG2+11000))}
.param IK4 {(IK3-URAMP(IK3-(0.0032552566*(EP+URAMP(EG2-EP))^1.5)))}
.param IP  {URAMP(IK4-IG2T-URAMP(IK4-IG2T-(0.0032552566*EP^1.5)))}
BIAK A  K I=IP+1e-10*V(A,K)
BIG2 G2 K I=URAMP(IK4-IP)
BIGK G1 K I=IG
* CAPS
CGA G1 A  0.003p
CGK G1 K  6p
C12 G1 G2 4p
CAK A  K  5.3p
.ENDS
 
Dear jazbo8,
Thanks for your support, the library cannot run on my PSpice 8.0,the error message as the attached.

EF50_AN.png

Very interesting,only run on this format.....
.SUBCKT 6AU6_P 1 4 2 3
+ PARAMS: MU=39.3 EX=1.596 KG1=1340 KP=127 KVB=6.6 ; kg2=1000
 
Last edited:
This should work in PSpice:
Code:
*
* Generic pentode model: EF50_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Jul 15 13:48:26 2014
*               Plate
*               | Screen Grid
*               | |  Control Grid
*               | |  |  Cathode
*               | |  |  |
.SUBCKT EF50_AN A G2 G1 K
EGG   GG   0 VALUE={V(G1,K)+0.075140135}
EM1   M1   0 VALUE={(0.016755255*(LIMIT(V(G2,K),0,1e16)+1e-10))**-1.7905817}
EM2   M2   0 VALUE={(0.45584646*(LIMIT((V(GG)+LIMIT(V(G2,K),0,1e16)/32.476589),0,1e16)))**3.2905817}
EP    P    0 VALUE={0.0062465593*(LIMIT((V(GG)+LIMIT(V(G2,K),0,1e16)/71.244579),0,1e16))**1.5}
EIK   IK   0 VALUE={STP(V(GG))*V(P)+(1-STP(V(GG)))*0.008577125*V(M1)*V(M2)}
EIG   IG   0 VALUE={0.0031232796*LIMIT(V(G1,K),0,1e16)**1.5*(LIMIT(V(G1,K),0,1e16)/(LIMIT(V(A,K),0,1e16)+LIMIT(V(G1,K),0,1e16))*1.2+0.4)}
EIK2  IK2  0 VALUE={V(IK,IG)*(1-0.4*(EXP(-LIMIT(V(A,K),0,1e16)/LIMIT(V(G2,K),0,1e16)*15)-EXP(-15)))}
EIG2T IG2T 0 VALUE={V(IK2)*(0.62975016*(1-LIMIT(V(A,K),0,1e16)/(LIMIT(V(A,K),0,1e16)+10))**1.5+0.37024984)}
EIK3  IK3  0 VALUE={V(IK2)*(LIMIT(V(A,K),0,1e16)+11000)/(LIMIT(V(G2,K),0,1e16)+11000)}
EIK4  IK4  0 VALUE={V(IK3)-LIMIT(V(IK3)-(0.0032552566*(LIMIT(V(A,K),0,1e16)+LIMIT(LIMIT(V(G2,K),0,1e16)-LIMIT(V(A,K),0,1e16),0,1e16))**1.5),0,1e16)}
EIP   IP   0 VALUE={LIMIT(V(IK4,IG2T)-LIMIT(V(IK4,IG2T)-(0.0032552566*LIMIT(V(A,K),0,1e16)**1.5),0,1e16),0,1e16)}
GIAK  A    K VALUE={V(IP)+1e-10*V(A,K)}
GIG2  G2   K VALUE={LIMIT(V(IK4,IP),0,1e16)}
GIGK  G1   K VALUE={V(IG)}
* CAPS
CGA   G1  A  0.003p
CGK   G1  K  6p
C12   G1  G2 4p
CAK   A   K  5.3p
.ENDS
 
Ex-Moderator
Joined 2011
Try this one, we will get it eventually...

Code:
*
* Generic pentode model: EF50_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Jul 15 13:48:26 2014
*               Plate
*               | Screen Grid
*               | |  Control Grid
*               | |  |  Cathode
*               | |  |  |
.SUBCKT EF50_AN A G2 G1 K
.param   GG   0 V=V(G1,K)+0.075140135
.param   M1   0 V=(0.016755255*(LIMIT(V(G2,K),0,1e16)+1e-10))**-1.7905817
.param   M2   0 V=(0.45584646*(LIMIT(V(GG)+LIMIT(V(G2,K),0,1e16)/32.476589,0,1e16)))**3.2905817
.param    P    0 V=0.0062465593*(LIMIT(V(GG)+LIMIT(V(G2,K),0,1e16)/71.244579,0,1e16))**1.5
.param   IK   0 V=IF(V(GG)>0,1,0)*V(P)+(1-IF(V(GG)>0,1,0))*0.008577125*V(M1)*V(M2)
.param   IG   0 V=0.0031232796*LIMIT(V(G1,K),0,1e16)**1.5*(LIMIT(V(G1,K),0,1e16)/(LIMIT(V(A,K),0,1e16)+LIMIT(V(G1,K),0,1e16))*1.2+0.4)
.param  IK2  0 V=V(IK,IG)*(1-0.4*(EXP(-LIMIT(V(A,K),0,1e16)/LIMIT(V(G2,K),0,1e16)*15)-EXP(-15)))
.param IG2T 0 V=V(IK2)*(0.62975016*(1-LIMIT(V(A,K),0,1e16)/(LIMIT(V(A,K),0,1e16)+10))**1.5+0.37024984)
.param  IK3  0 V=V(IK2)*(LIMIT(V(A,K),0,1e16)+11000)/(LIMIT(V(G2,K),0,1e16)+11000)
.param  IK4  0 V=V(IK3)-LIMIT(V(IK3)-(0.0032552566*(LIMIT(V(A,K),0,1e16)+LIMIT(V(G2,K),0,1e16)-LIMIT(V(A,K),0,1e16))**1.5),0,1e16)
.param   IP   0 V=LIMIT(V(IK4,IG2T)-LIMIT(V(IK4,IG2T)-(0.0032552566*LIMIT(V(A,K),0,1e16)**1.5),0,1e16),0,1e16)
BIAK  A    K I=V(IP)+1e-10*V(A,K)
BIG2  G2   K I=LIMIT(V(IK4,IP),0,1e16)
BIGK  G1   K I=V(IG)
* CAPS
CGA   G1  A  0.003p
CGK   G1  K  6p
C12   G1  G2 4p
CAK   A   K  5.3p
.ENDS