Drop Down Menus for selecting your tube

LT spice, Curve Captor, PSUDII and whatever other sims you can think of.

Post Reply
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Drop Down Menus for selecting your tube

Post by sbench »

LT Spice can be made to provide a nice drop down box to select your tubes. In addition, once

you set this up, you don't need to add the .INC files to your spice program; it is

automatically set up when you grap the tube symbol.

To do this requires only a couple steps:
1. Open the .ASY symbol file associated with the part. For example TRIODE.ASY that is in the

LT spice folder under SWCADIII\lib\sym\misc folder. (you can do this from within LTSpice by

choosing open>files of all types in that directory).
2. Edit three attributes:
2a. Spice Model = Triode (or whatever at least one subcircuit is named in your normally used

.inc file)
2b. ModelFile = name of your include file (for example, dmtriodep.inc)
2c. Remove the Value field (I had to do this with a text editor)
3. Copy the model file (for example dmtriodep.inc) to the SWCADIII\lib\sub folder

Now, you don't need a .inc file in your spice program, and you get a nice pull down menu to

boot.

To make this even easier, I have attached 8 files to this post.(zipped to tubestuff.zip)
1. triode_dd_htr.asy. Copy this into the ...\lib\sym\misc folder
2. triode_dd.asy. Ditto
3. tetrode_dd.asy. Ditto.
When you make a schematic, you can pick one of these for the tubes in the miscellaneous folder

of parts.

4. triode.txt Copy this into the ...\lib\sub folder.
triode.txt has triode models for devices that also model the heaters. This is currently 6SN7,

12AT7, 12AU7, 12AX7.
5. triode_nh.txt. ditto
triode_nh.txt has models for over 40 triodes.
6. tetrode.txt. ditto
Note that these are couped into the subcircuit folder, not the symbol folder.

7. t_curves.asc. An example spice file that displays curves for tubes in each of these files.
Copy this into whatever directory you put your spice files into.
8. readme.txt. Essentially this post.

Enjoy,

Steve
Attachments
tubestuff.zip
(9.48 KiB) Downloaded 3524 times
Don Lulham
Posts: 4
Joined: Wed Dec 15, 2010 10:14 pm

The "drop down menus for tubes" didn't work.

Post by Don Lulham »

Hi Stephie

The "drop down menus for tubes" trick didn't work.

I'm using LT Spice4.10r

There is no "Modelfile" attribute in my asy files in Misc...there is a "Spicefile" attribute.

Also the system seems to be overwriting my changes.

I would also like to congtatulate you on your new life..!

Its nice to have you back..

Don
Don Lulham
Posts: 4
Joined: Wed Dec 15, 2010 10:14 pm

Post by Don Lulham »

Ok, I finally managed to get this working.

You really do need to use notepad to comment out the "Value" line in the sym file.

If you don't the simulator seems to get really confused.

I copied 3 tube symbols from Misc to a new directory sym\tubes.

I modified the sym "Pentode" as it has 5 pins and changed it to 4 pins.

I renamed the sym's to Kpentode, Ktetrode and Ktriode to id them as being used by the Koren library.

I took Korens tube library and split it into Pentodes, Tetrodes and Triodes and copyed the .cir files to "Sub"

Thanks for the great idea. I can now run sims without an include file.

And I can mix other library files together in the same schematic without library conflicts.

Don
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »

Thanks Don,
Sounds like you have it. I think you could use the tetrode symbol as that already has the 4 leads, but it looks as though you're set up OK.

I'm more or less "back"... I hang out here occasionally, although my priorities are a bit different these days.... Since getting my health back, and finding great happiness in my life, I am commited to helping others in the same boat I was in. Otherwise, I usually support the crowd here at Intact.

Careful with the Koren tetrode/pentode models unless they've been fixed... There is no change in screen current with plate voltage and that leads to some interesting errors.

Warmest Regards,
Stephie
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Drop Down Tetrodes

Post by sbench »

The attached tetrode.txt contains the following devices

2E24, 6AC7, 6AK6, 6AN8, 6AQ5, 6AU6,
6BH6, 6BM8, 6BQ5/EL84, 6CA7/EL34,
6E5P, 6KG6/EL509, 6L6, 6L6GC, 6SJ7, 6V6,
12BY7, 12GN7, 807, 813, 6146, 6550,
6688/E180F, 7754/7695, 7721/D3a, 7722/E280F,
7788/E810F, D3a (different model), EF86, KT88, SV83.

The latest addition is the 6688/E180F.

Enjoy,
Stephie <3
Attachments
tetrode.txt
(21.63 KiB) Downloaded 1346 times
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »

Here's the latest triode no heater drop down. Devices available...

01A, 2A3, 2A3_sofia, 2C51, 3A5, 3CX300, 6AM4, 6AN8T, 6AS7_6080, 4x6AS7_6080,
6AQ8, 6MB8, 6BQ5_EL84, 6C33_sofia, 6C4C, 6C45-PE, 6CG7, 6CW4, 6DJ8,
6H30, 6HV5, 6J4, 6J6, 6N1P, 6N6P, 6SL7GT, 6SN7GT, 6SN7_sofia, 12A4,
12AT7_ECC81, 12AU7_ECC82, 12AV7, 12AX7_ECC83, 12AY7_6072A, 12B4,
12BH7A, 71a, 75TL, 76, 211_VT4C, GL211, 300B, 300B_sofia, 437, SV572_3,
SV572_10, 801a, 811a, 811a_alt, 833A, 845, 864, 1626, 5670, 5676, 5687WA,
5751, 5842_417, 6336A, 6528, 6948, 7119, 8532, D3A_7721, E182CC,
ECC88_6922, ECC99, EL34_sofia, GM70, VV30_sofia, Ba, 205D.

Newest addition is 833A, capable of A1 and A2 simulation, with reasonably accurate grid current modeling. ----and 6AM4

Enjoy,
Stephie <3
Attachments
triode_nh.txt
also has 6AM4
(25.09 KiB) Downloaded 1593 times
triode_nh.txt
(24.8 KiB) Downloaded 826 times
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »

I have added GU81M to the tetrode drop downs. Reasonably accurate in A1 and A2 modes.

The following are in the drop down...

2E24, 6AC7, 6AK6, 6AN8, 6AQ5, 6AU6,
6BH6, 6BM8, 6BQ5/EL84, 6CA7/EL34,
6E5P, 6KG6/EL509, 6L6, 6L6GC, 6SJ7, 6V6,
12BY7, 12GN7, 807, 813, 6146, 6550,
6688/E180F, 7754/7695, 7721/D3a, 7722/E280F,
7788/E810F, D3a (different model), EF86, GU81M,
KT88, SV83.

Stephie <3
Attachments
tetrode.txt
(22.38 KiB) Downloaded 858 times
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »

The attached file is the updated triode_nh.txt file. I have added a new generic device called build_triode. This was added as it goes with another file that I'll put in a different thread in this section called tube_build.asc. This allows you to relatively easily build your own device and take the generated parameters and add it to the triode_nh.txt file. I have also added an alternative 833 model (as a "demo" for tube_build) and also changed the 01A model to the new build_triode generic as an example. I was going to add the 6AH4 and 6CK4 models that were in a different thread, but they don't work correctly in LTSpice. Maybe someone can convert them if anyone has a need for them.

The generics:
TRIODENH (Dave Cigna's originally, I think)
build_triode my mod of Norman Korens model. Muchly improved grid current and better control over falloff limits. This accepts output from the Java Script parms too. The default is a very good mu=50 triode.

Devices modeled:
01A, 01A_old, 2A3, 2A3_sofia, 2C51, 3A5, 3CX300, 6AM4, 6AN8T, 6AS7_6080, 4x6AS7_6080, 6AQ8_ECC85, 6BM8, 6BQ5_EL84, 6C33C_sofia, 6C4C, 6C45-PE, 6CG7, 6CW4, 6CG7, 6DJ8, 6H30, 6HV5, 6J4, 6J6, 6N1P, 6N6P, 6SL7GT, 6SN7GTB, 6SN7_sofia, 12A4, 12AT7_ECC81, 12AU7_ECC82, 12AV7, 12AX7_ECC83, 12AY7_6072A, 12B4, 12BH7A, 71A, 75TL, 76, 211_VT4C, GL211, 300B, 300B_sofia, 437, SV572_3, SV572_10, 801a, 811a, 811a_alt, 833, 833_alt, 845, 864, 1626, 5670, 5687wa, 6751, 5842_417, 6336A, 6528, 6948, 7119, 8532, D3a_7721, E182CC, E88CC_6922, ECC99, EL34_sofia, GM70, VV30B_sofia, Ba, 205D

Enjoy,
Stephie <3
Attachments
triode_nh.txt
(26.47 KiB) Downloaded 848 times
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »

I have added the triode and the pentode sections of 6BL8/ECF80 to the files. Both triode_nh.txt and tetrode.txt have been modified and are attached.

In this version of tetrode are
2E24, 6AC7, 6AK6, 6AN8, 6AQ5, 6AU6,
6BH6, 6BL8, 6BM8, 6BQ5/EL84, 6CA7/EL34,
6E5P, 6KG6/EL509, 6L6, 6L6GC, 6SJ7, 6V6,
12BY7, 12GN7, 807, 813, 6146, 6550,
6688/E180F, 7754/7695, 7721/D3a, 7722/E280F,
7788/E810F, D3a (different model), EF86, GU81M,
KT88, SV83.


In this version of triode_nh.txt the devices modeled are
01A, 01A_old, 2A3, 2A3_sofia, 2C51, 3A5, 3CX300, 6AM4, 6AN8T, 6AS7_6080, 4x6AS7_6080, 6AQ8_ECC85, 6BL8, 6BM8, 6BQ5_EL84, 6C33C_sofia, 6C4C, 6C45-PE, 6CG7, 6CW4, 6CG7, 6DJ8, 6H30, 6HV5, 6J4, 6J6, 6N1P, 6N6P, 6SL7GT, 6SN7GTB, 6SN7_sofia, 12A4, 12AT7_ECC81, 12AU7_ECC82, 12AV7, 12AX7_ECC83, 12AY7_6072A, 12B4, 12BH7A, 71A, 75TL, 76, 211_VT4C, GL211, 300B, 300B_sofia, 437, SV572_3, SV572_10, 801a, 811a, 811a_alt, 833, 833_alt, 845, 864, 1626, 5670, 5687wa, 6751, 5842_417, 6336A, 6528, 6948, 7119, 8532, D3a_7721, E182CC, E88CC_6922, ECC99, EL34_sofia, GM70, VV30B_sofia, Ba, 205D

Enjoy,
Stephie <3
Attachments
tetrode.txt
(23.15 KiB) Downloaded 1174 times
triode_nh.txt
(26.64 KiB) Downloaded 889 times
sepulchre
Posts: 2
Joined: Wed Sep 14, 2011 6:22 pm

Post by sepulchre »

Hello,

I'm trying to make this work without much luck. The only thing I can see that is different is that I don't seem to have an swcadiii directory. Is it normally setup when LTSpice is installed? Do I need to add it?

Thanks,
Ken
sepulchre
Posts: 2
Joined: Wed Sep 14, 2011 6:22 pm

Post by sepulchre »

Okay, got it working. It's very nice!

Thanks!
Ken
lexx21
Posts: 2
Joined: Sat Jul 14, 2012 5:36 pm

Post by lexx21 »

I am very new to ltspice and have been trying to follow the instructions above with no success. I have a clean install of ltspice4.15l and the zip file at the top of this thread.

I have put the files into the directories specified in the readme, but I am not seeing a drop down menu of tube types.

What I do see is the schematic of a triode and directly beside it is a statement saying "This symbol is for use with a subcircuit macromodel that you supply"


Did I not install something, like a dll or include file that is needed? If this is the case, where can I find it and how do I define it?
lexx21
Posts: 2
Joined: Sat Jul 14, 2012 5:36 pm

Post by lexx21 »

Actually I just got it to work. This is VERY cool indeed!!!
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »

Added 842 to the list.

In this version of triode_nh.txt the devices modeled are
01A, 01A_old, 205D, 2A3, 2A3_sofia, 2C51, 3A5, 3CX300, 6AM4, 6AN8T, 6AS7_6080, 4x6AS7_6080, 6AQ8_ECC85, 6BL8, 6BM8, 6BQ5_EL84, 6C33C_sofia, 6C4C, 6C45-PE, 6CG7, 6CW4, 6CG7, 6DJ8, 6H30, 6HV5, 6J4, 6J6, 6N1P, 6N6P, 6SL7GT, 6SN7GTB, 6SN7_sofia, 12A4, 12AT7_ECC81, 12AU7_ECC82, 12AV7, 12AX7_ECC83, 12AY7_6072A, 12B4, 12BH7A, 71A, 75TL, 76, 211_VT4C, GL211, 300B, 300B_sofia, 437, SV572_3, SV572_10, 801a, 811a, 811a_alt, 833, 833_alt, 842, 845, 864, 1626, 5670, 5687wa, 6751, 5842_417, 6336A, 6528, 6948, 7119, 8532, Ba, D3a_7721, E182CC, E88CC_6922, ECC99, EL34_sofia, GM70, VV30B_sofia.

Enjoy,
Stephie <3
Attachments
triode_nh.txt
(26.81 KiB) Downloaded 627 times
Paul Fawcett
Posts: 6
Joined: Thu Sep 13, 2012 5:54 pm

Post by Paul Fawcett »

sbench wrote:Added 842 to the list.

In this version of triode_nh.txt the devices modeled are
01A, 01A_old, 205D, 2A3, 2A3_sofia, 2C51, 3A5, 3CX300, 6AM4, 6AN8T, 6AS7_6080, 4x6AS7_6080, 6AQ8_ECC85, 6BL8, 6BM8, 6BQ5_EL84, 6C33C_sofia, 6C4C, 6C45-PE, 6CG7, 6CW4, 6CG7, 6DJ8, 6H30, 6HV5, 6J4, 6J6, 6N1P, 6N6P, 6SL7GT, 6SN7GTB, 6SN7_sofia, 12A4, 12AT7_ECC81, 12AU7_ECC82, 12AV7, 12AX7_ECC83, 12AY7_6072A, 12B4, 12BH7A, 71A, 75TL, 76, 211_VT4C, GL211, 300B, 300B_sofia, 437, SV572_3, SV572_10, 801a, 811a, 811a_alt, 833, 833_alt, 842, 845, 864, 1626, 5670, 5687wa, 6751, 5842_417, 6336A, 6528, 6948, 7119, 8532, Ba, D3a_7721, E182CC, E88CC_6922, ECC99, EL34_sofia, GM70, VV30B_sofia.

Enjoy,
Stephie <3
Hi Stephie,

Thanks for uploading this. I've been playing around with some of your tetrode models and have been very pleased so far. But I was just trying out the 12BH7A model included here, and unfortunately it doesn't seem to work very well, especially with respect to grid current limiting -- as the grid goes positive of the cathode, it just keeps on rising and rising (even when driven by a high impedance source) instead of going into limiting.

Unfortunately this severely limits the usefulness of the model for me. In fact, taking a closer look at the file, it looks like the parameters there are the same as for the old Duncan/Leach model.

Is there any chance of an update for this tube's model? The 12BH7A does seem to creep into quite a few audio designs, so it would be very helpful indeed to have good version available...

Cheers,

Paul
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »

Hi Paul,
The models certainly are a motley mixture from a lot of sources. As people notice limitations, I'll go thru them and update as needed. Let me look through it and see if I can provide a better model for the 'BH7. From your description it seems as though you are looking for A2 operation.

As always, it'll take a few days, as a lot of my energies are directed in different directions these days.

Warmest Regards,
Stephie <3
Paul Fawcett
Posts: 6
Joined: Thu Sep 13, 2012 5:54 pm

Post by Paul Fawcett »

sbench wrote:Hi Paul,
The models certainly are a motley mixture from a lot of sources. As people notice limitations, I'll go thru them and update as needed. Let me look through it and see if I can provide a better model for the 'BH7. From your description it seems as though you are looking for A2 operation.

As always, it'll take a few days, as a lot of my energies are directed in different directions these days.

Warmest Regards,
Stephie <3
Thanks Stephie! Just to clarify, my interest is not so much in A2 operation, but rather being able to tell when grid current limiting has started to kick in, so that I may better estimate the point of onset of severe distortion as a stage approaches overload.

Cheers,

Paul
piotr_grzesik
Posts: 68
Joined: Mon Feb 07, 2005 9:59 pm
Location: UK

Post by piotr_grzesik »

Hi Stephie, is there any chance of a model for the 46? Been wondering about that one for a while...

:)
Too much stuff and not enough time!
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »



Hi Paul, Piotr, and all,

This version now includes the 12BH7alt in it. I added a reasonable grid current into it, so in addition to behaving properly when you forward bias the grid, it will actually work in A2 reasonably accurately. Please note that the old model, as well as some of the other "simple" versions in the library do not add any grid current at all, and in fact behave rather badly in some cases. For example with the 12BH7A model in the library, if you drive the tube beyond cutoff, it actually PRODUCES NEGATIVE VOLTAGE on the plate. Oh, if it were that easy! :wink:

Piotr: I'll work on the 46 as time permits.

All: I guess, at some point I better clean up all the old simple models and replace them with correct models. That is a huge task, though.

In this version of triode_nh.txt the devices modeled are
01A, 01A_old, 205D, 2A3, 2A3_sofia, 2C51, 3A5, 3CX300, 6AM4, 6AN8T, 6AS7_6080, 4x6AS7_6080, 6AQ8_ECC85, 6BL8, 6BM8, 6BQ5_EL84, 6C33C_sofia, 6C4C, 6C45-PE, 6CG7, 6CW4, 6CG7, 6DJ8, 6H30, 6HV5, 6J4, 6J6, 6N1P, 6N6P, 6SL7GT, 6SN7GTB, 6SN7_sofia, 12A4, 12AT7_ECC81, 12AU7_ECC82, 12AV7, 12AX7_ECC83, 12AY7_6072A, 12B4, 12BH7A, 12BH7alt, 71A, 75TL, 76, 211_VT4C, GL211, 300B, 300B_sofia, 437, SV572_3, SV572_10, 801a, 811a, 811a_alt, 833, 833_alt, 842, 845, 864, 1626, 5670, 5687wa, 6751, 5842_417, 6336A, 6528, 6948, 7119, 8532, Ba, D3a_7721, E182CC, E88CC_6922, ECC99, EL34_sofia, GM70, VV30B_sofia.

Enjoy,
Stephie <3
Attachments
triode_nh.txt
(27.4 KiB) Downloaded 562 times
piotr_grzesik
Posts: 68
Joined: Mon Feb 07, 2005 9:59 pm
Location: UK

Post by piotr_grzesik »

Brilliant, thanks Stephie. :D
Too much stuff and not enough time!
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »

Hi All,
Triode_nh.txt has again been modified to include 2 46 models: The 46 is a dual-grid device, but intended only for triode operation. Connecting the g2 to the anode provides s low mu (5.6) triode while connecting the g2 to g1 forms a high mu (>50) triode intended as a Class B push pull amp. Since these have different connections and characteristics, I have included both models: 46LoMu and 46HiMu.

In this version of triode_nh.txt the devices modeled are
01A, 01A_old, 205D, 2A3, 2A3_sofia, 2C51, 3A5, 3CX300, 6AM4, 6AN8T, 6AS7_6080, 4x6AS7_6080, 6AQ8_ECC85, 6BL8, 6BM8, 6BQ5_EL84, 6C33C_sofia, 6C4C, 6C45-PE, 6CG7, 6CW4, 6CG7, 6DJ8, 6H30, 6HV5, 6J4, 6J6, 6N1P, 6N6P, 6SL7GT, 6SN7GTB, 6SN7_sofia, 12A4, 12AT7_ECC81, 12AU7_ECC82, 12AV7, 12AX7_ECC83, 12AY7_6072A, 12B4, 12BH7A, 12BH7alt, 46LoMu, 46HiMu, 71A, 75TL, 76, 211_VT4C, GL211, 300B, 300B_sofia, 437, SV572_3, SV572_10, 801a, 811a, 811a_alt, 833, 833_alt, 842, 845, 864, 1626, 5670, 5687wa, 6751, 5842_417, 6336A, 6528, 6948, 7119, 8532, Ba, D3a_7721, E182CC, E88CC_6922, ECC99, EL34_sofia, GM70, VV30B_sofia.

Enjoy,
Stephie <3
Attachments
triode_nh.txt
(28.57 KiB) Downloaded 658 times
piotr_grzesik
Posts: 68
Joined: Mon Feb 07, 2005 9:59 pm
Location: UK

Post by piotr_grzesik »

Thanks muchly! :D
Too much stuff and not enough time!
sbench
Posts: 296
Joined: Fri Jan 28, 2005 3:45 pm

Post by sbench »


I have again updated triode_nh.txt to correct and add s bunch of devices. Here’s the header file:

* triode_nh.txt Oct 16, 2012 Stephie
*
* Note: This collection has a lot of devices modelled by a lot of different people. In no way do I intend for anyone to think
* that this is solely my work. I've updated and modified a lot of models. You will see a few different formats, as different
* authors tend to use different formats. I have corrected some mistakes and expanded on most of the models included. Dave Cigna
* I believe originated the TRIODENH model and Norman Koren originated the model used in the .jar files and a lot of the
* "Koren Models". I based the "build_triode on compatible parameters and modified several things to allow for better control
* over the knee, as well a providing for reasonable grid current modelling.
* Note: Most of the models have only a simple resistor/diode to model grid current in + grid region. This allows you to at
* least have reasonable circuit realism when you forward bias the grid, but are of very limited accuracy in A2/B/C class
* operation since they don't accurately model grid current nor grid current change with plate voltage. Some of the models
* DO accurately predict grid current. The ones set up to do so are: 3A5, 6J5, 6BLT-t, 12BH7alt, GL211(limited), 801a, 809
* 811a(limited), 811a_alt, 833A, 833a_alt, 842, 7199T.
* Note: Some models do not have tube capacitances added. As this is non-catastrophic, I have not added them. Here's the devices
* affected: 6H30, 75TL, 205D, 437, 7119, Ba.
* Note: There are two global models used: Triodenh and build_triode. There are a few other "unique" models used by only a few
* tubes in this library.
* Note: 6SN7 types... There are a few different models in this library. 6CG7 (Koren model), 6J5 (build_triode), 6SN7GTB (TRIODENH),
* 6SN7_sofia (variant of Koren model), 12SX7 (similar to 6SN7), characterized for 26.5v operation (build_triode).
*
* Changed/Added this release (Oct 16, 2012)
* Changed 6SL7GT, 12BH7A, GL211, E88CC/6922. I added a "min" function to the models that ONLY used one simple current
* source to model plate current. These had a problem in that they would actually source current from the plate if you
* inadvertently bias the grid into + region. This leads to grossly bad circuit behaviour. This is now fixed by
* "clipping" the current to a fixed resistance at low or positive grid bias conditions. The resistance is determined
* by a minimum plate resistance (in the MIN equation.)
* Changed 2C51, 6AM4, 6H30, 6HV5, 6SL7, 12A4, 12B4, 12BH7A, 75TL, 205D, 437, 7119, Ba.
* These models had no grid current model at all and thus produced unrealistic results if you positive biased the grid.
* They now have the same resistor-diode grid current model embedded. See above note.
* All models now handle grid current.
* Added 809 model. (Hi Mu DHT power triode) 6.3v 2.5A fil, 1000v, 20w, 125mA ICAS, Mu=50, Zero bias to 700v. PP Class B=145w.
* Added some "equivalent parts" sharing the same "generic" set of curves. Capacitances updated too. The devices added are
* 6AV6, 6681, 7025, 7058, 7729 equivalent to 12AX7/ECC83
* 5814, 6189, 6680, 7316, 7730 equivalent to 12AU7/ECC82
* 6AB4, 12AZ7, 6201, 6679, 7728 equivalent to 12AT7/ECC81
* Added 7199T model. Fixed original parms from Koren lib, and modelled grid current
* Added 6DX8T and 6U8T models from Koren lib.
* Added 12SX7 - a variant of 6SN7 characterized for low voltage operation. You may also use this for 6SN7 types too.
* Added 6J5 - in 6SN7 family. Like 12SX7, this hits all 3 published bias points and handles grid current.


Devices now in this library:
01A, 01A_old,
2A3, 2A3_sofia, 2C51,
3A5, 3CX300,
6AB4, 6AM4, 6AN8T, 6AS7_6080, 4x6AS7_6080, 6AQ8_ECC85, 6AV6,
6BL8-t, 6BM8, 6BQ5_EL84_T, 6C33C_sofia, 6C4C, 6C45-PE, 6CG7, 6CW4,
6DJ8, 6DX8T/ECL84T, 6H30, 6HV5, 6J4, 6J5, 6J6, 6N1P, 6N6P,
6SL7GT, 6SN7GTB, 6SN7_sofia, 6U8T,
12A4, 12AT7_ECC81, 12AU7_ECC82, 12AV7, 12AX7_ECC83, 12AY7_6072A, 12AZ7,
12B4, 12BH7A, 12BH7alt, 12SX7
46LoMu, 46HiMu, 71a, 75TL, 76, 205D, 211_VT4C, GL211, 300B, 300B_sofia,
437, SV572_3, SV572_10, 801a, 809, 811a, 811a_alt, 833A, 833A_alt,
842, 845, 864, 1626, 5670, 5676, 5687wa, 5751, 5814, 5842_417,
6189, 6201, 6336A, 6528, 6679, 6680, 6681, 6948,
7025, 7058, 7119, 7199T, 7316, 7728, 7729, 7730, 8532,
Ba, D3a_7721, E182CC, E88CC_6922, ECC99, EL34_sofia, GM70, VV30B_sofia.

Enjoy,
Stephie <3

Attachments
triode_nh.txt
(37.1 KiB) Downloaded 1518 times
Ray
Posts: 15
Joined: Sat Oct 13, 2012 7:03 pm
Location: Kansas, USA

Post by Ray »

Thanks, Stephie.
IslandPink
Posts: 56
Joined: Thu May 12, 2005 8:01 am
Location: Denbigh, North Wales

Post by IslandPink »

Hi -
I'm struggling to do the basic set-up of this - like a couple of other people did .
In the 2a,2b,2c sections of Stephie's instructions, I don't know what an 'include' file is, or where they are . Is there a sub-folder for .inc files ?Do I need to get involved with these in order to do this now ?

Also - I opened up the Triode_dd.asy in Notepad to edit-out the 'Value' field, as instructed, but it doesn't seem to have 'value' anywhere - should I be seeing a line with 'value' written in it ?

Thanks if you can help ..
Ray
Posts: 15
Joined: Sat Oct 13, 2012 7:03 pm
Location: Kansas, USA

Post by Ray »

You really don't have to go through the steps in section 2 of Stephie's original email because the resulting files are contained in the tubestuff.zip file. Unzip the files in that archive and copy them into the suggested folders. Then you will be able to add the drop-down symbol to your schematic (like triode_dd.asy) and then select the tube by placing the mouse cursor over the symbol and right-clicking to bring up the dialog box. You will need the corresponding library file (triode_nh.txt is associated with triode_dd.asy) in the appropriate folder.

Give this a try and see if it helps.

Ray
IslandPink
Posts: 56
Joined: Thu May 12, 2005 8:01 am
Location: Denbigh, North Wales

Post by IslandPink »

Thanks for the info Ray.
I must admit I tried what you suggest and didn't get the drop-down menu , for some reason .
In the meantime I have got this sort of drop-down set-up working with another guy's advice/files and the Norman Koren models :
http://www.audio-talk.co.uk/phpBB2/view ... 311#102311

..and what I'm trying to do now is just create another .asy file from this one, that calls the Stephie Bench data instead, just by editing the one line in the symbol file. Hopefully if I can get the edited file to be recognised as a Spice .asy file ( D'Oh ! ) I will be sorted .
©
Posts: 13
Joined: Sun Nov 27, 2005 9:31 pm
Location: zurich

6S4-A

Post by © »

hi stephie

it would be super cool if you could add a 6S4-A model to the drop down list with the next update… i have found some models on the web, but they do not handle grid current. the GE datasheet shows a +4 volt curve, and morgan jones reports driving the tube into A2 (or was it AB2?) using a source follower with surprisingly good results (he's been successfully using the WE harmonic equalizer with the 6S4-A in p-p).

thanks a LOT in advance!
Attachments
6S4A_ge.pdf
(375.2 KiB) Downloaded 487 times
proj964
Posts: 1
Joined: Tue Oct 08, 2013 3:40 pm

triode grid model

Post by proj964 »

hi,
in the triode_nh.txt file, some of the triodes (not sure if all do) have vct both in the grid model (v(2,3)) and in e1. I am curious as to the origin of this model. I have done extensive searches of what is available on the web and cannot find a description of a triode model that includes vct exactly this way; that is in v(2,3). Any references that the authors could make in this area would be mostly appreciated.
- jon
Post Reply