A method of controlling the output voltage of a voltage regulator that uses a
transimpedance
block is disclosed. The method comprises measuring the voltage representative current
of the output and comparing the voltage representative current to a reference current.
Finally, the charging process is stopped if the voltage representative current
of the secondary winding is substantially the same as the reference current.