Lab 2 - ECE 421L 

Authored by Dominic Hryciuk,

email: hryciuk@unlv.nevada.edu

Last edited on 13 September 2017

 Pre-lab

This lab report analyzes the operation of an analog-to-digial converter (ADC) and a digital-to-analog converter (DAC).

When the two devices are in series, an analog input becomes discretized and changes values digitally.

Below is the topology of the circuit when connected in series.

small circuit

Click for a larger image

When simulated, Vout makes in steps rather than continuously changing. The output is dependent on both the input and the reference voltage in the following relationship:

eq

Where Vr is the reference voltage provided into the ADC, and n is the number of bits. Values increase and decrease in steps.

sim 5v

When the reference voltage changes, the output will only operate up to the reference voltage. When VDD is dropped to 3V, the waveform is capped.

3v

You can look at what order the bits in the DAC output change to tell which one is the least significant bit. The first one to change is the least significant; the last one to change is the most significant bit.

bits

The equation for the least significant bits is:

Post-Lab

The 10-bit DAC is redesigned using the R-2R layout with 10k n-well resistors. The most significant bit is at the top. The actual layout emulates the schematic, so it is not as compact as it could be.

   

click for a larger image

The output resistance of this schematic can be determined by setting all of the pins to ground, and combining resistors in parallel and series. When doing so, you'll be repeating the same two operations until you are left with one resistor, R.

         

The schematic can be represented as a small symbol, allowing it to be easily implemented into other designs.

When connected to a capacitive load, the DAC will have a delay when a pulsed source is placed on one of the bits. This delay is approximated by 0.7RC, where C = 10pf and R is the combined resistance of the R-2R ladder, which is 10k. The delay should be 70ns.


The simulation however shows no delays on it, although the correct value is reflected in the output of the system.



When the DAC is driving a resisitive load of 10k, the output will drop to a lower level. The DAC in series with a resistor will create an attenuator which divides Vout by a ratio between the two resistors. If the capacitive load is also present, a larger delay should also be expected.

When the ideal switches are replaced with MOSFETs in a practical application, the equivalent resistances of each MOSFET will throw off the output voltage and the contribution by each bit. A design using MOSFETs should take this into account by slightly modifying the resistor value in the R-2R ladder.

Return to EE 421L Labs

Return to Student Directory