Ultra-fast DVS discharge circuit and control method
By designing the charge and discharge module, sampling unit and logic control module in the DVS discharge circuit, the current of the inductor L is discharged at the maximum value Imax, which solves the problems of prolonged discharge time and burning of the MOS tube due to excessive current in the existing technology. Fast tracking of supply voltage changes and safe discharge are achieved.
Patent Information
- Application Number
- CN202410861112.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-25
AI Technical Summary
The existing DVS discharge circuit is prone to burning out the main control power MOS transistor when accelerating the discharge time, and the step-by-step adjustment limits the DVS discharge speed, which cannot meet the dynamic real-time tracking requirements for power supply voltage changes.
An ultra-fast DVS discharge circuit is designed, including a charge and discharge module, a drive module, a sampling unit, a comparison unit and a logic control module. By optimizing the control logic, the current of the inductor L is discharged at the maximum value Imax. The logic control module includes D trigger device and logic AND gate, the discharge control signal is determined by the rising edge of the maximum current control signal DVS_H to avoid excessive discharge current.
It greatly speeds up the DVS discharge time and meets the ultra-fast dynamic real-time tracking requirements for power supply voltage changes. The traditional 40μs discharge time is shortened to about 5μs, avoiding the risk of burning out the power MOS tube due to excessive discharge current.
Smart Images

Figure CN118842297A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a discharge circuit and a discharge method, and in particular to an ultra-fast DVS discharge circuit and a control method. Background Art
[0002] With the rapid development of handheld devices, higher requirements are placed on chip performance and power consumption. Among them, dynamic voltage scaling (DVS) is a commonly used solution to improve chip performance and reduce power consumption. In order to obtain a faster DVS response speed, a higher operating frequency can be used in the buck DC / DC converter circuit. However, too high an operating frequency will bring higher switching losses, resulting in a decrease in the overall efficiency of the system. Therefore, in existing handheld devices, the operating frequency range is usually selected between 2M-5MHz, and it is required that in this operating frequency range, dynamic real-time tracking of power supply voltage changes can be accurately and quickly achieved.
[0003] Traditional DVS discharge circuit such as Figure 1 As shown in the figure, in order to speed up the discharge time, the maximum value Imax of the discharge current is gradually adjusted during each discharge process, that is, the maximum value Imax is a variable value. If the current of the inductor L is directly adjusted to the maximum discharge current Imax that can be achieved, although the discharge time can be accelerated, there is a risk of burning out the main control power MOS tube. The staged adjustment also limits the speed of DVS discharge to a certain extent, which leads to the discharge time t of the DVS lower tube discharge circuit DVS_down It is relatively long, usually about 40μs, thus affecting the dynamic real-time tracking speed of power supply voltage changes. Summary of the invention
[0004] The purpose of the present invention is to solve the technical problems that in the prior art, the maximum value of the discharge current is gradually adjusted to speed up the discharge time, which is easy to burn out the main control power MOS tube, and the staged gradual adjustment limits the DVS discharge speed and cannot meet the dynamic real-time tracking of the supply voltage change. An ultra-fast DVS discharge circuit and control method are proposed.
[0005] To solve the above technical problems, the technical solutions provided by the present invention are as follows:
[0006] An ultra-fast DVS discharge circuit comprises a charge and discharge module, a drive module, a first sampling unit, a second sampling unit, a first comparison unit, a second comparison unit and a DVS lower tube discharge module; the charge and discharge module is used to discharge or charge the circuit; the drive module controls the charge and discharge module to work according to a discharge control signal and a maximum current control signal; the first sampling unit is used to sample the discharge current of the charge and discharge module; the second sampling unit is used to sample the charging current of the charge and discharge module; the first comparison unit outputs a maximum current control signal DVS_H according to the difference between the output signal of the first sampling unit and the first reference signal; the second comparison unit outputs an enable signal EN_N according to the difference between the output signal of the second sampling unit and the second reference signal; the DVS lower tube discharge module outputs a control signal DVS_command_old when the enable signal EN_N is valid; the charge and discharge module is used to connect with an external control signal;
[0007] Its special features are: it also includes a logic control module; the input end of the logic control module is respectively connected to the enable signal EN_N, the maximum current control signal DVS_H and the control signal DVS_command_old, which is used to control the size of the discharge current during the discharge process so that it discharges at the maximum current value; the logic control module outputs the discharge control signal DVS_command_new; a bias module is also provided in the first sampling unit; the bias module is connected to the input end of the first comparison unit, which is used to eliminate the influence of the bias current on the input end of the first comparison unit.
[0008] Further, the logic control module includes a D flip-flop and a logic AND gate;
[0009] The clear C port of the D flip-flop receives the enable signal EN_N output by the second comparison unit, the clock CLK port receives the maximum current control signal DVS_H output by the first comparison unit, the input D port is connected to the power supply VDD, and the output Q port is connected to an input end of the logic AND gate; the other input end of the logic AND gate receives the control signal DVS_command_old output by the DVS lower tube discharge module; the logic AND gate outputs the discharge control signal DVS_command_new according to the output result of the Q port of the D flip-flop and the result of the AND operation of the control signal; the discharge control signal DVS_command_new is input to an input end of the driving module.
[0010] Further, the bias module includes a resistor R4;
[0011] One end of the resistor R4 is connected to the first output end of the charge and discharge module, and the other end is connected to the positive input end of the first comparison unit; the negative input end voltage of the first comparison unit receives the first reference signal.
[0012] Furthermore, the bias module also includes a resistor R5; one end of the resistor R5 is grounded, and the other end is connected to the negative input end of the first comparison unit, and the negative input end of the first comparison unit is also input with a reference current Idvs; the first reference signal is the product of the resistance value of the resistor R5 and the reference current Idvs.
[0013] Furthermore, the first sampling unit is used to proportionally sample the discharge current of the charge and discharge module, and includes a sampling resistor R3; one end of the sampling resistor R3 is connected to the first output end of the charge and discharge module, and the other end is grounded; the output signal of the first sampling unit is the voltage V_IMAX on the sampling resistor R3.
[0014] Furthermore, the second sampling unit includes a resistor R1 and a resistor R2; the output signal of the second sampling unit is a voltage FB on the resistor R2;
[0015] One end of the resistor R1 is connected to the second output end of the charge and discharge module, and the other end is connected to one end of the resistor R2, and the other end of the resistor R2 is grounded;
[0016] The other end of the resistor R1 is also connected to the positive input end of the second comparison unit, and the negative input end of the second comparison unit is connected to the second reference signal, which is the reference voltage VREF_A.
[0017] Further, the charging and discharging module includes an upper tube MP1, a lower tube MN1, a switch tube MN2, an inductor L and a capacitor C; the MP1 is a P-type MOS tube, and the MN1 and MN2 are N-type MOS tubes;
[0018] The gates of MP1 and MN1 are connected to the first output terminal and the second output terminal of the driving module respectively; the first output terminal and the second output terminal of the driving module are in a logical negation relationship with each other;
[0019] The source of MP1 is connected to the power supply PVDD, the drain of MP1 is connected to the drain of MN1 and one end of the inductor L; the source of MN1 is grounded;
[0020] The gate of MN2 is connected to the second output terminal of the driving module; the drain of MN2 is connected to one end of the inductor L; the other end of the inductor L is connected to one end of the capacitor C, and the other end of the capacitor C is grounded;
[0021] The other end of the inductor L is used as the second output end of the charge and discharge module, connected to one end of the resistor R1, and is also used to connect an external control signal; the source of MN2 is used as the first output end of the charge and discharge module, connected to one end of the sampling resistor R3 and one end of the resistor R4.
[0022] Furthermore, the first comparison unit and the second comparison unit are both comparators.
[0023] An ultra-fast DVS discharge control method is based on the above-mentioned ultra-fast DVS discharge circuit, and its special feature is that it includes the following steps:
[0024] 1) The output voltage of the charge-discharge module starts to decrease when the external control signal controls the output voltage of the charge-discharge module, and the voltage of the positive input terminal of the second comparison unit is higher than the second reference signal; the enable signal EN_N output by the second comparison unit is at a high level, and the enable signal EN_N is valid at this time;
[0025] 2) A valid enable signal EN_N enables the DVS lower tube discharge module; the DVS lower tube discharge module outputs a control signal DVS_command_old that changes with the discharge cycle;
[0026] 3) At this time, the output signal of the first sampling unit is lower than the first reference signal, the maximum current control signal DVS_H output by the first comparison unit is low level, and the discharge current in the charge and discharge module does not reach the maximum current value Imax;
[0027] 4) When the enable signal EN_N input to the logic control module is at a high level and the maximum current control signal DVS_H is at a rising edge, the falling edge of the control signal DVS_command_old triggers the discharge control signal DVS_command_new output by the logic control module to be at a falling edge; the falling edge of the discharge control signal DVS_command_new triggers the driving module, and the driving module drives the discharge mode of the charge and discharge module to be turned on, and the charge and discharge module is in the discharge process;
[0028] 5) During the discharge process, as the discharge current sampled by the first sampling unit gradually increases until the discharge current reaches the maximum value Imax, the output signal of the first sampling unit is greater than the first reference voltage, so that the maximum current control signal DVS_H at the output end of the first comparison unit changes from a low level to a high level, and a rising edge occurs. The rising edge of the maximum current control signal DVS_H triggers the rising edge of the discharge control signal DVS_command_new;
[0029] 6) The rising edge of the discharge control signal DVS_command_new triggers the driving module, and the driving module drives the charging mode of the charging and discharging module to be turned on. The charging and discharging module ends the discharge process and starts the charging process;
[0030] 7) When the discharge current of the charge and discharge module gradually decreases until the output signal of the first sampling unit is less than the first reference voltage, the maximum current control signal DVS_H at the output end of the first comparison unit changes from a high level to a low level;
[0031] At this time, the enable signal EN_N maintains a high level. When the maximum current control signal DVS_H is not a rising edge, the falling edge of the control signal DVS_command_old discharges the control signal DVS_command_new again at a falling edge. The charge and discharge module ends the charging process and restarts the discharging process.
[0032] 8) Repeat steps 5 to 7, and the charge and discharge module alternately performs the discharge process and the charging process; the discharge current in the discharge process is carried out at the maximum value Imax, and the ultra-fast DVS discharge circuit as a whole is in the discharge process until the enable signal EN_N is at a low level, ending the discharge process of the entire discharge circuit.
[0033] Furthermore, in step 4, the discharge mode is turned on by the second output terminal of the driving module driving the lower tubes MNI and MN2 to be turned on; in step 6, the charge mode is turned on by the first output terminal of the driving module driving the upper tube MP1 to be turned on.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] 1. The present invention provides an ultra-fast DVS discharge circuit. By optimizing the control logic, the current of the inductor L is discharged at the maximum value during the entire discharge process. The problem that the inductor current fails to reach the maximum value in the initial stage of the discharge process of the DVS lower tube discharge module, resulting in a prolonged discharge time, is solved. The discharge time of the DVS is greatly accelerated, and the ultra-fast dynamic real-time tracking requirements of the power supply voltage are met.
[0036] 2. An ultra-fast DVS discharge circuit of the present invention provides a reference current Idvs to the negative input terminal of the first comparison unit. The first comparison unit outputs a maximum current control signal according to the difference between the output signal of the first sampling unit and the first reference voltage to control the maximum current value Imax of the discharge, thereby eliminating the error value caused by using different grounds and further improving the discharge accuracy.
[0037] 3. The present invention provides an ultra-fast DVS discharge control method. Compared with the traditional discharge circuit in which the discharge end signal is determined by the falling edge of the DVS_command signal, the present invention uses the rising edge of the maximum current control signal DVS_H to determine the discharge end signal. The maximum discharge current Imax is a fixed value, which can avoid the situation in which the power MOS tube is burned out due to excessive discharge current during the discharge process.
[0038] 4. In the present invention, an ultra-fast DVS discharge control method is provided. During the entire DVS discharge process, the current of the inductor L is Imax, thereby accelerating the discharge time of the DVS. The discharge time of a conventional discharge circuit is normally about 40μs. Through the ultra-fast DVS discharge control method proposed by the present invention, the DVS discharge time is about 5μs, which greatly accelerates the discharge speed of the DVS. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a circuit connection diagram of a conventional DVS discharge circuit in the background technology;
[0040] Figure 2 A circuit connection diagram of an ultra-fast DVS discharge circuit embodiment of the present invention;
[0041] Figure 3 A logic control module diagram of an ultra-fast DVS discharge circuit embodiment of the present invention;
[0042] Figure 4 for Figure 1 Discharge waveform of the circuit;
[0043] Figure 5 The figure is a discharge waveform diagram of an ultra-fast DVS discharge circuit embodiment of the present invention. DETAILED DESCRIPTION
[0044] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0045] The present invention provides an ultra-fast DVS discharge circuit, such as Figure 2 As shown, it includes a charge and discharge module, a first sampling unit including a bias module, a second sampling unit, a logic control module, a first comparison unit, a second comparison unit, a DVS lower tube discharge module and a drive module.
[0046] The charging and discharging module is used for discharging or charging the circuit, and is also used for connecting with an external control signal; the charging and discharging module includes MOS tubes MP1, MN1, MN2, as well as an inductor L and a capacitor C; the upper tube MP1 is a P-type MOS tube, the lower tube MN1 is an N-type MOS tube, and MN2 is also an N-type MOS tube. The gates of MP1 and MN1 are respectively connected to the first output terminal and the second output terminal of the driving module, and the first output terminal and the second output terminal of the driving module are connected to each other in a logical negation relationship. The source of MP1 is connected to the power supply PVDD, the drain of MP1 is connected to the source of MN1 and one end of the inductor L, and the drain of MN1 is grounded. The gate of MN2 is connected to the second output terminal of the driving module, that is, MN1 and MN2 are turned on at the same time; the drain of MN2 is connected to one end of the inductor L; the other end of the inductor L is connected to one end of the capacitor C, and is also used to connect the external control signal; the other end of the capacitor C is grounded; the other end of the inductor L is the second output terminal of the charging and discharging module, and the source of MN2 is the first output terminal of the charging and discharging module.
[0047] The first sampling unit is used to sample the discharge current of the charge and discharge module;
[0048] The first sampling unit includes a sampling resistor R3 and a bias module; one end of the sampling resistor R3 is connected to the source of MN2, and the other end of the sampling resistor R3 is grounded. The output signal of the first sampling unit is the voltage V_IMAX on the sampling resistor R3, and the other end of the sampling resistor R3 is grounded, so the voltage V_IMAX is the product of the resistance value of the sampling resistor R3 and the current value on MN2; in this embodiment, the resistance value of the sampling resistor R3 is 100Ω.
[0049] The bias module is used to eliminate the influence of the bias current at the input end of the first comparison unit; the bias module includes a resistor R4 and a resistor R5. One end of the resistor R4 is connected to one end of the sampling resistor R3, and the other end of the resistor R4 is connected to the positive input end of the first comparison unit. One end of the resistor R5 is grounded, and the other end is connected to the negative input end of the first comparison unit, and the negative input end of the first comparison unit is also input with a reference current Idvs. The product of the resistance value of the resistor R5 and the reference current Idvs constitutes the first reference signal of the negative input end of the first comparison unit. The resistance values of the resistor R4 and the resistor R5 are the same, and in this embodiment, R4=R5=1KΩ.
[0050] The second sampling unit includes a resistor R1 and a resistor R2; one end of the resistor R1 is connected to the other end of the inductor L, and the voltage of the end is Vout; the other end of the resistor R1 is connected to one end of the resistor R2, and the other end of the resistor R2 is grounded, and the output signal of the second sampling unit is the voltage FB on the resistor R2. The other end of the resistor R1 is also connected to the positive input end of the second comparison unit, so the voltage of the positive input end of the second comparison unit is the voltage FB, and the second reference signal of the negative input end of the second comparison unit is the reference voltage VREF_A.
[0051] The first comparison unit outputs the maximum current control signal DVS_H according to the difference between the output signal of the first sampling unit and the first reference signal; the positive input terminal of the first comparison unit is connected to the other end of the resistor R4. The first comparison unit adopts a comparator. Since there is no current at the positive input terminal of the comparator, there is no voltage drop on the resistor R4. That is, the voltage at the other end of the resistor R4 is V_IMAX, and the voltage at the positive input terminal of the first comparison unit is V_IMAX. The output terminal of the first comparison unit is respectively connected to the logic control module and the driving module, and the output terminal of the first comparison unit is also directly connected to the input terminal of the driving module. When the voltage on the sampling resistor R3 exceeds the reference voltage, the output control signal DVS_H of the first comparison unit is a high-level signal, enabling the logic control module.
[0052] The second comparison unit outputs an enable signal EN_N according to the difference between the output signal of the second sampling unit and the second reference signal; the second comparison unit adopts a comparator, the positive input terminal of the second comparison unit is the voltage FB, and the negative input terminal is the reference voltage VREF_A. The output terminal of the second comparison unit is connected to the DVS lower tube discharge module and the logic control module, and the enable signal EN_N is output. When the voltage Vout outputted from the other end of the inductor L suddenly decreases, since the energy cannot change suddenly, the energy lost from the other end of the inductor L will accumulate at the other end of the resistor R1, causing the voltage FB sampled by the second comparison unit to increase. When it is greater than the reference voltage VREF_A, the discharge enable signal EN_N is high.
[0053] In order to solve the problem of prolonged discharge time of the discharge module under DVS during the discharge process, the present invention designs a logic control module. The logic control module is used to control the lower tube MN1 to continue discharging when the current of the inductor L does not reach the maximum value Imax, until the current of the inductor L reaches the maximum discharge current Imax, triggering the maximum current control signal DVS_H signal to end the discharge process.
[0054] like Figure 3 As shown, the logic control module includes a D flip-flop and a logic AND gate; the reset C port of the D flip-flop is connected to the output end of the second comparison unit to receive the enable signal EN_N; the clock CLK port of the D flip-flop is connected to the output end of the first comparison unit to receive the maximum current control signal DVS_H; the input D port of the D flip-flop is connected to the power supply VDD; the output Q port of the D flip-flop is connected to an input end of the logic AND gate; the other input end of the logic AND gate is connected to the output end of the DVS lower tube discharge module to receive the control signal DVS_command_old signal, and the output end of the logic AND gate is connected to the input end of the driving module to output the discharge control signal DVS_command_new signal.
[0055] The circuit principle of the logic control module: During the DVS discharge process, the enable signal EN_N is at a high level. When the maximum current control signal DVS_H is at a rising edge and the enable signal EN_N is at a high level, the output Q of the D flip-flop is at a high level. Then, the discharge control signal DVS_command_new is obtained by performing a logical AND operation on the Q output of the D flip-flop and the control signal DVS_command_old. The discharge control signal DVS_command_new is used to control the conduction of MN1 and MN2, and the discharge of the inductor L, which can effectively reduce the discharge time and accelerate the voltage replacement. This method can be widely used in different power supplies such as Buck, Boost, Buck boost, Flyback (flyback converter), LLC converter (resonant converter), etc.
[0056] like Figure 1 , Figure 4 As shown, in the traditional DVS discharge circuit, in the initial stage of discharge, the current of the inductor L is small, the voltage drop on the sampling resistor R3 is less than the reference voltage DVS_REF at the negative input terminal of the comparator 1, and the DVS_H signal at the output terminal of the comparator 1 is low. At this time, the current of the inductor L is controlled by the DVS_command signal. As the discharge process proceeds, the current of the inductor L continues to increase until the maximum discharge current Imax that can be achieved is triggered, the voltage drop on the sampling resistor R3 is greater than DVS_REF, and the DVS_H signal becomes high. At this time, the end signal of the discharge is no longer determined by the falling edge of the DVS_command signal, but by the rising edge of DVS_H, that is, the maximum value of the inductor current in the discharge process of the DVS lower tube discharge circuit is determined by the DVS_REF reference voltage.
[0057] The present invention increases the logic control module so that the end signal of the discharge process is determined by the rising edge of the maximum current control signal DVS_H throughout the process, thereby accelerating the discharge. The logic control module is used to control the magnitude of the current of the inductor L during the discharge process, so that it discharges at the maximum discharge current to achieve rapid discharge and shorten the discharge time. The maximum discharge current is a fixed value, which can avoid the situation where the discharge current is too large and the power MOS tube is burned out during the discharge process.
[0058] The cycle generation circuit of the DVS_command_old signal is generally realized by the charging and discharging function of the capacitor by the current. The cycle of DVS_command_old can be shortened by increasing the charging current or reducing the capacitance, and the discharge mode can be changed from the original DCM (discontinuous discharge mode) to CCM (continuous discharge mode), which can further shorten the discharge time.
[0059] The present invention also provides an ultra-fast DVS discharge control method based on the ultra-fast DVS discharge circuit, which specifically includes the following steps:
[0060] 1) At a certain moment, the external control signal controls the voltage at the OUT terminal to drop from Vout1 to Vout2. Since energy cannot change suddenly, the energy lost at the OUT terminal will accumulate at the FB terminal, and the voltage FB on the resistor R2 begins to increase until the voltage FB at the positive input terminal of the second comparison unit is higher than the second reference signal VREF_A; the enable signal EN_N output by the second comparison unit is high level, and the enable signal EN_N is valid at this time; the commonly used Buck voltage control principle collects the input signal of PA by MIPI, controls and adjusts the output voltage Vout of the Buck circuit, and the external control signal can be input to the OUT terminal by MIPI to reduce the output voltage from Vout1 to Vout2;
[0061] 2) A valid enable signal EN_N enables the DVS lower tube discharge module; the DVS lower tube discharge module starts to work and outputs a control signal DVS_command_old that changes with a discharge cycle. The control signal DVS_command_old is used to control the lower MN1 of the charge and discharge module to turn on for discharge or the upper tube MP1 to turn on for charging when the discharge circuit is discharged as a whole;
[0062] The falling edge of the control signal DVS_command_old is used to trigger the driving module to drive the charging and discharging module to start the discharging process, and the rising edge is used to trigger the driving module to drive the charging and discharging module to end the discharging process and start the charging process; the control signal DVS_command_old maintains the charging and discharging of the charging and discharging module in a stable state, so that the discharge circuit as a whole is in a stable discharge state;
[0063] 3) At this time, the output signal V_IMAX of the first sampling unit is lower than the first reference signal, the maximum current control signal DVS_H output by the first comparison unit is low level, and the discharge current in the charge and discharge module does not reach the maximum current value Imax;
[0064] 4) When the enable signal EN_N input to the logic control module is at a high level and the maximum current control signal DVS_H is at a rising edge, the falling edge of the control signal DVS_command_old triggers the discharge control signal DVS_command_new output by the logic control module to be a falling edge; the falling edge of the discharge control signal DVS_command_new triggers the driving module, and the second output terminal of the driving module drives MN1 and MN2 in the charge and discharge module to turn on, and the charge and discharge module is in the discharge process;
[0065] 5) During the discharge process, the discharge current flows through the inductor L, MN2 and the resistor R3 in sequence. As the discharge current sampled by the first sampling unit gradually increases until the discharge current reaches the maximum value Imax, the output signal V_IMAX of the first sampling unit is greater than the first reference voltage, so that the maximum current control signal DVS_H at the output end of the first comparison unit changes from a low level to a high level, and a rising edge occurs. The rising edge of the maximum current control signal DVS_H triggers the rising edge of the discharge control signal DVS_command_new;
[0066] 6) The rising edge of the discharge control signal DVS_command_new triggers the driving module. The first output terminal of the driving module drives the upper tube MP1 of the charging and discharging module to turn on. The charging and discharging module ends the discharge process and starts the charging process. The charging current flowing out of PVDD flows through MP1 and the inductor L, and flows into the inductor C to charge the inductor C.
[0067] 7) When the discharge current of the charge and discharge module gradually decreases until the output signal V_IMAX of the first sampling unit is less than the first reference voltage, the maximum current control signal DVS_H at the output end of the first comparison unit changes from a high level to a low level;
[0068] At this time, the enable signal EN_N maintains a high level. When the maximum current control signal DVS_H is not a rising edge, the falling edge of the control signal DVS_command_old discharges the control signal DVS_command_new again at a falling edge. The charge and discharge module ends the charging process and restarts the discharging process.
[0069] 8) Repeat steps 5 to 7, the charge and discharge module alternately performs the discharge process and the charging process; the discharge current in the discharge process is carried out at the maximum value Imax, and the ultra-fast DVS discharge circuit as a whole is in the discharge process until the enable signal EN_N is at a low level, ending the discharge process of the discharge circuit as a whole.
[0070] During the entire DVS discharge process, the maximum current of the inductor L is limited by the maximum value Imax, thereby accelerating the discharge time of the DVS. When Imax is 3A, the discharge time t DVS_down Normally it is around 40μs, adjust the maximum value Imax to 9A, and the discharge time t DVS_down About 10μs. At this time, the lower tube needs to withstand a discharge current of 9A. Since the discharge current is too large, it is very easy to cause the lower tube MN1 to burn out. Through an ultra-fast DVS discharge control method proposed by the present invention, when the maximum value Imax is 3A, the DVS discharge time is about 5μs. On the basis of not increasing the discharge current of the lower tube, the discharge speed of DVS is greatly accelerated, thereby realizing ultra-fast dynamic real-time tracking of power supply voltage changes.
[0071] This solution changes the discharge mode from the original DCM discontinuous mode to the CCM continuous mode, so that the current of the inductor L is no longer limited by the discharge time, thereby further accelerating the discharge speed of the DVS.
[0072] like Figure 4 As shown in the waveform of the DVS discharge output of the prior art, the external control signal can be input to the OUT terminal by MIPI to reduce the output voltage from Vout1 to Vout2, IL is the inductor current, EN_DVS is the DVS discharge enable signal, and Vout is the output voltage of the inductor L. It can be seen that at the beginning of the DVS discharge, since the discharge current is relatively small, the voltage drop on the resistor R1 is less than DVS_REF, and the maximum discharge current Imax is not triggered. Therefore, the maximum value of the inductor current in the initial stage of DVS discharge is controlled by the discharge duty cycle and the cycle setting. When the switching cycle discharge ends, the DVS discharge is required to end, that is, the maximum value of the inductor current is Figure 4 As the DVS discharge current increases, the voltage drop on resistor R1 will be greater than DVS_REF, triggering the maximum discharge current Imax. At this time, the maximum value of the inductor current during the DVS discharge process is determined by DVS_VREF.
[0073] like Figure 5 The figure shows a discharge waveform diagram of an ultra-fast DVS discharge circuit of the present invention. The control signal in the figure is an external signal for sending a drop request to the DVS discharge module; IL represents the inductor current; and Vout is the voltage at the other end of the inductor L. Figure 5 In the circuit, the inductor current IL has a linear downward periodic curve. Figure 4 The inductor current IL in can shorten the discharge time and achieve fast response.
Claims
1. An ultra-fast DVS discharge circuit, comprising a charge and discharge module, a driving module, a first sampling unit, a second sampling unit, a first comparison unit, a second comparison unit and a DVS lower tube discharge module; the charge and discharge module is used to discharge or charge the circuit; the driving module controls the charge and discharge module to work according to a discharge control signal and a maximum current control signal; the first sampling unit is used to sample the discharge current of the charge and discharge module; the second sampling unit is used to sample the charging current of the charge and discharge module; the first comparison unit outputs a maximum current control signal DVS_H according to the difference between the output signal of the first sampling unit and the first reference signal; the second comparison unit outputs an enable signal EN_N according to the difference between the output signal of the second sampling unit and the second reference signal; the DVS lower tube discharge module outputs a control signal DVS_command_old when the enable signal EN_N is valid; the charge and discharge module is used to connect with an external control signal; Features: It also includes a logic control module; the input end of the logic control module is respectively connected to the enable signal EN_N, the maximum current control signal DVS_H and the control signal DVS_command_old, which is used to control the size of the discharge current during the discharge process so that it discharges at the maximum current value; the logic control module outputs the discharge control signal DVS_command_new; the first sampling unit is also provided with a bias module; the bias module is connected to the input end of the first comparison unit, and is used to eliminate the influence of the bias current on the input end of the first comparison unit.
2. The ultra-fast DVS discharge circuit according to claim 1, characterized in that: The logic control module includes a D flip-flop and a logic AND gate; The clear C port of the D flip-flop receives the enable signal EN_N output by the second comparison unit, the clock CLK port receives the maximum current control signal DVS_H output by the first comparison unit, the input D port is connected to the power supply VDD, and the output Q port is connected to an input end of the logic AND gate; the other input end of the logic AND gate receives the control signal DVS_command_old output by the DVS lower tube discharge module; the logic AND gate outputs the discharge control signal DVS_command_new according to the output result of the Q port of the D flip-flop and the result of the AND operation of the control signal; the discharge control signal DVS_command_new is input to an input end of the driving module.
3. The ultra-fast DVS discharge circuit according to claim 2, characterized in that: The bias module includes a resistor R4; One end of the resistor R4 is connected to the first output end of the charge and discharge module, and the other end is connected to the positive input end of the first comparison unit; the negative input end voltage of the first comparison unit receives the first reference signal.
4. The ultra-fast DVS discharge circuit according to claim 3, characterized in that: The bias module also includes a resistor R5; one end of the resistor R5 is grounded, and the other end is connected to the negative input end of the first comparison unit, and the negative input end of the first comparison unit is also input with a reference current Idvs; the first reference signal is the product of the resistance value of the resistor R5 and the reference current Idvs.
5. The ultra-fast DVS discharge circuit according to claim 4, characterized in that: The first sampling unit is used to proportionally sample the discharge current of the charge and discharge module, and includes a sampling resistor R3; one end of the sampling resistor R3 is connected to the first output end of the charge and discharge module, and the other end is grounded; the output signal of the first sampling unit is the voltage V_IMAX on the sampling resistor R3.
6. The ultra-fast DVS discharge circuit according to claim 5, characterized in that: The second sampling unit includes a resistor R1 and a resistor R2; the output signal of the second sampling unit is a voltage FB on the resistor R2; One end of the resistor R1 is connected to the second output end of the charge and discharge module, and the other end is connected to one end of the resistor R2, and the other end of the resistor R2 is grounded; The other end of the resistor R1 is also connected to the positive input end of the second comparison unit, and the negative input end of the second comparison unit is connected to the second reference signal, which is the reference voltage VREF_A.
7. The ultra-fast DVS discharge circuit according to claim 6, characterized in that: The charging and discharging module includes an upper tube MP1, a lower tube MN1, a switch tube MN2, an inductor L and a capacitor C; the MP1 is a P-type MOS tube, and the MN1 and MN2 are N-type MOS tubes; The gates of MP1 and MN1 are connected to the first output terminal and the second output terminal of the driving module respectively; the first output terminal and the second output terminal of the driving module are in a logical negation relationship with each other; The source of MP1 is connected to the power supply PVDD, the drain of MP1 is connected to the drain of MN1 and one end of the inductor L; the source of MN1 is grounded; The gate of MN2 is connected to the second output terminal of the driving module; the drain of MN2 is connected to one end of the inductor L; the other end of the inductor L is connected to one end of the capacitor C, and the other end of the capacitor C is grounded; The other end of the inductor L is used as the second output end of the charge and discharge module, connected to one end of the resistor R1, and is also used to connect an external control signal; the source of MN2 is used as the first output end of the charge and discharge module, connected to one end of the sampling resistor R3 and one end of the resistor R4.
8. The ultra-fast DVS discharge circuit according to claim 7, characterized in that: The first comparison unit and the second comparison unit are both comparators.
9. An ultra-fast DVS discharge control method, based on an ultra-fast DVS discharge circuit according to claims 1-8, characterized in that: The following steps are involved: 1) The output voltage of the charge-discharge module starts to decrease when the external control signal controls the output voltage of the charge-discharge module, and the voltage of the positive input terminal of the second comparison unit is higher than the second reference signal; the enable signal EN_N output by the second comparison unit is at a high level, and the enable signal EN_N is valid at this time; 2) A valid enable signal EN_N enables the DVS lower tube discharge module; the DVS lower tube discharge module outputs a control signal DVS_command_old that changes with the discharge cycle; 3) At this time, the output signal of the first sampling unit is lower than the first reference signal, the maximum current control signal DVS_H output by the first comparison unit is low level, and the discharge current in the charge and discharge module does not reach the maximum current value Imax; 4) When the enable signal EN_N input to the logic control module is at a high level and the maximum current control signal DVS_H is at a rising edge, the falling edge of the control signal DVS_command_old triggers the discharge control signal DVS_command_new output by the logic control module to be at a falling edge; the falling edge of the discharge control signal DVS_command_new triggers the driving module, and the driving module drives the discharge mode of the charge and discharge module to be turned on, and the charge and discharge module is in the discharge process; 5) During the discharge process, as the discharge current sampled by the first sampling unit gradually increases until the discharge current reaches the maximum value Imax, the output signal of the first sampling unit is greater than the first reference voltage, so that the maximum current control signal DVS_H at the output end of the first comparison unit changes from a low level to a high level, and a rising edge occurs. The rising edge of the maximum current control signal DVS_H triggers the rising edge of the discharge control signal DVS_command_new; 6) The rising edge of the discharge control signal DVS_command_new triggers the driving module, and the driving module drives the charging mode of the charging and discharging module to be turned on. The charging and discharging module ends the discharge process and starts the charging process; 7) When the discharge current of the charge and discharge module gradually decreases until the output signal of the first sampling unit is less than the first reference voltage, the maximum current control signal DVS_H at the output end of the first comparison unit changes from a high level to a low level; At this time, the enable signal EN_N maintains a high level. When the maximum current control signal DVS_H is not a rising edge, the falling edge of the control signal DVS_command_old discharges the control signal DVS_command_new again at a falling edge. The charge and discharge module ends the charging process and restarts the discharging process. 8) Repeat steps 5 to 7, and the charge and discharge module alternately performs the discharge process and the charging process; the discharge current in the discharge process is carried out at the maximum value Imax, and the ultra-fast DVS discharge circuit as a whole is in the discharge process until the enable signal EN_N is at a low level, ending the discharge process of the entire discharge circuit.
10. The ultra-fast DVS discharge control method according to claim 9, characterized in that: In step 4, the discharge mode is turned on by the second output terminal of the driving module driving the lower tubes MNI and MN2 to be turned on; in step 6, the charge mode is turned on by the first output terminal of the driving module driving the upper tube MP1 to be turned on.
