A switching power converter and method of controlling an output voltage thereof
using predictive sensing of magnetic flux provides a low-cost switching power converter
via primary-side control using a primary-side winding. An integrator generates
a voltage that represents flux within a magnetic element by integrating a primary-side
winding voltage. A detection circuit detects the end of a half-cycle of post-conduction
resonance that occurs in the power magnetic element subsequent to zero energy level
in the power magnetic element. The integrator voltage is stored at the end of the
half-cycle and is used to determine a sampling point prior to or equal to the start
of post-conduction resonance in a subsequent switching cycle of the power converter.
The primary-side winding voltage is then sampled at the sampling point, providing
an indication of the output voltage of the power converter by which the output
voltage of the converter can be controlled.