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 6th October 2017, 07:10 PM   #1501
Balle Clorin is offline Balle Clorin  Norway
diyAudio Member
 
Join Date: May 2006
My secret weapon is the 6GU7
Click the image to open in full size.

* penta6GU7 LTSpice model
* Modified Koren model (8 parameters):
* Traced by erik 25/12/2013 using Curve Captor v0.9.1
* from PENTAVAC TESTER
* penta6GU7 LTSpice model
.subckt penta6GU7 P G K
Bp P K I=(0.06530968005m)*uramp(V(P,K)*ln(1.0+(-0.05276936784)+exp((2.050356028)+(2.050356028)*((2 9.00542735)+(-88.26359513m)*V(G,K))*V(G,K)/sqrt((30.90804259)**2+(V(P,K)-(3.024929248))**2)))/(2.050356028))**(1.285895446)
Cgk G K 0.6p ; 0.2p added
Cpk P K 3.9p ; 0.5p added
Cgp G P 3.5p ; 0.5p 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 penta6GU7
  Reply With Quote
Old 11th October 2017, 06:05 PM   #1502
Balle Clorin is offline Balle Clorin  Norway
diyAudio Member
 
Join Date: May 2006
My pair of Emission Labs 300B compared with Western Electric 300B datasheet curves
Click the image to open in full size.
And thespice model.
* TML300b LTSpice model corrected by 1/2 heater volt
* Modified Koren model (8 parameters): mean fit error 0,8mA
* Traced by erik 25/12/2013 using Curve Captor v0.9.1
* pentaTJ300B LTSpice model
* pentaEML300b LTSpice model
.subckt pentaEML300b P G K
Bp P K I=(0.1471360425m)*uramp(V(P,K)*ln(1.0+(-0.0836812242)+exp((14.77238937)+(14.77238937)*((4. 010010839)+(0.03955144628m)*V(G,K))*V(G,K)/sqrt((2.786333203e-006)**2+(V(P,K)-(2.303526987))**2)))/(14.77238937))**(1.48386058)
Cgk G K 8.5p ; 0.2p added
Cpk P K 4.6p ; 0.5p added
Cgp G P 15.5p ; 0.5p 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 pentaEML300b
  Reply With Quote
Old 12th October 2017, 11:21 AM   #1503
euro21 is offline euro21  Hungary
diyAudio Member
 
Join Date: Sep 2004
Location: Budapest
Vacuum Tube SPICE Models
Quote:
Originally Posted by Balle Clorin View Post
And thespice model.
Hmmm...
Attached Images
File Type: jpg EML300B spice error.jpg (63.6 KB, 163 views)
  Reply With Quote
Old 12th October 2017, 02:51 PM   #1504
jazbo8 is offline jazbo8
diyAudio Moderator
 
jazbo8's Avatar
 
Join Date: Jan 2011
Location: In Transient
Vacuum Tube SPICE Models
Make sure there is no space in the Bp line.
  Reply With Quote
Old 12th October 2017, 04:33 PM   #1505
Balle Clorin is offline Balle Clorin  Norway
diyAudio Member
 
Join Date: May 2006
Quote:
Originally Posted by euro21 View Post
Hmmm...
The text is copied directly from my LT spice INC file , and it works for me, Strange..
  Reply With Quote
Old 12th October 2017, 09:57 PM   #1506
cogsncogs is offline cogsncogs  United States
diyAudio Member
 
cogsncogs's Avatar
 
Join Date: Jul 2003
Location: Wayne, West Virginia
Quote:
Originally Posted by Balle Clorin View Post
The text is copied directly from my LT spice INC file , and it works for me, Strange..
This is why it's always a good idea to use the code box for models, subckts etc. Click advanced on your reply/post and you'll see the "#" button.

Like this:
Code:
* TML300b LTSpice model corrected by 1/2 heater volt
* Modified Koren model (8 parameters): mean fit error 0,8mA
* Traced by erik 25/12/2013 using Curve Captor v0.9.1
* pentaTJ300B LTSpice model
* pentaEML300b LTSpice model
.subckt pentaEML300b  P G K
    Bp  P K   I=(0.1471360425m)*uramp(V(P,K)*ln(1.0+(-0.0836812242)+exp((14.77238937)+(14.77238937)*((4.    010010839)+(0.03955144628m)*V(G,K))*V(G,K)/sqrt((2.786333203e-006)**2+(V(P,K)-(2.303526987))**2)))/(14.77238937))**(1.48386058)
  Cgk G K 8.5p ; 0.2p added
  Cpk P K 4.6p ; 0.5p added
  Cgp G P 15.5p ; 0.5p 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 pentaEML300b
__________________
Sent from my Linux desktop computer using a keyboard and a mouse.
  Reply With Quote
Old 19th October 2017, 04:16 PM   #1507
dirkwright is offline dirkwright  United States
diyAudio Member
 
dirkwright's Avatar
 
Join Date: May 2011
Location: Virginia
Default 12K5 and 12U7?

Hello, I did a search and could not find spice models for tube types 12K5 and 12U7. Anyone know of one for each of these? Thanks.
  Reply With Quote
Old 19th October 2017, 05:57 PM   #1508
cogsncogs is offline cogsncogs  United States
diyAudio Member
 
cogsncogs's Avatar
 
Join Date: Jul 2003
Location: Wayne, West Virginia
Default 12U7 LTspice model

Here's a 12U7 model fresh from the oven. I don't have one for the 12K5. I'm assuming you need an LTspice model.
Code:
* ==============================================================
* 12U7 LTSpice model
* Modified Koren model (8 parameters): mean fit error 0.0424612mA
* Traced by Wayne Clay on 10/19/2017 using Curve Captor v0.9.1 and
* Engauge Digitizer from Sylvania datasheet
.subckt 12U7  P G K
    Bp  P K  I=
+ (0.02785936343m)*uramp(V(P,K)*ln(1.0+(-0.004710347468)+exp((0.5642928568)+
+ (0.5642928568)*((47.72916363)+(-6781.211301m)*V(G,K))*V(G,K)/sqrt((16.01863303)**2+
+ (V(P,K)-(6.398929653))**2)))/(0.5642928568))**(1.155518036)
  Cgp G P 2.2p ; 0.7p added (1.5p)
  Cgk G K 2.3p ; 0.7p added (1.6p)
  Cpk P K 0.6p ; 0.2p added (0.4p)
  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 12U7
__________________
Sent from my Linux desktop computer using a keyboard and a mouse.
  Reply With Quote
Old 19th October 2017, 06:06 PM   #1509
dirkwright is offline dirkwright  United States
diyAudio Member
 
dirkwright's Avatar
 
Join Date: May 2011
Location: Virginia
Oh man! thanks so much! Looking forward to the 12K5 model.
I use Tina.
Best Regards,
Dirk
  Reply With Quote
Old 19th October 2017, 06:43 PM   #1510
cogsncogs is offline cogsncogs  United States
diyAudio Member
 
cogsncogs's Avatar
 
Join Date: Jul 2003
Location: Wayne, West Virginia
Default 12U7 model for Tina

Quote:
Originally Posted by dirkwright View Post
Oh man! thanks so much! Looking forward to the 12K5 model.
I use Tina.
Best Regards,
Dirk
This should work in Tina. I don't have Tina on this Linux box, so I can't test it.
Code:
*
* 12U7 Spice 3F4 Tina model
* Modified Koren model (8 parameters): mean fit error 0.0424612mA
* Traced by Wayne Clay on 10/19/2017 using Curve Captor v0.9.1 and
* Engauge Digitizer from Sylvania datasheet
*             Plate
*             | Grid
*             | | Cathode
*             | | |
.subckt 12U7  P G K
    Bp  P K  I=
+ (0.02785936343m)*uramp(V(P,K)*ln(1.0+(-0.004710347468)+exp((0.5642928568)+
+ (0.5642928568)*((47.72916363)+(-6781.211301m)*V(G,K))*V(G,K)/sqrt((16.01863303)^2+
+ (V(P,K)-(6.398929653))^2)))/(0.5642928568))^(1.155518036)
  Cgp G P 2.2p ; 0.7p added (1.5p)
  Cgk G K 2.3p ; 0.7p added (1.6p)
  Cpk P K 0.6p ; 0.2p added (0.4p)
  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 12U7
__________________
Sent from my Linux desktop computer using a keyboard and a mouse.

Last edited by cogsncogs; 19th October 2017 at 07:03 PM. Reason: Goofed up
  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
Vacuum tubes SPICE models, another way Dominique_free Software Tools 2 12th November 2013 06:26 PM
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
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:53 PM.


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