an adaptive phase - lead compensation circuit is disclosed that can be added to a circuit to ease the compensation and increase the phase margin of the circuit . by using the disclosed adaptive phase - lead compensation circuit , an adjustable resistance can be connected to any nodes in the compensated circuit rather than just to the voltage source or ground , allowing the miller effect to be used via a miller capacitor .