Controller that determines average output current of a switching circuit
A switching circuit (400) comprising an inductive component (406) including at least one winding; and a switch (404) is configured to transfer power from a voltage source (402) to the inductive component (406) in accordance with a switch control signal (412). The switching circuit (400) also comprises a controller (408) configured to integrate the voltage across the inductive component (406) in order to generate a signal representative of magnetic flux in the inductive component (406); and use the signal representative of the magnetic flux in the inductive component to account for a peak magnetization current value in order to control the switch (404).