What is charging my output capacitor?

Hello QSpice community,
I was testing a class AB amplifier, but then I noticed some weird charging when the PMOS transistor was missing, as you can see in the picture below (output O1):

What is charging O1? M1 Vgs (in light blue) is negative, I tried forcing IS=0 on the NMOS model (reverse body diode current) but the charge is still there. Is there some Roff I am missing in the documentation of the MOS?
I put the AB just below, where the PMOS would prevent this behavior.

Best,
Erma

CD.qsch (7.8 KB)

In SPICE, there is simulator option (.option) gmin (Minimum conductance) and in default is 1e-12Ʊ. It is equivalent to add 1/gmin resistor in parallel to every PN junction.

Here to set gmin to 1e-15 which further reduce the charging time.

1 Like

Nice to know, thanks :slight_smile: !

1 Like