Data converters- Unit 5_till mixed signal layout issues
Data converters- Unit 5_till mixed signal layout issues
By,
Sanjana T
Syllabus
• Digital-to-Analog Converter specifications: DNL, INL, Offset, Gain error, Latency, SNR,
Dynamic Range.
• Analog-to-Digital Converter specifications: Quantization error, DNL, INL, Missing
codes, Offset, Gain error, Aliasing, SNR, Aperture error, Mixed-Signal layout issues.
• DAC Architectures: R-2R ladder DAC, Current Steering DACs, Charge Scaling DACs,
Pipeline DAC.
• ADC Architectures: Pipeline ADC, Integrating ADCs, Successive Approximation ADC,
Oversampling ADCs.
Introduction
• Data converters are circuits that changes analog signals to digital representations or
vice-versa
• Analog-to-digital converters, also known as A/Ds or ADCs, convert analog signals to
discrete time or digital signals. Digital-to-analog converters (D/As or DACs) perform the
reverse operation.
Digital-to-Analog Converter (DAC)
• Block diagram of DAC
• vOUT is the analog voltage output, VREF is the reference voltage, and F is
the fraction defined by the input word, D, that is N bits wide.
• The Maximum analog output voltage for any DAC is limited by the
value of VREF.
• Eg. if a 3-bit DAC is being used, the input, D, is 100 = 410, and FÄ£F is 5
V, then F=4/8, Vout=2.5V
• 1LSB=1mV
• Accuracy
• Resolution
2. Find the number of input combinations, values for 1 LSB, the percentage
accuracy, and the full-scale voltage generated for a 3-bit, 8-bit, and 16-bit DAC,
assuming that VREF= 5 V.
DAC specifications
1. Differential Nonlinearity
2. Integral Nonlinearity
3. Offset
4. Gain Error
5. Latency
6. Signal-to-Noise Ratio (SNR)
7. Dynamic Range
Differential Nonlinearity (DNL)
• Nonideal components cause the analog increments to differ from their ideal values.
The difference between the ideal and nonideal values is known as differential
nonlinearity, or DNL and is defined as
DNLn = Actual increment height of transition n - Ideal increment height
• where n is the number corresponding to the digital input transition. The DNL
specification measures how well a DAC can generate uniform analog LSB multiples at
its output.
Determine the DNL for the 3-bit nonideal DAC whose transfer
curve is shown in Fig. Assume that VREF = 5 V.
DNL1= DNL2=0
• DNL0=DNL1=DNL4=0
• Input signal is a sinewave with a peak-to-peak value equal to the full-scale reference
voltage of the converter
• The value of the noise (if the data converter is considered to be ideal) will be equivalent
to the RMS value of the error signal
Aperture Error
• Maximum sampling error associated with the
aperture uncertainty can be no larger than 1/2
LSB.
• A transient effect that introduces error occurs
between the sample and the hold modes in a
S/H circuit.
• The aperture time actually varies slightly as a
result of noise on the hold-control signal and the
value of the input signal. This effect is called
aperture uncertainty or aperture jitter.
• As a result, if a periodic signal were being
sampled repeatedly at the same points, slight
variations in the hold value would result, thus
creating sampling error.
Find the maximum resolution of an ADC which can use the S/H given
aperture uncertainty of 0.628 mV, while maintaining a sampling error
less than 1/2 LSB
Resolution N= 11 bits
Mixed-Signal Layout Issues
• Analog ICs are more sensitive to noise than digital Ics
• Sensitive analog nodes must be protected and
shielded from any potential noise sources.
• Grounding and power supply routing must also be
considered when using digital and analog circuitry on
the same substrate.
• Since a majority of ADCs use switches controlled by
digital signals, separate routing channels must be
provided for each type of signal.
• Strategies regarding the systemwide minimization of
noise should always be considered foremost.
• The lowest issues are foundational and must be
considered before each succeeding step.
• The successful mixed-signal design will always
minimize the effect of the digital switching on the
analog circuits.
Floor-planning
• The analog circuitry should be categorized by the sensitivity of
the analog signal to noise. For example, low-level signals or
high-impedance nodes typically associated with input signals
are considered to be sensitive nodes.
• High-swing analog circuits such as comparators and output
buffer amplifiers should be placed between the sensitive analog
and the digital circuitry.
• The digital circuitry should also be categorized by speed and
function.
• Digital output buffers are usually designed to drive capacitive
loads at very high rates, they should be kept farthest from the
sensitive analog signals.
• High and lower speed digital should be placed between the
insensitive analog and the output buffers.
• sensitive analog is as far away as possible from the digital
output buffers and that the least sensitive analog circuitry is
next to the least offensive digital circuitry.
Power Supply and Grounding Issues
• When analog and digital circuits exist together on the same die, danger exists of injecting
noise from the digital system to the sensitive analog circuitry through the power supply and
ground connections
• Resistors represent the small, nonnegligible resistance of the interconnect to the pad.
• The inductors represent the inductance of the bonding wire which connects the pads to the
pin on the lead frame.
• Since digital circuitry is typified by high amounts of transient currents due to switching, a
small amount of resistance associated with the interconnect can result in significant voltage
spikes.
• Low-level analog signals are very sensitive to such interference, thus resulting in a
contaminated analog system.
• Another significant voltage spike can occur due to the inductance of the bonding wire.
• By using separate pads and pins, the analog and the digital circuits are completely decoupled.
The current through the analog interconnect is much less abrupt than the digital; thus, the
analog circuitry now has a "quiet" power and ground.
• It is not wise to use two separate power supplies because if both types of circuits are
not powered up simultaneously, latch-up could easily result
• The resistance associated with the analog connection to ground or supply can be
reduced by making the power supply and ground bus as wide as feasible.
• The effect of the wire inductance by reserving pins closest to the die for sensitive
connections such as analog supply and ground.
Fully Differential Design
• The noise sources represent the noise from digital circuitry coupled through the parasitic stray
capacitors.
• If equal amounts of noise are injected into the differential amplifiers, then the common-mode
rejection inherent in the amplifiers will eliminate most or all of the noise.
• This depends on the symmetry of the amplifiers, meaning that matching the transistors in the
amplifier becomes crucial.
• In a mixed-signal environment, layout techniques should be used to improve matching such as
common-centroid and interdigitated techniques.
Guard Rings
• Circuits that process sensitive signals should be placed in a separate well (if possible) with
guard rings attached to the analog VDD supply.
• In the case of an n-well (only) process, the n-type devices outside the well should have
guard rings attached to analog ground placed around them.
• Digital circuits should be placed in their own well with guard rings attached to digital VDD.
• Guard rings placed around the n-channel digital devices also help minimize the amount of
noise transmitted from the digital devices.
Shielding
• A shield can take the form of a layer tied to analog ground placed between two other layers,
or it can be a barrier between two signals running in parallel.
• Avoid crossing sensitive analog signals, such as low-level analog input signals, with any digital
signals
• Digital signal carried using the top layer of metal (such as metal2), analog signal is carried by
poly layer, A strip of metal 1 can be placed between the two layers and connected to analog
ground
• Another situation that should be avoided is running an interconnect containing sensitive
analog signals parallel and adjacent to any interconnect carrying digital signals.
• Coupling occurs due to the parasitic capacitance between the lines.
• n-well can be used as a bottom-plate shield to protect analog signals from substrate noise.
Other Interconnect Considerations
• When routing the analog circuitry, minimize the lengths of current carrying paths. This will
simply reduce the amount of voltage drop across the path due to the metal 1 or metal2
resistance.
• Vias and contacts should also be used very liberally whenever changing layers. Not only does this
minimize resistance in the path, but it also improves fabrication reliablity.
• Avoid using poly to route current carrying signal paths.
• Not only is the poly higher in resistance value, but also the additional contact resistance required
to change layers will not be insignificant.
• If the poly is made wider to lower the resistance, additional parasitic capacitance will be added
to the node.
• Use poly to route only high-impedance gate nodes that carry virtually no current.