Spice: how to set IDSS etc?

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Being slow to the dance, I just downloaded Linear Tech's SwcadIII and have been playing about with it...

Among the many things that are not mentioned or clear with or without the help file is how does one go about "setting" the IDSS for a JFET, or similarly Vgs for a Mosfet.

I see a great number of parameters for a given JFET, but none seems to directly correspond to IDSS (for example) - or else they're calling it something else.

Yes, I understand about chosing specific devices from the available devices, and/or the possibility of adding in devices (from someplace or another...), but for simplicity at this point I'd just as soon massage these two parameters for existing models for the sake of just making given circuits work according to what a pen and paper design says that they ought to.

Any input, or citations for sites that can provide this sort of info, would be appreciated.

_-_-bear :Pawprint:
 
Ok, now all we need is a formula that relates the Beta & Vto to IDSS! :D Or a citation where I can find this info myself...

This is an example of two of the "standard" JFET models:

.model 2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3 Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311

.model 2N4338 NJF(Beta=781u Betatce=-.5 Rd=1 Rs=1 Lambda=1.167m Vto=-.6606 Vtotc=-2.5m Is=114.5f Isr=1.091p N=1 Nr=2 Xti=3 Alpha=506.8u Vk=251.7 Cgd=2.8p M=.2271 Pb=.5 Fc=.5 Cgs=2.916p Kf=2.918E-18 Af=1 mfg=Fairchild)

_-_-bear :Pawprint:
 
Gosh, I really don't like Yahoo's groups... but I will join anyhow.

Here's a really odd FFT result from LT's spice... the source is simply the internal virtual AC generator with a 100k load! I'm baffled as to why it should show any harmonics whatsover??

One is a 2000Hz source, the other is a 2200 Hz. source, the 1kHz source looks far worse!

_-_-bear :Pawprint:
 

Attachments

  • ltswcad-fft1.jpg
    ltswcad-fft1.jpg
    88.4 KB · Views: 329
I have been fighting with the FFT problem as well recently. Seemed every schematic had different harmonics on it's sine wave generators and is very sensitive to stop time and maximum time step (in the edit simulation command dialog box).

Now turning off compression, using a stop time of 100ms and a time step of 0.5uS I can get a plain generator with those spikes down 140db.

Trouble is this puts up the time it takes for simulation to complete which on my old 266MHz machine can be considerable.

Cheers for the tip.
 
LtSpice default compression of analysis data is inconvenient, remembering to disable it in the control panel menu every time you restart the program isn't reliable (for me anyway)

I add (or copy to actually) a spice directive line to all of my schematics:

.param plotwinsize=0
 
jcx said
I add (or copy to actually) a spice directive line to all of my schematics:
.param plotwinsize=0

jcx,

I think it should be

.options plotwinsize=0


Also the .raw and .fft files associated with the schematic can be large. Usually after playing around with the schematic, I delete them to free up hard drive space and I leave the original .asc file.

tom
 
Fyi, the problem turned out to be the stepsize in .Tran and the compression "option."

For IDSS it seems easiest to just set the JFET up as a self current source and see what it does for current = IDSS. Then dork the Beta and the Is (iirc) terms in the param file for the device to suit... maybe.

powerful tool, obscure documentation... not a good combo.

_-_-bear
 
Tom2 said:


jcx,

I think it should be

.options plotwinsize=0

tom

me too, now you see why i metioned copying from working schematics

LtSpice certainly has terse (and incomplete) doc but most "undocumented" features follow previous Spice implementations, get a couple of spice books - sometimes the OrCad Pspice .pdf manual has been helpfull to me

i also think Yahoo has an annoying signup form - thats why my profile indicates i'm a 99 yr old female forestry products sales person
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.