A fast and cheap digital dual universal controller for switch-mode power supplies

A fast and cheap fully digital controller for switch-mode power supplies realized with a Programmable Logic Device (PLD) is described. Two different configurations were implemented. In the first configuration two independent sections sharing the same input port are implemented in a single chip. The first section is devoted to drive a single switch PFC and has only the PWM output. The second section is devoted to the main converter and drives all the most popular topologies: single switch PWM converters, half and full bridge PWM converters, push-pull PWM converters and full bridge phase-shift converters. In the second configuration only a Phase Shift Bridge Controlled is implemented. Delays between commutations of the switches of the same leg can be programmed from a minimum of 20 ns to a maximum of 120 ns at 20 ns steps. A sliding-mode control algorithm for the use of the digital controller with a cheap microcontroller is also described. The digital controller was tested with different power cells showing remarkable improvements with respect to analog controllers.