Вы находитесь на странице: 1из 17

1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

8-bit R-2R Ladder Digital To Analog Converter with Equal Currents Design and Layout using AMI C5x Process
Introduction

The project is an 8-bit digital-to-analog converter that utilizes a resister ladder network to divide current with equal current sources, and an operational
amplifier to sum these currents and convert them into an output voltage. The use of an R-2R ladder architecture is very useful for binary-weighted currents.
However, the R-2R based converter is easy to implement and the resistance ratio is independent of the number of bits the precision of the resistor is
significant. Because the resistance of the R-2R architecture must be so closely matched (as close as 0.01% for the LSB on an 8-bit DAC) and the current
ratio through the switches is still large the implementation of current sources is needed. With equal current flow through all the switches the architecture
will be slower but more stable.

Figure 1 R-2R ladder DAC with equal currents through switches.

Objective

The objective of this project is to design an 8-bit R-2R digital-to-analog converter with current sources and implement the design into a CMOS chip using
the AMI c5x process. After simulation, testing, design rules check (DRC), and Layout vs. Schematic (LVS) is completed the project will be submitted to
MOSIS for fabrication.

Design

The basic principle of this type of R-2R DAC is to split the reference currents equally through the switches.

The current sources that were used were N-type transistors with a size of W/L = 5/1.5. The current sources used a bias generator that produced 1.68V to
allow ~80uA of current. The current sources were necessary for the R-2R DAC to work properly due to the switches and the matching of the resistors. The
high poly 2 resistance (R) was equal to 4kW . The switches used a pass transistor configuration and had a resistance value of approximately 500W with the
size of W/Ln = 25/0.6 and W/Lp = 50/0.6.

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 1/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 2 Current Sources - to produce equal current flow through all the switches

Figure 3 Bias Generator for current sources (without a resistor)

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 2/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 4 Pass Transistor Switches W/Ln = 25/0.6 and W/Lp = 50/0.6

The operational amplifier used in the DAC has 3 stages ( Differential � input stage, Common � source stage and an Output buffer).

Figure 5 Operational Amplifier 3-Stage

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 3/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 6 Bias Generator for the operational amplifier

The gain and phase margin of the operation amplifier was found to be 75.88dB and 111�respectively. The configuration used to find the gain and phase
can be seen in Figure 6 and a plot of the gain and phase in Figure 7.

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 4/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 7 Schematic for bode plot

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 5/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 8 Bode plots - phase margin 111 degrees and gain 75.88dB

Schematic of the R-2R DAC with current sources and the operational amplifier include bias generators.

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 6/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 9 R-2R DAC with current sources

Simulation

As mentioned above the operational amplifier simulated to have a gain of 75.88 dB with a phase of 111� . Extensive simulation was done on the 8-bit R-
2R DAC. The simulation done was various corner testing. The corners that were tested were the typical (typ), wc1, wc0, Worst Case Power (wcp), Worst
Case Speed (wcs), and with variations of the capacitors and resistors in the circuit. The results for the typ, wcp and wcs can be found in Table 1.
In Appendix A the plots and simulations to the results in Table 1 can be found.

Table 1

Corner Test Operating Sensitivity Settling Worst Case


Point Time Power

typ 3.187 � 2.5 3mV/LSB 37ns 52.27mW


V

wcp 3.666 � 2.5 3.15mV/LSB 53ns 42.63mW


V

wcs 2.883 � 2.5 3.3mV/LSB 64ns 68.43mW


V

Layout and Packaging

The chip will contain two 8 bit DAC and will be packaged in a 40 pin DIP. The pin out can be seen in Figure 10.

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 7/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 10 Pin out of Two by 8 Bit DAC Layout

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 8/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 11 Layout of Two by 8 bit DAC with the PADS

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 9/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 12 Layout of an 8 Bit R2R DAC

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 10/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 13 Layout of OPAMP

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 11/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 14 Layout of the OPAMP bias generator

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 12/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 15 Layout of pass-transistor switches

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 13/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 16 Layout of the Current Sources

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 14/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 17 Layout for the Current Source Bias Generator

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 15/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Figure 18 Layout of Inverter

Testing

A counter and an oscilloscope will be used to measure and increment through each of the 256 data points. The data points will be analyzed using Matlab to
see the variance of the realistic versus the ideal. Testing the chip will take place eight weeks after it has been submitted to MOSIS.

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 16/17
1/13/2019 8-bit R-2R Ladder Digital To Analog Converter with Equal Currents

Appendix A

Schematics

DAC with Pads

Pass Transistor Switch

Current Sources

Current Source Bias Generator

Opamp w/out Bias Generator

Bias Generator

R-2R D/A Convert

Inverter

Bode plot schematic


Simulation

Ramp Down of the R-2R DAC with 8 Bits

Ramp Down

Zoomed in Ramp Down

WCS Ramped Down

WCP Ramped Down

Zoomed in when bits transition from 10000000 01111111

Zoomed in when bits transition from 10000000 01111111

WCS current plot

WCP current plot

https://pubweb.eng.utah.edu/~bowen/DAC_Proj/8-bit_r2rdac_current_sources.html 17/17

Вам также может понравиться