Questions tagged [subcircuit]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
54 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: ...
0 votes
0 answers
43 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 ...
0 votes
2 answers
68 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 ...
  • 431
0 votes
0 answers
24 views

WRspice Subcircuit Programming

I want to create a SPICE subcircuit file for an electronic component. I have found the LTSPICE code for the component, I want to know how to convert the LTSPICEcode to WRSPICE compatible subcircuit ...
0 votes
0 answers
28 views

SPICE model error with Subcircuit model nodes as "Text" Instead of Unsigned Integer in Mindi SIMPLIS

Setup: MPLAB Mindi Simulator in SIMPLIS mode, *.mod model file of capacitor GRM31CC80G227ME11. I have loaded(via model library addition or directly including using .INC file) a Sub circuit model of ...
  • 1,358
0 votes
1 answer
231 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 ...
  • 1
0 votes
1 answer
83 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 ....
  • 735
0 votes
1 answer
2k 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 ...
0 votes
1 answer
136 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 ...
  • 207
0 votes
0 answers
172 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 ...
  • 125
1 vote
0 answers
291 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?
  • 11
1 vote
1 answer
200 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 subcircuit and tested it with logic state and logic probes. first picture is my main sheet and ...
0 votes
2 answers
274 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 ...
4 votes
1 answer
660 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 ...
  • 335
1 vote
1 answer
107 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 ...
  • 148
0 votes
0 answers
71 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 ...
1 vote
2 answers
3k 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 ...
  • 135
5 votes
1 answer
3k 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 ...
  • 333
2 votes
2 answers
97 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 ...
  • 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 ...
  • 3
4 votes
2 answers
4k 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 ...
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 ...
  • 20.7k
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 ...
  • 279
4 votes
3 answers
13k 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/...
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: ...
0 votes
1 answer
960 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 ...
  • 185
9 votes
5 answers
54k 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 ...
  • 14.6k
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 ...
  • 301
0 votes
1 answer
800 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: ...
3 votes
1 answer
18k 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 ...
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 ...
  • 11.1k