Based on tl494 switching power supply