Add margining capability to a dc/dc converter

You can easily add margining capability—that is, the ability to digitally adjust the output voltage—to a dc/dc converter by making a single connection to the circuit (Figure 1).

 

The dashed line in the figure shows the connection. The extra IC is a two- or four-channel, I2C (inter-integrated-circuit)-adjustable-current DS4402 or DS4404 DAC. Because each DAC output is 0 mA at power-up, the extra circuitry is essentially transparent to the system until you write a command using the I2C bus.

For example, assume that the input voltage is 3 to 5.5V; the output voltage is 1.8V, which is the desired nominal output voltage; and the feedback voltage is 0.6V. You can obtain the feedback voltage from the dc/dc converter’s data sheet; be sure to verify that it is within the output-voltage range that the current DAC’s data sheet specifies as sinking or sourcing voltage depending on whether you are sinking or sourcing current. You should also verify the input impedance of the dc/dc converter’s feedback pin. The circuit in Figure 1 assumes a high impedance.

Assume that you want to add a ±20% margining capability to the dc/dc converter’s output so that the maximum, nominal, and minimum output voltages would be 2.16, 1.8, and 1.44V, respectively. First, determine the necessary relationship between R1 and R2, which yields the nominal output when the current of the DS4404 DAC is 0 mA:

 

where the margin is 0.2 to implement ±20% margining in this case. Before you can use this relationship to calculate R1 and R2, you must select the full-scale current.

According to the DS4404’s data sheet, the full-scale current must be 0.5 to 2 mA to guarantee the specifications for accuracy and linearity. Unfortunately, no formula is available for calculating the ideal full-scale current. The desired number of steps, the step size, and the values for R1 and R2 influence that value. Another factor affecting the full-scale current value is whether there is a requirement that a particular register setting corresponds to a particular margin percentage.

In any case, your selection of a full-scale current will likely require several iterations, in which you select an arbitrary value within the range and then calculate R1, R2, RFS (full-scale resistance), and step size. When you’ve determined an acceptable full-scale-current value, you may want to further adjust it or some of the resistor values to ensure that the resistor values you finally specify are commonly available.

To calculate R1 for the original example, make the full-scale current equal to the current of the DS4404. This step gives you 31 equal increments, or steps, from the nominal output voltage to the maximum output voltage, as well as 31 steps from the nominal output voltage to the minimum output voltage. This resolution is more than adequate for this example.

You could, for instance, begin by arbitrarily choosing the full-scale current in the center, or 1.25 mA, of the specified range and then performing all the calculations. Instead, for illustrative purposes, the calculations are shown for the endpoints of the range: 0.5 and 2 mA. Analyzing the 0.5-mA case first, you perform the following calculations and then repeat for the 2-mA case.

Using Equation 9 and solving for R1 yields:

 

Note that this register setting does not include the sign bit, which selects sink or source. The DS4404 sinks current when the sign bit is zero, making the output voltage increase to the maximum output voltage. It sources current when the sign bit is one, making the output voltage decrease toward the minimum output voltage.

Now, you can repeat the calculations for the 2-mA case.

 

posted @ 2014-11-28 10:42  IAmAProgrammer  阅读(498)  评论(0编辑  收藏  举报