Ken Kundert wrote on Nov 20th, 2012, 11:38am:Here are a few comments from looking at what you uploaded.
1. You really don't need to apply the input while running the pstb analysis. Just apply the clock. This will speed up your simulation dramatically.
2. I don't understand the relay that shorts the output.
3. You don't need a port for the input source, a vsource is sufficient.
-Ken
thx, ken.
1.I set the input to 0 during pstb analysis, so there is no input in fact.
2.The relay works as a reset switch during sample phase.
3.Usually, I use a vsin. The port is learnt from other's ckt, maybe not suitable here.
Frank Wiedmann wrote on Nov 21st, 2012, 5:32am:You can find the diffstbprobe in the analogLib library if you are using a recent version of Cadence Virtuoso. You use it in the same way as the old cmdmprobe. The diffstbprobe uses an improved method that also works for circuits that are not perfectly symmetric.
You should always plot the loop gain and examine its behavior (see
http://www.edaboard.com/thread163935.html if you don't know how to do this). Just looking at the gain and phase margins reported in the simulator log is not sufficient.
Hi. Frank, the vision of my cadence is not latest enough, so there is no diffstbprobe.

I changed the ideal amp with a real but not well one, then the pstb result is shown as pic. I think this time it works, but I wonder whether the loop gain is reliable, since the open-loop gain is around 500(I test it using traditional way, ac analysis with ideal CMFB, not SC CMFB, can PAC be used instead with SC CMFB to derive open loop gain?), but the loop gain is 50.
Maybe I should learn more about pss pstb pac and re-check the setup and configuration.
Regards
urian