• 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

The Windows' (8.1 and XP) "Compressed (zipped) Folders Extraction Wizard" says "The compressed (zipped) folder is empty". Is there something else I should be using to unzip it? :confused:
Thanks Again! :)
I zipped it from my Linux machine and apparently there is a path issue (leading slash), so I went through some convoluted extraction procedure on Windows 7 using 7zip to extract it twice. So here is a compatible Windoze zip file.

Sorry about that :D
 

Attachments

  • cogs_curvecaptor02.zip
    81.3 KB · Views: 148

Attachments

  • Ayumi on Philips ECC82.jpg
    Ayumi on Philips ECC82.jpg
    844.1 KB · Views: 381
  • Clay 3F4 Mazda 12AU7 on Philips ECC82.jpg
    Clay 3F4 Mazda 12AU7 on Philips ECC82.jpg
    786.3 KB · Views: 359
  • Koren Mazda 12AU7 on Philips ECC82.jpg
    Koren Mazda 12AU7 on Philips ECC82.jpg
    784.7 KB · Views: 347
  • Clay JJ-ECC82 on Philips ECC82.jpg
    Clay JJ-ECC82 on Philips ECC82.jpg
    783.5 KB · Views: 342
  • Curve Capture 12AU7A GE on Philips ECC82.jpg
    Curve Capture 12AU7A GE on Philips ECC82.jpg
    849.8 KB · Views: 335
  • Koren Sylvania 12AU7 on Philips ECC82.jpg
    Koren Sylvania 12AU7 on Philips ECC82.jpg
    798.7 KB · Views: 108
I have not managed to find a working tube model for soviet 6P41S yet.

I have this:

.SUBCKT PENT_6P41S 1 2 3 4 ; P G K G2
+ PARAMS: CCG=3P CGP=1.4P CCP=1.9P RGI=2000
+ MU=91.184 EX=1.3719 KG1=275.0 KG2=4500.0 KP=10.65 KVB=45.0 ; Vp_MAX=420.0 Ip_M
AX=0.256 Vg_step=1.0
*--------------------------------------------------
RE1 7 0 1MEG ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1 7 0 VALUE= ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(4,3)/KP*LOG(1+EXP((1/MU+V(2,3)/V(4,3))*KP))}
G1 1 3 VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG1*ATAN(V(1,3)/KVB)}
G2 4 3 VALUE={(EXP(EX*(LOG((V(4,3)/MU)+V(2,3)))))/KG2}
RCP 1 3 1G ; FOR CONVERGENCE
C1 2 3 {CCG} ; CATHODE-GRID 1
C2 1 2 {CPG1} ; GRID 1-PLATE
C3 1 3 {CCP} ; CATHODE-PLATE
R1 2 5 {RGI} ; FOR GRID CURRENT
D3 5 3 DX ; FOR GRID CURRENT
.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)
.ENDS

But it gives an error:
 

Attachments

  • Spice_ilm.jpg
    Spice_ilm.jpg
    4 KB · Views: 109
I have not managed to find a working tube model for soviet 6P41S yet.

I have this:

.SUBCKT PENT_6P41S 1 2 3 4 ; P G K G2
+ PARAMS: CCG=3P CGP=1.4P CCP=1.9P RGI=2000
+ MU=91.184 EX=1.3719 KG1=275.0 KG2=4500.0 KP=10.65 KVB=45.0 ; Vp_MAX=420.0 Ip_M
AX=0.256 Vg_step=1.0
*--------------------------------------------------
But it gives an error:
The parameters "AX=0.256 Vg_step=1.0" are on a new line, needs to be commented out as there are no corresponding 'nodes' in the subckt. Probably just a word wrap problem. ;) Also the nodes were not in the correct order for the tetrode symbol in LTspice

Corrected below:

Code:
.SUBCKT PENT_6P41S 1 4 2 3 ; P G2 G K
+ PARAMS: CCG=3P CGP=1.4P CCP=1.9P RGI=2000
+ MU=91.184 EX=1.3719 KG1=275.0 KG2=4500.0 KP=10.65 KVB=45.0 ; Vp_MAX=420.0 Ip_M AX=0.256 Vg_step=1.0
*--------------------------------------------------
RE1 7 0 1MEG ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1 7 0 VALUE= ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(4,3)/KP*LOG(1+EXP((1/MU+V(2,3)/V(4,3))*KP))}
G1 1 3 VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG1*ATAN(V(1,3)/KVB)}
G2 4 3 VALUE={(EXP(EX*(LOG((V(4,3)/MU)+V(2,3)))))/KG2}
RCP 1 3 1G ; FOR CONVERGENCE
C1 2 3 {CCG} ; CATHODE-GRID 1
C2 1 2 {CPG1} ; GRID 1-PLATE
C3 1 3 {CCP} ; CATHODE-PLATE
R1 2 5 {RGI} ; FOR GRID CURRENT
D3 5 3 DX ; FOR GRID CURRENT
.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)
.ENDS
 
Last edited:
Thanks for all the models! Here’s how yours (and several others’) compare to the Philips ECC82 data sheet (http://www.drtube.com/datasheets/ecc82-philips1954.pdf). Your Mazda is almost as close as Ayumi’s. I used the 3F4 version – would you expect there to be any differences with the others? :D
Barring syntax errors (as long as your simulator and the model you're trying to use speak the same language) there should be no difference as to what flavour of spice you use.
 
Thanks.

I tested that and got the following errors:

Sorry that was my fault, I should have tested in LTspice before posting. :eek:

The node names in the params line must match the nodes in the subckt.

Code:
.SUBCKT PENT_6P41S 1 4 2 3 ; P G2 G K
+ PARAMS: CCG=3P CGP=1.4P CCP=1.9P RGI=2000
+ MU=91.184 EX=1.3719 KG1=275.0 KG2=4500.0 KP=10.65 KVB=45.0 ; Vp_MAX=420.0 Ip_M AX=0.256 Vg_step=1.0
*--------------------------------------------------
RE1 7 0 1MEG ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1 7 0 VALUE= ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(4,3)/KP*LOG(1+EXP((1/MU+V(2,3)/V(4,3))*KP))}
G1 1 3 VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG1*ATAN(V(1,3)/KVB)}
G2 4 3 VALUE={(EXP(EX*(LOG((V(4,3)/MU)+V(2,3)))))/KG2}
RCP 1 3 1G ; FOR CONVERGENCE
C1 2 3 {CCG} ; CATHODE-GRID 1
C2 1 2 {CGP} ; GRID 1-PLATE
C3 1 3 {CCP} ; CATHODE-PLATE
R1 2 5 {RGI} ; FOR GRID CURRENT
D3 5 3 DX ; FOR GRID CURRENT
.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)
.ENDS
 
Ian,

Have you compiled a personal tube library based on Curve Captor models that you would be willing to share? I design with only a handful of mainstream tubes so my personal triode library consists primarily of the 12A*7 family, the 6DJ8/6922, and the 6SN7/6CG7, all based on the Ayumi model. These have proven to be accurate enough for my purposes but I also like to have another model to run simulations against to "get a second opinion" when the results don't look quite right.

Thanks.

I mainly use this one that I found on the internet.

Cheers

Ian
 

Attachments

  • myaudiospice.txt
    2.7 KB · Views: 169
Last edited:
kees,

I’ve attached two Multisim circuits for doing DC Sweep analyses with cogsncogs’ models from this forum. One is his 3F4 Mazda 12AU7 (Dual Triode) Model and the other is his 6P41S (Pentode) model (I modified that one by replacing LOG with LN to keep Multisim from whining). Note that it doesn’t seem to draw any screen current though!

Depending on the version of Multisim 13 you have, you should be able to right click on the tube in the each circuit and “Save component to database” of your choosing. I’d recommend using these triode and pentode models rather than the ones in Multisim’s Master Database because Multisim’s model-symbol pin mapping is different from everyone else’s.

I’ve also attached details of the procedure that I use to generate new models. Please let me know how it works and/or what corrections it needs.;)

Jmack

I need tube models for multisim, do have someone experience to change them for multisim or now how to let them work.

thanks

kees
 

Attachments

  • Multisim13_Tube_Models.zip
    225.9 KB · Views: 143
kees,

I’ve attached two Multisim circuits for doing DC Sweep analyses with cogsncogs’ models from this forum. One is his 3F4 Mazda 12AU7 (Dual Triode) Model and the other is his 6P41S (Pentode) model (I modified that one by replacing LOG with LN to keep Multisim from whining). Note that it doesn’t seem to draw any screen current though!

Jmack

I did this really quickly, seems to be fairly close for screen current and I can't read Cyrillic very well... :D
Code:
.SUBCKT 6P41S 1 4 2 3 ; P G2 G K
+ PARAMS: CCG=3P CGP=1.4P CCP=1.9P RGI=2000
+ MU=91.184 EX=1.3719 KG1=275.0 KG2=4500.0 KP=10.65 KVB=45.0 ; Vp_MAX=420.0 Ip_M AX=0.256 Vg_step=1.0
*--------------------------------------------------
RE1 7 0 1MEG ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1 7 0 VALUE= ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(4,3)/KP*LN(1+EXP((1/MU+V(2,3)/V(4,3))*KP))}
G1 1 3 VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG1*ATAN(V(1,3)/KVB)}
*G2 4 3 VALUE={(EXP(EX*(LN((V(4,3)/MU)+V(2,3)))))/KG2}
G2 4 3 VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG2*(2.5708-ATAN(V(1,3)/KVB))}
RCP 1 3 1G ; FOR CONVERGENCE
C1 2 3 {CCG} ; CATHODE-GRID 1
C2 1 2 {CGP} ; GRID 1-PLATE
C3 1 3 {CCP} ; CATHODE-PLATE
R1 2 5 {RGI} ; FOR GRID CURRENT
D3 5 3 DX ; FOR GRID CURRENT
.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)
.ENDS
 
Got screen! :D

I did this really quickly, seems to be fairly close for screen current and I can't read Cyrillic very well... :D
Code:
.SUBCKT 6P41S 1 4 2 3 ; P G2 G K
+ PARAMS: CCG=3P CGP=1.4P CCP=1.9P RGI=2000
+ MU=91.184 EX=1.3719 KG1=275.0 KG2=4500.0 KP=10.65 KVB=45.0 ; Vp_MAX=420.0 Ip_M AX=0.256 Vg_step=1.0
*--------------------------------------------------
RE1 7 0 1MEG ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1 7 0 VALUE= ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(4,3)/KP*LN(1+EXP((1/MU+V(2,3)/V(4,3))*KP))}
G1 1 3 VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG1*ATAN(V(1,3)/KVB)}
*G2 4 3 VALUE={(EXP(EX*(LN((V(4,3)/MU)+V(2,3)))))/KG2}
G2 4 3 VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG2*(2.5708-ATAN(V(1,3)/KVB))}
RCP 1 3 1G ; FOR CONVERGENCE
C1 2 3 {CCG} ; CATHODE-GRID 1
C2 1 2 {CGP} ; GRID 1-PLATE
C3 1 3 {CCP} ; CATHODE-PLATE
R1 2 5 {RGI} ; FOR GRID CURRENT
D3 5 3 DX ; FOR GRID CURRENT
.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)
.ENDS
 

Attachments

  • Plate and Screen Characteristics_Page_1.jpg
    Plate and Screen Characteristics_Page_1.jpg
    245.2 KB · Views: 316
  • Plate and Screen Characteristics_Page_2.jpg
    Plate and Screen Characteristics_Page_2.jpg
    248.6 KB · Views: 309