Patent ID: 8123404

Claim:
A temperature detector, comprising: a first current mirror whose current is temperature-dependent; a second current mirror whose current is temperature-independent; a first capacitor connected to an output of the first current mirror; a second capacitor connected to an output of the second current mirror; a first comparator whose input terminal is connected to the first capacitor and a reference voltage; a second comparator whose input terminal is connected to the second capacitor and the reference voltage; a phase detector connected to the output of the first comparator and second comparator; a first transistor having a gate, an input terminal and an output terminal, wherein the gate is connected to the output of the first comparator, the input terminal is connected to the first capacitor and the output terminal is grounded; a second transistor having a gate, an input terminal and an output terminal, wherein the gate is connected to the output of the second comparator, the input terminal is connected to the second capacitor and the output terminal is grounded; and a controller, wherein an input of the controller is connected to the output of the phase detector, and the controller is configured to control the output current of the second current mirror.