Questions tagged [subcircuit]
30 questions
10
votes
5 answers
Is there a potentiometer model for LTspice?
I started designing a model for a three-terminal potentiometer in LTspice, since none are included and it's such a common component. Drawing the .asy symbol and the wiper terminal, it dawned on me that this was going to be more complicated than it…

rdtsc
- 15,913
- 4
- 30
- 67
6
votes
1 answer
How to change the temperature of sub-circuits in LTSPICE
I have subcircuits of a solar cell (resistors and diodes) in LTSPICE. I want to connect the solar cells (sub-circuits) together. However, each solar cell has a different temperature. I can set the temperature of the program with .Temp but how can I…

Hamed
- 311
- 1
- 2
- 10
5
votes
1 answer
Best practices for using subcircuits and hierarchical blocks in LTspice
I'm designing a series of circuits in LTspice and wanted to get some feedback on the accepted way to use subcircuits and hierarchical blocks. The LTspice manual is somewhat vague on these topics. In the screenshot below, I've copied one section of…

higrafey
- 343
- 2
- 10
4
votes
1 answer
LTSpice, MAC97A8 TRIAC model, Vgs error
I'm having some difficulty getting LTSpice to like a TRIAC model.
The specific error it throws is "Missing model definition for VGT-0.65". The trouble is that VGT is a subcircuit parameter, not a model.
The thyristor library is one I found while…

akohlsmith
- 11,162
- 1
- 35
- 62
4
votes
1 answer
LTSpice .DC syntax error
I got this error
Syntax error in .DC command.
expected sweep starting value of source 'sweep'
I have no idea about how the syntax works. I only resorted in asking this site because it was urgent
And here is the code in question:
FILE:…

TTbulaski
- 335
- 2
- 8
4
votes
2 answers
LTSpice: how do I pass to a function a component name as parameter?
Good morning all.
I am implementing a subcircuit in LTspice, and I want also to modify the plot.defs to calculate some quantities with the voltages/currents inside the subcircuit. Thus, I will have a function like:
.func A(x)…

Alessandro Russo
- 43
- 1
- 3
4
votes
3 answers
How to make LTSpice sub-circuits available globally?
LTSpice Hierachy block can not be found if it is not in current working directory.
I am using this tutorial to create sub-circuits in LTSpice:
http://www.audio-perfection.com/spice-ltspice/hierarchical-blocks-in-ltspice.html
Everything is fine…

Dr. Ehsan Ali
- 862
- 2
- 10
- 24
3
votes
1 answer
LTspice: How to convert .asc file to netlist?
Using LTspice I can create .asc files which contain the information about my circuit. Is there a way to convert this information to a netlist? I am looking for a way to create a component and then add it to the library. I can use a text-editor to…

Shashank Sawant
- 299
- 4
- 6
- 11
2
votes
2 answers
Understanding EOS SUBCKT behavior
I'm trying to modify an op amp to simulate its worst case behavior at end of life. In the common mode effect section of the LM124/NS I have the following
EOS 7 1 POLY(1) 16 49 1E-3 1
What is the function of EOS? I've been searching online for…

James
- 123
- 3
2
votes
1 answer
LTSpice: "Can't expand empty subcircuit" error with HC4046 Model
I downloaded the symbol and model for the HC4046 Phase-Locked Loop chip from the Yahoo LTSpice group here:
https://groups.yahoo.com/neo/groups/LTspice/files/%20Lib/CD4046/Others%20CD4046/
(You will need an account and to be signed in to view this…

DerStrom8
- 21,042
- 8
- 61
- 95
2
votes
1 answer
Turning a Subcircuit block into a Transfer Function for faster simulation in SPICE
Is there a way to take a sub circuit definition (.subckt) and have SPICE (or in my case LTSpice) take the Transfer Function for it. Then have SPICE refer to this Transfer Function whenever a component with this .subckt definition is inserted in any…

Dehbop
- 279
- 7
- 19
1
vote
1 answer
Problem using table parameter in subcircuit
I am trying to use a subcircuit to replace a normal resistor for an FMEA.
The .sub file looks like this:
.subckt testResistor In Out
.step param testResistorIterrator 0 4 1
.param BaseResistance= table(testResistorIterrator, 0, 1T, 1, 1, 2,…

Kleinanzeige
- 13
- 3
1
vote
0 answers
creating symbol for Transmission gate switch in ltspice
I need to create a symbol of transmission gate to use but when putting its symbol I get a message "unknown subcircuit called in xx1_nc01_nc02_nc03_nc04
how may I fix it?

Daniel
- 11
- 1
1
vote
1 answer
Not getting output from a subcircuit
I just started to working with Proteus and I want to implement and test some simple circuits.
I made a subcircuit and tested it with logic state and logic probes.
The first picture is my main sheet and the second picture is the circuit inside…

Amirhosein Arabhaji
- 131
- 1
1
vote
1 answer
I can't communicate a subcircuit wiith the main sheet through bus cables
how are you?. I'm doing a project in Proteus whose I wanna do it as modular as possible, from the principal sheet I've an LCD screen (see the Image 1 and Image 2)
and its terminals are been moved with bus cables to a subcircuit and inside the…

vram
- 158
- 12