Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- LTspice
- Messages
Search
Re: Help converting UCC5304 simplis model into LTSPICE
Hello, I want to test also the suggested UCC21220A.
But its for PSPICE.What could be done to convert it properly into LTSPICE? Or i just need to treat it like LTSPICE and use the create symbol in the subcircuit? Thanks. https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1227885/ucc5304-spice-model |
Re: Behavioral voltage source sweep frequency
¿ªÔÆÌåÓýYes. you can't use ^ fro exponentiation in
LTspice,, except in Laplace expressions. Use **. On 2024-05-22 09:53, Richard Andrews
via groups.io wrote:
I believe I solved it by using V=sin(pi*20e3*time*time) instead. --
OOO - Own Opinions Only Best wishes John Woodgate, Rayleigh, Essex UK Keep trying |
Re: Behavioral voltage source sweep frequency
The other problem is that you used the wrong formula for a varying frequency.
Yes it seems to be that "sin(pi*20e3*time*time)" would result in a frequency equal to "time".? But that is incorrect, unless the variable "time" is a constant with a time-derivative of zero.? It's the mathematically wrong formula.? Don't get me wrong; you will get a frequency that isn't fixed and changes over time, and maybe that's "good enough" for you, but its frequency is not the value of "time". Use LTspice's Modulate function instead, and give it a voltage (on its "FM" input pin) that varies linearly with time.? That has the desired result. Andy |
Re: Behavioral voltage source sweep frequency
¿ªÔÆÌåÓýOn 22/05/2024 10:47, Richard Andrews
via groups.io wrote:
I am trying to sweep frequencies to 20K with the behavioral voltage source using V=sin(pi*20e3*time^2). I get no error, yet I don't get the same results as I do using a wav file.I guess you forgot that "^" means exclusive-OR, not? exponent (except in Laplace). -- Regards,
Tony |
Re: Build spice model of transimpedance amplifier
OPA855* OPA855 - Rev. A * Created by Sean Cashin; 2020-06-04 * Created with Green-Williams-Lis Current Sense Amp Macro-model Architecture * Copyright 2020 by Texas Instruments Corporation OPA855 does not meet the bandwidth requirement as I mentioned. But thank you very much for your support. |
Re: sensitivity (.SENS)
For Spice it did not applied for FET but for BJT.? Can be used for oscillator and filter built using op-amp?
On Monday, 20 May 2024, 21:52:54 GMT+4, <mhx@...> wrote:
("AI Detector for ChatGPT, GPT4, Gemini") identifies the (first two) texts as 100% AI-generated (then I got bored). However, I don't think we need scribbr to tell us they're worthless :--) LinkedIn thinks it has found a way for the AI copyright infringement barrier when attempting to scavenge deep insights on specialized subjects. They might even have optimized out the 'prompt engineer.' -marcel |
Re: Build spice model of transimpedance amplifier
On Tue, May 21, 2024 at 09:49 PM, Andy I wrote:
Mirza, I'm assuming that you want an actual purpose-built transimpedance amplifier, one that has everything in it already.? Right?? They are considerably less common than ordinary op-amps, of course.? I wonder what characteristics other than "very high speed" that your TIA needs.Yeah I want an actual purpose-built transimpedance amplifier like OPA855 from Texas Instruments, LTC6268-10 from Analog Devices. However, these can not meet my bandwidth requirements for gate mode circuit (in my case). Thus, I am looking for spice models from other companies, however, they do not have (or provide) spice model for their high speed TIA. According to your comments "It is possible to make a generic TIA model, but probably not easy to make one that mimics characteristics of an actual part. ?The answer depends on how closely you need the model to approach the actual part. ?A generic model would lack things like nonlinear behavior. ?Datasheets might not tell you enough about that. ?But that's just my opinion." Yeah I feel that you are right. |
Re: Conditional PWL Current Source
eewiz wrote:
It helps here to read the Help page for the .PARAM command.? It is all documented there. There might be other shortcuts for temporarily disabling the PWL() section for running a simulation, if that is what you are trying to do.? One is to use a parameter for the "high" current level, instead of 1 Amp.? Then change only the parameter assignment.? Another one, though somewhat kludgy, is to right-click on the PWL text next to the current source, and change it from this: ? ? pwl(0 0 48.2m 0 repeat forever (0 0 +20n 1 +11.99998m 1 +20n 0 +11.99998m 0) endrepeat) to this: ? ? 0 ; pwl(0 0 48.2m 0 repeat forever (0 0 +20n 1 +11.99998m 1 +20n 0 +11.99998m 0) endrepeat) by adding "0 ;" before the PWL() part.? The ";" character is a comment character.? LTspice ignores everything after it.? So that changes it from a PWL current source to a 0 Amp source, while leaving all the text still in place where it can be restored later. Andy |
Re: Conditional PWL Current Source
Hello All,
?
Tony, thank you.
Mine was the latter.
I simply need to disable the four pacing current sources, and maybe enable others, before running the sim.
I tried doing IF() inside the PWL statement and that did not work.
Prior to your suggestion, I did not know that .param statements could do IF().
This opens a whole new world of controllability that I had not previously understood.
?
Thank You
?
Sent:?Tuesday, May 21, 2024 at 7:20 AM
From:?"Tony Casey via groups.io" <tony@...> To:[email protected] Subject:?Re: [LTspice] Conditional PWL Current Source On 21/05/2024 12:03, eewiz via groups.io wrote:
pwl(0 0 48.2m 0 repeat forever (0 0 +20n 1 +11.99998m 1 +20n 0 +11.99998m 0) endrepeat) I-sources cannot be behavioural, thus cannot be changed while the analysis is running. Do you need to do that, or can your analysis be .stepped with different conditions applied to each step? If the latter: pwl(0 0 48.2m 0 repeat forever (0 0 +20n {OnCurrent1} +11.99998m {OnCurrent1} +20n 0 +11.99998 0) endrepeat) .. .param OnCurrent1 if(Condition1, 1, 0) .. ..etc If you want to change dynamically, you will have to use B-sources, or a switch matrix. I uploaded a version using a switch that might meet your need. If you have complex combinatorial conditions, you might want to read up on the State Machine feature. ? --
Regards, Tony |
Re: How to modify the Positive Threshold Voltage on ltspice built-in component?
Leon wrote, "just setting the vt and vh on the spice line,right?"
Yes, they can go on any of these lines:
Put an "X" in the "Vis." column (by double-clicking there) to also make that attribute visible on the schematic. Andy |
Re: Build spice model of transimpedance amplifier
marcel wrote, " (OPA170 PSpice lib file)."
Of course that is an ordinary op-amp, not a transimpedance amp. Most op-amps with feedback turn into transimpedance amps, so you might say that every op-amp can also be a transimpedance amplifier. Mirza, I'm assuming that you want an actual purpose-built transimpedance amplifier, one that has everything in it already.? Right?? They are considerably less common than ordinary op-amps, of course.? I wonder what characteristics other than "very high speed" that your TIA needs. Andy |
Re: How to modify the Positive Threshold Voltage on ltspice built-in component?
Leon,
I did as you did in your photo (ΞĻ”XÈ¡®‹Ãæ 2024-05-21 174809.png), and it worked for me. Of course since it is a Schmitt device, it has hysteresis so it has different actual thresholds (not quite at 50%) for rising and falling edges, unless you also changed Vh (hysteresis) to 0. Andy |
Re: Build spice model of transimpedance amplifier
Oddly, some of (what are now) Analog Device's TIAs do not seem to show up within their TIA section of the product selection pages, making their product selections incomplete.
I might be wrong, but it appears that ADI has rearranged their product selection pages and made them more difficult to navigate, as well as incomplete and maybe wrong.? Arrgh! Andy |
Re: Build spice model of transimpedance amplifier
Mirza wrote, "Yeah I know that LTspice has several op amps." |
Re: Conditional PWL Current Source
¿ªÔÆÌåÓýOn 21/05/2024 12:03, eewiz via groups.io wrote:pwl(0 0 48.2m 0 repeat forever (0 0 +20n 1 +11.99998m 1 +20n 0 +11.99998m 0) endrepeat) I-sources cannot be behavioural, thus cannot be changed while the analysis is running. Do you need to do that, or can your analysis be .stepped with different conditions applied to each step? If the latter: pwl(0 0 48.2m 0 repeat forever (0 0 +20n 1 +{OnCurrent1} 1 +20n 0 +{OnCurrent1} 0) endrepeat) .. .param OnCurrent1 if(Condition1, 1, 0) .. ..etc If you want to change dynamically, you will have to use B-sources, or a switch matrix. I uploaded a version using a switch that might meet your need. If you have complex combinatorial conditions, you might want to read up on the State Machine feature. --
Regards, Tony |
Re: FDA217 spice model
All,
The VISHAY VOMDA1271 device simulates correctly. The VISHAY LH1262 device fails due to a defective spice model. The VISHAY VO1263 device fails due to a defective spice model. I have submitted all of my simulation files to VISHAY and requested that they correct their spice files. I will post a reply when I receive a response from VISHAY. Mike |
to navigate to use esc to dismiss