and an output of the second comparator 170 a controller output voltage v comp normally operates between 1 v to 4 v a power supply coupled to the pwm controller 133 is operated in a peak current or duty cycle control mode of operation whereby the pwm controller 133 regulates the output voltage of the power supply from light load to full load current by increasing or decreasing v comp which correspondingly increases or decreases the duty cycle or peak current if an overcurrent condition that exceeds a predetermined threshold exists the output voltage falls out of regulation and the output of the controller operational amplifier 130 will saturate high approximately 5 v the secondary reference voltage v ref2 which is normally higher than the controller output voltage v comp is measured from the first and second divider resistors 194 196 during normal operation the first comparator output voltage v oa1 is pulled down to near zero as the controller output voltage v comp is lower than the secondary reference voltage v ref2 during an overcurrent condition the controller output voltage v comp exceeds the secondary reference voltage v ref2 and the first comparator output voltage v oa1 will rise to a bias supply voltage v cc of the control operational amplifier 130 since the output of the first comparator 150 is an open collector output the capacitor 120 will be charged to the supply voltage v cc through a first resistor 110 the transistor 140 provides positive feedback to the first.