Lab 02 - ECE 421L 

Authored by: Stephen Berta - 2000138373

(bertas@unlv.nevada.edu)

09/15/14 

  

Lab 2: For Lab 2 we were tasked with creating a 10 bit DAC (digital analog converter) using resistors based on the schematic below.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/initial.JPG

First, we needed to open the library and cell that had the working models that we would then later copy out in order to make the edits needed.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/lab02_1.JPG

After navigating and opening the file we are opening the Analog Design Environment and loading in the state from the file to simulate it.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/lab02_2.JPG

After loading the Spectre state we run a transient simulation as seen below.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/lab02_3.JPG

After simulating the DAC we begin to build our own using the 2R/R schematic from above. We will create 10 of these small blocks as each one will control the output for one bit. However, first we should make a copy of our working schematic so that we still have a backup file to fall back to should something go totally wrong.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_5.JPG

Below we are setting the pins that will be shown on the block that will then be replicated 10 times (one per bit).

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/lab02_4.JPG
After having copied the created block 10 times around and setting up all our pins and connections, we are ready to edit the schematic in the overall DAC.
http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_9.JPG

Here we can see the block on the right is the file that contains the above image, also all the pins that we have in the above schematic are shown and represented in the below overall schematic (some were deleted to match our new schematic).

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_7.JPG

Next we test our DAC using the exact same simulation specifications that we originally did to the ideal file prior to making our copy file (we simply reload the saved spectre state). We can see that the schematic matches the original exactly, meaning our DAC using resistors worked.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_8.JPG

Now that we know our schematic works we will begin experimenting with some loads. Below we added a 10pF capacitance to the circuit and fed it with a 0 to 5V pulse source. As you can imagine in a transient response the output should have an RC delay (10k being equivalent resistance of our DAC). The RC delay should be right around 0.7RC and for our 10k and 10pF we can expect to see an answer being around 70ns.

 http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_10.JPG

 Below we see that our 70ns estimate comes out to being extremely close to the simulated value below.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_11.jpg

 Next we simulate using a load of 10pF and a 10k resistor. Based off our previous estimate it is safe to say that our Vout will be half of our previous Vout (since it now looks like a voltage divider of two equal resistors) and that we will see a shorter delay.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_12.JPG

 Our estimates are then verified below.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_13.JPG

Next we will run this with a simple 10k load, this should only affect Vout by decreasing it to half of Vin.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_14.JPG

Below we can see that this is verified and that it is acting as a voltage divider.

http://cmosedu.com/jbaker/courses/ee421L/f14/students/bertas/Lab_02/LAB02_15.jpg

Return to labs folder