Lab 2 - EE 421L 

Jeeno Doria

doriaj3@unlv.nevada.edu

9/5/2017 

     

Lab description:  Understand analogue to digital conversion (ADC) and digital to analog conversion (DAC).  Implement n-well resistors  to use a 10-bit DAC.

  

Pre-Lab:

Step 1: Download lab2.zip 
images/fig1.PNG
     
 Step 2:  Extract everything onto the server into the CMOSedu folder. Open up the cds.lib file and paste to the very bottom of the editor and then run Cadence.
images/fig2.PNG
     
Step 3: Open the library manager and go from lab2->sim_Ideal_ADC_DAC->schematic.
images/fig3.PNG
   
Step 4: Simulate the schematic by going to Launch-> ADE L -> Load State -> Cellview -> hit OK -> then finally press the green play button.
images/fig4.PNG
     
Step 5: Play around with the background color, line thickness, and type of line.
Background Color: right click the graph (not Vin or Vout)
Line Color/Thickness/Style: double click the name or the line itself.
images/fig5.PNG
 
Our input is an analogue signal at 5 volts. The reason we see ripples for Vout is because it is being converted from ADC then back to DAC with a 10-Bit converter. The more bits it can be converted to increases the precision.

images/fig8.PNG

LSB is the smallest increment from a DAC output, which on our simulation is Vout. It is the smallest voltage level 1-bit can represent.
 
images/fig9.PNG
On this simulation, Vin is adjusted to have an offset voltage of 4V and an amplitude of 2V. VDD is still set to 5V, which is why we see clipping at 5V on the graph. Vout cannot exceed 5V. On the original simulation with an offset of 2.5V and amplitude of 2.5V, the reason why both waves ride along each other is because it is within range; the amplitude starts at 2.5V and cango up or down another 2.5V.
 
 

Backup: I will back up my webpages and design directory using Google Drive.
images/fig6.PNG


 
To get the least significant bit (LSB), which is the minimum voltage change on the ADC's input to see a change in the digital code, we use the formula VDD/2^N.
VDD is the voltage from its source and N represents the number of bits in the converter.
images/fig7.PNG
 
For our schematic, VDD is at 5 volts and we are working with a 10-bit converter.


Lab:  
 
more%20images/3.PNG
   
more%20images/4.5.PNG
 
more%20images/5.PNG

   
 On the Schematic Editor, hit the Create Tab ->Cell View->From Cellview... then a window pops up. You can just hit OK->OK (on the next window that pops up).

more%20images/1.PNG
   
more%20images/111.PNG
     
Another window will appear and it is the symbol view of the schematic chosen.
more%20images/2.PNG
     
 
On the Library Manager copy sim_Ideal_ADC_DAC and rename it to sim2_Ideal_ADC_DAC. This copied version will be used for editting and testing our DAC. Open sim2_Ideal_ADC_DAC and delete the original DAC. After it is deleted, replace it with the DAC that was created as a symbol view.

more%20images/6.PNG
Running a simulation of the schematic above..
more%20images/7.PNG


more%20images/8.5.PNG
       
more%20images/8.PNG 
   - When there is a 10k resistor as a load, the output voltage is halved from the initial voltage. This is caused because it creates a voltage divider with the additional 10K thats within the DAC. 5V*10K/(10K+10K) = 5/2 = 2.5V.
   

 
more%20images/9.5.PNG
     
 more%20images/9.PNG
  - Adding a 10p capacitor load creates a low pass filter. The capacitor smoothens the signal of Vout, which is no longer rippled and as noisy.

 
more%20images/11.PNG
     
more%20images/10.PNG
  - Adding both a 10p capacitor and 10K resistor load will combine the two distinct properties from the 2 simulations above; it will smoothen out the signal and halve the input voltage. Additionally there will be a phase shift due mainly because of the capacitor load.
 

 
   -If the resistance of the switch isn't small compared to R, the output voltage will be lower. When the switch is closed it will combine resistance, which will be larger and consequently resistrict more current.

    - When there is a 10k resistor as a load, the output voltage is halved from the initial voltage.





Return to EE 421L Labs