¿ªÔÆÌåÓý

Date

Re: help with 3rd party model

 

Hi Lance-san!

If you upload your file(*.asc, *asy), some one help you, I think.

Shiggy


2013/4/16 Lance <lancemcbride@...>

**


Can anyone point me to a good tutorial on using 3rd party models in
LTSpice. I'm trying to use a power controller from TI. I've tried the
LTspice help, created an ".asy" and put a directive in (.INCLUDE
ucc28019.lib), but I'm doing something wrong since an error message pops up
stating "Missing schematic(s) of the hierarchy: ucc28019".

Thanks for any help.



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


Re: Germanium transistor

 

Hi Jim.
LTspice overwrites files. But it will leave your models. Occasionally he appends new models and fixes old. Once LTspice changed files on their own and made from your files with .bak files. LTspice long ago. But there is a comment.
Not all have the same as your standard files *. Therefore when sending their projects need to add model. I try to keep it all in Standard.zip file encountered. From this group, as well as from other groups. Some models, particularly interesting for me, I test and correct if necessary.
Bordodynov.

16.04.2013, 00:34, "gr8wi9" <boothjg@...>:

Ok. So if I unzip this and put it in the cmp path, does it get overwritten when I do sync_release?

Thanks,
Jim


Re: Way to copy and paste error output log?

 

Don't know why regular copy and paste inactive..W7.
What do you mean by "regular copy and paste"?

In MS-Windows, ctrl-C and ctrl-V ARE the normal copy and paste.

Andy


Re: Please help with this error..

 

Error on line 2 : q1 n002 n005 n006 0 mpsa18 mpsa18
Unknown parameter "mpsa18"
The problem is the second "mpsa18" on that line.

q1 is the transistor name. n002, n005, n006, and 0 are its four nodes
(you must have used the symbol NPN4 for this transistor, with a
substrate node). The first mpsa18 identifies what kind of transistor
it is, what .MODEL it refers to. So far so good. Anything coming
after that would be interpreted to be an additional parameter for that
element. "mpsa18" is not an allowed parameter.

Did you add something in the Value2 or SpiceLine or SpiceLine2 for
that transistor? (Ctrl-Right Click to get to that menu)

Andy


Re: Please help with this error..

Ray Merewether
 

maybe you shouldn't have 2 copies of mpsa18 in line 2?
Error on line 2 : q1 n002 n005 n006 0 mpsa18 mpsa18

-----Original Message-----
From: LTspice@... [mailto:LTspice@...] On Behalf Of theac1@...
Sent: Monday, April 15, 2013 3:40 PM
To: LTspice@...
Subject: [LTspice] Please help with this error..

Still getting used to the files structuring of using this program... a bit tricky.. I built a CE amp circuit using a an MPSA18 transistor. I am getting a simulation error. Can anyone comment why the error?

Spice model:
--------------------------
.MODEL MPSA18 NPN(Is=33.58f Xti=3 Eg=1.11 Vaf=100 Bf=2.365K Ne=1.579
+ Ise=166.7f Ikf=.1172 Xtb=1.5 Br=5.774 Nc=2 Isc=0 Ikr=0 Rc=1
+ Cjc=4.948p Mjc=.4109 Vjc=.75 Fc=.5 Cje=7.547p Mje=.3765 Vje=.75
+ Tr=800.3p Tf=310.1p Itf=.6 Vtf=6 Xtf=35 Rb=10)
* National pid=MPSA18 case=TO92
* 88-09-14 bam creation
*
----------------------------------

Error:
-------------------------------------------------
Circuit: * C:&#92;Stuff&#92;Engineering&#92;LT Spice Files&#92;PS-Input Stage.asc

Error on line 2 : q1 n002 n005 n006 0 mpsa18 mpsa18
Unknown parameter "mpsa18"
Direct Newton iteration for .op point succeeded.

Date: Mon Apr 15 15:34:48 2013
Total elapsed time: 0.047 seconds.

tnom = 27
temp = 27
method = modified trap
totiter = 2883
traniter = 2874
tranpoints = 1210
accept = 1104
rejected = 106
matrix size = 9
fillins = 2
solver = Normal
Matrix Compiler1: 670 bytes object code size 0.4/0.2/[0.2] Matrix Compiler2: off [0.2]/0.2/0.2
--------------------------------------------------------

Spice directive setting:

Spice model: MPSA18
Value: mpsa18

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

Any advice much appreciated.

A...



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

Yahoo! Groups Links


help with 3rd party model

 

Can anyone point me to a good tutorial on using 3rd party models in LTSpice. I'm trying to use a power controller from TI. I've tried the LTspice help, created an ".asy" and put a directive in (.INCLUDE ucc28019.lib), but I'm doing something wrong since an error message pops up stating "Missing schematic(s) of the hierarchy: ucc28019".

Thanks for any help.


Please help with this error..

 

Still getting used to the files structuring of using this program... a bit tricky.. I built a CE amp circuit using a an MPSA18 transistor. I am getting a simulation error. Can anyone comment why the error?

Spice model:
--------------------------
.MODEL MPSA18 NPN(Is=33.58f Xti=3 Eg=1.11 Vaf=100 Bf=2.365K Ne=1.579
+ Ise=166.7f Ikf=.1172 Xtb=1.5 Br=5.774 Nc=2 Isc=0 Ikr=0 Rc=1
+ Cjc=4.948p Mjc=.4109 Vjc=.75 Fc=.5 Cje=7.547p Mje=.3765 Vje=.75
+ Tr=800.3p Tf=310.1p Itf=.6 Vtf=6 Xtf=35 Rb=10)
* National pid=MPSA18 case=TO92
* 88-09-14 bam creation
*
----------------------------------

Error:
-------------------------------------------------
Circuit: * C:&#92;Stuff&#92;Engineering&#92;LT Spice Files&#92;PS-Input Stage.asc

Error on line 2 : q1 n002 n005 n006 0 mpsa18 mpsa18
Unknown parameter "mpsa18"
Direct Newton iteration for .op point succeeded.

Date: Mon Apr 15 15:34:48 2013
Total elapsed time: 0.047 seconds.

tnom = 27
temp = 27
method = modified trap
totiter = 2883
traniter = 2874
tranpoints = 1210
accept = 1104
rejected = 106
matrix size = 9
fillins = 2
solver = Normal
Matrix Compiler1: 670 bytes object code size 0.4/0.2/[0.2]
Matrix Compiler2: off [0.2]/0.2/0.2
--------------------------------------------------------

Spice directive setting:

Spice model: MPSA18
Value: mpsa18

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

Any advice much appreciated.

A...


Re: Way to copy and paste error output log?

 

Thank you Sir.. That did it nicely.. Don't know why regular copy and paste inactive..W7.

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

In message <kkhgj0+b6hu@...>, dated Mon, 15 Apr 2013,
"theac1@..." <theac1@...> writes:

I am trying to post a question here but for some reason LTC won't allow
me to copy the error log and post it here for my actual question. Is
there a way?
Assuming you are using a PC, select all the text (CTRL-A), copy (CTRL-C)
and paste (CTRL-V) into Notepad or Word or something like that, or
directly into your message.

You can also set up LTspice using 'Control panel' (the hammer icon) so
as not to delete the .log file when you close the .asc file. It is just
a text file and will appear in the same folder as your .asc file.
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
They took me to a specialist burns unit - and made me learn 'To a haggis'.

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Re: Tutorial version of Joule-Thief

John Woodgate
 

In message <kkhrsd+gjmc@...>, dated Mon, 15 Apr 2013, Tim <thutches@...> writes:

What caught my eye about the JT was that it introduces the idea of switching which is more fundamental today than in my day.
Agreed. But it makes for a steep learning curve.

So learning about that at the start is important, especially if someone tricks you into thinking it is supposed to be easy. :-)
Quite.


Yes I also prefer sine-waves - and tubes that glow purple.
Too high a B+, or they've gone soft! I once put 350 V on an acorn tube. Once!
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
They took me to a specialist burns unit - and made me learn 'To a haggis'.

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Re: Tutorial version of Joule-Thief

 

Thanks Jon, I'll be having a look at what you did.

Tim Hutcheson

--- In LTspice@..., Jon Kirwan <jonk@...> wrote:

On Sat, 13 Apr 2013 15:47:49 -0000, Tim wrote:

I just uploaded a another copy of the JT, because I wnat to
use it as a techng aid to introduce a family member to some
EE concepts and LTspice. He just graduated high school and
has no exposure but a lot of interest in electronics.

So having read the recent thread on the JT, I though it
might be an excellent resource for him as it exposes
transistor and switching theory and a lot of concepts in an
easy to understand project that he can build and use my lab
tools to verify the expected behavior.

In my posted version, derived from
, I tried to added a second
circuit to compare the effects of using a different
transistor than the B549 in the reference article and I
attempted to estimate the Joules being consumed (atfter all
it is a Joule Thief.

If anyone cares to comment on how I might do this better
(for the intended purpose), please do so.
I just posted up an example I wrote some time back. I added a
comment or two to it before posting, though. It's in the Temp
directory and called Joule_Thief_jk1.asc.

It uses the basic energy equation to develop the expected
peak current required. It's ability to calculate the exact
frequency and the exact peak current given a specific
transistor is only approximate, though. The base resistance
calculation is only very approximate. Some tweaks are
included to allow closer approximations.

Note, the inductor coupling constant is given as 1 -- in
reality it never will be. Feel free to adjust the equations
to take a more realistic value into account.

Also, I have an additional paper I wrote on the Joule Thief
that includes details the above considerations plus others,
such as Bmax, in those cases where an air core isn't used.
The Bmax value places additional constraints on the choice of
inductance value vs frequency, to avoid saturation effects
due to volt-seconds (which the Joule thief doesn't not
require and works perfectly well avoiding.) If interested in
the paper, feel free to write and I will send it along in an
email (PDF form.)

Jon


Re: Tutorial version of Joule-Thief

 

Hi John.

Yes, it's sad that one gets a late start - my interest began at about age 14 as a ham radio operator.

What caught my eye about the JT was that it introduces the idea of switching which is more fundamental today than in my day. So learning about that at the start is important, especially if someone tricks you into thinking it is supposed to be easy. :-)

Yes I also prefer sine-waves - and tubes that glow purple.

Tim Hutcheson

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

In message <kkbun5+ctqn@...>, dated Sat, 13 Apr 2013, Tim
<thutches@...> writes:

I just uploaded a another copy of the JT, because I wnat to use it as a
techng aid to introduce a family member to some EE concepts and
LTspice. He just graduated high school and has no exposure but a lot
of interest in electronics.
Too late! You need to start at Grade 2 or earlier. (;-)

So having read the recent thread on the JT, I though it might be an
excellent resource for him as it exposes transistor and switching
theory and a lot of concepts in an easy to understand project that he
can build and use my lab tools to verify the expected behavior.
It may be me, but I don't find non-linear oscillators at all simple.

In my posted version, derived from , I
tried to added a second circuit to compare the effects of using a
different transistor than the B549 in the reference article and I
attempted to estimate the Joules being consumed (atfter all it is a
Joule Thief.

If anyone cares to comment on how I might do this better (for the
intended purpose), please do so.
I favour sine-waves and audio frequencies, but we are all different.
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
They took me to a specialist burns unit - and made me learn 'To a haggis'.

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Lead-acid battery model

 

I have been playing with the lead-acid battery model in the group files, but also looking for one that is supported with test data. I found a presentation on line from Bee Technologies in Japan:

"Simple Model of Lead-Acid Battery Model using LTspice"



This looks pretty good. I tried contacting them through their website but it didn't work. The date of the presentation is Mar 7, 2013 so maybe it is too early to purchase. Wondering if anyone has purchased a model from them before. They show measured and modeled performance comparisons. Most of the models are pretty cheap.

Regards,
Jim


Re: Germanium transistor

John Woodgate
 

In message <kkho8b+878j@...>, dated Mon, 15 Apr 2013, gr8wi9 <boothjg@...> writes:

Ok. So if I unzip this and put it in the cmp path, does it get overwritten when I do sync_release?
It's best not to put anything into the LTspice native files or anywhere in C:&#92;Program Files. Make a separate folder for all your work and any downloads such as Standard.zip.
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
They took me to a specialist burns unit - and made me learn 'To a haggis'.

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


Re: Germanium transistor

 

Ok. So if I unzip this and put it in the cmp path, does it get overwritten when I do sync_release?

Thanks,
Jim

--- In LTspice@..., ¨¢???????? ?????????¡Á <BordodunovAlex@...> wrote:

Hi Jim.
Thanks for your comment on the type of material the transistor. I removed a tag MFG=Germanium-type.
Use the my Standard.zip file.
Bordodynov.

12.04.2013, 20:10, "gr8wi9" <boothjg@...>:
--- In LTspice@..., ?????¡­???"???????' ?????'?????????????¡ª <BordodunovAlex@> wrote:

Hi John Woodgate.
Thanks for the info. In my Standard.zip file is 2N242 and germanium transistors 2N2955. Using these models and your information I will make models of transistors AC128 AC127 more believable.
Bordodynov.
I don't see either of these in the standard library. I placed a pnp in a new schematic then right-click Pick New Transistor. I just did a sync release too. Decades ago 2N2955 was a silicon part (complementary to 2N3055).

Jim


Re: Way to copy and paste error output log?

John Woodgate
 

In message <kkhgj0+b6hu@...>, dated Mon, 15 Apr 2013, "theac1@..." <theac1@...> writes:

I am trying to post a question here but for some reason LTC won't allow me to copy the error log and post it here for my actual question. Is there a way?
Assuming you are using a PC, select all the text (CTRL-A), copy (CTRL-C) and paste (CTRL-V) into Notepad or Word or something like that, or directly into your message.

You can also set up LTspice using 'Control panel' (the hammer icon) so as not to delete the .log file when you close the .asc file. It is just a text file and will appear in the same folder as your .asc file.
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
They took me to a specialist burns unit - and made me learn 'To a haggis'.

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK


LTspice macros for 7493 ic

skeval89
 

Please send 7493 ic's macros for LTspice


Re: Way to copy and paste error output log?

 

Open it with an ordinary text editor?


Jim Wagner

----- Original Message -----
From: theac1@...
To: LTspice@...
Sent: Monday, April 15, 2013 11:23:28 AM
Subject: [LTspice] Way to copy and paste error output log?






Hello folks:

I am trying to post a question here but for some reason LTC won't allow me to copy the error log and post it here for my actual question. Is there a way?

A..




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


Way to copy and paste error output log?

 

Hello folks:

I am trying to post a question here but for some reason LTC won't allow me to copy the error log and post it here for my actual question. Is there a way?

A..


LTC Simulation Queue Manager Handling of *.raw files

 

Hi,

Problem:
How to delete *.raw files between successive simulation jobs while using the queue manager.

Background:
I use the queue manager to run Monte-Carlo sims on the same circuit with different design constraints. I form up unique file names, such as, Run1.cir, Run2.cir, Run3.cir etc... each containing a unique netlist.

Setup.ini looks like this:

C:&#92;Program Files (x86)&#92;LTC&#92;LTspiceIV&#92;scad3.exe
C:&#92;Program Files (x86)&#92;LTC&#92;LTspiceIV&#92;Dean&#92;Run_B&#92;Run1.cir
C:&#92;Program Files (x86)&#92;LTC&#92;LTspiceIV&#92;Dean&#92;Run_B&#92;Run2.cir
C:&#92;Program Files (x86)&#92;LTC&#92;LTspiceIV&#92;Dean&#92;Run_B&#92;Run3.cir

The .meas directive is used to place sim measurements into log files .i.e Run1.log, Run2.log, Run3.log .etc...

Each .cir generates a 60-90GB data file which must be deleted before the next .cir is called. This doesn't happen causing the system to run out of resources.
LTSPICE has an option to delete *.raw files upon closure of the executable but, the queue manager does not close the executable between job calls.

Two mitigations I can think of are:
1) Modify the queue manager to close and re-open the LTSPICE executable between job calls. LTSPICE can then delete the *.raw files if so requested.
2) Give LTSPICE the option of deleteing *.raw files at the end of the simulation even if the LTSPICE executable is still active. Here, if requested, *.raw files would be deleted after the .meas directives are run.

The same problem exists for "LTC Simulation Queue Manager.exe" and "LTspSimQ.exe".

Has anyone addressed this or know of a solution? Or am I incorrectly using this tool or missing something?

Regards,

Dean Wilson


Re: procedure for the design

John Woodgate
 

In message <CANZ6rKyEwfYVCbrESnaTSuQVpk9_uNbQTtxFZUHKvs9uE-sxfQ@...>, dated Mon, 15 Apr 2013, DEVISREE bala <baladevisree2@...> writes:

hi i am designing an op amp,but i dont know how two simulate circuit.pls reply me
You have to put some effort into helping yourself. First, explore the tutorial and example files available on the list's web site. There are also links there to tutorial web sites and Spice manuals free to download.

When you have a more specific question about simulation, there will be a lot of help available on this mailing list.
--
OOO - Own Opinions Only. See www.jmwa.demon.co.uk
They took me to a specialist burns unit - and made me learn 'To a haggis'.

John Woodgate, J M Woodgate and Associates, Rayleigh, Essex UK