Signal switching circuit and charge pump
By designing a signal switching circuit, using frequency conversion signal generation and frequency increase technology, the problem of the output voltage drop of the charge pump when the load state changes, achieving smooth switching from light to heavy load state and optimized transient response.
Patent Information
- Application Number
- CN202411022669.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-15
AI Technical Summary
When the load of existing charge pumps jumps from light load to heavy load, the output voltage drops greatly, resulting in the problem that the chip trigger protection logic stops working.
Design a signal switching circuit, including a frequency conversion signal generation circuit, a signal selection circuit, a detection delay circuit, a switching control circuit and a signal control circuit, and generate a frequency conversion driving signal by comparing the output voltage and the reference voltage, and at a preset delay The frequency of the variable frequency drive signal is gradually increased in time to smoothly switch from light load to heavy load state.
It effectively avoids a large drop in the output voltage when the load state changes, optimizes the transient response, and ensures the normal operation of the subsequent circuit.
Smart Images

Figure CN118971603A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power converters, and in particular to a signal switching circuit and a charge pump. Background Art
[0002] In charge pump chips, variable frequency operation is usually used when working under light load to reduce switching frequency and switch loss, thereby improving light load efficiency. For the charge pump, in order to achieve variable frequency when working under light load, another set of wave logic will be used. In other load conditions other than light load, for better EMI (Electromagnetic Interference, electromagnetic interference) characteristics, the chip will work at a higher fixed frequency. When the load jumps from light load to heavy load, the low switching frequency in the light load mode limits the energy delivered to the output end by the charge pump, and it is necessary to quickly switch to a higher frequency fixed frequency mode to avoid a large drop in the output voltage, which affects the operation of the subsequent circuit. Summary of the invention
[0003] The embodiments of the present application provide a signal switching circuit and a charge pump to solve the problem that when the load of the existing charge pump changes from a light load to a heavy load, the output voltage drops significantly, causing the chip to trigger the protection logic to stop working.
[0004] To solve the above problems, the technical solutions provided by this application are as follows:
[0005] On the one hand, an embodiment of the present application provides a signal switching circuit, which is applied to a charge pump, and the signal switching circuit includes a variable frequency signal generating circuit, a signal selecting circuit, a detection delay circuit, a switching control circuit and a signal control circuit; the variable frequency signal generating circuit is used to determine whether to generate a square wave signal according to a comparison result between an output voltage of the charge pump and a first reference voltage to generate a variable frequency drive signal; the signal selecting circuit is used to select one of a main clock signal and the variable frequency drive signal as a drive clock signal of the charge pump according to a first control signal output by the switching control circuit; the detection delay circuit is used to detect that the output of the charge pump is When the voltage is less than a second reference voltage, a first detection signal is sent to the switching control circuit after a preset delay time, and the second reference voltage is less than the first reference voltage; the switching control circuit is used to send a first control signal to the signal selection circuit according to the first detection signal to switch the driving clock signal of the charge pump from the variable frequency driving signal to the main clock signal; the signal control circuit is used to send a control signal to the variable frequency signal generating circuit when it is detected that the output voltage of the charge pump is less than the second reference voltage, so as to reduce the period of the square wave signal, thereby increasing the frequency of the variable frequency driving signal within the preset delay time.
[0006] In some embodiments, the variable frequency signal generating circuit includes a first comparator, a pulse generating module and a frequency dividing module, the first comparator includes a positive input terminal for receiving the first reference voltage, a negative input terminal for receiving the output voltage of the charge pump, and an output terminal connected to the pulse generating module; the pulse generating module includes an input terminal connected to the signal control circuit and the output terminal of the first comparator, and an output terminal connected to the input terminal of the frequency dividing module and the switching control circuit; the output terminal of the frequency dividing module is connected to the switching control circuit and the signal selection circuit; wherein, the first comparator is used to detect whether the output voltage of the charge pump is less than the first reference voltage, and to generate a second detection signal when the output voltage is less than the first reference voltage and send it to the pulse generating module, the pulse generating module is used to output the square wave signal according to the second detection signal, and the frequency dividing module is used to divide the square wave signal to generate the variable frequency drive signal and output it to the switching control circuit and the signal selection circuit.
[0007] In some embodiments, the pulse generating module is configured to determine to generate a square wave signal when the output signal of the first comparator is a second detection signal, and at the end of a square wave signal, if the output signal of the first comparator is still the second detection signal, continue to generate the next square wave signal, otherwise, stop generating the square wave signal.
[0008] In some embodiments, the detection delay circuit includes a second comparator and a falling edge delay module, the second comparator includes a positive input terminal for receiving the output voltage of the charge pump, a negative input terminal for receiving the second reference voltage, and an output terminal connected to the falling edge delay module; the falling edge delay module includes a first input terminal connected to the output terminal of the second comparator, a second input terminal connected to the main clock signal, and an output terminal connected to the switching control circuit; wherein, the second comparator is used to detect whether the output voltage of the charge pump is less than the second reference voltage, and when it is detected that the output voltage of the charge pump is less than the second reference voltage, output a third detection signal to the falling edge delay module; the falling edge delay module is used to send the first detection signal to the switching control circuit after the preset delay time according to the third detection signal.
[0009] In some embodiments, the preset delay time is N cycle lengths of the master clock signal, where N is greater than 0.
[0010] The signal control circuit includes a first NOR gate, a second NOR gate and a first inverter;
[0011] The first NOR gate includes a first input terminal for accessing a control signal output by the switching control circuit, a second input terminal for accessing a third detection signal output by the second comparator, and an output terminal connected to the second NOR gate;
[0012] The second NOR gate comprises a first input terminal connected to the output terminal of the first NOR gate, a second input terminal for receiving a second control signal, and an output terminal connected to the input terminal of the first inverter;
[0013] The output end of the first inverter is connected to the frequency conversion signal generating circuit to adjust the period of the square wave signal generated by the frequency conversion signal generating circuit through the control signal output by the switching control circuit, the third detection signal output by the second comparator and / or the second control signal.
[0014] In some embodiments, the signal control circuit is further configured to: enter the preset delay time when the first control signal and the third detection signal are both at a low level.
[0015] In some embodiments, the switching control circuit includes a third NOR gate, an RS trigger, a second inverter and a third inverter, the third NOR gate includes a first input terminal and a second input terminal respectively used to access the square wave signal and the variable frequency drive signal, and an output terminal connected to the RS trigger; the RS trigger includes a first input terminal connected to the output terminal of the third NOR gate, a second input terminal used to access the first detection signal, and an output terminal connected to the second inverter; the input terminal of the second inverter is connected to the output terminal of the RS trigger, the output terminal of the second inverter is connected to the input terminal of the third inverter, and the output terminal of the third inverter is connected to the signal selection circuit.
[0016] In some embodiments, the low level maintenance time during the switching of the driving clock signal is in the range of [T pre / 2, Tpre+T fclk / 2], where T pre is the period length of the square wave signal, T fclk is the cycle length of the main clock signal.
[0017] On the other hand, an embodiment of the present application further provides a charge pump, comprising the signal switching circuit described in any one of the above embodiments.
[0018] The beneficial effects of the present application are as follows: the embodiment of the present application provides a signal switching circuit, which is applied to a charge pump and mainly includes a variable frequency signal generating circuit, a signal selecting circuit, a detection delay circuit, a switching control circuit and a signal control circuit; wherein the variable frequency signal generating circuit receives the output voltage of the charge pump and generates a variable frequency drive signal according to the output voltage and a first reference voltage; the signal selecting circuit selects one of the main clock signal and the variable frequency drive signal as the drive clock signal of the charge pump according to the first control signal output by the switching control circuit; the detection delay circuit receives the output voltage of the charge pump and sends a first detection signal to the switching control circuit after a preset delay time when the output voltage of the charge pump is less than a second reference voltage, and the second reference voltage is less than the first reference voltage; the switching control circuit sends a first control signal to the signal selecting circuit according to the first detection signal to switch the drive clock signal of the charge pump from the variable frequency drive signal to the main clock signal; the signal control circuit is used to control the frequency increase of the variable frequency drive signal within the preset delay time. Through the above-mentioned signal switching circuit, by setting the delay time, when the charge pump switches from a light-load state to a heavy-load state, the driving signal is not switched from the variable-frequency driving signal to the main clock signal at the first time, but the frequency of the variable-frequency driving signal is controlled to gradually increase within the preset delay time. After the preset delay time, the switching control circuit switches the driving signal from the variable-frequency driving signal to the main clock signal according to the first detection signal, which effectively avoids the problem in the existing charge pump or DC-DC circuit that when the circuit quickly switches from a light-load mode with a lower switching frequency to a heavy-load mode with a higher switching frequency, the output voltage will drop significantly, affecting the operation of the subsequent circuit. By controlling the frequency of the variable-frequency driving signal to gradually increase, smooth switching from the light-load state to the heavy-load state is achieved, and transient response is optimized. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 An overall structural block diagram of a signal switching circuit provided in an optional embodiment of the present application;
[0021] Figure 2 A schematic diagram of a signal switching circuit provided in an optional embodiment of the present application;
[0022] Figure 3 A working timing diagram of a pulse generating module provided in an optional embodiment of the present application;
[0023] Figure 4 A timing diagram of a frequency control logic in a different working mode provided in an optional embodiment of the present application;
[0024] Figure 5 This is a schematic diagram of the structure of a charge pump provided in an optional embodiment of the present application.
[0025] Description of reference numerals in the figures:
[0026] 100. A frequency conversion signal generating circuit;
[0027] 101. a first comparator; 102. a pulse generating module; 103. a frequency dividing module;
[0028] 200, signal selection circuit;
[0029] 300, detection delay circuit;
[0030] 301, second comparator; 302, falling edge delay module;
[0031] 400, switching control circuit;
[0032] 401, a third NOR gate; 402, an RS trigger; 403, a second inverter; 404, a third inverter;
[0033] 500, signal control circuit;
[0034] 501, a first NOR gate; 502, a second NOR gate; 503, a first inverter. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application.
[0036] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.
[0037] When the load of the existing charge pump changes from light load mode to heavy load mode, the output voltage drops significantly, which can easily cause the charge pump chip to trigger the protection logic and stop working. It should be noted that in addition to the charge pump chip, the DC-DC converter may also have corresponding problems. The embodiment of the present application takes the charge pump chip as an example for specific explanation.
[0038] To solve the above problems, refer to Figure 1 As shown, an embodiment of the present application provides a signal switching circuit 10 applied to a charge pump, wherein the signal switching circuit 10 includes a variable frequency signal generating circuit 100, a signal selecting circuit 200, a detection delay circuit 300, a switching control circuit 400 and a signal control circuit 500.
[0039] Specifically, the variable frequency signal generating circuit 100 is used to receive the output voltage V out , and according to the output voltage and the first reference voltage V ref1 The comparison result determines whether to generate a square wave signal to generate a variable frequency drive signal out;
[0040] The signal selection circuit 200 is used to select the main clock signal f according to the first control signal sel output by the switching control circuit 400. clk One of the variable frequency drive signals out is used as the drive clock signal f of the charge pump. sw ;
[0041] The detection delay circuit 300 is used to receive the output voltage V out , and detects the output voltage V of the charge pump out is less than the second reference voltage V ref2 , after a preset delay time, the first detection signal DCM_delay is sent to the switching control circuit 400, wherein the second reference voltage V ref2 Less than the first reference voltage V ref1 ;
[0042] The switching control circuit 400 is used to send a first control signal sel to the signal selection circuit according to the first detection signal DCM_delay, so as to switch the driving clock signal of the charge pump from the variable frequency driving signal out to the main clock signal f clk ;
[0043] The signal control circuit 500 is used to detect the output voltage V of the charge pump out When it is less than the second reference voltage, a control signal is sent to the variable frequency signal generating circuit to reduce the period of the square wave signal, thereby controlling the frequency of the variable frequency driving signal out to increase within a preset delay time.
[0044] Through the above-mentioned signal switching circuit, by setting the delay time, when the charge pump switches from a light-load state to a heavy-load state, the driving signal is not switched from the variable-frequency driving signal to the main clock signal at the first time, but the frequency of the variable-frequency driving signal is controlled to gradually increase within the preset delay time. After the preset delay time, the switching control circuit switches the driving signal from the variable-frequency driving signal to the main clock signal according to the first detection signal, which effectively avoids the problem in the existing charge pump or DC-DC circuit that when the circuit quickly switches from a light-load mode with a lower switching frequency to a heavy-load mode with a higher switching frequency, the output voltage will drop significantly, affecting the operation of the subsequent circuit. By controlling the frequency of the variable-frequency driving signal to gradually increase, smooth switching from the light-load state to the heavy-load state is achieved, and transient response is optimized.
[0045] It should be noted that the second reference voltage V ref2 The first reference voltage V ref1 minus a fixed offset voltage V offset , that is, V ref2 =V ref1 -V offset . The first reference voltage V ref1 and the second reference voltage V ref2 The relationship can also be set according to actual needs, and the embodiments of the present application are not limited to this.
[0046] Reference Figure 2 As shown, in some embodiments, the function of the frequency conversion signal generating circuit 100 can be implemented by a first comparator 101 , a pulse generating module 102 and a frequency dividing module 103 .
[0047] Specifically, the first comparator 101 includes a first reference voltage V ref1 The positive input terminal receives the output voltage V of the charge pump. out The negative input terminal of the frequency division module 103 and the output terminal of the pulse generation module 102 are connected. The pulse generation module 102 includes an input terminal connected to the signal control circuit 500 and the output terminal of the first comparator 101, and an output terminal connected to the input terminal of the frequency division module 103 and the switching control circuit 400. The output terminal of the frequency division module 103 is connected to the switching control circuit 400 and the signal selection circuit 200.
[0048] In the variable frequency signal generating circuit 100, the first comparator 101 is used to detect the output voltage V out Is it less than the first reference voltage V ref1 , and at the output voltage V out is less than the first reference voltage V ref1When a second detection signal dcm_set is generated, it is sent to the pulse generating module 102. The pulse generating module 102 is used to output a square wave signal out_pre according to the second detection signal dcm_set. The frequency dividing module 103 is used to divide the square wave signal out_pre and generate a variable frequency driving signal out to output to the switching control circuit 400 and the signal selecting circuit 200.
[0049] In light load mode, the charge pump driving signal f sw The variable frequency drive signal out is generated by the frequency division module 103 dividing the square wave signal out_pre. In the embodiment of the present application, the frequency division module 103 can achieve two-frequency division by a D flip-flop. The square wave signal out_pre is generated by the pulse generation module 102 and the output period is T pre , T pre The size can be adjusted by the second control signal set[n:0], and whether the pulse generating module 102 outputs a square wave signal is controlled by the input signal dcm_set (second detection signal) at its in terminal.
[0050] In some embodiments, the pulse generating module 102 is configured to determine to generate a square wave signal when the output signal of the first comparator 101 is the second detection signal, and at the end of a square wave signal, if the output signal of the first comparator 101 is still the second detection signal, continue to generate the next square wave signal, otherwise, stop generating the square wave signal.
[0051] Specifically, the pulse generating module 102 starts to output a square wave signal when the second detection signal changes from a low level to a high level for the first time; when the pulse width of the second detection signal is greater than or equal to the period of the square wave signal, the pulse generating module 102 starts to output the square wave signal of the first period when the second detection signal changes from a low level to a high level, and if the second detection signal is at a high level at the end of the first period, the pulse generating module 102 continues to output the square wave signal of the second period; if the second detection signal is still at a high level at the end of the second period, the pulse generating module 102 continues to output the square wave signal of the third period.
[0052] Reference Figure 3 As shown, the working sequence of the pulse generating module 102 is as follows: the input signal dcm_set of the pulse generating module 102 is generated by the first comparator 101, and the pulse width of the dcm_set signal is T set When the dcm_set signal turns high (V out Less than V ref1 ), the module outputs a period of T pre Square wave signal, if T pre If dcm_set goes high again within the time, the module will not be triggered, that is, the output period is T again.pre The square wave signal will wait for a complete cycle to end, which is usually T set Less than T pre . Usually at this time it is T set Greater than T pre If at T pre When the timing ends, dcm_set is still high and the second cycle is T pre Square wave signal, if dcm_set is 2*T pre When the timing ends, it is still high and will issue a third cycle of T pre square wave signal, and so on.
[0053] Reference Figure 2 As shown, in some embodiments, the signal control circuit 500 includes a first NOR gate 501, a second NOR gate 502 and a first inverter 503. The first NOR gate 501 includes a first input terminal for accessing the first control signal sel, a second input terminal for accessing the third detection signal DCM, and an output terminal connected to the second NOR gate 502. The second NOR gate 502 includes a first input terminal connected to the output terminal of the first NOR gate 501, a second input terminal for accessing the second control signal set[n:0], and an output terminal connected to the input terminal of the first inverter 503. The output terminal of the first inverter 503 is connected to the frequency conversion signal generation circuit 100 to control the period T of the square wave signal out_pre generated by the frequency conversion signal generation circuit through the first control signal sel, the third detection signal DCM and / or the second control signal set[n:0]. pre The frequency of the variable frequency drive signal out is adjusted to increase. Specifically, the output end of the first inverter 503 is connected to the control end of the pulse generating module 102 .
[0054] In some embodiments, the signal control circuit is further used to: when the first control signal sel and the third detection signal DCM are both at low level, enter the preset delay time, and change the period T of the square wave signal out_pre by the change of the third detection signal DCM. pre Reduce.
[0055] In some embodiments, in the light load mode, the period T of the square wave signal out_pre can be directly increased by increasing the code value of the second control signal set[n:0]. pre Reduce.
[0056] It should be noted that, in the embodiment of the present application, the preset delay time can be understood as a transition mode between the light load mode and the heavy load mode. In the transition mode, the driving signal of the charge pump is still the variable frequency driving signal out. When the first control signal sel and the third detection signal DCM are both low level, the transition mode is entered. At this time, the outputs of the NAND gate 502 are all high level, then the signals input to P_set[n:0] are also high level, the code value is the largest, T pre will decrease, that is, the frequency of the square wave signal out_pre increases, thereby increasing the maximum frequency of the variable frequency drive signal out. In one implementation, T pre can be reduced to a minimum value; at the same time, the second control signal set[n:0] will not take effect during the transition mode.
[0057] In some embodiments, the detection delay circuit 300 includes a second comparator 301 and a falling edge delay module 302. The second comparator 301 includes a circuit that receives the output voltage V out The positive input terminal receives the second reference voltage V ref2 The negative input terminal of the second comparator 301 and the output terminal of the falling edge delay module 302 are connected. The falling edge delay module 302 includes a first input terminal connected to the output terminal of the second comparator 301, a first input terminal connected to the main clock signal f clk and a second input terminal connected to the output terminal of the switching control circuit 400.
[0058] The second comparator 301 is used to detect the output voltage V out Is it less than the second reference voltage V ref2 , and when the charge pump output voltage V out is less than the second reference voltage V ref2 When the third detection signal DCM is output to the falling edge delay module 302, the falling edge delay module 302 is used to send the first detection signal DCM_delay to the switching control circuit 400 after a preset delay time according to the third detection signal DCM.
[0059] In some embodiments, the preset delay time may be the period length of N master clock signals, where N is greater than 0.
[0060] In some embodiments, the switching control circuit 400 includes a third NOR gate 401, an RS trigger 402, a second inverter 403 and a third inverter 404, and may also be other logic modules that can implement switching control according to the three signals out, out_pre and DCM_delay. The third NOR gate 401 includes a first input terminal and a second input terminal for accessing the square wave signal out_pre and the variable frequency drive signal out, respectively, and an output terminal connected to the RS trigger 402; the RS trigger 402 includes a first input terminal connected to the output terminal of the third NOR gate 401, a second input terminal for accessing the first detection signal DCM_delay, and an output terminal connected to the second inverter 403; the input terminal of the second inverter 403 is connected to the output terminal of the RS trigger 402, the output terminal of the second inverter 403 is connected to the input terminal of the third inverter 404, and the output terminal of the third inverter 404 is connected to the signal selection circuit 200.
[0061] The switching control circuit 400 is used to generate a first control signal sel according to the square wave signal out_pre, the variable frequency drive signal out and the first detection signal DCM_delay and send it to the signal selection circuit 200, so that the signal selection circuit 200 switches the charge pump drive clock signal f to the high level when the first control signal sel is high. sw Switch to the main clock signal f clk .
[0062] Specifically, refer to Figure 4 As shown, in light load mode, DCM and DCM_delay are both high level, so the switch signal used to control the power tube, that is, the drive signal f of the charge pump sw , select the variable frequency drive signal out as the drive signal. In order to save power consumption, the main clock signal f clk When V out Lower than the first reference voltage V ref1 When dcm_set turns high, out_pre outputs a period of T pre The square wave signal, f sw The signal flips once, the power tube switch of the charge pump switches, transferring energy to the output end, so V out The signal will rise, V out Greater than V ref1 Since the charge pump transfers energy only in a short time after the power tube switch is switched, V out will decrease again until it is less than V ref1 , dcm_set turns high, and out_pre outputs a period of T pre The square wave signal, f swFlip again. Depending on the load, V out The rising or falling rates are different, so the switching frequency in light load mode changes with the load. When the load is low, the switching frequency adaptively becomes lower, reducing switching losses and thus improving efficiency under light load.
[0063] As the load increases, the switching frequency will gradually increase but will eventually be limited to 1 / (2*T pre ). If the frequency of out is four times the frequency of out_pre, the switching frequency will gradually increase but will eventually be limited to 1 / (4*T pre ).
[0064] When the load continues to increase, since the switching frequency no longer increases, the energy delivered to the output is less than the energy consumed by the load, V out will decrease when it is lower than V ref2 When the clock signal f clk The Nth falling edge of sel arrives. During the period from DCM turning low to sel turning high, the charge pump can be considered to be working in transition mode.
[0065] Entering transition mode, the main clock f clk Start, at this time sel is still low level, the switch signal f sw The out signal is still selected. However, during the transition mode, the T pre , making it smaller than T in light load mode pre , or by setting the second control signal set[n:0] to make T pre The charge pump power tube will switch at a higher frequency, so that more energy is transferred to the output end, reducing the drop of the output voltage when the load steps upward. When the DCM_delay signal turns to a low level, the sel signal can turn to a high level. When the out_pre signal and the out signal are both low, the sel signal turns to a high level, and the switch signal f sw Select Switch to f clk signal. The charge pump chip enters the fixed frequency mode. clk The signal phase is different, the switching signal f sw Switch from out to f clk When the signal is on, there will inevitably be a period of low level time T s .
[0066] This application can control T through related logic control. s The range of variation is limited to (T pre / 2,Tpre +T fclk / 2), T fclk The main clock signal f clk cycle, thus avoiding the generation of glitch signals.
[0067] Specifically, when the charge pump exits the light load mode, that is, the second working signal DCM changes from a high level to a low level, at the falling edge of the Nth main clock signal fclk, the first working signal changes from a high level to a low level. When the first working signal is at a high level, the switching control signal can only be at a low level, and at this time, the variable clock signal is used as the driving clock signal of the charge pump. When the first working signal changes to a low level, if the square wave signal and the variable control signal are both low level signals, the switching control signal will change from a low level to a high level and remain at a high level until the first working signal changes from a low level to a high level. When the switching control signal sel is at a high level, the driving clock signal of the charge pump will switch from the variable clock signal to the main clock signal.
[0068] In the embodiment of the present application, a D flip-flop is used as a two-frequency division module as an example. Since the variable frequency drive signal is a two-frequency division of a square wave signal, when the variable frequency drive signal turns to a low level, it takes at least T pre / 2 time, the variable frequency drive signal and the square wave signal can be turned to low level at the same time. At this time, if the main clock signal is high level, the charge pump drive clock signal f sw The low level time T when switching from the variable frequency drive signal to the main clock signal s The minimum value T pre / 2;
[0069] If the moment when the first working signal turns to a low level, i.e., the Nth falling edge of the main clock signal, is exactly at the rising edge of the variable frequency drive signal, the drive clock signal of the charge pump will switch from the variable frequency drive signal to the main clock signal at the falling edge of the main clock signal. At this time, the drive clock signal f sw The low level time T when switching from the variable clock signal to the main clock signal s The maximum value T pre +T fclk / 2.
[0070] The present application achieves smooth mode switching and optimizes transient response by introducing a transition mode before the charge pump exits the light-load mode and enters the heavy-load mode. In the transition mode, the switching frequency is higher, so that the charge pump transfers more energy to the output end, effectively reducing the drop in output voltage.
[0071] Reference Figure 5As shown, another embodiment of the present application further provides a charge pump, including the signal switching circuit 10 described in any of the above embodiments. The charge pump can implement the functions of the signal switching circuit 10 in any of the above embodiments, and the contents already described are not repeated here.
[0072] Specifically, the charge pump includes a signal switching circuit 10 , and the signal switching circuit 10 includes a variable frequency signal generating circuit 100 , a signal selecting circuit 200 , a detection delay circuit 300 , a switching control circuit 400 and a signal control circuit 500 .
[0073] Specifically, the variable frequency signal generating circuit 100 is used to receive the output voltage V out , and according to the output voltage and the first reference voltage V ref1 Generate variable frequency drive signal out;
[0074] The signal selection circuit 200 is used to select the main clock signal f according to the first control signal sel output by the switching control circuit 400. clk One of the variable frequency drive signals out is used as the drive clock signal f of the charge pump. sw ;
[0075] The detection delay circuit 300 is used to receive the output voltage V out , and the charge pump output voltage V out is less than the second reference voltage V ref2 , after a preset delay time, the first detection signal DCM_delay is sent to the switching control circuit 400, wherein the second reference voltage V ref2 Less than the first reference voltage V ref1 ;
[0076] The switching control circuit 400 is used to send a first control signal sel to the signal selection circuit according to the first detection signal DCM_delay, so as to switch the driving clock signal of the charge pump from the variable frequency driving signal out to the main clock signal f clk ;
[0077] The signal control circuit 500 is used to control the frequency of the variable frequency drive signal out to increase within a preset delay time.
[0078] Through the above-mentioned charge pump, by setting the delay time, when the charge pump switches from a light-load state to a heavy-load state, the drive signal is not switched from the variable-frequency drive signal to the main clock signal at the first time, but the frequency of the variable-frequency drive signal is controlled to gradually increase within the preset delay time, and after the preset delay time, the switching control circuit switches the drive signal from the variable-frequency drive signal to the main clock signal according to the first detection signal, which effectively avoids the problem in the existing charge pump or DC-DC circuit that when the circuit quickly switches from a light-load mode with a lower switching frequency to a heavy-load mode with a higher switching frequency, the output voltage will drop significantly, affecting the operation of the subsequent circuit, and by controlling the frequency of the variable-frequency drive signal to gradually increase, a smooth switching from a light-load state to a heavy-load state is achieved, thereby optimizing the transient response.
[0079] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0080] The embodiments, implementation methods and related technical features of the present application can be combined and replaced with each other without conflict.
[0081] The above are only preferred embodiments of the present application and do not constitute any form of limitation to the present application. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. A signal switching circuit, applied to a charge pump, characterized in that: The signal switching circuit includes a frequency conversion signal generating circuit, a signal selecting circuit, a detection delay circuit, a switching control circuit and a signal control circuit; The variable frequency signal generating circuit is used to determine whether to generate a square wave signal according to a comparison result between the output voltage of the charge pump and the first reference voltage, so as to generate a variable frequency driving signal; The signal selection circuit is used to select one of the main clock signal and the variable frequency drive signal as the drive clock signal of the charge pump according to the control signal output by the switching control circuit; The detection delay circuit is used to send a first detection signal to the switching control circuit after a preset delay time when it is detected that the output voltage of the charge pump is less than a second reference voltage, and the second reference voltage is less than the first reference voltage; The switching control circuit is used to send a first control signal to the signal selection circuit according to the first detection signal, so as to switch the driving clock signal of the charge pump from the variable frequency driving signal to the main clock signal; The signal control circuit is used to send a control signal to the variable frequency signal generating circuit to reduce the period of the square wave signal when detecting that the output voltage of the charge pump is less than the second reference voltage, thereby increasing the frequency of the variable frequency drive signal within the preset delay time.
2. The signal switching circuit according to claim 1, characterized in that: The frequency conversion signal generating circuit includes a first comparator, a pulse generating module and a frequency dividing module. The first comparator comprises a positive input terminal for receiving the first reference voltage, a negative input terminal for receiving the output voltage of the charge pump, and an output terminal connected to the pulse generating module; The pulse generating module comprises an input end connected to the signal control circuit and the output end of the first comparator, and an output end connected to the input end of the frequency dividing module and the switching control circuit; The output end of the frequency division module is connected to the switching control circuit and the signal selection circuit; Among them, the first comparator is used to detect whether the output voltage of the charge pump is less than the first reference voltage, and generate a second detection signal when the output voltage is less than the first reference voltage and send it to the pulse generating module, the pulse generating module is used to output the square wave signal according to the second detection signal, and the frequency dividing module is used to divide the square wave signal to generate the variable frequency drive signal and output it to the switching control circuit and the signal selection circuit.
3. The signal switching circuit according to claim 2, characterized in that: The pulse generating module is configured to determine to generate a square wave signal when the output signal of the first comparator is the second detection signal, and at the end of a square wave signal, if the output signal of the first comparator is still the second detection signal, continue to generate the next square wave signal, otherwise, stop generating the square wave signal.
4. The signal switching circuit according to claim 1, characterized in that: The detection delay circuit includes a second comparator and a falling edge delay module. The second comparator comprises a positive input terminal for receiving the output voltage of the charge pump, a negative input terminal for receiving the second reference voltage, and an output terminal connected to the falling edge delay module; The falling edge delay module includes a first input terminal connected to the output terminal of the second comparator, a second input terminal connected to the main clock signal, and an output terminal connected to the switching control circuit; Among them, the second comparator is used to detect whether the output voltage of the charge pump is less than the second reference voltage, and when it is detected that the output voltage of the charge pump is less than the second reference voltage, output a third detection signal to the falling edge delay module; the falling edge delay module is used to send the first detection signal to the switching control circuit after the preset delay time according to the third detection signal.
5. The signal switching circuit according to claim 4, characterized in that: The preset delay time is N cycle lengths of the master clock signal, where N is greater than 0.
6. The signal switching circuit according to claim 4, characterized in that: The signal control circuit includes a first NOR gate, a second NOR gate and a first inverter; The first NOR gate includes a first input terminal for accessing a control signal output by the switching control circuit, a second input terminal for accessing a third detection signal output by the second comparator, and an output terminal connected to the second NOR gate; The second NOR gate comprises a first input terminal connected to the output terminal of the first NOR gate, a second input terminal for receiving a second control signal, and an output terminal connected to the input terminal of the first inverter; The output end of the first inverter is connected to the frequency conversion signal generating circuit to adjust the period of the square wave signal generated by the frequency conversion signal generating circuit through the control signal output by the switching control circuit, the third detection signal output by the second comparator and / or the second control signal.
7. The signal switching circuit according to claim 6, characterized in that: The signal control circuit is also used for: When the first control signal and the third detection signal are both at low level, the preset delay time is entered.
8. The signal switching circuit according to claim 1, characterized in that: The switching control circuit includes a third NOR gate, an RS trigger, a second inverter and a third inverter. The third NOR gate comprises a first input terminal and a second input terminal for respectively accessing the square wave signal and the variable frequency drive signal, and an output terminal connected to the RS trigger; The RS trigger comprises a first input terminal connected to the output terminal of the third NOR gate, a second input terminal for receiving the first detection signal, and an output terminal connected to the second inverter; The input end of the second inverter is connected to the output end of the RS trigger, the output end of the second inverter is connected to the input end of the third inverter, and the output end of the third inverter is connected to the signal selection circuit.
9. The signal switching circuit according to claim 8, characterized in that: The low level maintenance time during the switching of the driving clock signal is in the range of [T pre / 2,T pre +T fclk / 2], where T pre is the period length of the square wave signal, T fclk is the cycle length of the main clock signal.
10. A charge pump, comprising the signal switching circuit according to any one of claims 1 to 9.
