Vacuum Tube SPICE Models
 User Name Stay logged in? Password
 Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read Search

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

 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
 6th October 2017, 07:10 PM #1501 Balle Clorin   diyAudio Member   Join Date: May 2006 My secret weapon is the 6GU7 * 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
 11th October 2017, 06:05 PM #1502 Balle Clorin   diyAudio Member   Join Date: May 2006 My pair of Emission Labs 300B compared with Western Electric 300B datasheet curves 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
euro21
diyAudio Member

Join Date: Sep 2004
Location: Budapest
Quote:
 Originally Posted by Balle Clorin And thespice model.
Hmmm...
Attached Images
 EML300B spice error.jpg (63.6 KB, 163 views)

 12th October 2017, 02:51 PM #1504 jazbo8 diyAudio Moderator     Join Date: Jan 2011 Location: In Transient Make sure there is no space in the Bp line.
Balle Clorin
diyAudio Member

Join Date: May 2006
Quote:
 Originally Posted by euro21 Hmmm...
The text is copied directly from my LT spice INC file , and it works for me, Strange..

cogsncogs
diyAudio Member

Join Date: Jul 2003
Location: Wayne, West Virginia
Quote:
 Originally Posted by Balle Clorin 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.

 19th October 2017, 04:16 PM #1507 dirkwright   diyAudio Member     Join Date: May 2011 Location: Virginia 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. __________________ photos of my work: https://www.facebook.com/SwetoneAudio my blog: https://plus.google.com/u/0/b/111642...44611308/signatures
 19th October 2017, 05:57 PM #1508 cogsncogs   diyAudio Member     Join Date: Jul 2003 Location: Wayne, West Virginia 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.
 19th October 2017, 06:06 PM #1509 dirkwright   diyAudio Member     Join Date: May 2011 Location: Virginia Oh man! thanks so much! Looking forward to the 12K5 model. I use Tina. Best Regards, Dirk __________________ photos of my work: https://www.facebook.com/SwetoneAudio my blog: https://plus.google.com/u/0/b/111642...44611308/signatures
cogsncogs
diyAudio Member

Join Date: Jul 2003
Location: Wayne, West Virginia
12U7 model for Tina

Quote:
 Originally Posted by dirkwright 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

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Site     Site Announcements     Forum Problems Amplifiers     Solid State     Pass Labs     Tubes / Valves     Chip Amps     Class D     Power Supplies     Headphone Systems Source & Line     Analogue Source     Analog Line Level     Digital Source     Digital Line Level     PC Based Loudspeakers     Multi-Way     Full Range     Subwoofers     Planars & Exotics Live Sound     PA Systems     Instruments and Amps Design & Build     Parts     Equipment & Tools     Construction Tips     Software Tools General Interest     Car Audio     diyAudio.com Articles     Music     Everything Else Member Areas     Introductions     The Lounge     Clubs & Events     In Memoriam The Moving Image Commercial Sector     Swap Meet     Group Buys     The diyAudio Store     Vendor Forums         Vendor's Bazaar         Sonic Craft         Apex Jr         Audio Sector         Acoustic Fun         Chipamp         DIY HiFi Supply         Elekit         Elektor         Mains Cables R Us         Parts Connexion         Planet 10 hifi         Quanghao Audio Design         Siliconray Online Electronics Store         Tubelab     Manufacturers         AKSA         Audio Poutine         Musicaltech         Holton Precision Audio         CSS         Dx Classic Amplifiers         exaDevices         Feastrex         GedLee         Head 'n' HiFi - Walter         Heatsink USA         miniDSP         SITO Audio         Twin Audio         Twisted Pear         Wild Burro Audio

 Similar Threads Thread Thread Starter Forum Replies Last Post Dominique_free Software Tools 2 12th November 2013 06:26 PM nhuwar Tubes / Valves 45 25th November 2011 08:47 AM Jim Tonne Software Tools 9 21st November 2010 10:10 AM 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.