Geoffrey_Coram
|
I also don't like that transistor model -- firstly, that it's completely off for Vds>=0 (I see you expect Vdd=-15, whereas I expected Vdd>0, but still, during Newton's method, you might get a positive Vds in the model).
Have you done some Id/Vd plots at different Vgs? It looks like the current is at least continuous (for Vds<0 but approaching zero, the current does properly go to zero to match the 0 for Vds>=0). But I can't tell by inspection if the conductance (derivative of Id) is well-behaved.
|