Design and Control for a Charge-Regulated Flyback Switch-Mode Rectifier