¿ªÔÆÌåÓý

Date

Re: frequency dependent resistor and inductor in LTSpice

 

Hello

R=0.95*(FREQ/2.5e6)^(0.3)+0.1.
This is the way to do it in LTspice, too, unless you want an .AC analysis. If "freq" is some external source, v(freq), it will work. You may need to add curled braces, though.


Good luck,
Vlad


Re: attn: dual booters

 

I recommend installing and running it from an ext3(4) partition, it will run faster, updates included.


Vlad


attn: dual booters

rainbowsally
 

Here's how to run ltspice on your windows partition from your linux partition.
Go here.

Get this. HOW-TO-SCAD3-IN-LINUX.zip

Includes screenshot and the first cut at a utility to clean the database up (currently all caps alphanumerically sorted and removed junky looking unnecessary parentheses around parameters in some of the entries). See the readme.

BTW, the utility is NOT an executable. It's C++ source that you can examine first and compile if you want to check it out.

As a side benefit of not having zero control over what it does, win users might also be interested in compiling it, modifying etc. It sure makes the part lookups easier.

Enjoy! :-)

PS. The makefile is for GCC (linux newlines, not dos crlf's).


frequency dependent resistor and inductor in LTSpice

 

Dear LTspice group:

I know there must have been many posts on how to build frequency dependent resistor and inductor for a coil antenna. I know in other software, you can just use an expression with 'freq' as variable to define the component, e.g., R=0.95*(FREQ/2.5e6)^(0.3)+0.1.
Is there any simple way to do it in LTspice? I'm relatively new to the software.

Thanks in advance.

Summer


Re: basic incandescent dc lamp

 

--- In LTspice@..., "ridethesnake7miles" wrote:

I'm trying to figure out how to model a standard No. 47 flash-
light lamp. I'm having trouble trying to find a similar model.
Here's a short (but very realistic) subcircuit for a filament type
lamp that has been written for optimum convergence performance in
LTspice:

* Two Pin Incandescent Lamp Model
*
* input: Kc = conductance constant of filament
* input: Kr = radiation constant of filament
* input: CTf = filament thermal capacitance
* input: RTf = filament thermal resistance
* n = numerical dynamic range scale factor
* Cf = filament conductance
* Pf = filament power (electrical input)
* Pr = radiated power (electromagnetic output)
* Tf = filament temperature (in degrees K)
* Ta = ambient temperature (converted to deg K)
*
.subckt Lamp 1 2 params: Kc=120 Kr=.7p CTf=5m RTf=10k
.param n=1m Ta=temp-kelvin ; internal parameters
BCf 1 2 I=V(1,2)*Kc/V(Tf)**1.2
BPf 0 Tf I=V(1,2)*I(BCf)*n
BPr Tf 0 I=Kr*(V(Tf)**4-Ta**4)*n
Cfa Tf Ta {CTf*n} Rpar={RTf/n}
VTa Ta 0 {Ta}
.ends Lamp

Look here for a Lamp bulb symbol and a hierarchical model version
of this subcicuit:



LampModel.zip ; incandescent lamp model, symbol, and test files
Lamp.asc ; updated lamp model to replace the one in the zip file

Regards -- analogspiceman


Re: LT1210 has two + inputs?

 

--- In LTspice@..., "afhockey623" <jxm1092@...> wrote:



--- In LTspice@..., "sawreyrw" <sawreyrw@> wrote:



--- In LTspice@..., "afhockey623" <jxm1092@> wrote:

Is this an error? I just started using LTspice and I'm trying to use a circuit with an LT1210 and it shows two + supply inputs instead of the usual + and - supply inputs. Thanks gentlemen.
Hello,

Yes, the lower + terminal should be marked -. The models "test circuit" show a negative supply connected to that pin.

Rick
With the circuit I have though no matter how I position the power supplies I am not getting the expected output so I'm not sure if this part is broken or if I need to position them a certain way and that there is actually errors in my circuit.
Hello,

Maybe something else is setup wrongly fro LTspice.
If you upload your circuit, we might help you.

Best regards,
Helmut


Re: LT1210 has two + inputs?

afhockey623
 

--- In LTspice@..., "sawreyrw" <sawreyrw@...> wrote:



--- In LTspice@..., "afhockey623" <jxm1092@> wrote:

Is this an error? I just started using LTspice and I'm trying to use a circuit with an LT1210 and it shows two + supply inputs instead of the usual + and - supply inputs. Thanks gentlemen.
Hello,

Yes, the lower + terminal should be marked -. The models "test circuit" show a negative supply connected to that pin.

Rick
With the circuit I have though no matter how I position the power supplies I am not getting the expected output so I'm not sure if this part is broken or if I need to position them a certain way and that there is actually errors in my circuit.


Problem with ADG406 model (WAS: kevin, check your spam folder - my emails to you might have gone there)

 

Good morning Malika,

The first thing you ought to do, is create new messages with an
appropriate Subject, rather than replying to an unrelated message with
a subject that has nothing to do with your question. This makes it
easier for you and others to find your question and replies.

I had used the LTspice, and I found ADG406, but the GND for this integret cicuit is not pr¨¦sent .
PLease, can you help me to find this librery .
I used Google to find the ADG406, and the Analog Devices SPICE model
for it does have a GND pin (pin 12). Just take that pin and connect
it to your circuit's ground node.

Andy


Re: basic incandescent dc lamp

 

There's a very good lamp model by Helmut in the Files, look for lamp.sub & lamp.asy, you will need to edit the params as required to match your particular lamp.

HTH


Re: Flback converter instability

 

Hello

You may want to try the other Yahoo group, "switchmode", they may have the answers you're looking for.


Good luck,
Vlad


I can not access the File directry of LTspice

 

Hi Everyone!

I have already get the information that LTspice system was hacked.

I can not access the File directory of LTspice.
Because the Yahoo ask me *3 steps* to join the LTspice.
But I can not success the *above 3 steps*.
(Because I can not recognize the the *above 3 steps* )

I am already the member of LTspice and so, I can login into Yahoo.
But* I can not access the File directry of LTspice now.*
And my profile information was modified maybe, I think.
note) Several days ago, I could access the File Directry of LTspice.

If I can get comment for my trouble at present, I am very happy.

Shiggy


Re: Modeling IGBT capacitances from datasheet curves

 

Hello AS:

This is beautiful discourse great physics and engineering here! I will digest it well. Thank you.

Regards,
Berns B.
USC Physics

--- In LTspice@..., "analogspiceman" <analogspiceman@...> wrote:

--- In LTspice@..., "Berns" <microscopeanywhere@> wrote:

Okay I got the help file going on caps and its saying:
Syntax: Cnnn n1 n2 Q=<expression> [ic=<value>] [m=<value>]

I suppose that when I specify an expression for the charge that
says something like: Q=100pF*x then at transient analysis for
some PWL source I should be able to command to LTspice to measure
the capacitance for me?
The best way to measure capacitance as a function of voltage is
in an .ac analysis performed at a single frequency with voltage
stepped as a parameter. The .ac and .step commands might be:

.ac list {.5/pi} ; single frequency .ac analysis
.step dec param x 1 100 10 ; step x logarithmically from 1 to 100
V1 1 0 {x} ac=1 ; ac voltage source with its dc value stepped as x
C1 1 0 Q=1n*x ; here x is the voltage across C1

In the waveform viewer, with trace math, capacitance can be
plotted with the expression:

im(I(C1))*2*Pi*f, where f is the .ac analysis frequency.

By selecting f=1/(2*Pi) in the single frequency .ac analysis
capacitance may simply be directly plotted as im(I(C1)).

EE 101 says for capacitors: Q=CV and Icap=C*dV/dt
For a voltage dependent capacitance, charge must be solved for the
integral of capacitance with respect to voltage:

Q = int C(v)*dv

which will agree with Q = C*V only when C is independent of voltage.

For example, Cgd in LTspice's VDMOS is expressed as a function of
the model parameters Cgdmax, Cgdmin and "a".

Cgd=s*atan(-a*x)+y, where s=(Cgdmax-Cgdmin)/(1+Pi/2) and y=Cgdmax-s

Note that here x is the voltage across Cgd.

To express this as a function of Q (charge) in LTspice's behavioral
capacitor, the integral of this expression must be solved with
respect to the Cgd voltage, x. Fortunately, the Internet has lots
of tables of integrals online, making it easier to find the
solution, which is:

Q=s*(x*atan(-a*x)-ln(1+(-a*x)**2)/(-a*2))+y*x

If this is plugged into the behavioral capacitor,

C1 1 0 Q=s*(x*atan(-a*x)-ln(1+(-a*x)**2)/(-a*2))+y*x

it will have the same voltage dependency a Cgd in LTspice's VDMOS
model (assuming the same values for the parameters Cgdmax, Cgdmin
and a).

Regards -- analogspiceman


Re: kevin, check your spam folder - my emails to you might have gone there

 

Good morning,
I'm glat to participate in yahoo groupe.
I have a problem for looking for librery of Multiplxer DG406
I had used the LTspice, and I found ADG406, but the GND for this integret cicuit is not pr¨¦sent .
PLease, can you help me to find this librery .
Thank you for your help.

Malika

[Non-text portions of this message have been removed]


Re: THD-prob (bug) demo is here

rainbowsally
 

Ok. Thanks.

Works now.

The THD calculation needs to be run with the name that shows in the plot when you probe that point in the fourier directive.

I think I did have an alias for OUT before that was named A and I removed it after creating another alias named THD.


analogspiceman wrote:

--- In LTspice@..., rainbowsally wrote:

THD-prob (probable bug) demo is here

in this file. THD-prob.zip
A netlist node cannot have two names (one will be ignored).
The jumper component is supposed to allow a net to be given
a name for each side of the jumper, but only one will appear
in the final netlist. If you insist on two names, you should
separate the nodes with a zero value voltage source. If you
only need one name at a time, then simply move the currently
unneeded name off the net and swap later when needed. -- a.s.




------------------------------------

Yahoo! Groups Links





Flback converter instability

 

Hi,

I am facing issues with the flyback stability. The flyback is the +28V to +5V converter. The +5V is inturn used to convert another supply to +3.3V and +3.4V(two seperate converters using LTC 1778)
The flyback conveter +5V OUTPUT oscillates when i try to remove the 3.3V or 3.4V load.
I have also posted the lt spice sim file for the reference. Pl Help

Also let me know if i need to change anything in edit simulation profile.

Thanks,
Yogasmitha


Re: THD-prob (bug) demo is here

 

--- In LTspice@..., rainbowsally wrote:

THD-prob (probable bug) demo is here

in this file. THD-prob.zip
A netlist node cannot have two names (one will be ignored).
The jumper component is supposed to allow a net to be given
a name for each side of the jumper, but only one will appear
in the final netlist. If you insist on two names, you should
separate the nodes with a zero value voltage source. If you
only need one name at a time, then simply move the currently
unneeded name off the net and swap later when needed. -- a.s.


THD-prob (bug) demo is here

rainbowsally
 

THD-prob (probable bug) demo is here

in this file.
THD-prob.zip


Re: application upgrade

 

Hi VB

I use the universal op amp 2.
You tweak the params to match youre device.
Works Every time!

Ditto for mosfets.
Never use out side models / subcircuits
if you can help it.

Al D.


On 08/27/2012 03:58 PM, Gandolf wrote:
For example, I had to give up on using TI's TL081 op amp symbol and
model, because LTspice kept insisting - but in an oddly random fashion; it wasn't every time - there was a floating node.

-- AC2CL I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything. - Nikola Tesla


Re: VTL5C4/2 and VTL5C3/2 - OPTOCOUPLER models needed

gessojezos
 

Ok - so the mail list version of the messages has a lag - live and learn - use the site or expect a delay i guess. Sorry for the duplicate.

--- In LTspice@..., C Kilburn <hckilburn@...> wrote:

Hi ppl,

I thought I would search for it - to test my abilities - I didn't find it.
I am learning a fair amount by just reading this group and others
troubles. So as my first reply to the group I will advice what I found on
a circuit site<>.
HIH - sorry if i am wrong - sounds like the guy knew what he was talking
about.

An optocoupler is just a current-controlled current source, pretty much,
close enough. That already exists. Maybe put a small capacitor across it to
simulate slowness.

(2nd post attempt - just to test it gets posted more then anything )
Thanks,
Colin




--
Thanks,
Colin



[Non-text portions of this message have been removed]


Re: anybody good at hacking transistor .model directives?

rainbowsally
 

Ah.

Thanks.

Rod wrote:

The LP339 device is an open collector output and expects a resistor pull up to the positive rail.

--- In LTspice@..., rainbowsally<rainbowsally@...> wrote:
This file:
RS/my-circuits/lp339_lp2901.asc
found here


Is a schematic from TI but the default transistors (copied from the
examples/Educational/NE555.asc file couldn't pull the output up so I cut
and jumpered one transistor to Vcc.

I messed with the few parameters to attempt to model a smaller
transistor geometry but that didn't work.

Anyway, the schematic is accurate and interesting, but there may be one
error in it and if anyone can correct that without monkeying with the
current sources, it would be much appreciated.

Thanks.


------------------------------------

Yahoo! Groups Links