US20170110961A1 - DC-to-DC Output Current Sensing - Google Patents
DC-to-DC Output Current Sensing Download PDFInfo
- Publication number
- US20170110961A1 US20170110961A1 US14/883,118 US201514883118A US2017110961A1 US 20170110961 A1 US20170110961 A1 US 20170110961A1 US 201514883118 A US201514883118 A US 201514883118A US 2017110961 A1 US2017110961 A1 US 2017110961A1
- Authority
- US
- United States
- Prior art keywords
- buck converter
- voltage
- pmos
- current
- pass transistor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000005259 measurement Methods 0.000 claims description 22
- 238000005070 sampling Methods 0.000 claims description 22
- 230000007774 longterm Effects 0.000 claims description 12
- 238000009825 accumulation Methods 0.000 claims description 6
- 239000003990 capacitor Substances 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 3
- 238000001914 filtration Methods 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of DC power input into DC power output
- H02M3/02—Conversion of DC power input into DC power output without intermediate conversion into AC
- H02M3/04—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters
- H02M3/10—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
- H02M3/145—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
- H02M3/155—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/156—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of DC power input into DC power output
- H02M3/02—Conversion of DC power input into DC power output without intermediate conversion into AC
- H02M3/04—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters
- H02M3/10—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
- H02M3/145—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
- H02M3/155—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/156—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
- H02M3/158—Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators including plural semiconductor devices as final control devices for a single load
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0092—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/10—Measuring sum, difference or ratio
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0003—Details of control, feedback or regulation circuits
- H02M1/0009—Devices or circuits for detecting current in a converter
Definitions
- This disclosure relates generally to DC-to-DC converters and relates specifically to a method to measure output current in buck converters operating in pulse frequency modulation (PFM) mode and in pulse width modulation (PWM) mode.
- PFM pulse frequency modulation
- PWM pulse width modulation
- Buck converters typically run in one of two modes: PFM (pulse frequency modulation) or PWM (pulse width modulation).
- PFM mode is typically used for low load currents.
- PFM mode the buck turns on a PMOS high-side switch when the output voltage falls below a reference voltage.
- the PMOS high-side switch is then turned off when the current in the coil reaches a threshold value (sleep current limit).
- a NMOS low-side switch is turned on when the PMOS high-side switch is turned off.
- the NMOS low-side switch is then turned off when the current in the coil is fully discharged.
- PFM mode is typically not used for large currents as the current limit is normally set low to maximize efficiency.
- buck converters There is a general requirement for buck converters to have the output current measured—this measurement is often needed by the system in which the converter is integrated. Typically a buck only measures current only either on the PMOS or the NMOS. This means that the output current may only be measured either when the PMOS is on, or when the NMOS is on, and not all the time.
- a prior art sensing scheme is as follows: an LX voltage at a coil terminal is sensed during on-time of the PMOS high side-switch. The voltage is averaged over this time and, when the NMOS low-side switch is on, this average voltage is sampled instead of the LX voltage. Then the current is calculated from this sense voltage.
- the current waveform takes the form of a series of triangular pulses, with large periods of no-current between them.
- the average current will be much too high, as during a large period the coil current is actually zero.
- a principal object of the present disclosure is to measure an output current of a buck converter during operating in continuous mode PWM as well as in discontinuous mode PFM.
- a further object of the present disclosure is to achieve a buck converter which samples the output current on one pass device only.
- the buck converter disclosed firstly comprises: a main output stage comprising a PMOS pass transistor and an NMOS pass transistor both connected in series, wherein the PMOS pass transistor is connected to supply voltage VDD and a gate of the PMOS pass transistor is connected to a gate of a transistor of a first circuit branch, and the NMOS pass transistor is connected to ground, a coil, wherein a first terminal of the coil is connected to a mid-node between the PMOS pass transistor and the NMOS pass transistor and a second terminal of the coil is connected to an output port of the buck converter, and an output capacitor connected between the output port and ground.
- the buck converter comprises said first circuit branch, configured to generating a first reference current comprising a first PMOS device, which is scaled to the PMOS pass transistor and to providing via a first voltage node a voltage representing an output current limit of the buck converter, a second circuit branch, configured to generating a second reference current, which is scaled to the first reference current, comprising a second PMOS device, which is scaled relative the first PMOS device, and to providing a second voltage node to be sampled in PFM mode, whenever either the PMOS pass device or the NMOS pass device is on, and a switch, wherein a first terminal of the switch may contact three contact points and a second terminal of the switch is connected to a filter, wherein a first contact point is connected to the second voltage node, a second contact point is connected to the mid-node between the PMOS pass transistor and the NMOS pass transistor, and a third contact point is connected to supply voltage, wherein the switch is configured in PFM mode to either sampling via the first contact point the second voltage
- a method for output current measurement of a buck converter in CCM PWM mode as well as in DCM PFM mode comprises, firstly, the steps of: (1) providing a buck converter operating in PWM mode or in PFM mode, comprising a PMOS and an NMOS pass transistor connected in series between VDD voltage and ground and a coil connected between a midpoint between both pass transistors and an output port of the buck converter, and a filter, (2) creating a voltage representing an output current limit reference against which a voltage at the midpoint is compared, and (3) creating a dummy midpoint voltage which is sampled to provide an average output current during an output current pulse.
- the method disclosed comprises the steps of (4) checking if buck converter is in PWM mode and, if it so, sample by a switch between a mid-point voltage between both pass transistors or being connected to open circuit and pass the sampling result through the filter to get a long-term average of the output current and repeat step (4), else go to step 5, and (5) checking if buck converter is in PFM mode and, if it so, sample by a switch between the dummy midpoint voltage and supply voltage and pass the sampling result through the filter to get a long-term average of the output current and go to step 4.
- a method for digital output current measurement of a buck converter in CCM PWM mode as well as in DCM PFM mode comprises, firstly, the steps of: (1) providing a buck converter operating in PWM mode or in PFM mode, comprising a PMOS and an NMOS pass transistor connected in series between VDD voltage and ground and a coil connected between a midpoint between both pass transistors and an output port of the buck converter, a filter, and a digital controller and (2) measuring during on-time of the PMOS pass transistor the output current of the buck converter.
- the method disclosed comprises the steps of: (3) accumulating the measurement results during on-time of the PMOS pass transistor by the digital controller and adding to the accumulation a constant value equal to half of the sleep current limit value during on-time of the NMOS pass transistor wherein this constant value is identified by peak detection on the PMOS measurement in PFM mode, and (4) achieving a complete measurement of the output current of the buck converter in PWM and PFM mode by adding to the accumulation also zero codes for times when both PMOS and NMOS pass transistors are off.
- FIG. 1 shows an exemplary circuit of the buck converter disclosed.
- FIG. 2 show time charts of the coil current with the true long-term average indicated and of the pulses that would be used instead of sampling the actual LX voltage.
- FIG. 3 shows three time chart traces of the voltage at the LX node, of the current through the coil Lout and the position of switch S 1 during the various phases.
- FIG. 4 depicts a flowchart of a method to measure an output current of a buck converter during DCM PFM mode and CCM PWM mode.
- FIG. 5 depicts a flowchart of the method to measure digitally an output current of a buck converter during DCM PFM mode and CCM PWM mode.
- FIG. 6 a illustrates an alternative embodiment of the disclosure wherein the gate of device P 2 is controlled so that P 2 is either always on whenever the NMOS pass transistor is on
- FIG. 6 b shows time charts of the current through the coil Icoil and the current sensed Isense in case of the PFM mode during different phases
- the buck converter may be implemented in a Power Management Integrated Circuit (PMIC).
- PMIC Power Management Integrated Circuit
- FIG. 1 shows an exemplary circuit of the buck converter disclosed.
- the current in the coil Lout is charged up linearly to a current limit, the PMOS pass transistor 1 is then turned off and the current through the coil Lout falls linearly until the coil Lout is completely discharged. The current then remains zero until the cycle is restarted.
- the pass devices PMOS 1 and NMOS 2 are connected to the coil Lout and to the output capacitor Cout.
- Device P 1 and P 2 Two scaled matched devices P 1 and P 2 are shown.
- Device P 1 and the bias current I 1 are used to create the current limit reference, against which the voltage at node LX is compared with the voltage drop across the device P 1 .
- the scaled device P 2 and current I 2 are then used to generate a dummy LX voltage, that is the voltage across device P 2 , which is sampled to give the average current during the output current pulse.
- This circuit is arranged so that either device P 2 is twice as wide as device P 1 or current I 2 is half that of current I 1 .
- the gate of P 2 is controlled in a way that it is either always on or that it is on whenever the NMOS pass transistor is on.
- the switch S 1 In PWM mode the switch S 1 is either sampling LX or is connected to open-circuit. In PFM mode the switch S 1 is either sampling the drain voltage of P 2 or is connected to supply voltage (or is connected alternatively to the drain voltage of P 2 while current I 2 is not sampling). Current I 2 is left on all the time for setting purposes but I 2 is not sampling when the NMOS is off.
- a filter 3 connected to the node Vsense, then creates the long-term average.
- a state machine controls if the system operates in PFM or in PWM mode.
- the average current is half the peak current because the coil current is triangular, and the average current through the coil Lout can be accurately described by a pulse of half the peak current for the duration of both the PMOS and NMOS on-times.
- the long term average output current is then the long term average of this rectangular pulse over several cycles. This can be achieved using a simple, long-time-constant low-pass filter.
- the half-peak-current pulse can be easily re-created inside the buck converter.
- the current limit is e.g. implemented inside the buck converter by providing the scaled reference PMOS device P 1 , through which a reference current is passed. The LX voltage is then directly compared to the voltage across this scaled device P 1 . When the LX voltage falls below this reference voltage across device P 1 , the current limit is reached and the PMOS is turned off.
- the disclosure therefore proposes to provide the second scaled reference PMOS device P 2 , to match the device P 1 that creates the current limit.
- a reference current I 2 matched to current I 1 is used to create the current limit and flows through this second scaled device P 2 .
- Either the scaled device P 2 has twice the effective width of the current limit device P 1 , or the matched current I 2 is half of current I 1 .
- device P 2 should be 50% larger than device P 1 .
- the device P 2 needs to be larger than device P 1 so that the voltage drop across device P 2 is half the voltage drop of device P 1 .
- the device P 2 has not to be 50% larger than device P 1 , e.g. 30-40% larger. Since the voltage drop across device P 2 should be half the voltage drop across device P 1 —so either device P 2 having 2 ⁇ the width of P 1 (with currents I 1 and I 2 being the same) or having both devices P 1 and P 2 the same size and having current I 2 half of the amount of current I 1 .
- the gate of device P 2 is controlled so that P 2 is either always on, when the switch S 1 is sampling its drain voltage, or that it is on whenever the NMOS pass transistor is on in another embodiment as shown in FIG. 6 .
- FIG. 6 a shows a time chart of the current through the PMOS pass transistor wherein the actual current 60 through the PMOS pass transistor is measured.
- the current value is only an estimate.
- the estimate during the NMOS pass transistor on-time has nothing to do with the measured value during the PMOS pass transistor on-time. Instead we use half the current limit value. It is known that the current in the coil must be linear, it must start at the current limit value (because that is when we would have turned off the PMOS pass transistor) and must end at zero (because the current hits zero in this mode). So the mathematical mean value must be half the current limit value. As the current limit information internally is known, we can use this knowledge to estimate the average current during the NMOS on-time. Consequently the device P 2 is ON whenever the NMOS pass transistor is ON.
- switch S 1 In PWM mode the switch S 1 is either sampling LX node or is open-circuit. The open circuit position 4 is shown in FIG. 1 . Alternatively switch S 1 may be in PWM mode left attached to LX node or to open circuit.
- the switch S 1 is either sampling the drain voltage of P 2 , whenever the NMOS or the PMOS pass transistor is on, or is connected to supply voltage VDD when none of the pass transistors is on, hence creating the rectangular pulses that equal the average current in the coil.
- the drain voltage of P 2 can be used, while current I 2 is turned ON/OFF.
- FIG. 6 b shows time charts of the current through the coil Icoil and the current sensed sense in case of the PFM mode during different phases (PMOS is on, NMOS is on, neither pass device is on—HIZ).
- S 1 selects whether the circuit is measuring the drop across the PMOS pass transistor (the actual coil current if the PMOS pass transistor is on), the estimated coil current (a static estimate of half the current limit value) or the supply voltage (which is equivalent to zero current).
- the circuit When neither pass-device is on (when the output is high impedance “Hiz” and the output current is zero) the circuit must sample a zero value. It can do this in one of two ways. The first is to sample the supply voltage. This can be done by setting se switch S 1 to the top connection and sampling the supply directly. The other way is to set the current I 2 to zero. As the PMOS P 2 is held on, this is essentially the same thing. With no current through P 2 there is no voltage drop across P 2 and the voltage on its drain is the same as supply.
- Trace 20 shows the coil current, with the true long-term average 21 indicated.
- Trace 22 shows the pulses that would be used instead of sampling the actual LX voltage.
- the coil current, correspondent to trace 20 is also shown by dotted line in order to demonstrate the conversion of the triangle shaped current wave to the rectangular pulses of trace 22 .
- FIG. 4 depicts a flowchart of a method to measure an output current of a buck converter during DCM PFM mode and CCM PWM mode.
- a first step 40 depicts provision of a buck converter operating in PWM mode or in PFM mode, comprising a PMOS and an NMOS pass transistor connected in series between VDD voltage and ground and a coil connected between a midpoint between both pass transistors and an output port of the buck converter, and a filter.
- the next step 41 shows creating a voltage representing an output current limit reference against which a voltage at the midpoint is compared.
- Step 42 describes creating a dummy midpoint voltage which is sampled to provide an average output current during an output current pulse.
- Step 43 illustrates checking if buck converter is in PWM mode and, if it so, sample by a switch between the midpoint voltage and open circuit and pass the sampling result through the filter to get a long-term average of the output current and repeat step 43 , else go to step 44 .
- the last step 44 depicts checking if buck converter is in PFM mode and, if it so, sample by a switch between the dummy midpoint voltage and supply voltage and pass the sampling result through the filter to get a long-term average of the output current and go to step 43 .
- the method disclosed may be digitally implemented.
- the current through the PMOS pass transistor would be measured on-time using an analog-to digital converter (ADC).
- ADC analog-to digital converter
- This current measurement would then be digitally accumulated, and a constant value equal to half of the sleep current limit value during the NMOS on-time would be used.
- This constant value could be identified by peak-detect on the PMOS measurement in PFM.
- the digital control would also accumulate a zero code for times when the PMOS and NMOS are both off.
- FIG. 3 shows three time chart traces of the voltage at the LX node, of the current through the coil Lout and the position of switch S 1 during the various phases.
- FIG. 5 depicts a flowchart of the method to measure digitally an output current of a buck converter during DCM PFM mode and CCM PWM mode.
- a first step 50 depicts provision of a buck converter operating in PWM mode or in PFM mode, comprising a PMOS and an NMOS pass transistor connected in series between VDD voltage and ground and a coil connected between a midpoint between both pass transistors and an output port of the buck converter, a filter, and a digital controller.
- the next step 51 shows measuring during on-time of the PMOS pass transistor the output current of the buck converter.
- Step 52 illustrates accumulating the measurement results during on-time of the PMOS pass transistor by the digital controller and adding to the accumulation a constant value equal to half of the sleep current limit value during on-time of the NMOS pass transistor wherein this constant value is identified by peak detection on the PMOS measurement in PFM mode.
- the last step 53 depicts achieving a complete measurement of the output current of the buck converter in PWM and PFM mode by adding to the accumulation also zero codes for times when both PMOS and NMOS pass transistors are off.
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Dc-Dc Converters (AREA)
Abstract
Description
- This disclosure relates generally to DC-to-DC converters and relates specifically to a method to measure output current in buck converters operating in pulse frequency modulation (PFM) mode and in pulse width modulation (PWM) mode.
- Buck converters typically run in one of two modes: PFM (pulse frequency modulation) or PWM (pulse width modulation).
- PFM mode is typically used for low load currents. In PFM mode the buck turns on a PMOS high-side switch when the output voltage falls below a reference voltage. The PMOS high-side switch is then turned off when the current in the coil reaches a threshold value (sleep current limit). A NMOS low-side switch is turned on when the PMOS high-side switch is turned off. The NMOS low-side switch is then turned off when the current in the coil is fully discharged. PFM mode is typically not used for large currents as the current limit is normally set low to maximize efficiency.
- There is a general requirement for buck converters to have the output current measured—this measurement is often needed by the system in which the converter is integrated. Typically a buck only measures current only either on the PMOS or the NMOS. This means that the output current may only be measured either when the PMOS is on, or when the NMOS is on, and not all the time.
- In prior art the output current of buck converters is measured in PWM mode only. A prior art sensing scheme is as follows: an LX voltage at a coil terminal is sensed during on-time of the PMOS high side-switch. The voltage is averaged over this time and, when the NMOS low-side switch is on, this average voltage is sampled instead of the LX voltage. Then the current is calculated from this sense voltage.
- This current calculation is valid and no error is introduced in PWM mode. A long-term average of this current sense waveform correctly averages the output current of the buck.
- The scheme discussed above does NOT apply during discontinuous PFM mode. Here the current waveform takes the form of a series of triangular pulses, with large periods of no-current between them.
- If the average is taken during the PMOS on time, and is it then assumed whenever the PMOS is off, the average current will be much too high, as during a large period the coil current is actually zero.
- Other schemes can be created where the current is sampled during the PMOS on-time, zero current is sampled during the time when neither pass-device is on, and then the average is used during the NMOS on-time. These schemes either add an error during the NMOS on-time, or are complex to implement.
- In general, measuring the output current in DCM PFM is not practical with existing solutions.
- It is a challenge to designers of DC-to-DC converters to find a method to measure the output current of a buck converter during PFM mode.
- A principal object of the present disclosure is to measure an output current of a buck converter during operating in continuous mode PWM as well as in discontinuous mode PFM.
- A further object of the present disclosure is to achieve a buck converter which samples the output current on one pass device only.
- In accordance with the objects of this disclosure a buck converter enabled for output current measurement in CCM PWM mode as well as in DCM PFM mode has been achieved. The buck converter disclosed firstly comprises: a main output stage comprising a PMOS pass transistor and an NMOS pass transistor both connected in series, wherein the PMOS pass transistor is connected to supply voltage VDD and a gate of the PMOS pass transistor is connected to a gate of a transistor of a first circuit branch, and the NMOS pass transistor is connected to ground, a coil, wherein a first terminal of the coil is connected to a mid-node between the PMOS pass transistor and the NMOS pass transistor and a second terminal of the coil is connected to an output port of the buck converter, and an output capacitor connected between the output port and ground. Furthermore the buck converter comprises said first circuit branch, configured to generating a first reference current comprising a first PMOS device, which is scaled to the PMOS pass transistor and to providing via a first voltage node a voltage representing an output current limit of the buck converter, a second circuit branch, configured to generating a second reference current, which is scaled to the first reference current, comprising a second PMOS device, which is scaled relative the first PMOS device, and to providing a second voltage node to be sampled in PFM mode, whenever either the PMOS pass device or the NMOS pass device is on, and a switch, wherein a first terminal of the switch may contact three contact points and a second terminal of the switch is connected to a filter, wherein a first contact point is connected to the second voltage node, a second contact point is connected to the mid-node between the PMOS pass transistor and the NMOS pass transistor, and a third contact point is connected to supply voltage, wherein the switch is configured in PFM mode to either sampling via the first contact point the second voltage node or to being connected via the third contact point to the supply voltage and in PWM mode either sampling via the second contact point the mid-node voltage between the PMOS pass transistor and the NMOS pass transistor or being connected to open circuit, wherein the buck converter is configured to switch the PMOS pass transistor off when an output current through the coil reaches a maximum current limit, which is indicated by the first voltage node, and then the current through the coil falls linearly until the coil is completely discharged.
- In accordance with the objects of this disclosure a method for output current measurement of a buck converter in CCM PWM mode as well as in DCM PFM mode has been achieved. The method disclosed comprises, firstly, the steps of: (1) providing a buck converter operating in PWM mode or in PFM mode, comprising a PMOS and an NMOS pass transistor connected in series between VDD voltage and ground and a coil connected between a midpoint between both pass transistors and an output port of the buck converter, and a filter, (2) creating a voltage representing an output current limit reference against which a voltage at the midpoint is compared, and (3) creating a dummy midpoint voltage which is sampled to provide an average output current during an output current pulse. Furthermore the method disclosed comprises the steps of (4) checking if buck converter is in PWM mode and, if it so, sample by a switch between a mid-point voltage between both pass transistors or being connected to open circuit and pass the sampling result through the filter to get a long-term average of the output current and repeat step (4), else go to step 5, and (5) checking if buck converter is in PFM mode and, if it so, sample by a switch between the dummy midpoint voltage and supply voltage and pass the sampling result through the filter to get a long-term average of the output current and go to step 4.
- In accordance with the objects of this disclosure a method for digital output current measurement of a buck converter in CCM PWM mode as well as in DCM PFM mode has been achieved. The method disclosed comprises, firstly, the steps of: (1) providing a buck converter operating in PWM mode or in PFM mode, comprising a PMOS and an NMOS pass transistor connected in series between VDD voltage and ground and a coil connected between a midpoint between both pass transistors and an output port of the buck converter, a filter, and a digital controller and (2) measuring during on-time of the PMOS pass transistor the output current of the buck converter. Furthermore the method disclosed comprises the steps of: (3) accumulating the measurement results during on-time of the PMOS pass transistor by the digital controller and adding to the accumulation a constant value equal to half of the sleep current limit value during on-time of the NMOS pass transistor wherein this constant value is identified by peak detection on the PMOS measurement in PFM mode, and (4) achieving a complete measurement of the output current of the buck converter in PWM and PFM mode by adding to the accumulation also zero codes for times when both PMOS and NMOS pass transistors are off.
- In the accompanying drawings forming a material part of this description, there is shown:
-
FIG. 1 shows an exemplary circuit of the buck converter disclosed. -
FIG. 2 show time charts of the coil current with the true long-term average indicated and of the pulses that would be used instead of sampling the actual LX voltage. -
FIG. 3 shows three time chart traces of the voltage at the LX node, of the current through the coil Lout and the position of switch S1 during the various phases. -
FIG. 4 depicts a flowchart of a method to measure an output current of a buck converter during DCM PFM mode and CCM PWM mode. -
FIG. 5 depicts a flowchart of the method to measure digitally an output current of a buck converter during DCM PFM mode and CCM PWM mode. -
FIG. 6a illustrates an alternative embodiment of the disclosure wherein the gate of device P2 is controlled so that P2 is either always on whenever the NMOS pass transistor is on -
FIG. 6b shows time charts of the current through the coil Icoil and the current sensed Isense in case of the PFM mode during different phases - Disclosed are embodiments of methods and circuits to measure an output current of a buck converter during continuous mode operation and discontinuous mode operation. It should be noted that the method disclosed is applicable to voltage controlled buck converters as well as to current controlled buck converters.
- The buck converter may be implemented in a Power Management Integrated Circuit (PMIC).
-
FIG. 1 shows an exemplary circuit of the buck converter disclosed. The current in the coil Lout is charged up linearly to a current limit, thePMOS pass transistor 1 is then turned off and the current through the coil Lout falls linearly until the coil Lout is completely discharged. The current then remains zero until the cycle is restarted. - The
pass devices PMOS 1 andNMOS 2 are connected to the coil Lout and to the output capacitor Cout. - Two scaled matched devices P1 and P2 are shown. Device P1 and the bias current I1 are used to create the current limit reference, against which the voltage at node LX is compared with the voltage drop across the device P1.
- The scaled device P2 and current I2 are then used to generate a dummy LX voltage, that is the voltage across device P2, which is sampled to give the average current during the output current pulse. This circuit is arranged so that either device P2 is twice as wide as device P1 or current I2 is half that of current I1.
- The gate of P2 is controlled in a way that it is either always on or that it is on whenever the NMOS pass transistor is on.
- In PWM mode the switch S1 is either sampling LX or is connected to open-circuit. In PFM mode the switch S1 is either sampling the drain voltage of P2 or is connected to supply voltage (or is connected alternatively to the drain voltage of P2 while current I2 is not sampling). Current I2 is left on all the time for setting purposes but I2 is not sampling when the NMOS is off.
- A filter 3, connected to the node Vsense, then creates the long-term average.
- It should be noted that a state machine controls if the system operates in PFM or in PWM mode.
- The average current is half the peak current because the coil current is triangular, and the average current through the coil Lout can be accurately described by a pulse of half the peak current for the duration of both the PMOS and NMOS on-times. The long term average output current is then the long term average of this rectangular pulse over several cycles. This can be achieved using a simple, long-time-constant low-pass filter.
- As the peak current is known, and is equal to the current limit, the half-peak-current pulse can be easily re-created inside the buck converter.
- The current limit is e.g. implemented inside the buck converter by providing the scaled reference PMOS device P1, through which a reference current is passed. The LX voltage is then directly compared to the voltage across this scaled device P1. When the LX voltage falls below this reference voltage across device P1, the current limit is reached and the PMOS is turned off.
- The disclosure therefore proposes to provide the second scaled reference PMOS device P2, to match the device P1 that creates the current limit. A reference current I2, matched to current I1 is used to create the current limit and flows through this second scaled device P2. Either the scaled device P2 has twice the effective width of the current limit device P1, or the matched current I2 is half of current I1. In a preferable embodiment of the disclosure device P2 should be 50% larger than device P1.
- The device P2 needs to be larger than device P1 so that the voltage drop across device P2 is half the voltage drop of device P1. The device P2 has not to be 50% larger than device P1, e.g. 30-40% larger. Since the voltage drop across device P2 should be half the voltage drop across device P1—so either device P2 having 2×the width of P1 (with currents I1 and I2 being the same) or having both devices P1 and P2 the same size and having current I2 half of the amount of current I1.
- The gate of device P2 is controlled so that P2 is either always on, when the switch S1 is sampling its drain voltage, or that it is on whenever the NMOS pass transistor is on in another embodiment as shown in
FIG. 6 . -
FIG. 6a shows a time chart of the current through the PMOS pass transistor wherein the actual current 60 through the PMOS pass transistor is measured. - It should be noted that he measurement during the PMOS on-time is done directly by measuring the voltage drop across the PMOS pass transistor. During the NMOS pass transistor on-time the current value is only an estimate. However, the estimate during the NMOS pass transistor on-time has nothing to do with the measured value during the PMOS pass transistor on-time. Instead we use half the current limit value. It is known that the current in the coil must be linear, it must start at the current limit value (because that is when we would have turned off the PMOS pass transistor) and must end at zero (because the current hits zero in this mode). So the mathematical mean value must be half the current limit value. As the current limit information internally is known, we can use this knowledge to estimate the average current during the NMOS on-time. Consequently the device P2 is ON whenever the NMOS pass transistor is ON.
- In PWM mode the switch S1 is either sampling LX node or is open-circuit. The open circuit position 4 is shown in
FIG. 1 . Alternatively switch S1 may be in PWM mode left attached to LX node or to open circuit. - In PFM mode the switch S1 is either sampling the drain voltage of P2, whenever the NMOS or the PMOS pass transistor is on, or is connected to supply voltage VDD when none of the pass transistors is on, hence creating the rectangular pulses that equal the average current in the coil. Alternatively, instead of connecting to supply voltage VDD, the drain voltage of P2 can be used, while current I2 is turned ON/OFF.
-
FIG. 6b shows time charts of the current through the coil Icoil and the current sensed sense in case of the PFM mode during different phases (PMOS is on, NMOS is on, neither pass device is on—HIZ). S1 selects whether the circuit is measuring the drop across the PMOS pass transistor (the actual coil current if the PMOS pass transistor is on), the estimated coil current (a static estimate of half the current limit value) or the supply voltage (which is equivalent to zero current). When neither pass-device is on (when the output is high impedance “Hiz” and the output current is zero) the circuit must sample a zero value. It can do this in one of two ways. The first is to sample the supply voltage. This can be done by setting se switch S1 to the top connection and sampling the supply directly. The other way is to set the current I2 to zero. As the PMOS P2 is held on, this is essentially the same thing. With no current through P2 there is no voltage drop across P2 and the voltage on its drain is the same as supply. - The time charts of
FIG. 2 show the method disclosed.Trace 20 shows the coil current, with the true long-term average 21 indicated.Trace 22 shows the pulses that would be used instead of sampling the actual LX voltage. The coil current, correspondent to trace 20, is also shown by dotted line in order to demonstrate the conversion of the triangle shaped current wave to the rectangular pulses oftrace 22. - After filtering the pulses of
trace 22 with a long time-constant, an average current measurement in DCM PFM mode is available. -
FIG. 4 depicts a flowchart of a method to measure an output current of a buck converter during DCM PFM mode and CCM PWM mode. A first step 40 depicts provision of a buck converter operating in PWM mode or in PFM mode, comprising a PMOS and an NMOS pass transistor connected in series between VDD voltage and ground and a coil connected between a midpoint between both pass transistors and an output port of the buck converter, and a filter. Thenext step 41 shows creating a voltage representing an output current limit reference against which a voltage at the midpoint is compared.Step 42 describes creating a dummy midpoint voltage which is sampled to provide an average output current during an output current pulse.Step 43 illustrates checking if buck converter is in PWM mode and, if it so, sample by a switch between the midpoint voltage and open circuit and pass the sampling result through the filter to get a long-term average of the output current andrepeat step 43, else go to step 44. Thelast step 44 depicts checking if buck converter is in PFM mode and, if it so, sample by a switch between the dummy midpoint voltage and supply voltage and pass the sampling result through the filter to get a long-term average of the output current and go to step 43. - The method disclosed may be digitally implemented. In one embodiment of this digitally implemented method the current through the PMOS pass transistor would be measured on-time using an analog-to digital converter (ADC). This current measurement would then be digitally accumulated, and a constant value equal to half of the sleep current limit value during the NMOS on-time would be used. This constant value could be identified by peak-detect on the PMOS measurement in PFM. The digital control would also accumulate a zero code for times when the PMOS and NMOS are both off.
FIG. 3 shows three time chart traces of the voltage at the LX node, of the current through the coil Lout and the position of switch S1 during the various phases. -
FIG. 5 depicts a flowchart of the method to measure digitally an output current of a buck converter during DCM PFM mode and CCM PWM mode. Afirst step 50 depicts provision of a buck converter operating in PWM mode or in PFM mode, comprising a PMOS and an NMOS pass transistor connected in series between VDD voltage and ground and a coil connected between a midpoint between both pass transistors and an output port of the buck converter, a filter, and a digital controller. Thenext step 51 shows measuring during on-time of the PMOS pass transistor the output current of the buck converter.Step 52 illustrates accumulating the measurement results during on-time of the PMOS pass transistor by the digital controller and adding to the accumulation a constant value equal to half of the sleep current limit value during on-time of the NMOS pass transistor wherein this constant value is identified by peak detection on the PMOS measurement in PFM mode. The last step 53 depicts achieving a complete measurement of the output current of the buck converter in PWM and PFM mode by adding to the accumulation also zero codes for times when both PMOS and NMOS pass transistors are off. - While the disclosure has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the disclosure.
Claims (21)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/883,118 US9634569B1 (en) | 2015-10-14 | 2015-10-14 | DC-to-DC output current sensing |
| DE102015222584.4A DE102015222584A1 (en) | 2015-10-14 | 2015-11-16 | DC-DC output current detection |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/883,118 US9634569B1 (en) | 2015-10-14 | 2015-10-14 | DC-to-DC output current sensing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20170110961A1 true US20170110961A1 (en) | 2017-04-20 |
| US9634569B1 US9634569B1 (en) | 2017-04-25 |
Family
ID=58456657
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/883,118 Active 2035-12-16 US9634569B1 (en) | 2015-10-14 | 2015-10-14 | DC-to-DC output current sensing |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US9634569B1 (en) |
| DE (1) | DE102015222584A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20220341973A1 (en) * | 2021-04-21 | 2022-10-27 | Cirrus Logic International Semiconductor Ltd. | Temperature-insensitive current sensing for power stage |
| CN116298491A (en) * | 2023-05-11 | 2023-06-23 | 昆山迈致治具科技有限公司 | A Pulsed DC Current Measurement Method Applied to Display Backlight Current Detection |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6329801B1 (en) * | 2000-04-24 | 2001-12-11 | Volterra Semiconductor Corporation | Switching regulator control system and method |
| US20050116697A1 (en) * | 2003-11-27 | 2005-06-02 | Masahiro Matsuo | Method and apparatus for power supply controlling capable of effectively controlling switching operations |
| US20060125454A1 (en) * | 2004-12-10 | 2006-06-15 | Tien-Tzu Chen | Switching voltage regulator operating without a discontinuous mode |
| US20080061758A1 (en) * | 2006-09-12 | 2008-03-13 | Junji Nishida | Switching regulator, control circuit of switching regulator, and method of controlling operation of switching regulator |
| US20090322299A1 (en) * | 2008-04-09 | 2009-12-31 | Ricoh Company, Ltd. | Non-isolated current-mode-controlled switching voltage regulator |
| US20110309815A1 (en) * | 2010-06-17 | 2011-12-22 | Samsung Electronics Co., Ltd. | Power converter and method of power conversion |
| US20140191744A1 (en) * | 2013-01-07 | 2014-07-10 | Samsung Electronics Co., Ltd. | Switching regulator and comparator-based zero current detection method used by the switching regulator |
| US9077242B2 (en) * | 2012-09-27 | 2015-07-07 | Semiconductor Components Industries, Llc | Converter and method which remains biased for operation in the pulse frequency modulation mode and pulse width modulation mode |
| US20150303800A1 (en) * | 2014-04-16 | 2015-10-22 | Dialog Semiconductor Gmbh | Negative Current Clocking |
| US20160111956A1 (en) * | 2014-10-15 | 2016-04-21 | Dialog Semiconductor (Uk) Limited | Clocked Pulse Frequency Modulation Buck DC-to-DC Converter |
| US20160190923A1 (en) * | 2014-12-31 | 2016-06-30 | Texas Instruments Incorporated | Fast mode transitions in a power converter |
| US20160329734A1 (en) * | 2015-05-06 | 2016-11-10 | Samsung Electronics Co., Ltd. | Voltage converter for power management |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5568044A (en) | 1994-09-27 | 1996-10-22 | Micrel, Inc. | Voltage regulator that operates in either PWM or PFM mode |
| US7772818B2 (en) | 2007-04-03 | 2010-08-10 | Apple Inc. | Method and apparatus for measuring an average output current of a switching regulator using current-sensing-circuitry |
| US8698470B2 (en) | 2011-02-28 | 2014-04-15 | Texas Instruments Incorporated | Control for switching between PWM and PFM operation in a buck converter |
| US8810157B2 (en) | 2012-10-18 | 2014-08-19 | Power Integrations, Inc. | Simplified current sense for buck LED driver |
-
2015
- 2015-10-14 US US14/883,118 patent/US9634569B1/en active Active
- 2015-11-16 DE DE102015222584.4A patent/DE102015222584A1/en active Pending
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6329801B1 (en) * | 2000-04-24 | 2001-12-11 | Volterra Semiconductor Corporation | Switching regulator control system and method |
| US20050116697A1 (en) * | 2003-11-27 | 2005-06-02 | Masahiro Matsuo | Method and apparatus for power supply controlling capable of effectively controlling switching operations |
| US20060125454A1 (en) * | 2004-12-10 | 2006-06-15 | Tien-Tzu Chen | Switching voltage regulator operating without a discontinuous mode |
| US20080061758A1 (en) * | 2006-09-12 | 2008-03-13 | Junji Nishida | Switching regulator, control circuit of switching regulator, and method of controlling operation of switching regulator |
| US20090322299A1 (en) * | 2008-04-09 | 2009-12-31 | Ricoh Company, Ltd. | Non-isolated current-mode-controlled switching voltage regulator |
| US20110309815A1 (en) * | 2010-06-17 | 2011-12-22 | Samsung Electronics Co., Ltd. | Power converter and method of power conversion |
| US9077242B2 (en) * | 2012-09-27 | 2015-07-07 | Semiconductor Components Industries, Llc | Converter and method which remains biased for operation in the pulse frequency modulation mode and pulse width modulation mode |
| US20140191744A1 (en) * | 2013-01-07 | 2014-07-10 | Samsung Electronics Co., Ltd. | Switching regulator and comparator-based zero current detection method used by the switching regulator |
| US20150303800A1 (en) * | 2014-04-16 | 2015-10-22 | Dialog Semiconductor Gmbh | Negative Current Clocking |
| US20160111956A1 (en) * | 2014-10-15 | 2016-04-21 | Dialog Semiconductor (Uk) Limited | Clocked Pulse Frequency Modulation Buck DC-to-DC Converter |
| US20160190923A1 (en) * | 2014-12-31 | 2016-06-30 | Texas Instruments Incorporated | Fast mode transitions in a power converter |
| US20160329734A1 (en) * | 2015-05-06 | 2016-11-10 | Samsung Electronics Co., Ltd. | Voltage converter for power management |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20220341973A1 (en) * | 2021-04-21 | 2022-10-27 | Cirrus Logic International Semiconductor Ltd. | Temperature-insensitive current sensing for power stage |
| CN116298491A (en) * | 2023-05-11 | 2023-06-23 | 昆山迈致治具科技有限公司 | A Pulsed DC Current Measurement Method Applied to Display Backlight Current Detection |
Also Published As
| Publication number | Publication date |
|---|---|
| DE102015222584A1 (en) | 2017-04-20 |
| US9634569B1 (en) | 2017-04-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3373432B1 (en) | Dc-dc converter | |
| EP2947762B1 (en) | Duty cycle based current estimation in buck converter | |
| US10114046B2 (en) | Measuring output current in a buck SMPS | |
| US9998011B2 (en) | Phase current estimation for switching power converters | |
| CN107302310B (en) | Multiphase Switching Power Supply with Robust Current Sensing and Shared Amplifiers | |
| US9647557B2 (en) | Three phases controller for buck-boost regulators | |
| US8564992B2 (en) | Power factor correction device and method with off time prediction for critical mode operation | |
| CN113179006B (en) | Zero-voltage turn-on control circuit and method and switching power supply using zero-voltage turn-on control circuit | |
| KR101410999B1 (en) | Interleaved switching converter and apparatus and method for controlling thereof | |
| CN103197121B (en) | Current detection circuit and switch-type regulator provided with same | |
| US9739810B2 (en) | Duty cycle independent comparator | |
| JP2014075967A5 (en) | Buck-boost power converter system and method | |
| US9059637B2 (en) | System and method for calibrating a power supply | |
| US10126792B2 (en) | Power converter load current control | |
| CN111900860A (en) | Inductive current detection circuit, detection method and power converter | |
| US9634569B1 (en) | DC-to-DC output current sensing | |
| CN103580474B (en) | Power-supply system, the circuit that the inductor current of power supply is simulated and method | |
| US10340796B2 (en) | Constant on time boost converter control | |
| JP2006149056A (en) | DC-DC converter | |
| Channappanavar et al. | A novel bidirectional current estimator for digital controlled DC-DC converters | |
| CN110957906B (en) | Switching converter with output current estimator circuit | |
| Radić et al. | Noninvasive self-tuning output capacitor time constant estimator for low power digitally controlled dc-dc converters | |
| US10958174B1 (en) | Light load detector circuit for inductive DC-DC converter | |
| EP4661266A1 (en) | Current estimation or sensing methods | |
| US9541989B2 (en) | Power transfer estimation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: DIALOG SEMICONDUCTOR (UK) LIMITED, UNITED KINGDOM Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHILDS, MARK;COLLINS, PAUL;CALISTO, CARLOS;SIGNING DATES FROM 20150901 TO 20150922;REEL/FRAME:037528/0981 |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |