This disclosure is directed to the field of DC-DC converters and, in particular, to circuitry and calibration procedures for generating a highly precise reference voltage for use in the feedback loop of a DC-DC converter to provide that DC-DC converter with a high degree of precision in the generated DC output voltage, as well as procedures to provide that DC-DC converter with an extended voltage range.
Now described with reference to
An ideal example output range of the output DC voltage DCOUT of the DC-DC converter 6 is shown in
To avoid gain error (
A voltage conversion system with trimming capability, including a digital-to-analog converter (DAC) configured to generate a reference voltage based on an input code; a voltage converter configured to generate an output voltage based on an input voltage and the reference voltage; a first adjustable reference circuit coupled to the DAC and configured to provide a first reference signal to the DAC; a second adjustable reference circuit coupled to the DAC and configured to provide a second reference signal to the DAC; and control circuitry configured to adjust the first adjustable reference circuit to perform gain trimming of the output voltage and adjust the second adjustable reference circuit to perform offset trimming of the output voltage.
The first adjustable reference circuit may include a resistive network with multiple selectable taps.
The control circuitry may adjust the first adjustable reference circuit by selecting among the multiple selectable taps to set a resistance value.
The second adjustable reference circuit may include a resistive network with multiple selectable taps.
The DAC may include a resistive ladder network coupled to the second reference signal.
The control circuitry may be configured to perform a calibration procedure by adjusting the first adjustable reference circuit until the output voltage reaches a desired voltage range and adjusting the second adjustable reference circuit until the output voltage reaches a desired offset.
The calibration procedure may further include, when the output voltage reaches a positive offset relative to a given offset, adjusting the input code to create a negative offset and adjusting the second adjustable reference circuit until the output voltage reaches the desired offset.
The voltage conversion system may further include a feedback circuit coupled between an output of the voltage converter and the voltage converter, wherein the feedback circuit generates a feedback signal based on the output voltage and the reference voltage.
The first adjustable reference circuit may be adjustable to provide multiple operating ranges for the output voltage.
The voltage conversion system may further include a buffer circuit coupled between the DAC and the voltage converter, the buffer circuit configured to buffer the reference voltage.
A method for trimming voltage output in a voltage conversion system, including generating a first reference signal; generating a second reference signal based on the first reference signal; generating a digital-to-analog converter (DAC) output based on an input code and the second reference signal; converting an input voltage to an output voltage based on the DAC output; performing gain trimming of the output voltage by adjusting the first reference signal; and performing offset trimming of the output voltage by adjusting the second reference signal.
Performing gain trimming may include selecting a tap point in a first resistive network to adjust the first reference signal.
Performing offset trimming may include selecting a tap point in a second resistive network to adjust the second reference signal.
The method may further include determining whether the output voltage has a desired voltage range and adjusting the first reference signal until the output voltage is within the desired voltage range.
The method may further include determining whether the output voltage has a negative offset or a positive offset relative to a desired offset; when the output voltage has a negative offset, adjusting the second reference signal until the output voltage reaches the desired offset; and when the output voltage has a positive offset, adjusting the input code to create a negative offset and adjusting the second reference signal until the output voltage reaches the desired offset.
The method may further include generating a feedback signal based on the output voltage and providing the feedback signal to control the converting step.
The method may further include storing multiple settings for the first reference signal to enable selection between multiple operating ranges for the output voltage.
Generating the DAC output may include using a resistive ladder network coupled to the second reference signal.
The method may further include buffering the DAC output before using it in the converting step.
The method may further include performing a calibration procedure including the gain trimming and the offset trimming to achieve a desired output voltage characteristic.
The following disclosure enables a person skilled in the art to make and use the subject matter disclosed herein. The general principles described herein may be applied to embodiments and applications other than those detailed above without departing from the spirit and scope of this disclosure. This disclosure is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed or suggested herein. Do note that in the below description, any described resistor or resistance is a discrete device unless the contrary is stated, and is not simply an electrical lead between two points. Thus, any described resistor or resistance coupled between two points has a greater resistance than a lead between those two points would have, and such resistor or resistance cannot be interpreted to be a lead. Similarly, any described capacitor or capacitance is a discrete device unless the contrary is stated, and is not a parasitic unless the contrary is stated. Moreover, any described inductor or inductance is a discrete device unless the contrary is stated, and is not a parasitic unless the contrary is stated. Furthermore, any “switch” described herein may be understood to be formed by one or more transistors of a suitable type.
Now described with reference to
The reference buffer 11 is formed by a reference amplifier 21 having its non-inverting input terminal coupled to receive a reference input signal REF_IN and its inverting input terminal coupled to its output terminal through a resistive circuit 22. The resistive circuit includes X switches SW0, . . . , SWX−1 each being connected between the inverting input terminal of the reference amplifier 21 and a different respective tap of a resistive ladder RDIV1, the resistive ladder RDIV1 being connected between the output of the reference amplifier 21 and ground. The reference buffer 11 serves to buffer the reference input signal REF_IN to produce a reference voltage REF_DAC at the output of the reference amplifier 21.
The DAC 12 may be of R-2R type, uses the reference voltage REF_DAC as its reference voltage, and generates a DAC output voltage DAC_OUT based upon an n-bit input code CODEn. The DAC 12 includes a R-2R ladder (shown in
The buffer 17 is formed by an amplifier 17 that has its non-inverting input terminal connected to the resistive circuit 23 and its inverting input terminal connected to its output terminal, with the reference voltage VBL generated at its output. The resistive circuit 23 includes a resistive ladder RDIV2 connected between the output of the reference buffer 11 and ground, with Y switches S0, . . . , SY−1 each being connected between a different respective tap of a resistive ladder RDIV2 and the non-inverting input terminal of the amplifier 17.
A DAC buffer 13 serves to buffer the DAC output voltage DAC_OUT to produce the reference voltage VDO. The DAC buffer 13 is formed by an amplifier 13 having its non-inverting input terminal connected to the output of the DAC 12 to receive the DAC output voltage DAC_OUT and its inverting input terminal connected to its output, with the reference voltage VDO being produced at the output of the amplifier 13.
The DAC 12, as stated above, is of R-2R type, and is now described with additional reference to
The switches SPDT0, . . . , SPDTn−1 each selectively connect their associated one of the resistors R2 to either ground or the reference voltage REF_DAC dependent upon a respective bit of the n-bit code CODEn. When a given bit of CODEn is at a logic low (e.g., 0), its associated switch SPDT0, . . . , SPDTn−1 connects its 2R resistor to ground, and when a given bit of CODEn is at a logic high (e.g., 1), its associated switch SPDT0, . . . , SPDTn−1 connects its 2R resistor to the reference voltage REF_DAC. By way of example, if the least significant bit of CODEn is at a logic low, switch SPDT0 will connect its 2R resistor to ground, and if the least significant bit of CODEn is at a logic high, switch SPDT0 will connect its 2R resistor to REF_DAC. As another example, if the most significant bit of CODEn is at a logic low, switch SPDTn−1 will connect its 2R resistor to ground, and if the most significant bit of CODEn is at a logic high, switch SPDTn−1 will connect its 2R resistor to REF_DAC.
Control circuitry 30 controls switches SW0, . . . , SWX−1 and switches S0, . . . , SY−1, and generates CODEn as well as REF_IN.
Operation is now described. First, the way in which the DC-DC converter system 10 provides for both gain and offset trimming (adjustment) will be described, and thereafter, calibration procedures for performing the gain and offset trimming will be described.
The changing of the feedback resistance connected between the inverting input terminal and output of the reference amplifier 21 through the closing of one or more of the switches SW0, . . . , SWX−1, under control of the control circuitry 30, serves to trim the gain—adjusts the slope of the output DC voltage DCOUT between its minimum value and its maximum value with a final accuracy equal to approximately
In detail, the maximum gain of the output DC voltage DCOUT is dependent upon the number of bits n of the n-bit code CODEn, and may be calculated as:
Since the trimming operation performed through changing of the feedback resistance connected between the inverting input terminal and output of the reference amplifier 21 through the closing of one or more of the switches SW0, . . . , SWX−1, under control of the control circuitry 30, ultimately changes the value of REF_DAC, and since the gain of the output DC voltage DCOUT is dependent upon REF_DAC, gain control is therefore performed through the above described trimming. The effect of this gain adjustment accomplished through trimming can be seen in
The changing of the input resistance to the non-inverting input terminal of the amplifier 17 through the closing of one or more of the switches S0, . . . , SY−1, under control of the control circuitry 30, serves to change the reference voltage VBL and in turn trims the offset—adjusts the offset of the output DC voltage DCOUT in its range between its minimum value and its maximum value. The effect of this offset adjustment can be seen in
Through the adjustment of the value of the DAC output voltage DAC_OUT by the DAC 12, the value of VDO is adjusted, and in turn the value of the output DC voltage DCOUT is adjusted. As explained, through the adjustment of the value of the voltage VBL, the offset of the output DC voltage DCOUT is adjusted.
The potential step sizes in the values of the DAC output voltage DAC_OUT are dependent upon the number of bits n in the n-bit code CODEn. Namely, the steps may be as small as:
Given the above, the potential step sizes in the value of the offset applied to the output DC voltage DCOUT are dependent upon the number of bits in n the n-bit code CODEn. These steps may be as small as:
With the above understanding of how gain and offset trimming of the output DC voltage DCOUT is performed, procedures for performing the gain and offset trimming will now be described. In a calibration mode, the control circuitry 30 first performs gain trimming until the desired range between the minimum and maximum value of the output DC voltage DCOUT is reached. This can be performed by iteratively incrementing or decrementing the X-bit control word applied to the switches SW0, . . . , SWX−1, such as shown in
Next, offset trimming is performed. Two instances may occur. The first instance, shown in
The second instance, shown in
Optionally, a further calibration may be performed to permit adjusting the range of the output DC voltage DCOUT beyond what would be achievable for as given number n of the n-bit code CODEn. In order to do this, once the calibration described above is performed, REF_DAC is increased. This increase in REF_DAC serves to increase the individual step sizes during gain trimming, thereby increasing gain, as shown in
Finally, it is clear that modifications and variations may be made to what has been described and illustrated herein, without thereby departing from the scope of this disclosure, as defined in the annexed claims.
While the disclosure has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be envisioned that do not depart from the scope of the disclosure as disclosed herein. Accordingly, the scope of the disclosure shall be limited only by the attached claims.
This application is a continuation of U.S. patent application Ser. No. 17/980,188, filed Nov. 3, 2022, the contents of which are incorporated by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 17980188 | Nov 2022 | US |
Child | 19074706 | US |