Phase-shifted full-bridge soft-switching power supply digital controller based on DSP and CPLD