An LDO with over-current protection includes a first and a second P-type
transistor, a sensing resistor, a comparator, and an error amplifier. The
channel aspect ratio of the first P-type transistor is much higher than
that of the second P-type transistor. The first P-type transistor
generates output voltage source according to input voltage source and
current control signal. The sensing resistor is coupled among the input
voltage source, the second P-type transistor, and the comparator,
providing a sensing voltage. The comparator generates a current limiting
signal according to first reference voltage and the sensing voltage. When
the current limiting signal enables the error amplifier, the error
amplifier adjusts voltage of the current control signal according to
second reference voltage and voltage divided from the output voltage
source; when the current limiting signal disables the error amplifier,
voltage of the current control signal is not adjusted.