Qucs / qucsator

Circuit simulator of the Qucs project
http://qucs.sourceforge.net
GNU General Public License v2.0
24 stars 12 forks source link

Qucsator@Qucs: p-MOSFET placement influency convergence #15

Open ldpgh opened 8 years ago

ldpgh commented 8 years ago

Helllo, using the p-MOSFET (4-terminal device) of components/nonlinear_components its placement seems to influence the convergence if the Drain is connected to the power-supply rather than the Source.

Change(s) made to the parameters of p-MOSFET are

If the Source is connected to the power supply there are no convergence issues as far as I can tell.

Attached the testbench (inverter, input&output shorted). I_DIFF reports the difference of the current flowing through the inverters. The currents should be the same, if no other parameter is causing an asymmetrical behavior of the MOSFET.

n-MOSFET not checked for this issue.

Environment: Qucs 0.0.19 @ Win7Pro, i5-4310U

Screenshot pmosfet_convergence

Qucs-Tesbench schematic ... filename extended by ".txt" to comply with Github zt_pmosfet_orient.sch.txt

ldpgh commented 8 years ago

FYI ... simulation in LTspice creates warnings for all MOSFETs:

To prevent the warning in LTspice it seems the size should be >10um Smells like a floating point comparison issue in LTspice regarding the geometry checker.

ldpgh commented 8 years ago

Geometry (W,L) = 10um

Default Geometry = 1um:

Other comment ... origin of the issue was DC-OP failed: