Help with LT Spice - diyAudio
Go Back   Home > Forums > Amplifiers > Solid State

Solid State Talk all about solid state amplification.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 18th August 2008, 03:48 AM   #1
Bonsai is offline Bonsai  Taiwan
diyAudio Member
 
Bonsai's Avatar
 
Join Date: Jul 2003
Location: Taipei, Taiwan
Default Help with LT Spice

I am struggling to get this model into LT Spice's library. I tried using the 'opamp2' blank, bet its not working. Anyone know how to do it?




* BEGIN MODEL LME49860
*//////////////////////////////////////////////////////////////////////
* (C) National Semiconductor, Corporation.
* Models developed and under copyright by:
* National Semiconductor, Corporation.
*/////////////////////////////////////////////////////////////////////
* Legal Notice:
* The model may be copied, and distributed without any modifications;
* however, reselling or licensing the material is illegal.
* We reserve the right to make changes to the model without prior notice.
* Pspice Models are provided "AS IS, WITH NO WARRANTY OF ANY KIND"
*////////////////////////////////////////////////////////////////////
* PINOUT ORDER +IN -IN +V -V OUT
* PINOUT ORDER 3 2 8 4 1
.SUBCKT LME49860 3 2 8 4 1
* NOTE THAT MODEL IS FOR ONE SECTION ONLY (A SECTION) OF
* THE DUAL LME49860
* MODEL FEATURES INCLUDE OUTPUT SWING, OUTPUT CURRENT THRU
* THE SUPPLY RAILS, OUTPUT CURRENT LIMIT, OPEN LOOP GAIN
* AND PHASE WITH CLOAD EFFECTS, SLEW RATE, COMMON MODE
* REJECTION WITH FREQ EFFECTS, POWER SUPPLY REJECTION WITH
* FREQ EFFECTS, INPUT VOLTAGE NOISE WITH 1/F, INPUT CURRENT
* NOISE WITH 1/F, INPUT BIAS CURRENT, OUTPUT IMPEDANCE,
* INPUT COMMON MODE RANGE, INPUT CAPACITANCE, INPUT OFFSET
* VOLTAGE WITH TEMPERATURE EFFECTS, AND QUIESCENT CURRENT
* VERSUS VOLTAGE.
* MODEL INCLUDES INPUT AND OUTPUT PROTECTION DIODES.
Q26 9 10 11 QON
Q27 12 10 13 QOP
Q28 4 14 15 QOP
Q29 8 16 17 QON
I4 9 16 3E-3
I5 14 12 3E-3
R34 18 17 1
R35 15 18 1
C6 10 19 2.8P
R36 19 10 1E3
G1 10 19 20 19 -1E-3
G2 21 19 22 23 -0.5E-2
R37 19 21 1.5E9
C7 20 24 15.33E-12
R38 20 21 1.9E3
E1 25 19 20 19 1
D2 25 21 DD
R39 19 24 45
Q30 23 26 27 QIN
Q31 22 28 29 QIN
Q32 30 31 32 QCN
R40 12 32 3.65E3
R41 23 33 220
R42 22 33 220
V7 9 34 0.75
R45 35 27 1
R46 35 29 1
R47 1 18 10
D1 34 33 DD
D3 21 25 DD
D4 36 9 DD
D5 12 37 DD
V8 36 21 1.5
V9 21 37 1.5
E6 38 0 9 0 1
E7 39 0 12 0 1
E8 40 0 41 0 1
R48 38 42 10E6
R49 39 43 10E6
R50 40 44 40E6
R51 0 42 10
R52 0 43 10
R53 0 44 40
E11 45 46 44 0 0.65
R54 47 41 1E3
R55 41 48 1E3
C10 38 42 1E-12
C11 39 43 1E-12
C12 40 44 0.4E-12
E12 49 45 43 0 0.30
E13 50 49 42 0 -0.62
R60 49 50 1E9
R61 45 49 1E9
R62 46 45 1E9
E22 47 0 2 0 1
E23 48 0 50 0 1
E24 51 52 53 54 17.5E-3
I7 0 54 1E-4
D6 54 0 DVN
I8 0 53 1E-4
D7 53 0 DVN
R63 26 50 19
R64 51 28 19
E25 12 0 4 0 1
E26 9 0 8 0 1
I9 8 4 5.8E-3
R65 4 8 19.23E3
E27 19 12 9 12 0.5
C13 2 0 3E-12
C14 50 0 3E-12
C15 50 2 0.25E-12
V10 52 2 87E-6
R67 13 16 1
R68 14 11 1
I13 50 0 -3.7313E-6
I14 2 0 -3.7313E-6
I15 12 31 3.442E-6
V12 35 30 -0.5
D8 55 26 DD
D9 55 28 DD
V13 55 12 1.45
I16 0 56 1E-3
D10 56 0 DD
R104 0 56 1E9
V14 56 57 0.65
R105 0 57 1E9
R106 0 57 1E9
E28 46 3 57 0 1.133E-4
R107 3 46 1E9
D11 26 9 DD
D12 28 9 DD
D13 1 58 DD
D14 59 1 DD
R108 58 8 10
R109 4 59 10
.MODEL DVN D KF=1.6E-13
.MODEL DD D
.MODEL QCN NPN
.MODEL QIN NPN BF=45 KF=2E-17
.MODEL QON NPN BF=15 RC=55
.MODEL QOP PNP BF=15 RC=55
.ENDS
* END MODEL LME49860
__________________
bonsai
Amplifier Design and Construction for MUSIC! http://hifisonix.com/
  Reply With Quote
Old 18th August 2008, 05:40 AM   #2
lineup is offline lineup  Sweden
diyAudio Member
 
lineup's Avatar
 
Join Date: Dec 2005
Location: the north
Default Spice Model for LME49860

have you tried to use it
or add it?

i have used it and this spice model is very good,
and give good match with datasheet figures

i do not quite get your problem, Bonsai

is it you just do not know for sure how to add it
or you get some error messages from LTspice?

Lineup
Lineup audio board - with member's blogs
__________________
lineup
  Reply With Quote
Old 18th August 2008, 08:02 AM   #3
Bonsai is offline Bonsai  Taiwan
diyAudio Member
 
Bonsai's Avatar
 
Join Date: Jul 2003
Location: Taipei, Taiwan
'is it you just do not know for sure how to add it'

Lineup, no - its me - I do not know how to do it. do you hve the model?
__________________
bonsai
Amplifier Design and Construction for MUSIC! http://hifisonix.com/
  Reply With Quote
Old 18th August 2008, 09:56 AM   #4
lineup is offline lineup  Sweden
diyAudio Member
 
lineup's Avatar
 
Join Date: Dec 2005
Location: the north
no
not in ltspice
i just added that one to my multisim ( Electronics WorkBench = EWB )

in order to figure out and help you
i have to read the instructions HELP for ltspice
__________________
lineup
  Reply With Quote
Old 18th August 2008, 10:17 AM   #5
diyAudio Member
 
jan.didden's Avatar
 
Join Date: May 2002
Location: Great City of Turnhout, Belgium
Blog Entries: 7
Bonsai,

There are complete guides for this, and much more, in the LTspice usergroup in Yahoo. If yo start to use LTspice more often, it's a good idea to join the user group. Even the designer of LTspice joins that goup to answer questions.

Jan Didden
__________________
If you don't change your beliefs, your life will be like this forever. Is that good news? - W S Maugham
Check out Linear Audio!
  Reply With Quote
Old 18th August 2008, 10:52 AM   #6
lineup is offline lineup  Sweden
diyAudio Member
 
lineup's Avatar
 
Join Date: Dec 2005
Location: the north
Bonsai.
I found this in

Ltspice -> HELP - > Contents -> FAQ -> Third-Party Model

I guess this should be enough for you to get it work.
After some trail & errors

Quote:
Third-party Models
This section explains the basics to adding a third-party model to LTspice/SwitcherCAD III.
Basically there are two types of third party SPICE models, those described with a .MODEL statement and those defined with a .SUBCKT.
The way how to include the model in LTspice depends on whether the model is given as a .MODEL statement or a .SUBCKT.

Example for a 5-pin opamp.
This will be defined with a .SUBCKT statement:


1. Add an instance of symbol opamp2 to your schematic.

2. Edit the value "opamp2" to "TL072" on the schematic to coincide with the name of the .SUBCKT.

3. Either
3a) Paste the ".SUBCKT TL072 ..... .ENDS" definition as one multi-line SPICE directive to your schematic.
or
3b) If you have a file called "TI.lib" containing the definition of subcircuit TL072(It will look like a line that starts out as ".SUBCKT TL072...") add the SPICE directive ".INCLUDE TI.lib" to the schematic.

It is possible to create a new symbol and program it to automatically include the necessary model for the simulation.
See help section Schematic Capture=>Creating New Symbols.

Lineup
Lineup Audio Community _ audio forum + audio member's blogs
__________________
lineup
  Reply With Quote
Old 18th August 2008, 11:04 AM   #7
lineup is offline lineup  Sweden
diyAudio Member
 
lineup's Avatar
 
Join Date: Dec 2005
Location: the north
Quote:
Originally posted by janneman
There are complete guides for this, and much more, in the LTspice usergroup in Yahoo. If yo start to use LTspice more often, it's a good idea to join the user group. Even the designer of LTspice joins that goup to answer questions.
thanks for this info, janneman

Sorry man, janneman,
but after some re-considering, I suddenly found out that
I have the right to remain silent.
Anything I say can and will be used against me.

So, please, would you dis-regard anything I say beyond this line
.................................................. .................................................. ..........

Regards from Lineup
your sincere audio friend & not your very clever audio fiend
http://lineupaudio.freehostia.com/forum/index.php

__________________
lineup
  Reply With Quote
Old 18th August 2008, 01:16 PM   #8
diyAudio Member
 
jan.didden's Avatar
 
Join Date: May 2002
Location: Great City of Turnhout, Belgium
Blog Entries: 7
Lineup,

You are more clever than you want to admit!

BTW, I am intrigued by your country flag. Are you willing to admit in which country you currently live?

Jan Didden
__________________
If you don't change your beliefs, your life will be like this forever. Is that good news? - W S Maugham
Check out Linear Audio!
  Reply With Quote
Old 18th August 2008, 02:56 PM   #9
lineup is offline lineup  Sweden
diyAudio Member
 
lineup's Avatar
 
Join Date: Dec 2005
Location: the north
yes
no doubt this is one Made in Sweden website
like is Volvo Cars, often
http://lineupaudio.freehostia.com/

only for non commercial sharing of diy audio knowledge
by the one person evrybody now call Lineup

All my Regards
to Netherlands
and to the older nice gentle man called janneman

gentle ~ soft and and caring

** Made in Sweden .. reagarding music
http://en.wikipedia.org/wiki/Made_In_Sweden_(band)
http://en.wikipedia.org/wiki/ABBA
... only a few of our great creative music artists
__________________
lineup
  Reply With Quote
Old 5th September 2008, 12:32 AM   #10
lineup is offline lineup  Sweden
diyAudio Member
 
lineup's Avatar
 
Join Date: Dec 2005
Location: the north
Cool Yahoo LTSpice Group

Quote:
Originally posted by janneman
Bonsai,
There are complete guides for this, and much more, in the LTspice usergroup in Yahoo. If yo start to use LTspice more often, it's a good idea to join the user group. Even the designer of LTspice joins that goup to answer questions.
Jan Didden
Like Jan tells us:

For LTspice users
the Yahoo LTSpice Group is the place to be
http://tech.groups.yahoo.com/group/LTspice/

If you have one Yahoo Account + Yahoo Mail, like I have,
you are logged in automatically and can join this Group
... There is SPICE stuff for Members Only


Regards
Lineup
__________________
lineup
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to SPICE WithTarragon Pass Labs 2 6th June 2008 06:32 PM
Free Spice Or Cheap Spice Simulator-Where To Start? kelticwizard Everything Else 29 15th February 2007 01:38 AM
looking for spice models bocka Parts 16 23rd November 2003 02:00 PM
1- 800- Go- Spice EternaLightWith Parts 9 21st May 2003 03:51 AM
P-spice THD JensRasmussen Solid State 10 18th October 2002 05:18 AM


New To Site? Need Help?

All times are GMT. The time now is 01:31 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2