Patent attributes
The present invention pertains to an inductor current detection circuit in a switching mode power supply, and a light-emitting diode (LED) driver thereof. In one embodiment, an inductor current detection circuit configured in a switching mode power supply under discontinuous conduction mode, can include: (i) a voltage detection circuit configured to generate a sampling voltage based on a drain-source voltage of a power switch in the switching mode power supply; (ii) a voltage holding circuit configured to receive the sampling voltage, and to generate a holding voltage through a sampling and holding operation; and (iii) a comparison circuit configured to compare the sampling voltage against the holding voltage, and to generate a zero-crossing signal when the sampling voltage is less than the holding voltage, where the zero-crossing signal is configured to represent an inductor current ending time of the switching mode power supply.