ESTIMATION OF AN INDUCTANCE IN A POWER CONVERTER
20230198396 · 2023-06-22
Assignee
Inventors
- John B. BOWLERWELL (Dunfermline, GB)
- Alastair M. BOOMER (Edinburgh, GB)
- Holger HAIPLIK (Swindon, GB)
- Malcolm BLYTH (Edinburgh, GB)
Cpc classification
H02M1/0009
ELECTRICITY
H02M3/158
ELECTRICITY
H02M1/0025
ELECTRICITY
International classification
H02M3/158
ELECTRICITY
G01R27/26
PHYSICS
Abstract
Circuitry for estimating an inductance of an inductor in power converter circuitry, the circuitry comprising: circuitry for generating a peak inductor current signal indicative of a peak inductor current during an operational cycle of the power converter circuitry; circuitry for generating a ripple current estimate signal, indicative of an estimate of a ripple current in the power converter circuitry; and circuitry for applying the ripple current estimate signal to the peak inductor current signal to generate an average inductor current threshold signal indicative of an estimated average inductor current in the power converter circuitry during the operational cycle, wherein the ripple current estimate signal is based on: a duration of a charging phase of operation of the power converter circuitry; a voltage across the inductor; and an inductance value for the inductor; and wherein the circuitry for generating the ripple current estimate signal is operative to select an inductance value for the inductor for which the estimated average inductor current is equal to an actual average inductor current during the operational cycle to generate a value for the actual inductance of the inductor.
Claims
1. Circuitry for estimating an inductance of an inductor in power converter circuitry, the circuitry comprising: circuitry for generating a peak inductor current signal indicative of a peak inductor current during an operational cycle of the power converter circuitry; circuitry for generating a ripple current estimate signal, indicative of an estimate of a ripple current in the power converter circuitry; and circuitry for applying the ripple current estimate signal to the peak inductor current signal to generate an average inductor current threshold signal indicative of an estimated average inductor current in the power converter circuitry during the operational cycle, wherein the ripple current estimate signal is based on: a duration of a charging phase of operation of the power converter circuitry; a voltage across the inductor; and an inductance value for the inductor; and wherein the circuitry for generating the ripple current estimate signal is operative to select an inductance value for the inductor for which the estimated average inductor current is equal to an actual average inductor current during the operational cycle to generate a value for the actual inductance of the inductor.
2. Circuitry according to claim 1, wherein the circuitry for generating the ripple current estimate signal is operative to adjust the inductance value in discrete steps, and to select the inductance value for which the estimated average inductor current is equal to the actual average inductor current.
3. Circuitry according to claim 1, wherein the circuitry for generating the ripple current estimate signal is operative to select the inductance value for the inductor based on: a ripple current estimate determined based on a difference between the peak inductor current and the actual average inductor current; the duration of the charging phase of operation of the power converter circuitry; and the supply voltage to the power converter circuitry.
4. Circuitry according to claim 1, wherein the circuitry for generating the ripple current estimate signal is operative to select the inductance value for the inductor based on a predetermined relationship between the ripple current estimate and a change in the inductance value that would cause the estimated average inductor current to be equal to an actual average inductor current during the operational cycle.
5. Circuitry according to claim 1, further comprising comparison circuitry for generating a signal indicative of whether the actual average inductor current differs from the estimated average inductor current.
6. Circuitry according to claim 5, wherein the comparison circuitry is configured to compare: a first period equal to half the duration of a charging or discharging phase of the power converter circuitry, to a second period equal to a time taken for the inductor current in the power converter circuitry to reach the average current threshold.
7. Circuitry according to claim 7, wherein the comparison circuitry is configured to compare: a first period equal to a duration of a charging or discharging phase of the power converter circuitry; to to a second period equal to twice the time taken for the inductor current in the power converter circuitry to reach the average current threshold.
8. Circuitry according to claim 5, wherein the comparison circuitry comprises digital counter circuitry configured to generate a first count value indicative of the first period and a second count value indicative of the second period.
9. Circuitry according to claim 8, wherein the comparison circuitry further comprises digital comparison circuitry operative to compare the first count value to the second count value and to generate a comparator output signal based on the comparison.
10. Circuitry according to claim 4, wherein the comparison circuitry further comprises current monitor circuitry configured to generate a signal indicative of the actual inductor current.
11. Circuitry according to claim 1, wherein the circuitry for generating the peak inductor current signal comprises control circuitry configured to receive a first signal indicative of a target output voltage and a second signal indicative of an actual output voltage of the power converter circuitry and to generate the peak inductor current signal based on the first and second received signals.
12. Circuitry according to claim 11, wherein the circuitry for applying the ripple current estimate signal is configured to generate and apply an additional DC voltage to the peak inductor current signal.
13. Circuitry according to claim 11, further comprising comparator circuitry configured to compare a signal indicative of the actual average inductor current during operation of the power converter circuitry to a threshold that is based on the average inductor current threshold signal.
14. Circuitry according to claim 13, wherein the control circuitry, the circuitry for applying the ripple current estimate signal, and the comparator circuitry form a control loop for regulating an output voltage of the power converter circuitry.
15. Circuitry according to claim 1, wherein the power converter circuitry comprises boost converter circuitry.
16. An integrated circuit comprising circuitry according to claim 1.
17. A host device comprising circuitry according to claim 1.
18. A host device according to claim 17, wherein the host device comprises a laptop, notebook, netbook or tablet computer, a gaming device, a games console, a controller for a games console, a virtual reality (VR) or augmented reality (AR) device, a mobile telephone, a portable audio player, a portable device, an accessory device for use with a laptop, notebook, netbook or tablet computer, a gaming device, a games console a VR or AR device, a mobile telephone, a portable audio player or other portable device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Embodiments of the invention will now be described, strictly by way of example only, with reference to the accompanying drawings, of which:
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
DETAILED DESCRIPTION
[0069] In operation of boost converter circuitry of the kind shown in
[0070]
[0071] The boost converter circuitry, shown generally at 400 in
[0072] The boost converter circuitry 400 includes controller circuitry 410 for controlling the operation of the first and second switches 130, 140. In the example shown in
[0073] The boost converter circuitry 400 further includes current sensing circuitry which, in the illustrated example, comprises a current sense resistance 420 (e.g. a resistor) and amplifier circuitry 430. Those of ordinary skill in the art will appreciated that other implementations of current sensing circuitry are possible.
[0074] The current sense resistance 420 is coupled between a source terminal of the first switch 130 of the boost converter circuitry 100 and a ground or other reference voltage supply. First and second inputs of the amplifier circuitry 430 are coupled to first and second terminals of the current sense resistance 420, and the amplifier circuitry 430 thus generates an output signal V.sub.sns indicative of an instantaneous current through the inductor 110 when the first switch 130 is turned on. An output of the amplifier circuitry 430 is coupled to a first input of comparator circuitry 440.
[0075] The boost converter circuitry 400 further includes analog to digital converter (ADC) circuitry 450 having an input coupled to the source terminal of the second switch 140 so as to receive the output voltage VBST of the boost converter circuitry 400. The ADC circuitry 450 thus generates a digital output signal V.sub.BST_measure representing the output voltage VBST of the boost converter circuitry 400, which is stored on the reservoir capacitor 120 (not shown in
[0076] An output of the ADC circuitry 450 is coupled to a first input of digital control circuitry 460, such that the digital control circuitry 460 receives the digital output signal V.sub.BST_measure generated by the ADC circuitry 450. A second input of the digital control circuitry 460 receives a digital signal V.sub.target representing a target output voltage of the boost converter circuitry 100. The digital control circuitry 460 is operative to compare V.sub.BST-measure to V.sub.target and to output a digital signal based on this comparison.
[0077] An output of the digital control circuitry 460 is coupled to an input of digital to analog converter (DAC) circuitry 470. The DAC circuitry 470 is configured to convert the digital signal output by the digital control circuitry 460 into an analog output voltage signal lpk_thresh, which represents a peak inductor current threshold.
[0078] An output of the DAC circuitry 470 is coupled to a second input of the comparator circuitry 440, and an output of the comparator circuitry 440 is coupled to the reset (R) input of the controller circuitry 410.
[0079] The comparator circuitry 440 is thus operative to compare the instantaneous inductor current, as represented by V.sub.sns, to the peak inductor current threshold, as represented by lpk_thresh, and to output a control signal to the controller circuitry 410 based on the comparison.
[0080] As shown in the signal diagram of
[0081] When V.sub.sns meets Ipk_thresh, a signal output by the comparator circuitry 440 changes from a first state (e.g. a low logic state) to a second state (e.g. a high logic state), causing the controller circuitry 410 to stop outputting the gate drive signal Drv, causing the first switch 130 to switch off and the second switch 140 to switch on, to discharge the inductor 110 into a load (not illustrated) that is coupled to the boost converter circuitry 400.
[0082] The digital control circuitry 460 compares V.sub.BST_measure (which is indicative of the output voltage of the boost converter circuitry 400) to V.sub.target, and adjusts its output signal according to this comparison. For example, if V.sub.BST_measure is less than V.sub.target, the digital control circuitry 460 increases a value of its output signal such that Ipk_thresh is also increased. This has the effect of increasing the on-time of the first switch 130 (since, for a given level of inductor current at the beginning of a charging phase ϕ.sub.1, the greater Ipk_thresh the longer it will take for V.sub.SNS to reach IpK_thresh) and thus increasing the boost ratio of the boost converter circuitry 400. Conversely, if V.sub.BST_measure is greater than V.sub.target, the digital control circuitry 460 reduces the value of its output signal such that Ipk_thresh is also reduced, thereby reducing the on-time of the first switch 130 and thus reducing the boost ratio.
[0083] Thus the combination of the current sense circuitry (i.e. the resistance 420 and amplifier circuitry 430), comparator circuitry 440, ADC circuitry 450, digital control circuitry 460 and DAC circuitry 470 constitutes a control loop which is operative to control a duty cycle of the first switch 130 so as to regulate the output voltage of the boost converter circuitry 400 based on a loop variable, which in the example illustrated in
[0084] It may be advantageous to add additional components to the Ipk_thresh signal that are not associated with the output voltage control loop described above with reference to
[0085]
[0086] The boost converter circuitry, shown generally at 600 in
[0087] The boost converter circuitry 600 includes ramp generator circuitry 610 configured to generate a ramp voltage V.sub.ramp that decreases over the course of an operational cycle of the boost converter circuitry 600, and DC correction voltage generator circuitry 620 configured to output a DC voltage V.sub.Dc_.sub.corr. First adder circuitry 630 is configured to receive the lpk_thresh signal from the DAC circuitry 470, the decreasing ramp voltage V.sub.ramp, and the DC voltage V.sub.Dc_.sub.corr, and to output a comparison threshold signal comp_thresh. Thus, as shown in the signal diagram of
[0088] The comparator circuitry 440 in this example is thus operative to compare the instantaneous inductor current, as represented by V.sub.sns, to the comparison threshold signal comp_thresh (which in this example is based on the peak inductor current threshold, as represented by lpk_thresh, since comp_thresh is equal to lpk_thresh + V.sub.ramp + V.sub.Dc_.sub.corr), and to output a control signal to the controller circuitry 410 based on the comparison.
[0089] In the example circuitry illustrated in
[0090] As will be appreciated, in the circuitry 600 the control loop again controls the duty cycle of the first switch 130 so as to regulate the output voltage of the boost converter circuitry 600 based on the peak current threshold represented by the signal Ipk_thresh.
[0091]
[0092] The boost converter circuitry, shown generally at 800 in
[0093] The boost converter circuitry 800 includes additional DC voltage generator circuitry 810 and second adder circuitry 820 for adding an additional DC voltage V.sub.add, corresponding to a difference between the average inductor lavg current in an operational cycle of the boost converter circuitry 800 and a peak inductor current Ipk in the operational cycle, to the signal output by the DAC circuitry 470.
[0094] The difference between the average inductor current lavg and the peak inductor current can be calculated as half of a ripple current Iripple. The ripple current Iripple in steady state operation of the boost converter circuitry is defined by the voltage VDD_B (or more accurately, a voltage across the inductor 110, which is based on VDD_B), the inductance L of the inductor 110 and the charging period of the inductor 110. These quantities are known (to at least a first order approximation) by the digital control circuitry 460. These quantities can be provided to the additional DC voltage generator circuitry 810, which can estimate the ripple current Iripple (as Iripple .sub.= (VDD_B x Ton)/L, where Ton is the duration for which the first switch 130 is on during the charging phase ϕ.sub.1 - i.e. the duration of the charging phase ϕ.sub.1), and hence the difference between the average inductor current and the peak inductor current can be estimated by the additional DC voltage generator circuitry 810 as Iripple/2, and the additional DC voltage V.sub.add can be generated and output by the additional voltage generator circuitry 810 based on the Iripple/2 estimate.
[0095] The addition of the additional DC voltage V.sub.add and the operation of the control loop cause the digital control circuitry 460 to modify its output signal, reducing it to a level that is representative of an average current threshold, rather than the peak current threshold, which is instead represented by the signal output by the second adder circuitry 820. Thus (once the control loop has settled to a steady state), a signal lavg_thresh representing an average inductor current is output by the DAC circuitry 470, a signal Ipk_thresh (which is equal to lavg_thresh + V.sub.add) is output by the second adder circuitry 820, and a comparison threshold signal comp_thresh (which is equal to lavg_thresh + V.sub.add + V.sub.ramp + V.sub.Dc_corr) is output by the first adder circuitry 630. Alternatively (and equivalently), a single instance of adder circuitry with four inputs may replace the first and second adder circuitry 630, 820. This four-input adder circuitry would receive the signals lavg_thresh, V.sub.add, V.sub.ramp, V.sub.DC-corr and output the comparison threshold signal comp_thresh.
[0096] The comparator circuitry 440 in this example is thus operative to compare the instantaneous inductor current, as represented by V.sub.sns, to the comparison threshold signal comp_thresh (which in this example is based on the average inductor current threshold, as represented by lavg_thresh, since the comparison threshold signal comp_thresh is equal to the sum of lavg_thresh + V.sub.add + V.sub.ramp + V.sub.Dc_.sub.corr), and to output a control signal to the controller circuitry 410 based on the comparison.
[0097] Thus, in the circuitry 800, the control loop is again operative to control the duty cycle of the first switch 130 so as to regulate the output voltage of the boost converter circuitry 600 based on a loop variable, but in this example the loop variable is the average current threshold represented by the signal lavg_thresh, rather than the peak current threshold represented by the signal Ipk_thresh.
[0098] The estimate of Iripple/2 will have a degree of error or inaccuracy, for reasons such as a tolerance in the rated inductance of the inductor 110, derating of the inductor 110 and/or error in the measurement of VDD_B, and so the signal lavg_thresh will not represent the actual average inductor current lavg with complete accuracy.
[0099]
[0100] In some applications it may be beneficial to compare the actual inductor current in boost converter circuitry to a requested or target average inductor current, to determine whether the actual inductor current is higher or lower than the requested average inductor current.
[0101]
[0102] The boost converter circuitry, shown generally at 900 in
[0103] The boost converter circuitry 900 in this example includes comparator circuitry 910 configured to compare the signal V.sub.sns output by the amplifier circuitry 430 (which is indicative of the instantaneous current through the inductor 110) to the signal lavg_thresh output by the DAC circuitry 470 (which is indicative of an average current threshold for the boost converter circuitry 900) and to output a comparator output signal when the level of the signal V.sub.sns meets (i.e. is equal to) the level of the signal lavg_thresh.
[0104] In the example shown in
[0105] The digital comparison circuitry 930, which is operative to compare a time taken for the current through the inductor 110 (as indicated by either the latch output signal lavg_toggle or the comparator output signal) to reach the average current threshold to a period of time equal to half of the duration of the gate drive signal Drv that causes the first switch 130 to switch on. Thus the digital comparison circuitry 930 is operative to compare the requested or target average inductor current to the actual inductor current to determine whether the actual average inductor current is higher or lower than the requested or target average inductor current.
[0106] Based on the comparison, the digital comparison circuitry outputs a second additional DC voltage Vadd2 to the second adder circuitry 820, to cause the digital control circuitry 460 to further modify its output signal, as will now be explained with reference to
[0107] The digital comparison circuitry, shown generally at 1000 in
[0108] A first output of the digital counter circuitry 1010 is coupled to an input of digital divider circuitry 1020 such that the digital divider circuitry 1020 receives a first count value C.sub.1, output by the digital counter circuitry 1010, and indicative of a duration of the charging phase ϕ.sub.1 of the boost converter circuitry 900,. The digital divider circuitry 1020 is configured to divide the count value received from the digital counter circuitry 1010 by two, and to output a divided count value C.sub.1DIV.
[0109] An output of the digital divider circuitry 1020, which outputs the divided count value C.sub.1DIV, is coupled to a first input of digital comparator circuitry 1030. A second input of the digital comparator circuitry 1030 is coupled to a second output of the digital counter circuitry 1010 so as to receive a second count value C.sub.2, indicative of the time taken for the inductor current to reach the average current threshold level represented by the signal lavg_thresh.
[0110] An output of the digital comparator circuitry 1030 is coupled to an input of digital accumulator circuitry 1040, which generates an accumulator output as the second additional DC voltage V.sub.add2.
[0111] If it is assumed that the current through the inductor 110 increases linearly during the charging phase ϕ.sub.1, the instantaneous current through the inductor 110 will reach the cycle average inductor current level lavg exactly half way through the charging phase ϕ.sub.1. Thus if the average current threshold (represented by the signal lavg_thresh) is accurate (in the sense that it is equal to the actual cycle average inductor current lavg), then lavg_toggle will be output by the latch circuitry 920 at a point in time exactly half way through the charging phase ϕ.sub.1 as shown in the signal diagram of
[0112] Thus, by comparing the time taken for the lavg_toggle signal to be output by the latch circuitry 920 to half of the duration of the charging phase ϕ.sub.1, a difference between the average current threshold (represented by the signal lavg_thresh) and the actual cycle average inductor current lavg can be determined, and the result of this determination can be used to compensate for error in the estimate of Iripple/2, to make the signal lavg_thresh a more accurate representation of the actual cycle average inductor current.
[0113] In operation of the circuitry 1000, the digital counter circuitry 1010 commences counting clock pulses for a particular operational cycle of the boost converter circuitry 900 when it receives the gate drive signal Drv output by the controller circuitry 410 controller circuitry 410 to turn the first switch 130 on at the beginning of the particular operational cycle. Thus the digital counter circuitry 1010 commences counting clock pulses at the beginning of the particular operational cycle of the boost converter circuitry 900.
[0114] The digital counter circuitry 1010 stops counting clock pulses for the particular operational cycle when it stops receiving the gate drive signal Drv (i.e. when the first switch 130 is switched off at the end of the charging phase ϕ.sub.1) and outputs (e.g. to an internal register of the digital counter circuitry 1010, or to a register external to the digital counter circuitry 1010) a count value that has been reached at this point in time.
[0115] Thus, the digital counter circuitry 1010 generates and outputs a first count value C.sub.1 that is indicative of the duration of the charging phase ϕ.sub.1 of the boost converter circuitry 900.
[0116] The digital counter circuitry 1010 also receives the signal lavg_toggle output by the latch circuitry 920, and outputs (e.g. to an internal register of the digital counter circuitry 1010, or to a register external to the digital counter circuitry 1010) a count value that has been reached at this point in time.
[0117] Thus, the digital counter circuitry 1010 generates and outputs a second count value C.sub.2 that is indicative of the time taken for the inductor current to reach the average current threshold level represented by the signal lavg_thresh.
[0118] The digital comparator circuitry 1030 compares the second count value C.sub.2 to the divided count value C.sub.1DIV to determine a difference between the time taken for the lavg_toggle signal to be output by the latch circuitry 920 and half of the duration of the charging phase ϕ.sub.1. If the second count value C.sub.2 is greater than the divided count value C.sub.1DIV (indicating that lavg_toggle is output after half the charging phase ϕ.sub.1 has elapsed), the digital comparator circuitry 1030 outputs a signal to cause the digital accumulator circuitry 1040 to increase V.sub.add2, thus causing lavg_thresh to decrease (as a result of the action of the control loop), whereas if the second count value C.sub.2 is less than the divided count value C.sub.1DIV (indicating that lavg_toggle is output before half the charging phase ϕ.sub.1 has elapsed), the digital comparator circuitry 1030 outputs a signal to cause the digital accumulator circuitry 1040 to decrease V.sub.add2, thus causing lavg_thresh to increase (as a result of the action of the control loop).
[0119] Thus the circuitry of
[0120] In an alternative example the first output of the digital counter circuitry 1010 could be coupled directly to the first input of the digital comparator circuitry 1030, such that the first count value C.sub.1 is not divided by two (and is therefore representative of the duration of the charging phase ϕ.sub.1) and a digital multiplier could be provided between the second output of the digital counter circuitry 1010 and the second input of the digital comparator circuitry 1030, to multiply the second count value C.sub.2 by two to generate a multiplied count value C.sub.2mult (representative of time taken for the inductor current to reach the average current threshold level represented by the signal lavg_thresh) that is output to the second input of the digital comparator circuitry 1030. As will be appreciate, comparing the undivided first count value C.sub.1 to the multiplied count value C.sub.2mult is equivalent to comparing the divided count value C.sub.1DIV to the original second count value C.sub.2.
[0121] As will be appreciated by those of ordinary skill in the art, in an alternative approach the time taken for the inductor current to fall to lavg during the discharging phase ϕ.sub.2 could be compared to half the duration of the discharging phase ϕ.sub.2. If it is assumed that the current through the inductor 110 decreases linearly during the discharging phase ϕ.sub.2, the instantaneous current through the inductor 110 will reach the cycle average inductor current level lavg exactly half way through the discharging phase ϕ.sub.2. Thus, instead of comparing the time for the instantaneous inductor current to reach lavg to half the period of the charging phase ϕ.sub.1, the digital comparator circuitry 1030 could instead compare the time taken for the instantaneous inductor current to fall to or below lavg to half the period of the discharging phase ϕ.sub.1 to determine if the average current is too low or too high, and output appropriate signals to cause the digital accumulator circuitry 1040 to increase or decrease V.sub.add2 as necessary.
[0122] As will be appreciated by those of ordinary skill in the art, the signal lavg_thresh generated by the boost converter circuitry 800, 900 of
[0123] However, for boost converter circuitry operating in discontinuous conduction mode (DCM), the signal lavg_thresh is not indicative of the average inductor current over the whole of an operational cycle of the boost converter circuitry, i.e. the combined duration of the charging, discharging and zero-current phases ϕ.sub.1, ϕ.sub.2, ϕ.sub.3, but is instead indicative of the average inductor current over the charging and discharging phases ϕ.sub.1, ϕ.sub.2. As will be appreciated by those of ordinary skill in the art, the effect of the additional zero current phase ϕ.sub.3 is to reduce the cycle average inductor current when the boost converter circuitry is operating in DCM, as compared to the cycle average inductor current when the boost converter is operating in CCM, but the signal lavg_thresh will not be indicative of this reduced cycle average inductor current when the boost converter circuitry 900 is operating in DCM.
[0124] In some applications it may be beneficial for the signal lavg_thresh to reflect the average inductor current over the whole of an operational cycle of the boost converter circuitry, i.e. the combined duration of the charging, discharging and zero-current phases ϕ.sub.1, ϕ.sub.2, ϕ.sub.3 (i.e. over the period from t.sub.0 to t.sub.3 in
[0125] This can be achieved by applying a scaling factor k to a signal in the boost converter circuitry, as will be discussed below with reference to
[0126] The scaling factor k is a ratio of the total period of an operational cycle of the boost converter circuitry to an “active period” of the operational cycle, where an “active period” is the period in which current flows through the inductor 110 during the operational cycle.
[0127] The scaling factor k exactly matches a ratio of the average inductor current over the total period of an operational cycle of the boost converter circuitry (shown as I.sub.AVG in
[0128] When the boost converter circuitry is operating in CCM, the total period of an operational cycle is equal to the duration of the period from to to t.sub.2 in
[0129] In contrast, when the boost converter circuitry is operating in DCM, the total period of an operational cycle is equal to the duration of the period from t.sub.0 to t.sub.3 in
[0130]
[0131] The boost converter circuitry, shown generally at 1200 in
[0132] The boost converter circuitry 1300 additionally includes divider circuitry 1210 coupled to the output of the digital control circuitry 460 and configured to divide a digital signal lavg_ϕ.sub.1thresh, indicative of the of the average inductor current over the charging and discharging phases ϕ.sub.1, ϕ.sub.2 during operation of the boost converter circuitry 1200 in DCM, by the scaling factor k, so as to generate a digital signal lavg_thresh that is indicative of the DCM cycle average inductor current.
[0133] It will be recalled that the digital counter circuitry 1010 commences counting clock pulses for a first operational cycle of the boost converter circuitry 900 when it receives the gate drive signal Drv output by the controller circuitry 410 to turn the first switch 130 on at the beginning of the first operational cycle in order to generate and output the first and second count values C.sub.1, C.sub.2.
[0134] The digital counter circuitry 1010 may also generate a third count value C.sub.3 that is indicative of the total period of an operational cycle of the boost converter circuitry, by outputting (e.g. to an internal register of the digital counter circuitry 1010, or to a register external to the digital counter circuitry 1010) the count value that has been reached the next time the digital counter circuitry 1010 receives the gate drive signal Drv to turn the first switch 130 on again at the beginning of a second operational cycle immediately following the first operational cycle.
[0135] Alternatively, if the frequency of the clock signal CLK received by the controller circuitry 410 is a known fixed division of the clock signal FST_CLK received by the digital counter circuitry, the third count value C.sub.3 may be known and stored, e.g. in a suitable register internal or external to the digital counter circuitry 1010. As will be apparent from the foregoing discussion, when the boost converter circuitry is operating in DCM, the third count value C.sub.3 is indicative of the period t.sub.3 – to shown in
[0136] In order to measure the duration of the active period of the operational cycle, a determination must be made as to when the active period ends, i.e. when the discharging phase ϕ.sub.2 has finished. To this end, the digital counter circuitry 1010 may generate a fourth count value C.sub.4 indicative of the duration of the active period when it detects or is notified that the second switch 140 has been turned off at the end of the discharging phase ϕ.sub.2, by outputting (e.g. to an internal register of the digital counter circuitry 1010, or to a register external to the digital counter circuitry 1010) the count value that has been reached at this point in time. As will be apparent from the foregoing discussion, when the boost converter circuitry is operating in DCM, the fourth count value C.sub.4 is indicative of the period t.sub.2 – t.sub.0 shown in
[0137] Thus the scaling factor k can be calculated, e.g. by the digital counter circuitry 1010 or by some other processing circuitry, and can be used to generate a signal lavg_thresh that is indicative of the DCM cycle average inductor current.
[0138] In operation of the boost converter circuitry 1200, the signal lpk_thresh output by the second adder circuitry 820 is indicative of a target peak inductor current in the boost converter circuitry 1200. The control loop acts to maintain Ipk_thresh at a desired level, and as no inductor current flows in the zero-current phase ϕ.sub.3 when the boost converter circuitry 1200 is operating in DCM, it follows that the signal at the output of the DAC circuitry 470 (i.e. the signal lavg_ϕ1 thresh that is received at the first input of the second adder circuitry 820) must be indicative of the average inductor current in the active period of the operational cycle, since V.sub.add is indicative of the Iripple/2, which is half the difference between the peak current and the average current. The DAC circuitry 470 simply converts a digital input signal into an equivalent analog output signal, so the signal output by the digital control circuitry 460 must be a digital version of lavg_ϕ.sub.1thresh.
[0139] As lavg_ϕ.sub.1thresh = k.lavg_thresh, dividing the signal output by the digital control circuitry 460 by k (in the divider circuitry 1210) yields an output signal lavg_thresh, which is indicative of the DCM cycle average inductor current) of the boost converter circuitry 1200 when it is operating in DCM. As will be appreciated, when the boost converter circuitry 1200 is operating in CCM, k = 1 and so the lavg_thresh signal is also indicative of the cycle average inductor current in CCM.
[0140] The lavg_thresh signal output by the divider circuitry 1210 can be used by downstream circuitry (not shown), e.g. for reporting the cycle average inductor current of the boost converter circuitry 1200.
[0141]
[0142] The boost converter circuitry, shown generally at 1300 in
[0143] The boost converter circuitry 1300 additionally includes digital multiplier circuitry 1310 coupled between the output of the digital control circuitry 460 and the input of the DAC circuitry 470 and configured to multiply the signal output by the digital control circuitry 460 by the scaling factor k.
[0144] As in the boost converter circuitry 1200, in operation of the boost converter circuitry 1300, the signal lpk_thresh output by the second adder circuitry 820 is indicative of a target peak inductor current in the boost converter circuitry 1300. The control loop acts to maintain Ipk_thresh at a desired level, and as no inductor current flows in the zero-current phase ϕ.sub.3 when the boost converter circuitry 1300 is operating in DCM, it follows that the signal at the output of the DAC circuitry 470 (i.e. the signal lavg_ϕ1 thresh that is received at the first input of the second adder circuitry 820) must be indicative of the average inductor current in the active period of the operational cycle, since V.sub.add is indicative of the Iripple/2, which is half the difference between the peak current and the average current.
[0145] Thus the signal received at the input of the DAC circuitry 470 must be equal to k.lavg_thresh (since the multiplier circuitry 1310 multiples a signal received at its input by the scaling factor k). The signal output by the digital control circuitry 460 is therefore lavg_thresh, which is indicative of the DCM cycle average inductor current of the boost converter circuitry 1300. As will be appreciated, in operation of the boost converter circuitry 1300 when it is operating in CCM, k .sub.= 1 and so the lavg_thresh signal is also indicative of the cycle average inductor current in CCM.
[0146] Again, the lavg_thresh signal can be used by downstream circuitry (not shown), e.g. for reporting the cycle average inductor current of the boost converter circuitry 1300.
[0147]
[0148] The boost converter circuitry, shown generally at 1400 in
[0149] The boost converter circuitry 1400 additionally includes analog multiplier circuitry 1410 coupled between the output of the DAC circuitry 470 and the input of the second adder circuitry 820, and configured to multiply the signal output by the DAC circuitry 470 by the scaling factor k, to generate a scaled analog output signal which is output to the second adder circuitry 820. This scaling of the DAC output signal causes the control loop to settle to a steady state in which the signal lavg_thresh output by the DAC circuitry 470 is indicative of the average inductor current over the whole period of the operational cycle.
[0150] As in the example illustrated in
[0151] Thus the signal received at the input of the multiplier circuitry 1410 from the DAC circuitry 470 must be equal to lavg_thresh, which is indicative of the cycle average inductor current over the whole of the operational cycle of the boost converter circuitry 1400 when it is operating in DCM. As will be appreciated, in operation of the boost converter circuitry 1400 when it is operating in CCM, k .sub.= 1 and so the lavg_thresh signal is also indicative of the cycle average inductor current in CCM.
[0152] The lavg_thresh signal can be used by downstream circuitry (not shown), e.g. for reporting the cycle average inductor current of the boost converter circuitry 1400.
[0153] As noted above, an estimate of the ripple current Iripple (i.e. the difference between the peak inductor current and the average inductor current during an operational cycle) can be generated based on the voltage VDD_B, the inductance L of the inductor 110 and the charging period of the inductor 110 in the charging phase ϕ.sub.1.
[0154] A nominal value Lnom for the inductance L of the inductor 110 may be provided to the additional DC voltage generator circuitry 810 (e.g. by setting a register of the additional DC voltage generator circuitry 810 during a production process for the circuitry 900 or a host device incorporating the circuitry 900). This nominal inductor value Lnom may be based on the rated inductance provided by a manufacturer of the inductor 110, or alternatively may be an estimated or measured inductance value that is determined, for example, during a production test process.
[0155] However, this nominal inductance value Lnom may not accurately represent the actual value Lactual of the inductance of the inductor 110, e.g., due to manufacturing tolerances inherent in the production of the inductor 110, and/or due to derating of the inductor, whereby the inductance of the inductor 110 changes over time and/or with use.
[0156] In some situations, it is beneficial to be able to determine or estimate the actual inductance Lactual of the inductor 110, e.g., to determine if the inductor 110 is derating, to notify a system (e.g. a host device) incorporating the circuitry 900 that the inductor 110 is running at or close to saturation, and/or to ensure that the circuitry 900 is not being run at or close to a specified minimum inductance.
[0157]
[0158] The boost converter circuitry, shown generally at 1500 in
[0159] The boost converter circuitry 1500 includes DC voltage generator circuitry 1510, which is configured to receive the quantities VDD_B (the voltage across the inductor 110), Ton (the duration of the charging phase ϕ.sub.1) and L (the inductance of the inductor 110) and to generate an estimate of the ripple current Iripple according to the relationship Iripple .sub.= (VDD_B x Ton)/Lnom.
[0160] The DC voltage generator circuitry 1510 is further configured to generate and output an additional DC voltage V.sub.add (representative of Iripple/2) to be injected into the control loop by the second adder circuitry 820.
[0161] An initial estimate of the ripple current Iripple may be generated using the nominal inductance Lnom of the inductor 110 as the quantity L in the relationship above.
[0162] To estimate the actual inductance Lactual of the inductor 110, the additional DC voltage generator circuitry 1510 adjusts the value of the inductance L used to calculate the estimate of Iripple, such that the additional DC voltage V.sub.add injected into the control loop causes the average inductor current threshold lavg_thresh to be equal to the actual average inductor current lavg (once the loop has settled to a steady state). The value of the inductance L for which the average inductor current threshold lavg_thresh is equal to the actual average inductor current is (or is a better representation of) the actual inductance Lactual of the inductor 110, and this value can be reported, e.g. to a processor of a host device, for use in determining whether the inductor 110 is derating, is at or close to a specified minimum inductance for the circuitry 900 or is at or close to saturation, for example.
[0163] Thus, the boost converter circuitry 1500 includes comparison circuitry 1520 configured to determine whether the actual inductor current lavg differs from the target average inductor current lavg_thresh and to output a signal ΔL indicative of whether the actual average inductor current lavg is higher or lower than the target average inductor current lavg_thresh to the additional DC voltage generator circuitry 1510.
[0164] For example, the comparison circuitry 1520 may output a signal ΔL1 at a first, relatively higher, signal level if the actual average inductor current is higher than the target average inductor current lavg_thresh, and may output a signal ΔL2 at a second, relatively lower, signal level if the actual average inductor current is lower than the target average inductor current lavg_thresh. If the actual average inductor current is lower than the target average inductor current lavg_thresh the comparison circuitry 1520 may output a signal ΔL3 at a third level, different from the first and second levels, or alternatively may output no signal.
[0165] In some examples the comparison circuitry 1520 may comprise digital comparison circuitry 930 of the kind describe above with reference to
[0166] The additional DC voltage generator circuitry 1510 may adjust (increase or decrease) the inductance value L in discrete steps (e.g. one step per operational cycle of the boost converter circuitry 1500) based on the signal ΔL received from the comparison circuitry 1520, and re-calculate Iripple and hence the Iripple/2 estimate using the adjusted value of L. The additional DC voltage V.sub.add based on the re-calculated Iripple/2 estimate is output by the additional DC voltage generator circuitry 1510. The target average inductor current value lavg_thresh thus changes in response to the change in the inductance value L used to calculate Iripple.
[0167] The additional DC voltage generator circuitry 1510 may iterate the inductance value L (e.g. over a plurality of operational cycles) until a new inductance value Lnew is reached that causes the target average inductor current value lavg_thresh to be equal to the actual average inductor current lavg (when the loop has settled to a steady state).
[0168] This new inductor value Lnew is an accurate representation (or at least a more accurate representation than Lnom) of the actual inductance of the inductor 110, and can be used as described above, e.g. to determine whether the inductor 110 is derating, is at or close to a specified minimum inductance for the circuitry 900 or is at or close to saturation, for example.
[0169] In an alternative example, if the actual average inductor current differs from the target average inductor current lavg_thresh, then a new Iripple/2 estimate may be calculated with lavg in place of lavg_thresh, if the actual average inductor current lavg can be determined. The applicant’s U.S. Pat. No. 10,720,835, which is incorporated herein by reference in its entirety, describes circuitry capable of determining the actual average current lavg.
[0170] As explained above, Iripple/2 .sub.= Ipk_thresh - lavg_threshold. Ipk_thresh is a constant peak current threshold value. Substituting the actual average current value lavg for the target average inductor current value lavg_thresh yields a new Iripple/2 estimate, i.e.:
[0171] To determine the new inductance value Lnew, the additional DC voltage generator circuitry 1510 may make use of equation (3):
[0172] Here, dt is duration of the charging phase ϕ.sub.1, which is known to the digital control circuitry 460 (e.g. based on the first count value C1 output by the digital counter circuitry 1010). VDD_B is also known to the digital control circuitry 460. The di term in the equation above is provided by the newly calculated Iripplenew value.
[0173] Thus, Lnew = (dt x VDD_B)/Iripplenew.
[0174] In a further alternative example, a predetermined relationship or mapping between the voltage V.sub.add (i.e. the Iripple/2 estimate) and a change in the inductance value L may be known. A de-mapping function (e.g. a software routine) may be executable by the additional DC voltage generator circuitry 1510 to determine a change in the inductance value L based on a calculated value of V.sub.add that would cause the actual average inductor current lavg to be equal to the target average inductor current lavg_thresh. Thus, the de-mapping function may generate an output value that can be combined (e.g. added to) with the inductance value L to generate the new inductance value Lnew.
[0175] For verification, the new inductance value Lnew (however it is determined or selected) can be used by the digital control circuitry 460 to generate an Iripple/2 estimate that is used to generate the additional DC voltage Vadd that is injected into the control loop by the additional DC voltage generator circuitry 810. If (once the loop has settled), the target average inductor current value lavg_thresh is equal to the actual average current lavg, then the new inductor value Lnew is an accurate representation of the actual inductance of the inductor 110, and can be used as described above, e.g. to determine whether the inductor 110 is derating, is at or close to a specified minimum inductance for the circuitry 900 or is at or close to saturation, for example.
[0176] To determine whether the inductor is derating, the actual inductance value may be determined in the manner described above in response to specific trigger events (e.g. when a user of a host device adjusts a volume or the like) and/or at discrete time intervals (e.g., every week, month etc., or every time a host device incorporating the circuitry 900 is powered on), and compared to reference inductance value, which may be, for example, the rated inductance value of the inductor or an initial inductance value determined as described above on first powering on a host device incorporating the circuitry 900. If the actual inductance value differs from the reference inductance value by more than some threshold amount, a flag, alert or warning may be output to the host device, to cause the host device to instigate appropriate remedial or compensating action.
[0177] The principles of the present disclosure are described above with reference to boost converter circuitry, but it will be apparent to those of ordinary skill in the art that the principles of the present disclosure are equally applicable to other power converter circuitry, e.g. buck converter circuitry. Thus, the present disclosure is not limited to estimating current in boost converter circuitry, but also extends to estimating current in other power converter circuitry such as buck converter circuitry.
[0178] The circuitry described above with reference to the accompanying drawings may be incorporated in a host device such as a laptop, notebook, netbook or tablet computer, a gaming device such as a games console or a controller for a games console, a virtual reality (VR) or augmented reality (AR) device, a mobile telephone, a portable audio player or some other portable device, or may be incorporated in an accessory device for use with a laptop, notebook, netbook or tablet computer, a gaming device, a VR or AR device, a mobile telephone, a portable audio player or other portable device.
[0179] The skilled person will recognise that some aspects of the above-described apparatus and methods may be embodied as processor control code, for example on a non-volatile carrier medium such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier. For many applications, embodiments will be implemented on a DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array). Thus the code may comprise conventional program code or microcode or, for example code for setting up or controlling an ASIC or FPGA. The code may also comprise code for dynamically configuring re-configurable apparatus such as re-programmable logic gate arrays. Similarly the code may comprise code for a hardware description language such as Verilog™ or VHDL (Very high speed integrated circuit Hardware Description Language). As the skilled person will appreciate, the code may be distributed between a plurality of coupled components in communication with one another. Where appropriate, the embodiments may also be implemented using code running on a field-(re)programmable analogue array or similar device in order to configure analogue hardware.
[0180] It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. The word “comprising” does not exclude the presence of elements or steps other than those listed in a claim, “a” or “an” does not exclude a plurality, and a single feature or other unit may fulfil the functions of several units recited in the claims. Any reference numerals or labels in the claims shall not be construed so as to limit their scope.
[0181] As used herein, when two or more elements are referred to as “coupled” to one another, such term indicates that such two or more elements are in electronic communication or mechanical communication, as applicable, whether connected indirectly or directly, with or without intervening elements.
[0182] This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative. Accordingly, modifications, additions, or omissions may be made to the systems, apparatuses, and methods described herein without departing from the scope of the disclosure. For example, the components of the systems and apparatuses may be integrated or separated. Moreover, the operations of the systems and apparatuses disclosed herein may be performed by more, fewer, or other components and the methods described may include more, fewer, or other steps. Additionally, steps may be performed in any suitable order. As used in this document, “each” refers to each member of a set or each member of a subset of a set.
[0183] Although exemplary embodiments are illustrated in the figures and described below, the principles of the present disclosure may be implemented using any number of techniques, whether currently known or not. The present disclosure should in no way be limited to the exemplary implementations and techniques illustrated in the drawings and described above.
[0184] Unless otherwise specifically noted, articles depicted in the drawings are not necessarily drawn to scale.
[0185] All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the disclosure and the concepts contributed by the inventor to furthering the art, and are construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present disclosure have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the disclosure.
[0186] Although specific advantages have been enumerated above, various embodiments may include some, none, or all of the enumerated advantages. Additionally, other technical advantages may become readily apparent to one of ordinary skill in the art after review of the foregoing figures and description.
[0187] To aid the Patent Office and any readers of any patent issued on this application in interpreting the claims appended hereto, applicants wish to note that they do not intend any of the appended claims or claim elements to invoke 35 U.S.C. § 112(f) unless the words “means for” or “step for” are explicitly used in the particular claim.