Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Tubes / Valves All about our sweet vacuum tubes :) Threads about Musical Instrument Amps of all kinds should be in the Instruments & Amps forum

Vacuum Tube SPICE Models
Vacuum Tube SPICE Models
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 16th July 2014, 10:34 AM   #521
nl3prc is offline nl3prc  Netherlands
diyAudio Member
 
nl3prc's Avatar
 
Join Date: Mar 2012
Location: Den Helder The Netherlands
Is there also a Ayumi model for the 807
  Reply With Quote
Old 16th July 2014, 02:38 PM   #522
jazbo8 is offline jazbo8
diyAudio Moderator
 
jazbo8's Avatar
 
Join Date: Jan 2011
Location: In Transient
Vacuum Tube SPICE Models
807 = 6L6
  Reply With Quote
Old 17th July 2014, 09:43 AM   #523
nl3prc is offline nl3prc  Netherlands
diyAudio Member
 
nl3prc's Avatar
 
Join Date: Mar 2012
Location: Den Helder The Netherlands
Thanks found it on page 8
  Reply With Quote
Old 31st July 2014, 01:30 PM   #524
MCSammer is offline MCSammer  United States
diyAudio Member
 
Join Date: Jan 2014
Default 6KT8

I've created a model for the triode of the 6KT8.

Code:
*
* Generic triode model: 6KT8-Triode
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Tue Jul 29 15:14:00 2014
*                   Plate
*                   | Grid
*                   | | Cathode
*                   | | |
.SUBCKT 6KT8-Triode A G K
BGG   GG   0 V=V(G,K)+0.21127936
BM1   M1   0 V=(0.0039561161*(URAMP(V(A,K))+1e-10))^-0.75363001
BM2   M2   0 V=(0.66559284*(URAMP(V(GG)+URAMP(V(A,K))/84.529157)+1e-10))^2.25363
BP    P    0 V=0.0058042243*(URAMP(V(GG)+URAMP(V(A,K))/126.9983)+1e-10)^1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.0034550891*V(M1)*V(M2)
BIG   IG   0 V=0.0029021122*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.0029708017*URAMP(V(A,K))^1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 3p
CGK   G    K 3.2p
CAK   A    K 1.6p
.ENDS
Could anyone create a model for the pentode? I can't get the knee sharp enough with Ayumi's method.
Attached Images
File Type: png Overlay.png (325.5 KB, 294 views)
Attached Files
File Type: pdf 6KT8.pdf (475.8 KB, 15 views)
File Type: txt 6KT8T.csv.txt (1.2 KB, 12 views)
  Reply With Quote
Old 31st July 2014, 02:01 PM   #525
jazbo8 is offline jazbo8
diyAudio Moderator
 
jazbo8's Avatar
 
Join Date: Jan 2011
Location: In Transient
Vacuum Tube SPICE Models
Quote:
Originally Posted by MCSammer View Post
I can't get the knee sharp enough with Ayumi's method.
Do you have triode-strapped curves for the pentode section? If not, you can't make the SPICE model using Ayumi's method.
  Reply With Quote
Old 31st July 2014, 07:03 PM   #526
MCSammer is offline MCSammer  United States
diyAudio Member
 
Join Date: Jan 2014
I believe I have a good model for the pentode 6KT8

Code:
 
 
**** 6KT8P ******************************************
* Created on 07/31/2014 13:59 using paint_kit.jar 2.6 
* www.dmitrynizh.com/tubeparams_image.htm
* Plate Curves image file: 6KT8P.png
* Data source link: 
*----------------------------------------------------------------------------------
.SUBCKT PENT_6KT8P 1 2 3 4 ; P G K G2
+ PARAMS: CCG=7.5P  CGP=0.046P CCP=2.2P RGI=2000
+ MU=363.3 KG1=144.6 KP=83.7 KVB=7.13 EX=1.77 KG2=0.22 
* Vp_MAX=500 Ip_MAX=35 Vg_step=0.5 Vg_start=0 Vg_count=8
* Rp=1600 Vg_ac=23.5 P_max=2.5 Vg_qui=-23.4 Vp_qui=240 UL=0.464 EG2=125
* X_MIN=45 Y_MIN=40 X_SIZE=531 Y_SIZE=370 FSZ_X=1044 FSZ_Y=696 XYGrid=false
* showLoadLine=n showIp=y isDHT=n isPP=n isAsymPP=n isUL=n showDissipLimit=y 
* showIg1=n gridLevel2=n isInputSnapped=n  
* XYProjections=n harmonicPlot=y harmonics=y
*----------------------------------------------------------------------------------
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
*$
This first two bias lines aren't exactly on, but I think it looks decent enough (though I'm still pretty new at this so I could be totally wrong.)
Attached Images
File Type: png 6KTP_Paint_Kip.png (188.9 KB, 286 views)
Attached Files
File Type: pdf 6KT8.pdf (475.8 KB, 15 views)
File Type: txt 6KT8P.inc.txt (1.4 KB, 12 views)
  Reply With Quote
Old 31st July 2014, 07:11 PM   #527
jazbo8 is offline jazbo8
diyAudio Moderator
 
jazbo8's Avatar
 
Join Date: Jan 2011
Location: In Transient
Vacuum Tube SPICE Models
That's a pretty good match, I doubt Ayumi's version would be any better, good job!
  Reply With Quote
Old 1st August 2014, 02:33 PM   #528
MCSammer is offline MCSammer  United States
diyAudio Member
 
Join Date: Jan 2014
Quote:
Originally Posted by MCSammer View Post
I believe I have a good model for the pentode 6KT8

This first two bias lines aren't exactly on, but I think it looks decent enough (though I'm still pretty new at this so I could be totally wrong.)
Turns out the model I posted yesterday was actually pretty crappy lol. It didn't simulate in LTSpice at all and I had to tweak the subckt because the nodes didn't match up with the pentode/tetrode symbol I have. The model below is the tweaked one from the LTSpice picture, but I've attached the file that was generated by Paint_Kip if anyone wants to tweak it further.

Code:
**** 6KT8P ******************************************
* Created on 08/01/2014 09:21 using paint_kit.jar 2.6
* www.dmitrynizh.com/tubeparams_image.htm
* Plate Curves image file: 6KT8P.png
* Data source link:
*----------------------------------------------------------------------------------
.SUBCKT PENT_6KT8P 1 2 3 4 ; P G K G2
+ PARAMS: CCG=7.5P  CGP=0.046P CCP=2.2P RGI=2000
+ MU=10000 KG1=86.8 KP=96.3 KVB=5.63 EX=1.5 KG2=0.176
* Vp_MAX=500 Ip_MAX=35 Vg_step=0.5 Vg_start=0 Vg_count=8
* Rp=7680 Vg_ac=5.88 P_max=2.5 Vg_qui=-0.292 Vp_qui=204 UL=4.51 EG2=125
* X_MIN=45 Y_MIN=39 X_SIZE=531 Y_SIZE=370 FSZ_X=1254 FSZ_Y=696 XYGrid=false
* showLoadLine=n showIp=n isDHT=n isPP=n isAsymPP=n isUL=n showDissipLimit=n
* showIg1=n gridLevel2=n isInputSnapped=n
* XYProjections=n harmonicPlot=y harmonics=y
*----------------------------------------------------------------------------------
RE1  7 0  1MEG    ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1   7 0  VALUE=  ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(2,4)/KP*LOG(1+EXP((1/MU+V(3,4)/V(2,4))*KP))}
G1   1 4  VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG1*ATAN(V(1,4)/KVB)}
G2   2 4  VALUE={(EXP(EX*(LOG((V(2,4)/MU)+V(3,4)))))/KG2}
RCP  1 4  1G      ; FOR CONVERGENCE
C1   3 4  {CCG}    ; CATHODE-GRID 1
C2   1 3  {CGP}  ; GRID 1-PLATE
C3   1 4  {CCP}   ; CATHODE-PLATE
R1   3 5  {RGI}   ; FOR GRID CURRENT
D3   5 4  DX      ; FOR GRID CURRENT
.MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N)
.ENDS
*$
Besides the screen current this new model seems to be a keeper.
Attached Images
File Type: png Kip.png (191.7 KB, 270 views)
File Type: png Spice.png (37.3 KB, 263 views)
Attached Files
File Type: pdf 6KT8.pdf (475.8 KB, 10 views)
File Type: txt 6KT8P_For_Paint_Kip.inc .txt (1.4 KB, 9 views)
File Type: txt 6KT8P.inc.txt (1.4 KB, 8 views)
  Reply With Quote
Old 1st August 2014, 08:17 PM   #529
MCSammer is offline MCSammer  United States
diyAudio Member
 
Join Date: Jan 2014
Default 6ER5 Triode

Code:
*
* Generic triode model: 6ER5
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Fri Aug  1 15:09:59 2014
*            Plate
*            | Grid
*            | | Cathode
*            | | |
.SUBCKT 6ER5 A G K
BGG   GG   0 V=V(G,K)+0.20684562
BM1   M1   0 V=(0.017253359*(URAMP(V(A,K))+1e-10))^-2.6665979
BM2   M2   0 V=(0.36000594*(URAMP(V(GG)+URAMP(V(A,K))/37.093881)+1e-10))^4.1665979
BP    P    0 V=0.0091669979*(URAMP(V(GG)+URAMP(V(A,K))/103.03686)+1e-10)^1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.042512831*V(M1)*V(M2)
BIG   IG   0 V=0.004583499*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.0047172745*URAMP(V(A,K))^1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 0.38p
CGK   G    K 4.4p
CAK   A    K 3p
.ENDS
Attached Images
File Type: png Overlay.png (596.2 KB, 261 views)
Attached Files
File Type: txt 6ER5.csv.txt (1.3 KB, 8 views)
File Type: pdf 6ER5.pdf (111.0 KB, 13 views)
File Type: txt 6ER5.inc.txt (853 Bytes, 13 views)
  Reply With Quote
Old 1st August 2014, 09:31 PM   #530
MCSammer is offline MCSammer  United States
diyAudio Member
 
Join Date: Jan 2014
Default 6BS8

Code:
*
* Generic triode model: 6BS8
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Fri Aug  1 16:29:30 2014
*            Plate
*            | Grid
*            | | Cathode
*            | | |
.SUBCKT 6BS8 A G K
BGG   GG   0 V=V(G,K)+0.1396991
BM1   M1   0 V=(0.010461639*(URAMP(V(A,K))+1e-10))^-0.68684648
BM2   M2   0 V=(0.6859192*(URAMP(V(GG)+URAMP(V(A,K))/30.02214)+1e-10))^2.1868465
BP    P    0 V=0.0046594327*(URAMP(V(GG)+URAMP(V(A,K))/43.769207)+1e-10)^1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.0027247899*V(M1)*V(M2)
BIG   IG   0 V=0.0023297163*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.0024903068*URAMP(V(A,K))^1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 1.15p
CGK   G    K 2.6p
CAK   A    K 1.3p
.ENDS
Attached Images
File Type: png Overlay.png (320.6 KB, 64 views)
Attached Files
File Type: txt 6BS8.csv.txt (689 Bytes, 10 views)
File Type: pdf 6BS8.pdf (506.9 KB, 18 views)
File Type: txt 6BS8.inc.txt (855 Bytes, 11 views)
  Reply With Quote

Reply


Vacuum Tube SPICE ModelsHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tube spice models nhuwar Tubes / Valves 45 25th November 2011 08:47 AM
Computer program for tube curves and Spice models Jim Tonne Software Tools 9 21st November 2010 10:10 AM
Spice models stinius Solid State 0 18th November 2008 09:07 PM
Got my tube spice models, and tubed CD player page back on the air wa2ise Tubes / Valves 2 20th April 2008 11:07 PM


New To Site? Need Help?

All times are GMT. The time now is 02:02 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki