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 13th July 2018, 08:22 AM   #1711
jazbo8 is offline jazbo8
diyAudio Moderator
 
jazbo8's Avatar
 
Join Date: Jan 2011
Location: In Transient
Vacuum Tube SPICE Models
Default 814 SPICE Model

Here is the LTspice version:

Code:
*
* Generic pentode model: 814_AN
* Copyright 2003--2008 by Ayumi Nakabayashi, All rights reserved.
* Version 3.10, Generated on Mon Apr 21 13:14:11 2014
*              Plate
*              | Screen Grid
*              | |  Control Grid
*              | |  |  Cathode
*              | |  |  |
.SUBCKT 814_AN A G2 G1 K
BGG   GG   0 V=V(G1,K)+0.99999999
BM1   M1   0 V=(0.049912267*(URAMP(V(G2,K))+1e-10))**-0.68443184
BM2   M2   0 V=(0.68667741*(URAMP(V(GG)+URAMP(V(G2,K))/6.2774666)))**2.1844318
BP    P    0 V=0.00055231093*(URAMP(V(GG)+URAMP(V(G2,K))/9.1417986))**1.5
BIK   IK   0 V=U(V(GG))*V(P)+(1-U(V(GG)))*0.00032281665*V(M1)*V(M2)
BIG   IG   0 V=0.00027615547*URAMP(V(G1,K))**1.5*(URAMP(V(G1,K))/(URAMP(V(A,K))+URAMP(V(G1,K)))*1.2+0.4)
BIK2  IK2  0 V=V(IK,IG)*(1-0.4*(EXP(-URAMP(V(A,K))/URAMP(V(G2,K))*15)-EXP(-15)))
BIG2T IG2T 0 V=V(IK2)*(0.89602099*(1-URAMP(V(A,K))/(URAMP(V(A,K))+10))**1.5+0.10397901)
BIK3  IK3  0 V=V(IK2)*(URAMP(V(A,K))+30300)/(URAMP(V(G2,K))+30300)
BIK4  IK4  0 V=V(IK3)-URAMP(V(IK3)-(0.00036921433*(URAMP(V(A,K))+URAMP(URAMP(V(G2,K))-URAMP(V(A,K))))**1.5))
BIP   IP   0 V=URAMP(V(IK4,IG2T)-URAMP(V(IK4,IG2T)-(0.00036921433*URAMP(V(A,K))**1.5)))
BIAK  A    K I=V(IP)+1e-10*V(A,K)
BIG2  G2   K I=URAMP(V(IK4,IP))
BIGK  G1   K I=V(IG)
* CAPS
CGA   G1  A  0.15p
CGK   G1  K  8.4p
C12   G1  G2 5.6p
CAK   A   K  14p
.ENDS
For triode, just connect it as one in the schematic.
  Reply With Quote
Old 13th July 2018, 01:27 PM   #1712
matejsirk is offline matejsirk  Slovenia
diyAudio Member
 
Join Date: Mar 2008
Vacuum Tube SPICE Models
Default RS1003 Pentode Spice model

Does anyone have a SPICE model for the RS1003 - Pentode?
  Reply With Quote
Old 19th July 2018, 12:16 PM   #1713
LAZAROIU is offline LAZAROIU  Romania
diyAudio Member
 
Join Date: Nov 2008
Location: 135200
Quote:
Originally Posted by matejsirk View Post
Does anyone have a SPICE model for the RS1003 - Pentode?
Maybe this model is good, we made an SE with RS1003 and the actual measurements were ~ 95% like those in the simulation, try it!

*******************************
*RS1003 idem SRS551
*Vg2=400V
.SUBCKT RS1003 1 4 2 3 ; P G2 G1 K (PENTODE)
.PARAMS: MU= 23.412 EX= 1.315 KG1= 245 KP= 92.4 KG2= 2843 KVB= 80.7 CCG=23P CPG1=0.15P CCP=13P RGI=1K;

RE1 7 0 1G ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1 7 0 VALUE={V(4,3)/KP*LOG(1+EXP((1/MU+V(2,3)/V(4,3))*KP))} ; E1 BREAKS UP LONG EQUATION FOR G1.
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 {CPG1} ; 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
*******************************
  Reply With Quote
Old 23rd July 2018, 04:17 AM   #1714
dch53 is offline dch53  Australia
diyAudio Member
 
Join Date: Jun 2015
Location: Perth, Western Australia
Default Plotting the results when sweeping multiple voltage sources

Quote:
Originally Posted by jazbo8 View Post
They are not really models, just simple schematics. All you need to do in the schematic is to sweep the voltage sources on the plate and the grid for a triode. For the pentode, you add another voltage source for the screen grid, and set the voltage per the datasheets. Before you can do that, make sure you have the correct symbol for the pentode, since many SPICE models online have their pins swapped around.
Hi. Just got around to trying this. Easy enough to setup the voltage sources.

How do I get LTSpice to plot nice plate characteristics?

I've done a lot of searching but maybe I'm using the wrong keywords.
  Reply With Quote
Old 23rd July 2018, 06:11 AM   #1715
euro21 is online now euro21  Hungary
diyAudio Member
 
Join Date: Sep 2004
Location: Budapest
Vacuum Tube SPICE Models
Quote:
Originally Posted by dch53 View Post
How do I get LTSpice to plot nice plate characteristics?
:: View topic - Generic "transient" tube curve and loadline file
  Reply With Quote
Old 23rd July 2018, 07:06 AM   #1716
jazbo8 is offline jazbo8
diyAudio Moderator
 
jazbo8's Avatar
 
Join Date: Jan 2011
Location: In Transient
Vacuum Tube SPICE Models
Quote:
Originally Posted by dch53 View Post
How do I get LTSpice to plot nice plate characteristics?
A picture is worth a thousand words...

Screenshot - 7_23_2018 , 9_05_22 AM.png

To plot the plate characteristic, put a current probe on the plate.
  Reply With Quote
Old 23rd July 2018, 08:10 AM   #1717
dch53 is offline dch53  Australia
diyAudio Member
 
Join Date: Jun 2015
Location: Perth, Western Australia
Thanks. Indeed it is! Now what?
Attached Images
File Type: png Picture1.png (46.1 KB, 130 views)
File Type: png Picture2.png (54.5 KB, 128 views)
  Reply With Quote
Old 23rd July 2018, 08:24 AM   #1718
tikiroo is offline tikiroo  New Zealand
diyAudio Member
 
Join Date: Nov 2007
Location: New Plymouth
Try:

.dc v1 0 500 1 v3 -5 0 0.5

This sweeps plate voltage 0-500 in steps of 1V and steps grid voltage -5 to 0 volts in steps of 0.5V. That's the order Jazbo8 had, you swapped the order of V3 and V1
  Reply With Quote
Old 23rd July 2018, 08:33 AM   #1719
dch53 is offline dch53  Australia
diyAudio Member
 
Join Date: Jun 2015
Location: Perth, Western Australia
Wow! That did the trick. So quick too. Thanks!
Attached Images
File Type: png Picture3.png (48.8 KB, 123 views)
  Reply With Quote
Old 25th July 2018, 01:20 AM   #1720
dch53 is offline dch53  Australia
diyAudio Member
 
Join Date: Jun 2015
Location: Perth, Western Australia
Default 6LW6/36LW6

I've seen discussion of the 6LW6/36LW6 in LTSpice in other threads so there must be a model for it out there.

Could someone post it for me please?
  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 07:31 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