A ripple current mode power converter comprised of a magnetic energy
storage element, and a method of determining magnetic storage element
charge duration based on periodic magnetic storage element current
samples. In the preferred embodiment a controller processes a magnetic
storage element ripple current, and average sampled current, to achieve
high power factor forgoing the need to sense the AC signal current and
voltage levels. The controller element periodically calculates the
magnetic storage element charge duration to control the state of the
switch element to maintain the AC input current proportional to the AC
input voltage.