A Unified Control for PFC Converter With Seamless Transition Between PWM/PFM Modes