Skip to main content

Questions tagged [subcircuit]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
49 views

LTspice custom component - error when placing multiple

I'm having issues with a circuit I'm trying to build using analog multiplier AD633. I downloaded the model from the official site. I included it in the schematic using the guide provided by LTspice: I ...
Giuseppe La Spina's user avatar
1 vote
1 answer
134 views

LTspice TABLE keyword confusing

My need is to model the optocoupler SFH615A-2. I googled with the words: "SFH615A-2 spice model" then it leds me to Mouser's site: https://www.mouser.com/ProductDetail/Vishay-Semiconductors/...
quang cuon's user avatar
0 votes
0 answers
82 views

Disconnect main power if sub-module failed

I am working on a power supply for a stepper motor driver which requires 48 V and 12 V to operate. The 12 V rail must present all the time if it was cut off for any reason then the 48V should also be ...
Muhammad Nour's user avatar
1 vote
1 answer
124 views

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: ...
Kleinanzeige's user avatar
0 votes
0 answers
121 views

How to understand SUBCKT LTSPICE in order to modify an existing IGBT model to another from the same company

I am struggling trying to understand how a IGBT IKW15N120BH6 is implemented through a SUBCKT. The text file includes SUBCKT with functions and parameters, but it is not a typical construction of a ...
Danielito's user avatar
0 votes
2 answers
98 views

Do two or more subcircuits connected together change behavior?

This circuit for example: This is an op-amp circuit. It contains several subcircuits. I want to know how I can analyze this circuit. I found that I need to break the circuit into subcircuits, but I ...
Heroz's user avatar
  • 431
0 votes
1 answer
566 views

Strange Logisim error; subcircuit does not work in main

I have created a subcircuit that decides if a 3-bit signed binary digit A is larger than a 3-bit signed binary digit B. It works correctly in its subcircuit file. It does not, however, work when added ...
gogo's user avatar
  • 1
0 votes
1 answer
109 views

there is an undefinable text as .subckt in the edit spice model section. how can I find the correct one?

I want to copy and use the .SUBCKT model of UCC28C43 which is in an OrCAD capture schematic. I did as follows but the .subckt contains the undefinable text. why is that so? how can I find the correct ....
WeTech's user avatar
  • 735
1 vote
1 answer
5k views

How to pass parameters to subcircuits in LTSpice with the include statement?

Let's say I create a block with resistors R1 and R2. I want to use this block as a subcircuit in other designs. The typical way to pass in the values for R1 and R2 is to right-click on the block and ...
Leonhard Euler's user avatar
0 votes
1 answer
246 views

Problem Running a Subcircuit in LTSpice

I am trying to design an Li-Ion battery charger and I am using an LM317 chip. I created a symbol and subcircuit file (LM317.sub) but LTSpice cannot find the subcircuit file. I am not sure why so ...
Debbie's user avatar
  • 217
0 votes
0 answers
273 views

I have created a sub-circuit in Proteus but I can reuse it? How do I reuse it?

Basically I want to pack a large number of components to form a small device. I will use this device many times. So I created a subcircuit and designed my circuit in it. But whenever I make a copy of ...
Ali Aqdas's user avatar
  • 125
1 vote
0 answers
442 views

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's user avatar
  • 11
2 votes
1 answer
362 views

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, ...
Amirhosein Arabhaji's user avatar
0 votes
2 answers
565 views

How to write subcircuits netlists in Spice with multiplicity factors?

I am trying to port a behavioral device model from Cadence Spectre to Spice. In Spectre it is very easy to instantiate multiple parallel instances of a subcircuit automatically - one just calls the ...
Kristoffer_S's user avatar
4 votes
1 answer
942 views

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 ...
TTbulaski's user avatar
  • 345
1 vote
1 answer
161 views

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 ...
vram's user avatar
  • 158
0 votes
0 answers
83 views

LTSpice Simulations require netlist flattening on higher simulation counts?

As in my previous question mentioned, i am doing bulk simulation with predefined component parameters for a given amount of runs. These are calculated and written to the file via python scripts i made ...
jonspice's user avatar
1 vote
2 answers
4k views

Creating D-latch using Nand gates in Logisim?

I have designed a D-latch using NAND gates. The problem is when I convert it into a subcircuit the output is False no matter what my second input(clock input)is? It only works if I put the default ...
Sook Lim's user avatar
  • 135
5 votes
1 answer
4k views

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 ...
higrafey's user avatar
  • 343
2 votes
2 answers
130 views

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 ...
James's user avatar
  • 123
0 votes
1 answer
3k views

LTspice (XVII) Use component instance name as a parameter

I am trying to to simulate a ferroelectric capacitor using simple schmitt triggers subcircuits : simulate this circuit – Schematic created using CircuitLab I would like to pass {R1} as a ...
Alex's user avatar
  • 3
4 votes
2 answers
6k views

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 ...
Alessandro Russo's user avatar
2 votes
1 answer
1k views

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 ...
DerStrom8's user avatar
  • 21.4k
2 votes
1 answer
4k views

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 ...
Dehbop's user avatar
  • 279
4 votes
3 answers
14k views

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/...
Dr. Ehsan Ali's user avatar
0 votes
1 answer
2k views

How to enter .subckt model in Ltspice?

This is a LTSpice model I created for a single electron transistor macro model: ...
Haider 's user avatar
0 votes
1 answer
1k views

How to use a subcircuit in capture / spice

I am wondering how to add an IGBT .subckt file to a schematic in Orcad Capture. I already found out that if you have an '.NIGBT' model, you can use the Breakout library. But I cannot find out how to ...
Simon R's user avatar
  • 185
11 votes
5 answers
66k views

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 ...
rdtsc's user avatar
  • 16.2k
6 votes
1 answer
2k views

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 ...
Hamed's user avatar
  • 341
0 votes
1 answer
872 views

PSpice Error subcircuit internal node floating

I am trying to simulate a circuit with a variable capacitor in PSpice. The circuit is a simple test circuit like this: And the VARICAP model description is this: ...
W. Friedrich's user avatar
3 votes
1 answer
19k views

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 ...
Shashank Sawant's user avatar
4 votes
1 answer
5k views

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 ...
akohlsmith's user avatar
  • 11.3k