PSRR+:
Vout = Vn (connect output of the opamp to negative terminal)
Vp = GND
VDD 4 0 DC 0 AC 1 (for example, VDD between node 4 and 0)
VSS 5 0 DC 0
Run AC analysis, plot Vout
PSRR-:
Vout = Vn (connect output of the opamp to negative terminal)
Vp = GND
VDD 4 0 DC 0 (for example, VDD between node 4 and 0)
VSS 5 0 DC 0 AC 1
Run AC analysis, plot Vout
I don't know how to plot CMRR though. I just posted my question about CMRR plot, let's hope someone helps us out! Thanks.
Added after 55 minutes:
CMRR plot:
Let 1 = Vp, 2 = Vn, 3 = Vout of your opamp.
VCM 2 3 DC 0 AC 1 (common mode voltage between node 2 and 3)
E+ 1 0 2 3 1.0 (voltage control voltage source between 1 and 0 and copies what's between node 2 and 3 by a factor of 1)
.AC DEC 10 1 100Meg
plot DB(V(2)/V(3)) i.e. CMRR = Vcm/Vout
But remember this is not exact because this requires PSRR+ = PSRR- which usually isn't the case. But this is how it is done these days and it is an appx. (what isn't in analog)