Lab 2 - EE 421L Digital Integrated Circuit Design

Author: Matthew Meza

Email: mezam11@unlv.nevada.edu

August 31, 2015

  

Design of a 10-Bit digital-to-analog converter (DAC)


 Pre-lab work
Lab Description
In this lab we'll use n-well resistors to implement a 10-bit DAC.
Our design is based upon the topology seen in Fig. 30.14, below, in the CMOS book.
The controlling input bits seen below come from the ADC, in other words the inputs to the DAC are the left side of the 2R resistors. Lab Requirements

Pre-Lab Excercise

1) provide narrative of the steps seen above:

2) Provide, and discuss, simulation results different from the above to illustrate your understanding of the ADC and DAC

3) explain how you determine the least significant bit (LSB, the minumum voltage change on the ADC's input to see a change in the digital code B[9:0]) of the converter.


All three are provided below!



After unzipping the folder provided, open the "sim_Ideal_ADC_DAC" schematic cell view. Changing the folder name of the zipped file can cause complications so use the default name for simplicity! 

The following schematic will show! The voltage source
on the left may be changed to observe changes in the DAC!


After changing the voltage source, click on the top left and choose the ADE option! After opening the save state provided, the ADE window should look like above !it is important to make sure that the simulation time matches with the plot time length. If not then we must follow the provided steps to force the simulation to converge. This is shown below.

When looking at the input/output notice the zero-order hold quality of the output. We can see that the output has a "step" quality. In our situation this "step" is due to the clock of the ADC, NOT the DAC. To determine the LSB of the DAC we can use the following equation:
LSB = VDD/(2^n) where n is the number of bits!
This can be seen again below in the Post-Lab excercise!


 


http://cmosedu.com/jbaker/labs/ee421L/lab2/l2_5.jpg



Post-Lab Excercises

The design of a 10-bit DAC using an n-well R of 10k
The 2R resistor should be implement with two separate 10k resistors in series



Above is the my DAC Bit. A symobl of this schematic is used
in the next picture to create the complete DAC. This design
allows me to change the number of bits in the DAC on the fly
for future projects!

Shown is schematic of my DAC using a symbol created
from the circuit shown to the left. Notice how I stacked
each bit ontop of one another. Also notice that I placed
a resistor at the bottom of the bit.


How to determine the output resistance of the DAC. Solution shown in black!




Delay, driving a load
: Ground all DAC inputs except B9. Connect B9 to a pulse source (0 to VDD) and show, and predict using 0.7RC, the delay the DAC has driving a 10 pF load. Verify the simulation results match your hand calculations.
                  
                                             Schematic of (My designed) DAC driving a 10p load

                                                            
                                                           Simulation and Hand Calc of time delay!





How to create a symbol view for your design with the exact same footprint as the Ideal_10-bit_DAC symbol view  (hint: use

Copy before you start drafting your design, e.g. Copy the cell Ideal_10-bit_DAC to Mydesign_10-bit_DAC and then simply edit the schematic view!)

                               My DAC Design!


                                  DAC design implemented into a symbol!




Show what happens if the DAC you designed drives a load (both R, C, and R/C)
DAC driving a 10K resistor

Notice the loss in amplitude/gain!
DAC Driving a 10K resistor and 10p Capacitor

Notice the loss in amplitude/gain and a phase shift!
DAC driving a 10p Capacitor

notice the phase shift and loss in magnitude!
General Schematic!


Explain what happens if the DAC drives a 10k load?

As shown above, driving a 10K resistor will result in a voltage divider efffect! There will be a loss in gain and the maximum value of
the DAC will be approximately half of VDD!

In a real circuit the switches seen above (the outputs of the ADC) are implemented with transistors (MOSFETs). 

Discuss what happens if the resistance of the switches isn't small compared to R.

Shown below is an example of a MOSFET being
used as a switch as the output of an ADC!

If the resistance of the switch (R of switch) is large
compared to R of the DAC then the switch input
resistor of 2R will actually be larger which will
affect the perfomance of the DAC!

 


 
 



 

      

Return to EE 421 Labs