Switching converters are used to provide a direct-current (DC) output voltage (VOUT) based on a DC input voltage (VIN). A typical switching converter includes: a power stage with switches and an inductor; and a controller for the switches of the power stage. Switching converter efficiency varies depending on proper management of switching control responsive to variations in VIN, VOUT, load, operating frequency, and inductor. Mode transitions of the controller in response to load changes (e.g., light load to heavy load, or heavy load to light load) are problematic, often causing inefficient operation and/or VOUT ripple.
In an example, a circuit includes a controller. The controller includes: a first control circuit having a first input, a second input, and an output; a second control circuit having a first input, a second input, and an output; a detection circuit having a first input, a second input, and an output; mode control logic having a first input, a second input, a third input, a first output, and a second output; and driver circuitry having a first input, a second input, a first output, and a second output. The first input of the mode control logic is coupled to the output of the first control circuit. The second input of the mode control logic is coupled to the output of the second control circuit. The third input of the mode control logic is coupled to the output of the detection circuit. The first input of the driver circuitry is coupled to the first output of the mode control logic. The second input of the driver circuitry is coupled to the second output of the mode control logic.
In another example, a switching converter controller for a power stage is configured to: operate in a pulse-width modulation (PWM) mode; detect a light load condition; adjust an offset between a valley threshold and a peak threshold responsive to the detected light load condition; and transition to a pulse-frequency modulation (PFM) mode responsive to a comparison indicating an inductor current of the power stage reaches the peak threshold.
In yet another example, a method includes: operating, by a controller, in a PWM mode; detecting, by the controller, a light load condition; adjusting, by the controller, an offset between a valley threshold and a peak threshold responsive to the detected light load condition; and transitioning, by the controller, to a PFM mode responsive to a comparison result indicating an inductor current of the power stage reaches the peak threshold.
The same reference numbers or other reference designators are used in the drawings to designate the same or similar features. Such features may be the same or similar either by function and/or structure.
As shown, the power stage 106 includes a high-side (HS) switch 120, a low-side (LS) switch 128, and an inductor 136 in the arrangement shown. In some examples, the HS switch 120, LS switch 128, and related drivers are components of an integrated circuit (IC), and the inductor 136 is an external component relative to the IC. The arrangement of components for the power stage 106 of
The first terminal 108 of the power stage 106 is coupled to the terminal 104 of the power supply 102 and receives VIN. The first terminal 149 of the controller 148 is also coupled to the terminal 104 of the power supply 102 and/or the first terminal 108 of the power stage 106. The second terminal 110 of the power stage 106 is coupled to the fourth terminal 152 of the controller 148 and receives a HS switch control signal (HS_CS). The third terminal 112 of the power stage 106 is coupled to the fifth terminal 153 of the controller 148 and receives a LS switch control signal (LS_CS). The fourth terminal 114 of the power stage 106 is coupled to the terminal 144 of the load 142 and provides VOUT. The first terminal of COUT is also coupled to the fourth terminal 114 of the power stage 106 and the terminal 144 of the load 142. The second terminal of COUT is coupled to a ground terminal. The fifth terminal 116 of the power stage 106 is coupled to the second terminal 150 of the controller 148 and provides a switch node voltage (VSW). The ground terminal 118 of the power stage 106, the ground terminal 154 of the controller 148, and the ground terminal 146 of the load 142 are coupled to ground.
As shown, the first terminal 122 of the HS switch 120 is coupled to the first terminal 108 of the power stage 106. The second terminal 124 of the HS switch 120 is coupled to the first terminal 130 of the LS switch 128 and to the first terminal 138 of the inductor 136. The control terminal 126 of the HS switch 120 is coupled to the second terminal 110 of the power stage 106. The second terminal 132 of the LS switch 128 is coupled to the ground terminal 118 of the power stage 106. The control terminal 134 of the LS switch 128 is coupled to the third terminal 112 of the power stage 106. As shown, the fifth terminal 116 of the power stage 106 is coupled second terminal 124 of the HS switch 120, the first terminal 130 of the LS switch 128, and the first terminal 138 of the inductor 136. The second terminal 140 of the inductor 136 is coupled to the fourth terminal 114 of the power stage 106. In the example of
As shown, the input(s) 156 of the valley control circuitry 155 receive control signal(s) CS1. In some examples, CS1 includes a valley threshold and an inductor current sense signal. In some examples, the valley threshold and/or the inductor current sense signal are ramped. The input(s) 160 of the peak control circuitry 158 receive control signal(s) CS2. In some examples, CS2 includes a peak threshold and an inductor current sense signal. The input(s) 166 of the light load detection circuitry 164 receive control signal(s) CS3. In some examples, CS3 includes a control voltage (e.g., V_CTRL herein) and a light load threshold (e.g., ZERO_REF herein). In some examples, the control voltage controls the output current of the power stage 106 and indicates the output current level. Accordingly, one option to detect a light load condition involves monitoring the control voltage relative to a threshold.
The first terminal 172 of the mode control logic 170 is coupled to the output 157 of the valley control circuitry 155. The second terminal 174 of the mode control logic 170 is coupled to the output 162 of the peak control circuitry 158. The third terminal 176 of the mode control logic 170 is coupled to the output 168 of the light load detection circuitry 164. The fifth terminal 180 of the mode control logic 170 is coupled to the first terminal 186 of the driver circuitry 184. The sixth terminal 182 of the mode control logic 170 is coupled to the second terminal 188 of the driver circuitry 184. The third terminal 190 of the driver circuitry 184 is coupled to the fourth terminal 152 of the controller 148. The fourth terminal 192 of the driver circuitry 184 is coupled to the fifth terminal 153 of the controller 148.
In operation, the controller 148 is configured to: receive VIN at its first terminal 149; receive VSW at its second terminal 150; receive VOUT at its third terminal 151; provide HS_CS at its fourth terminal 152 responsive to VIN, VSW, VOUT, and the operations of the valley control circuitry 155, the peak control circuitry 158, the light load detection circuitry 164, the mode control logic 170, and the driver circuitry 184; and provide LS_CS at its fifth terminal 153 responsive to VIN, VSW, VOUT, and the operations of the valley control circuitry 155, the peak control circuitry 158, the light load detection circuitry 164, the mode control logic 170, and the driver circuitry 184. In some examples, the controller 148 is configured to: sense inductor current of the power stage responsive to VIN, VSW and GND; adjust an offset between a valley threshold and a peak threshold responsive to a light load condition detected by the light load detection circuitry 164; and transition from a first mode to a second mode responsive to the light load condition and a comparison indicating the sensed inductor current reaches the peak threshold. The comparison is performed, for example, by the peak control circuitry 158. In some examples, the first mode is a pulse-width modulation (PWM) mode, and the second mode is a pulse-frequency modulation (PFM) mode.
In operation, the power stage 106 is configured to: receive VIN at its first terminal 108; receive HS_CS at its second terminal 110; receive LS_CS at its third terminal 112; provide VOUT at its fourth terminal 114 responsive to VIN, HS_CS, and LS_CS; provide VSW at its fifth terminal 116 responsive to VIN, HS_CS, and LS_CS; and provide a coupling between the ground terminal 118 and ground. More specifically, the HS switch 120 couples VIN to the switch node 135 responsive to HS_CS, which increases the current in the inductor 136. The LS switch 128 couples the ground terminal 118 to the switch node 135 responsive to LS_CS, which decreases the current in the inductor 136. The average current in the inductor 136 is considered the load current provided to the load 142.
Example modes supported by the controller 148 include PWM mode and a PFM mode. In some examples, the PFM pulse size is selected to achieve good efficiency and to avoid high VOUT ripple or mode bouncing between the PFM and PWM modes. In some examples, the controller 148 is configured to optimize efficiency by entering the PFM mode at light loads (e.g., when the inductor current goes below zero current in the PWM mode). In a light load scenario, the maximum PFM output current is selected to be larger than the load current to avoid mode bounce and VOUT overshoots or undershoots. In other words, the PFM pulse is selected to be larger than the current ripple in the PWM mode. Example conditions that may cause variance in the inductor current ripple in the PWM mode include variances in VIN, VOUT, operating frequency, and inductance of the inductor 136. In some examples, the inductance of the inductor 136 may vary up to +/−30%. Also, an example operating frequency may vary up to +/−20%. Also, an example VIN may vary between 3V and 5.5V. Also, an example VOUT may vary from 0.5 to 3.3V. All of these variances can cause the inductor current ripple to vary. The inductor current ripple variance means the appropriate peak current value for the PFM pulse in a high ripple condition causes significant voltage ripple in low ripple conditions. Alternatively, the appropriate PFM pulse in a low ripple condition causes inefficiency and mode bounce in high ripple conditions.
In the described examples, the controller 148 adjusts the PFM pulse peak current value responsive to inductor current ripple in the PWM mode. In some examples, a comparator of the peak control circuitry 158 is used to control the limit peak current in the PWM mode and to define the PFM pulse peak current value in the PFM mode. The peak threshold may be, for example, a valley current level plus an offset. In some examples, the offset is digitally controlled. In the PFM mode, the controller 148 may set the valley current level to zero and the reference level for the PFM peak current value is defined only with the offset. In the PWM mode, the controller 148 uses a fixed frequency valley current mode to regulate VOUT by adapting the valley current level as needed. In steady state, the controller 148 may start the HS period when a comparator of the valley control circuitry 155 triggers. The LS period starts when the comparator of the peak control circuitry 158 triggers or a switch clock rising edge occurs.
In some examples, the controller 148 selects a default value for the offset to define the HS peak current limit level to be higher than the maximum inductor current ripple in fixed frequency operation. Therefore, the HS peak current limit comparator will not trigger at all in steady state when the switching converter operates below the positive current limit and above a light load condition. When the load current goes low enough and the controller 148 detects the light load condition in PWM mode, the controller 148 decreases the HS peak comparator reference level by reducing the offset. In some examples, the reference level is reduced until the peak comparator triggers, the digital control saturates to a minimum value, or the light load condition disappears. If the light load condition disappears, the controller 148 cancels PFM mode entry and the peak comparator reference level is set back to a default value. If the peak comparator triggers, the controller 148 increases a digitally controlled digital-to-analog converter (DAC) value one step and stores the DAC value to a register to define the reference level for the PFM peak current value. In some examples, the controller 148 selects the reference level to be equal with the inductor current ripple in the PWM mode. If the digital control saturates to a minimum value, the controller 148 stores a minimum value to a register to define the reference level for the PFM peak current value. Once the offset is adjusted, the controller 148 allows PFM mode entry and the PFM pulse peak current value is defined based on the stored reference value. Using the stored register value, the PFM pulse size may equal the inductor current ripple in the PWM mode and mode transition can be done seamlessly.
In some examples, the controller 148 selects the PFM pulse size to be higher (e.g., 400 mA) than the inductor current ripple in the PWM mode by adding an offset to the stored reference value. The offset between the PFM pulse size and the inductor current ripple may be selected, for example, to optimize PFM mode efficiency and to achieve hysteresis between the PWM and PFM mode. In some examples, the controller 148 may control a fixed-frequency buck converter. In such examples, the PFM pulse may be adjusted based on the inductor current ripple in the PWM mode. In other examples, the described controller 148 may control an on-time controlled buck converter. In such examples, the on-time of the HS switch 120 is adjusted based on VIN and VOUT, and the on-time of the LS switch 128 is adjusted based on valley current control. Other switching converter topologies and related control options are possible. In some examples, the controller 148 compensates for variances in VIN, VOUT, the inductance of the inductor 136, and/or the operating frequency to achieve seamless transitions between PFM and PWM modes, optimized efficiency, and a target VOUT ripple. In some examples, the controller 148 reduces system cost by enabling a lower COUT value and having a low silicon area (e.g., due to use of the positive current limit comparator without needing a separate comparator, on-time sense circuitry, or current sense circuitry). In some examples, the mode control logic 170 of the controller 148 implements a mode transition algorithm or state machine and a DAC, where the DAC controls the reference level for the peak control circuitry 158.
The clock generator 302 has a terminal 304. The mode control logic 170A has the first terminal 172, the second terminal 174, the third terminal 176, the fourth terminal 178, the fifth terminal 180, the sixth terminal 182, a seventh terminal 306, an eight terminal 308, and a ninth terminal 310. The artificial ramp circuitry 312 has a first terminal 314, a second terminal 316, and a third terminal 318. The error amplifier 352 has an inverting (“−”) input, a non-inverting (“+”) input, and an output. The resistor R1 has a first terminal and a second terminal. The capacitor C1 has a first terminal and a second terminal.
The current control circuitry 320 has a first terminal 322, a second terminal 324, a third terminal 326, a fourth terminal 328, a fifth terminal 330, a sixth terminal 332, a seventh terminal 334, and an eighth terminal 336. In the example of
The sense control circuitry 356 has a first terminal 358, a second terminal 360, a third terminal 362, a fourth terminal 364, a fifth terminal 366, a sixth terminal 368, a seventh terminal 370, an eighth terminal 372, a ninth terminal 374, a tenth terminal 376, and an eleventh terminal 378. In the example of
In the example of
The inverting (“−”) input of the error amplifier 352 receives a feedback voltage (V_fb). V_fb may be VOUT of a power stage (e.g., the power stage 106 in
The third terminal 326 of the current control circuitry 320 is coupled to the fourth terminal 364 of the sense control circuitry 356. The second terminal 316 of the artificial ramp circuitry 312 is also coupled to fourth terminal 364 of the sense control circuitry 356. The fourth terminal 328 of the current control circuitry 320 is coupled to the fifth terminal 366 of the sense control circuitry 356. The third terminal 318 of the artificial ramp circuitry 312 is also coupled to fifth terminal 366 of the sense control circuitry 356. The fifth terminal 330 of the current control circuitry 320 is coupled to the sixth terminal 368 of the sense control circuitry 356. The sixth terminal 332 of the current control circuitry 320 is coupled to the seventh terminal 370 of the sense control circuitry 356.
As shown, the first terminal 340 of the V2I circuitry 338 is coupled to the first terminal 322 of the current control circuitry 320. The second terminal 341 of the V2I circuitry 338 is coupled to the second terminal 324 of the current control circuitry 320. The third terminal 342 of the V2I circuitry 338 is coupled to the third terminal 326 of the current control circuitry 320. The fourth terminal 344 of the V2I circuitry 338 is coupled to the fourth terminal 328 of the current control circuitry 320. The fifth terminal 346 of the V2I circuitry 338 is coupled to the fifth terminal 330 of the current control circuitry 320. The sixth terminal 348 of the V2I circuitry 338 is coupled to the sixth terminal 332 of the current control circuitry 320. The terminal 351 of the PFM pulse comparator 350 is coupled to the seventh terminal 334 of the current control circuitry 320.
As shown, the first input 166a of the light load detection circuitry 164A is coupled to the second terminal 324 of the current control circuitry 320. The second input 166b of the light load detection circuitry 164A receives a light load reference voltage (ZERO_REF). In some examples, ZERO_REF is provided by a voltage source or adjustable voltage source. The output 168 of the light load detection circuitry 164A is coupled to the eighth terminal 336 of the current control circuitry 320.
In the example of
In the example of
In some examples, the light load detection circuitry 164A includes a comparator 354 having an inverting (“−”) input, a non-inverting (“+”) input, and an output. The inverting (“−”) input of the comparator 354 is coupled to the first input 166a of the light load detection circuitry 164A. The non-inverting (“+”) input of the comparator 354 is coupled to the second input 166b of the light load detection circuitry 164A. The output of the comparator 354 is coupled to the output 168 of the light load detection circuitry 164A.
In some examples, the valley control circuitry 155A includes a comparator 396 having an inverting (“−”) input, a non-inverting (“+”) input, and an output. The non-inverting (“+”) input of the comparator 396 is coupled to the first input 156a of the valley control circuitry 155A. The inverting (“−”) input of the comparator 396 is coupled to the second input 156b of the valley control circuitry 155A. The output of the comparator 396 is coupled to the output 157 of the valley control circuitry 155A.
In some examples, the peak control circuitry 158A includes a comparator 398 having an inverting (“−”) input, a non-inverting (“+”) input, and an output. The non-inverting (“+”) input of the comparator 398 is coupled to the first input 160a of the peak control circuitry 158A. The inverting (“−”) input of the comparator 398 is coupled to the second input 160b of the peak control circuitry 158A. The output of the comparator 398 is coupled to the output 162 of the peak control circuitry 158A.
In the example of
More specifically, the V2I circuitry 338 is configured to: receive the ripple control signal at its first terminal 340; receive V_CTRL at its second terminal 341; provide I_CTRL at its third terminal 342 and its fifth terminal 346 responsive to V_CTRL; provide I_OFFSET at its fourth terminal 344 (e.g., I_OFFSET may have a constant value that defines how much inductor valley current below zero is needed in some scenarios, such as negative inductor current to scale down VOUT during shutdown); and provide I_RIPPLE at its sixth terminal 348 responsive to the ripple control signal. In some examples, digital control of I_RIPPLE provides the benefit of storing the value for a long time in a register with a relatively small silicon area. Step control, programming options, and offset control are also facilitated. In an analog solution, I_RIPPLE may be stored to a capacitor, which may limit storage duration or result in other leakage issues. In some examples, the V2I circuitry 338 may include a DAC, a register, and/or a transconductance amplifier.
The light load detection circuitry 164A is configured to: receipt V_CTRL at its first input 166a; receive ZERO_REF at its second input 166b; and provide PFM_ENTRY_COMP at its output 168 responsive to V_CTRL and ZERO_REF. In the example of
In some examples, the PFM pulse comparator 350 is configured to provide PFM PULSE_COMP at its terminal 351 responsive to V_CTRL. A higher V_CTRL results in PFM_PULSE_COMP triggering a higher frequency. A lower V_CTRL results in PFM_PULSE_COMP triggering a lower frequency. PFM_PULSE_COMP is used to initiate a PFM pulse (e.g., to start an HS interval) during PFM mode operations.
The sense control circuitry 356 is configured to: receive VIN at its first terminal 358; receive VSW at its second terminal 360; couple to ground at its third terminal 362; receive I_CTRL plus a ramp current (I_RAMP herein) at its fourth terminal 364 responsive to I_CTRL and the operations of the artificial ramp circuitry 312; receive a ramp current peak (I_RAMP_PEAK herein) plus I_OFFSET at its fifth terminal 366 responsive to I_OFFSET and the operations of the artificial ramp circuitry 312; receive I_CTRL at its sixth terminal 368; receive I_RIPPLE at its seventh terminal 370; provide a first control signal (CS5) at its eighth terminal 372 responsive to VSW and ground; provide a second control signal (CS6) at its ninth terminal 374 responsive to the ramped I_OFFSET; provide a third control signal (CS7) at its tenth terminal 376 responsive to VIN and VSW; and provide a fourth control signal (CS8) at its eleventh terminal 378 responsive to I_RIPPLE. In some examples, the CS5 is a current sense signal during a LS on state, CS6 is a valley threshold, CS7 is a current sense signal during a HS on state, and CS8 is a peak threshold.
More specifically, the LS sense circuitry 380 is configured to: receive the ramped I_CTRL at its first terminal 382; receive the ramped I_OFFSET at its second terminal 384; provide CS4 at its third terminal 385 responsive to the ramped I_CTRL and the ramped I_OFFSET; and provide CS5 at its fourth terminal 386 responsive to the ramped I_CTRL and the ramped I_OFFSET. The HS sense circuitry 388 is configured to: receive I_CTRL at its first terminal 390; receive the I_RIPPLE at its second terminal 392; provide CS6 at its third terminal 393 responsive to I_CTRL and I_RIPPLE; and provide CS7 at its fourth terminal 394 responsive to I_CTRL and I_RIPPLE.
The valley control circuitry 155A is configured to: receive CS5 at its first input 156a; receive CS6 at its second input 156b; and provide a comparison result (VALLEY_COMP) at its output 157 responsive to CS5 and CS6. In the example of
The peak control circuitry 158A is configured to: receive CS7 at its first input 160a; receive CS8 at its second input 160b; and provide a comparison result (PEAK_COMP) at its output 162 responsive to CS7 and CS8. In the example of
The mode control logic 170A is configured to: receive PFM_ENTRY_COMP at its first terminal 172; receive PEAK_COMP at its second terminal 174; receive VALLEY_COMP at its third terminal 176; receive CLK_SW at its eighth terminal 308; receive PFM_PULSE_COMP at its eighth terminal 308; provide the ripple control signal (e.g., CS4 or SEL_I_RIPPLE [5:0]) at its fourth terminal 178 responsive to PEAK_COMP and PFM_ENTRY_COMP; provide a first control signal (PWM_CTRL) at its fifth terminal 180 responsive to VALLEY_COMP and CLK_SW; provide a second control signal (HIZ_CTRL) at its sixth terminal 182 responsive to PFM_ENTRY_COMP, PFM_pulse_comp, PEAK_COMP, and VALLEY_COMP (e.g., PFM mode is initiated responsive to PFM_ENTRY_COMP and PEAK_COMP, and HIZ_CTRL is controlled during the PFM mode responsive to PFM_PULSE_COMP and VALLEY_COMP); and provide a ramp control signal (RMP_CS) at its ninth terminal 310 responsive to VALLEY_COMP and CLK_SW. In some examples, RMP_CS may be equal to PWM_CTRL during PWM mode operations.
The artificial ramp circuitry 312 is configured to: receive RMP_CS at its first terminal 314; provide a I_RAMP_PEAK at its second terminal 316 responsive to RMP_CS; and provide I_RAMP at its third terminal 318 responsive to RMP_CS. In some examples, I_RAMP_PEAK is equal to the peak value of I_RAMP. In steady state, I_RAMP_PEAK is constant, but I_RAMP and I_RAMP_PEAK may vary as a function of VIN and VOUT. In some examples, the artificial ramp circuitry 312 is configured to reset and provides I_RAMP at the third terminal 318 responsive to RMP_CS being de-asserted. During an LS interval, I_RAMP increases. In contrast, I_RAMP_PEAK at the second terminal 316 is a peak ramp current value that remains constant. During PFM mode operations, the artificial ramp circuitry 312 is not used, or the values at second terminal 316 and the third terminal 318 may be zero out. In some examples, the artificial ramp circuitry 312 may include an additional input (not shown) coupled to the mode control logic 170A to receive a PFM mode indication for RMP_CS control.
The driver circuitry 184 is configured to: receive PWM_CTRL at its first terminal 186; receive HIZ_CTRL at its second terminal 188; provide CS_HS at its third terminal 190 responsive to PWM_CTRL and HIZ_CTRL; and provide CS_LS at its fourth terminal 192 responsive to PWM_CTRL and HIZ_CTRL. In some examples, the driver circuitry 184 may operate to provide CS_HS and CS_LS responsive PWM_CTRL during PWM mode operations, where PWM_CTRL is based on CLK_SW and VALLEY_COMP. During PFM mode operations, the driver circuitry 184 may operate to provide CS_HS and CS_LS responsive to PWM_CTRL and HIZ_CTRL, where these control signals are based on PFM_PULSE_COMP, VALLEY_COMP and PEAK_COMP. More specifically, during PFM mode operations, there are three power stage state options (HS, LS, and HIZ) and two control signals may be used for control of these different states. During the HIZ state, HS and LS conduction is avoided. In some examples, if HIZ_CTRL is asserted, PFM_PULSE_COMP may be used to transition the power stage from the HIZ state to the HS state responsive to PWM_CTRL and HIZ_CTRL (e.g., PWM_CTRL=1, and HIZ_CTRL=0). During the HS state, inductor current increases and the power stage transitions to the LS state responsive to IL reaching the peak threshold. In such case, PWM_CTRL may be de-asserted. During the LS state (e.g., PWM_CTRL=0, and HIZ_CTRL=0), the inductor current decreases and the power stage transitions to the HIZ state responsive to VALLEY_COMP reaching the ZERO_REF. In such case, HIZ_CTRL is asserted.
In some examples, the controller 148A is configured to: receive VIN from a power supply (e.g., the power supply 102 in
In some examples, the PFM pulse size is selected to achieve good efficiency and to avoid high VOUT ripple or mode bouncing between the PFM and PWM modes. In some examples, the controller 148A is configured to optimize efficiency by entering the PFM mode at light loads (e.g., when the inductor current goes below zero current in the PWM mode). In a light load scenario, the maximum PFM output current is selected to be larger than the load current to avoid mode bounce and VOUT overshoots or undershoots. In other words, the PFM pulse is selected to be larger than the current ripple in the PWM mode. Example conditions that may cause variance in the inductor current ripple in the PWM mode include variances in VIN, VOUT, operating frequency, and inductance of a power stage's inductor (e.g., the inductor 136 in
In some examples, the controller 148A adjusts the PFM pulse peak current value responsive to inductor current ripple in the PWM mode. In some examples, the comparator 398 of the peak control circuitry 158A is used to control the peak current limit in the PWM mode and to define the PFM pulse peak current value in the PFM mode. The peak threshold may be, for example, a valley current level plus an offset. In some examples, the offset is digitally controlled. In the PFM mode, the controller 148A may set the valley current level to zero and the reference level for the PFM peak current value is defined only with the offset. In the PWM mode, the controller 148A uses a fixed frequency valley current mode to regulate VOUT by adapting the valley current level as needed. In steady state, the controller 148A may start the HS period when the comparator 396 of the valley control circuitry 155A triggers. The LS period starts when the comparator 398 of the peak control circuitry 158A triggers or a switch clock rising edge occurs.
In some examples, the controller 148A selects a default value for the offset to define the peak current limit level to be higher than the maximum inductor current ripple in fixed frequency operation. Therefore, the comparator 398 will not trigger at all in steady state when the switching converter operates below the positive current limit and above a light load condition. When the load current goes low enough and the switching converter controller detects the light load condition in PWM mode, the controller 148A decreases the peak comparator reference level by reducing the offset. In some examples, the ripple control signal (or related offset) is reduced until the peak comparator triggers, the ripple control signal (or related offset) saturates to a minimum value, or the light load condition disappears. If the light load condition disappears, the controller 148A cancels PFM mode entry and the peak comparator reference level is set back to a default value. If the peak comparator triggers, the controller 148A increases a DAC value one step and stores the DAC value to a register to define the reference level for the PFM peak current value. In some examples, the DAC and register are included with current control circuitry, such as the current control circuitry 320 of
In some examples, the controller 148A selects the PFM pulse size to be higher (e.g., 400 mA) than the inductor current ripple in the PWM mode by adding an offset to the stored reference value. The offset between the PFM pulse size and the inductor current ripple may be selected, for example, to optimize PFM mode efficiency and to achieve hysteresis between the PWM and PFM mode. In some examples, the controller 148A may control a fixed-frequency buck converter. In such examples, the PFM pulse may be adjusted based on the inductor current ripple in the PWM mode. In other examples, the controller 148A may control an on-time controlled buck converter. In such examples, the on-time of a HS switch (e.g., the HS switch 120 in
In the example of
In the example of
The first terminal 418 of the state machine logic 416 is coupled to the second terminal 174 of the mode control logic 170B. The second terminal 420 of the state machine logic 416 is coupled to the first terminal 172 of the mode control logic 170B. The third terminal 422 of the state machine logic 416 is coupled to the fifth terminal 412 of the switch control logic 402 and to the second terminal 430 of the ripple control logic 426. The fourth terminal 424 of the state machine logic 416 is coupled to the first terminal 428 of the ripple control logic 426. The third terminal 432 of the ripple control logic 426 is coupled to the fourth terminal 178 of the mode control logic 170B.
In the example of
More specifically, the state machine logic 416 is configured to: receive PEAK_COMP at its first terminal 418; receive PFM_ENTRY_COMP at its second terminal 420; provide a PFM mode signal (PFM_MODE) at its third terminal 422 responsive to PEAK_COMP and PFM_ENTRY_COMP; and provide a PFM peak detection signal (PFM_PEAK_DETECTION) at its fourth terminal responsive to PEAK_COMP and PFM_ENTRY COMP.
The ripple control logic 426 is configured to: receive PFM_PEAK_DETECTION at its first terminal 428; receive PFM_MODE at its second terminal 430; and provide the ripple control signal at its third terminal 432 responsive to PFM_PEAK_DETECTION, PFM_MODE, and a timer (e.g., included with the ripple control logic 426). After PFM_MODE is asserted, the ripple control logic 426 lowers the ripple control signal periodically as needed until PFM_PEAK_DETECTION is asserted or PFM mode entry is canceled.
The switch control logic 402 is configured to: receive CLK_SW at its first terminal 404; receive VALLEY_COMP at its second terminal 406; receive PFM_PULSE_COMP at its third terminal 408; receive PEAK_COMP at its fourth terminal 410; receive PFM_MODE at its fifth terminal 412; provide PWM_CTRL at its sixth terminal 414 responsive to CLK_SW, VALLEY_COMP, PFM_MODE, and PEAK_COMP; and provide HIZ_CTRL at its seventh terminal 415 responsive to PFM_PULSE_COMP, PEAK_COMP, VALLEY_COMP, and PFM MODE.
When the LS switch 128 is turned on responsive to LS_CS, the replica switches RLS1 and RLS2 are also turned on. Accordingly, during the LS interval, I_CTRL+I_RAMP are provided as CS5 to the non-inverting (“+”) input of the comparator 396. Also, during the LS interval, I_OFFSET+I_RAMP_PEAK are provided as CS6 to the inverting (“−”) input of the comparator 396. When CS5 goes above CS6, VALLEY_COMP is asserted. Otherwise, VALLEY_COMP is de-asserted.
In an example, if I_OFFSET, I_RAMP and I_RAMP_PEAK are zero, I_CTRL only defines the valley current level. In this example CS5 may be equal to VSW+I_CTRL*RLS*As, where RLS is the resistance of the LS switch 128 when conducting and AS is the sense gain (e.g., 40k) due to the ratio of the LS switch 128 relative to the replica switches RLS1 and RLS2. In contrast, CS6 will be zero in the above example scenario.
If a positive inductor current direction is assumed from the ground terminal 118 to the fifth terminal 116 (or switch node 135), VSW=GND-IIND*RLS, where IIND is the inductor current (e.g., in the inductor 136 in
When the HS switch 120 is turned on responsive to HS_CS, the replica switches RHS1 and RHS2 are also turned on. Accordingly, during the HS interval, I_CTRL is provided as CS7 to the non-inverting (“+”) input of the comparator 398. Also, during the HS interval, I_RIPPLE is provided as CS8 to the inverting (“−”) input of the comparator 398. When CS7 goes above CS8, PEAK_COMP is asserted. Otherwise, PEAK_COMP is de-asserted. As described herein, I_RIPPLE may be adjustable for PWM mode and PFM mode operations as well as to facilitate mode transitions.
As shown, the offset between the peak threshold and the valley threshold is maintained as the valley threshold falls from time T0 to time T1. This offset is adjustable, for example, using the ripple control signal (e.g., CS4 or SEL_I_RIPPLE herein). During the PWM mode, the comparator of the peak control circuitry (e.g., the comparator 398 in
In the example of
At time T6, I_CTRL reaches the peak threshold, resulting in PEAK_COMP being triggered and PFM_MODE being asserted. After time T6, the controller operates in PFM mode, where the offset between the valley threshold and the peak threshold is adjusted. In the PFM mode, CLK_SW may be turned off and I_CTRL reaching the peak threshold (i.e., PEAK_COMP being triggered) is used to control the PFM pulse peak current level. In some examples, the peak threshold during the PFM mode may be based on the previous peak threshold value (e.g., at time T5) in the PWM mode plus an offset. The offset is optional. For the PFM mode, the valley threshold may set to zero and the peak threshold may be set at time T5 or at time T5 plus an offset.
In some examples, the method 800 may include: receiving a VSW from the power stage; receiving an VIN from a power supply; and estimating the inductor current of the power stage responsive to the VIN, VSW, and ground. Specifically, the HS current is monitored using VIN and VSW, while the LS current is monitored using VSW and ground. In some examples, the method 800 may include: providing a first comparison result responsive to the sensed inductor current and the valley threshold; using the first comparison result to control PWM mode switching; providing a second comparison responsive to the sensed inductor current and the peak threshold; and using the second comparison result to control PFM mode switching. In some examples, the method 800 may include: generating a ripple control signal responsive to the second comparison result and the light load condition signal; and periodically reduce the ripple control until the second comparison result indicates the sensed inductor current reaches the peak threshold.
In this description, the term “couple” may cover connections, communications, or signal paths that enable a functional relationship consistent with this description. For example, if device A generates a signal to control device B to perform an action: (a) in a first example, device A is coupled to device B by direct connection; or (b) in a second example, device A is coupled to device B through intervening component C if intervening component C does not alter the functional relationship between device A and device B, such that device B is controlled by device A via the control signal generated by device A.
Also, in this description, the recitation “based on” means “based at least in part on.” Therefore, if X is based on Y, then X may be a function of Y and any number of other factors.
A device “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or reconfigurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.
As used herein, the terms “terminal”, “node”, “interconnection”, “pin” and “lead” are used interchangeably. Unless specifically stated to the contrary, these terms are generally used to mean an interconnection between or a terminus of a device element, a circuit element, an integrated circuit, a device or other electronics or semiconductor component and/or a conductor.
A circuit or device described herein as including certain components may instead be adapted to be coupled to those components to form the described circuitry or device. For example, a structure described as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors, and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be adapted to be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, for example, by an end-user and/or a third-party.
While the use of particular transistors is described herein, other transistors (or equivalent devices) may be used instead with little or no change to the remaining circuitry. For example, a field-effect transistor (“FET”) such as an NFET or a PFET, a bipolar junction transistor (BJT—e.g., NPN transistor or PNP transistor), an insulated gate bipolar transistor (IGBT), and/or a junction field effect transistor (JFET) may be used in place of or in conjunction with the devices described herein. The transistors may be depletion mode devices, drain-extended devices, enhancement mode devices, natural transistors or other types of device structure transistors. Furthermore, the devices may be implemented in/over a silicon substrate (Si), a silicon carbide substrate (SiC), a gallium nitride substrate (GaN) or a gallium arsenide substrate (GaAs).
References may be made in the claims to a transistor's control terminal and its first and second terminals. In the context of a FET, the control terminal is the gate, and the first and second terminals are the drain and source. In the context of a BJT, the control terminal is the base, and the first and second terminals are the collector and emitter.
References herein to a FET being “ON” means that the conduction channel of the FET is present and drain current may flow through the FET. References herein to a FET being “OFF” means that the conduction channel is not present so drain current does not flow through the FET. An “OFF” FET, however, may have current flowing through the transistor's body-diode.
Circuits described herein are reconfigurable to include additional or different components to provide functionality at least partially similar to functionality available prior to the component replacement. Components shown as resistors, unless otherwise stated, are generally representative of any one or more elements coupled in series and/or parallel to provide an amount of impedance represented by the resistor shown. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in parallel between the same nodes. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in series between the same two nodes as the single resistor or capacitor.
While certain elements of the described examples are included in an integrated circuit and other elements are external to the integrated circuit, in other examples, additional or fewer features may be incorporated into the integrated circuit. In addition, some or all of the features illustrated as being external to the integrated circuit may be included in the integrated circuit and/or some features illustrated as being internal to the integrated circuit may be incorporated outside of the integrated circuit. As used herein, the term “integrated circuit” means one or more circuits that are: (i) incorporated in/over a semiconductor substrate; (ii) incorporated in a single semiconductor package; (iii) incorporated into the same module; and/or (iv) incorporated in/on the same printed circuit board.
Uses of the phrase “ground” in the foregoing description include a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground, and/or any other form of ground connection applicable to, or suitable for, the teachings of this description. In this description, unless otherwise stated, “about,” “approximately” or “substantially” preceding a parameter means being within +/−10 percent of that parameter or, if the parameter is zero, a reasonable range of values around zero.
Modifications are possible in the described examples, and other examples are possible, within the scope of the claims.