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 5th August 2014, 03:19 PM   #531
lexx21 is offline lexx21  United States
diyAudio Member
 
Join Date: Mar 2011
Location: North Carolina
Vacuum Tube SPICE Models
FYI....

It would seem that Mouser electronics has a new spice simulator coming out. It does simulations, has 100K parts inventory, pcb layout, and integrates the BOM into your mouser cart. I signed up for the notification of release and it will be really interesting to see if our tube models will work with this.
  Reply With Quote
Old 5th August 2014, 04:04 PM   #532
Ray Waters is offline Ray Waters  United States
diyAudio Member
 
Join Date: Nov 2010
Location: Kansas
Quote:
Originally Posted by lexx21 View Post
FYI....

It would seem that Mouser electronics has a new spice simulator coming out. It does simulations, has 100K parts inventory, pcb layout, and integrates the BOM into your mouser cart. I signed up for the notification of release and it will be really interesting to see if our tube models will work with this.
Interesting. Do you have a link on the Mouser site?
  Reply With Quote
Old 5th August 2014, 04:07 PM   #533
lexx21 is offline lexx21  United States
diyAudio Member
 
Join Date: Mar 2011
Location: North Carolina
Vacuum Tube SPICE Models
Just go to their home page. It's right there....
  Reply With Quote
Old 5th August 2014, 04:16 PM   #534
Ray Waters is offline Ray Waters  United States
diyAudio Member
 
Join Date: Nov 2010
Location: Kansas
Quote:
Originally Posted by lexx21 View Post
Just go to their home page. It's right there....
OK, thanks. I guess I'm so programmed to ignoring ads and banners that I missed it.
  Reply With Quote
Old 6th August 2014, 10:00 AM   #535
jazbo8 is offline jazbo8
diyAudio Moderator
 
jazbo8's Avatar
 
Join Date: Jan 2011
Location: In Transient
Vacuum Tube SPICE Models
It would be interest to see if you can use non-Mouser parts in the simulation. In Multisim, you can add news parts, not sure if Mouser's Blue version could do the same.
  Reply With Quote
Old 6th August 2014, 03:29 PM   #536
Triodethom is offline Triodethom  United States
diyAudio Member
 
Triodethom's Avatar
 
Join Date: Dec 2009
Location: Newnan GA
I read it as a BOM plugin . It generates a Mouser bill of materials so you wil need the Current suite to run it if I understand the email they sent me.
  Reply With Quote
Old 8th August 2014, 01:11 PM   #537
jackinnj is offline jackinnj  United States
diyAudio Member
 
jackinnj's Avatar
 
Join Date: Apr 2002
Location: Llanddewi Brefi, NJ
Vacuum Tube SPICE Models
Jim Thompson embedded a link to a graph-data digitizing program on one of his spice models -- looks easier than Graph Grabber which I now use:

Digitize graphs and plots - GetData Graph Digitizer - graph digitizing software

Thompson's website is a treasure of analog information: Analog Innovations
  Reply With Quote
Old 27th August 2014, 09:17 AM   #538
fireworks is offline fireworks  Switzerland
diyAudio Member
 
Join Date: Feb 2010
I installed tried to use the Ayumi models with LTSpice.
I replaced in all the ".mod" files each "^" with "**".

LTSpice gives the following error message for 2A3 and others:

WARNING: Can't resolve .param gg=(v(g,k)+-0.47258991)

Looking in the "2A3.mod" file, I find the offending line:

.param gg=(v(g,k)+-0.47258991)

It seems that LTSpice doesn't like it: maybe a parameter cannot depend on a voltage like v(g,k) ?

Does anyone have a fix for this ?
  Reply With Quote
Old 27th August 2014, 12:16 PM   #539
euro21 is offline euro21  Hungary
diyAudio Member
 
Join Date: Sep 2004
Location: Budapest
Vacuum Tube SPICE Models
Is this the original Ayumi model?

"*
* Generic triode model: 2A3
* Copyright 2003--2006 by Ayumi Nakabayashi, All rights reserved.
* Version 3.01, Generated on Wed Mar 22 17:19:23 2006
.SUBCKT 2A3 A G K
BGG GG 0 V=V(G,K)+-0.47258991
BEP EP 0 V=URAMP(V(A,K))+1e-10
BEG EG 0 V=URAMP(V(G,K))+1e-10
BM1 M1 0 V=(0.056835059*(URAMP(V(EP)-1e-10)+1e-10))^-0.4044593
BM2 M2 0 V=(0.78762513*(URAMP(V(GG)+V(EP)/3.7366878)+1e-10))^1.9044593
BP P 0 V=0.0012053852*(URAMP(V(GG)+V(EP)/4.7442465)+1e-10)^1.5
BIK IK 0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.000709416*V(M1)*V(M2)
BIG IG 0 V=0.00060269261*V(EG)^1.5*(V(EG)/(V(EP)+V(EG))*1.2+0.4)
BIAK A K I=URAMP(V(IK,IG)-URAMP(V(IK,IG)-(0.0010032299*V(EP)^1.5)))+1e-10*V(A,K)
BIGK G K I=V(IG)
* CAPS
CGA G A 16.5p
CGK G K 7.5p
CAK A K 5.5p
.ENDS"

Change all "^" to"**".

"*
* Generic triode model: 2A3
* Copyright 2003--2006 by Ayumi Nakabayashi, All rights reserved.
* Version 3.01, Generated on Wed Mar 22 17:19:23 2006
.SUBCKT 2A3 A G K
BGG GG 0 V=V(G,K)+-0.47258991
BEP EP 0 V=URAMP(V(A,K))+1e-10
BEG EG 0 V=URAMP(V(G,K))+1e-10
BM1 M1 0 V=(0.056835059*(URAMP(V(EP)-1e-10)+1e-10))**-0.4044593
BM2 M2 0 V=(0.78762513*(URAMP(V(GG)+V(EP)/3.7366878)+1e-10))**1.9044593
BP P 0 V=0.0012053852*(URAMP(V(GG)+V(EP)/4.7442465)+1e-10)**1.5
BIK IK 0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.000709416*V(M1)*V(M2)
BIG IG 0 V=0.00060269261*V(EG)**1.5*(V(EG)/(V(EP)+V(EG))*1.2+0.4)
BIAK A K I=URAMP(V(IK,IG)-URAMP(V(IK,IG)-(0.0010032299*V(EP)**1.5)))+1e-10*V(A,K)
BIGK G K I=V(IG)
* CAPS
CGA G A 16.5p
CGK G K 7.5p
CAK A K 5.5p
.ENDS"
  Reply With Quote
Old 27th August 2014, 05:15 PM   #540
cogsncogs is offline cogsncogs  United States
diyAudio Member
 
cogsncogs's Avatar
 
Join Date: Jul 2003
Location: Wayne, West Virginia
Quote:
Originally Posted by fireworks View Post
I installed tried to use the Ayumi models with LTSpice.
I replaced in all the ".mod" files each "^" with "**".

LTSpice gives the following error message for 2A3 and others:

WARNING: Can't resolve .param gg=(v(g,k)+-0.47258991)

Looking in the "2A3.mod" file, I find the offending line:

.param gg=(v(g,k)+-0.47258991)

It seems that LTSpice doesn't like it: maybe a parameter cannot depend on a voltage like v(g,k) ?

Does anyone have a fix for this ?
Yes... use the "xxx.inc" files in LTspice.
  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 06:51 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