WO2023239850A1 - Inductance detection for power converters - Google Patents
Inductance detection for power converters Download PDFInfo
- Publication number
- WO2023239850A1 WO2023239850A1 PCT/US2023/024815 US2023024815W WO2023239850A1 WO 2023239850 A1 WO2023239850 A1 WO 2023239850A1 US 2023024815 W US2023024815 W US 2023024815W WO 2023239850 A1 WO2023239850 A1 WO 2023239850A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- output
- current
- circuit
- counter
- coupled
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims description 67
- 239000003990 capacitor Substances 0.000 claims description 10
- 230000001105 regulatory effect Effects 0.000 claims description 4
- 239000000758 substrate Substances 0.000 claims description 4
- 239000004065 semiconductor Substances 0.000 claims description 3
- 238000007599 discharging Methods 0.000 claims description 2
- 238000000034 method Methods 0.000 description 20
- 102100040862 Dual specificity protein kinase CLK1 Human genes 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 238000005070 sampling Methods 0.000 description 8
- 230000007423 decrease Effects 0.000 description 4
- 238000004088 simulation Methods 0.000 description 4
- 101000749294 Homo sapiens Dual specificity protein kinase CLK1 Proteins 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- ACWBQPMHZXGDFX-QFIPXVFZSA-N valsartan Chemical compound C1=CC(CN(C(=O)CCCC)[C@@H](C(C)C)C(O)=O)=CC=C1C1=CC=CC=C1C1=NN=NN1 ACWBQPMHZXGDFX-QFIPXVFZSA-N 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
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
- 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
-
- 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
Definitions
- This description relates to inductance detection for power converters.
- Power converter circuits such as switch mode power supplies, can use external inductors having a wide range of inductances.
- prior knowledge of output inductance is used to configure the power converter for operation. In some circumstances, however, such prior knowledge is not readily available.
- a circuit includes an emulated current generator having a current output.
- a current sensor has a sensor output.
- a comparator has first and second comparator inputs, and a comparator output. The first comparator input is coupled to the current output, and the second comparator input is coupled to the sensor output.
- An inductor code counter has a counter input and a counter output, in which the counter input is coupled to the comparator output.
- a charge circuit has an input coupled to the comparator output, and the charge circuit includes a variable slope resistor having a trim input coupled to the counter output.
- a discharge circuit has an input coupled to the comparator output, and the discharge circuit includes a variable valley resistor having a trim input coupled to the counter output.
- a circuit in another described example, includes an emulated current generator configured to provide an emulated current signal responsive to a charge current and a discharge current respectively charging or discharging a timing capacitor.
- the emulated current signal can be representative of an emulated current through an output inductor.
- a comparator is configured to provide a comparator signal responsive to the emulated current signal and sensed current signal, in which the comparator signal is representative of a measure of current through the output inductor.
- An inductor code counter is configured to adjust an inductor code count value responsive to the comparator signal. A slope of the emulated current signal can be adjusted responsive to the inductor code count value.
- a system in a further described example, includes an inductor and a power stage, the power stage includes high-side and low-side switches.
- the high-side switch is coupled between a voltage supply terminal and a switching output terminal.
- the low-side switch is coupled between the switching output terminal and a ground terminal, and the inductor is coupled to the switching output terminal.
- a driver is configured to control the high-side and low-side switches responsive to a pulse-width modulated control signal.
- the power stage also includes inductance detection circuitry that includes an emulated current generator having a current output.
- a comparator has first and second comparator inputs, and a comparator output.
- the first comparator input is coupled to the current output, and the second comparator input is configured to receive a measure of current through the inductor.
- An inductor code counter has a counter input and a counter output, in which the counter input is coupled to the comparator output.
- a charge circuit has an input coupled to the comparator output, and the charge circuit includes a variable slope resistor having a trim input coupled to the counter output.
- a discharge circuit has an input coupled to the comparator output, and the discharge circuit includes a variable resistor valley having a trim input coupled to the counter output.
- FIG. l is a block diagram of an example power converter including inductance detection circuitry.
- FIG. 2 is a schematic diagram of an example inductance detection circuit.
- FIG. 3 is a schematic diagram of another example inductance detection circuit.
- FIG. 4 is a timing diagram showing the inductance detection circuit of FIG. 3.
- FIG. 5 is a block diagram of an example power converter system.
- FIG. 6 is a flow diagram showing an example method for detecting inductance.
- FIG. 7 is a graph of current over time showing how emulated and sensed current change during inductance detection.
- FIG. 8 is a graph of simulation results showing emulated current and sensed current in an example power stage during inductance detection.
- FIG. 9 is another graph of simulation results showing inductor code adjusted together with emulated current and sensed current during inductance detection.
- inductance detection circuity includes a counter configured to provide an inductor code that is adjusted (e.g., incremented or decremented) responsive to a comparison between an emulated current and a sensed inductor current.
- the emulated current can be generated to simulate inductor current responsive to a charge current and a discharge current.
- Circuitry is configured to provide the charge current and the discharge current responsive to the inductor code so the charge current and the discharge current provide a measure of the output inductance.
- the inductor code can converge to a value representative of an estimate of the output inductance, and the resulting inductor code value can be stored (e.g., in memory).
- the inductance detection circuitry can include additional detection circuitry, which uses the stored inductor code value.
- the additional detection circuitry is configured to fine tune the charge and discharge currents responsive to a comparison between the emulated and sensed inductor currents over another set of cycles.
- the inductance detection circuitry can be added to power stage circuitry, such as to configure the power stage circuitry to implement self-regulated (e.g., adaptive) output inductance detection.
- self-regulated e.g., adaptive
- FIG. 1 depicts a block diagram of a power converter circuit 100 configured to provide a regulated output voltage at an output 102.
- the power converter circuit 100 can be implemented as a buck regulator, a boost regulator, a buck-boost regulator or other regulator depending on application needs.
- the power converter circuit 100 also includes an output stage 104 having an output 106 (e.g., a switching output terminal).
- the output stage 104 is configured to supply a switching voltage VSW at the output 106 responsive to drive signals provided by driver circuitry 108.
- a control circuit 110 can be configured to implement one or more control loops to generate a control signal (e.g., a pulse-width modulated signal) to command an increase or decrease in output power (e.g., voltage and/or current) at the output 102.
- the power converter circuit 100 also includes inductance detection circuitry 112 configured to detect inductance of an output inductor LI coupled between outputs 102 and 106.
- the inductor LI is external to an integrated circuit (IC) that includes the power converter circuit 100.
- An output capacitor COUT can also be coupled to between the output 102 and a ground terminal.
- the term “circuit” can include a collection of active and/or passive elements that perform a circuit function, such as an analog circuit or control circuit.
- the term “circuit” can include an IC where all and/or some of the circuit elements are fabricated on a common substrate (e g., semiconductor substrate, such as a die or chip).
- the power converter circuit 100 or its constituent parts can be implemented on a semiconductor substrate to provide an IC.
- a power stage circuit including the output stage 104, driver 108, control circuit 110 and inductance detection circuitry 112, is implemented in a discrete IC, and the inductor LI is coupled to output 106 of the IC.
- the control circuit 110 is implemented as a separate IC from the IC implementing the power stage circuit.
- the inductance detection circuitry 112 includes an emulated current generator 114.
- the emulated current generator 114 has current inputs 117 and 118 and a current output 120 The current output 120 is coupled to an input of a comparator 116.
- the current input 117 is coupled to a charge current generator circuit (also referred to as a charge circuit) 122 and the current input 118 is coupled to a discharge current generator circuit (also referred to as a discharge circuit) 124.
- the emulated current generator 114 is configured to provide an emulated current signal I_EM at current output 120 responsive to a charge current I CHARGE and a discharge current I DISCHARGE generated by the respective charge and discharge circuits 122 and 124.
- the emulated current signal I_EM is representative of a simulated current through an output inductor.
- the inductance detection circuitry 112 is configured to implement selfregulated, closed loop control to adjust a slope of the emulated current I_EM to approximate or match the actual current through the inductor LI .
- a current sensor 126 has a sensor input 128 and a sensor output 130.
- the sensor input 128 is coupled to the output stage 104, and the sensor output is coupled to another input of the comparator 116.
- the current sensor 126 is configured to provide a sensed current signal I_SNS at sensor output 130 representative of a measure of current through the inductor LI.
- the current sensor 126 can be coupled across a low-side output switch and configured to provide signal 1_SNS as measure of inductor current when the low-side switch is turned on and the high-side switch is turned off.
- the comparator 116 has a comparator output 132, and is configured to provide a comparator output signal responsive to the emulated current signal I_EM and the sensed current signal I SNS.
- the comparator is implemented as a transconductance amplifier configured to generate a current error signal at 132 responsive to the emulated current signal I_EM and the sensed current signal I_SNS (e.g., where I_EM and I_SNS are currents).
- the comparator 116 can be implemented as a voltage comparator.
- the inductance detection circuitry 112 also includes an inductor code counter 134 having a counter input 136 and a counter output 138.
- the counter input 136 is coupled to the comparator output 132, and the counter output 138 is coupled to respective inputs of the charge and discharge circuits 122 and 124.
- the inductor code counter 134 is configured to adjust a count value representative of an inductor code and provide the count value at the counter output 138 responsive to the comparator signal received at 136.
- the counter 134 thus can increment or decrement the counter value each cycle depending on the relative values of I EM and I SNS. For example, if I_EM > I_SNS, the counter 134 can increment the count value (e.g., count up), and if I_EM ⁇ I_SNS, the counter can decrement the count value (e.g., count down).
- the charge and discharge circuits 122 and 124 are configured to adjust a slope of the respective charge and discharge currents I CHARGE and I DISCHARGE responsive to the count value (e.g., inductor code count value) at 138.
- the charge current generator circuit 122 includes a variable resistor 140, shown as slope resistor RSLP, coupled in the path of the charge current I CHARGE that is being generated.
- the discharge current generator circuit 124 also includes a variable resistor 142, shown as valley resistor RV AL, coupled in the path of the discharge current I DISCHARGE that is being generated.
- the variable resistors 140 and 142 have respective inputs coupled to counter output 138 to receive the inductor code count value and trim the respective resistances accordingly.
- each of the variable resistors 140 and 142 are trimmed to the same resistance responsive to the inductor code count value at 138. In another example, the variable resistors 140 and 142 are trimmed to different resistances responsive to the inductor code count value at 138.
- the charge and discharge circuits 122 and 124 are configured to adjust the respective charge and discharge currents I CHARGE and I DISCHARGE over a number of clock cycles (e.g., PWM cycles) responsive to the inductor code count value at 138 setting the resistance of variable resistors 140 and 142.
- the slope of the emulated current I EM e.g., rising and falling slopes of I EM
- I_SNS slope of the emulated current I_SNS.
- a controller 144 is configured to control inductance detection circuitry 112 for a number of cycles during power-on phase of the power converter 100.
- the controller 144 has a power input 146 and control output 148.
- the power input 146 is coupled to a power supply terminal, such as to receive a supply voltage, shown as VDD.
- the control output 148 can be coupled to an enable input of the inductor code counter 134.
- voltage VDD is supplied at 146 and the controller 144 is configured to provide an enable signal at 148 to enable (e g., activate) the inductor code counter 134.
- the controller 144 can be configured to enable the inductor code counter 134 for a number of cycles of a PWM or clock signal. Alternatively, the controller 144 can be configured to enable the inductor code counter 134 for a number of cycles (e.g., a variable number) responsive to detecting dithering between the I_EM and I_SNS signals. For example, the controller 144 can detect dithering responsive to a difference between I_EM and I SNS remaining less than a dither threshold. Other approaches can be used to detect sufficient convergence between the I_EM and I_SNS signals.
- the controller 144 can also be configured to store (e.g., latch) the inductor code count value provided by the inductor code counter 134 in memory (e.g., a register). As a result, the values of variable resistors 140 and 142 can be fixed responsive to the stored inductor code count value.
- the controller 144 can be configured to disable the inductor code counter 134 and enable a charge counter 150 and a discharge counter 152 of the respective charge and discharge circuits 122 and 124.
- the controller 144 also has a control output 153 coupled to enable inputs of the respective charge and discharge counters 150 and 152.
- the charge counter 150 has an input 154 coupled to the comparator output 132.
- the discharge counter 152 also has an input 156 coupled to the comparator output 132.
- the charge counter 150 and the discharge counter 152 are configured to adjust respective count values responsive to the comparator output at 132.
- the charge circuit 122 includes a trim circuit configured to set a respective offset voltage for tuning the charge current I CHARGE responsive to the charge counter output.
- the discharge circuit 124 can also include a trim circuit configured to set a respective offset voltage for tuning the discharge current I DISCHARGE responsive to the discharge counter output.
- the controller 144 is configured to perform fine tuning of the charge and discharge currents over a number of cycles, which can be a fixed or variable number of cycles. As a result of such fine tuning, the inductance detection circuitry 112 is operable to provide the emulated current I_EM to match the actual inductor current I_SNS to a desired precision.
- FIG. 2 illustrates another example of a power converter 200 implementing an inductance detection circuit.
- the inductance detection circuit 202 can be used to implement the inductance detection circuit 112 of FIG. 1. Accordingly, the description of FIG. 2 also refers to FIG. 1.
- the circuit 200 includes an output stage 104 having a switching output (e g., a switching node or terminal) 106 to which an inductor LI can be coupled.
- the output stage 104 includes field effect transistors (FETs) QI and Q2 coupled in series between a supply voltage VIN and ground, in which QI is a high-side FET and Q2 is a low-side FET.
- FETs field effect transistors
- the source of QI is coupled to the drain of Q2, which are also coupled to the switching output 106.
- a driver circuit (not shown in FIG. 2, but see driver 108 of FIG. 1) is configured to supply gate drive signals to control QI and Q2 and provide a switching voltage VSW at 106.
- Current sensor 126 has inputs coupled across Q2 and is configured to provide a sensor current signal at 130 representative of a measure of current through inductor LI.
- the current sensor 126 is configured to measure a low-side output waveform of the low-side FET Q2, such as a voltage (e.g., a drain-to- source voltage) across the low-side FET when Q2 is turned on.
- the current sensor 126 can be configured to provide the sensor signal I_SNS as a current signal proportional to the inductor output current through LI.
- the sensor signal I SNS could be a voltage representative of the inductor output current.
- the circuit 200 also includes an inductor code counter 134 having a counter input 136 and a counter output 138.
- the counter input 136 is coupled to the comparator output 132, and the counter output 138 is coupled to respective inputs of the charge and discharge circuits 122 and 124.
- the inductor code counter 134 is configured to adjust a count value representative of an inductor code and provide the count value at the counter output 138 responsive to the comparator signal at 136.
- FIG. 2 also shows the controller 144 having a control output 148 coupled to an enable input of the inductor code counter 134.
- the controller 144 is configured to provide a control signal at 148 to enable/disable the inductor code counter 134, and another control signal at 153 to enable/disable the charge and discharge counters 150 and 152 during an inductance detection phase of the circuit 200.
- the controller 144 is configured to enable the inductor code counter for a first number of cycles of the inductance detection phase to perform a coarse inductance detection while disabling the charge and discharge counters 150 and 152.
- the controller is also configured to enable the charge and discharge counters 150 and 152 for a second number of cycles subsequently in the inductance detection phase to perform finer inductance detection while disabling the inductor code counter 134.
- the emulated current generator 1 14 includes a charge current source 204 and a discharge current source 206.
- the charge current source 204 is coupled between a voltage supply terminal, shown as providing voltage VDD, and a switch, shown as FET Q3.
- the charge current source 204 is configured to provide a charge current I CHARGE (or a current proportional to I CHARGE) responsive to the current generated by the charge current generator circuit 122.
- the discharge current source 206 is coupled between Q3 and a ground terminal.
- the discharge current source 206 is configured to provide a discharge current I DISCHARGE (or a current proportional to I DISCHARGE) responsive to the current generated by the discharge current generator circuit 124.
- a switching voltage (VSW) detector 208 has an output coupled to a control input (e.g., gate) of Q3.
- the VSW detector 208 has an input coupled to the switching output 106, and is configured to control Q3 responsive to the switching voltage VSW at 106.
- the VSW detector can be implemented as a driver circuit such as is configured to supply a drive signal to turn on the Q3 to conduct when the switching voltage VSW is greater than a threshold voltage and to turn off Q3 when VSW is less than the threshold voltage.
- a timing capacitor Cl is coupled in parallel with discharge current source 206 between the source of Q3 and ground.
- the emulated current generator 114 is thus configured to provide the emulated current I_EM responsive to the charge and discharge currents I CHARGE and I DISCHARGE and based on the operation of the Q3 (responsive to VSW).
- I CHARGE and I DISCHARGE are configured to respectively charge and discharge the timing capacitor Cl to generate the emulated current I_EM.
- FIG. 2 also shows example charge and discharge current generator circuits 122 and 124.
- charge current generator circuit 122 includes a resistive divider circuit of resistors R1 and R2 coupled between an input voltage (VIN) terminal and ground. An output of the divider (e.g., node between R1 and R2) is coupled to a non-inverting input 210 of an amplifier 212.
- the divider circuit can be configured to provide a fractional portion of VIN to the amplifier input 210 according to a ratio of resistors R1 and R2.
- the amplifier 212 has an output coupled to a gate of transistor, shown as FET Q4.
- a compensation capacitor C2 is coupled between the amplifier output and ground.
- a charge current source 214 is coupled between voltage supply terminal VDD and Q4.
- a variable resistor 140 having a resistance shown as RSLP is coupled between the source of Q4 and ground. As described herein, the resistor 140 has a trim input coupled to the output 138 of the inductor code counter 134.
- a variable input offset voltage source 216 is coupled between the source of Q4 and the inverting input 218 of amplifier 212. As shown in FIG. 2, the offset voltage source 216 has an input coupled to an output 219 of charge counter 150, and is configured to provide an input offset voltage VIO1 to the input 218 responsive to the charge count value at 219.
- the amplifier 212 is implemented as an operational transconductance amplifier configured to provide an output current responsive to a difference between the voltages at respective inputs 210 and 218.
- the amplifier 212 thus can provide the output current as a linear function of the differential input voltage at 210 and 218.
- the charge current source 214 is configured to provide the current I CHARGE, and I CHARGE value varies responsive to the resistance RSLP of variable resistor 140. Thus, by adjusting resistance RSLP of variable resistor 140 over a number of cycles, the charge current I CHARGE changes accordingly.
- the charge current generator circuit 122 can be configured to provide the charge current I CHARGE to the emulated current generator 114, such as through one or more current mirrors (not shown). In another example, the charge current generator circuit 122 can be used to implement the charge current source 204 within the emulated current generator 114.
- the discharge current generator circuit 124 can be configured to generate the discharge current I DISCHARGE in a manner similar to the charge current generator circuit 122.
- the discharge circuit 124 includes a resistive divider circuit of resistors R3 and R4 coupled between an output (VOUT) terminal and ground.
- An output of the divider (e.g., node between R3 and R4) is coupled to a non-inverting input 220 of an amplifier 222.
- the divider circuit can be configured to provide a fractional portion of the output voltage VOUT to the amplifier input 220 according to a ratio of resistors R3 and R4.
- the amplifier 222 has an output coupled to a gate of transistor, shown as FET Q5.
- a compensation capacitor C3 is coupled between the amplifier output and ground.
- a charge current source 224 is coupled between voltage supply terminal VDD and Q5.
- a variable resistor 142 having a resistance, shown as RVAL, is coupled between the source of Q5 and ground. As described herein, the resistor 142 has a trim input coupled to the output 138 of the inductor code counter 134 so RVAL varies responsive to the count value at 138.
- a variable input offset voltage source 226 is coupled between the source of Q5 and the inverting input 228 of amplifier 222. The offset voltage source 226 has an input coupled to an output 230 of discharge counter 152. The offset voltage source 226 is configured to provide an input offset voltage VIO2 to the input 228 responsive to the discharge count value at 230.
- the amplifier 222 can implemented as an operational transconductance amplifier configured to provide an output current responsive to a difference between the voltages at respective inputs 220 and 228.
- the charge current source 224 can be configured to provide the current I DISCHARGE that varies responsive to the resistance RVAL. Thus, by adjusting resistance RVAL of variable resistor 140 over a number of cycles, the value of the charge current I DISCHARGE changes accordingly.
- the inductor code counter 134 is configured to adjust a count value (e.g., representative of the inductor code) from a starting value responsive to the comparator output signal at 138.
- the starting value can be set to an initial value, such as at or near a middle count value between minimum and maximum count values.
- the count value at 138 is used to set the resistance RSLP of resistor 140 and the resistance RVAL of resistor 142 (e.g., by pin strapping).
- the resistance values of RSLP and RVAL can be set to the same or different resistance responsive to the count value at 138.
- the values of the charge current I CHARGE and discharge current I DISCHARGE change responsive to respective changes in RSLP and RVAL. While the inductor code counter 134 is enabled (e.g., by controller) during the first number of cycles, the charge counter 150 and discharge counter 152 can be disabled so VIO1 and VIO2 remain constant during this phase.
- the inductance detection circuitry 112 can implement coarse tuning of charge and discharge currents I CHARGE and I DISCHARGE and the emulated current I_EM signal slopes over a first phase of the inductance detection process.
- the first inductance detection phase can be set to a number cycles (e.g., a number of PWM cycles or a period of time), which may be programmable.
- the controller 144 can implement the first inductance detection phase until detecting convergence between I_EM and I_SNS, such as described herein.
- the count value at 138 at the end of the first inductance detection phase can be stored in memory and the controller can disable the inductor code counter 134.
- the inductance detection circuitry 112 can implement a second phase of the inductance detection process.
- the inductance detection circuitry 112 can perform finer tuning of charge and discharge currents I CHARGE and I DISCHARGE over a second number of cycles that defines the second inductance detection phase.
- the controller can provide a control signal at 153 to enable the charge counter 150 and the discharge counter 152, while the inductor code counter remains disabled.
- the charge counter 150 is configured to trim the offset voltage source 216 and adjust VIO1 responsive to the comparator output at 138 and a slope clock signal (SLP CLK).
- SLP CLK slope clock signal
- the slope clock signal controls sampling of I_EM and I SNS.
- the discharge counter 152 can also be configured to trim the offset voltage source 226 and adjust VIO2 responsive to the comparator output at 138 and a valley clock signal (VAL_CLK).
- VAL_CLK valley clock signal
- the valley clock signal VAL CLK controls sampling of I_EM and I SNS at a time differently than used by the charge counter 150.
- FIG. 3 illustrates another example of an inductance detection circuit 300.
- the inductance detection circuit 300 can be used to implement the inductance detection circuit 112 of FIGS. 1 or 2. Accordingly, the description of FIG. 3 also refers to FIGS. 1 and 2.
- the circuit 300 includes an emulated current generator circuit 114, a charge current generator circuit 122 and a discharge current generator circuit 124.
- the charge current generator circuit 122 includes an amplifier 212 having a non-inverting input 210 configured to receive input voltage V IN (or a voltage derived from VIN). An output of the amplifier 212 has an output coupled to a gate of transistor Q4. A diode connected transistor Q6 is coupled between voltage supply terminal VDD and the drain of Q4. Variable resistor 140 is coupled between the source of Q4 and ground. As described herein, the resistor 140 has a trim input configured to receive the inductor code value from the inductor code counter 134. A variable offset voltage source 216 is coupled between the source of Q4 and the inverting input 218 of the amplifier 212. An output of the charge counter 150 is coupled to the variable offset voltage source 216 and configured to set the voltage VIO1.
- the charge current generator circuit 122 is configured to generate the charge current through Q4 and resistor 140 responsive to the amplifier output signal.
- an output of the current mirror 302 e.g., the drain of Q7 is coupled to a first terminal of a switch 304 (e.g., shown as FET Q3 in FIG. 2).
- the switch 304 has a control input configured to receive switching voltage signal VSW (e.g., at switching output 106).
- Timing capacitor Cl is coupled between a second terminal of the switch 304 and ground.
- the second terminal of the switch 304 is coupled to another current mirror 306, which is configured to mirror the discharge current generated by the discharge current generator circuit 124 to another leg of the emulated current generator 114.
- the discharge current generator circuit 124 includes amplifier 222 having a non-inverting input 220 configured to receive output voltage VOUT or a voltage derived from VOUT.
- the amplifier 222 has an output coupled to a gate of Q5.
- a diode connected transistor Q8 is coupled between voltage supply terminal VDD and the drain of Q5.
- Variable resistor 142 is coupled between the source of Q5 and ground.
- the resistor 142 has trim input configured to receive the inductor code value.
- a variable offset voltage source 226 is coupled between the source of Q5 and the inverting input 228 of the amplifier 222.
- An output of the discharge counter 152 is coupled to the variable offset voltage source 226 and configured to set the voltage VIO2.
- the discharge current generator circuit 124 is configured to generate the discharge current through Q5 and resistor 142 responsive to the output signal at the output of amplifier 222.
- the inductor code counter 134 has a multi-bit output 312 coupled to a respective multi-bit input of a register 314.
- the inductor code value can be shifted (e.g., latched) from the counter 134 into the register 314 during a first inductance detection phase.
- An output 316 of the register 314 (e.g., representative of output 138) provides a multi-bit code to set the resistance of the respective variable resistors 140 and 142.
- the controller 144 can disable the inductor code counter 134, and the last final inductor code can remain stored in the register 304.
- the resistance values RSLP and RVAL remain constant during further operation, including a second phase of the inductance detection process.
- the second inductance detection phase is omitted.
- the circuit 300 can implement a finer tuning for I CHARGE and I DISCHARGE.
- the circuit 300 includes chargeside sample-hold (S/H) circuits 320 and 322.
- Sample-hold circuit 320 has a sample input coupled to the current sensor output 130 and a clock input configured to receive a slope-sample clock signal (SLPS CLK).
- a clock circuit (not shown) can be configured to provide SLPS CLK to control sampling of I SNS and I EM, such as during a charging cycle.
- Sample-hold circuit 322 has a sample input coupled to the output 120 of the emulated current generator circuit 114 and a clock input configured to receive SLPS_CLK.
- the circuits 320 and 322 have respective outputs coupled to non-inverting and inverting inputs of comparator 324 (e.g., an error amplifier).
- the output of comparator 324 is coupled to an input of the charge counter 150 and an input (e.g., input 136) of the inductor code counter 134.
- Counters 134 and 150 can each have a respective clock input configured to receive an update clock signal (UP CLK), such as can be generated by an update clock circuit once per PWM cycle.
- UP CLK update clock signal
- the charge counter 150 can be enabled while the inductor code counter 134 is disabled.
- the circuit 300 also includes discharge-side sample-hold (S/H) circuits 330 and 332.
- Sample-hold circuit 330 has a sample input coupled to the current sensor output 130 and a clock input configured to receive a valley-sample clock signal (VALS CLK).
- Sample-hold circuit 332 has a sample input coupled to the output 120 of the emulated current generator circuit 114 and a clock input configured to receive VALS CLK, such as can be derived from clock signal CLK1 for sampling the current signals I_SNS and I_EM.
- the circuits 330 and 332 have respective outputs coupled to non-inverting and inverting inputs of comparator 334 (e.g., another error amplifier). The output of comparator 334 is coupled to an input of the discharge counter 152.
- the circuit 300 also includes DC reset circuitry 340, which has one input coupled to the output 120 of emulated current generator 114 and another input coupled to current sensor output 130.
- the DC reset circuitry 340 includes a switch 342 (e g., a FET) coupled in series with respective buffers 344 and 346 between outputs 120 and 130.
- the switch 342 has a control input configured to receive a clock signal (CLK2).
- CLK2 clock signal
- the switch 342 is configured to close (e.g., turn on) responsive to CLK2 to couple (e.g., short) the outputs 130 and 120 together.
- the short through the switch 342 forces signals I_SNS and I_EM to be equal, which resets (e.g., zeroes) accumulated AC error in the signals I_SNS and I_EM.
- a cycle-by-cycle reset by activating the switch 342 each cycle also helps to track the DC value in the inductor current.
- the clock signal CLK2 is asserted to close the switch each cycle with some delay after the low-side switch Q4 (see FIG. 2) is turned on.
- FIG. 4 illustrates a timing diagram 400 for signals used to control the inductance detection circuit 300 of FIG. 3.
- the timing diagrams shows a PWM signal 402, such as supplied by the control circuit 110.
- FIG. 4 also shows a low-side on signal 404 and clock signals CLK1 and CLK2.
- the low-side on signal 404 is representative of activation of low-side FET Q2 in the output stage of the power stage.
- CLK1 includes a slope sampling clock signal SLPS CLK 406, valley sampling clock signal VALS CLK 408 and an update clock signal UP CLK 410. As described with respect to FIG.
- SLPS CLK 406 is used to control sampling of I_SNS and I_EM by the sample-hold circuits 320 and 322 of the charge generator circuit 122.
- VALS_CLK is used to control sampling of I_SNS and I_EM by the sample-hold circuits 330 and 332 of the discharge generator circuit 124.
- the update clock signal UP_CLK is used to control when the counter adjustments are made responsive to the outputs of respective comparators 324 and 334.
- the second clock signal CLK2 is generated to control the reset circuit 340 each cycle during the inductance detection process, as described herein.
- FIG. 5 illustrates an example power converter system 500 configured to provide a regulated output voltage VOUT at an output 102.
- the system 500 can implement the inductance detector circuitry 112, as described herein with respect to FIGS. 1-3. Accordingly, the description of FIG. 5 also refers to FIGS. 1-3.
- the system includes one or more instances of a power stage 502 having a respective switching output 106. Inductor LI is coupled between the switching output 106 and output 102.
- the power stage 502 includes an output stage 104 having a high-side switch and a low-side switch coupled between a supply voltage terminal VIN and ground.
- FIG. 1 illustrates an example power converter system 500 configured to provide a regulated output voltage VOUT at an output 102.
- the system 500 can implement the inductance detector circuitry 112, as described herein with respect to FIGS. 1-3. Accordingly, the description of FIG. 5 also refers to FIGS. 1-3.
- the system includes one or more instances of a power stage 502 having a
- a driver 508 (e.g., a gate driver when switches 504 and 506 are implemented as FETs) has outputs coupled to control inputs of the respective switches 504 and 506.
- the driver is configured to supply drive signals to turn on and off the switches 504 and 506 responsive to a PWM signal provided by the control circuit 110.
- the control circuit 110 is configured to implement one or more control loops to regulate the output voltage VOUT to a reference voltage.
- the power stage 502 is configured to control the output stage 104 responsive to the drive signals to provide the output voltage VOUT.
- the power stage 502 can be configured to implement a type of power converter topology (e.g., buck boost, buck-boost, etc.) according to application requirements.
- the power converter system 500 includes multiple power stages 502 configured as a multi-phase power system in which each respective power stage has an inductor coupled to a switching output thereof and the output 102.
- each power stage 502 can be configured to implement inductance detection circuitry 112.
- the control circuit 110 can be implemented as an IC chip and each power stage 502 can be implemented as a respective IC chip having a switching output terminal (e.g. pin) to which an output inductor is coupled.
- the control circuit 110 and power stage(s) can be implemented on a single IC chip.
- FIG. 6 is a flow diagram showing an example method 600 for detecting inductance.
- the method can be implemented by inductance detection circuitry 112 shown in FIGS. 1-3 and 5. Accordingly, the description of FIG. 6 also refers to FIGS. 1-3 and 5.
- the method 600 begins at 610 at power on of a power converter circuit 100, 200, 300, 500, such as responsive to power being supplied from a battery, an inverter or other power supply.
- counters 134, 150 and 152 can be initialized to respective starting values, such as a maximum count value, or a count value between maximum and minimum count values.
- comparator 116, 324, 334 is configured to provide a comparator output signal based on difference between the emulated inductor current I_EM and the sensed inductor current I_SNS.
- I_EM is less than I_SNS, the method proceeds to 606 to decrease the slope of the emulated current I_EM.
- the inductor code counter 134 decrements its count value, which causes charge and discharge current generator circuits 122 and 124 to decrease the slope of respective charge and discharge currents I CHARGE and I DISCHARGE, so the emulated current generator 114 decreases the slope of I EM accordingly.
- the method proceeds to 608 to increase the slope of the emulated current I_EM.
- the inductor code counter 134 increments its count value, which causes charge and discharge current generator circuits 122 and 124 to increase the slope of respective charge and discharge currents I CHARGE and I DISCHARGE.
- the emulated current generator 114 increase the slope of I_EM accordingly. From 606 or 608, the method 600 proceeds to 610 to determine whether the inductance detection process has completed.
- the determination at 610 can be based on a number of cycles (e g , PWM cycles), a fixed period of time, or detecting convergence (e.g., dithering) between I_EM and I_SNS. If the process is not finished, the method returns to 604 for a next cycle. If the process is determined to have completed, the method proceeds from 610 to 612.
- an inductor code can be set. For example, the last inductor code value from inductor counter 134 can be stored in memory (e.g., register 314) to fix the slope of the emulated inductor current I_EM. From 612 the method can end or, in some examples, the method 600 can further include a next phase of fine tuning of the emulated inductor current I_EM, such as by tuning adjustable offsets responsive to I_EM and I SNS, as described herein.
- FIG. 7 is graph 700 of current over time showing how emulated current I_EM and I SNS change over time (e.g., cycle-by-cycle) during inductance detection.
- samples of I_EM and I_SNS are shown respectively as dots 702 and 704 for each cycle.
- the samples of I_EM and I SNS can be compared each cycle.
- the emulated current 702 begins with a shallow slope, such as responsive to initializing the inductor code counter to a maximum count value.
- the slope of the emulated current signal I_EM can be increased (indicated by up arrows 706) or decreased (indicated by down arrows 708) until the two samples match (e.g., converge to the same value).
- the sampled values 702 and 704 converge over time, and as shown at 710, after several cycles, the slope of the emulated signal 1_EM dithers around an optimal slope. After N cycles where dithering occurs, the inductor code can be stored in memory (where N is a positive integer).
- FIG. 8 is a graph 800 of simulation results of signals implemented by an inductance detection circuit 112.
- the graph 800 shows a low-side on signal 802, such as is applied to gate of Q2, or control input of switch 506.
- the graph 800 also shows emulated current signal 804 and sensed current signal 806 in an example power stage 502 during inductance detection.
- FIG. 9 is another graph 900 of simulation results showing signals implemented by an inductance detection circuit 112.
- an enable signal 902 can be provided by controller 144 to enable inductor code counter 134.
- a count signal 904 can be provided by a comparator 134 to instruct the inductor code counter 134 to count up or down and provide a multibit count value shown at 906.
- the graph 900 also shows sensed current signal 910 and emulated current signal 912 over a number of cycles during inductance detection.
- the counter signal 906 can be adjusted each cycle responsive to a comparison of emulated current 912 and sensed current 910.
- the term “couple” or “couples” means either an indirect or direct connection.
- a first device couples to a second device, that connection may be through a direct connection or through an indirect connection via other devices and connections.
- device A generates a signal to control device B to perform an action, then: (a) in a first example, device A is coupled to device B; or (b) in a second example, device A is coupled to device B through intervening component C if intervening component C does not alter the functional relationship between device A and device B, so device B is controlled by device A via the control signal generated by device A.
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
Abstract
In an example, a circuit (100) includes an emulated current generator (114) configured to provide an emulated current signal responsive to a charge current and a discharge current. The emulated current signal can be representative of an emulated current through an output inductor (El). A comparator (116) is configured to provide a comparator signal responsive to the emulated current signal and sensed current signal representative of a measure of current through the output inductor (El). An inductor code counter (134) is configured to adjust an inductor code count value responsive to the comparator signal. A slope of the emulated current signal can be adjusted responsive to the inductor code count value.
Description
INDUCTANCE DETECTION FOR POWER CONVERTERS
[0001] This description relates to inductance detection for power converters.
BACKGROUND
[0002] Power converter circuits, such as switch mode power supplies, can use external inductors having a wide range of inductances. For some power converters, prior knowledge of output inductance is used to configure the power converter for operation. In some circumstances, however, such prior knowledge is not readily available.
SUMMARY
[0003] In a described example, a circuit includes an emulated current generator having a current output. A current sensor has a sensor output. A comparator has first and second comparator inputs, and a comparator output. The first comparator input is coupled to the current output, and the second comparator input is coupled to the sensor output. An inductor code counter has a counter input and a counter output, in which the counter input is coupled to the comparator output. A charge circuit has an input coupled to the comparator output, and the charge circuit includes a variable slope resistor having a trim input coupled to the counter output. A discharge circuit has an input coupled to the comparator output, and the discharge circuit includes a variable valley resistor having a trim input coupled to the counter output.
[0004] In another described example, a circuit includes an emulated current generator configured to provide an emulated current signal responsive to a charge current and a discharge current respectively charging or discharging a timing capacitor. The emulated current signal can be representative of an emulated current through an output inductor. A comparator is configured to provide a comparator signal responsive to the emulated current signal and sensed current signal, in which the comparator signal is representative of a measure of current through the output inductor. An inductor code counter is configured to adjust an inductor code count value responsive to the comparator signal. A slope of the emulated current signal can be adjusted responsive to the inductor code count value.
[0005] In a further described example, a system includes an inductor and a power stage, the
power stage includes high-side and low-side switches. The high-side switch is coupled between a voltage supply terminal and a switching output terminal. The low-side switch is coupled between the switching output terminal and a ground terminal, and the inductor is coupled to the switching output terminal. A driver is configured to control the high-side and low-side switches responsive to a pulse-width modulated control signal. The power stage also includes inductance detection circuitry that includes an emulated current generator having a current output. A comparator has first and second comparator inputs, and a comparator output. The first comparator input is coupled to the current output, and the second comparator input is configured to receive a measure of current through the inductor. An inductor code counter has a counter input and a counter output, in which the counter input is coupled to the comparator output. A charge circuit has an input coupled to the comparator output, and the charge circuit includes a variable slope resistor having a trim input coupled to the counter output. A discharge circuit has an input coupled to the comparator output, and the discharge circuit includes a variable resistor valley having a trim input coupled to the counter output.
BRIEF DESCRIPTION OF THE DRAWINGS
[0006] FIG. l is a block diagram of an example power converter including inductance detection circuitry.
[0007] FIG. 2 is a schematic diagram of an example inductance detection circuit.
[0008] FIG. 3 is a schematic diagram of another example inductance detection circuit. [0009] FIG. 4 is a timing diagram showing the inductance detection circuit of FIG. 3. [0010] FIG. 5 is a block diagram of an example power converter system.
[0011] FIG. 6 is a flow diagram showing an example method for detecting inductance.
[0012] FIG. 7 is a graph of current over time showing how emulated and sensed current change during inductance detection.
[0013] FIG. 8 is a graph of simulation results showing emulated current and sensed current in an example power stage during inductance detection.
[0014] FIG. 9 is another graph of simulation results showing inductor code adjusted together with emulated current and sensed current during inductance detection.
DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS
[0015] Examples relate to systems and methods for detecting output inductance for power
converters. For example, inductance detection circuity includes a counter configured to provide an inductor code that is adjusted (e.g., incremented or decremented) responsive to a comparison between an emulated current and a sensed inductor current. The emulated current can be generated to simulate inductor current responsive to a charge current and a discharge current. Circuitry is configured to provide the charge current and the discharge current responsive to the inductor code so the charge current and the discharge current provide a measure of the output inductance. Thus, by changing the inductor code responsive to the comparison over a number of cycles, the inductor code can converge to a value representative of an estimate of the output inductance, and the resulting inductor code value can be stored (e.g., in memory).
[0016] In an example, the inductance detection circuitry can include additional detection circuitry, which uses the stored inductor code value. The additional detection circuitry is configured to fine tune the charge and discharge currents responsive to a comparison between the emulated and sensed inductor currents over another set of cycles. The inductance detection circuitry can be added to power stage circuitry, such as to configure the power stage circuitry to implement self-regulated (e.g., adaptive) output inductance detection. The approach described herein thus can provide a practical production solution to enable a power stage circuitry to detect output inductance without requiring the addition of a dedicated pin to an integrated circuit die that includes the respective power stage.
[0017] FIG. 1 depicts a block diagram of a power converter circuit 100 configured to provide a regulated output voltage at an output 102. For example, the power converter circuit 100 can be implemented as a buck regulator, a boost regulator, a buck-boost regulator or other regulator depending on application needs. The power converter circuit 100 also includes an output stage 104 having an output 106 (e.g., a switching output terminal). For example, the output stage 104 is configured to supply a switching voltage VSW at the output 106 responsive to drive signals provided by driver circuitry 108. A control circuit 110 can be configured to implement one or more control loops to generate a control signal (e.g., a pulse-width modulated signal) to command an increase or decrease in output power (e.g., voltage and/or current) at the output 102. The power converter circuit 100 also includes inductance detection circuitry 112 configured to detect inductance of an output inductor LI coupled between outputs 102 and 106. For example, the inductor LI is external to an integrated circuit (IC) that includes the power converter circuit 100.
An output capacitor COUT can also be coupled to between the output 102 and a ground terminal. [0018] As used herein, the term “circuit” can include a collection of active and/or passive elements that perform a circuit function, such as an analog circuit or control circuit. Also or alternatively, for example, the term “circuit” can include an IC where all and/or some of the circuit elements are fabricated on a common substrate (e g., semiconductor substrate, such as a die or chip). Thus, the power converter circuit 100 or its constituent parts can be implemented on a semiconductor substrate to provide an IC. In one example, a power stage circuit, including the output stage 104, driver 108, control circuit 110 and inductance detection circuitry 112, is implemented in a discrete IC, and the inductor LI is coupled to output 106 of the IC. In another example, the control circuit 110 is implemented as a separate IC from the IC implementing the power stage circuit.
[0019] The inductance detection circuitry 112 includes an emulated current generator 114. The emulated current generator 114 has current inputs 117 and 118 and a current output 120 The current output 120 is coupled to an input of a comparator 116. The current input 117 is coupled to a charge current generator circuit (also referred to as a charge circuit) 122 and the current input 118 is coupled to a discharge current generator circuit (also referred to as a discharge circuit) 124. The emulated current generator 114 is configured to provide an emulated current signal I_EM at current output 120 responsive to a charge current I CHARGE and a discharge current I DISCHARGE generated by the respective charge and discharge circuits 122 and 124. The emulated current signal I_EM is representative of a simulated current through an output inductor. As described herein, the inductance detection circuitry 112 is configured to implement selfregulated, closed loop control to adjust a slope of the emulated current I_EM to approximate or match the actual current through the inductor LI .
[0020] For example, a current sensor 126 has a sensor input 128 and a sensor output 130. The sensor input 128 is coupled to the output stage 104, and the sensor output is coupled to another input of the comparator 116. The current sensor 126 is configured to provide a sensed current signal I_SNS at sensor output 130 representative of a measure of current through the inductor LI. In an example where the output stage includes high-side and low-side switches, the current sensor 126 can be coupled across a low-side output switch and configured to provide signal 1_SNS as measure of inductor current when the low-side switch is turned on and the high-side switch is
turned off.
[0021] The comparator 116 has a comparator output 132, and is configured to provide a comparator output signal responsive to the emulated current signal I_EM and the sensed current signal I SNS. In an example, the comparator is implemented as a transconductance amplifier configured to generate a current error signal at 132 responsive to the emulated current signal I_EM and the sensed current signal I_SNS (e.g., where I_EM and I_SNS are currents). In another example, such as where I_EM and I_SNS are provided as voltage signals, the comparator 116 can be implemented as a voltage comparator.
[0022] The inductance detection circuitry 112 also includes an inductor code counter 134 having a counter input 136 and a counter output 138. The counter input 136 is coupled to the comparator output 132, and the counter output 138 is coupled to respective inputs of the charge and discharge circuits 122 and 124. The inductor code counter 134 is configured to adjust a count value representative of an inductor code and provide the count value at the counter output 138 responsive to the comparator signal received at 136. The counter 134 thus can increment or decrement the counter value each cycle depending on the relative values of I EM and I SNS. For example, if I_EM > I_SNS, the counter 134 can increment the count value (e.g., count up), and if I_EM < I_SNS, the counter can decrement the count value (e.g., count down).
[0023] As described herein, the charge and discharge circuits 122 and 124 are configured to adjust a slope of the respective charge and discharge currents I CHARGE and I DISCHARGE responsive to the count value (e.g., inductor code count value) at 138. For example, the charge current generator circuit 122 includes a variable resistor 140, shown as slope resistor RSLP, coupled in the path of the charge current I CHARGE that is being generated. The discharge current generator circuit 124 also includes a variable resistor 142, shown as valley resistor RV AL, coupled in the path of the discharge current I DISCHARGE that is being generated. The variable resistors 140 and 142 have respective inputs coupled to counter output 138 to receive the inductor code count value and trim the respective resistances accordingly. In one example, each of the variable resistors 140 and 142 are trimmed to the same resistance responsive to the inductor code count value at 138. In another example, the variable resistors 140 and 142 are trimmed to different resistances responsive to the inductor code count value at 138. Thus, the charge and discharge circuits 122 and 124 are configured to adjust the respective charge and discharge currents
I CHARGE and I DISCHARGE over a number of clock cycles (e.g., PWM cycles) responsive to the inductor code count value at 138 setting the resistance of variable resistors 140 and 142. As a result of adjusting the respective charge and discharge currents, the slope of the emulated current I EM (e.g., rising and falling slopes of I EM) are adjusted to converge and match the slope of the sensed inductor current I_SNS.
[0024] In some examples, a controller 144 is configured to control inductance detection circuitry 112 for a number of cycles during power-on phase of the power converter 100. For example, the controller 144 has a power input 146 and control output 148. The power input 146 is coupled to a power supply terminal, such as to receive a supply voltage, shown as VDD. The control output 148 can be coupled to an enable input of the inductor code counter 134. For example, responsive to power-up, voltage VDD is supplied at 146 and the controller 144 is configured to provide an enable signal at 148 to enable (e g., activate) the inductor code counter 134. The controller 144 can be configured to enable the inductor code counter 134 for a number of cycles of a PWM or clock signal. Alternatively, the controller 144 can be configured to enable the inductor code counter 134 for a number of cycles (e.g., a variable number) responsive to detecting dithering between the I_EM and I_SNS signals. For example, the controller 144 can detect dithering responsive to a difference between I_EM and I SNS remaining less than a dither threshold. Other approaches can be used to detect sufficient convergence between the I_EM and I_SNS signals. The controller 144 can also be configured to store (e.g., latch) the inductor code count value provided by the inductor code counter 134 in memory (e.g., a register). As a result, the values of variable resistors 140 and 142 can be fixed responsive to the stored inductor code count value.
[0025] Responsive to the controller 144 detecting convergence of I_EM and I SNS signals, such as described herein, the controller 144 can be configured to disable the inductor code counter 134 and enable a charge counter 150 and a discharge counter 152 of the respective charge and discharge circuits 122 and 124. For example, the controller 144 also has a control output 153 coupled to enable inputs of the respective charge and discharge counters 150 and 152. The charge counter 150 has an input 154 coupled to the comparator output 132. The discharge counter 152 also has an input 156 coupled to the comparator output 132. When activated responsive to an enable signal provided at 153 by the controller 144, the charge counter 150 and the discharge counter 152 are configured to adjust respective count values responsive to the comparator output at 132. For
example, the charge circuit 122 includes a trim circuit configured to set a respective offset voltage for tuning the charge current I CHARGE responsive to the charge counter output. The discharge circuit 124 can also include a trim circuit configured to set a respective offset voltage for tuning the discharge current I DISCHARGE responsive to the discharge counter output. While the variable resistors 140 and 142 are fixed responsive to the stored inductor code value, the controller 144 is configured to perform fine tuning of the charge and discharge currents over a number of cycles, which can be a fixed or variable number of cycles. As a result of such fine tuning, the inductance detection circuitry 112 is operable to provide the emulated current I_EM to match the actual inductor current I_SNS to a desired precision.
[0026] FIG. 2 illustrates another example of a power converter 200 implementing an inductance detection circuit. The inductance detection circuit 202 can be used to implement the inductance detection circuit 112 of FIG. 1. Accordingly, the description of FIG. 2 also refers to FIG. 1. For example, the circuit 200 includes an output stage 104 having a switching output (e g., a switching node or terminal) 106 to which an inductor LI can be coupled. In the example of FIG. 2, the output stage 104 includes field effect transistors (FETs) QI and Q2 coupled in series between a supply voltage VIN and ground, in which QI is a high-side FET and Q2 is a low-side FET. The source of QI is coupled to the drain of Q2, which are also coupled to the switching output 106. A driver circuit (not shown in FIG. 2, but see driver 108 of FIG. 1) is configured to supply gate drive signals to control QI and Q2 and provide a switching voltage VSW at 106.
[0027] Current sensor 126 has inputs coupled across Q2 and is configured to provide a sensor current signal at 130 representative of a measure of current through inductor LI. For example, the current sensor 126 is configured to measure a low-side output waveform of the low-side FET Q2, such as a voltage (e.g., a drain-to- source voltage) across the low-side FET when Q2 is turned on. The current sensor 126 can be configured to provide the sensor signal I_SNS as a current signal proportional to the inductor output current through LI. Alternatively, the sensor signal I SNS could be a voltage representative of the inductor output current.
[0028] Also, as described with respect to FIG. 1, the circuit 200 also includes an inductor code counter 134 having a counter input 136 and a counter output 138. The counter input 136 is coupled to the comparator output 132, and the counter output 138 is coupled to respective inputs of the charge and discharge circuits 122 and 124. The inductor code counter 134 is configured to adjust
a count value representative of an inductor code and provide the count value at the counter output 138 responsive to the comparator signal at 136.
[0029] FIG. 2 also shows the controller 144 having a control output 148 coupled to an enable input of the inductor code counter 134. The controller 144 is configured to provide a control signal at 148 to enable/disable the inductor code counter 134, and another control signal at 153 to enable/disable the charge and discharge counters 150 and 152 during an inductance detection phase of the circuit 200. For example, the controller 144 is configured to enable the inductor code counter for a first number of cycles of the inductance detection phase to perform a coarse inductance detection while disabling the charge and discharge counters 150 and 152. The controller is also configured to enable the charge and discharge counters 150 and 152 for a second number of cycles subsequently in the inductance detection phase to perform finer inductance detection while disabling the inductor code counter 134.
[0030] In the example of FIG. 2, the emulated current generator 1 14 includes a charge current source 204 and a discharge current source 206. The charge current source 204 is coupled between a voltage supply terminal, shown as providing voltage VDD, and a switch, shown as FET Q3. The charge current source 204 is configured to provide a charge current I CHARGE (or a current proportional to I CHARGE) responsive to the current generated by the charge current generator circuit 122. The discharge current source 206 is coupled between Q3 and a ground terminal. The discharge current source 206 is configured to provide a discharge current I DISCHARGE (or a current proportional to I DISCHARGE) responsive to the current generated by the discharge current generator circuit 124.
[0031] A switching voltage (VSW) detector 208 has an output coupled to a control input (e.g., gate) of Q3. In an example, the VSW detector 208 has an input coupled to the switching output 106, and is configured to control Q3 responsive to the switching voltage VSW at 106. The VSW detector can be implemented as a driver circuit such as is configured to supply a drive signal to turn on the Q3 to conduct when the switching voltage VSW is greater than a threshold voltage and to turn off Q3 when VSW is less than the threshold voltage. A timing capacitor Cl is coupled in parallel with discharge current source 206 between the source of Q3 and ground. The emulated current generator 114 is thus configured to provide the emulated current I_EM responsive to the charge and discharge currents I CHARGE and I DISCHARGE and based on the operation of the
Q3 (responsive to VSW). For example, I CHARGE and I DISCHARGE are configured to respectively charge and discharge the timing capacitor Cl to generate the emulated current I_EM. [0032] FIG. 2 also shows example charge and discharge current generator circuits 122 and 124. For example, charge current generator circuit 122 includes a resistive divider circuit of resistors R1 and R2 coupled between an input voltage (VIN) terminal and ground. An output of the divider (e.g., node between R1 and R2) is coupled to a non-inverting input 210 of an amplifier 212. The divider circuit can be configured to provide a fractional portion of VIN to the amplifier input 210 according to a ratio of resistors R1 and R2. The amplifier 212 has an output coupled to a gate of transistor, shown as FET Q4. A compensation capacitor C2 is coupled between the amplifier output and ground.
[0033] A charge current source 214 is coupled between voltage supply terminal VDD and Q4. A variable resistor 140 having a resistance shown as RSLP is coupled between the source of Q4 and ground. As described herein, the resistor 140 has a trim input coupled to the output 138 of the inductor code counter 134. A variable input offset voltage source 216 is coupled between the source of Q4 and the inverting input 218 of amplifier 212. As shown in FIG. 2, the offset voltage source 216 has an input coupled to an output 219 of charge counter 150, and is configured to provide an input offset voltage VIO1 to the input 218 responsive to the charge count value at 219. [0034] In an example, the amplifier 212 is implemented as an operational transconductance amplifier configured to provide an output current responsive to a difference between the voltages at respective inputs 210 and 218. The amplifier 212 thus can provide the output current as a linear function of the differential input voltage at 210 and 218. The charge current source 214 is configured to provide the current I CHARGE, and I CHARGE value varies responsive to the resistance RSLP of variable resistor 140. Thus, by adjusting resistance RSLP of variable resistor 140 over a number of cycles, the charge current I CHARGE changes accordingly. The charge current generator circuit 122 can be configured to provide the charge current I CHARGE to the emulated current generator 114, such as through one or more current mirrors (not shown). In another example, the charge current generator circuit 122 can be used to implement the charge current source 204 within the emulated current generator 114.
[0035] The discharge current generator circuit 124 can be configured to generate the discharge current I DISCHARGE in a manner similar to the charge current generator circuit 122. The
discharge circuit 124 includes a resistive divider circuit of resistors R3 and R4 coupled between an output (VOUT) terminal and ground. An output of the divider (e.g., node between R3 and R4) is coupled to a non-inverting input 220 of an amplifier 222. The divider circuit can be configured to provide a fractional portion of the output voltage VOUT to the amplifier input 220 according to a ratio of resistors R3 and R4. The amplifier 222 has an output coupled to a gate of transistor, shown as FET Q5. A compensation capacitor C3 is coupled between the amplifier output and ground.
[0036] A charge current source 224 is coupled between voltage supply terminal VDD and Q5. A variable resistor 142 having a resistance, shown as RVAL, is coupled between the source of Q5 and ground. As described herein, the resistor 142 has a trim input coupled to the output 138 of the inductor code counter 134 so RVAL varies responsive to the count value at 138. A variable input offset voltage source 226 is coupled between the source of Q5 and the inverting input 228 of amplifier 222. The offset voltage source 226 has an input coupled to an output 230 of discharge counter 152. The offset voltage source 226 is configured to provide an input offset voltage VIO2 to the input 228 responsive to the discharge count value at 230. The amplifier 222 can implemented as an operational transconductance amplifier configured to provide an output current responsive to a difference between the voltages at respective inputs 220 and 228. The charge current source 224 can be configured to provide the current I DISCHARGE that varies responsive to the resistance RVAL. Thus, by adjusting resistance RVAL of variable resistor 140 over a number of cycles, the value of the charge current I DISCHARGE changes accordingly.
[0037] As described herein, during a first number of cycles at power-on, the inductor code counter 134 is configured to adjust a count value (e.g., representative of the inductor code) from a starting value responsive to the comparator output signal at 138. The starting value can be set to an initial value, such as at or near a middle count value between minimum and maximum count values. The count value at 138 is used to set the resistance RSLP of resistor 140 and the resistance RVAL of resistor 142 (e.g., by pin strapping). The resistance values of RSLP and RVAL can be set to the same or different resistance responsive to the count value at 138. As described herein, the values of the charge current I CHARGE and discharge current I DISCHARGE change responsive to respective changes in RSLP and RVAL. While the inductor code counter 134 is enabled (e.g., by controller) during the first number of cycles, the charge counter 150 and discharge
counter 152 can be disabled so VIO1 and VIO2 remain constant during this phase. Thus, the inductance detection circuitry 112 can implement coarse tuning of charge and discharge currents I CHARGE and I DISCHARGE and the emulated current I_EM signal slopes over a first phase of the inductance detection process. The first inductance detection phase can be set to a number cycles (e.g., a number of PWM cycles or a period of time), which may be programmable. Also, or alternatively, the controller 144 can implement the first inductance detection phase until detecting convergence between I_EM and I_SNS, such as described herein. The count value at 138 at the end of the first inductance detection phase can be stored in memory and the controller can disable the inductor code counter 134.
[0038] After the first phase of the inductance detection process has completed, the inductance detection circuitry 112 can implement a second phase of the inductance detection process. For example, the inductance detection circuitry 112 can perform finer tuning of charge and discharge currents I CHARGE and I DISCHARGE over a second number of cycles that defines the second inductance detection phase. For example, the controller can provide a control signal at 153 to enable the charge counter 150 and the discharge counter 152, while the inductor code counter remains disabled. The charge counter 150 is configured to trim the offset voltage source 216 and adjust VIO1 responsive to the comparator output at 138 and a slope clock signal (SLP CLK). For example, the slope clock signal controls sampling of I_EM and I SNS. The discharge counter 152 can also be configured to trim the offset voltage source 226 and adjust VIO2 responsive to the comparator output at 138 and a valley clock signal (VAL_CLK). For example, the valley clock signal VAL CLK controls sampling of I_EM and I SNS at a time differently than used by the charge counter 150.
[0039] FIG. 3 illustrates another example of an inductance detection circuit 300. The inductance detection circuit 300 can be used to implement the inductance detection circuit 112 of FIGS. 1 or 2. Accordingly, the description of FIG. 3 also refers to FIGS. 1 and 2. For example, the circuit 300 includes an emulated current generator circuit 114, a charge current generator circuit 122 and a discharge current generator circuit 124.
[0040] In the example of FIG. 3, the charge current generator circuit 122 includes an amplifier 212 having a non-inverting input 210 configured to receive input voltage V IN (or a voltage derived from VIN). An output of the amplifier 212 has an output coupled to a gate of transistor Q4. A
diode connected transistor Q6 is coupled between voltage supply terminal VDD and the drain of Q4. Variable resistor 140 is coupled between the source of Q4 and ground. As described herein, the resistor 140 has a trim input configured to receive the inductor code value from the inductor code counter 134. A variable offset voltage source 216 is coupled between the source of Q4 and the inverting input 218 of the amplifier 212. An output of the charge counter 150 is coupled to the variable offset voltage source 216 and configured to set the voltage VIO1.
[0041] The charge current generator circuit 122 is configured to generate the charge current through Q4 and resistor 140 responsive to the amplifier output signal. A current mirror 302, which includes Q6 and another FET Q7, is configured to mirror the generated charge current I CHAR.GE from the charge current generator circuit 122 to the emulated current generator 114. For example, an output of the current mirror 302 (e.g., the drain of Q7) is coupled to a first terminal of a switch 304 (e.g., shown as FET Q3 in FIG. 2). The switch 304 has a control input configured to receive switching voltage signal VSW (e.g., at switching output 106). Timing capacitor Cl is coupled between a second terminal of the switch 304 and ground. The second terminal of the switch 304 is coupled to another current mirror 306, which is configured to mirror the discharge current generated by the discharge current generator circuit 124 to another leg of the emulated current generator 114.
[0042] The discharge current generator circuit 124 includes amplifier 222 having a non-inverting input 220 configured to receive output voltage VOUT or a voltage derived from VOUT. The amplifier 222 has an output coupled to a gate of Q5. A diode connected transistor Q8 is coupled between voltage supply terminal VDD and the drain of Q5. Variable resistor 142 is coupled between the source of Q5 and ground. The resistor 142 has trim input configured to receive the inductor code value. A variable offset voltage source 226 is coupled between the source of Q5 and the inverting input 228 of the amplifier 222. An output of the discharge counter 152 is coupled to the variable offset voltage source 226 and configured to set the voltage VIO2. The discharge current generator circuit 124 is configured to generate the discharge current through Q5 and resistor 142 responsive to the output signal at the output of amplifier 222. A current mirror 308, which includes Q8 and another FET Q9, is configured to mirror the generated discharge current 1 D1SCHARGE to current mirror 306 and ultimately to the emulated current generator 114.
[0043] In the example of FIG. 3, the inductor code counter 134 has a multi-bit output 312
coupled to a respective multi-bit input of a register 314. The inductor code value can be shifted (e.g., latched) from the counter 134 into the register 314 during a first inductance detection phase. An output 316 of the register 314 (e.g., representative of output 138) provides a multi-bit code to set the resistance of the respective variable resistors 140 and 142. When the first inductance detection phase is completed, such as described herein, the controller 144 can disable the inductor code counter 134, and the last final inductor code can remain stored in the register 304. As a result, the resistance values RSLP and RVAL remain constant during further operation, including a second phase of the inductance detection process. In some examples, the second inductance detection phase is omitted.
[0044] To provide a greater amount of precision, the circuit 300 can implement a finer tuning for I CHARGE and I DISCHARGE. In the example of FIG. 3, the circuit 300 includes chargeside sample-hold (S/H) circuits 320 and 322. Sample-hold circuit 320 has a sample input coupled to the current sensor output 130 and a clock input configured to receive a slope-sample clock signal (SLPS CLK). A clock circuit (not shown) can be configured to provide SLPS CLK to control sampling of I SNS and I EM, such as during a charging cycle. Sample-hold circuit 322 has a sample input coupled to the output 120 of the emulated current generator circuit 114 and a clock input configured to receive SLPS_CLK. The circuits 320 and 322 have respective outputs coupled to non-inverting and inverting inputs of comparator 324 (e.g., an error amplifier). The output of comparator 324 is coupled to an input of the charge counter 150 and an input (e.g., input 136) of the inductor code counter 134. Counters 134 and 150 can each have a respective clock input configured to receive an update clock signal (UP CLK), such as can be generated by an update clock circuit once per PWM cycle. As described herein, however, during the second inductance detection phase, the charge counter 150 can be enabled while the inductor code counter 134 is disabled.
[0045] The circuit 300 also includes discharge-side sample-hold (S/H) circuits 330 and 332. Sample-hold circuit 330 has a sample input coupled to the current sensor output 130 and a clock input configured to receive a valley-sample clock signal (VALS CLK). Sample-hold circuit 332 has a sample input coupled to the output 120 of the emulated current generator circuit 114 and a clock input configured to receive VALS CLK, such as can be derived from clock signal CLK1 for sampling the current signals I_SNS and I_EM. The circuits 330 and 332 have respective outputs
coupled to non-inverting and inverting inputs of comparator 334 (e.g., another error amplifier). The output of comparator 334 is coupled to an input of the discharge counter 152.
[0046] The circuit 300 also includes DC reset circuitry 340, which has one input coupled to the output 120 of emulated current generator 114 and another input coupled to current sensor output 130. As an example, the DC reset circuitry 340 includes a switch 342 (e g., a FET) coupled in series with respective buffers 344 and 346 between outputs 120 and 130. The switch 342 has a control input configured to receive a clock signal (CLK2). The switch 342 is configured to close (e.g., turn on) responsive to CLK2 to couple (e.g., short) the outputs 130 and 120 together. The short through the switch 342 forces signals I_SNS and I_EM to be equal, which resets (e.g., zeroes) accumulated AC error in the signals I_SNS and I_EM. A cycle-by-cycle reset by activating the switch 342 each cycle also helps to track the DC value in the inductor current. In an example, the clock signal CLK2 is asserted to close the switch each cycle with some delay after the low-side switch Q4 (see FIG. 2) is turned on.
[0047] As a further example, FIG. 4 illustrates a timing diagram 400 for signals used to control the inductance detection circuit 300 of FIG. 3. The timing diagrams shows a PWM signal 402, such as supplied by the control circuit 110. FIG. 4 also shows a low-side on signal 404 and clock signals CLK1 and CLK2. The low-side on signal 404 is representative of activation of low-side FET Q2 in the output stage of the power stage. CLK1 includes a slope sampling clock signal SLPS CLK 406, valley sampling clock signal VALS CLK 408 and an update clock signal UP CLK 410. As described with respect to FIG. 3, SLPS CLK 406 is used to control sampling of I_SNS and I_EM by the sample-hold circuits 320 and 322 of the charge generator circuit 122. VALS_CLK is used to control sampling of I_SNS and I_EM by the sample-hold circuits 330 and 332 of the discharge generator circuit 124. The update clock signal UP_CLK is used to control when the counter adjustments are made responsive to the outputs of respective comparators 324 and 334. The second clock signal CLK2 is generated to control the reset circuit 340 each cycle during the inductance detection process, as described herein.
[0048] FIG. 5 illustrates an example power converter system 500 configured to provide a regulated output voltage VOUT at an output 102. The system 500 can implement the inductance detector circuitry 112, as described herein with respect to FIGS. 1-3. Accordingly, the description of FIG. 5 also refers to FIGS. 1-3. The system includes one or more instances of a power stage
502 having a respective switching output 106. Inductor LI is coupled between the switching output 106 and output 102. The power stage 502 includes an output stage 104 having a high-side switch and a low-side switch coupled between a supply voltage terminal VIN and ground. In the example of FIG. 5, a driver 508 (e.g., a gate driver when switches 504 and 506 are implemented as FETs) has outputs coupled to control inputs of the respective switches 504 and 506. The driver is configured to supply drive signals to turn on and off the switches 504 and 506 responsive to a PWM signal provided by the control circuit 110. For example, the control circuit 110 is configured to implement one or more control loops to regulate the output voltage VOUT to a reference voltage. The power stage 502 is configured to control the output stage 104 responsive to the drive signals to provide the output voltage VOUT.
[0049] The power stage 502 can be configured to implement a type of power converter topology (e.g., buck boost, buck-boost, etc.) according to application requirements. In some examples, the power converter system 500 includes multiple power stages 502 configured as a multi-phase power system in which each respective power stage has an inductor coupled to a switching output thereof and the output 102. In a multi-phase power system, each power stage 502 can be configured to implement inductance detection circuitry 112. In one example, the control circuit 110 can be implemented as an IC chip and each power stage 502 can be implemented as a respective IC chip having a switching output terminal (e.g. pin) to which an output inductor is coupled. In another example, the control circuit 110 and power stage(s) can be implemented on a single IC chip.
[0050] FIG. 6 is a flow diagram showing an example method 600 for detecting inductance. The method can be implemented by inductance detection circuitry 112 shown in FIGS. 1-3 and 5. Accordingly, the description of FIG. 6 also refers to FIGS. 1-3 and 5. The method 600 begins at 610 at power on of a power converter circuit 100, 200, 300, 500, such as responsive to power being supplied from a battery, an inverter or other power supply. At power up, counters 134, 150 and 152 can be initialized to respective starting values, such as a maximum count value, or a count value between maximum and minimum count values.
[0051] At 604, a determination is made whether an emulated inductor current I_EM is greater than a sensed inductor current I_SNS. For example, comparator 116, 324, 334 is configured to provide a comparator output signal based on difference between the emulated inductor current I_EM and the sensed inductor current I_SNS. At 604, if I_EM is less than I_SNS, the method
proceeds to 606 to decrease the slope of the emulated current I_EM. For example, the inductor code counter 134 decrements its count value, which causes charge and discharge current generator circuits 122 and 124 to decrease the slope of respective charge and discharge currents I CHARGE and I DISCHARGE, so the emulated current generator 114 decreases the slope of I EM accordingly.
[0052] Responsive to detecting I_EM is greater than I SNS at 604, the method proceeds to 608 to increase the slope of the emulated current I_EM. For example, at 608 the inductor code counter 134 increments its count value, which causes charge and discharge current generator circuits 122 and 124 to increase the slope of respective charge and discharge currents I CHARGE and I DISCHARGE. The emulated current generator 114 increase the slope of I_EM accordingly. From 606 or 608, the method 600 proceeds to 610 to determine whether the inductance detection process has completed. For example, the determination at 610 can be based on a number of cycles (e g , PWM cycles), a fixed period of time, or detecting convergence (e.g., dithering) between I_EM and I_SNS. If the process is not finished, the method returns to 604 for a next cycle. If the process is determined to have completed, the method proceeds from 610 to 612. At 612, an inductor code can be set. For example, the last inductor code value from inductor counter 134 can be stored in memory (e.g., register 314) to fix the slope of the emulated inductor current I_EM. From 612 the method can end or, in some examples, the method 600 can further include a next phase of fine tuning of the emulated inductor current I_EM, such as by tuning adjustable offsets responsive to I_EM and I SNS, as described herein.
[0053] FIG. 7 is graph 700 of current over time showing how emulated current I_EM and I SNS change over time (e.g., cycle-by-cycle) during inductance detection. In the example, of FIG. 7 samples of I_EM and I_SNS are shown respectively as dots 702 and 704 for each cycle. The samples of I_EM and I SNS can be compared each cycle. For example, the emulated current 702 begins with a shallow slope, such as responsive to initializing the inductor code counter to a maximum count value. The slope of the emulated current signal I_EM can be increased (indicated by up arrows 706) or decreased (indicated by down arrows 708) until the two samples match (e.g., converge to the same value). The sampled values 702 and 704 converge over time, and as shown at 710, after several cycles, the slope of the emulated signal 1_EM dithers around an optimal slope. After N cycles where dithering occurs, the inductor code can be stored in memory (where N is a
positive integer).
[0054] FIG. 8 is a graph 800 of simulation results of signals implemented by an inductance detection circuit 112. The graph 800 shows a low-side on signal 802, such as is applied to gate of Q2, or control input of switch 506. The graph 800 also shows emulated current signal 804 and sensed current signal 806 in an example power stage 502 during inductance detection.
[0055] FIG. 9 is another graph 900 of simulation results showing signals implemented by an inductance detection circuit 112. In the example of FIG. 9, an enable signal 902 can be provided by controller 144 to enable inductor code counter 134. A count signal 904 can be provided by a comparator 134 to instruct the inductor code counter 134 to count up or down and provide a multibit count value shown at 906. For example, the graph 900 also shows sensed current signal 910 and emulated current signal 912 over a number of cycles during inductance detection. As shown in the graph, the counter signal 906 can be adjusted each cycle responsive to a comparison of emulated current 912 and sensed current 910.
[0056] In this description, the term “couple” or “couples” means either an indirect or direct connection. Thus, if a first device couples to a second device, that connection may be through a direct connection or through an indirect connection via other devices and connections. For example, if device A generates a signal to control device B to perform an action, then: (a) in a first example, device A is coupled to device B; or (b) in a second example, device A is coupled to device B through intervening component C if intervening component C does not alter the functional relationship between device A and device B, so device B is controlled by device A via the control signal generated by device A.
[0057] The recitation “based on” means “based at least in part on.” Therefore, if X is based on Y, X may be a function of Y and any number of other factors.
[0058] Modifications are possible in the described embodiments, and other embodiments are possible, within the scope of the claims.
Claims
1. A circuit comprising: an emulated current generator having a current output; a current sensor having a sensor output; a comparator having first and second comparator inputs, and a comparator output, the first comparator input coupled to the current output, the second comparator input coupled to the sensor output; an inductor code counter having a counter input and a counter output, the counter input coupled to the comparator output; a charge circuit having an input coupled to the comparator output, the charge circuit comprising a variable slope resistor having a trim input coupled to the counter output; and a discharge circuit having an input coupled to the comparator output, the discharge circuit comprising a variable valley resistor having a trim input coupled to the counter output.
2. The circuit of claim 1, wherein: the emulated current generator is configured to provide an emulated current signal at the current output representative of an emulated current through an output inductor, the current sensor is configured to provide a sensed current signal at the sensor output representative of a measure of current through the output inductor, the comparator is configured to provide a comparator signal at the comparator output responsive to the emulated current signal and the sensed current signal, the inductor code counter is configured to adjust an inductor code value at the counter output responsive to the comparator signal, and a resistance of variable slope resistor and a resistance of the variable valley resistor are set responsive to the inductor code value.
3. The circuit of claim 2, further comprising: a controller having a control output and a power input, the control output coupled to an enable input of the inductor code counter, the controller is configured to provide a control signal at the control output to enable the inductor code counter responsive to a voltage at the power input.
4. The circuit of claim 3, wherein the controller is configured to enable the inductor code counter for a duration (i) responsive to a number of cycles of a pulse-width modulation signal or
(ii) responsive to a difference between the emulated current signal and the sensed current signal being less than a threshold.
5. The circuit of claim 3, wherein: the charge circuit comprises: a charge counter having an input and an output, the charge counter input coupled to the comparator output; and a first offset voltage source having a trim input coupled to the charge counter output and an output coupled to the variable slope resistor; and the discharge circuit comprises: a discharge counter having an input and an output, the discharge counter input coupled to the comparator output; and a second offset voltage source having a trim input coupled to the discharge counter output and an output coupled to the variable valley resistor.
6. The circuit of claim 5, wherein: the charge counter is configured to set a first variable offset voltage for the charge circuit responsive to the charge counter output, and the discharge counter is configured to set a second variable offset voltage for the discharge circuit responsive to the discharge counter output.
7. The circuit of claim 5, wherein the control output of the controller is a first control output, the controller further comprising a second control output coupled to respective enable inputs of the charge counter and the discharge counter.
8. The circuit of claim 7, wherein the controller is configured to enable the inductor code counter and disable the charge counter and the discharge counter during a first portion of an inductance detection phase, and to disable the inductor code counter and enable the charge counter and the discharge counter during a second portion of the inductance detection phase.
9. The circuit of claim 1, further comprising: an output stage comprising: a high-side switch coupled between a voltage supply terminal and a switching output terminal; a low-side switch coupled between the switching output terminal and a ground terminal, the current sensor coupled to the low-side switch and configured to provide a sensed
current signal representative of current through an inductor coupled to the switching output terminal when the low-side switch is turned on.
10. The circuit of claim 9, wherein the emulated current generator comprises: a first current source; a third switch having a respective control input, the third switch coupled in series with the first current source between a first voltage terminal and the current output; a second current source coupled between the current output and the ground terminal; a timing capacitor coupled between the current output and the ground terminal; and a detector circuit having a detector output and a detector input, the detector input coupled to the switching output terminal, the detector output coupled to the control input of the third switch, and the detector circuit configured to activate the third switch responsive to a voltage at the switching output terminal.
1 1 . The circuit of claim 9, further comprising: an inductor coupled to the switching output terminal; a gate driver having a pulse width modulation (PWM) input and driver outputs, the driver outputs coupled to respective control inputs of the respective low-side and high-side switches; and a power control circuit having a PWM output coupled to the PWM input, the power control circuit configured to provide a PWM control signal to the gate driver to provide a regulated voltage at VOUT.
12. The circuit of claim 11, further comprising a reset circuitry coupled between the current output and the sensor output, the reset circuitry configured to connect the current output and the sensor output responsive to a clock signal.
13. The circuit of claim 1, wherein the emulated current generator, the current sensor, the comparator, the inductor code counter, the charge circuit and the discharge circuit are implemented on a semiconductor substrate of an integrated circuit.
14. A circuit comprising: an emulated current generator configured to provide an emulated current signal responsive to a charge current and a discharge current respectively charging or discharging a timing capacitor, the emulated current signal representative of an emulated current through an output inductor; a comparator configured to provide a comparator signal responsive to the emulated current signal and sensed current signal representative of a measure of current through the output inductor;
an inductor code counter configured to adjust an inductor code count value responsive to the comparator signal, wherein a slope of the emulated current signal is adjusted responsive to the inductor code count value.
15. The circuit of claim 14, further comprising: a charge current generator circuit comprising a variable slope resistor having a resistance set responsive to the inductor code count value, the charge current generator circuit configured to provide the charge current having a value responsive to the resistance of the variable slope resistor; and a discharge current generator circuit comprising a variable valley resistor having a resistance set responsive to the inductor code count value, the discharge current generator circuit configured to provide the discharge current having a value responsive to the resistance of the variable valley resistor.
16. The circuit of claim 15, further comprising a controller configured to provide a control signal to enable the inductor code counter responsive to a voltage at a power supply terminal.
17. The circuit of claim 16, wherein the controller is configured to enable the inductor code counter in an inductance detection phase having a duration that is at least one of (i) responsive to a number of cycles of a pulse-width modulation signal, or (ii) responsive to a difference between the emulated current signal and the sensed current signal being less than a threshold.
18. The circuit of claim 16, wherein: the charge current generator circuit includes a first variable offset voltage source and a charge counter, the charge counter configured to set a voltage of the first variable offset voltage source responsive to a first sample of the emulated current and the sensed current, and the discharge current generator circuit includes a second variable offset voltage source and a discharge counter, the discharge counter configured to set a voltage of the second variable offset voltage source responsive to a second sample of the emulated current and the sensed current.
19. The circuit of claim 18, wherein the controller is configured to enable the inductor code counter and disable the charge counter and the discharge counter during a first portion of an inductance detection phase, and to disable the inductor code counter and enable the charge counter and the discharge counter during a second portion of the inductance detection phase.
20. The circuit of claim 19, further comprising reset circuitry configured to short the emulated current signal and the sensed current signal together for a portion of time per cycle of the inductance detection phase.
21. The circuit of claim 14, further comprising: an output stage comprising: a high-side switch coupled between a voltage supply terminal and a switching output terminal; a low-side switch coupled between the switching output terminal and a ground terminal; the output inductor coupled to the switching output terminal; a driver configured to control the high-side and low-side switches responsive to a pulsewidth modulated control signal; and a current sensor coupled to the low-side switch and configured to provide the sensed current signal representative of the measure of current through the output inductor when the low- side switch is turned on.
22. The circuit of claim 21, wherein the emulated current generator comprises: a first current source configured to provide the charge current; a second current source coupled to a current output of the emulated current generator, the second current source configured to provide the discharge current; a switch coupled between the first and second current sources and configured to connect the first current source with the current output; a capacitor coupled between the current output and the ground terminal; and a detector circuit configured to activate the switch so the emulated current is provided responsive to a switching voltage at the switching output terminal
23. A system comprising: an inductor; and a power stage comprising: a high-side switch coupled between a voltage supply terminal and a switching output terminal, the inductor coupled to the switching output terminal; a low-side switch coupled between the switching output terminal and a ground terminal;
a driver configured to control the high-side and low-side switches responsive to a pulse-width modulated control signal; and inductance detection circuitry comprising: an emulated current generator having a current output; a comparator having first and second comparator inputs, and a comparator output, the first comparator input coupled to the current output, and the second comparator input is configured to receive a measure of current through the inductor; an inductor code counter having a counter input and a counter output, the counter input coupled to the comparator output; a charge circuit having an input coupled to the comparator output, the charge circuit comprising a variable slope resistor having a trim input coupled to the counter output; and a discharge circuit having an input coupled to the comparator output, the discharge circuit comprising a variable valley resistor having a trim input coupled to the counter output.
24. The system of claim 23, further comprising: a current sensor configured to provide a sensed current signal representative of the measure of current through the output inductor, the emulated current generator is configured to provide an emulated current signal at the current output representative of an emulated current through the inductor, wherein: the comparator is configured to provide a comparator signal at the comparator output responsive to the emulated current signal and the sensed current signal, the inductor code counter is configured to adjust an inductor code value at the counter output responsive to the comparator signal, and a resistance of variable slope resistor and a resistance of the variable valley resistor are set responsive to the inductor code value.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202263350095P | 2022-06-08 | 2022-06-08 | |
US63/350,095 | 2022-06-08 | ||
US17/899,110 | 2022-08-30 | ||
US17/899,110 US20230400490A1 (en) | 2022-06-08 | 2022-08-30 | Inductance detection for power converters |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023239850A1 true WO2023239850A1 (en) | 2023-12-14 |
Family
ID=87074901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2023/024815 WO2023239850A1 (en) | 2022-06-08 | 2023-06-08 | Inductance detection for power converters |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2023239850A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060061342A1 (en) * | 2004-08-27 | 2006-03-23 | Giuseppe Bernacchia | Actuation circuit for a switch regulating the power consumption in a switching converter |
US10044267B1 (en) * | 2017-12-14 | 2018-08-07 | Dialog Semiconductor (Uk) Limited | Current emulation auto-calibration with peak-current servo |
US20190267972A1 (en) * | 2018-02-26 | 2019-08-29 | Seiko Epson Corporation | Variable resistance circuit, oscillator circuit, and semiconductor device |
US20210099080A1 (en) * | 2019-09-28 | 2021-04-01 | Richtek Technology Corporation | Inductor current emulator circuit and inductor current emulation method |
US20210328548A1 (en) * | 2020-04-20 | 2021-10-21 | Winbond Electronics Corp. | Oscillator circuit and semiconductor integrated circuit |
-
2023
- 2023-06-08 WO PCT/US2023/024815 patent/WO2023239850A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060061342A1 (en) * | 2004-08-27 | 2006-03-23 | Giuseppe Bernacchia | Actuation circuit for a switch regulating the power consumption in a switching converter |
US10044267B1 (en) * | 2017-12-14 | 2018-08-07 | Dialog Semiconductor (Uk) Limited | Current emulation auto-calibration with peak-current servo |
US20190267972A1 (en) * | 2018-02-26 | 2019-08-29 | Seiko Epson Corporation | Variable resistance circuit, oscillator circuit, and semiconductor device |
US20210099080A1 (en) * | 2019-09-28 | 2021-04-01 | Richtek Technology Corporation | Inductor current emulator circuit and inductor current emulation method |
US20210328548A1 (en) * | 2020-04-20 | 2021-10-21 | Winbond Electronics Corp. | Oscillator circuit and semiconductor integrated circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10181792B2 (en) | Sensor-less buck current regulator with average current mode control | |
US7298122B2 (en) | Actuation circuit for a switch regulating the power consumption in a switching converter | |
US11374483B2 (en) | DC-DC converter having a switch on-time control loop with a switched-capacitor circuit for error-based adjustment | |
US6377032B1 (en) | Method and apparatus for virtual current sensing in DC-DC switched mode power supplies | |
US10734902B2 (en) | Control of four-switch, single inductor, non-inverting buck-boost converters | |
US6100677A (en) | Switching controller chip with internal but not external soft start circuitry and DC to DC converter including such a controller chip | |
US7795761B2 (en) | Power converters with switched capacitor buck/boost | |
US7378827B2 (en) | Analog internal soft-start and clamp circuit for switching regulator | |
US10044267B1 (en) | Current emulation auto-calibration with peak-current servo | |
KR101045737B1 (en) | Constant on-time regulator with internal ripple generation and improved output voltage accuracy | |
EP2015159A1 (en) | Steady state frequency control of variable frequency switching regulators | |
US7619395B2 (en) | End-point prediction scheme for voltage regulators | |
KR101045718B1 (en) | Constant on-time regulator with increased maximum duty cycle | |
TWI771793B (en) | Voltage-controlled oscillator for current mode hysteretic modulator and method | |
WO2008021521A2 (en) | Power converter with hysteretic control | |
GB2482424A (en) | Switched mode DC-DC converter having slope compensation circuitry | |
US11264977B1 (en) | Zero-crossing detector for DC-DC converter systems and methods | |
US20230275512A1 (en) | 4-phase buck-boost converter | |
US20240039384A1 (en) | Current detection circuit and controller for switching converter circuit | |
US20230031749A1 (en) | Compensation slope adjustment in voltage converter | |
US6285174B1 (en) | Switching DC-to-Dc converter having on-time signal generation circuit and method for generating signal indicative of converter on-time | |
US20230400490A1 (en) | Inductance detection for power converters | |
US12040706B2 (en) | Inductor property identification for power converters | |
WO2023239850A1 (en) | Inductance detection for power converters | |
US11594960B2 (en) | Control circuit for on-time generation during output voltage scaling for buck converter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23736920 Country of ref document: EP Kind code of ref document: A1 |