Digital Logic & Design Dr. Waseem Ikram Lecture 45
Recap Logic Block Multiple Logic Elements LUT, flip-flop, cascade logic Control logic, programmable selects
Recap Implementing function by Programming LUT Example 1 Example 2 full adder Programming Row & Column interconnects through transistor switches.
Recap Conversion of real world quantities Mobile phones Digital Thermometers Digital storage of sound and pictures Digital voltmeters Industrial control and monitoring.
Recap Sampling Under-sampling Over-sampling Sampling frequency Nyquist frequency Holding Sampled value Sample and Hold Circuit
Recap Quantization Process of converting analogue value to a code Few bits, quantization levels less accurate More bits, quantization levels more accurate
Recap Linear Amplifier Inverting/Non-inverting inputs Single outputs High input impedance Low output impedance Very High voltage gain Inverting Amplifier Comparator
Recap FLASH Converter Fast conversion time Expensive circuit complexity Resistor voltage divider Multiple Op-Amps as comparators Input signal connected to all comparators Comparator o/p high if i/p higher than ref Priority encoder Encoder o/p is digital equivalent of i/p
Recap DUAL-SLOPE A/D Converter Slower than FLASH Used in Digital voltmeters and other measuring instruments Ckt. Diagram Working
Successive Approximation Converter Widely used Faster conversion time w.r.t. dual slope Explain operation Circuit diagram (fig 1)
A/D Converter Errors Missing Code (fig 14.26a) Incorrect Code (fig 14.26b) Offset (fig 14.26c)
Binary-Weighted-Input D/A Converter Summer Weighted Resistors Circuit (fig 3, tab 2) Disadvantage Weighted resistors of exact value
R/2R Ladder D/A Converter Circuit (fig 4) Equivalent circuit (fig 5a) Simplified circuit (fig 5b, table 3)
Performance Characteristics of D/A Converters Resolution Number of bits that are converted Reciprocal of the number of discrete steps in the output expressed in percentage 4-bit D/A has a resolution of 6.67% (1/15 x 100) Accuracy Actual o/p of a D/A w.r.t. expected o/p Expressed as a percentage of full-scale o/p O/p = 10 v accuracy is 0.1% then max error is 10mV Should not be +/-1/2 least sign. bit
Performance Characteristics of D/A Converters Linearity Deviation form the straight line output of a D/A Monotonicity DAC does not take any reverse steps when D/A sequenced over its entire range of input steps Settling time The time it takes the D/A to settle within +/- ½ LSB of its final value when a change occurs in its input
Successive-Approximation 4-bit A/D Converter
Successive-Approximation D/A Conversion V in SAR outputD/A outputComparator output
Missing Code ‘1001’
Incorrect Code
Offset Error
A 4-bit Binary-Weighted-Input D/A Converter
D/A Output voltages for binary inputs 0000 to 1111 InputCurrent through (mA)V out (volts) R2R4R8RRfRf
R/2R Ladder D/A Converter
The R/2R resistor network with binary 0001
The equivalent R/2R resistor network with binary 0001
D/A Output voltages for binary inputs 0000 to 1111 InputV th (volts)Current through R f V out V0.625V/2R-0.625V V1.25V/2R-1.25V V1.875V/2R-1.875V V2.5V/2R-2.5V V3.125V/2R-3.125V V3.75V/2R-3.75V V4.325V/2R-4.325V 10005V5V/2R-5V V5.625V/2R-5.625V V6.25V/2R-6.25V V6.875V/2R-6.875V V7.5V/2R-7.5V V8.125V/2R-8.125V V8.75V/2R-8.75V V9.325V/2R-9.325V