Digitally-Controlled Single-Phase Single-Stage AC/DC PWM Converter