Patent ID: 8248054

Claim:
An ON/OFF detection circuit for detecting an electronic device, comprising: a switch circuit comprising an input terminal connected to a constant voltage source, an output terminal coupled to the electronic device, and a control terminal configured to control the connection and disconnection between the input terminal and the output terminal; a current sampling circuit connected between the input terminal and the output terminal of the switch circuit for sampling current flowing to the electronic device and converting the sampled current into a sampled voltage; an amplifying circuit configured for filtering and amplifying the sampled voltage; and a control circuit connected with the control terminal of the switch circuit and the amplifying circuit, the control circuit controlling ON and OFF of the electronic device and comparing the sampled voltage with a comparison voltage to judge whether the electronic device is qualified or disqualified; wherein the control circuit presets a number of test times, and the comparison voltage defines a tolerance of acceptable range; and if the sampled voltage is located in the acceptable range of the comparison voltage, the number of test times subtract one until the number is exhausted.