Quantcast
Channel: User Ste Kulov - Electrical Engineering Stack Exchange
Browsing latest articles
Browse All 106 View Live

Answer by Ste Kulov for 2N7000 SPICE model in CircuitLab

This is actually quite tricky, due to (1) how SPICE models in general are not typically created from datasheet parameters, and (2) how discrete power MOSFETs are modeled in the first place. The...

View Article



Answer by Ste Kulov for Weird behaviour on N channel MOSFET and buzzer

There is quite a bit of confusion here from some of the other users. The two buzzers you have listed in your schematic are completely different. The CMI-1295IC-0585T has internal circuitry for...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for In LTspice, how do I create a voltage source with a...

I've heard it's impossible to have a frequency dependent voltagesource in LTspice.I don't know where you heard this from. Anyway, I believe you just need to use a "FREQ table", which is simply a way to...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for LTspice: Simple equation calculation error with .meas

It looks like you're accidentally trying to reuse pre-defined built-in parameter names. Although this section of the Unofficial LTspice Wiki lists out boltz and echarge, it looks like k and q are also...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for How do I use a behavioral voltage source to...

It was already determined in the comments that for your specific inputs, the output would result in zero because the DC operating points for all your inputs were zero. However, if you start to adjust...

View Article


Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for LTspice 1000A simulation

I believe this is what you want to do:A couple notes here. First, you have to define your source in "peak" value and not RMS. For a sine wave, you just multiply the desired RMS value by 1.414 to get...

View Article

Answer by Ste Kulov for Spice convergence troubles on this soft-start relay...

There are a few issues in your circuit that can cause convergence problems. All of these can also apply to any SPICE circuit in general:The default model for the NPN transistor is being used. This...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for LTspice simulation of a fluxgate excitation circuit...

When asking a question like this, it's good practice to include links to the actual third-party SPICE models you are using instead of assuming anyone who tries it will coincidentally download the same...

View Article


Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for LT Spice - IV Curve using PWL Datapoints

There are a couple ways to do this, but in my opinion it's easiest (especially with a low amount of points) to do the following which uses the standard g2 symbol for a G-source. G-source (and E-source)...

View Article


Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Is it possible to include a behavioural source in an...

Traditionally, a SPICE subcircuit only understands the nodes defined within it and also any nodes explicitly attached to it. Therefore, in your test circuit you would typically need at least a 3rd port...

View Article

Answer by Ste Kulov for How to create encrypted model in LTspice with .lib...

The easiest thing to do to solve this would be to remove the .lib's and manually copy/paste the .subckt for level2 from UniversalOpAmp2.lib into the custom .sub file you want to encrypt. You can just...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Why "Unknown subcircuit called in" despite correct...

You need to enter in 6267 for the Value field, not the SpiceModel field. Leave SpiceModel blank, as shown below:As Hearth mentions in the comments, it shouldn't matter if SpiceModelorValue are used,...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for LTSpice Problem with AD8422/AD8221/?

As mentioned in the comments of your question, there is an issue with the model/subcircuit. The easiest way to solve it is to add the following SPICE directive (shortcut key S) onto your...

View Article


Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Compute diode model parameters from IV curve

Instead of making an intrinsic diode model from your I-V data-points, you can also use your data-points directly. You can make a G-source with the table keyword, and then include your data points as...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for LTspice TABLE keyword confusing

The syntax used in your subcircuit is strange for two reasons. First, it's not documented in LTspice because it's PSpice syntax and LTspice includes hidden PSpice compatibility behind the scenes....

View Article


Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for How to create a PWM source with fixed frequency and...

Probably brute-forcing a solution using a PWL source is the quickest way to a solution. It's very useful for weird and/or complex sources. Once you dabble in generating your own PWLs using a...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Why are the current-voltage characteristics of a...

...although both programs use the Ebers-Moll model.This is the assumption you are making which is causing your problem.LTspice generally uses the Gummel-Poon model of the BJT. If no Gummel-Poon...

View Article


Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Triac Not Triggering in Q3

If you look at the .zip file provided by ST, it includes a .lib (models) and a .olb (symbols). These are meant to be used with PSpice, and there is also a .pdf file provided which shows you how to...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for LTSpice PMOS model differs from by scratch...

There are two main discrepancies between your MATLAB implementation and what LTspice does.First, there are two substrate PN junctions that SPICE models in addition to the drain current equations. Since...

View Article

Answer by Ste Kulov for CD4007-based subthreshold MOS amplifier

Here are the MOSFET models from the link you posted:.model MbreakND NMOS+ Level=1 Gamma=0 Xj=0+ Tox=1200n Phi=.6 Rs=0 Kp=111u Vto=2.0 Lambda=0.01+ Rd=0 Cbd=2.0p Cbs=2.0p Pb=.8 Cgso=0.1p+ Cgdo=0.1p...

View Article

Answer by Ste Kulov for How can I use the external library for the 2EDF7175F...

The Infineon webpage for the 2EDF7175F provides a .zip file under the "Simulation Models" tab within the "Design Support" section. Found inside the .zip file are directories geared towards different...

View Article


Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Wrong LTspice simulation results when circuit has a...

PREFACE: Make sure to always set .options plotwinsize=0 when analyzing quirky things like these.The LTC6268 model has some internal signals coupled to ground.However, other op amps exhibit the same...

View Article


Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for simulation output impedance of ADA4522-1

The question is why can't I get the same results as the datasheet? Isthere anything I am doing wrong?There is something you're doing wrong, but it's kind of out the box of what you'd normally think....

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Circuit Simplification of (Series/parallel sources)

I could not check these using the simulator, as LTspice does not allowparallel voltage sources or series current sourcesYou can get around this by using very small series resistors for the parallel...

View Article

Answer by Ste Kulov for LTspice - using an encrypted file

Nope. Encrypted SPICE models/subcircuits/libraries can only be used in the software they were encrypted for. So the “TPM63610 PSPICE Transient Model” can only be used in PSpice. Luckily TI provides a...

View Article


Answer by Ste Kulov for How can I have LTspice display more digits with .op...

First, just to clarify your question, you're not talking about normal .op output of voltages and currents. You're talking about the calculated small-signal parameters for non-linear semiconductor...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Why doesn't LTspice take the default model parameters...

The SW device requires a .model statement, even if you want all default parameter values. Therefore, you simply need to add a .model SW SW SPICE directive on the schematic if you want to use the...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for Replacing MOS parasitic cap with external cap. Why...

First, to make things easier, I reconstructed your LTspice schematic such that both versions you are trying to compare are within the same simulation. That way you can probe both outputs at the same...

View Article

Comment by Ste Kulov on Using a N-channel JFET as a current source

You can also try looking for depletion-mode MOSFETs. digikey.com/en/products/filter/transistors/fets-mosfets/…

View Article



Comment by Ste Kulov on OpAmp Offset Null Pins in LTSpice

You said you imported a model. Where did you get it from? Can you show us the netlist for it?

View Article

Comment by Ste Kulov on How to solve the LTspice error "Questionable use of...

I think your main problem is that F1 is wrong. Fix that first. By the context, it looks like you should be using either the bi or bi2 symbols instead. The f symbol is for a linear current dependent...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for OpAmp Offset Null Pins in LTSpice

Most opamp SPICE models are behavioral subcircuits and not transistor-based models. The OFFSET NULL pins of the LM741 operate on the specific imperfections of the input transistors, so it's more...

View Article

Comment by Ste Kulov on LM317-N output voltage lower than expected in LTspice...

@JaysonOkhman If you’re only needing to supply a few milliamps at a very high accuracy, it might be better to look into using a “voltage reference” instead.

View Article


Comment by Ste Kulov on OPA656 Simulation works on TINA but not on LTspice

@Victor After using V.V.T's fixes, I tried all the tricks in my bag but can't get this subcircuit to work properly in LTspice. I can get the simulation to run but the results don't match your TINA-TI...

View Article

Image may be NSFW.
Clik here to view.

Answer by Ste Kulov for What is the relation between NE555 voltage doubler...

This answer might not be what you had in mind, but it's an extremely useful concept/technique in electronics which can be used in many applications. Your circuit is nonlinear and complex with switching...

View Article

Comment by Ste Kulov on LTspice problem - AND gate gives wrong output -...

“Need” isn’t 100% accurate, but your solution is still valid and one way to solve the problem.

View Article


Comment by Ste Kulov on Can two interfering light beams create radio waves?

i.sstatic.net/26cYHWFM.jpg

View Article


Comment by Ste Kulov on How do I use ideal MOSFET model in LTspice? or How do...

Probably best to use the voltage-controlled switch for something like this. The symbol is named sw and you need to put a SPICE directive on the schematic for the .model ... statement. See the help page...

View Article

Comment by Ste Kulov on Measuring the resistance of an LED -> getting...

+1000 points for simulating. @user3553471 You can grasp a lot more about this concept by playing around in a simulator like CircuitLab (click the link within the answer). Change values with a couple...

View Article

Comment by Ste Kulov on Can't get the required simulation waveform of a...

sine and sine_180 seem easy enough as long as you know the frequency. The 2nd one should be the same as the first except with 180 set for Phi[deg]. Triangle waves can also be done in LTspice too. Try...

View Article

Comment by Ste Kulov on Why can't I get a value from this simulation?

Your .tran statement is a comment instead of a SPICE directive. But my guess is you’re having trouble getting this circuit to oscillate. Like others said, please include more details.

View Article


Comment by Ste Kulov on Dual mosfet on resistance confusion

Not directly related to your question but might be important……Sounds like you want to use these N-channel MOSFETs as a high-side load switch. If that’s the case, you’re gonna need a gate voltage that’s...

View Article

Comment by Ste Kulov on Opamp and regulator not behaving the same on...

R3 in your schematic says it’s 1K, but on your breadboard it’s 39ohm (unless the colors aren’t coming out right in the photo).

View Article

Browsing latest articles
Browse All 106 View Live


Latest Images