Lab 2 - ECE 421L 

Authored by Isaac Robinson,

robins82@unlv.nevada.edu

September 14th, 2016

  

The focus of lab 2 is the design of a 10-bit digital-to-analog converter (DAC).

PRELAB:

Image 1: the unziping of the lab2.zip file to the CMOSedu folder.

Capture.JPG

Image 2: Defining lab2 project in cds.lib

Capture2.JPG

Image 3: Selecting the sim_Ideal_ADC_DAC schematic from the lab2 project

Capture3.JPG

Image 4: The sim_Ideal_ADC_DAC schematic

Capture4.JPG

Image 5: The simulator of this circuit for 1uS.

Capture5.JPG

Image 6: Changing the input Amplitude from 2.5V to 5V

Capture66.PNG

What can be observed here is that data is being lost when input voltage is greater than 5V or a negative value.

The DAC will output 5V when the input voltage of the circuit is above 5V and will display 0V when below 0V.

 

--------------------------------------------------------------------------

--------------------------------------------------------------------------

LAB REPORT:

The design of a 10-bit DAC using an n-well R of 10k:
Capture5.PNG

How to determine the output resistance of the DAC:
By continually combining the two bottom most resistors, we end up with the resistance of 1R. This process is shown below.
ResistorDACDrawing.jpg

Delay, driving a load:
Grounding pins b0 to b8 and sending a step voltage to b9, with a 10pF load:
Capture9.PNG
Capture8.PNG
delay time = 0.7RC = 0.7 * 10k * 10pF = 70ns
At this point the voltage should be half the final output voltage (2.5V / 2 = 1.25V).
The hand calculations match the graph plotted by Cadence.

DAC driving 10k load:
Capture11.PNG
Capture10.PNG
Because the resistance of the DAC is R, and we place a R in series with the DAC, this acts like a voltage divider, cutting the output voltage in half.

DAC driving both load and resistance:
Capture15.PNG
Capture14.PNG
As we can see, since the load use was R, the output is still cut in half and there is a phase shift due to the capacitor.

In a real circuit the switches seen above (the outputs of the ADC) are implemented with transistors (MOSFETs). 
This system relies on uniform resistances to have uniform DAC outputs, in other words the output scaling of the DAC would be affected.


BACKUPS:
Capture777.PNG

Return to Isaac's Labs

Return to EE 421L Labs