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 29th November 2013, 04:41 PM   #91
hesener is offline hesener  Germany
diyAudio Member
 
Join Date: Mar 2005
Location: Munich, Germany
Vacuum Tube SPICE Models
Here is a model for the C3g, have a box of these in the basement but never got around to play with them......

C3g simulation model
__________________
Paradise documents are here: Link list
  Reply With Quote
Old 29th November 2013, 08:17 PM   #92
hesener is offline hesener  Germany
diyAudio Member
 
Join Date: Mar 2005
Location: Munich, Germany
Vacuum Tube SPICE Models
Default Help wanted...

Dunno whats wrong tonight, I am getting strange simulation results no matter what I do. The curren tfrom V1 is always 1A, and nothing I do will ever make it change...is there something I need to adjust using these models? circuit as in attached picture, here is the netlist:

XU1 anode gate N001 6sn7
V1 anode 0 250
V2 gate 0 -10
R1 N001 0 100
.op
.include lib\tubes\6sn7v2.inc
.backanno
.end

..... and here is the model (include file from above):

.subckt 6sn7 P G K
Bp P K I=(0.02003791851m)*uramp(V(P,K)*ln(1.0+(-0.07740549711)+exp((4.618036737)+(4.618036737)*((2 0.85288965)+(-110.4389272m)*V(G,K))*V(G,K)/sqrt((28.13407639)^2+(V(P,K)-(7.118597372))^2)))/(4.618036737))^(1.380047579)
Cgp G P 4.0pF
Cgk G K 2.6pF
Cpk P K 0.7pF
.ends 6sn7

Any help much appreciated!!
Attached Images
File Type: jpg test1.jpg (51.9 KB, 682 views)
__________________
Paradise documents are here: Link list
  Reply With Quote
Old 29th November 2013, 09:09 PM   #93
kevinkr is offline kevinkr  United States
diyAudio Moderator
 
kevinkr's Avatar
 
Join Date: Sep 2004
Location: Boston, Massachusetts
Vacuum Tube SPICE Models
Try transient analysis instead of .op..
__________________
"To argue with a person who has renounced the use of reason is like administering medicine to the dead." - Thomas Paine
  Reply With Quote
Old 29th November 2013, 09:12 PM   #94
cogsncogs is offline cogsncogs  United States
diyAudio Member
 
cogsncogs's Avatar
 
Join Date: Jul 2003
Location: Wayne, West Virginia
@hessner
To use this model in LTSpice, you need to change all the ^ to **.
  Reply With Quote
Old 29th November 2013, 09:15 PM   #95
cogsncogs is offline cogsncogs  United States
diyAudio Member
 
cogsncogs's Avatar
 
Join Date: Jul 2003
Location: Wayne, West Virginia
Code:
.subckt 6sn7 P G K
Bp P K I=(0.02003791851m)*uramp(V(P,K)*ln(1.0+(-0.07740549711)+exp((4.618036737)+(4.618036737)*((2 0.85288965)+(-110.4389272m)*V(G,K))*V(G,K)/sqrt((28.13407639)**2+(V(P,K)-(7.118597372))**2)))/(4.618036737))**(1.380047579)
Cgp G P 4.0pF
Cgk G K 2.6pF
Cpk P K 0.7pF
.ends 6sn7
  Reply With Quote
Old 29th November 2013, 10:06 PM   #96
cogsncogs is offline cogsncogs  United States
diyAudio Member
 
cogsncogs's Avatar
 
Join Date: Jul 2003
Location: Wayne, West Virginia
Found a space in the model were there shouldn't have been one.
Here's the corrected model:
.subckt 6sn7 P G K
Bp P K I=
+ (0.02003791851m)*uramp(V(P,K)*ln(1.0+(-0.07740549711)+exp((4.618036737)+
+ (4.618036737)*((20.85288965)+(-110.4389272m)*V(G,K))*V(G,K)/sqrt((28.13407639)**2+
+ (V(P,K)-(7.118597372))**2)))/(4.618036737))**(1.380047579)
Cgp G P 4.0pF
Cgk G K 2.6pF
Cpk P K 0.7pF
.ends 6sn7

Looks like you may be trying to sim the curves for your 6SN7 model. If so here's the file I did LTSpice using your model.
Attached Files
File Type: asc t_curves3.asc (891 Bytes, 60 views)
  Reply With Quote
Old 30th November 2013, 01:47 AM   #97
needtubes is offline needtubes  United States
diyAudio Member
 
Join Date: May 2003
I am looking for LTSpice models for 6H30 and 1626... Found some here, but they do not work with my LTSpice generic TRIODE model obtained from Duncan's Amp Pages.

I am new to LTSpice, so it is not clear at all how I should proceed to get this working.

Thank you for any tips you may have!
  Reply With Quote
Old 30th November 2013, 08:20 AM   #98
hesener is offline hesener  Germany
diyAudio Member
 
Join Date: Mar 2005
Location: Munich, Germany
Vacuum Tube SPICE Models
many thanks cogsncogs!! Will try later today... In fact I was so desperate I tried another schematic that simulated fine in the past, and it still did - couldnt see the forest for the trees anymore, so many *** and ^^^ .....
again, many thanks!
@kevinkr: tried that , no difference. I think it is due to what cogsncogs pointed out. I should have known as I used Ayumi's models before, but I did not remember..... thanks anyway!
__________________
Paradise documents are here: Link list
  Reply With Quote
Old 30th November 2013, 04:46 PM   #99
Zen Mod is offline Zen Mod  Serbia
Official Court Jester
diyAudio Member
 
Zen Mod's Avatar
 
Join Date: Jan 2003
Location: ancient Batsch , behind Iron Curtain
Vacuum Tube SPICE Models
Boys

I know , up to some level , how to use LT Spice ..... but I'm ignorant in making models ;

is anyone able ( and kind ) enough to make LT Spice model for this tube ?

TIA
Attached Files
File Type: pdf rs1003pentode_as_triode.pdf (19.8 KB, 76 views)
__________________
my Papa is smarter than your Nelson !
clean thread; Cook Book;PSM LS Cook Book;Baby DiyA ;Mighty ZM's Bloggg;Papatreasure;Papa... by Mighty ZM
  Reply With Quote
Old 30th November 2013, 05:15 PM   #100
jazbo8 is offline jazbo8
diyAudio Moderator
 
jazbo8's Avatar
 
Join Date: Jan 2011
Location: In Transient
Vacuum Tube SPICE Models
Quote:
Originally Posted by Zen Mod View Post
Boys

I know , up to some level , how to use LT Spice ..... but I'm ignorant in making models ;

is anyone able ( and kind ) enough to make LT Spice model for this tube ?

TIA
Here you go...

Code:
*
* Generic triode model: SRS511_T
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Sat Nov 30 19:13:05 2013
*                Plate
*                | Grid
*                | | Cathode
*                | | |
.SUBCKT SRS511_T A G K
BGG   GG   0 V=V(G,K)+0.57531149
BM1   M1   0 V=(0.024087858*(URAMP(V(A,K))+1e-10))**-0.96103099
BM2   M2   0 V=(0.60950066*(URAMP(V(GG)+URAMP(V(A,K))/16.21146)+1e-10))**2.461031
BP    P    0 V=0.0091192653*(URAMP(V(GG)+URAMP(V(A,K))/26.597937)+1e-10)**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.0059448485*V(M1)*V(M2)
BIG   IG   0 V=0.0045596326*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.0050787208*URAMP(V(A,K))**1.5)))+1e-10*V(A,K)
BIGK  G    K I=V(IG)
* CAPS
CGA   G    A 0.24p
CGK   G    K 23p
CAK   A    K 13p
.ENDS
  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 05:20 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