A detection circuit is configured to detect the presence of a power source by
comparing
two input voltages (VIN1, VIN2). An example detection circuit is
arranged, such that the first input voltage (VIN1) may operate above the
process limit for transistor breakdown, while the second input voltage (VIN2)
should be maintained below the transistor breakdown voltage. The detection circuit
includes a built-in offset voltage (VOS) for hysteresis such that the detection
signal is activated when VIN1VIN2+VOS. The detection circuit
is useful for providing an enable signal in a battery charger application. It is
envisioned that the detection circuit is also useful in other applications where
detection of a power source is required, and where detection of one voltage relative
to another may be desired.