SLAA998 May   2021 DAC43701 , DAC43701-Q1 , DAC53701 , DAC53701-Q1

 

  1.   Design Objective
  2.   Design Description
  3.   Design Requirements and Detailed Design Procedure
  4.   Error Calculation and Thermal Management
  5.   Test Setup and Measurements
  6.   Register Settings
  7.   Pseudocode Examples
  8.   Design Featured Devices
  9.   Design References

Error Calculation and Thermal Management

The last term in the equation comes from the error in VREF . It is important to note that all the terms involved in the calculation must have the same units. While gain error and offset error are specified in %FSR (full scale error), INL is specified in LSB. With these units, the following equation is represented as:

E r r o r C O D E = V R E F × G a i n _ E r r o r ( % F S R ) 100 × C O D E - O f f s e t _ C o d e F u l l _ C o d e + V R E F × O f f s e t _ E r r o r ( % F S R ) 100 + R e a l _ G a i n × I N L + ( V R E F - V R E F _ I D E A L ) 2 D A C _ r e s o l u t i o n × C O D E

The real gain is found from the Gain_Error based on the following formula:

R e a l _ G a i n   = V R E F × ( G a i n _ E r r o r ( % F S R ) 100 × 1 F u l l _ C o d e + 1 2 D A C _ r e s o l u t i o n )

For DAC53701, which is a 10-bit DAC, the full-code is 1023d and offset error is measured at 8d while for DAC43701, the full-code is 255d and the offset error is measured at 2d. In the external reference, the error in VREF emerges from the error in VDD while in the internal reference the error in VREF emerges from the internal reference of the DAC which is trimmed to have a value of 1.212V at room temperature (25°C). The trim resolution of this internal reference is around 5mV, so there can be an error of ±2.5mV.

Based on the gain setting in the internal mode, VREF is given by:

V R E F = D A C i n t e r n a l _ r e f e r e n c e × G A I N

Gain settings of 1.5×, 2×, 3×, and 4× are provided and thus the error in VREF is given by:

V R E F =   D A C i n t e r n a l _ r e f e r e n c e × G A I N

Similarly, these errors also drift with temperature and based on the gain error drift (%FSR/°C), offset error drift (%FSR/°C) and the drift in reference (ppm/°C) across temperature, one can find out the gain error, offset error and VREF at a higher (or lower) temperature and use them in the previous equations to calculate the error at a different temperature.

G a i n _ E r r o r T 2   ( % F S R ) =   G a i n _ E r r o r T 1 ( % F S R ) + G a i n _ E r r o r _ D r i f t ( % F S R C ) × ( T 2 - T 1 )    
O f f s e t _ E r r o r T 2   ( % F S R ) =   O f f s e t _ E r r o r T 1 ( % F S R ) + O f f s e t _ E r r o r _ D r i f t ( % F S R C ) × ( T 2 - T 1 )

The drift in the internal reference of the DAC is specified in ppm/°C (parts per million per deg. C) and its maximum value is 65 ppm/°C. Thus, the VREF at a higher (or lower) temperature is given by the following equation:

V R E F _ T 2 = V R E F _ T a m b i e n t × D A C i n t e r n a l _ r e f e r e n c e _ d r i f t ( p p m C ) 1 e 6 × ( T 2 - T 1 ) + V R E F _ T 1

The ambient temperature is 25°C. To calculate the worst-case errors in second equation, take the maximum or minimum values of all the parameters involved to estimate the maximum or minimum error, respectively. The following table shows the minimum and maximum values of gain error, offset error, gain error drift and offset error drift for the internal mode of reference with a gain of 1.5×. The INL drift across temperature can be considered negligible in comparison to the other terms.

Offset error drift (MIN) (%FSR/C) –2.23E-04 Gain error drift (MIN) (%FSR/C) –1.50E-04
Offset error drift (MAX) (%FSR/C) 2.99E-04 Gain error drift (MAX) (%FSR/C) –6.77E-05
Offset Error Min (%FSR) –0.2571 Gain Error Min (%FSR) –0.133
Offset Error Max (%FSR) 0.2698 Gain Error Max (%FSR) 0.09735

Also VREF maximum can be estimated as the ideal VREF of the following equation:

1.212 V × 1.5 V   =   1.818 V + 0.0025 V ( e r r o r   i n   t h e   i n t e r n a l   r e f e r e n c e   o f   D A C ) × 1.5 V ( g a i n   s e t t i n g )  

Similarly, VREF minimum can be derived by 1.818V – 0.0025V × 1.5 = 1.81425V. Putting these maximum and minimum values and considering the maximum and minimum INL as +1 and –1 LSB respectively, using the second equation yields:

ERRORCODE_MAX = 0.009719784V and VSET_MAX = 1.009264706V

ERRORCODE_MIN = –0.009804654V and VSET_MIN = 0.989740268V

Similarly, by taking the drift values from the previous table and by considering a VRFE drift of ±65ppm/°C, the following maximum and minimum errors are obtained (T1 = Tambient = 25°C) ErrorCODE_MAX_WITH_DRIFT = 0.016760781V

ERRORCODE_MIN_WITH_DRIFT = –0.01678633V

It is important to note that these errors have been calculated by adding all the maximum (or minimum) values of different errors in the same direction. In reality, this may not always be the case and some errors may diminish the effect of each other. Thus, the previous calculated errors are more pessimistic.

The feedback impedance (looking in impedance at the VFB node) as well the load resistor tolerance of RSET also has an impact on ISET. The total impedance (Rtot) at the DAC feedback node will thus be a parallel combination of RSET and RVFB given by following equation:

R t o t     =   ( R S E T   × R V F B ) ( R S E T   + R V F B )

While RSET has a tolerance of its own, RVFB also varies from 160kΩ to 240kΩ for the internal reference gain of 1.5×. If we have an RSET with 5% tolerance, the worst-case maximum and minimum values of Rtot will be:

RTOT_MAX = 52.4885Ω

RTOT_MIN = 47.4859Ω

With the VSET_MAX, VSET_MIN, RTOT_MAX, RTOT_MIN values, we can calculate the worst-case LED currents as follows:

I L E D _ M A X = V S E T _ M A X R T O T _ M I N
I L E D _ M I N = V S E T _ M I N R T O T _ M A X

From the previous two equations we get the worst-case ILED_MIN and ILED_MAX as 18.8563mA and 21.254mA, respectively. The total power dissipated across the MOSFET is given by:

P d i s = ( V D _ M O S - V S E T ) × I S E T = ( V D _ M O S - V S E T ) × ( V S E T R T O T )

Where VD_MOS is the drain voltage of the MOSFET. In this application, VD_MOS will be VCC – VF where VF is the voltage drop across the diodes. VF depends on the ISET flowing through them. The relationship between Pdis and VSET is evident in the following figure showing MOSFET power dissipation and voltage set value.

GUID-20210519-CA0I-DZXB-5RD9-TXFDZTRQHQFD-low.svg

If the VSET for LED bright current condition is chosen to be greater than VD_MOS/2, the power dissipation will be more when the LED dims down, that is, when the appliance door is closed. This is not a desirable condition so it is better to have VSET below VD_MOS/2, that is, (VCC – VF)/2.

It is also important to note that VCC cannot be significantly reduced to reduce the power dissipation as there is also a VF drop across the diodes to account for, and based on variation across ISET, there should be a sufficient margin to cater to changes in VF. In addition, reducing the VCC reduces the VDS of the MOSFET, and a drastic decrease in VDS demands a higher VGS to support the same ISET which may cause certain headroom issues as mentioned in the previous sections.

The CSD16342Q5A MOSFET chosen for this example has a maximum junction-to-ambient thermal resistance, RθJA of 50W/°C. With VSET of 1V, VCC of 5V and a typical VF of 2V (single LED in the chain), PDIS =

( 5 - 2 - 1 ) × 0.02   =   40 m W

This would mean a rise of ( 0.04 × 50 ) = 2 o C above the ambient temperature which is not much. However, care needs to be taken while dealing with higher currents.

For instance, a bright current of 200mA would give a PDIS of 400mW implying a rise of 200°C above the ambient temperature. If the ambient temperature is close to the maximum operating temperature of the MOSFET, a 200°C rise may damage it.