Standard, platform independent simulations for DIYAudio - Page 6 - 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 28th February 2014, 12:21 PM   #51
diyAudio Member
 
Join Date: Apr 2012
Location: Florida & France
Quote:
Originally Posted by keantoken View Post
You'll have to ask Mike about it like I suggested. Does kean.bjt appear in the schematic directory?
I emailed to linear, I guess that generic address goes to mike. On the mac there is no "about" option under the help menu, it's somewhere else, but I found it and got that address. We'll see if something is done to fix this.

I forgot to mention earlier, but I only get the error and no file gets downloaded anywhere.

Now I have one other question: How do we simulate darlingtons?

I dug out some old models from what I saved over time, let's see if this is usable:

.SUBCKT tip142 1 2 3
* Model generated on Feb 8, 2004
* Model format: SPICE3
* Darlington macro model
* External node designations
* Node 1 -> Collect
* Node 2 -> Base
* Node 3 -> Emitter
Q1 1 2 4 qmodel
Q2 1 4 3 q1model area=19.6725
D1 3 1 dmodel
R1 2 4 8000
R2 4 3 40
* Default values used in dmodel
* EG=1.11 TT=0 BV=infinite
.MODEL dmodel d
+IS=1e-12 RS=10 N=1 XTI=3
+CJO=0 VJ=0.75 M=0.33 FC=0.5
.MODEL qmodel npn
+IS=2.92836e-16 BF=233.76 NF=1.2 VAF=1000
+IKF=0.222129 ISE=4.61322e-11 NE=2.48158 BR=1.89854
+NR=0.75 VAR=168.458 IKR=0.108495 ISC=9.99999e-14
+NC=2.00001 RB=7.90758 IRB=0.2 RBM=7.90758
+RE=0.275456 RC=1.42279 XTB=0.232595 XTI=3.02293 EG=1.206
+CJE=1e-11 VJE=0.75 MJE=0.33 TF=1e-09
+XTF=1 VTF=10 ITF=0.01 CJC=1.67157e-09
+VJC=0.95 MJC=0.23 XCJC=0.9 FC=0.5
+TR=1e-07 PTF=0 KF=0 AF=1
.MODEL q1model npn
+IS=2.92836e-16 BF=233.76 NF=1.2 VAF=1000
+IKF=0.222129 ISE=4.61322e-11 NE=2.48158 BR=1.89854
+NR=0.75 VAR=168.458 IKR=0.108495 ISC=9.99999e-14
+NC=2.00001 RB=7.90758 IRB=0.2 RBM=7.90758
+RE=0.275456 RC=1.42279 XTB=0.232595 XTI=3.02293 EG=1.206
+CJE=1e-11 VJE=0.75 MJE=0.33 TF=1e-09
+XTF=1 VTF=10 ITF=0.01 CJC=0
+VJC=0.95 MJC=0.23 XCJC=0.9 FC=0.5
+TR=1e-07 PTF=0 KF=0 AF=1
.ENDS
  Reply With Quote
Old 1st March 2014, 12:18 AM   #52
diyAudio Member
 
keantoken's Avatar
 
Join Date: Aug 2006
Location: Texas
Blog Entries: 2
It probably has the same pinout of the standard transistor symbol. On Windows, you would CTRL->Rclick on the transistor symbol, set the prefix to X and then give the transistor the name of your subcircuit. I can't say how to do this on Mac.

But, there is probably a more topical thread for that...
  Reply With Quote
Old 1st March 2014, 01:27 AM   #53
gannaji is offline gannaji  India
diyAudio Member
 
Join Date: Jan 2011
Location: Hyderabad
Originally Posted by keantoken Click the image to open in full size.
First, see if you can download the file in your browser using this:

http://startfetch.com/keantoken/ltspice/kean4.bjt

If not, then it is a problem with the server or with your network. If you can download the file, then it's a problem with LTSpice. If you go to Help->About, it will give you Mike's email address and you can send him a report.


Today, when I clicked on it, kean4.bjt is getting downloaded directly.
--gannaji
__________________
www.samritatrust.org
  Reply With Quote
Old 1st March 2014, 02:33 AM   #54
diyAudio Member
 
keantoken's Avatar
 
Join Date: Aug 2006
Location: Texas
Blog Entries: 2
Yes, the server configuration changed. You can try the simulator directive again to see if it works.
  Reply With Quote
Old 1st March 2014, 07:11 PM   #55
diyAudio Member
 
Join Date: Apr 2012
Location: Florida & France
Quote:
Originally Posted by keantoken View Post
It probably has the same pinout of the standard transistor symbol. On Windows, you would CTRL->Rclick on the transistor symbol, set the prefix to X and then give the transistor the name of your subcircuit. I can't say how to do this on Mac.

But, there is probably a more topical thread for that...
Seems this won't be possible on mac, at least until that version gets more completed. There are so many things missing on the mac version, it's not easy sometimes to do certain things.

That option to right click on a part doesn't have the same effect on mac, and there is nothing to go change that QN or QP into an X, so I'm stuck with that.
  Reply With Quote
Old 1st March 2014, 11:15 PM   #56
diyAudio Member
 
keantoken's Avatar
 
Join Date: Aug 2006
Location: Texas
Blog Entries: 2
You can open the symbol manually, edit->attributes to set it to X, then save it as a new symbol.
  Reply With Quote
Old 1st March 2014, 11:39 PM   #57
diyAudio Member
 
Join Date: Apr 2012
Location: Florida & France
Quote:
Originally Posted by keantoken View Post
You can open the symbol manually, edit->attributes to set it to X, then save it as a new symbol.
That's the problem, there is no way to edit attributes on the mac version, so there is no access to the attributes or anything else that way. Only the main libraries show up and we can't change to anything else.

I tried it on windows and the menu comes up and I did it there. Once the changes have been made and I go back to the mac to open that sim, then it does work.

That missing feature on the mac version is far from the only one. There is an other that I am really missing badly. Just like accessing the attributes of parts, we can't touch the data labels either. For example if I want a data label to display a current, or a power (from a calculation), then it can't be done.

An other missing thing is that when on windows we hover over some part to get that thermometer and get a power dissipation, that too doesn't work... And it goes on...
  Reply With Quote
Old 2nd March 2014, 12:01 AM   #58
diyAudio Member
 
keantoken's Avatar
 
Join Date: Aug 2006
Location: Texas
Blog Entries: 2
Wow, that's pretty bad. I would go to the Yahoo group about this one; it's probably already been asked.

Well, barring cometary intervention, you could manually edit the symbol files in a text editor, but I would only be guessing how to do that (may be fairly straightforward).
  Reply With Quote
Old 2nd March 2014, 12:24 AM   #59
diyAudio Member
 
Join Date: Apr 2012
Location: Florida & France
Quote:
Originally Posted by keantoken View Post
Wow, that's pretty bad. I would go to the Yahoo group about this one; it's probably already been asked.

Well, barring cometary intervention, you could manually edit the symbol files in a text editor, but I would only be guessing how to do that (may be fairly straightforward).
Editing the symbol files doesn't help much. I need to be able to insert something into a simulation and make changes. This is the hard part. Once it's in there, then as long as we don't need to edit attributes or change something else, it works.

I've figured out a few things that I do outside of ltspice, to compensate for some of those shortcomings, so I can do sims. Some manual editing of the actual text files sometimes, some done briefly on a windows ltspice install when all else fails.

I can't add (or change/edit) data labels for currents and power or other calculated values on the mac version, so I do that quickly on windows and go back to mac. A real pain, but it gets me by for now.

I wish I could get those dissipation readings and the likes as well, those don't work. Amazingly when hovering over a part, while holding shift, we can see sometimes the cursor changing to the thermometer, even with a small tooltip saying things, but all we can do is plot something, not make data labels.

Since I've been digging into those raw files directly with a text editor, I know a tiny bit more about them and I can edit a few things that way, and then it helps later in ltspice...
  Reply With Quote
Old 2nd March 2014, 12:26 AM   #60
diyAudio Member
 
Join Date: Apr 2012
Location: Florida & France
By the way, we're not limited to just transistors for the sharing of models. We can also share other types, such as opamps, opto, etc...

I'm trying to figure out how to use a model from TI of the ne5534, but so far no luck.
  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
Voltage independent power load egberttheone Power Supplies 15 23rd February 2012 05:44 PM
Parallel woofers - independent filter? Aleph 5 Multi-Way 18 16th August 2011 02:57 PM
Foam or rubber, environment independent? buggsson Car Audio 3 10th December 2008 12:06 AM
Independent (floating) supplies akis Power Supplies 15 7th September 2008 12:25 PM
Independent Bias Adjust for Each Tube? TubeHead Johnny Tubes / Valves 4 24th February 2008 12:57 PM


New To Site? Need Help?

All times are GMT. The time now is 03:32 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