Questions tagged [spice]

A famous textual circuit simulator with a number of graphic front-ends. Please tag with the precise flavor used (e.g. Pspice, LTspice, ngspice, Multisim, Proteus, Qucs) whenever appropriate (e.g. syntax or debugging) because there are substantive differences between implementations.

Filter by
Sorted by
Tagged with
0 votes
2 answers
40 views

Same variables and different values on instances

I have searched on google but I have not found a way to put different values in the variables of the same symbol placed more than once. Each component "X11, X12..." etc, are the same, and ...
user avatar
0 votes
0 answers
34 views

SPICE model for the Arduino Nano

I have designed a PCB in Eagle which I want to test. For that I would need a basic Arduino model which simulates what would happen if all the pins would have a high output. Would be better if I could ...
user avatar
0 votes
0 answers
44 views

SPICE Models with >3 Terminals for use in SIMPLIS

I'm trying to convert a GaN FET SPICE model to use in a SIMPLIS schematic. The SPICE model is based on a typical MOSFET model (G-D-S) but also includes the TJ, TC and SS pin, as shown in figure. I've ...
user avatar
0 votes
1 answer
51 views

Diode SPICE data accuracy at high frequencies?

I'm trying to do a non-linear harmonic balance simulation on a schottky diode model MACOM MA4E1317 that according to the manufacturer is usable up to 80 GHz. I got the SPICE data and S-Parameter files ...
user avatar
  • 1
1 vote
3 answers
109 views

Failed to find DC operating point for AC analysis LTspice

I finally successfully added the MCP 606 (MCP 609) in LTspiceXVII. I am now facing an error "Failed to find DC operating point for AC analysis". I have checked the maximum supply of MCP 606 ...
user avatar
  • 105
1 vote
0 answers
43 views

LTspice voltage source definition as .param value

I want to have a bunch of .param directives to serve as test cases, one of which I will uncomment before doing a test. It allows me to make sure tests made in the ...
user avatar
  • 138
4 votes
1 answer
73 views

How can you block the parasitic body diode in digital CMOS I/O IC design?

I've been screwing around with IBIS models lately and came across something that left me scratching my head. First, the generic model structure for the semiconductor portions of an IBIS I/O looks ...
user avatar
  • 2,084
2 votes
0 answers
63 views

Why BJT thermal voltage can be not equal to kT/q in SPICE3

In SPICE, apart from effects such as basewidth modulation and base-collector leakage the collector current is given by the expression (according to the original SPICE2 PhD work) But actually, ...
user avatar
  • 773
1 vote
1 answer
109 views

How to simulate LM2596-adj in LTspice?

I want to simulate the LM2596-adj on LT-spice. I have downloaded the models from the product page of texas instruments they don't work properly, because they are models for 3V3, 5V and 12 V output and ...
user avatar
3 votes
1 answer
73 views

BJT Is Saturation current temperature dependence singularity

So, I am currently looking at the ways transistors change their parameters with temperature according to SPICE for a thorough investigation of synthesizer VCO exponential converter. Particularly, the ...
user avatar
  • 773
1 vote
0 answers
42 views

How to determine if a gate/inverter can drive a fanout of 4 gates?

I have a circuit in which a driving inverter output (Fanout of 4) with equal Wn Wp sizing (m=4) is driving 4 other gates having same equal Wn Wp sizing (m=1). How to calculate if the inverter fanout ...
user avatar
0 votes
0 answers
21 views

How to model IC's enable (EN) pin in SPICE

What is the best way to model an enable pin of an IC (SIP32508)? There is no schematic in the datasheet apart from the block diagram. I know that the pin can be driven between 0 and 5.5V and has the ...
user avatar
  • 149
1 vote
1 answer
45 views

Which capacitor equivalent circuit should I use in an AC PSPICE sim?

I am trying to simulate the frequency response of a buck converter with the specific ceramic caps that I will be using on my board. The goal is to evaluate stability (phase margin). The OEM does not ...
user avatar
  • 69
2 votes
2 answers
273 views

Help me find the PSPICE error, please!

I am trying to simulate the frequency response of a buck converter with the specific tantalum caps that I will be using on my board. The goal is to evaluate stability (phase margin). The capacitor OEM ...
user avatar
  • 69
1 vote
1 answer
58 views

LTspice create a model with <InstName> attribute as a variable

Don't know if my title was correctly put. Here is what I want. I am creating a new module. Each time I add new module I get on top of the module X1, ...
user avatar
  • 125
0 votes
0 answers
59 views

Why is the base current of a BJT in PSpice higher than expected?

I have made a common emitter amplifier in PSpice with an NPN transistor. I have set the Beta value to 200 in the model settings, however, as you can see from the picture, the collector current is not ...
user avatar
2 votes
0 answers
28 views

How to determine LS, CS, RS, and CO of a piezo transducer for simulation?

I have a 24mm piezo transducer with the marking SSE2425TAL from overseas. There are no detailed specs nor graphs to get LS, CS, RS, and CO at various frequencies (but just 25 kHz is fine). I'd like to ...
user avatar
  • 259
0 votes
0 answers
60 views

Couldn't find SPICE model of BMS

I have designed a schematic of Battery Management System and I want to simulate it before prototyping and PCB design because I can't take risk in it. the IC I'm using for it is BQ25731RSN and I ...
user avatar
  • 25
3 votes
1 answer
76 views

Creating SPICE netlist from EIS equivalnet circuits

In electrochemical impedance spectroscopy, "equivalent circuits" are often used to model the response of an electrochemical system to an AC potential input in the frequency domain. I'd like ...
user avatar
  • 131
2 votes
1 answer
53 views

SPICE simulation of MOSFET switch

Trying to understand the SPICE output for this basic MOSFET circuit: The input (left) is a crude square wave: A simple spice simulation shows the output voltage (right) as follows: Why does the ...
user avatar
4 votes
2 answers
112 views

Why does this buffer amplifier show overflow?

I'm taking my first electronics course in my EE program, so I'm just delving into the world of Spice programs. l I've been asked to use LTspice to design a unity gain buffer amplifier using the ...
user avatar
1 vote
0 answers
67 views

Why is the simulation of a self hold circuit in Altium is so hard?

I'm trying to simulate a self-holding circuit that is part of a multi-sheet project, but no matter how I try to run the simulation, it doesn't behave as it is supposed to. I've isolated the circuit ...
user avatar
  • 31
0 votes
1 answer
91 views

Inverting amplifier not acting as expected with non-ideal op amp

I'm fairly new to using op amps, so this may be a simple issue. I am building an inverting amplifier for monitoring a negative voltage on an analog rail. Since the ADC I'm using requires a positive ...
user avatar
  • 65
2 votes
0 answers
61 views

How to use current sources correctly

In this simulation the circuit generates a AC signal at "Electrode". Here I am using two SPDT-Switches (Ron = 4 Ω). My first question: Why isn't the signal correctly rectangular? And how ...
user avatar
1 vote
0 answers
39 views

Simulating in Altium Designer

I have very little experience with Spice simulations, and I have never simulated in Altium Designer. Whenever I install a simulation model there is an option to choose LTSPICE, PSPICE, or MixedSim. ...
user avatar
  • 31
0 votes
0 answers
53 views

LTspice to WRspice netlist conversion

How do I convert the .asc file in LTspice to a netlist file for WRspice? Any recommendations? Is there any direct and easy way to do this? If not, how can I edit the .asc file to the respective ...
user avatar
1 vote
0 answers
42 views

LTspice Netlist Resistors have TOL in Netlist

Any resistor I place in the schematic has the letters "Tol" in its netlist. I've set all my settings to default value and it's still there. It typically doesn't get in the way unless I try ...
user avatar
  • 11
0 votes
1 answer
81 views

Spice pulsing sine source

I've been trying to create a voltage source in Pspice with a 'pulsing' sine wave. I can't seem to get it working, I've tried inputting a sin function in a VPWL source. An example of a waveform I try ...
user avatar
  • 133
1 vote
1 answer
88 views

Simulation of MOSFETs as high-speed switches

I’m trying to simulate high-speed switches (2xSPDT) made of MOSFETs. The MOSFETs should switch so that while “I2” flows into output, “I1” flows into “U_1” (or vice versa). I couldn’t interpret the ...
user avatar
2 votes
1 answer
110 views

How can get my LM2776 simulation in KiCAD working

I'm a beginner to both KiCAD and PCB design. I'm using KiCAD 6.0 on a mac. I'm trying to learn simulation and although the simulation basics seem straightforward enough, I have trouble importing ...
user avatar
2 votes
2 answers
86 views

Setting parameters in SPICE models

I was trying to run some simulations on 45nm technology MOS transistors in Spice. I had a few beginner level questions regarding these models. If a library says it is for 45nm process node, shouldn't ...
user avatar
  • 158
2 votes
1 answer
60 views

LTSpice model for NTE222?

I'm looking to use an NTE222 (dual gate mosfet) in a design I'm pondering. I've also very recently upgraded from my slide rule to LTSpice (yes, I've been living under a rock, but I'm enjoying having ...
user avatar
3 votes
2 answers
196 views

LTSpice: Time varying voltage source parameters

I want to design a voltage source on LTSpice, which must have the following parameters . Simulation Time Tr Tf Tp 0-1m 0.5u 0.5u 1u 1-2m 0.495u 0.495u 0.99u 2-3m 0.5u 0.5u 1u 3-4m 0.495u 0.495u 0....
user avatar
0 votes
1 answer
48 views

Plotting MOS resistances in transmission gates in spice

I am trying to plot the resistance of MOS transistors in transmission gates, as a function of output voltage in ltSpice, as shown in this figure from Jan.M.Rabey: I have a circuit with same ...
user avatar
  • 158
1 vote
3 answers
196 views

MOSFET Spice model

I'm trying to understand what this model exactly specifies.For example, is k1 the same as k' used in equations, and is u0 the same as mu_0? ...
user avatar
  • 67
-1 votes
2 answers
98 views

Transient simulation of low-pass filters

I am simulating two low-pass filters with different cut-off frequencies. The first image below shows the outputs -LPF1 and LPF2- and the input -V(z)- of the both low-pass filters. The second image ...
user avatar
1 vote
1 answer
151 views

How does this LM337 spice model work?

TL;DR: How does a VCCS + darlington PNP work effectively like an op-amp? The following op-amp circuit set the Vout to -1.25 * (1 + R2 / R1). With the resistor values given, it set Vout = -10.05V. I ...
user avatar
-1 votes
1 answer
57 views

How do the dimensions of a MOS tranistor affect the gain of a CMOS inverter?

I am simulating the voltage transfer characteristic curve of a CMOS inverter, while varying the dimensions of L and W of MOS. Comparing the results for two scenarios, I have the following results: ...
user avatar
  • 158
1 vote
2 answers
257 views

Do I need Linux for UCB's SPICE(3)?

I have been reading a SMPS book with many simulated examples. I want to recreate the sims in the book and follow along with the shown examples. The author states that he uses SPICE for all examples, ...
user avatar
0 votes
0 answers
27 views

Spice syntax in Altium for saving simulation data

I want to save a maximum value from a simulation to a text/csv file (actually whatever that I can parse later). I tried .MEASURE and ...
user avatar
  • 23
0 votes
0 answers
70 views

Diode Stack SPICE Modeling

When I model a 7 diode stack in SPICE (LTSPICE or core Smartspice within Silvaco TCAD) the standard level 1 'Berkeley' model works, but the Philips model fails. The Philips diode model (see Smartspice ...
user avatar
1 vote
0 answers
41 views

how to calculate rx, ro given gx and go from XSPICE

I have a set of XSPICE data extracted from multisim as can be seen in the attached image. How do I calculate the ro and rx (base spreading resistance) given the parameters go and gx. Thanks
user avatar
-2 votes
3 answers
111 views

Is there a free circuit simulator program that is able to make a SPICE (.cir extension) file? [closed]

I don't have a lot of money and I need some program that can simulate circuits and output a .cir file.
user avatar
0 votes
1 answer
83 views

DFLOP LTspice inputs and outputs

I want to use the symbolic form of following DFLOP in the schematic. but I don't know which pin refers to which indicator(n001, n002, ...). for a better understanding of my question, I attached an ...
user avatar
  • 457
0 votes
2 answers
67 views

Component's indicator in LTspice

Maybe the chosen title is not proper but anyway: What is "A" in the following LTspice code line? What is the pattern of the other specifications? ...
user avatar
  • 457
0 votes
0 answers
83 views

Using UC3844 and TL431 to compensate a forward converter

I am designing a forward converter capable of providing 5A at 30V at the output. For the compensation part, I am thinking to use UC3844 in combination with TL431 to achieve peak current mode control. ...
user avatar
  • 170
0 votes
0 answers
14 views

Where can I find the format specification of a spice3f5 data dump?

I am using ngspice command write to write a data dump of simulation results. I want to use this binary format because presumably I can preserve precision. I can ...
user avatar
  • 309
-2 votes
3 answers
152 views

What software has been used to make this circuit diagram [closed]

I am new to EDA tools, I use xcircuit to draw circuits but that is very time consuming. I see these diagram a lot on internet with green wires and blue labels that look nicer than xcircuit: What EDA ...
user avatar
  • 231
-1 votes
1 answer
62 views

Integrating Spice within larger system model

Is there a way to integrate spice within a broader system model that allows for programming? In particular I am interested in simulating a digital feedback controller whos next output depends upon the ...
user avatar
0 votes
2 answers
133 views

Noise on DC voltage LTspice

Is there a way to add noise to a DC voltage source in LTspice? I'm trying to simulate a DC/DC converter and want to know how the circuit responds to a ripple/noise on the input. I.e. +/-100mV noise/...
user avatar
  • 133

1
2 3 4 5
12