How to find Spice models of bjts - diyAudio
Go Back   Home > Forums > Design & Build > Software Tools

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

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 29th June 2014, 08:28 PM   #1
diyAudio Member
 
Join Date: Sep 2009
Location: Stavanger (NORWAY)
Default How to find Spice models of bjts

Hi and sorry if i say something stupid but i am only a beginner
With the help of this community i have discovered LTSpice
I would like to add some models of bjts to the default library that is limited to few of them
Are this models sold somewhere ? Like collections or so ?
Thanks a lot and kind regards, gino
  Reply With Quote
Old 29th June 2014, 08:45 PM   #2
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
You are having fun

There are a few ways to do this. This is the easy way. Attached is a list of Bob Cordells models. Put this IN THE SAME FOLDER as the circuit you have been working on. That is important.

Here is an attached folder to show you what to do. Download it and extraxt it so that its a normal folder. It contains the Radford preamp and a list of models.

Run the simulation and look for the NEW command I have added called .include cordell models.txt

The file name of the models (which are just written in notepad) must be the same as the .include name.

In the simulation you will see I have made Q1 an MJE340C

Right click the MJE340C and type in an NPN device from Bobs list such as BC550C. Then run the simulation and its now using that device for Q1.

Not easy to explain. All the devices on the list end in C, which are Bobs models such as BD139C and so on.

Hope that makes sense... it will be later tomorrow before I'm around.
Attached Images
File Type: png Models.PNG (60.1 KB, 123 views)
Attached Files
File Type: zip Ginetto Amp.zip (5.0 KB, 29 views)
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  Reply With Quote
Old 29th June 2014, 08:48 PM   #3
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
Right click MJE340C means right click the text saying MJE340C, not the device itself.
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  Reply With Quote
Old 30th June 2014, 06:18 AM   #4
diyAudio Member
 
Join Date: Sep 2009
Location: Stavanger (NORWAY)
Good morning Mr. Mooly
Sorry for the late reply but yesterday evening i was busy trying to get down the 2nd harmonic in a single npn buffer ... no way !
But i could decrease the 3rd that i understand is more nasty

Quote:
Originally Posted by Mooly View Post
You are having fun
There are a few ways to do this.
This is the easy way.
Attached is a list of Bob Cordells models. Put this IN THE SAME FOLDER as the circuit you have been working on. That is important.
I have created a folder with all the circuits. So i will place it there.

Quote:
Here is an attached folder to show you what to do. Download it and extraxt it so that its a normal folder.
It contains the Radford preamp and a list of models.
Run the simulation and look for the NEW command I have added called .include cordell models.txt
The file name of the models (which are just written in notepad) must be the same as the .include name.
In the simulation you will see I have made Q1 an MJE340C
Right click the MJE340C and type in an NPN device from Bobs list such as BC550C. Then run the simulation and its now using that device for Q1.
Not easy to explain. All the devices on the list end in C, which are Bobs models such as BD139C and so on.
Hope that makes sense... it will be later tomorrow before I'm around
Thanks a lot indeed !
I will do it this evening after work.
By the way i was thinking that it would be nice that the various semiconductors makers provide this data, like a think LT does. Great Company indeed ... such a tool for free
Yes i am having quite a fun. Honestly without this tool i would not had any possibility to calculate a circuit.
It is really a great tool. And it helps to understand how circuits works.
Have a nice day. Kind regards, gino
  Reply With Quote
Old 30th June 2014, 07:21 PM   #5
diyAudio Member
 
Join Date: Sep 2009
Location: Stavanger (NORWAY)
Quote:
Originally Posted by Mooly View Post
You are having fun
There are a few ways to do this. This is the easy way. Attached is a list of Bob Cordells models. Put this IN THE SAME FOLDER as the circuit you have been working on. That is important.
Here is an attached folder to show you what to do. Download it and extraxt it so that its a normal folder.
It contains the Radford preamp and a list of models.
Run the simulation and look for the NEW command I have added called .include cordell models.txt
Good evening ! i cannot find the new command
But i have been able to use the BD139C and the BC550C writing them in the window.
Is there a way to make the Cordell's models to show up in the list when picking up a transistor ?
That would be very very nice indeed.

Quote:
The file name of the models (which are just written in notepad) must be the same as the .include name.
In the simulation you will see I have made Q1 an MJE340C
Right click the MJE340C and type in an NPN device from Bobs list such as BC550C. Then run the simulation and its now using that device for Q1.
Not easy to explain. All the devices on the list end in C, which are Bobs models such as BD139C and so on.
Hope that makes sense... it will be later tomorrow before I'm around
Thanks a lot again Mr. Mooly !
I have noticed a very interesting thing. Changing Q1 with each of the npn mentioned does not change almost at all the fft.
This is interesting. It seems that npn of same class behave identically.
One is equivalent to another.
So the circuit in the end is what makes the big difference ?
Thanks again and kind regards, gino

Last edited by ginetto61; 30th June 2014 at 07:31 PM.
  Reply With Quote
Old 30th June 2014, 08:00 PM   #6
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
The new command was the .include cordell models.txt that tells the simulation to look at the note pad file of the same name that you have in the same folder as the sim. The name of the file and the .include name have to match but can be anything you want.

Yes, I think you can add models directly.

Look in C:\program filesx86 and look for LTC folder. Click your way through it and look for the "lib" folder. Click lib and then look for "cmp". Open the cmp folder and look for standard.bjt . Open that with NOTEPAD. I think you can copy and paste newmodels for transistors in there.

I've just tried it (but I'm on Windows 8.1) and its not letting me save the file... so I would have to investigate that at some point. I'm sure I did do it on Vista though.

Yes, its surprising what you can try and get to work. Even a 2n3055
Attached Images
File Type: png Prof files.png (206.7 KB, 108 views)
File Type: png Prog files 2.PNG (114.2 KB, 107 views)
File Type: png CMP.PNG (37.0 KB, 105 views)
File Type: png BJT.PNG (58.0 KB, 104 views)
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  Reply With Quote
Old 30th June 2014, 08:01 PM   #7
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
The .include command.
Attached Images
File Type: png Include.PNG (30.0 KB, 27 views)
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  Reply With Quote
Old 30th June 2014, 08:14 PM   #8
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
OK, got it to work. I added the MJE340C to the library by just copy and pasting the text from Bobs notepad file into the "standard bjt" file.

To get it to save in W8.1 I had to right click the "standard bjt" file and change the permissions to allow full control. This is where different PC's might be different.
Attached Images
File Type: png Permisions.PNG (60.8 KB, 27 views)
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  Reply With Quote
Old 30th June 2014, 09:07 PM   #9
JimT is offline JimT  Canada
diyAudio Member
 
Join Date: Oct 2004
Location: Waterloo
The include method works better as LTSpice will replace the standard.bjt when it updates. Your changes will be lost.

Jim
  Reply With Quote
Old 1st July 2014, 07:14 AM   #10
Mooly is offline Mooly  United Kingdom
diyAudio Moderator
 
Mooly's Avatar
 
Join Date: Sep 2007
Thanks for that Jim.
__________________
-------------------------------------------------------
Installing and using LTspice. From beginner to advanced.
  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 spice models available Joel Tubes / Valves 32 10th July 2013 06:30 PM
In praise of: Cordell SPICE models of BJTs Mark Johnson Software Tools 3 26th September 2011 03:42 PM
Looking for SPICE models of power BJTs Jorge Solid State 9 21st July 2005 02:13 PM
Spice models JoeBob Solid State 18 25th April 2002 03:34 PM


New To Site? Need Help?

All times are GMT. The time now is 04:45 PM.


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