¿ªÔÆÌåÓý

Date

Re: Ideal Swich Model missing

martin562284
 

--- In LTspice@..., "analogspiceman" <analogspiceman@...> >
Well, people keeping complaining about Help, but so far no one,
including the complainers, has been willing or able to offer any
concrete constructive criticism. It remains a puzzle. -- a.s.
I posted a suggestion as to how we could collaborate on maintaining/improving the help document just a few days ago - Message no. 49532.


Re: model, subckt tube EC81 = 6R4

 

--- In LTspice@..., Ganesan <dg1@...> wrote:

Maybe this will help..
"Spice Models for Vacuum Tube Amplifiers" AES, March 1995



Cheers
A. Ganesan
Thanx, yes that helps, it's possible to enter the parameters from the data-book ...

best regards, Leo


Re: Ideal Swich Model missing

 

--- In LTspice@..., "Lewis" <lineblp@...> wrote:

LTwiki.org <> is now fixed on the front page with
a link on how to create an 'account'. This capability also exists
if one tries to 'log in'. Sorry, I did not try to make it hard,
only the anonymous spammers were taking many hours of my day to
roll back their destructive work.
Hello Lewis,

Some of the spammers were ferocious in their persistence, weren't
they? They seemed to have had a perplexing, particular interest
in the section on transformers. Never understood that. Perhaps
they thought that name would attract a lot of visitors from non-
techies searching for the fictitious type of "Transformer" (as
in the films).

Anyway, we have never really net-formally met. I believe I've
seen one of your email addresses over at the LTwiki, so I will
have to send you a message. By the way, I didn't have any trouble
signing up - just took a very small amount of poking around to
find the right page.

I found it much more difficult to find the specialized wiki
language help pages (most html also works at the wiki, by the
way). Perhaps I will add a direct link to the wiki help as well.

I don't think anyone needs to be a wiki language expert to start
contributing to the LTwiki as an author may just describe what the
appearance of their contribution should be and somebody else will
probably add the wiki polish if the underlying piece is compelling.
The most important thing is to write well, concise and clear.
There is a built-in editing tool set for the most common commands
(such as basic text formatting and the creation of hyperlinks),
so the mechanics of contributing soon become easy enough.

Perhaps we could set up a Help file replacement (many bits are
already in place). Many sections would likely mimic LTspice's
Help system and at least start out by heavily borrowing directly
on the existing Help, so I wonder if permission from LTC would be
required? If so, I think you be a more diplomatic choice than me
to ask Mike.

Regards -- analogspiceman


Re: model, subckt tube EC81 = 6R4

Ganesan
 

Maybe this will help..
"Spice Models for Vacuum Tube Amplifiers" AES, March 1995



Cheers
A. Ganesan

On 9/16/2011 7:24 PM, Charly Engineering wrote:

dear friends,

I need that model for noise matching. To ask here for the model or
subckt is my last possibility.

Perhaps s.o. has ...

thanx, best regards Leo




No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.914 / Virus Database: 271.1.1/3901 - Release Date: 09/16/11 13:34:00


Re: Ideal Swich Model missing

Lewis
 

LTwiki.org <> is now fixed on the front page with a
link on how to create an 'account'. This capability also exists if one
tries to 'log in'. Sorry, I did not try to make it hard, only the
anonymous spammers were taking many hours of my day to roll back their
destructive work.
Create an LTwiki account
<> Thanks
everyone for a great online community. Lewis


--- In LTspice@..., John Woodgate <jmw@...> wrote:

I would be delighted to contribute to the Wiki, but its not clear
how.
The front page of the Wiki says "create an account to contribute" but
there is no link or information about creating an "account".
If so, it needs to be fixed.

Clearly,j genuine input is not wanted.


Re: Ideal Swich Model missing

 

Hello Jim,

I agree it should be easier to find help when one needs it. In your case how to create an account on LTwiki. But then once the account is created, the instructions how to do so become irrelevant and thus clutter.

So a bit of poking around reveals that signup info is in LTwiki - toolbox - special pages - Login / signup.

As one wise old sage remarked - ...there must be a pony here somewhere! It is just up to us to find it. As frustrating as it is, I have resigned myself to this a long time ago.

Respectfuly

ME

--- In LTspice@..., Jim Wagner <wagnerj@...> wrote:


On Sep 16, 2011, at 10:24 AM, analogspiceman wrote:

--- In LTspice@..., John Woodgate wrote:
--- In LTspice@..., analogspiceman wrote:
How to make Help continue to function as a compact and efficient
reference while also being able to effectively provide answers
that neophytes can actually see, process and put to use?
This is, in my experience, a problem with ALL Helps. I could write
a 3-screen post but I won't.
Well, people keeping complaining about Help, but so far no one,
including the complainers, has been willing or able to offer any
concrete constructive criticism. It remains a puzzle. -- a.s.

As far as I can see, "constructive criticism" does no good. The
documentation appears to be the sole perview of Mike and it will be
what he wants it to be.

End of story.

I have offered several positive suggestions about documentation
improvement, including the "go check PSpice documentation, its mostly
the same" and put what needs to be put into single document. That was
shot down by you and others. So, what else is one to do?

I would be delighted to contribute to the Wiki, but its not clear how.
The front page of the Wiki says "create an account to contribute" but
there is no link or information about creating an "account".

Clearly,j genuine input is not wanted.

Jim Wagner
Oregon Research Electronics

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


Re: plotting magnetic field

 

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

I'd like to add a trace for the magnetic field for a coil to my
waveform plotting, and not sure how to do that.

I have created a parametrized "step" simulation which steps over
the inductance of a coil. I calculate a parameter for the number
of turns for the coil, which I call N.

I'd like to plot coil current * N, along with other circuit
variables.

I thought maybe a user defined function could be used, but I
don't know how to reference my variable N to pass it to the
function in the "Add Trace" dialog box.

My parameter definitions for the simulation are:

.step param Lcoil list 1m 2m 4m 6m 10m 16m
.param Rcoil = 9.8 * sqrt(Lcoil * 1000)
.param Cres = 1 / (4 * pi * pi * Lcoil * 14.5k * 14.5k)
.param C2 = 1.1 * Cres
.param C1 = 10 * C2
.param N = Rcoil * 100.0 / 24.0
.meas Rcoil_ param Rcoil
.meas Cres_ param Cres
.meas C1_ param C1
.meas C2_ param C2
.meas N_ param N

Can anyone suggest how to do this?
Schematic parameters are not available to the Waveform Viewer,
but you could set up a voltage source with its value set to {N}
(be sure to include the curly braces). Label this node "N" as
well, so that the Waveform Viewer will know it as V(N), which
you may then use in waveform arithmetic. -- a.s.


model, subckt tube EC81 = 6R4

 

dear friends,

I need that model for noise matching. To ask here for the model or subckt is my last possibility.

Perhaps s.o. has ...

thanx, best regards Leo


Re: Time varying coupling coefficient for any 2 inductors

 

--- In LTspice@..., Ganesan <dg1@...> wrote:

Here is how you use the time varying transformer for any two
inductors..
File --->Temp--->Non_ideal_inductors.asc
Here is the correct way to link to files in Temp:



And your ideal transformer file:



These files have errors. The "n" and V(x) term in the controlled
current source are inverted and you should scale the output
inductance by the square of n. Also the inductances should be
equal to (1+V(x))*L_nominal (because when they are 100 percent
coupled they are in parallel). -- a.s.


plotting magnetic field

 

I'd like to add a trace for the magnetic field for a coil to my waveform plotting, and not sure how to do that.

I have created a parameterized "step" simulation which steps over the inductance of a coil. I calculate a parameter for the number of turns for the coil, which I call N.

I'd like to plot coil current * N, along with other circuit varibles.

I thought maybe a user defined function could be used, but I don't know how to reference my variable N to pass it to the function in the "Add Trace" dialog box.

My paramter definitions for the simulation are:

.step param Lcoil list 1m 2m 4m 6m 10m 16m
.param Rcoil = 9.8 * sqrt(Lcoil * 1000)
.param Cres = 1 / (4 * pi * pi * Lcoil * 14.5k * 14.5k)
.param C2 = 1.1 * Cres
.param C1 = 10 * C2
.param N = Rcoil * 100.0 / 24.0
.meas Rcoil_ param Rcoil
.meas Cres_ param Cres
.meas C1_ param C1
.meas C2_ param C2
.meas N_ param N

Can anyone suggest how to do this?

Regards,

-SAS


Re: Time varying coupling coefficient for any 2 inductors

Ganesan
 

Here is how you use the time varying transformer for any two inductors..
File --->Temp--->Non_ideal_inductors.asc
<>
cheers
AG

On 9/16/2011 5:59 PM, Ganesan wrote:

I forgot to add..
The flux doesn't collapse instantaneously... This can be modeled by
putting V(X) through an RC low pass.
Cheers
AG

On 9/16/2011 5:55 PM, Ganesan wrote:

I have modeled an ideal transformer with time varying coupling
coefficient..
File is in Temp--> Non_ideal_transformer.asc
<>
Your feedback will be appreciated.
Cheers
A. Ganesan

On 9/16/2011 11:02 AM, ttakeshian wrote:

I need to model the coupling coefficient of two inductors as a
function of time. I tried using combination of .func and .param
statements to pass a time varying variable to the spice K component
without success. I also have tried the trick used for defining a time
varying resistor using a voltage of a node in the schematic.

Any suggestion would be greatly appreciated.

tony






No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.914 / Virus Database: 271.1.1/3900 - Release Date:
09/16/11 01:34:00





No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.914 / Virus Database: 271.1.1/3900 - Release Date: 09/16/11 01:34:00


Re: Current Sensor

 

--- In LTspice@..., "danfly09" <da.nc3262@...> wrote:

I'm looking for a hall effect current sensor like the ACS712.


You are in luck. Here is a subcircuit I made, but you will have
to make your own symbol for it. Change the gain parameter to
corresponding to the dash number of interest. -- a.s.

.subckt ACS712 I+ I- Filter Out V+ V-
.param gain=185m; 185m -05B, 100m -20A, 66m -30A
V1 I+ I- 0
F1 V- 2 V1 {gain}
T1 1 V- 2 V- Td=1u Zo=1
R1 2 V- 1
R2 Filter 2 1k7
G1 V- 3 Filter V- 1
C1 3 V- 1?3 Rpar=1
R3 Out 3 50
G2 V- 3 V+ V- 0.5
R4 V+ V- 2k
.ends ACS712


Re: General SPICE environment setup

Lewis
 

For those wishing to create 'permanent' LTspice parts that appear in
your drop down menu of LTspice, please reference Adding a component to
LTspice - Ltwiki.org
<;
ice> and a section on already completed parts following this approach
at Components Library - LTwiki
<> Further
contributions to this library are welcomed, as well. This approach has
also already been included in the messages here over the years, so I
won't repeat it now. It's a little different that what is called out
for in scad3.pdf.

These parts are portable, but you must be aware of what the symbol and
subcircuit names are, that you put in a folder of the &#92;sym directory and
&#92;sub directory. I personally add a folder below the &#92;sym directory for
my own permanent parts. Then I make subcircuit names that are easily
recognizable to sync to my other computers using LTspice.

To make these parts portable, and part of any design you'd want to
share, just include those specified sym and sub files in the same folder
(all zipped together) as your shared schematic. The receiver can keep
these in the same folder as the provided schematic and all goes on as
before. Alternately, they can copy these provided symbols and
subcircuits to their respective folders as outlined in the wiki, and
they will become their own custom permanent parts. (You must restart
LTspice to see them.)

Sometimes, when exchanging schematics between my desktop and laptop I'll
get a little sloppy and forget I'd used one of my permanent parts. So,
LTspice tells me if I try to do an analysis. The bigger embarrassment
is to professionally provide a schematic, or upload on to this group -
just to have it be incomplete.

I hate to elaborate on this topic, as everyone here as justified strong
opinions about it. But you asked - and here is my complete answer.

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

Dear Sir,
Will you please tell us how to do it? There might be cases when it is
not such a bad idea.
Best Regards
E.A.Neonakis
--- In LTspice@..., "analogspiceman" analogspiceman@
wrote:


You can more or less do this now if you know how,


Re: Time varying coupling coefficient for 2 inductors

Ganesan
 

I forgot to add..
The flux doesn't collapse instantaneously... This can be modeled by
putting V(X) through an RC low pass.
Cheers
AG

On 9/16/2011 5:55 PM, Ganesan wrote:

I have modeled an ideal transformer with time varying coupling
coefficient..
File is in Temp--> Non_ideal_transformer.asc
<>
Your feedback will be appreciated.
Cheers
A. Ganesan

On 9/16/2011 11:02 AM, ttakeshian wrote:

I need to model the coupling coefficient of two inductors as a
function of time. I tried using combination of .func and .param
statements to pass a time varying variable to the spice K component
without success. I also have tried the trick used for defining a time
varying resistor using a voltage of a node in the schematic.

Any suggestion would be greatly appreciated.

tony






No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.914 / Virus Database: 271.1.1/3900 - Release Date: 09/16/11 01:34:00


Re: Time varying coupling coefficient for 2 inductors

Ganesan
 

I have modeled an ideal transformer with time varying coupling
coefficient..
File is in Temp--> Non_ideal_transformer.asc
<>
Your feedback will be appreciated.
Cheers
A. Ganesan

On 9/16/2011 11:02 AM, ttakeshian wrote:

I need to model the coupling coefficient of two inductors as a
function of time. I tried using combination of .func and .param
statements to pass a time varying variable to the spice K component
without success. I also have tried the trick used for defining a time
varying resistor using a voltage of a node in the schematic.

Any suggestion would be greatly appreciated.

tony


Re: Current Sensor

 

Google is your friend. Search on the phrase "spice hall effect"

Howard

On 9/16/2011 4:39 PM, danfly09 wrote:
Hi, i'm looking for a hall effect current sensor like the asc712... there isn't a .lib that i could simulate?? or anything possible solution but without use a shunt resistor



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

Yahoo! Groups Links




Re: Ideal Swich Model missing

 

Another problem with the LTspice Help, is that just about everything
starts with the old non-graphical input format of traditional (i.e.
Berkeley) SPICE:

Syntax: Sxxx n1 n2 nc+ nc- <model> [on,off]

Example:

S1 out 0 in 0 MySwitch

.model MySwitch SW(Ron=.1 Roff=1Meg Vt=0 Vh=-.5 Lser=10n Vser=.6)
And then we tell everyone to use the schematic editor, and upload
schematic files instead of netlists.

So the Help file is a little like using DOS in a Windows world.

Plus the references to a SPICE "deck", a model "card", etc. Imagine
if the Help for MS-Windows gave everything in terms of DOS commands
and command-line switches.

It probably makes little sense to anyone coming to LTspice for the first time.

For those of us who used SPICE before, the relationship between the
element and the model, by way of the model name, was obvious. And we
take for granted that the element is now a schematic symbol, but the
model is a "SPICE directive" ... which is mentioned in the Help
description but not really explained.

So yes, there are lots of problems.

Andy


Current Sensor

 

Hi, i'm looking for a hall effect current sensor like the asc712... there isn't a .lib that i could simulate?? or anything possible solution but without use a shunt resistor


Re: Time varying coupling coefficient for 2 inductors

 

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

I need to model the coupling coefficient of two inductors as a function of time. I tried using combination of .func and .param statements to pass a time varying variable to the spice K component without success. I also have tried the trick used for defining a time varying resistor using a voltage of a node in the schematic.

Any suggestion would be greatly appreciated.

tony
Tony,

LTspice can be used to model any system of ordinary (not partical) differential equations using "analog computer" techniques. The coefficients can be made time varying by using BV elements that are a function of time.

Rick


Re: Ideal Swich Model missing

John Woodgate
 

In message <j50avg+6kln@...>, dated Fri, 16 Sep 2011, analogspiceman <analogspiceman@...> writes:

Well, in the switch example, Help offered,

"See the schematic file .&#92;examples&#92;Educational&#92;Vswitch.asc to see an example of a model card placed directly on a schematic as a SPICE directive.",
I would add a few more words. 'Open the downloaded LTspiceIV folder, open examples and then Educational, and open the schematic file Vswitch.asc'....

In doing that, I've assumed no more than beginner level understanding of Windows (at least in English) as well. That dot in

.&#92;examples&#92;Educational&#92;Vswitch.asc
hides a lot of meaning.

which the original poster seemed not to have read (or at least ignored, hence my legitimate question about the possibility of there being either a reading comprehension problem or laziness at play). Note that this example would have answered any lingering questions about what "a model card" could mean.
It would certainly have minimised doubt anyway, but I agree with you that 'card' [and 'deck'] are archaisms that should be eliminated.
--
OOO - Own Opinions Only. Try www.jmwa.demon.co.uk and www.isce.org.uk
John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK
When I point to a star, please look at the star, not my finger. The star will
be more interesting.