Lab 2 - EE 421L 

Authored by Biruk Gebremeskel

Email: gebreb1@unlv.nevada.edu

September 13, 2018

  

Lab description:

The purpose of this lab was to design a 10-bit digital to Analog converter (DAC).

Pre-lab Work:

In this pre-lab, after reading the entire write-up posted in the website, I followed the steps listed to tell us what is required to be done.

Therefore, I first downloaded lab2.zip file to my desktop and then I uploaded it to my design directory server, CMOSedu directory. Then after, I unziped the directory using the command, unzip lab2.zip, in Cadence and added the DEFINE statement( i.e DEFINE lab2$ HOME/CMOSedu/lab2) in cds.lib.Since I completed the above steps, I was able to navigate and find the lab2 library in the library directory and open the schematic view of the cell sim_Ideal_ADC_DAC.

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/snip1.JPG

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/snip2.JPG

  

As we seen above in the simulation the input which is a digital signal in this case is converted into an analog output by the DAC. This is a very common applications to store and play audio signals.

The value of the least significant bit is calculated  using the formula bleow.

1 LSB = Vdd/2^(n)

Post-Lab work:

Design of the a 10-bit DAC using an n-well R of 10K

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/DAC%20schem.JPG

Determining the output resistance of the DAC

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/output%20cal.JPG

Although the schematic above shows  a 5-bit DAC, the calculations are similar with a 10-bit DAC. In order to calculate the out put resistance, we solve the alternating two 2R parallel and two R series resistors one after the other. Indeed, that results in the total resistance of R.

Delay and driving a load:

Here i created the symobol view of my design first before i ground all DAC inputs except B9 to predict the delay of the DAC having a 10pF load.

Created symbol ( indeeed i deleted Vdd, Verfp, and Verfm pins since my design won't use it.)

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/symbol.JPG

The schematic( symbol created) with all DAC inputs except B9 grounded, and B9 connected to a pulse source with 10 pF being driven by the DAC:
http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/schem%202.JPG

 

Simulation results:

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/simulation%201.JPG

Hand Calculation:

Ʈ = R*C = 10kΩ*10pF = 100ns

0.7RC = 0.7*100ns = 70ns

Copying the Schmeatic cell view sim_Ideal_ADC_DAC to a cell and replacing the ideal DAC with the one i designed above results in the schematic attached below.

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/no%20load%20schem1.JPG

Simulation of the above Schematic:

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/no%20load%20schem.JPG

cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/no%20load%20schem.JPG

cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/no%20load%20schem.JPGWhat happens if the DAC drives a 10k load?
If th DAC drives a 10k load, the output voltage reduces in half because of a voltage divider it creates and it is demostrated below.

Schmematic of the DAC with a 10k load:

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/10kload%20schem.JPG

Simulation of  the DAC with a 10k load :

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/10k%20load%20sim.JPG

Schematics of the DAC with a 10pF Capacitor:

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/capacitor%20load%20schematic.JPG

Simulation of the DAC with a 10pF Capacitor:

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/capcitor%20load%20simulation.JPG

Schematics of the DAC with both the 10k resistor and 10pF capacitor together:

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/can%20and%20res%20schematic.JPG

Simulation of the DAC with both the 10k resistor and 10pF capacitor together:

http://cmosedu.com/jbaker/courses/ee421L/f18/students/gebreb1/lab2/cap%20and%20res%20load%20simulation.JPG

What happens if the resistance of the switches isn't small compared to R?

If the resistance of the of the resistor isn't small enough compared to R, it will result in a reduced voltage in the output because the switch will tend to act as a resistor when open.

This lab and all pictures and files associated with this lab has been backed up in my drobox.

Return to Biruk's labs

Return to EE421L F18 Student's Directory