摘要 |
An electronic device includes a circuit for measuring a current in an inductor, wherein the current in the inductor is controlled by alternately switching a first power transistor and a second power transistor each having a first electrode, a second electrode and a control gate. The measuring circuit includes a first sense transistor having a first electrode, a second electrode and a control gate, the first sense transistor having the control gate coupled to the control gate of the first power transistor. A second electrode is coupled to the second electrode of the first power transistor. A second sense transistor has a first electrode, a second electrode and a control gate, the second sense transistor having the control gate coupled to the control gate of the second power transistor and having the second electrode coupled to the second electrode of the second power transistor. An amplifier is operable in a first configuration for providing an output current that is a function of a first current though the first sense transistor during a first period of time or in a second configuration for providing the output current as a function of a second current through the second sense transistor during a second period of time, so as to alternately sense a current through the first power transistor with the first sense transistor and through the second power transistor with the second sense transistor.
|