主权项 |
1. A method of controlling on-time and switching frequency of a switch in a DC-DC converter, the DC-DC converter having an input voltage and an output voltage, the method comprising:
driving, by a voltage controlled current source, a capacitance, to generate a ramp voltage, the voltage controlled current source being controlled by the input voltage to the DC-DC converter; comparing, by a comparator, the ramp voltage to the output voltage of the DC-DC converter; controlling, by the comparator, a switch control circuit to close the switch in response to a trigger signal and to open the switch when the ramp voltage is greater than the output voltage; detecting, by a phase detector, a difference in phase between an output of the comparator and a reference frequency signal; driving, by the phase detector, a current generator; and, adding a current generated by the current generator to a current generated by the voltage controlled current source to adjust the ON time of a main electronic switch so that the frequency of the converter will be at a reference frequency controlled by a voltage loop and without direct control of the switching period. |