Internet Explorer is not a supported browser for TI.com. For the best experience, please use a different browser.

VIDEO SERIES

Precision labs series: Precision DACs (<=10MSPS) – Learning center

The Precision DAC Learning Center is a collection of technical content that will help guide you through the precision DAC design process. Whether you are learning the basics of digital-to-analog conversion or trying to understand how to implement a precision DAC in your system, this learning center provides a range of videos, articles and technical articles to help you along the way. To ask questions and receive additional precision DAC support, visit our E2E™ community forum. 

Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected

      Presenter(s)

      Hello, and welcome to the Texas Instruments Precision dac overview of DC specifications of dacs. In this presentation, we will briefly cover the properties of the ideal dac and several other important DC specifications.

      When beginning a study of electronics, one of the first things any engineer is exposed to is the ideal op amp. Understanding the properties of the ideal operational amplifier helps simplify circuit analysis, but also gives great insight into what causes error in practical op amps. Similarly, we should establish a model for the ideal dac before exploring where errors are introduced in practical dacs.

      The first and most basic parameter for any data converter is its resolution. Resolution simply describes the number of digital bits available to quantify the input or output signals. In this explanation, we'll define n as the number bits. The number of bits, or resolution, is directly used in calculating the number of input codes. The number of codes is the number of possible combinations of ones and zeros across all of the converters bits, which is easily defined as 2 to the n.

      One of the tricky things about a data converter is understanding that while there are a total of 2 the n possible codes that can be written to a dac, the maximum code is not 2 to the n. A simple example of this is considering a two bit converter. There are a total of four possible codes, zero, one, two, and three. The full scale code is then defined as 2 to the n minus 1.

      The reference voltage is arguably the most important piece of any data converter system. Any noise on the reference will translate to noise on the dac output. Additionally, the reference voltage defines the output range of a dac and is used in determining the LSB weight, one of the most important items to understand about a data converter.

      LSB weight is quantified in volts, or amperes for current output dacs, and is defined as the output step between sequential codes. Ideally, this LSB size can be calculated as Vref over 2 to the n, and is consistent across all sequential codes. Note that this is different from calculating data converter LSB weight, which is defined as Vref over 2 to the n minus 1.

      Inherent in all precision dac architectures is an inability to actually reach the reference voltage at the output, even assuming perfect resistor values. The full scale output for a dac is defined as Vref minus 1 LSB. As the resolution of the dac increases, this error becomes less and less noticeable. Finally, we can define the ideal transfer function of a dac as the Vref times the input code over 2 to the n. Offset error and zero code error are two very similar specifications for dacs that are often confused.

      Offset error describes an offset or shift in the entire transfer function across the linear region of operation. Think of it as the b term in y equals mx plus b. Offset error is calculated based on a line of best fit from a two point measurement taken across the linear region of operation, typically somewhere between 10% and 90% of the full scale range. It may seem clear that if the transfer function is offset, that a zero code will not produce exactly zero volts at the dacs output. You might guess that instead it will simply produce the offset term at the output, and you would be almost completely correct for bipolar dacs.

      For a unipolar output dac, however, operation near the negative rail is non-linear, and we will see an additional offset from the expected linear transfer function value. Both unipolar and bipolar dacs will express an offset error and zero code error term.

      The next specification to consider is gain error. If offset error is the b term in y equals mx plus b, then gain error can be considered the m term. Gain error describes the deviation from the ideal slope of the transfer function defined as one LSB. Similar to offset error, this is based on a line of best fit taken from a two point measurement of the dac output. As discussed in the ideal dac, any two sequential dac codes should be exactly one LSB apart. Differential non-linearity measures the worst case deviation any two sequential code may exhibit across the dac transfer function. DNL could be specified across each and every dac code, but in the electrical characteristics table, we simply show the worst case expected value as a typical value and a maximum value.

      Intuitive methods of understanding and applying DNL are considering monotenacity and a dac with no missing codes. If DNL at any given transition is less than or equal to minus 1, the dac is referred to as non-monatomic. If DNL at any transition were greater than or equal to 1, it may mean that the dac has missing codes. Generally speaking, all of our dacs are monatomic and have no missing codes.

      Integral non-linearity is very similar to differential non-linearity, except rather than a measurement from code a code, integral non-linearity is a specification of how the linearity of the measured transfer function differs with respect to the ideal transfer function. As such, interval non-linearity is sometimes referred to as relative accuracy. It should be noted that the INL specification is measured with offsetting gain error nullified, meaning that the two point best fit line INL is measured against takes into account offsetting gain error, or the measure transfer function is calibrated to compensate for offsetting gain error. INL purely defines the device linearity and is typically used more frequently than the DNA all specification.

      Having looked at all these errors, it is useful to have an equation that summarizes all the dac errors. Total unadjusted error, or TUE, is a calculation that is derived from the basic DC errors using a root sum square approach. It is a probabilistic approximation of the error expected in a system. This is because it is highly unlikely that one system will experience an outlying offset error and an outline gain error at the same time. This equation requires two things to be applicable, that all the errors being added are uncorrelated and that they all use the same units. Any common unit will work, but offset error is usually defined in volts, gain error in percent full-scale range, and INL in LSBs. A table showing the conversion between common units is shown here.

      Zero and full scale errors are not included, because they are only endpoint errors. TUE only applies within the linear region of the dac transfer function. DNL is also not included in the TUE equation because the INL spec already accounts for it.

      In summary, we learn first about the properties of an ideal dac, then we look at specifications to show where a dac deviates from being ideal, offset in zero code error, gain error, differential non-linearity, and integral non-linearity. Finally, we finished with total unadjusted error, a way to summarize all the DC errors in a dac. Thank you for watching this video on DC specifications for precision dacs. Please watch our other videos on precision dacs to learn more.

      View series

      Precision labs series: Precision DACs (<=10MSPS) – Learning center