take help of small signal analysis assuming the op amp or ldo is a two stage design the small signal parameters are g m1 first stage transconductance g m2 second stage transconductance g m3 transconductance of compensating transistor in ahuja compensation c 1 parasitic capacitance loading first stage c 2 total capacitance loading second stage r 1 output resistance of first stage r 2 output resistance of second stage or the net load resistance c c compensation capacitance r c compensation resistance in miller compensation we can find by small signal analysis and setting r c 1 g m2 where d s is a degree 3 polynomial in u2018 s u2019 with the coefficients determined by c 1 c 2 c c r 1 r 2 r c and g m2 but not g m1 the psgr is now given according to 1 4 and 5 by it can be seen from 6 neglecting the degree 2 term in u2018 s u2019 that the psgr has a zero at f a 1 2 u03c0c c g m2 r 1 r 2 which happens to be the same as the dominant pole for the compensated frequency response and therefore is at a very low frequency to improve the prgr response this zero needs to be shifted to a frequency as high as possible now if a ripple cancellation current is obtained by dropping the ripple voltage v p s.