SWITCHING FREQUENCY CONTROLLER, VOLTAGE CONVERTER, AND METHOD FOR CONTROLLING SWITCHING FREQUENCY
20250007500 ยท 2025-01-02
Assignee
Inventors
Cpc classification
H03L7/193
ELECTRICITY
International classification
H03K5/00
ELECTRICITY
Abstract
A switching frequency controller, a voltage converter, and a method are used for controlling switching frequency. The switching frequency controller includes a frequency divider, a frequency detector, an accumulation counter, and an on-time controller. The frequency divider generates a divisional signal having a divisional frequency according to an input signal having a target frequency. The target frequency is 2.sup.N times of the divisional frequency. The frequency detector receives the divisional frequency and a switching control signal, and calculate a number of periods that pass by during each cycle of the divisional signal. The number of periods is represented by (N+1) bits. The accumulation counter increases or decreases a control indication value by a predetermined value according to a most significant bit of the number of periods. The on-time controller adjusts an on-time length of the switching control signal according to the control indication value.
Claims
1. A switching frequency controller comprising: a frequency divider, configured to generate a divisional signal having a divisional frequency according to a target signal having a target frequency, wherein the target frequency is 2.sup.N times of the divisional frequency, and wherein N is a positive integer; a frequency detector coupled to the frequency divider, the frequency detector being configured to receive the divisional signal generated by the frequency divider, and a switching control signal generated by a control signal generator, and calculate a number of periods of the switching control signal that pass by during each cycle of the divisional signal, wherein each cycle of the divisional signal comprises an on-time and an off-time having different potentials, and wherein the number of periods is represented by (N+1) bits; an accumulation counter coupled to the frequency detector, the accumulation counter being configured to set an indication value as a starting value during an initial stage, and increase or decrease the indication value by a predetermined amount according to a most significant bit of the number of periods; and an on-time controller coupled to the accumulation counter, the on-time controller being configured to adjust a parameter of the control signal generator according to the indication value so as to adjust an on-time length of the switching control signal.
2. The switching frequency controller according to claim 1, wherein the on-time controller adjusts at least one of a charge current value, a reference voltage value, a resistance value, and a capacitance value of the switching control signal of the control signal generator according to the indication value so as to adjust the on-time length of the switching control signal.
3. The switching frequency controller according to claim 1, wherein: when the most significant bit of the number of periods is 1, the accumulation counter increases the indication value by the predetermined amount, and when the most significant bit of the number of periods is 0, the accumulation counter decreases the indication value by the predetermined amount.
4. The switching frequency controller according to claim 3, wherein: when the indication value is greater than the starting value, the on-time controller extends the on-time length of the switching control signal; and when the indication value is smaller than the starting value, the on-time controller shortens the on-time length of the switching control signal.
5. The switching frequency controller according to claim 3, wherein: a greater a difference between the indication value and the starting value, a larger extent that the on-time controller adjusts the on-time length of the switching control signal.
6. The switching frequency controller according to claim 3, wherein the indication value comprises (N+1) bits, and the starting value is 2.sup.N.
7. The switching frequency controller according to claim 3, wherein: when the indication value is in a predetermined range, the on-time controller keeps the on-time length of the switching control signal unchanged.
8. The switching frequency controller according to claim 3, wherein the on-time controller comprises: N adjustment current sources, wherein an (n).sup.th adjustment current source is configured to output a current to a capacitor of the control signal generator according to an (N+1).sup.th bit and an (n).sup.th bit of the indication value so as to increase a charging current of the capacitor, and wherein n is any integer between 1 to N; and N adjustment current sinks, wherein an (n).sup.th adjustment current sink is configured to draw a current from the capacitor of the control signal generator according to the (N+1).sup.th bit and the (n).sup.th bit of the indication value so as to decrease the charging current of the capacitor.
9. The switching frequency controller according to claim 8, wherein the current outputted by the (n).sup.th adjustment current source is twice a current outputted by a (n1).sup.th adjustment current source; wherein the current drawn into the (n).sup.th adjustment current sink is twice a current drawn into a (n1).sup.th adjustment current sink; and wherein n is any integer between 2 to N.
10. The switching frequency controller according to claim 1, wherein the accumulation counter is further configured to receive the divisional signal, and wherein the accumulation counter operates by using the divisional signal as a clock signal.
11. A voltage converter, comprising: the switching frequency controller according to claim 1; and the control signal generator.
12. The voltage converter according to claim 11, further comprising: a first switch comprising a first terminal configured to receive an input voltage, a second terminal, and a control terminal configured to receive the switching control signal; a second switch comprising a first terminal coupled to the second terminal of the first switch, a second terminal coupled to a ground terminal, and a control terminal configured to receive an inverted control signal that is complement to the switching control signal; an inductor comprising a first terminal coupled to the second terminal of the first switch, and a second terminal configured to output an output voltage after conversion; and a capacitor comprising a first terminal coupled to the second terminal of the inductor, and a second terminal coupled to the ground terminal.
13. A method for controlling a switching frequency of a switch, the method comprising the steps of: using a control signal generator to generate a switching control signal to control the switch, wherein each cycle of a divisional signal comprises an on-time and an off-time having different potentials; generating the divisional signal having a divisional frequency according to a target signal having a target frequency, wherein the target frequency is 2.sup.N times of the divisional frequency, and wherein N is a positive integer; calculating a number of periods of the switching control signal that pass by during each cycle of the divisional signal, wherein the number of periods is represented by (N+1) bits; setting an indication value as a starting value during an initial stage; increasing or decreasing the indication value by a predetermined amount according to a most significant bit of the number of periods; and adjusting a parameter of the control signal generator according to the indication value so as to adjust an on-time length of the switching control signal.
14. The method according to claim 13, wherein the step of adjusting the parameter of the control signal generator comprises adjusting at least one of a charge current value, a reference voltage value, a resistance value, and a capacitance value of the control signal generator so as to adjust the on-time length of the switching control signal.
15. The method according to claim 13, wherein the step of increasing or decreasing the indication value comprises: increasing the indication value by the predetermined amount when the most significant bit of the number of periods is 1; and decreasing the indication value by the predetermined amount when the most significant bit of the number of periods is 0.
16. The method according to claim 15, wherein the step of adjusting the parameter of the control signal generator comprises: extending the on-time length of the switching control signal when the indication value is greater than the starting value; and shortening the on-time length of the switching control signal when the indication value is smaller than the starting value.
17. The method according to claim 16, wherein the step of adjusting the parameter of the control signal generator further comprises: adjusting the on-time of the switching control signal by an amount proportional to a difference between the indication value and the starting value.
18. The method according to claim 15, wherein the indication value comprises (N+1) bits, and wherein the starting value is 2.sup.N.
19. The method according to claim 13, wherein the step of adjusting the parameter of the control signal generator further comprises: keeping the on-time length of the switching control signal unchanged when the indication value is in a predetermined range.
20. The method according to claim 13, wherein the step of increasing or decreasing the indication value is performed once during each cycle of the divisional signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
DETAILED DESCRIPTION OF THE INVENTION
[0014]
[0015] As shown in
[0016]
[0017] In the present example, the control signal generator 110 may generate the switching control signal SIG.sub.SW, and as shown in
[0018] In the present example, when the control signal generator 110 detects that the output voltage VOUT is low, it may adjust the switching control signal SIG.sub.SW from the logic low voltage to the logic high voltage, and keep the on-time TON for a fixed length to turn on the switch SW1 again, so as to maintain the output voltage VOUT within a range close to the target voltage.
[0019] In the period P1 of
[0020] In the present example, to avoid the switching control signal SIG.sub.SW from continuously deviating from the originally set target frequency, the switching frequency controller 120 can monitor the frequency of the switching control signal SIG.sub.SW and adjust the on-time length of the switching control signal SIG.sub.SW by adjusting a parameter of the control signal generator 110, so as to control the frequency of the switching control signal SIG.sub.SW within a preset range.
[0021]
[0022] The frequency divider 122 may receive a target signal SIG.sub.TG having a target frequency f.sub.TG, and may generate a divisional signal SIG.sub.DV having a divisional frequency f.sub.DV according to the target signal SIG.sub.TG. In the present example, the target frequency f.sub.TG may be 2.sup.N times of the divisional frequency f.sub.DV, wherein N is an integer. The frequency detector 124 may receive the divisional signal SIG.sub.DV and the switching control signal SIG.sub.SW. In the present example, the frequency detector 124 may calculate the number of periods of the switching control signal SIG.sub.SW that pass by during each cycle of the divisional signal SIG.sub.DV.
[0023] In such case, if the frequency f.sub.SW of the switching control signal SIG.sub.SW is greater than the target frequency f.sub.TG, then the number of periods calculated by the frequency detector 124 will be greater than 2.sup.N. On the contrary, if the frequency f.sub.SW of the switching control signal SIG.sub.SW is smaller than the target frequency f.sub.TG, then the number of periods calculated by the frequency detector 124 should be smaller than 2.sup.N. In the present example, the frequency detector 124 may use (N+1) bits to represent the number of periods; in this way, the most significant bit of the number of periods D.sub.N+1 can be used to determine the relationship between the frequency f.sub.SW of the switching control signal SIG.sub.SW and the target frequency f.sub.TG. For example, when the most significant bit of the number of periods D.sub.N+1 is 1, it indicates that the number of periods calculated by the frequency detector 124 may be greater than 2.sup.N; at this time, the frequency f.sub.SW of the switching control signal SIG.sub.SW may be greater than the target frequency f.sub.TG. Conversely, when the most significant bit of the number of periods D.sub.N+1 is 0, it indicates that the number of periods calculated by the frequency detector 124 should be smaller than 2.sup.N, at this time the frequency f.sub.SW of the switching control signal SIG.sub.SW is smaller than the target frequency f.sub.TG.
[0024] In the present example, the accumulation counter 126 may first set the internal indication value VLI as a starting value, and may increase or decrease the internal indication value VLI according to the most significant bit of the number of periods D.sub.N+1, such that a difference between the indication value VLI and its starting value can reflect the relationship between the frequency f.sub.SW of the control signal SIG.sub.SW and the target frequency f.sub.TG. In such case, the on-time controller 128 can adjust the parameter of the control signal generator 110 according to the indication value VLI value, so as to adjust the length of the on-time TON of the switching control signal SIG.sub.SW, and such that the frequency f.sub.SW of the switching control signal SIG.sub.SW can approach the target frequency f.sub.TG.
[0025] For example, the accumulation counter 126 may represent the indication value VLI by (N+1) individual bits VLI.sub.N+1 to VLI.sub.1, and its starting value may be set to 2.sup.N+1 i.e., the most significant bit of the indication value VLI VLIN+1 is 1 and the other bits VLI.sub.N to VLI.sub.1 are 0. Next, when the most significant bit D.sub.N+1 of the cycle count is 1, the accumulation counter 126 can increase the indication value VLI by a predetermined amount, for example, but not limited to, 1, and when the most significant bit of the number of periods D.sub.N+1 is 0, the accumulation counter 126 can decrease the indication value VLI by a predetermined amount, for example, but not limited to 1. In such case, when the indication value VLI is greater than the starting value 2.sup.N+1 it indicates that the frequency f.sub.SW of the switching control signal SIG.sub.SW may be greater than the target frequency f.sub.TG; at this time, the on-time controller 128 can extend the on-time length of the switching control signal SIG.sub.SW, so as to reduce the frequency f.sub.SW of the switching control signal SIG.sub.SW. Conversely, when the indication value VLI is smaller than the starting value 2.sup.N+1, it indicates that the frequency f.sub.SW of the switching control signal SIG.sub.SW may be smaller than the target frequency f.sub.TG; at this time the on-time controller 128 may shorten the on-time length of the switching control signal SIG.sub.SW, so as to increase the frequency f.sub.SW of the switching control signal SIG.sub.SW.
[0026] In addition, in order to avoid adjusting the frequency f.sub.SW of the switching control signal SIG.sub.SW too frequently, in some examples, when the indication value VLI falls within a predetermined range; for example, the difference between the indication value VLI and the starting value is smaller than a specific value, such as, when the difference between the indication value VLI and the starting value 2.sup.N+1 is less than 2 or 3, the on-time controller 128 can keep the on-time length of the switching control signal SIG.sub.SW unchanged, however, the present disclosure is not limited thereto.
[0027] In the present example, the accumulation counter 126 may further receive the divisional signal SIG.sub.DV, and may use the divisional signal SIG.sub.DV as a clock signal for operation. In other words, the accumulation counter 126 may update the indication value VLI according to the frequency f.sub.DV of the divisional signal SIG.sub.DV, and hence, the on-time controller 128 may correspondingly adjusts the on-time length of the switching control signal SIG.sub.SW every 2.sup.N periods of the target signal SIG.sub.TG. In this way, it can avoid adjusting the on-time length of the switching control signal SIG.sub.SW too frequently and affecting the stability of the system.
[0028] Further, when the indication value VLI is greater than its starting value 2.sup.N+1, and the difference increases gradually, it indicates that after several adjustments of the on-time length of the switching control signal SIG.sub.SW, the frequency f.sub.SW of the switching control signal SIG.sub.SW is still greater than the target frequency f.sub.TG; in such case, to allow the frequency f.sub.SW of the switching control signal SIG.sub.SW to approach the target frequency f.sub.TG more quickly, the on-time controller 128 can increase the adjustment to the on-time length of the switching control signal SIG.sub.SW in a larger extent. In other words, in some examples, the on-time controller 128 can adjust the on-time length of the switching control signal SIG.sub.SW to a larger extent as the difference between the indication value VLI and the starting value 2.sup.N+1 becomes larger.
[0029] In the present example, the on-time controller 128 may adjust the on-time length of the switching control signal SIG.sub.SW by adjusting a parameter of the control signal generator 110 that are associated with the on-time length. For example, in some examples, the control signal generator 110 may use a ramp voltage and reference voltage to generate an on-time with a desired length, and thereby generate the switching control signal SIG.sub.SW. In such case, the on-time controller 128 can adjust the on-time length of the switching control signal SIG.sub.SW by adjusting a parameter related to the ramp voltage or adjust the reference voltage.
[0030]
[0031] As shown in
[0032] In
[0033] In the present example, since the value of the most significant bit VLI.sub.N+1 of the indication value VLI can be used to reflect the relationship between the frequency f.sub.SW of the switching control signal SIG.sub.SW and the target frequency f.sub.TG presently, the on-time controller 128 may determine whether to enable the adjustment current sinks DCS1 to DCSN or the adjustment current sources CCS1 to CCSN according to the most significant bit VLI.sub.N+1 of the indication value VLI. For example, when the most significant bit VLI.sub.N+1 is 1, it indicates that the frequency f.sub.SW of the switching control signal SIG.sub.SW is higher than the target frequency f.sub.TG; at this time, the current sink switch DSW0 can be turned on to enable at least one of the adjustment current sinks DCS1 to DCSN, so as to extend the on-time length of the switching control signal SIG.sub.SW and decrease the frequency f.sub.SW of the switching control signal SIG.sub.SW. Conversely, when the most significant bit VLI.sub.N+1 is 0, it indicates that the frequency f.sub.SW of the switching control signal SIG.sub.SW is smaller than the target frequency f.sub.TG; at this time, the current source switch CSW0 is turned on to enable at least one of the adjustment current sources CCS1 to CCSN, so as to shorten the on-time length of the switching control signal SIG.sub.SW and increase the frequency f.sub.SW of the switching control signal SIG.sub.SW.
[0034] Further, in the present example, the adjustment current sinks DCS1 to DCSN may be configured to draw different amounts of currents respectively. For example, the current flowing into the adjustment current sink DCSn may be twice the current flowing into the adjustment current sink DCS(n1), wherein n is any integer between 2 to N; also, the current flowing into the adjustment current sink DCS2 may be twice the current flowing into the adjustment current sink DCS1, and the current flowing into the adjustment current sink DCS3 may be twice the current flowing into the adjustment current sink DCS2, and so on.
[0035] In such case, the on-time controller 128 may further enable the corresponding adjustment current sink of adjustment current sinks DCS1 to DCSN according to the other bit VLI.sub.N to VLI.sub.1 of the indication value VLI. As shown in
[0036] In the present example, the on-time controller 128 may further include N AND gates DA1 to DAN, wherein each of the AND gates DA1 to DAN may receive the most significant bit VLI.sub.N+1 of the indication value VLI and another corresponding bit so as to generate a control signal for one corresponding current sink switch of the current sink switches DSW1 to DSWN. For example, the AND gate DA1 may receive the most significant bit VLI.sub.N+1 and the least significant bit VLI.sub.1 of the indication value VLI and may perform a logic AND computation on the most significant bit VLI.sub.N+1 and the least significant bit VLI.sub.1 of the indication value VLI, so as to generate the control signal of the current sink switch DSW1. Similarly, the AND gate DA2 may receive most significant bit VLI.sub.N+1 and a second bit VLI2 of the indication value VLI, and may perform the logic AND computation on the most significant bit VLI.sub.N+1 and the second bit VLI2 of the indication value VLI, so as to generate the control signal of the current sink switch DSW2. In other words, the current sink switch DSW1 would be turned on when the most significant bit VLI.sub.N+1 and the least significant bit VLI.sub.1 of the indication value VLI are both 1. The current sink switch DWS2 would be turned on when the most significant bit VLI.sub.N+1 and the second bit VLI2 are both 1. In this way, when the most significant bit VLI.sub.N+1 of the indication value VLI is 1, the on-time controller 128 can enable the adjustment current sinks DCS1 to DCSN according to the value of other bits VLI.sub.N to VLI.sub.1 of the indication value VLI, so that the greater the difference between the indication value VLI and the starting value 2.sup.N+1, the larger the magnitude of the charging current of the ramp generator 114 is decreased, thereby causing a larger extent in increase of the on-time length of the switching control signal SIG.sub.SW.
[0037] Further, in the present example, when the indication value VLI is (2.sup.N+1) or (2.sup.N+11), the on-time controller 128 may not enable any current source or current sink, to avoid unnecessarily adjusting the on-time length of the switching control signal SIG.sub.SW and causing system instability. In such case, adjustment current sources CCS1 to CCSN can also operate according to a principle similar to the operation of adjustment current sinks DCS1 to DCSN. For example, the current outputted by the adjustment current source CCSn may be twice the current outputted by the adjustment current source CCS(n1). In such case, the on-time controller 128 may also enable the corresponding adjustment current source of adjustment current sources CCS1 to CCSN according to the other bits bit VLI.sub.N to VLI.sub.1 of the indication value VLI.
[0038] For example, the on-time controller 128 may further include current source switches CSW1 to CSWN and AND gates CA1 to CAN, wherein each of the AND gates CA1 to CAN may generate the control signal of a corresponding current source switch of the current source switches CSW1 to CSWN according to the most significant bit VLI.sub.N+1 of the indication value VLI and another corresponding bit of the indication value VLI. In the present example, the on-time controller 128 will only enable adjustment current sources CCS1 to CCSN according to the value of the other bits bit VLI.sub.N to VLI.sub.1 of the indication value VLI when the most significant bit VLI.sub.N+1 of the indication value VLI is 0. Further, as discussed above, in the present example, when the indication value VLI is (2.sup.N+1-1) (that is, except for the most significant bit VLI.sub.N+1, the other bits VLI.sub.N to VLI.sub.1 are all 1), the on-time controller 128 will not enable any adjustment current sources CCS1 to CCSN, and will start enabling adjustment current sources CCS1 to CCSN after the difference between the indication value VLI and the starting value 2.sup.N+1 is greater than 1.
[0039] Hence in
[0040] In the present example, the on-time controller 128 adjusts the on-time length of the switching control signal SIG.sub.SW by adjusting the current value of the control signal generator 110 that is related to the on-time length; however, the present disclosure is not limited thereto. In other examples of the present disclosure, the on-time controller 128 may also adjust the on-time length of the switching control signal SIG.sub.SW by adjusting other parameters, such as, but not limited to, the reference voltage value V.sub.REF, the value of the resistor R.sub.TON or the value of the capacitor C.sub.TON. Further, the on-time controller 128 may also adjust the on-time length of the switching control signal SIG.sub.SW by simultaneously adjusting multiple parameters of the above-mentioned parameters.
[0041] Since the voltage converter 10 according to the present disclosure can use the switching frequency controller 120 therein to monitor the frequency of the switching control signal SIG.sub.SW and adjust the on-time length of the switching control signal SIG.sub.SW correspondingly, it can effectively control the switching control signal SIG.sub.SW to be in a range close to the target frequency f.sub.TG, thereby reducing the issues of electromagnetic interference and degradation of circuit performance that may arise in the prior art.
[0042]
[0043] In summary, the switching frequency controller, the voltage converter and the method for controlling the switching frequency provided by the examples of the present disclosure can monitor the frequency of the switching control signal by dividing the target frequency and then comparing it with the switching control frequency, and can adjust the on-time length of the switching control signal accordingly, so that the switching control signal can be effectively controlled within a range close to the target frequency, thereby reducing the issues of electromagnetic interference and degradation of circuit performance that may arise in the prior art.
[0044] Those of ordinary skill in the art may recognize that modifications of the embodiments disclosed herein are possible. For example, a number of periods that pass by during each cycle of the divisional signal may vary. Other modifications may occur to those of ordinary skill in this art, and all such modifications are deemed to fall within the purview of the present invention, as defined by the claims.