Questions tagged [subcircuit]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
46 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 ...
0
votes
0answers
22 views

finding output voltage of 2 cascaded sub circuits without KCL

Hi I am trying to cascade sub-circuit 1 and sub-curcuit-2 and find Vout2 with given Vin1. I do not want to just cascade them(connecting Vout1 node to Vin2 node) and write bunch of KCL equations. I ...
0
votes
0answers
21 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 ...
0
votes
0answers
22 views

How to use .SUBCKT in OrCAD Capture?

I needed an LM565 to simulate, but unfortunately, the software did not have that LM565, and I accidentally saw this code on the Internet! But I do not know how to give this code to the software! The ...
1
vote
0answers
64 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?
1
vote
1answer
51 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
2answers
75 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
1answer
276 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 ...
1
vote
1answer
35 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 ...
0
votes
0answers
46 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
2answers
1k 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 ...
0
votes
0answers
298 views

How to produce a register bank comprising four such registers in Logisim, sharing common data lines D0 … D7 and outputs <Q0 … Q7>?

I made a D-Latch circuit that looks like this: and I converted it into a subcircuit and made an 8 bit register like this: But how do I make a register bank using four such registers? Any help is ...
5
votes
1answer
2k 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 ...
2
votes
2answers
67 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 ...
0
votes
1answer
2k 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
votes
2answers
2k 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
1answer
838 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 ...
2
votes
1answer
3k 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 ...
4
votes
2answers
12k 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
1answer
1k views

How to enter .subckt model in Ltspice?

This is a LTSpice model I created for a single electron transistor macro model: ...
0
votes
1answer
871 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 ...
7
votes
5answers
42k 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 ...
6
votes
1answer
1k 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 ...
0
votes
1answer
705 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
1answer
15k 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
1answer
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 ...