This application note shows how to connect the DS4404
, a 4-channel adjustable current DAC (or the DS4402, a 2-channel version of the DS4404), to a DC-DC converter circuit to add margining capability.
The circuit in Figure 1
illustrates how simple it is to integrate the DS4404 into an existing design. The DS4404 is added to the feedback node (see the dashed line) so that the VOUT
of the DC-DC converter can be adjusted. On power up, the DS4404 outputs a current of 0A (appears as high impedance), essentially making the DS4404 transparent until it is written to through I²C.
Figure 1. Connecting a DS4404 to a DC-DC converter feedback circuit.
Assume the following for our example (which are independent of the DS4404):
= 3V to 5.5V
= 1.8V (desired nominal output voltage)
= 0.6V (not to be confused with VREF
of the DS4404)
The value of VFB
is found in the DC-DC converter's data sheet. It is important to verify that this voltage is within the OUTx voltage range specified in the DS4404's data sheet (VOUT:SINK
). Finally, it is also important to check the input impedance of the DC-DC converter's FB pin; the example here assumes that it is high impedance.
Assume that we are using the DS4404 to add ±20% margining of VOUT
. Therefore, we have:
Begin by determining the necessary relationship between RTOP
which yield nominal VOUT
, when IDS4404
Solving for RTOP
, we get:
So for our example:
The current required to make VOUT
increase to VOUTMAX
, is derived by summing the currents at the FB node.
This equation can be simplified by solving Equation 1 for RBOTTOM
and then substituting.
Or in terms of margin percentage:
where margin = 0.2 for this example of ±20% margining.
However, before we can use this relationship to calculate RTOP
, the full-scale current, IFS
, must be selected.
According to the DS4404's data sheet, the full-scale current needs to be between 0.5mA and 2.0mA (specified as IOUT:SINK
in the DS4404 data sheet, depending on whether sinking or sourcing current) to assure the accuracy and linearity specifications. Unfortunately, there is no one formula to calculate the ideal full-scale current. Every application will be different. Some items that influence the selection of the full-scale current are the desired number of steps, step size, as well as RTOP
values. Likewise, there may be times when you want a particular register setting to correspond to a particular margin percentage. Either way, selecting the ideal full-scale current for your application will usually take several iterations of arbitrarily selecting a full-scale current (within the range) and then calculating RTOP
, and step size. Then, once a full-scale current is determined, you can choose to adjust it or some of the resistor values in order to end up with common resistor values.
Returning to the original example, to calculate RTOP
we will make IFS
. This will give us 31 steps from VOUTNOM
and 31 steps from VOUTNOM
, which is more than adequate for our example.
Alternatively, we could begin by arbitrarily choosing IFS
to be in the center (1.25mA) of the specified range, and then perform all the calculations. Instead, for illustrative purposes we will perform the calculations for the endpoints of the range.
So for IFS
Using Eq. 3 and solving for RTOP
is calculated using the formula given in the DS4404 data sheet along with VREF
, also found in the DS4404 data sheet:
Finally, for completeness we can determine the DS4404 output current as a function of register setting:
: the register setting here does not include the sign bit, which is used to select sink or source. The DS4404 sinks current when the sign bit = 0, thus making VOUT
increase to VOUTMAX
. The DS4404 sources current when the sign bit = 1, thus decreasing VOUT
Likewise for IFS
of the two cases, one can see that IFS
= 0.5mA is more attractive because the resistances are higher.
A similar article was published September 18, 2008 on the EDN