Boost converters exploiting the leakage inductance of a transformer or of an alternator as boost inductor