Digital To Analog Converter (DAC)

What is Digital to Analog Converter (DAC)?

A Digital to Analog converter is a tool that comes with one single chip or Integrated Circuit that converts digital or binary codes into analog signals. This device can change abstract and binary numbers consisting of a set of 0s or 1s to a specific physical variable.

Understanding Digital to Analog Converter (DAC)

What is Digital to Analog Converter (DAC)

Computer signals can be classified broadly into two groups namely, digital signals and analog signals.

The electronics devices that deal with digital signals are called digital electronics such as:

On the other hand, the devices that deal with analog signals are called analog electronics such as:

Depending on the type of the devices, the electronics design typically needs one of these two signals to be converted from one to another more often than not.

Technically speaking, a Digital to Analog Converter converts the binary values represented as 1s and 0s into a continuous set of analog voltages.

This is actually done by following several different methods and each of these techniques has its own characteristic advantages and disadvantages.

Rudiments

A Digital to Analog Converter, just as the name signifies, is vested with the job of doing the necessary conversions of a digital input signal into an analog output signal.

A Digital to Analog Converter is commonly referred to as DAC but is also expressed in different other ways such as:

This is actually an electronic device and a data converter that converts digitized music into analog sound output, digital video signals into analog images, and more.

Importance of Digital to Analog Converter

As you may know already, a computer is a binary machine and it operates in an analog world. Not all devices can understand these signals.

Therefore, a Digital to Analog Converter is required to convert the signals so that it can produce an output that can be understood easily by other devices.

An example will make things clear to you. Imagine that you are listening to a piece of music on a speaker from the YouTube channel by using your computer.

Here, the computer stores the audio signals or the values of the sound wave in binary form. If you want to play these signals back as sound output on a speaker, you will need analog signals.

This is because the diaphragm of the speaker vibrates due to the intensity of the analog signal. It is this vibration that produces the desired sound output.

In such situations, it is only a Digital to Analog Converter that will convert the digital audio signals to analog file so that it can be played on the speaker.

Since the modern era and computing are both digital in nature, there is an increased demand for digitized data which is why there is an increased demand for the Analog to Digital converters or ADCs.

However, you must keep in mind that in everyday life it is only analog signals that are used, and the world too is analog.

Therefore, whenever an Analog to Digital converter is needed, you will also require a Digital to Analog converter.

Features and Characteristics

The performance of the Digital to Analog Converter depends on its features and characteristics.

Here are some of the most important ones explained for you.

Resolution

This indicates the probable number of output levels that the Digital to Analog Converter is designed to produce and is expressed by the number of bits used by it.

This is actually the binary logarithm of the specific number of levels.

For example, a 1-bit Digital to Analog Converter is normally designed to produce 2 (21) levels but an 8-bit system will produce 256 (28) levels.

Resolution indicates the color depth in a video application as well as the depth of the audio bit in audio applications and is relative to the effective number of bits.

This is the measure of the actual resolution achieved by the Digital to Analog Converter.

Maximum Sampling Rate

This refers to the maximum speed at which the circuitry of the Digital to Analog Converter can operate and reproduce the correct output.

Usually, the relationship between the bandwidth of the sampling signal and the speed is defined by the Nyquist–Shannon sampling theorem.

Monotonicity

The Digital to Analog Converter is able to move its analog output specifically in the direction in which the digital input moves.

Read Also:  What is HDMI Port? Types, Lifespan, Pros, Cons & More

This means that before the correct output is asserted, it does not decrease even if the input is increased.

This feature is extremely helpful in situations where a DAC is used as a trim element that is digitally programmable or as a signal source of low frequency.

Total Harmonic Distortion and Noise

Often referred to as THD+N, this is a measure for the distortion and noise in the signal that is introduced by the Digital to Analog Converter.

This is actually expressed as the percentage of the total amount of power of the harmonic distortion and noise that are unnecessary but typically accompanies the preferred signal.

Dynamic Range

This is actually the measure for the difference between the largest signals and the smallest signals produced by the Digital to Analog Converter.

It is expressed in decibels and is typically associated with the noise floor and resolution.

The effective dynamic ranges of the Digital to Analog Converter are improved with the help of non-linear PCM or Pulse Code Modulation encodings such as A-law or μ-law, ADPCM or Adaptive Differential Pulse Code Modulation, and NICAM or Near Instantaneous Companded Audio Multiplex.

It uses logarithmic step sizes for the strengths of the output signals that are symbolized by each data bit.

This results in higher quantization distortion of loud signals which eventually helps the quiet signals to perform better.

Phase Distortion and Jitter

Some other characteristic features are also necessary to measure the performance of the Digital to Analog Converter such as phase distortion and jitter.

This is very important for those particular applications such as composite video and wireless data transmission that relies heavily on precise production of signals that are adjusted in different phases.

Performance Metrics

The static, frequency domain, and time domain performance of the Digital to Analog Converter is determined on different parameters with respect to each.

For example, the static performance is determined by:

In the case of audio applications in room temperatures, this noise is under 1 microvolt (μV) of white noise.

This typically restricts the performance to a level lower than 20~21 bits even in the 24-bit Digital to Analog Converters.

As for the frequency domain performance, it is determined by:

The Digital to Analog Converter is considered to be monotonic when the maximum DNL is below 1 LSB.

However, there are several monotonic Digital to Analog Converters that may have a maximum DNL in excess of 1 LSB or Least Significant Bit.

And, as for the time domain performance of the Digital to Analog Converter, it is measured by the glitch impulse area or the glitch energy.

The Circuit in a Digital to Analog Converter

Digital to Analog Converter comes with an Integrated Circuit which converts digital signal into analog current or voltage.

This is necessary for processing the analog signal further.

Converse to the circuits of the Analog to Digital converters, the Digital to Analog Converter has digital circuits that work with binary signals.

These signals typically have two distinct states such as:

This means that the device needs to use an electronic circuit that will help in converting the two dissimilar domains of constantly changing analog signals and disconnected digital signals.

This is where the analog to digital converter comes into play.

It typically takes the snapshot of the analog voltage at a specific point in time and generates a digital code as output.

This actually represents the analog voltage.

The number of bits or binary digits used to signify this value of analog voltage is dependent on the resolution of the A/D converter.

Typically, in a Digital to Analog Converter the conversion of digital signals to analog signals simply refers to the weighted amount of the binary input. Therefore, a circuit called the summing amplifier is used.

This is actually an op-amp amplifier that comes with several resistors that are connected to a single input.

The point of intersection of these resistors is called the virtual ground or the summing junction.

The binary input enters the resistors and it gives an analog signal on the output of this op-amp.

Ideally, it is the resistors that make the circuit of the Digital to Analog Converter work.

Read Also:  What is External Hard Drive? Types, Pros, Cons & More

That is why it is needed to be chosen correctly and matched perfectly so that an exact analog output can be achieved.

The higher the bits, the more different values of resistors are required but this may not be very realistic always.

As for the circuits of the Digital to Analog Converters, one of the most significant features of them is that even the nominal alteration defines the resolution.

Types of Digital to Analog Converter

There are different types of Digital to Analog Converters available that differ in design and performance. These are:

Today, most of the Digital to Analog Converters use a stable reference current or voltage to generate the output value.

On the other hand, the multiplying DACs typically use a variable input current or voltage as a conversion reference to produce the output.

This, however, puts added design limitations on the bandwidth of the conversion circuits.

Also, the modern high-speed Digital to Analog Converters comes with an interleaved structural design.

There are several DAC cores used in these devices in parallel and the performance of the combined DACs is enhanced since the output signals generated by these devices are typically combined in the analog domain.

This combination of the signals allows it to be performed either in the frequency domain or in the time domain.

Uses of a Digital to Analog Converter

Ideally both Digital to Analog Converters along with the Analog to Digital converters have contributed to the digital revolution.

Read Also:  Ray Tracing & Ray Casting: 11 Differences

Here are a few specific applications of the Digital to Analog Converters in particular:

You will also find Digital to Analog Converters being used in software radio, data distribution systems and in several other places.

How Does a Digital to Analog Converter Work?

In order to understand the working process of the Digital to Analog Converter you will first need to understand the binary system.

This is actually a positional system or to put it in a much better way, a binary system is a place value system.

Here, every bit represents the absence or presence of a particular power of two in the total sum of powers.

This means that you can consider the whole process of digital to analog conversion to be a scaling operation.

In this process, mapping of a binary count is done to a specific voltage range with 0 volts as the minimum voltage and the highest input binary voltage as the maximum voltage.

Ideally, a digital signal is described in two ways such as:

On the other hand, an analog signal is described as:

A Digital to Analog Converter typically converts the fixed-point binary number, which is also considered to be the abstract adequate precision number, into a physical quantity.

There are several steps involved in the transformation process which typically involves converting abstract data into theoretical series of impulses by the Digital to Analog Converter.

This series is then processed with the help of the reconstruction filter.

As said earlier, the Digital to Analog Converter works on the basis of the Nyquist-Shannon sampling theorem.

This particular theorem states that recovering the input signal from its sampled output can be done if the rate of sampling is twice greater than or equal to the largest frequency component that is there in the input signal.

This performance can be measured by using specific parameters such as the signal to noise ratio, the output signal bandwidth and others, as mentioned before.

What are the Advantages of Digital to Analog Converter?

The Digital to Analog Converter is as important as an Analog to Digital Converter and there are too many good reasons to say that.

However, just like any other electrical or electronic device, the DAC too has its characteristic merits and demerits.

Some of advantages offered by the Digital to Analog Converter are:

However, the Digital to Analog Converter too has some downsides such as the use of costly operational amplifiers by the circuit and higher power indulgence.

Also, the register in use within the circuit results in offset errors, gain errors, and nonlinearity.

Still, in spite of the downsides of the Digital to Analog Converters, the utility of these devices in modern computing and the digitized world is immense and cannot be overlooked.

Conclusion

As this article points out, you can now see how a Digital to Analog Converter is useful in ensuring that the I/O performance of the computer system is at a constant high level.

Even if one is not a technical person, gaining such knowledge is always good for any computer user.