A capacitor charging circuit comprises, power transfer circuitry, power
switching control circuitry and voltage measurement circuitry. The power
transfer circuitry transfers power from a power source to a capacitor.
The power switching control circuitry controls the switching that causes
power to be delivered to the power transfer circuitry. The voltage
measurement circuitry indirectly measures the output voltage to determine
when to stop charging the capacitor.