The present invention discloses an overcurrent detection device, which
uses a first NOT gate and a second NOT gate to reverse the logic states
of a first digital signal and a second digital signal which are
digitalized audio signals in a class D power amplifier. Next, a CMOS
transistor receives the reversed digital signals and drives a load. A
comparing circuit detects the current of the load and compares the
current with the reversed first and second digital signals. When the
current of the load is too high, the comparing circuit respectively
outputs a first electrical signal and a second electrical signal to a
first logic gate and a second logic gate. Then, the logic gate outputs a
signal to activate a protection circuit to prevent the entire circuit be
damaged or burned out.