METHOD AND APPARATUS FOR PHASE CURRENT ESTIMATION IN SEMI-RESONANT VOLTAGE CONVERTERS
20170346397 · 2017-11-30
Inventors
Cpc classification
H02M3/285
ELECTRICITY
H02M1/0009
ELECTRICITY
H02M1/088
ELECTRICITY
H02M3/156
ELECTRICITY
H02M3/1588
ELECTRICITY
Y02B70/10
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02M3/33592
ELECTRICITY
H02M3/1584
ELECTRICITY
International classification
H02M3/156
ELECTRICITY
Abstract
A resonant or semi-resonant voltage converter includes a synchronous rectification (SR) switch through which a current having a half-cycle sinusoidal-like shape is conducted when the SR switch is active. The current through the SR switch is modelled, and estimates of the SR switch current are generated by a digital estimator based on the model. The SR switch current estimates are updated at a fairly fast rate, as may be needed by a controller of the voltage converter. Analog converters are run at a slower rate, and generate error signals that are fed back into the digital estimator in order to improve future SR switch current estimates. Because the analog converters run at a fairly slow rate, power usage is minimal. However, the SR switch current estimates are updated at a rate that is fast enough to provide adequate control for the voltage converter.
Claims
1. A voltage converter that uses a variable switching frequency, the voltage converter comprising: a first phase that comprises a synchronous rectification (SR) switch through which an SR current having a half-cycle sinusoidal-like shape is conducted when the SR switch is active; a PWM generator operable to control cycle-by-cycle switching of the SR switch by providing a pulse width modulation (PWM) control signal to the SR switch, the frequency of the PWM control signal being based upon a first estimate of the SR current; and a current estimator comprising: a digital estimation circuit configured to generate the first estimate of the SR current using a model of current through the SR switch and an error signal, and configured to update the first estimate of the SR current at a first frequency; and an analog conversion circuit configured to input a measured current corresponding to the SR current, to provide conversions at a second frequency, and to generate the error signal.
2. The voltage converter of claim 1, wherein the first phase further comprises: a power stage including a high-side switch and a low-side switch coupled to the high-side switch at a switching node of the power stage; and a passive circuit including a transformer/tapped-inductor, the passive circuit coupling the switching node to an output node of the voltage converter, and that is coupled to ground through the SR switch when the SR switch is conducting, wherein the PWM generator is further operable to control cycle-by-cycle switching of the high-side switch and the low-side switch by providing PWM control signals to each of the high-side and low-side switches.
3. The voltage converter of claim 1, further comprising additional phases, each of which comprises an additional SR switch through which an additional SR current having a half-cycle sinusoidal-like shape is conducted when the additional SR switch is active.
4. The voltage converter of claim 1, wherein the first frequency is greater than the second frequency.
5. The voltage converter of claim 1, wherein the digital estimation circuit is configured to model the SR current based upon a polynomial of order two or higher.
6. The voltage converter of claim 5, wherein the polynomial is a second-order polynomial given by:
I.sub.SR.sub._.sub.EST=nα(T.sub.SR.sub._.sub.ON−t)t wherein n is related to the turns ratio of a transformer/tapped-inductor to which the SR switch is coupled, T.sub.SR.sub._.sub.ON is a period of time within a cycle of the voltage converter during which the SR switch is conducting, t is a time from the beginning of the period during which the SR switch is conducting, and α is based upon a switch period T.sub.SW of the cycle of the voltage converter, and the period of time T.sub.SR.sub._.sub.ON that the SR switch is conducting.
7. The voltage converter of claim 1, wherein the analog conversion circuit comprises: a digital-to-analog converter configured to input the first estimate of the SR current and to convert this first estimate into an analog SR current estimate at a rate corresponding to the second frequency; a current summation circuit configured to generate an analog error by summing the analog SR current estimate and the measured current; and an analog-to-digital converter configured to convert the analog error into the error signal at a rate corresponding to the second frequency.
8. The voltage converter of claim 1, wherein the digital estimation circuit further comprises: a slope estimator configured to generate a first estimate of the slope of the SR current, the estimated slope being updated at the first frequency.
9. The voltage converter of claim 1, wherein the digital estimation circuit further comprises: an error integrator configured to integrate and scale the error signal to produce an integrated error, wherein the integrated error is updated at a rate corresponding to the second frequency.
10. The voltage converter of claim 9, wherein the digital estimation circuit further comprises: a digital summation circuit configured to generate an improved slope estimate by summing the integrated error, the error signal or a scaled version of the error signal, and a first estimate of the slope of the SR current; and a slope integrator configured to integrate the improved slope estimate.
11. The voltage converter of claim 9, further comprising: a slope estimator configured to generate a first estimate of the slope of the SR current based upon the integrated error and a look-up table.
12. The voltage converter of claim 9, wherein the digital estimation circuit is further configured to generate a second SR current estimate based upon the first SR current estimate, by latching the first SR current estimate at a time given by t=T.sub.SR.sub._.sub.ON/2, wherein the time t starts at zero when the SR switch is turned on during a switching cycle, and T.sub.SR.sub._.sub.ON is a period of time during which the SR switch is conducting before it is turned off during the switching cycle, the second SR current estimate being updated once in each switching cycle.
13. A method for current estimation in a variable-frequency voltage converter, the variable-frequency voltage converter including a synchronous rectification (SR) switch through which an SR current having a half-cycle sinusoidal-like shape is conducted when the SR switch is active, the method comprising, for each switching cycle of the variable-frequency voltage converter: enabling the SR switch such that it conducts the SR current for an SR conducting period, the SR conducting period being a portion of a switching period for a current switching cycle; generating a modelled SR current, the modelled SR current being based upon a model of the SR current during the SR conducting period and being updated at a first frequency; generating a first SR current estimate using the modelled SR current and an error signal; converting the first SR current estimate to an analog SR current estimate such that the analog SR current estimate is updated at a second frequency; inputting a measured SR current and generating an analog SR current error by generating a difference between the measured SR current and the analog SR current estimate; and converting the analog SR current error into the error signal, such that the error signal is updated at the second frequency.
14. The method of claim 13, wherein the first frequency is greater than the second frequency.
15. The method of claim 13, wherein the model of the SR current is based upon a polynomial of order two or higher.
16. The method of claim 13, wherein the polynomial is a second-order polynomial given by:
I.sub.SR.sub._.sub.EST=nα(T.sub.SR.sub._.sub.ON−t)t wherein n is related to the turns ratio of a transformer/tapped-inductor to which the SR switch is coupled, T.sub.SR.sub._.sub.ON is the SR conducting period, t is a time from the beginning of the SR conducting period for the current switching cycle, and α is based upon the switching period T.sub.SW for the current switching cycle and the SR conducting period T.sub.SR.sub._.sub.ON.
17. The method of claim 13, further comprising: generating an estimate of a slope of the SR current, the slope estimate being updated at the first frequency.
18. The method of claim 13, further comprising: generating an integrated error by integrating and scaling the error signal, such that the integrated error is updated at a rate corresponding to the second frequency, and wherein the generation of the first SR current estimate is further based upon the integrated error.
19. The method of claim 18, further comprising: generating an estimate of a slope of the SR current; summing the integrated error, the error signal or a scaled version of the error signal, and the estimate of the slope of the SR current to generate an improved slope estimate; integrating the improved slope estimate to generate an integrated slope; and updating the estimate of the slope of the SR current based upon the integrated slope.
20. The method of claim 18, further comprising: generating an estimate of a slope of the SR current based upon the integrated error and a look-up table.
21. The method of claim 13, further comprising: generating a second SR current estimate based upon the first SR current estimate, by latching the first SR current estimate at a time given by t=T.sub.SR.sub._.sub.ON/2, T.sub.SR.sub._.sub.ON being the SR conducting period for a given switching cycle, the time t starting at zero at the beginning of the SR conducting period, the second SR current estimate being updated once in each switching cycle.
Description
BRIEF DESCRIPTION OF THE FIGURES
[0010] The elements of the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding similar parts. The features of the various illustrated embodiments can be combined unless they exclude each other. Embodiments are depicted in the drawings and are detailed in the description that follows.
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
DETAILED DESCRIPTION
[0019] The embodiments described herein provide techniques for estimating the current within a phase of a resonant or semi-resonant voltage converter that uses variable-frequency switching. The estimated current is updated fairly frequently, but the analog components that are used for estimating the current are run at a relatively low frequency. The techniques make use of a model for the current, and then use that model and the actual measured current to create an error signal. The error signal is fed back into the model in order to update and improve the estimated current. Because the analog components that provide the error signal are run at a fairly low frequency, the current consumption and die area of the analog components can be kept fairly low. However, these techniques provide accurate current tracking with fairly frequent current estimate updates, as are needed by the controller of a variable-frequency switching voltage converter.
[0020] Various embodiments of voltage converter circuits and methods within voltage converters will be provided in the following detailed description and the associated figures. The described embodiments provide particular examples for purposes of explanation, and are not meant to be limiting. Features and aspects from the example embodiments may be combined or re-arranged, except where the context does not allow this.
[0021]
[0022] As illustrated, phase 1 (130) includes a passive circuit 134 that couples a power stage 132 to the voltage converter output V.sub.OUT. The power stage 132 inputs switch control signals HS1 and LS1 for controlling switches therein. The switches within the power stage 132 typically require drivers (not shown for ease of illustration). The passive circuit 134 is coupled to a synchronous rectification (SR) switch stage 138, which serves to switchably couple the passive circuit 134 to ground. The SR switch stage 138 includes an SR switch (not shown), which also typically requires a driver (also not shown).
[0023] A control circuit 110 controls the switches of the power stage 132 and the SR switch stage 138 for each of the phases 130, 180, 190 of the voltage converter 100. A frequency and duty cycle generator 112 determines a switching frequency and duty cycle for the voltage converter 100 based upon the load requirements as sensed from the output voltage V.sub.OUT, and provides these parameters to a pulse-width modulation (PWM) generator 116. The PWM generator 116, in turn, generates switch control signals (e.g., HS1, LS1, SR1) for each of the phases of the voltage converter 100. The switching frequency of the voltage converter 100 is variable and changes as the load requirements change.
[0024] A phase current estimator 118 generates an estimate of current for each phase of the voltage converter 100. This estimate is based, in part, on a sensed (measured) current from each phase I1.sub.SENSE, I2.sub.SENSE, IN.sub.SENSE. The phase current estimates generated by the phase current estimator 118 are provided to other circuits within the control circuit 110. Examples of circuits that may use the phase current estimates include a phase balancer 114 (for multi-phase voltage converters), a fault detector 113, and the frequency and duty cycle generator 112.
[0025] The control circuit 110 and its constituent parts may be implemented using a combination of analog hardware components (such as transistors, amplifiers, diodes, and resistors), and processor circuitry that includes primarily digital components. The processor circuitry may include one or more of a digital signal processor (DSP), a general-purpose processor, and an application-specific integrated circuit (ASIC). The control circuit 110 may also include memory, e.g., non-volatile memory such as flash, that includes instructions or data for use by the processor circuitry. The control circuit 110 inputs several sensor signals (e.g., V.sub.OUT, I1.sub.SENSE, I2.sub.SENSE, IN.sub.SENSE) to estimate the power requirements for the load 120 and to otherwise aid in the generation of the switch control signals.
[0026] Techniques for determining the switching frequency and duty cycles based upon the load requirements of a voltage converter are, generally, well-known in the art. Likewise, techniques for fault detection and phase balancing are well-known. Such conventional techniques will not be further elaborated upon herein, in order to avoid obfuscating the unique aspects of the invention. Instead, the following description will focus on detailed techniques related to phase current estimation and, more particularly, phase current estimation within resonant and semi-resonant voltage converters. Before delving into these phase current estimation techniques, the voltage converter circuits to which they apply will first be described in order to better understand the waveforms of the phase currents that are being estimated.
[0027]
[0028] An input voltage V.sub.IN is provided to a power stage 232 at a high-side switch Q.sub.HS is that is coupled to a low-side switch Q.sub.LS at a switching node V.sub.SW. The low-side switch Q.sub.LS is, in turn, connected to ground. Each of these switches Q.sub.HS, Q.sub.LS is controlled by a respective driver 232a, 232b as shown. The switching node V.sub.SW of the power stage 232 is coupled to a passive circuit 234, which provides an output current I.sub.PH.sub._.sub.OUT and voltage V.sub.OUT to a load 120. The passive circuit 234 includes a resonant tank comprised of a capacitor C.sub.RES and an inductor L.sub.RES. The inductor L.sub.RES may merely be leakage inductance (e.g., the inherent parasitic inductance of the circuit wiring), or it may be an actual inductor component together with some leakage inductance.
[0029] The inductor L.sub.RES is coupled to a transformer/tapped inductor 236 having N1 primary-side windings 236a and N2 secondary-side windings 236b. The ratio N2/N1 determines the output/input voltage ratio of the transformer/tapped inductor 236 when it is conducting current. (Conversely, the ratio N1/N2 determines the output/input current ratio of the transformer/tapped inductor 236.) Because of the high peak current provided at the output of the transformer/tapped inductor 236 and in order to reduce the AC resistance, the transformer/tapped inductor 236 is often designed to have a single secondary-side winding 236b. Defining the total number of primary and secondary-side windings as n, the turns ratio is thus (n−1) to 1. Henceforth, the convention of n total windings and 1 secondary-side winding 236b will be used, but it should be understood that the equations and formulas that follow may instead be derived using N1 primary-side windings 236a and N2 secondary-side windings 236b.
[0030] For the illustrated circuit 130, a magnetizing inductor L.sub.M is connected across the transformer/tapped inductor 236. An SR switch stage 238 is connected to the transformer/tapped inductor 236 and serves to couple its center tap to ground when the SR switch stage 238 is conducting. The SR switch stage 238 includes an SR switch Q.sub.SR, and, typically, a driver 238a which is coupled to a control terminal (e.g., a gate) of the SR switch Q.sub.SR.
[0031] The high-side, low-side, and SR switches Q.sub.HS, Q.sub.LS, Q.sub.SR are shown in
[0032] The control circuit 110 generates PWM signals HS, LS, and SR which are coupled to the drivers 232a, 232b, 238a that control the switches Q.sub.HS, Q.sub.LS, Q.sub.SR. The control circuit 110 determines the frequency and duty cycles of the PWM signals HS, LS, SR so as to meet the power requirements of the load 120. In a semi-resonant voltage converter, such as that illustrated in
[0033] The phase current estimator 218 is illustrated as being a part of the control circuit 110, but it should be understood that, in some embodiments, the phase current estimator 218 may be implemented separately from the control circuit 110. The phase current estimator 218 is provided with a measured current from the phase circuit 130. As illustrated in
[0034]
[0035] During the next interval of the switching cycle, denoted as “T.sub.OFF” or “T.sub.SR.sub._.sub.ON,” the high-side switch Q.sub.HS is turned off, while the low-side switch Q.sub.LS and the SR switch Q.sub.SR are turned on, e.g., by setting HS=0, LS=1, and SR=1. The switch node voltage V.sub.SW drops to and remains at zero during the T.sub.OFF (T.sub.SR.sub._.sub.ON) interval, because the switch node V.sub.SW is coupled to ground though the low-side switch Q.sub.LS. Also during the T.sub.OFF (T.sub.SR.sub._.sub.ON) interval, a resonance is formed between the resonance capacitor C.sub.RES and inductor L.sub.RES, and results in a resonant current I.sub.RES. A portion of this current, i.e., I.sub.PRIM=I.sub.M−I.sub.RES, flows through into the primary-side winding 236a of the transformer/tapped inductor 236, and leads to a current I.sub.SEC=(N1/N2)*(I.sub.M−I.sub.RES)=(n−1)*(I.sub.M−I.sub.RES) flowing through the secondary-side winding 236b of the transformer/tapped inductor 236. The output current I.sub.PH.sub._.sub.OUT of the phase 130 is, thus, the current I.sub.M flowing through the magnetizing inductor L.sub.M plus the current I.sub.SEC flowing through the secondary-side winding 236b, i.e., I.sub.PH.sub._.sub.OUT=I.sub.M+(n−1)*(I.sub.M−I.sub.RES). As illustrated in
[0036] The currents described above may be well-approximated using piecewise first and second order polynomials. In some embodiments, more accurate approximations may be made with higher-order polynomials, but at the expense of increased complexity, which requires more die area and higher power consumption for the phase current estimator 218. Because the additional accuracy is relatively insignificant, such higher-order polynomial approximations are not preferred, and the following examples are described using polynomials of order two or less.
[0037] As illustrated in
The resonant current I.sub.RES is the same as the magnetizing current I.sub.M while the SR switch Q.sub.SR is not conducting (i.e., during DT0 and T.sub.ON), but, as illustrated in
As explained above, the output phase current may then be given by:
No current flows through the SR switch Q.sub.SR while it is disabled, i.e., during DT0 and T.sub.ON. The current I.sub.SR through the SR switch Q.sub.SR when it is enabled, i.e., during T.sub.OFF (T.sub.SR.sub._.sub.ON) is given by:
[0038]
[0039] A current I.sub.RES flows (oscillates) through the resonant inductor L.sub.RES due to the switching of the high and low-side power switches Q.sub.HS, Q.sub.LS, buts the average current <I.sub.RES> is zero. The average output current <I.sub.PH.sub._.sub.OUT> for the phase, also denoted as I.sub.O, is, thus, the same as the average current <I.sub.SR> through the SR switch Q.sub.SR. During steady-state operation, this leads to the following equations for the average currents in the voltage converter 200:
Setting the average magnetizing current <I.sub.M> over an entire cycle period (i.e., DT0, T.sub.ON, and T.sub.OFF) to
in equation (1) and solving for I.sub.MIN yields:
Substituting the approximation for I.sub.MIN given by equation (8) into the approximations for I.sub.RES given by equation (2) yields the following approximations for the coefficients α and β:
[0040] Substituting the approximation for β given in equation (9) into the equation for the SR switch current I.sub.SR given in equation (4) yields the following simplified approximation for I.sub.SR:
I.sub.SR≅nα(T.sub.OFF−t)t during T.sub.OFF(T.sub.SR.sub._.sub.ON) (12)
The maximum SR switch current I.sub.SR,max occurs at the mid-point of each T.sub.OFF (T.sub.SR.sub._.sub.ON) period, i.e., at t=(T.sub.SR.sub._.sub.ON/2) from the beginning of such a period. This can be seen by taking the derivative with respect to time of the current I.sub.SR, as given in equation (12), setting this derivative
to zero, and solving or time t. This is also readily apparent from the waveform 400 of the current I.sub.SR as illustrated in
Using equation (13), note that α may be solved as a function of the maximum SR switch current:
[0041] The above equations provide several approximations that may be used when modelling the SR switch current I.sub.SR using a 2.sup.nd order polynomial. Attention is now turned to describing a detailed implementation of the phase current estimator 218 based upon the models and approximations given in equations (1) to (16).
[0042]
[0043] The analog conversion circuit 540 is provided with a measured (sensed) phase current I.sub.PH.sub._.sub.SENSE, which it combines with the downsampled current estimate I.sub.PH.sub._.sub.EST.sub._.sub.F2 to arrive at a digital error signal error_d. The digital error signal error_d is updated at the slower clock frequency f2, and is provided to the digital estimation circuit 550 so that it may update (improve) its phase current estimation I.sub.PH.sub._.sub.EST.
[0044] As previously mentioned, the phase current I.sub.PH.sub._.sub.SENSE could be measured (and estimated) based on several different currents within a phase of a voltage converter, but the phase current must correspond to the output current, such as I.sub.PH.sub._.sub.OUT shown in
[0045] The current I.sub.SR may be measured by using the effective on-state resistance (R.sub.dson) of the SR switch Q.sub.SR and the voltage across the SR switch Q.sub.SR, or by using a current mirror. The current measurement, for I.sub.SR or otherwise, may also be accomplished by using other standard means such as measuring the voltage across a sensing resistor, or by using direct current sensing (DCR) techniques.
[0046]
[0047] The slope estimator 670 generates estimates m.sub.EST of the slope for the phase current I.sub.SR. These slope estimates m.sub.EST are updated at a rate of f1. The slope estimator 670 only provides slope estimates m.sub.EST while current I.sub.SR is flowing through the SR switch Q.sub.SR. This is indicated in
[0048] The slope estimate m.sub.EST is modified by a digital summing circuit 682 to yield an improved slope estimate m.sub.EST imp, which is input to a slope integrator 680. The slope integrator 680 integrates the improved slope estimate m.sub.EST.sub._.sub.IMP to generate the phase current estimate I.sub.PH.sub._.sub.OUT. The slope integrator 680 operates on digital samples m.sub.EST.sub._.sub.IMP, which are provided/updated at a rate given by the frequency f1. A discrete/digital integration, as performed by the slope integrator 680, is the same as an accumulation of the samples m.sub.EST.sub._.sub.IMP over time. Because the input samples m.sub.EST.sub._.sub.IMP to the slope integrator 680 are updated at the frequency f1, the output current estimate I.sub.PH.sub._.sub.OUT will also be updated at the frequency f1. The slope integrator 680 may be cleared/reset at the end of an SR switch period T.sub.SR.sub._.sub.ON, as the phase current estimate I.sub.PH.sub._.sub.EST is typically expected to be zero when the SR switch Q.sub.SR is not conducting and any residual accumulation at the end of an SR switch period T.sub.SR.sub._.sub.ON should not be carried forward to the beginning of the next SR switch period T.sub.SR.sub._.sub.ON.
[0049] The analog conversion circuit 540 includes a digital-to-analog converter (DAC) 642 and an analog-to-digital converter (ADC) 644, both of which provide conversions at a frequency of f2. Before it can be used by the DAC 642, the phase current estimate I.sub.PH.sub._.sub.EST must be downsampled from the frequency f1 of the digital estimation circuit 550 to the frequency f2 of the analog conversion circuit 540. This is performed by a downsampler 684 which is shown within the digital estimation circuit 550, but which could also be located elsewhere, including within the analog conversion circuit 540. The downsampled phase current estimate, denoted as I.sub.PH.sub._.sub.EST.sub._.sub.F2, is converted into an analog signal I.sub.PH.sub._.sub.EST.sub._.sub.F2.sub._.sub.ANALOG by the DAC 642. An analog measured (sensed) phase current I.sub.PH.sub._.sub.SENSE is input to an analog summation circuit 646, which subtracts the analog phase current estimate signal I.sub.PH.sub._.sub.EST.sub._.sub.F2.sub._.sub.ANALOG from the sensed current I.sub.PH.sub._.sub.SENSE to yield an analog error signal I.sub.ERR.sub._.sub.ANALOG. The analog error signal I.sub.ERR.sub._.sub.ANALOG is digitized by the ADC 644 to generate a digital error signal error_d, which is provided back to the digital estimation circuit 550. Because the ADC 644 is providing conversions at the frequency f2, the digital error signal error_d is updated at a rate corresponding to the frequency f2.
[0050] The digital error signal error_d is provided to a slope adjuster 660, which provides modified versions of this error signal to the slope estimator 670 and to the digital summing circuit 682. An error integrator 664 inputs the digital error signal error_d and integrates (accumulates) it in order to generate an integrated error err_int. The integrated error err_int is then scaled by a gain block 666 and provided to the slope estimator 670, which uses the integrated error K.sub.INT*err_int to update/improve its slope estimation, as will be explained more fully in the description of
[0051] In addition to updating the slope estimator 670, the outputs of the slope adjuster 660 are provided to the digital summation circuit 682 in order to provide a more direct error correction. The integrated error err_int is scaled by K.sub.INT and added to the slope estimate m.sub.EST to improve this estimate. The integration of the error signal error_d serves to filter (smooth) the signal and prevent any large changes due to noise or other systematic anomalies which should not be tracked. However, this smoothing comes at the expense of slower tracking of the estimated phase current I.sub.PH.sub._.sub.EST to the actual sensed current I.sub.PH.sub._.sub.SENSE. Another version of the digital error signal error_d is not integrated, but is merely scaled by K.sub.P within a gain block 662 to yield a proportional error term that can more quickly correct/improve the slope estimate m.sub.EST. The improved slope estimate output by the digital summation circuit 682 is thus given by m.sub.EST.sub._.sub.IMP=m.sub.EST+K.sub.P*error_d+K.sub.INT*err_int. The gain terms K.sub.P and K.sub.INT determine the speed and noise suppression of the tracking loop. A relatively high value of K.sub.P leads to faster tracking, but introduces the possibility of undesirably tracking noise. Conversely, a relatively high value for K.sub.INT should suppress noise or other transients, but at the expense of slower tracking of the phase current I.sub.PH.sub._.sub.SENSE. Note that the slope estimate m.sub.EST provided by the slope estimator 670 is updated at the (fast) f1 frequency, whereas the other terms contributing to m.sub.EST.sub._.sub.IMP are only updated at the (slow) f2 frequency.
[0052]
The slope of the SR switch current I.sub.SR may be determined from its time derivative and, thus, equation (18) may be used to estimate the current slope m.sub.EST during the on period T.sub.SR.sub._.sub.ON of the SR switch Q.sub.SR. For simplification in the low-level implementation, the term (T.sub.SR.sub._.sub.ON−2t) will be converted into an alternate form. For the time range given by 0<t<T.sub.SR.sub._.sub.ON, the term t.sub.shift=(T.sub.SR.sub._.sub.ON−2t) varies from +T.sub.SR.sub._.sub.ON to −T.sub.SR.sub._.sub.ON. Substituting t.sub.shift for (T.sub.SR.sub._.sub.ON−2t) in equation (18) thus leads to:
The slope estimator 670 only produces slope estimates m.sub.EST at discrete points in time given by
where T.sub.CLK is related to the sample frequency f1 as T.sub.CLK=1/f1. This leads to the digital (discrete) form of equation (19) given by:
m.sub.EST(k)=nα(k*T.sub.CLK), for k=+N.sub.SR.sub._.sub.ON to −N.sub.SR.sub._.sub.ON, (20)
[0053] where N.sub.SR.sub._.sub.ON=T.sub.SR.sub._.sub.ON/T.sub.CLK, and k is an integer.
Substituting the approximation for a that was derived in equation (16) yields:
[0054] and k varies from +N.sub.SR.sub._.sub.ON to −N.sub.SR.sub._.sub.ON.
[0055] The slope estimator 670 includes a down counter 771 which generates the count k during the conducting period T.sub.SR.sub._.sub.ON of the SR switch Q.sub.SR. The down counter 771 is reset to an initial value at the beginning of each SR conducting period T.sub.SR.sub._.sub.ON, as may be indicated by the rising edge of the PWM signal “SR” that is generated by the control circuit 110 shown in
[0056] The count k generated by the down converter 771 is provided to a gain block 772 wherein the count k is multiplied by a slope gain γ to produce the slope estimate m.sub.EST. As shown in equation (22) above, the slope gain γ is initialized to a value based upon T.sub.SR.sub._.sub.ON and I.sub.SR,max, each of which are, at least typically, updated once per switch cycle. As will be explained later, the slope gain γ may be updated within a switch cycle to improve the slope estimate m.sub.EST.
[0057] Note that several alternatives to the above-described circuit based upon the down counter 771 are possible, and may be preferred in some embodiments. For example, a standard (up) counter may be used, in which case equation (18) may be used more directly. The initial value for such an up counter would be different (e.g., zero), a subtraction such as in equation (18) would need to be performed, and a different gain term may need to be derived.
[0058] The maximum current I.sub.SR,max through the SR switch Q.sub.SR occurs midway through the conducting period, i.e., at T.sub.SR.sub._.sub.ON/2. The maximum current I.sub.SR,max is stored by a latch 776, which updates this current I.sub.SR,max by capturing the phase current estimate I.sub.PH.sub._.sub.EST at T.sub.SR.sub._.sub.ON/2. The count value k, which is generated by the down counter 771, is used for determining when to latch the current estimate I.sub.PH.sub._.sub.EST. For the count sequence shown in
[0059] In addition to its usage in determining the slope gain γ, as described above, the maximum current I.sub.SR,max is also used to generate an estimate I.sub.O.sub._.sub.EST of the average output current, i.e., the current I.sub.O shown in equation (6). This average output current estimate I.sub.O.sub._.sub.EST may be used by the control circuit 110 for purposes that only require infrequent estimates of the phase current I.sub.SR, and for which the half-sinusoidally shaped SR current estimate I.sub.PH.sub._.sub.EST is inappropriate. As with the maximum current I.sub.SR,max, the average output current estimate I.sub.O.sub._.sub.EST is only updated once per switching cycle. The average output current estimate I.sub.O.sub._.sub.EST is generated by the gain block 777 by multiplying the latched maximum current I.sub.SR,max, by a gain term λ. The gain term λ may be derived from equation (15) as follows:
[0060] As described previously, the initial slope gain γ is based upon T.sub.SR.sub._.sub.ON and I.sub.SR,max, each of which are only updated once per switching cycle. In order to better track the phase current within a conducting period T.sub.SR.sub._.sub.ON of the SR switch Q.sub.SR, the initial slope gain γ is modified by taking into account an error signal that is input to the slope estimator 670. Preferably, the scaled and integrated error signal K.sub.INT*(err_int) generated by the slope adjuster 660 is input to a loop-up table 775, which generates a correction scaling for the slope gain γ. This correction scaling is then provided to a multiplier 774, which feeds the slope gain γ to the slope gain block 772.
[0061] For the case where the slope estimate m.sub.EST is perfect and the phase current estimate I.sub.PH.sub._.sub.EST is perfectly tracking the measured phase current I.sub.PH.sub._.sub.SENSE, there is no error and the scaled and integrated error signal K.sub.INT*(err_int) provided to the look up table 775 would be zero. The look up table 775 would provide a value of 1.0 to the multiplier 774, such that the multiplier output would provide a slope gain γ equivalent to the initial value of the slope gain γ as given by equation (22). If the scaled and integrated error signal K.sub.INT*(err_int) is sufficiently positive, indicating that the measured phase current I.sub.PH.sub._.sub.SENSE is greater than the phase current estimate I.sub.PH.sub._.sub.EST, then the estimated slope m.sub.EST is too small. For this case, the look up table 775 would provide a correction scaling greater than 1.0 that would be used by the multiplier 774 to increase the slope gain γ. This, in turn, would lead to an increased estimated slope m.sub.EST, an increased phase current estimate I.sub.PH.sub._.sub.EST, and reduced error signals error_d, err_int. Conversely, if the scaled and integrated error signal K.sub.INT*(err_int) is sufficiently negative, this indicates that the measured phase current I.sub.PH.sub._.sub.SENSE is smaller than the phase current estimate I.sub.PH.sub._.sub.EST. For this case, the look up table 775 would provide a scaling less than 1.0 that would subsequently reduce the estimated slope m.sub.EST and lead to a more accurate phase current estimate I.sub.PH.sub._.sub.EST.
[0062] The correction provided by the look up table 775 could be performed in alternate ways, e.g., the correction could be provided by a function that depends upon an integrated error or some other variation of the error. The look up table 775 could use hard-coded values that are put in place when the slope estimator 670 is produced, could include values that are adaptively updated during normal operation, or could be loaded with values produced during a calibration phase of the slope estimator 670.
[0063] As described above, the slope estimator 670 uses the switch cycle period T.sub.SW and the SR conducting period T.sub.SR.sub._.sub.ON in its generation of the slope estimate m.sub.EST, e.g., to determine the count initialization N.sub.SR.sub._.sub.ON, the slope gain γ, and the gain term λ. These periods T.sub.SW, T.sub.SR.sub._.sub.ON may be provided directly from some other portion of the control circuit 110, e.g., the frequency and duty cycle generator 112, or they may be determined by the phase current estimator 218 based upon other input signals (not shown in
[0064]
[0065] The method begins with the enabling 810 of an SR switch within a voltage converter, such that the SR switch conducts current. The SR switch is left enabled for a time period T.sub.SR.sub._.sub.ON. A counter and clock may be used to count down the time period T.sub.SR.sub._.sub.ON. A model of current I.sub.SR through the SR switch is generated and updated 822. This updating is performed at a fast frequency of f1. Next, an SR current estimate I.sub.PH.sub._.sub.EST is generated 824 using the model and an error signal. The estimated SR current estimate I.sub.PH.sub._.sub.EST is converted 832 into an analog estimate I.sub.PH.sub._.sub.EST.sub._.sub.F2.sub._.sub.ANALOG at a slow frequency f2. The measured SR switch current I.sub.SENSE is input 834. The analog estimate I.sub.PH.sub._.sub.EST.sub._.sub.F2.sub._.sub.ANALOG is combined with the measured SR switch current I.sub.SENSE, e.g., by subtracting, to generate 836 an analog current error. This analog current error is then converted 838 (digitized) to form the error signal that was used in the generation 824 of the SR current estimate I.sub.PH.sub._.sub.EST. Once the above sequence is complete, a check 840 is made to determine if the SR conducting period T.sub.SR.sub._.sub.ON has ended. This may be done, for example, by comparing a counter that was reset when the SR switch was enabled 810 against a threshold corresponding to the SR conducting period T.sub.SR.sub._.sub.ON. If the SR conducting period T.sub.SR.sub._.sub.ON is not over, then operation continues with the generation and update 822 of the SR current model. If the SR conducting period T.sub.SR.sub._.sub.ON is completed, then the loop is exited and the SR switch is be disabled 850.
[0066] Note that the steps within the dotted box 820 are performed at the (fast) frequency f1, whereas the steps within dotted box 830 are performed at the slower frequency f2. Accordingly, the steps 820 may be performed multiple times, and the current estimate I.sub.PH.sub._.sub.EST updated multiple times, for each iteration of the steps in box 830.
[0067] As used herein, the terms “having”, “containing”, “including”, “comprising” and the like are open ended terms that indicate the presence of stated elements or features, but do not preclude additional elements or features. The articles “a”, “an” and “the” are intended to include the plural as well as the singular, unless the context clearly indicates otherwise.
[0068] It is to be understood that the features of the various embodiments described herein may be combined with each other, unless specifically noted otherwise.
[0069] Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that a variety of alternate and/or equivalent implementations may be substituted for the specific embodiments shown and described without departing from the scope of the present invention. This application is intended to cover any adaptations or variations of the specific embodiments discussed herein. Therefore, it is intended that this invention be limited only by the claims and the equivalents thereof.