jutek wrote: : hello
: let me know if i am wrong or not.
: under stable vdd condition the opamp's gain should change with the load : changes or be stable?
: when i am simulating the LDO i do ac open loop analysis with different : loads. Power supply is 1.3 V : after that i checked the opamp's gain and saw that for 1mA opamp's gain : is higher than for 100mA
: but with 3.3 vdd the situation is reciprocal, the gain is higher for 100mA
: i surely check it after opamp, i know that pass device's gain changes : with load if works in saturation.
: maybe it is related to differencies at the inputs?
: vref is 0.8 and the second input comes from output and the gain would be : stable if output is 0.8 but is not.
: what do you think ?
Ignore what most other people have told you, first of all. They are stuck doing board-level design with BJTs, and/or have no idea what is involved in designing with MOSFETs, let alone modern IC design. The comments about this being a "paper" design show that. ALL Modern IC design is done based upon verification by simulation (unless the design is being re-used, but some simulation is still done in that case) so, in some sense, all modern IC design is "paper" design. Current MOSFET models are actually very well done, even in the subthreshold region.
Regulator design is hardly an art. You just need to understand what you are doing. Sounds to me, based upon the date you provided, that your pass device isn't big enough. To deliver the necessary current, the opamp is pulling its gate so low that something (probably one of your load devices) in the opamp is going out of saturation in your 1.3V case. The load device going into the linear region reduces the output impedance of your first stage, reducing the gain of the opamp.
It's possible (maybe even more likely) that your pass device is going out of sat., but when you said opamp gain, I assumed you were talking about your opamp separate from the pass device, but technically they constitute a 2-stage opamp, so I'm not sure exactly what you were saying.
Stop and think about what you are doing, how your circuit should behave, and then try to reconcile the two.
Good Luck,
Joe