Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
39 views

How to assign the same value to multiple resistors in an LTSPICE circuit

I have around 10 resistors in a circuit, all with the default value "R". I defined the directive .param R=100 Upon running the simulation, I get the error ...
0
votes
1answer
37 views

LTSpice error with V() function, … when referencing net within a subckt (V(subCktName.NetName))

I've converted an IBIS model to a SPICE model using microCap, and am trying to simulate that subckt with LTSpice. Using LTspice, I get an error with the subckt in the library. "u1:g1: Unknown ...
0
votes
1answer
21 views

Pulse frequency modulation mode in buck converter MAX15062

I am modelling MAX15062 DC-DC buck converter using datasheet in PSpice, initially i worked on control loop. This buck converter has two modes PWM and PFM mode. With MODE pin unconnected works on PFM ...
0
votes
1answer
38 views

LTSpice error with the V() function in a subcircuit

I'm trying to do a simulation with a subcircuit, and I've narrowed down the issue to the V() function. The simulation fails with the message 'can't find definition of model "V" ' Here is the spice ...
5
votes
3answers
813 views

LT Spice Voltage Output

I am using LT Spice for simulation of my circuit. I have used a probe to check for the voltage on the Capacitor. What is the green dotted line that can be seen in the plot? Thank you.
1
vote
1answer
48 views

How do I import a spice model into LT spice?

I decided to create a question of how to import models into LT spice since there were questions that are related but no definitive guide on how to import 3rd party models on this site. There are many ...
0
votes
0answers
18 views

Constant current limit in the SIMPLIS

I wanted to convert this error amplifier form Pspice to SIMPLIS, for now i am using voltage controlled current source (VSCS) with the FB nod to the negative and Vref to the positive node of the device ...
0
votes
3answers
83 views

Sine Wave Input for Op Amp Integrator but Output Looks Weird

The input is in sine form (AC input) but the output (in blue color) is the straight line. So what is wrong with my schematic in LT Spice this time? I thought I should've got output in sine form if I ...
-1
votes
1answer
76 views

Simulation on LTSpice

LTSpice does not have a gap sensor as a component. Is there anyway I can either download a gap sensor or is there a way to create my own one.
0
votes
0answers
21 views

2:4 Decoder on LTSpice [duplicate]

LTSpice does not have a decoder component so I have had to make my own using two inverters and four AND gates. I am not sure if I have done it correctly.
0
votes
0answers
11 views

Simulation of decoders on LTSpice [duplicate]

I need to simulate a 2:4 decoder on LTSpice however the component does not exist. Does anyone know of a way to simulate it?
0
votes
0answers
34 views

Simulation of decoder on LTSpice

I need to simulate a 2:4 decoder on LTSpice however I can not find the component anywhere. Does anyone know of a way I can simulate it?
0
votes
0answers
70 views

opamp constant-gm bias circuit

I try to incorporate the constant-gm bias circuit (Figure 6 in Improvements_in_biasing_and_compensation_of_CMOS_opamp) into the PFC (positive feedback frequency compensation) opamp, but it resulted in ...
2
votes
2answers
745 views

If Manufacturer spice model and Datasheet give different values which should I use?

I'm trying to simulate an LED circuit but I am getting a large difference in results from the simulation vs calculations done using the datasheet information. In this case both the spice model and ...
2
votes
1answer
51 views

NTC Project (Wheatstone Bridge + Instrumentation Amplifier) - Stuck!

I've been lurking through these forums for years but just now had the urge to ask for help. I'm creating a thermometer (using an NTC thermistor) for my college project. I began to analyze my sensor ...
2
votes
1answer
38 views

Is a circuit simulation package available with models from multiple vendors?

I need to simulate a filter that will be used with a DAC. I need to model noise, accuracy, and drift to calculate ENOB and identify tradeoffs. I have used LTSpice for my modeling needs for the last 10 ...
1
vote
2answers
74 views

If I need to find an MOSFET spice model with a particular length and width, where do I start?

I was using a 180nm NMOS and PMOS but now need to use an NMOS with about L=.36u and W=100u. I have two models but I dont think I can just change the length and width to any value. How can I check if ...
1
vote
2answers
103 views

SPICE BJT simulation results

I'm trying to simulate simple BJT circuits to verify my hand calculations. Following is my circuit, I'm just trying to get the calculated DC collector current with the shown voltages and parameters. ...
4
votes
3answers
1k views

Strange opamp's output impedance in spice

I'm simulating this circuit in Micro-Cap, which is the clipping stage of a guitar effect. The opamp model is the "NE-5532" I want to measure the input and the output impedance. I expected an output ...
0
votes
1answer
62 views

Voltage Multiplier Problem

I´m working on a voltage multiplier with 5 stage, i´m using the same capacitor and i think that my problem is the current load but i actually think that with a resistor in the output of the multiplier ...
0
votes
0answers
14 views

spectre save command - usage

I did look at save command documentation in Spectre user and reference guide. But it still looks confusing to me. I am specifically looking for commands to do following two task: 1) probe all nodes ...
0
votes
0answers
52 views

Transient Noise Analysis in HSPICE using Monte Carlo simulation while preserving process variation

I want to analyze the effect of noise on a simple transistor circuit using HSPICE, while maintaining process variation. The basic setup is as follows: The HSPICE models for the transistors are ...
0
votes
0answers
44 views

Performance issues when using CMOS SR Latch with 180nm transistor models in circuit simulator

I am trying to incorporate a CMOS SR latch made with 180nm Level +49 transistors into a larger circuit but am running into issues. I am hoping this community can point me in the right direction of ...
1
vote
1answer
98 views

How do I model a resistor array in SPICE?

I am currently building a library of SPICE simulation models that is going to include resistor arrays. These arrays exhibits both absolute tolerances and relative tolerances. Usually, the relative ...
1
vote
0answers
26 views

How to calculate or show in matlab/pspice the DC component from a circuit simulation?

Based on Pspice I'm simulating this RL full wave rectifier That gives the next voltage and current output at the showed probe point The idea is to extract the DC component of the current or voltage, ...
1
vote
2answers
182 views

Plot voltage for different resistor values in LTSpice

I've signed up for a SPICE course at work, that will take place on Monday and I'm desperately trying to learn electronics and SPICE. (I work as an embedded engineer but with very lacking electronics ...
0
votes
2answers
74 views

NMOS current flowing equally in both directions in SPICE simulation

I am trying to characterize this nmos on Xyce simulator (and trying to change its present Vthreshold) and am first DC sweeping the gate and measuring the current through the nmos. I run into this ...
0
votes
0answers
63 views

LTSPICE Model Parameters of P-MOSFET

I am trying to simulate a circuit including TSM500P02CX P-MOSFET. The manufacturer of the MOSFET doesn't provide SPICE Model, so ...
0
votes
1answer
37 views

Linear regulator operating point over input DC Sweep analysis

I'm sweeping the linear regulator input voltage on DC using Spice from 0V to maximum expected Vin. However, as the OTA that makes part of LDO is internally supplied by the output voltage, the ...
1
vote
2answers
64 views

Error in third-party SPICE subckt of a MOSFET

I am simulating my circuit having a DMG1012T N-Channel MOSFET in LTSPICE XVII. My Circuit is given below: However, after ...
0
votes
2answers
141 views

How to automatically “normalise” a voltage signal in LTspice?

I would like to create an output signal that is normalised by the maximum value of a signal in LTspice. This is to produce a signal between [-1, 1] that is suitable for producing a wave file like ...
1
vote
2answers
87 views

SparkFun Sound Detector Circuit Analysis

I would like to request some help in analyzing the op-amp circuit used by SparkFun here. I'm particularly interested in the pre-amplifier portion of this design. The write-up included by SparkFun ...
0
votes
0answers
42 views

TI Photodiode Trans impedance amplifier Circuit?

I am designing a Photodiode(Vishay/ current of 15uA) circuit amplifier (TI ) in SIMetrix. frequency of Photodiode is 1MHz. I choose an Amplifier from TI as OPA355_Q1(spice model imported from TI) and ...
0
votes
2answers
96 views

Colpitts values for NXP's SA605?

I'm trying to put together a simple superhet radio, receiving at 161.75MHz (this is for AIS reception.) I've been trying to design around NXP's SA605 chip (see SA605) but I'm having a hard time ...
1
vote
3answers
57 views

zero AC gain of CMOS inverter

Why is the following AC analysis of CMOS inverter resulted in zero AC gain (vout/vin) ?
1
vote
0answers
42 views

dc sweep convergence issue for cmos inverter

I am having some convergence issue with DC sweep for a CMOS inverter. To duplicate the exact issue, see the following log as well as the attached netlist files, together with modelcard.nmos and ...
0
votes
2answers
63 views

Howto debug ngspice error PPerror: syntax error during transient analysis

In an effort to better understand software and how my computer actually works I have been experimenting with simple electronic circuits. I am working up to having three two bit registers (A, B, C) ...
1
vote
1answer
88 views

VCVS in LTSpice Operating as a Comparator

I am using a VCVS in LTSPICE. I am confused about the command in the Spiceline for using a Table. I want to use the VCVS as a 1 bit Comparator instead of making a transistor based one. What will ...
2
votes
3answers
110 views

Measuring transconductance of any circuit

May I know if the following transconductance measurement test circuit is correct because I am getting quite small Gm values ? I suspect that I need to use some derivative function because changing ...
1
vote
0answers
109 views

Add OpAmp subcircuit spice model to Altium

I want to add SPICE OpAmp model of Analog devices by .cir extension containing .SUBCKT information to Altium. I have it's schematic but I don't know how to add it's simulation file to it. I have ...
0
votes
2answers
85 views

How do I model a digital out in a circuit simulation?

I have a PIR: Panasonic NaPiOn AMN34112 that has a digital output. When it detects motion it outputs 4V and 100 uA max. I want to connect this output to a LED using one or more transistor amplifier ...
0
votes
1answer
39 views

How to Reconfigure a Current Sense Amplifier Pspice Model

I downloaded the .lib Spice library for the MAX4172 and imported it into OrCad, available from: https://www.maximintegrated.com/en/products/analog/amplifiers/MAX4172.html/tb_tab2 The library file ...
1
vote
1answer
144 views

Frequency dependent capacitor for AC sweep analysis in LTspice

I need to model a frequency dependent capacitor for AC sweep analysis in LTpsice. I see that it is possible for inductors with GLAPLACE component, but I don't find anything about capacitors. The value ...
0
votes
1answer
73 views

What is this spice model? Is it a level shifter? [closed]

Does anybody know what is this symbol in spice? I think this is something like Gate Drive or Level Shifter, but I want to know the exact part name or something like this part.
0
votes
2answers
126 views

Resistor between input and output for push-pull follower

I'm reading about push-pull output stages in The Art of Electronics, 3e. On page 107 he presents the following circuit: I'm confused about the function of the \$100\Omega\$ resistor used here. Below ...
0
votes
1answer
139 views

LTSpice display issue on osx [duplicate]

I'm knew to this site spice so please be gentle :) I've installed LTSpice (LTspice XVII for OS X, Build Oct 25 2018, 14:56:22 US Pacific) on a MacBook Pro running macOS High Sierra 10.13.6. When I ...
0
votes
1answer
115 views

Simulation discrepancy in Qucs with 2N3904 transistor

I've been testing out a few circuit simulation applications and ran into an unusual issue with Qucs and the 2N3904 transistor. For a simple NPN transistor circuit with load resistor \$R_L\$, base ...
0
votes
1answer
41 views

How to simulate a component hspice model in multisim

I'm trying to simulate TS5A22364 and they have hspice and ibis models, and CAD model .bxl in Multisim. Is it possible? I have tried to add the package model but I don't know how to add the .bxl model ...
0
votes
2answers
71 views

SPICE circuit to find AOL and noise gain of Transimpedance amplifier

In Chapter 10 of Art Kay's book "Operational Amplifier Noise", he gives a SPICE circuit (pp.179) that can be used to generate the noise gain, AOL, and current-to-voltage gain. Could anyone explain to ...
0
votes
1answer
48 views

Spice model search with advanced sorting functionality

Does anyone know of a search engine like Mouser/Digikey where you can narrow down parts based on voltage/package type/etc., but exclude all results without PSpice models? Unless I'm doing it all wrong,...