Post Go back to editing

Wrong gds value for level 3 MOSFET

Category: Software
Product Number: LTspice
Software Version: 26.0.2 MacOs
Hi,

I am running a simulation envolving an NMOS LEVEL3 model from cmosedu.com (for teaching purposes).
I use LTspice 26.0.2 for MacOS.
 
It seems that the gds value that appears in the Ouput Log after an OP analysis (w/ logopinfo option) is wrong.
Performing a DC sweep of Vds around its DC value (1.31V in my case) and plotting d(Id) gives a quite different value (about 4.5x smaller).
This second one happens to be almost exactly the same as the one I get from an OP analysis in ngspice (printing @M1[gm]).
 
I was wondering whether it could be a bug. 
I have attached my test schematic in which:
-- OP analysis --> Output log gives 33.8mS
-- DC Analysis --> plotting d(id(M1)) gives 7.5uS
 
Thanks in advance.
Pif.
Parents
  • Hi mborn, and thank you for your reply. 

    Thanks for the tip too. With VMAX=0, I do get the same value in both analyses.
    It's off by about 30% though (10uS instead of 7.5u).

    Anyway, that's fine for me.

    Thanks again.

    Pif.

    PS: In my initial post, I meant that I got gds in ngspice by printing @M1[gds] and not @M1[gm], obviously

Reply
  • Hi mborn, and thank you for your reply. 

    Thanks for the tip too. With VMAX=0, I do get the same value in both analyses.
    It's off by about 30% though (10uS instead of 7.5u).

    Anyway, that's fine for me.

    Thanks again.

    Pif.

    PS: In my initial post, I meant that I got gds in ngspice by printing @M1[gds] and not @M1[gm], obviously

Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.