¿ªÔÆÌåÓý

Re: "4 GROUP.zip" upload


 

Hi.
.model BS170 VDMOS VTO=1.824 RG=270 RS=1.572 RD=1.436 RB=.768 KP=.1233 Cgdmax=20p Cgdmin=3p CGS=28p Cjo=35p Rds=1.2E8 IS=5p Bv=60 Ibv=10u Tt=161.6n
.MODEL BS250 VDMOS pchan Rg=160 VTO=-3.193 RS=2.041 RD=0.697 IS=2E-13 KP=0.277 Cjo=105p PB=1 LAMBDA=1.2E-2 RB=0.309 Rds=1.2E8 Cgdmax=57p Cgdmin=5p CGS=47p TT=86.56n BV=45 IBV=10u

Bordodynov.

05.08.2016, 08:56, "Andy ai.egrps@... [LTspice]" <ltspice@...>:

Jeff asked:

? ?"Is there an easy or a standard way to make a model for these transistors that can be included in LIB/cmp/standard.mos?"

For the?BS250P and BS170?transistor models you used, no, there isn't.? Those particular models are .SUBCKTs.? You can't have a subcircuit model in the "standard.mos" file.? That file is only for transistor models that use just the .MODEL syntax; it's not for subcircuits.

But aside from that .. this is a touchy question.

Aside from MS-Windows, there is nothing stopping you from editing your lib&#92;cmp&#92;standard.mos file, and adding your own MOSFET models to it if they are .MODEL models.? In fact, the LTspice Help pages even recommend it (Help: F.A.Q. -> MOSFET Models), so Mike Engelhardt thought it was OK.? Many people here in this group recommend against editing that file, but you can.

Windows might require you to be the Administrator, when you edit the file.

Of the lib&#92;cmp&#92;standard.* files, these ones are text files and could be edited directly:

standard.bjt
standard.dio
standard.jft
standard.mos

(The others are binary.)

The format is ordinary SPICE Netlist format, and should be just a .MODEL statement for each diode or transistor.? Obviously, device names must not clash, and standard SPICE rules apply about continuation lines.? Also, use only a decent text editor that does not add stray binary bytes here and there.? Notepad is best avoided.

Indeed there are enhanced versions of the standard.* files with many more transistors in them, which people have contributed to the LTspice user community.? They can be found in a few places in this group's Files area, and on the LTwiki website (ltwiki.org).

One of the problems with editing your standard.mos file (rather than pasting .MODEL statements on your schematic or having them in a separate file), is that you may forget that other LTspice users don't have those same transistors in their LTspice installation.? Then when you send them your schematic that uses one of those transistors, the schematic cannot be run.? Having those .MODEL statements separate, makes it more likely for you to send the .MODELs along with your schematic.

Regards,
Andy

Join [email protected] to automatically receive all group messages.