Need help with tube models in LTSpice - diyAudio
Go Back   Home > Forums > Amplifiers > Tubes / Valves

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
Reply
 
Thread Tools Search this Thread
Old 6th August 2009, 07:29 AM   #1
Bitrex is offline Bitrex  United States
diyAudio Member
 
Join Date: Jan 2009
Default Need help with tube models in LTSpice

I've been trying out LTSpice, and I think it's great so far. I'd like to use it to do some tube design, but I'm having a bit of trouble - I can place the triode and pentode circuit elements, and I've downloaded the "Generic Triode Model" from Duncan's Amp pages, but I don't understand how to link the two together. When I right click the triode model I get some cryptic fields about netlists, but I don't see any way to attach a file or anything. How can I make this work?
  Reply With Quote
Old 6th August 2009, 09:36 AM   #2
diyAudio Member
 
Ty_Bower's Avatar
 
Join Date: Mar 2007
Location: Newark, DE
You need to drop a directive somewhere on the page and include the model(s) you wish to use in your circuit. Maybe this screen capture will help. Notice the directive in the lower right corner of the page, where I include the dmtriode models and the 6SL7GT model. The actual LTspice schematic is included in the attached zip file.

Click the image to open in full size.
Attached Files
File Type: zip simple2a3.zip (5.7 KB, 532 views)
  Reply With Quote
Old 6th August 2009, 09:40 AM   #3
euro21 is offline euro21  Hungary
diyAudio Member
 
Join Date: Sep 2004
Location: Budapest
1.) Download dmtriodep.inc
2.) LTSpice Menu "File"-"New schematic"
3.) "F2" button (Component)-> select ...[Misc] directory-> select "triode". Save schematic (xxx.asc) elsewhere.
4.) Place dmtriodep.inc file to the same directory, where schematic (something.asc) was.
5.) LTSpice Menu "Edit"->"Text"->"Spice directive". Write: INC.dmtriodep.inc. Save it on the schematic.
6..) Edit dmtriodep.inc file /Notepad/, search triode model name: 12AX7.
6.) Right click on the triode symbol. Sellect "Value". Write triode name from dmtriodep.inc.
  Reply With Quote
Old 6th August 2009, 10:56 AM   #4
diyAudio Member
 
Join Date: May 2007
Go to the Sim City section at www.intactaudio.com/forum . Youĺl find everything you need there.
  Reply With Quote
Old 6th August 2009, 02:58 PM   #5
kevinkr is offline kevinkr  United States
diyAudio Moderator
 
kevinkr's Avatar
 
Join Date: Sep 2004
Location: Boston, Massachusetts
Blog Entries: 6
Search for my userid and LTspice and you will find both the compatible tube model libraries and symbols and how to install them in LTspice allowing you to call the models just as you would any other part.
__________________
"Extraordinary claims require extraordinary evidence." - Carl Sagan
  Reply With Quote
Old 6th August 2009, 08:28 PM   #6
Bitrex is offline Bitrex  United States
diyAudio Member
 
Join Date: Jan 2009
Thank you, everyone!
  Reply With Quote

Reply


Hide 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tube spice models nhuwar Tubes / Valves 45 25th November 2011 09:47 AM
Computer program for tube curves and Spice models Jim Tonne Tubes / Valves 9 21st November 2010 11:10 AM
Got my tube spice models, and tubed CD player page back on the air wa2ise Tubes / Valves 2 21st April 2008 12:07 AM
How many people here use simulators, like LTspice, to help design tube stuff? hotbottle Tubes / Valves 6 18th March 2008 06:33 PM
Ltspice.... mikeks Solid State 10 13th June 2004 09:10 PM


New To Site? Need Help?

All times are GMT. The time now is 07:45 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2