Design and optimization of emulated peak-current mode controlled buck regulators