Switch-mode power supplies[electronic resource] :SPICE simulations and practical designs