Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Help LTspice triode

Status
Not open for further replies.

bombofa

New Member
Hi, this is my first post on the forum!!
I just downloaded the ltspice version for mac.
I try to simulate a simple circuit whit a ltspice triode.

When I run the simulator the error message appear:

unknown subcircuit called in : xu1 .... triode

What can I do to run the simulator?

View attachment 67023

really thank's!!
 
hi,
Please post your LTS asc file.

Use Go Advanced and Manage Attachments
E.
 
Last edited:
Ok, I try whit a basic opamp, that doesn't work and I used this method:

use spice directive whit browse and I choosed opamp.sub, so I had :

".inc opamp.sub"

finally it worked!
But I don't have a triode.sub in my sub folder!

Is this the problem?
If I have a triode.sub in my sub library, maybe the circuit could work...

Or not?
 
hi,
This is my full set of valves for LTS, unzip and place the files in their respective LTS folders.

Lets know how it goes.

BYW: Use the asy and models in the zip, dont use your asy.

Note also in the lib are other valves.

E.
 
Last edited:
Wow thak's!
Now I downloaded your zip, but where I can put the txt and asc files?
I put the dmtriodep.lib in my sub folder and .asy file in my "misc" folder..
 
hi,
For testing you could keep them all in the same folder...

If you look at the directory/folder structure of LTS, you will see C:\Program Files\LTC\LTspiceIV\lib, from this you should be able to see where to move the different file types.

Attached is your LTSasc file..

E.

For your new_triodes.txt file you could place in the sub folder and when you use a valve from those listed in the text, you should place
.include new_triodes.text on the circuit.

You could try copying and pasting valve models from txt to the dmtriode.lib... you may have to edit the model.
 
Last edited:
Thank you very much Eric, now I can work !
I put the file "new_triode" and "dmtriodep.lib" into the folder where I saved my xxx.asc, for example:
1. open lts and create new schematic
2. save it whit xxx.asc name in my folder xxx.asc
3. copy and paste dmtriodep.lib and new_triode file into my xxx.asc folder

That's the only way I can see your file, because I tried to put dmtriodep.lib into C:\Program Files\LTC\LTspiceIV\lib, but seems that the ltspice doesn't find it!!
If I copy the dmtriodep.lib in a folder where I save my project, I can find the symbol!

I would like to work whit a pentode (generic) also, but in your library there aren't any pentodes models, do you know where I can find some models and how to work whit them? I loked in duncan amp's website, and I found some mdels, but I don't know how to test it!
And last one question
If I have a specific model, like 12au7, but I need a tube whit different characteristic (different mu, anode current, ecc..) can I modify the 12au7 parameters to have a new one model?
 
Last edited:
hi,
There are generic tetrodes in the F2/misc files, you could use [ I use the newxxxx] versions, also have you tried the new_tetrodes.txt, you may have to rearrange the pin outs to suit the valve model.

I will work on the pentodes later and post what I finish up with.:rolleyes:
 
hi,
I copied and renamed the txt files as pentode2.mod and tetrode2.mod files.

Placed them in the sub files and the folder where I was creating the asc files.

Some of the authors valves need some work!.

Small sample attached.

E.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top