Patent attributes
A switching converter, which produces an output voltage, contains a switch operable between a first state for opposing a decrease in the output voltage and a second state for opposing an increase in the output voltage. The converter also contains a circuit adapted to determine a time period during which the output voltage is decreasing, wherein during the time period the switch is in the first state. The circuit also calculates, based on the time period, a time to turn the switch from the first state to the second state to prevent the output voltage increasing above a reference value. Optionally, the time to turn the switch to the second state is based on a duty cycle of the converter.